Gutenberg - Version 1.6.1

Version Description

  • Handle pasting shortcodes and converting to blocks.
  • Show loading message when opening preview.
  • Fix inline pasting (auto-link feature).
  • Fix undoing multi-selection delete operation.
  • Remove focus state after a selection is finished during multi-select.
  • Remove the "command" shortcut to navigate to the editor toolbar.
Download this release

Release Info

Developer matveb
Plugin Icon 128x128 Gutenberg
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6.0 to 1.6.1

Files changed (3) hide show
  1. README.md +1 -1
  2. blocks/build/index.js +4 -4
  3. components/build/index.js +0 -1
README.md CHANGED
@@ -4,7 +4,7 @@
4
 
5
  Printing since 1440.
6
 
7
- ![Text block](https://wpcoredesign.mystagingwebsite.com/gutenberg/gutenberg.png)
8
 
9
  This is the development hub for the <a href="https://make.wordpress.org/core/2017/01/04/focus-tech-and-design-leads/">editor focus in core</a>. Gutenberg is the project name. If you want the latest release for your WordPress, <a href="https://wordpress.org/plugins/gutenberg/">download Gutenberg from the WordPress.org plugins repository</a>. Conversations and discussions take place in #core-editor on <a href="https://make.wordpress.org/chat/">the core WordPress Slack</a>. This is our kickoff goal:
10
 
4
 
5
  Printing since 1440.
6
 
7
+ ![Gutenberg editing](https://cldup.com/H0oKBfpidk.png)
8
 
9
  This is the development hub for the <a href="https://make.wordpress.org/core/2017/01/04/focus-tech-and-design-leads/">editor focus in core</a>. Gutenberg is the project name. If you want the latest release for your WordPress, <a href="https://wordpress.org/plugins/gutenberg/">download Gutenberg from the WordPress.org plugins repository</a>. Conversations and discussions take place in #core-editor on <a href="https://make.wordpress.org/chat/">the core WordPress Slack</a>. This is our kickoff goal:
10
 
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=429)}([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.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t,n){e.exports={default:n(366),__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(182),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(101),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(368),i=r(o),a=n(372),s=r(a),l=n(101),u=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,u.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,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(509),i=r(o),a=n(510),s=r(a),l=n(512),u=r(l),c=n(513),p=r(c),f=n(514),d=r(f),h=n(515),m=r(h);t.hover=p.default,t.handleHover=p.default,t.handleActive=d.default,t.loop=m.default;var g=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,u.default)(a)};t.default=g},function(e,t,n){"use strict";t.__esModule=!0;var r=n(151),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=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Array.isArray;e.exports=n},,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){"use strict";var r=n(433);n.d(t,"q",function(){return r});var o=n(225);n.d(t,"a",function(){return o.a}),n.d(t,"r",function(){return o.b});var i=n(336);n.d(t,"k",function(){return i.a}),n.d(t,"h",function(){return i.c});var a=n(452);n.d(t,"l",function(){return a.a});var s=n(235);n.d(t,"n",function(){return s.a}),n.d(t,"c",function(){return s.c}),n.d(t,"b",function(){return s.b});var l=n(352);n.d(t,"j",function(){return l.a});var u=n(335);n.d(t,"f",function(){return u.a});var c=n(110);n.d(t,"m",function(){return c.e}),n.d(t,"s",function(){return c.h}),n.d(t,"p",function(){return c.g}),n.d(t,"i",function(){return c.d}),n.d(t,"o",function(){return c.f}),n.d(t,"g",function(){return c.c}),n.d(t,"d",function(){return c.a}),n.d(t,"e",function(){return c.b})},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(125),i=(n.n(o),n(78)),a=n(498),s=n(500),l=n(113),u=n(246),c=n(247),p=n(505),f=n(66);r.BaseControl=i.a,r.CheckboxControl=a.a,r.RadioControl=s.a,r.RangeControl=l.a,r.SelectControl=u.a,r.TextControl=c.a,r.TextareaControl=p.a,r.ToggleControl=f.a},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(567);n.n(o)},,function(e,t,n){var r=n(79)("wks"),o=n(61),i=n(22).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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(516);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(397);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(519);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var s=n(520);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(522);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var u=n(398);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(u).default}});var c=n(525);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(c).default}})},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){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(22),o=n(12),i=n(51),a=n(39),s=function(e,t,n){var l,u,c,p=e&s.F,f=e&s.G,d=e&s.S,h=e&s.P,m=e&s.B,g=e&s.W,b=f?o:o[t]||(o[t]={}),v=b.prototype,y=f?r:d?r[t]:(r[t]||{}).prototype;f&&(n=t);for(l in n)(u=!p&&y&&void 0!==y[l])&&l in b||(c=u?y[l]:n[l],b[l]=f&&"function"!=typeof y[l]?n[l]:m&&u?i(c,r):g&&y[l]==c?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}(c):h&&"function"==typeof c?i(Function.call,c):c,h&&((b.virtual||(b.virtual={}))[l]=c,e&s.R&&v&&!v[l]&&a(v,l,c)))};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(146),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){var t=e.controls,n=e.children;return wp.element.createElement(o.Fill,{name:"Formatting.Toolbar"},wp.element.createElement(i.Toolbar,{controls:t}),n)}t.a=r;var o=n(125),i=(n.n(o),n(1));n.n(i)},function(e,t,n){var r=n(35);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(27),o=n(116),i=n(86),a=Object.defineProperty;t.f=n(29)?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(43)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){function n(){}e.exports=n},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:$.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(36),s=n.n(a),l=n(52),u=n.n(l),c=n(10),p=n.n(c),f=n(101),d=(n.n(f),n(4)),h=n.n(d),m=n(5),g=n.n(m),b=n(6),v=n.n(b),y=n(7),_=n.n(y),w=n(8),x=n.n(w),E=n(30),k=n.n(E),O=n(470),C=n.n(O),S=n(56),j=n.n(S),T=n(58),A=n.n(T),P=n(472),N=n.n(P),R=n(176),L=n.n(R),M=n(477),D=n.n(M),B=n(83),I=n.n(B),F=n(144),z=n.n(F),q=n(242),H=n.n(q),U=n(15),K=n.n(U),V=n(285),W=(n.n(V),n(125)),G=(n.n(W),n(243)),$=(n.n(G),n(3)),X=(n.n($),n(37)),Y=(n.n(X),n(479)),Z=(n.n(Y),n(16)),Q=n(480),J=n(488),ee=n(382),te=n(492),ne=n(497),re=X.keycodes.BACKSPACE,oe=X.keycodes.DELETE,ie=X.keycodes.ENTER,ae=["bold","italic","strikethrough","link"],se=function(e){function t(e){g()(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)(p()({},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),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:p()({},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:H.a.DOM.isEmpty(this.editor.getBody())}),this.props.focus&&this.props.onFocus&&this.props.focus.collapsed!==e&&this.props.onFocus(p()({},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||this.editor.getDoc().dataTransfer;this.pastedPlainText=t?t.getData("text/plain"):""}},{key:"onPastePreProcess",value:function(e){window.console.log("Received HTML:\n\n",e.content),window.console.log("Received plain text:\n\n",this.pastedPlainText);var t=Object(Z.l)({HTML:e.content,plainText:this.pastedPlainText,inline:!this.props.onSplit});if("string"==typeof t)e.content=t;else if(this.props.onSplit){if(e.preventDefault(),!t.length)return;var n=this.editor.getBody();this.editor.dom.isEmpty(n)&&this.props.onReplace?this.props.onReplace(t):this.splitContent(t)}}},{key:"onChange",value:function(){this.editor.isDirty()&&(this.savedContent=this.getContent(),this.editor.save(),this.props.onChange(this.savedContent))}},{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-visual-editor__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.onChange(),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=u()(n.childNodes),s=i.nodeIndex(o),l=a.slice(0,s),c=a.slice(s+1),p=Object(V.nodeListToReact)(l,r),f=Object(V.nodeListToReact)(c,r);this.setContent(p),this.props.onSplit(p,f)}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(),l=this.editor.selection.getRng();if(n.childNodes.length){var u;i.setStart(n,0),i.setEnd(l.startContainer,l.startOffset),a.setStart(l.endContainer,l.endOffset),a.setEnd(n,t.nodeIndex(n.lastChild)+1);var c=i.extractContents(),p=a.extractContents(),f=Object(V.nodeListToReact)(c.childNodes,r),d=o(p)?[]:Object(V.nodeListToReact)(p.childNodes,r);this.setContent(f),(u=this.props).onSplit.apply(u,[f,d].concat(s()(e)))}else{var h;this.setContent([]),(h=this.props).onSplit.apply(h,[[],[]].concat(s()(e)))}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=u()(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),s=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)(s,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]=p()({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($.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:N()({},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,u=void 0!==l&&l,c=e.formattingControls,f=e.placeholder,d=e.multiline,h=e.keepPlaceholderOnFocus,m=void 0!==h&&h,g=e.formatters,b=Object(ee.b)(this.props),v=["editor",n].join(),y=f&&(!i||m)&&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:c,customControls:g});return wp.element.createElement("div",{className:_},i&&wp.element.createElement(W.Fill,{name:"Formatting.Toolbar"},!u&&w),i&&u&&wp.element.createElement("div",{className:"block-editable__inline-toolbar"},w),wp.element.createElement(J.a,p()({tagName:n,getSettings:this.getSettings,onSetup:this.onSetup,style:r,defaultValue:o,isPlaceholderVisible:y,"aria-label":f},b,{className:s,key:v})),y&&wp.element.createElement(n,{className:K()("blocks-editable__tinymce",s),style:r},d?wp.element.createElement(d,null,f):f),i&&wp.element.createElement(W.Slot,{name:"Editable.Siblings"}))}}]),t}($.Component);t.a=se,se.contextTypes={onUndo:k.a},se.defaultProps={formattingControls:ae,formatters:[]}},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},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(287),i=n(323),a=n(58),s=n(13),l=n(328);e.exports=r},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){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(52),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){!function(){e.exports=this.wp.utils}()},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(28),o=n(48);e.exports=n(29)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(118),i=n(134);e.exports=r},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,l=e.wideControlsEnabled,f=void 0!==l&&l,d=f?a:a.filter(function(e){return-1===p.indexOf(e)});return wp.element.createElement(s.Toolbar,{controls:d.map(function(e){return i()({},u[e],{isActive:n===e,onClick:t(e)})})})}var o=n(10),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),n(238)),u={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"],p=["wide","full"];t.a=Object(l.a)(function(e){return{wideControlsEnabled:e.wideImages}})(r)},function(e,t,n){var r=n(104),o=n(70);e.exports=function(e){return r(o(e))}},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(194),i=n(195),a=n(40);e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?l:s:u&&u in Object(e)?i(e):a(e)}var o=n(49),i=n(215),a=n(216),s="[object Null]",l="[object Undefined]",u=o?o.toStringTag:void 0;e.exports=r},function(e,t){e.exports={}},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(63),i=n(33),a=n(269),s=n(13);e.exports=r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(25),o=r.Symbol;e.exports=o},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(280),i=n(283);e.exports=r},function(e,t,n){var r=n(84);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){e.exports={default:n(220),__esModule:!0}},function(e,t,n){var r=n(119),o=n(80);e.exports=Object.keys||function(e){return r(e,o)}},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(108);e.exports=r},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(258),o=n(153),i=r(o);e.exports=i},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n(45),i=n(13),a=n(32),s="[object String]";e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-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){return null==e?"":o(e)}var o=n(230);e.exports=r},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(92),i=1/0;e.exports=r},function(e,t,n){var r=n(123),o=n(332),i=o(r);e.exports=i},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(78)),a=n(487);n.n(a);t.a=Object(o.withInstanceId)(r)},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(399),i=r(o),a=n(524),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,n){"use strict";var r=n(221)(!0);n(148)(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=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return 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(13),i=n(136),a=n(324),s=n(62);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(330);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 u=t[s],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?i(n,u,c):o(n,u,c)}return n}var o=n(139),i=n(77);e.exports=r},function(e,t,n){var r=n(275),o=r(!0);e.exports=o},function(e,t,n){var r=n(79)("keys"),o=n(61);e.exports=function(e){return r[e]||(r[e]=o(e))}},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(184);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(15),i=n.n(o),a=n(486);n.n(a);t.a=r},function(e,t,n){var r=n(22),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,n){var r=n(28).f,o=n(38),i=n(20)("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){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t){return o(e,t)}var o=n(130);e.exports=r},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(35),o=n(22).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(35);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,n){var r=n(278),o=n(32),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){e.exports=!0},function(e,t,n){var r=n(69),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){(function(e){var r=n(25),o=n(316),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,u=l?l.isBuffer:void 0,c=u||o;e.exports=c}).call(t,n(99)(e))},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(45),i=n(32),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(58),i=n(183),a=n(159);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(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(82);e.exports=r},function(e,t,n){var r=n(50),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(307);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){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,n){function r(e,t,n){var r=l(e)?o:s,u=arguments.length<3;return r(e,a(t,4),n,u,i)}var o=n(109),i=n(65),a=n(33),s=n(333),l=n(13);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(337),i=r(o),a=n(342),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){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){var r=n(27),o=n(186),i=n(80),a=n(76)("IE_PROTO"),s=function(){},l=function(){var e,t=n(85)("iframe"),r=i.length;for(t.style.display="none",n(162).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){var r=n(59);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,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(94),i=n(294),a=n(295),s=n(296),l=n(297),u=n(298);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=l,r.prototype.set=u,e.exports=r},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,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(72),i=n(64);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){"use strict";function r(e,t){return"string"!=typeof e?void console.error("Block names must be strings."):/[A-Z]+/.test(e)?void console.error("Block names must not contain uppercase characters."):/^[a-z0-9-]+\/[a-z0-9-]+$/.test(e)?t&&v()(t.save)?"edit"in t&&!v()(t.edit)?void console.error('The "edit" property must be a valid function.'):x[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&&!g()(E,{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"),x[e]=h()({name:e,attributes:_()(window._wpBlocksAttributes,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. Example: my-plugin/my-custom-block")}function o(e){if(!x[e])return void console.error('Block "'+e+'" is not registered.');var t=x[e];return delete x[e],t}function i(e){k=e}function a(){return k}function s(e){O=e}function l(){return O}function u(e){return x[e]}function c(){return f()(x)}t.e=r,t.h=o,t.g=i,t.d=a,t.f=s,t.c=l,t.a=u,t.b=c;var p=n(416),f=n.n(p),d=n(10),h=n.n(d),m=n(202),g=n.n(m),b=n(118),v=n.n(b),y=n(54),_=n.n(y),w=n(335),x={},E=Object(w.a)(),k=void 0,O=void 0},function(e,t,n){n(339);for(var r=n(22),o=n(39),i=n(46),a=n(20)("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 u=s[l],c=r[u],p=c&&c.prototype;p&&!p[a]&&o(p,a,u),i[u]=i.Array}},function(e,t,n){e.exports=n(464)()},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,p=e.afterIcon,f=e.help,d=e.allowReset,h=s()(e,["label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset"]),m="inspector-range-control-"+r,g=function(e){return o(Number(e.target.value))};return wp.element.createElement(c.a,{label:t,id:m,help:f,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:m,type:"range",value:n,onChange:g,"aria-describedby":f?m+"__help":void 0},h)),p&&wp.element.createElement(l.Dashicon,{icon:p}),wp.element.createElement("input",i()({className:"blocks-range-control__number",type:"number",onChange:g,value:n},h)),d&&wp.element.createElement(l.Button,{onClick:function(){return o()},disabled:void 0===n},Object(u.__)("Reset")))}var o=n(10),i=n.n(o),a=n(34),s=n.n(a),l=n(1),u=(n.n(l),n(0)),c=(n.n(u),n(78)),p=n(502);n.n(p);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(181),g=n.n(m),b=n(3),v=(n.n(b),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 g()(e,t)},E=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;l()(this,t);var u=f()(this,(t.__proto__||a()(t)).apply(this,arguments));u.openModal=u.openModal.bind(u),u.onSelect=u.onSelect.bind(u),u.onUpdate=u.onUpdate.bind(u),u.onOpen=u.onOpen.bind(u);var c={title:Object(v.__)("Select or Upload a media"),button:{text:Object(v.__)("Select")},multiple:r,selection:new wp.media.model.Selection([])};if(o&&(c.library={type:o}),s){var p=w();u.frame=new p({frame:"select",mimeType:o,state:"gallery"}),wp.media.frame=u.frame}else u.frame=wp.media(c);return u.frame.on("select",u.onSelect),u.frame.on("update",u.onUpdate),u.frame.on("open",u.onOpen),u}return h()(t,e),c()(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}(b.Component);t.a=E},function(e,t,n){"use strict";t.__esModule=!0;var r=n(182),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){e.exports=!n(29)&&!n(43)(function(){return 7!=Object.defineProperty(n(85)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){function r(e,t,n,a,s){var l=-1,u=e.length;for(n||(n=i),s||(s=[]);++l<u;){var c=e[l];t>0&&n(c)?t>1?r(c,t-1,n,a,s):o(s,c):a||(s[s.length]=c)}return s}var o=n(127),i=n(277);e.exports=r},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==u}var o=n(45),i=n(23),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";e.exports=r},function(e,t,n){var r=n(38),o=n(42),i=n(160)(!1),a=n(76)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(121),o=n(20)("iterator"),i=n(46);e.exports=n(12).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(59),o=n(20)("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){var r=n(317),o=n(166),i=n(318),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(231),i=n(44);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(194),i=n(350),a=n(40);e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n(112),a=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(n(467)),s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},u=i.shape({onComponentsChange:i.func.isRequired,removeOnComponentsChange:i.func.isRequired}),c=i.shape({emit:i.func.isRequired,on:i.func.isRequired,off:i.func.isRequired}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.componentWillMount=function(){this.context.bus.emit("fill-mount",{fill:this})},t.prototype.componentDidUpdate=function(){this.context.bus.emit("fill-updated",{fill:this})},t.prototype.componentWillUnmount=function(){this.context.bus.emit("fill-unmount",{fill:this})},t.prototype.render=function(){return null},t.contextTypes={bus:c},t}(o.Component),f=function(){function e(e){this._bus=e,this.handleFillMount=this.handleFillMount.bind(this),this.handleFillUpdated=this.handleFillUpdated.bind(this),this.handleFillUnmount=this.handleFillUnmount.bind(this),this._db={byName:new Map,byFill:new Map}}return e.prototype.mount=function(){this._bus.on("fill-mount",this.handleFillMount),this._bus.on("fill-updated",this.handleFillUpdated),this._bus.on("fill-unmount",this.handleFillUnmount)},e.prototype.unmount=function(){this._bus.off("fill-mount",this.handleFillMount),this._bus.off("fill-updated",this.handleFillUpdated),this._bus.off("fill-unmount",this.handleFillUnmount)},e.prototype.handleFillMount=function(e){var t=e.fill,n=o.Children.toArray(t.props.children),r=t.props.name,i={fill:t,children:n,name:r},a=this._db.byName.get(r);a?(a.components.push(i),a.listeners.forEach(function(e){return e(a.components)})):this._db.byName.set(r,{listeners:[],components:[i]}),this._db.byFill.set(t,i)},e.prototype.handleFillUpdated=function(e){var t=e.fill,n=this._db.byFill.get(t),r=o.Children.toArray(t.props.children);if(!n)throw new Error("component was expected to be defined");n.children=r;var i=n.name,a=this._db.byName.get(i);if(!a)throw new Error("registration was expected to be defined");a.listeners.forEach(function(e){return e(a.components)})},e.prototype.handleFillUnmount=function(e){var t=e.fill,n=this._db.byFill.get(t);if(!n)throw new Error("component was expected to be defined");var r=n.name,o=this._db.byName.get(r);if(!o)throw new Error("registration was expected to be defined");var i=o.components;i.splice(i.indexOf(n),1),this._db.byFill.delete(t),0===o.listeners.length&&0===o.components.length?this._db.byName.delete(r):o.listeners.forEach(function(e){return e(o.components)})},e.prototype.onComponentsChange=function(e,t){var n=this._db.byName.get(e);n?(n.listeners.push(t),t(n.components)):(this._db.byName.set(e,{listeners:[t],components:[]}),t([]))},e.prototype.getFillsByName=function(e){var t=this._db.byName.get(e);return t?t.components.map(function(e){return e.fill}):[]},e.prototype.getChildrenByName=function(e){var t=this._db.byName.get(e);return t?t.components.map(function(e){return e.children}).reduce(function(e,t){return e.concat(t)},[]):[]},e.prototype.removeOnComponentsChange=function(e,t){var n=this._db.byName.get(e);if(!n)throw new Error("expected registration to be defined");var r=n.listeners;r.splice(r.indexOf(t),1)},e}(),d=function(e){function t(){var t=e.call(this)||this;return t._bus=new a,t._manager=new f(t._bus),t._manager.mount(),t}return r(t,e),t.prototype.componentWillUnmount=function(){this._manager.unmount()},t.prototype.getChildContext=function(){return{bus:this._bus,manager:this._manager}},t.prototype.render=function(){return o.Children.only(this.props.children)},t.prototype.getFillsByName=function(e){return this._manager.getFillsByName(e)},t.prototype.getChildrenByName=function(e){return this._manager.getChildrenByName(e)},t.childContextTypes={manager:u,bus:c},t}(o.Component),h=function(e){function t(t){var n=e.call(this,t)||this;return n.state={components:[]},n.handleComponentChange=n.handleComponentChange.bind(n),n}return r(t,e),t.prototype.componentWillMount=function(){this.context.manager.onComponentsChange(this.props.name,this.handleComponentChange)},t.prototype.handleComponentChange=function(e){this.setState({components:e})},Object.defineProperty(t.prototype,"fills",{get:function(){return this.state.components.map(function(e){return e.fill})},enumerable:!0,configurable:!0}),t.prototype.componentWillReceiveProps=function(e){if(e.name!==this.props.name){this.context.manager.removeOnComponentsChange(this.props.name,this.handleComponentChange);var t=e.name;this.context.manager.onComponentsChange(t,this.handleComponentChange)}},t.prototype.componentWillUnmount=function(){var e=this.props.name;this.context.manager.removeOnComponentsChange(e,this.handleComponentChange)},t.prototype.render=function(){var e=this,t=[];if(this.state.components.forEach(function(n,r){var i=n.fill,a=n.children,s=e.props.fillChildProps;if(s){var u=function(t,n){var r=s[n];return t[n]="function"==typeof r?function(){return r(i,e.fills)}:r,t},c=Object.keys(e.props.fillChildProps).reduce(u,{});a.forEach(function(e,n){if("number"==typeof e||"string"==typeof e)throw new Error("Only element children will work here");t.push(o.cloneElement(e,l({key:r.toString()+n.toString()},c)))})}else a.forEach(function(e,n){if("number"==typeof e||"string"==typeof e)throw new Error("Only element children will work here");t.push(o.cloneElement(e,{key:r.toString()+n.toString()}))})}),"function"==typeof this.props.children){var n=this.props.children(t);if(o.isValidElement(n)||null===n)return n;var r=this,i=r._reactInternalInstance._currentElement._owner._instance.constructor,a=i.displayName||i.name,s="Slot rendered with function must return a valid React Element. Check the "+a+" render function.";throw new Error(s)}return o.createElement("div",{},t)},t.contextTypes={manager:u},t}(o.Component);t.Provider=d,t.Slot=h,t.Fill=p},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(152),i=n(405),a=n(33),s=n(13);e.exports=r},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(50),o=n(25),i=r(o,"Map");e.exports=i},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(299),i=n(306),a=n(308),s=n(309),l=n(310);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(311),i=n(32);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(129),i=n(312),a=n(313);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,n){var r=n(152),o=n(193),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){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(320),o=n(128),i=n(321),a=n(197),s=n(218),l=n(45),u=n(185),c=u(r),p=u(o),f=u(i),d=u(a),h=u(s),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case c:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},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(13),i=n(92),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){t.f=n(20)},function(e,t,n){var r=n(22),o=n(12),i=n(88),a=n(137),s=n(28).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,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(77),i=n(82),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(196),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(40),i=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){return!!k[e.nodeName.toLowerCase()]}function o(e){return!r(e)}function i(e,t){return k[e]&&k[e].attributes&&-1!==k[e].attributes.indexOf(t)}function a(e){return!!x[e.nodeName.toLowerCase()]}function s(e){return!!E[e.nodeName.toLowerCase()]}function l(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return k[n]&&k[n].children&&-1!==k[n].children.indexOf(r)}function u(e){return!!a(e)&&(!!e.hasChildNodes()&&g()(e.childNodes).some(function(e){return e.nodeType===_&&(!a(e)||u(e))}))}function c(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function p(e){return!e.hasChildNodes()||g()(e.childNodes).every(function(e){return e.nodeType===w?!e.nodeValue.trim():e.nodeType!==_||("BR"===e.nodeName||!e.hasAttributes()&&p(e))})}function f(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return g()(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){g()(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=u,t.e=c,t.f=p,t.k=f,t.b=d,t.a=h;var m=n(52),g=n.n(m),b=n(10),v=n.n(b),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:{}},E={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{children:["img"]},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},k=v()({},x,E,{img:{attributes:["src","alt"]},figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}})},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(189);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){var r=n(23),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){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(102))},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){"use strict";var r=n(88),o=n(24),i=n(149),a=n(39),s=n(38),l=n(46),u=n(222),c=n(81),p=n(150),f=n(20)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,g,b,v){u(n,t,m);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)}},E=t+" Iterator",k="values"==g,O=!1,C=e.prototype,S=C[f]||C["@@iterator"]||g&&C[g],j=S||x(g),T=g?k?x("entries"):j:void 0,A="Array"==t?C.entries||S:S;if(A&&(w=p(A.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,f)||a(w,f,h)),k&&S&&"values"!==S.name&&(O=!0,j=function(){return S.call(this)}),r&&!v||!d&&!O&&C[f]||a(C,f,j),l[t]=j,l[E]=h,g)if(y={values:k?j:x("values"),keys:b?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){e.exports=n(39)},function(e,t,n){var r=n(38),o=n(55),i=n(76)("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){e.exports={default:n(226),__esModule:!0}},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(33),a=n(73),s=Math.max;e.exports=r},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t,n){return p.Children.forEach(t,function(t,r){t&&"string"!=typeof t&&(t=Object(p.cloneElement)(t,{key:[n,r].join()})),e.push(t)}),e},[])}function o(e,t){return e&&p.Children.map(e,function(e,n){if(c()(e))return Object(p.createElement)(t,{key:n},e);var r=e.props,o=r.children,i=l()(r,["children"]);return Object(p.createElement)(t,a()({key:n},i),o)})}Object.defineProperty(t,"__esModule",{value:!0}),t.concatChildren=r,t.switchChildrenNodeName=o;var i=n(10),a=n.n(i),s=n(34),l=n.n(s),u=n(57),c=n.n(u),p=n(2),f=(n.n(p),n(155)),d=(n.n(f),n(252));n.n(d);n.o(p,"createElement")&&n.d(t,"createElement",function(){return p.createElement}),n.o(f,"render")&&n.d(t,"render",function(){return f.render}),n.o(p,"Component")&&n.d(t,"Component",function(){return p.Component}),n.o(p,"cloneElement")&&n.d(t,"cloneElement",function(){return p.cloneElement}),n.o(f,"findDOMNode")&&n.d(t,"findDOMNode",function(){return f.findDOMNode}),n.o(p,"Children")&&n.d(t,"Children",function(){return p.Children}),n.o(f,"createPortal")&&n.d(t,"createPortal",function(){return f.createPortal}),n.o(d,"renderToStaticMarkup")&&n.d(t,"renderToString",function(){return d.renderToStaticMarkup})},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(620),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default},function(e,t){!function(){e.exports=this.moment}()},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(276),i=n(183),a=n(159);e.exports=r},function(e,t,n){var r=n(279),o=n(256),i=o(r);e.exports=i},function(e,t,n){var r=n(42),o=n(89),i=n(161);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(69),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,n){var r=n(22).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(27);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(46),o=n(20)("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(20)("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){function n(e){return function(t){return e(t)}}e.exports=n},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,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(82),i=n(40),a=n(91),s=n(23);e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(192),i=n(205),a=n(124);e.exports=r},function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var c=e.length;return n<0&&(n=u(c+n,0)),a(e)?n<=c&&e.indexOf(t,n)>-1:!!c&&o(e,t,n)>-1}var o=n(208),i=n(40),a=n(57),s=n(73),l=n(361),u=Math.max;e.exports=r},function(e,t,n){function r(e,t,n,r){var p=-1,f=i,d=!0,h=e.length,m=[],g=t.length;if(!h)return m;n&&(t=s(t,l(n))),r?(f=a,d=!1):t.length>=c&&(f=u,d=!1,t=new o(t));e:for(;++p<h;){var b=e[p],v=null==n?b:n(b);if(b=r||0!==b?b:0,d&&v===v){for(var y=g;y--;)if(t[y]===v)continue e;m.push(b)}else f(t,v,r)||m.push(b)}return m}var o=n(131),i=n(172),a=n(209),s=n(63),l=n(166),u=n(132),c=200;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(208);e.exports=r},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||p(e)||a(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(c(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=n(195),i=n(135),a=n(87),s=n(13),l=n(40),u=n(90),c=n(107),p=n(122),f="[object Map]",d="[object Set]",h=Object.prototype,m=h.hasOwnProperty;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(10),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){var r=n(24),o=n(12),i=n(43);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,t){return(s(e)?o:i)(e,a(t))}var o=n(177),i=n(65),a=n(178),s=n(13);e.exports=r},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){function r(e){return"function"==typeof e?e:o}var o=n(58);e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(244),h=n.n(d),m=n(15),g=n.n(m),b=n(266),v=n.n(b),y=n(0),_=(n.n(y),n(3)),w=(n.n(_),n(37)),x=(n.n(w),n(1)),E=(n.n(x),w.keycodes.UP),k=w.keycodes.DOWN,O=w.keycodes.ENTER,C=function(e){function t(){a()(this,t);var e=c()(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 f()(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 E:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case k: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.props.onChange(a.link),this.setState({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,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:g()("blocks-url-input__suggestion",{"is-selected":n===s}),onClick:function(){return e.props.onChange(t.link)},"aria-selected":n===s},t.title.rendered)})))}}]),t}(_.Component);t.a=Object(x.withSpokenMessages)(Object(x.withInstanceId)(C))},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,n){var r=n(402),o=n(158),i=o(function(e,t){return null==e?{}:r(e,t)});e.exports=i},function(e,t,n){e.exports={default:n(273),__esModule:!0}},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 u=Array(t+1);++a<t;)u[a]=r[a];return u[t]=n(l),o(e,this,u)}}var o=n(217),i=Math.max;e.exports=r},function(e,t,n){var r=n(50),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},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){var r=n(28),o=n(27),i=n(53);e.exports=n(29)?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){function r(e,t,n,r,u,c){var p=n&s,f=e.length,d=t.length;if(f!=d&&!(p&&d>f))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,g=!0,b=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++m<f;){var v=e[m],y=t[m];if(r)var _=p?r(y,v,m,t,e,c):r(v,y,m,e,t,c);if(void 0!==_){if(_)continue;g=!1;break}if(b){if(!i(t,function(e,t){if(!a(b,t)&&(v===e||u(v,e,n,r,c)))return b.push(t)})){g=!1;break}}else if(v!==y&&!u(v,y,n,r,c)){g=!1;break}}return c.delete(e),c.delete(t),g}var o=n(131),i=n(188),a=n(132),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(25),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(192),i=n(133),a=n(44);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(127),i=n(13);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),c=!n&&!r&&s(e),f=!n&&!r&&!c&&u(e),d=n||r||c||f,h=d?o(e.length,String):[],m=h.length;for(var g in e)!t&&!p.call(e,g)||d&&("length"==g||c&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,m))||h.push(g);return h}var o=n(229),i=n(87),a=n(13),s=n(90),l=n(91),u=n(122),c=Object.prototype,p=c.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(107),i=n(319),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(50),o=n(25),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(23);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(327),i=n(259);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=u.test(e);return n||c.test(e)?p(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(23),i=n(92),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;e.exports=r},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(188),i=n(33),a=n(334),s=n(13),l=n(168);e.exports=r},function(e,t,n){var r=n(119),o=n(80).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(71),o=n(48),i=n(42),a=n(86),s=n(38),l=n(116),u=Object.getOwnPropertyDescriptor;t.f=n(29)?u:function(e,t){if(e=i(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(127),o=n(140),i=n(133),a=n(193),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){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(77),i=n(123),a=n(33);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(353),i=r(o),a=n(356),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){return t===t?a(e,t,n):o(e,i,n)}var o=n(167),i=n(359),a=n(360);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){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(45),i=n(140),a=n(32),s="[object Object]",l=Function.prototype,u=Object.prototype,c=l.toString,p=u.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t,n){function r(e,t,n){function r(t){var n=v,r=y;return v=y=void 0,k=t,w=e.apply(r,n)}function c(e){return k=e,x=setTimeout(d,t),O?r(e):w}function p(e){var n=e-E,r=e-k,o=t-n;return C?u(o,_-r):o}function f(e){var n=e-E,r=e-k;return void 0===E||n>=t||n<0||C&&r>=_}function d(){var e=i();if(f(e))return h(e);x=setTimeout(d,p(e))}function h(e){return x=void 0,S&&v?r(e):(v=y=void 0,w)}function m(){void 0!==x&&clearTimeout(x),k=0,v=E=y=x=void 0}function g(){return void 0===x?w:h(i())}function b(){var e=i(),n=f(e);if(v=arguments,y=this,E=e,n){if(void 0===x)return c(E);if(C)return x=setTimeout(d,t),r(E)}return void 0===x&&(x=setTimeout(d,t)),w}var v,y,_,w,x,E,k=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),b.cancel=m,b.flush=g,b}var o=n(23),i=n(377),a=n(201),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},function(e,t,n){var r=n(275),o=r();e.exports=o},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(145),i=n(214);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){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(49),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){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){var r=n(50),o=n(25),i=r(o,"WeakMap");e.exports=i},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(145),i=n(214),a=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){n(68),n(223),e.exports=n(12).Array.from},function(e,t,n){var r=n(69),o=n(70);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(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(103),o=n(48),i=n(81),a={};n(39)(a,n(20)("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){"use strict";var r=n(51),o=n(24),i=n(55),a=n(163),s=n(164),l=n(89),u=n(224),c=n(120);o(o.S+o.F*!n(165)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,f=i(e),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,b=0,v=c(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=l(f.length),n=new d(t);t>b;b++)u(n,b,g?m(f[b],b):f[b]);else for(p=v.call(f),n=new d;!(o=p.next()).done;b++)u(n,b,g?a(p,m,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){"use strict";var r=n(28),o=n(48);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";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(w.a)(e),r=g()(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 n.supportAnchor&&t.anchor&&(r.anchor=t.anchor),!1!==n.className&&t.className&&(r.className=t.className),{uid:_()(),name:e,isValid:!0,attributes:r}}function o(e,t){var n=Object(w.a)(t),r=Object(w.a)(e.name),o=v()(n,"transforms.from",[]),i=v()(r,"transforms.to",[]),s=l()(i,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)})||l()(o,function(t){return"block"===t.type&&-1!==t.blocks.indexOf(e.name)});if(!s)return null;var u=s.transform(e.attributes);if(!c()(u))return null;if(u=h()(u),u.some(function(e){return!Object(w.a)(e.name)}))return null;var p=f()(u,function(e){return e.name===t});return p<0?null:u.map(function(t,n){return a()({},t,{uid:n===p?e.uid:t.uid})})}t.a=r,t.b=o;var i=n(10),a=n.n(i),s=n(56),l=n.n(s),u=n(32),c=n.n(u),p=n(153),f=n.n(p),d=n(261),h=n.n(d),m=n(100),g=n.n(m),b=n(54),v=n.n(b),y=n(415),_=n.n(y),w=n(110)},function(e,t,n){n(227),e.exports=n(12).Object.assign},function(e,t,n){var r=n(24);r(r.S+r.F,"Object",{assign:n(228)})},function(e,t,n){"use strict";var r=n(53),o=n(105),i=n(71),a=n(55),s=n(104),l=Object.assign;e.exports=!l||n(43)(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,u=1,c=o.f,p=i.f;l>u;)for(var f,d=s(arguments[u++]),h=c?r(d).concat(c(d)):r(d),m=h.length,g=0;m>g;)p.call(d,f=h[g++])&&(n[f]=d[f]);return n}:l},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 c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=n(49),i=n(63),a=n(13),s=n(92),l=1/0,u=o?o.prototype:void 0,c=u?u.toString:void 0;e.exports=r},function(e,t,n){var r=n(331),o=r();e.exports=o},function(e,t){},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(63),i=n(33),a=n(234),s=n(169);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var u=t[r],c=o(e,u);n(c,u)&&i(l,a(u,e),c)}return l}var o=n(108),i=n(349),a=n(72);e.exports=r},function(e,t,n){"use strict";function r(e){return"wp-block-"+e.replace(/\//,"-").replace(/^core-/,"")}function o(e,t){var n=e.save,o=e.className,i=void 0===o?r(e.name):o,a=void 0;if(n.prototype instanceof S.Component)a=Object(S.createElement)(n,{attributes:t});else if("string"==typeof(a=n({attributes:t})))return a;var s=function(n){if(!n||!y()(n))return n;var r={};if(i){var o=C()(i,n.props.className,t.className);r.className=o}return e.supportAnchor&&t.anchor&&(r.id=t.anchor),Object(S.cloneElement)(n,r)},l=S.Children.map(a,s);return Object(S.renderToString)(l)}function i(e,t){var n=w()(t.attributes,function(t,n,r){var o=e[r];return void 0===o?t:n.source||n.meta?t:"default"in n&&n.default===o?t:(t[r]=o,t)},{});return!1!==t.className&&e.className&&(n.className=e.className),n}function a(e){return d()(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")}function s(e){return Object(k.html)(e,{indent_inner_html:!0,wrap_line_length:0})}function l(e){var t=Object(j.a)(e.name),n=e.originalContent;if(e.isValid)try{n=o(t,e.attributes)}catch(e){}return Object(j.d)()!==e.name&&n?s(n):n}function u(e,t,n){var r=E()(t)?"":a(t)+" ",o=e.startsWith("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 c(e){var t=e.name,n=Object(j.a)(t),r=l(e),o=i(e.attributes,n);switch(t){case"core/more":var a=o.customText,s=o.noTeaser,c=a?"\x3c!--more "+a+"--\x3e":"\x3c!--more--\x3e",p=s?"\x3c!--noteaser--\x3e":"";return m()([c,p]).join("\n");case Object(j.d)():return r;default:return u(t,o,r)}}function p(e){return b()(e).map(c).join("\n\n")}t.c=r,t.e=o,t.b=l,t.d=u,t.a=p;var f=n(417),d=n.n(f),h=n(265),m=n.n(h),g=n(261),b=n.n(g),v=n(23),y=n.n(v),_=n(100),w=n.n(_),x=n(173),E=n.n(x),k=n(450),O=(n.n(k),n(15)),C=n.n(O),S=n(3),j=(n.n(S),n(110))},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||f.before_newline;var t=Object.values(f);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&&E(ee.mode),o=Y,i=0;i<e.comments_before.length;i++)Y=e.comments_before[i],l(Y,t),oe[Y.type](t);if(Y=o,r)for(var a=0;a<n;a+=1)b(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){b(!1,t);for(var s=1;s<n;s+=1)b(!0,t)}}function m(e){e=e.replace(p.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 g(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ie.preserve_newlines&&Y.wanted_newline||e;if(r(ee.last_text,X.positionable_operators)||r(Y.text,X.positionable_operators)){var n=r(ee.last_text,X.positionable_operators)&&r(ie.operator_position,d)||r(Y.text,X.positionable_operators);t=t&&n}if(t)b(!1,!0);else if(ie.wrap_line_length){if("TK_RESERVED"===Z&&r(ee.last_text,ce))return;var o=G.current_line.get_character_count()+Y.text.length+(G.space_before_token?1:0);o>=ie.wrap_line_length&&b(!1,!0)}}}function b(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Z)for(var n=P(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&&E(ee.mode)&&Y.wanted_newline?(G.current_line.push(Y.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(Y);if(ie.comma_first&&"TK_COMMA"===Z&&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||Y.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 E(e){return e===h.ArrayLiteral}function k(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"===Z&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type||"TK_RESERVED"===Z&&"do"===ee.last_text||"TK_RESERVED"===Z&&r(ee.last_text,["return","throw"])&&!Y.wanted_newline||"TK_RESERVED"===Z&&"else"===ee.last_text&&("TK_RESERVED"!==Y.type||"if"!==Y.text||Y.comments_before.length)||"TK_END_EXPR"===Z&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Z&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Y.text&&"++"!==Y.text&&"function"!==Q&&"TK_WORD"!==Y.type&&"TK_RESERVED"!==Y.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Z&&r(ee.last_text,["get","set"])))&&(x(h.Statement),_(),l(Y,!0),C()||g("TK_RESERVED"===Y.type&&r(Y.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 P(e){var t=$+(e||0);return t<0||t>=ae.length?null:ae[t]}function N(){S()||l(Y);var e=h.Expression;if("["===Y.text){if("TK_WORD"===Z||")"===ee.last_text)return"TK_RESERVED"===Z&&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,E(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==Q&&"}"!==Q)||ie.keep_array_indentation||b())}else"TK_RESERVED"===Z&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Z&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Z?b():"TK_END_EXPR"===Z||"TK_START_EXPR"===Z||"TK_END_BLOCK"===Z||"."===ee.last_text?g(Y.wanted_newline):"TK_RESERVED"===Z&&"("===Y.text||"TK_WORD"===Z||"TK_OPERATOR"===Z?"TK_RESERVED"===Z&&("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"!==Z||!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,"("===Y.text&&"TK_RESERVED"===Z&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Y.text&&("TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g()),"("===Y.text&&"TK_WORD"!==Z&&"TK_RESERVED"!==Z&&g(),x(e),y(),ie.space_in_paren&&(G.space_before_token=!0),_()}function R(){for(;ee.mode===h.Statement;)O();l(Y),ee.multiline_frame&&g("]"===Y.text&&E(ee.mode)&&!ie.keep_array_indentation),ie.space_in_paren&&("TK_START_EXPR"!==Z||ie.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Y.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(Y);var e=P(1),t=P(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"===Z&&"=>"===ee.last_text?h.BlockStatement:r(Z,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Z&&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"===Z;if(ie.brace_preserve_inline){var i=0,a=null;ee.inline_frame=!0;do{if(i+=1,a=P(i),a.wanted_newline){ee.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Y))}("expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Z&&(o||"TK_EQUALS"===Z||"TK_RESERVED"===Z&&A(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:b(!1,!0):(!E(te.mode)||"TK_START_EXPR"!==Z&&"TK_COMMA"!==Z||(("TK_COMMA"===Z||ie.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Z||"TK_START_EXPR"===Z&&ee.inline_frame)&&(g(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Z&&"TK_START_EXPR"!==Z&&("TK_START_BLOCK"!==Z||ee.inline_frame?G.space_before_token=!0:b())),y(),_()}function M(){for(l(Y);ee.mode===h.Statement;)O();var e="TK_START_BLOCK"===Z;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ie.brace_style?e||b():e||(E(ee.mode)&&ie.keep_array_indentation?(ie.keep_array_indentation=!1,b(),ie.keep_array_indentation=!0):b()),O(),y()}function D(){if("TK_RESERVED"===Y.type)if(r(Y.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Y.type="TK_WORD";else if(r(Y.text,["as","from"])&&!ee.import_block)Y.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=P(1);":"===e.text&&(Y.type="TK_WORD")}if(S()?"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type&&(ee.declaration_statement=!0):!Y.wanted_newline||k(ee.mode)||"TK_OPERATOR"===Z&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Z||!ie.preserve_newlines&&"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const","set","get"])?l(Y):(l(Y),b()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Y.type&&"while"===Y.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);b(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Y.type||"else"!==Y.text){for(;ee.mode===h.Statement;)O();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Y.type&&("case"===Y.text||"default"===Y.text&&ee.in_case_statement))return b(),(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"!==Z&&"TK_START_EXPR"!==Z&&"TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g(),"TK_RESERVED"===Y.type&&"function"===Y.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Z)&&(G.just_added_blankline()||Y.comments_before.length||(b(),b(!0))),"TK_RESERVED"===Z||"TK_WORD"===Z?"TK_RESERVED"===Z&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Z&&"default"===ee.last_text&&"export"===Q?G.space_before_token=!0:b():"TK_OPERATOR"===Z||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!k(ee.mode)&&!E(ee.mode))&&b(),y(),void(ee.last_word=Y.text);if(re="NONE","TK_END_BLOCK"===Z?te.inline_frame?re="SPACE":"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally","from"])?"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Z&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Z&&k(ee.mode)?re="SPACE":"TK_STRING"===Z?re="NEWLINE":"TK_RESERVED"===Z||"TK_WORD"===Z||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?re="SPACE":"TK_START_BLOCK"===Z?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Z&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Z||te.mode!==h.BlockStatement||"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame)b();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&b(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Z?"TK_START_EXPR"===Z&&"TK_RESERVED"===Y.type&&r(Y.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Y.type&&"if"===Y.text&&"else"===ee.last_text?G.space_before_token=!0:b()):"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&b():ee.multiline_frame&&E(ee.mode)&&","===ee.last_text&&"}"===Q?b():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Y.text,"TK_RESERVED"===Y.type&&("do"===Y.text?ee.do_block=!0:"if"===Y.text?ee.if_block=!0:"import"===Y.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Y.type&&"from"===Y.text&&(ee.import_block=!1))}function B(){S()?G.space_before_token=!1:l(Y);for(var e=P(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(Y),"TK_RESERVED"===Z||"TK_WORD"===Z||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Z||"TK_START_EXPR"===Z||"TK_EQUALS"===Z||"TK_OPERATOR"===Z?C()||g():b()),y()}function F(){S()||l(Y),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function z(){l(Y,!0),y(),G.space_before_token=!0,ee.declaration_statement?(k(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,b(!1,!0)):ie.comma_first&&g()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&O(),ee.inline_frame||b()):ie.comma_first&&g()}function q(){var e="*"===Y.text&&("TK_RESERVED"===Z&&r(ee.last_text,["function","yield"])||r(Z,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Y.text,["-","+"])&&(r(Z,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{l(Y,!e)}if("TK_RESERVED"===Z&&A(ee.last_text))return G.space_before_token=!0,void y();if("*"===Y.text&&"TK_DOT"===Z)return void y();if("::"===Y.text)return void y();if("TK_OPERATOR"===Z&&r(ie.operator_position,d)&&g(),":"===Y.text&&ee.in_case)return ee.case_body=!0,_(),y(),b(),void(ee.in_case=!1);var n=!0,o=!0,i=!1;if(":"===Y.text?0===ee.ternary_depth?n=!1:(ee.ternary_depth-=1,i=!0):"?"===Y.text&&(ee.ternary_depth+=1),!t&&!e&&ie.preserve_newlines&&r(Y.text,X.positionable_operators)){var a=":"===Y.text,s=a&&i,u=a&&!i;switch(ie.operator_position){case f.before_newline:return G.space_before_token=!u,y(),a&&!s||g(),void(G.space_before_token=!0);case f.after_newline:return G.space_before_token=!0,!a||s?P(1).wanted_newline?b(!1,!0):g():G.space_before_token=!1,y(),void(G.space_before_token=!0);case f.preserve_newline:return u||g(),n=!(G.just_added_newline()||u),G.space_before_token=n,y(),void(G.space_before_token=!0)}}if(e){g(),n=!1;var c=P(1);o=c&&r(c.type,["TK_WORD","TK_RESERVED"])}else"..."===Y.text?(g(),n="TK_START_BLOCK"===Z,o=!1):(r(Y.text,["--","++","!","~"])||t)&&(n=!1,o=!1,!Y.wanted_newline||"--"!==Y.text&&"++"!==Y.text||b(!1,!0),";"===ee.last_text&&k(ee.mode)&&(n=!0),"TK_RESERVED"===Z?n=!0:"TK_END_EXPR"===Z?n=!("]"===ee.last_text&&("--"===Y.text||"++"===Y.text)):"TK_OPERATOR"===Z&&(n=r(Y.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Y.text,["+","-"])&&r(ee.last_text,["--","++"])&&(o=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||b());G.space_before_token=G.space_before_token||n,y(),G.space_before_token=o}function H(e){if(G.raw)return G.add_raw_token(Y),void(Y.directives&&"end"===Y.directives.preserve&&(G.raw=ie.test_output_raw));if(Y.directives)return b(!1,e),y(),"start"===Y.directives.preserve&&(G.raw=!0),void b(!1,!0);if(!p.newline.test(Y.text)&&!Y.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=m(Y.text),r=!1,o=!1,a=Y.whitespace_before,s=a.length;for(b(!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++)b(!1,!0),r?y(" "+i(n[t])):o&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);b(!1,e)}function U(e){Y.wanted_newline?b(!1,e):G.trim(!0),G.space_before_token=!0,y(),b(!1,e)}function K(){S()||l(Y,!0),"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:g(")"===ee.last_text&&ie.break_chained_methods),y()}function V(e){y(),"\n"===Y.text[Y.text.length-1]&&b(!1,e)}function W(){for(;ee.mode===h.Statement;)O();l(Y)}var G,$,X,Y,Z,Q,J,ee,te,ne,re,oe,ie,ae=[],se="";oe={TK_START_EXPR:N,TK_END_EXPR:R,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:q,TK_COMMA:z,TK_BLOCK_COMMENT:H,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&&p.lineBreak.test(e||"")&&(ie.eol=e.match(p.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 ue=0;if(e&&e.length){for(;" "===e.charAt(ue)||"\t"===e.charAt(ue);)se+=e.charAt(ue),ue+=1;e=e.substring(ue)}Z="TK_START_BLOCK",Q="",G=new u(J,se),G.raw=ie.test_output_raw,ne=[],x(h.BlockStatement),this.beautify=function(){var t;for(X=new c(e,ie,J),ae=X.tokenize(),$=0,Y=P();Y;)oe[Y.type](),Q=ee.last_text,Z=Y.type,ee.last_text=Y.text,$+=1,Y=P();return t=G.get_code(),ie.end_with_newline&&(t+="\n"),"\n"!==ie.eol&&(t=t.replace(/[\n]/g,ie.eol)),t};var ce=["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 u(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 c(e,t){function n(e){if(!e.match(k))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,b="";var m=_.next();if(null===m)return["","TK_EOF"];var k;for(k=y.length?y[y.length-1]:new g("TK_START_BLOCK","{");r(m,s);)if(p.newline.test(m)?"\n"===m&&"\r"===_.peek(-2)||(h+=1,i=[]):i.push(m),null===(m=_.next()))return["","TK_EOF"];if(i.length&&(b=i.join("")),l.test(m)||"."===m&&_.testChar(l)){var O=!0,j=!0,T=l;for("0"===m&&_.testChar(/[XxOoBb]/)?(O=!1,j=!1,T=_.testChar(/[Bb]/)?u:_.testChar(/[Oo]/)?c:f,m+=_.next()):"."===m?O=!1:(m="",_.back());_.testChar(T);)m+=_.next(),O&&"."===_.peek()&&(m+=_.next(),O=!1),j&&_.testChar(/[Ee]/)&&(m+=_.next(),_.testChar(/[+-]/)&&(m+=_.next()),j=!1,O=!1);return[m,"TK_WORD"]}if(p.isIdentifierStart(_.peekCharCode(-1))){if(_.hasNext())for(;p.isIdentifierChar(_.peekCharCode())&&(m+=_.next(),_.hasNext()););return"TK_DOT"===k.type||"TK_RESERVED"===k.type&&r(k.text,["set","get"])||!r(m,w)?[m,"TK_WORD"]:"in"===m||"of"===m?[m,"TK_OPERATOR"]:[m,"TK_RESERVED"]}if("("===m||"["===m)return[m,"TK_START_EXPR"];if(")"===m||"]"===m)return[m,"TK_END_EXPR"];if("{"===m)return[m,"TK_START_BLOCK"];if("}"===m)return[m,"TK_END_BLOCK"];if(";"===m)return[m,"TK_SEMICOLON"];if("/"===m){var A,P="";if("*"===_.peek()){_.next(),A=_.match(x),P="/*"+A[0];var N=n(P);return N&&"start"===N.ignore&&(A=_.match(C),P+=A[0]),P=P.replace(p.allLineBreaks,"\n"),[P,"TK_BLOCK_COMMENT",N]}if("/"===_.peek())return _.next(),A=_.match(E),P="//"+A[0],[P,"TK_COMMENT"]}var R=/<()([-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("`"===m||"'"===m||'"'===m||("/"===m||t.e4x&&"<"===m&&_.test(R,-1))&&("TK_RESERVED"===k.type&&r(k.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===k.type&&")"===k.text&&k.parent&&"TK_RESERVED"===k.parent.type&&r(k.parent.text,["if","while","for"])||r(k.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=m,M=!1,D=!1;if(e=m,"/"===L)for(var B=!1;_.hasNext()&&(M||B||_.peek()!==L)&&!_.testChar(p.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(R);if(z){for(var q=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),H=0===q.indexOf("{"),U=0;z;){var K=!!z[1],V=z[2],W=!!z[z.length-1]||"![CDATA["===V.slice(0,8);if(!W&&(V===q||H&&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(p.allLineBreaks,"\n"),[F,"TK_STRING"]}}else{var G=function(t,n,r){for(var o;_.hasNext()&&(o=_.peek(),M||o!==t&&(n||!p.newline.test(o)));)(M||n)&&p.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()&&p.isIdentifierStart(_.peekCharCode());)e+=_.next();return[e,"TK_STRING"]}if("#"===m){if(0===y.length&&"!"===_.peek()){for(e=m;_.hasNext()&&"\n"!==m;)m=_.next(),e+=m;return[o(e)+"\n","TK_UNKNOWN"]}var $="#";if(_.hasNext()&&_.testChar(l)){do{m=_.next(),$+=m}while(_.hasNext()&&"#"!==m&&"="!==m);return"#"===m||("["===_.peek()&&"]"===_.peek(1)?($+="[]",_.next(),_.next()):"{"===_.peek()&&"}"===_.peek(1)&&($+="{}",_.next(),_.next())),[$,"TK_WORD"]}}if("<"===m&&("?"===_.peek()||"%"===_.peek())){_.back();var X=_.match(S);if(X)return m=X[0],m=m.replace(p.allLineBreaks,"\n"),[m,"TK_STRING"]}if("<"===m&&_.match(/\!--/g)){for(m="\x3c!--";_.hasNext()&&!_.testChar(p.newline);)m+=_.next();return v=!0,[m,"TK_COMMENT"]}if("-"===m&&v&&_.match(/->/g))return v=!1,["--\x3e","TK_COMMENT"];if("."===m)return"."===_.peek()&&"."===_.peek(1)?(m+=_.next()+_.next(),[m,"TK_OPERATOR"]):[m,"TK_DOT"];if(r(m,d)){for(;_.hasNext()&&r(m+_.peek(),d)&&(m+=_.next(),_.hasNext()););return","===m?[m,"TK_COMMA"]:"="===m?[m,"TK_EQUALS"]:[m,"TK_OPERATOR"]}return[m,"TK_UNKNOWN"]}function a(e){for(var t="",n=0,r=new m(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]/,u=/[01]/,c=/[01234567]/,f=/[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,b,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,E=/([^\n\r\u2028\u2029]*)/g,k=/\/\* 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 m(e),v=!1,y=[];for(var t,n,r,o=null,a=[],s=[];!n||"TK_EOF"!==n.type;){for(r=i(),t=new g(r[1],r[0],h,b);"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 g(r[1],r[0],h,b);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 p={};!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))))}}(p);var f={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},d=[f.before_newline,f.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},m=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}},g=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(++E))||""}function o(t){var n="",o=E;return t&&u(),n=e.charAt(E+1)||"",E=o-1,r(),n}function l(t){for(var n=E;r();)if("\\"===w)r();else{if(-1!==t.indexOf(w))break;if("\n"===w)break}return e.substring(n,E+1)}function u(e){for(var t=0;x.test(o());)r(),"\n"===w&&e&&m&&(T.newLine(!0),t++);return f=t,t}function c(t){var n=E;for(t="/"===o(),r();r();){if(!t&&"*"===w&&"/"===o()){r();break}if(t&&"\n"===w)return e.substring(n,E)}return e.substring(n,E)+w}function p(t){return e.substring(E-t.length,E).toLowerCase()===t}t=t||{},t=n(t,"css"),e=e||"";var f=0,d=t.indent_size?parseInt(t.indent_size,10):4,h=t.indent_char||" ",m=void 0!==t.preserve_newlines&&t.preserve_newlines,g=void 0===t.selector_separator_newline||t.selector_separator_newline,b=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+$/,E=-1,k=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),u(!0)||T.newLine()},T["}"]=function(e){e&&T.newLine(),A.push("}"),u(!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=[],P=!1,N=!1,R=!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(c()),T.newLine(),F&&T.newLine(!0)}else if("/"===w&&"/"===o())I||"{"===M||T.trim(),T.singleSpace(),A.push(c()),T.newLine();else if("@"===w)if(T.preserveSingleSpace(),"{"===o())A.push(l("}"));else{A.push(w);var z=function(e){var t=E,n=l(e);return E=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&&(R=!0))}else"#"===w&&"{"===o()?(T.preserveSingleSpace(),A.push(l("}"))):"{"===w?"}"===o(!0)?(u(),r(),T.singleSpace(),A.push("{"),T["}"](!1),f<2&&v&&0===S&&T.newLine(!0)):(!function(){S++,O+=C}(),T["{"](w),R?(R=!1,P=S>j):P=S>=j):"}"===w?(!function(){S--,O=O.slice(0,-d)}(),T["}"](!0),P=!1,N=!1,j&&j--,f<2&&v&&0===S&&T.newLine(!0)):":"===w?(u(),!P&&!R||p("&")||function(){for(var t=0,n=E+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}()||p("(")?(p(" ")&&" "!==A[A.length-1]&&A.push(" "),":"===o()?(r(),A.push("::")):A.push(":")):(A.push(":"),N||(N=!0,T.singleSpace()))):'"'===w||"'"===w?(T.preserveSingleSpace(),A.push(l(w))):";"===w?(N=!1,A.push(w),u(!0)||T.newLine()):"("===w?p("url")?(A.push(w),u(),r()&&(")"!==w&&'"'!==w&&"'"!==w?A.push(l(")")):E--)):(k++,T.preserveSingleSpace(),A.push(w),u()):")"===w?(A.push(w),k--):","===w?(A.push(w),!u(!0)&&g&&!N&&k<1?T.newLine():T.singleSpace()):(">"===w||"+"===w||"~"===w)&&!N&&k<1?y?(T.singleSpace(),A.push(w),T.singleSpace()):(A.push(w),u(),w&&x.test(w)&&(w="")):"]"===w?A.push(w):"["===w?(T.preserveSingleSpace(),A.push(w)):"="===w?(u(),A.push("="),x.test(w)&&(w="")):(T.preserveSingleSpace(),A.push(w))}var q="";return O&&(q+=O),q+=A.join("").replace(/[\r\n\t ]+$/,""),b&&(q+="\n"),"\n"!==_&&(q=q.replace(/[\n]/g,_)),q}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){"use strict";var r=n(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(30),g=n.n(m),b=n(3),v=(n.n(b),function(e){return function(t){var n=function(n){function r(){return l()(this,r),f()(this,(r.__proto__||a()(r)).apply(this,arguments))}return h()(r,n),c()(r,[{key:"render",value:function(){var n=e?e(this.context.editor,this.props):{settings:this.context.editor};return wp.element.createElement(t,o()({},this.props,n))}}]),r}(b.Component);return n.contextTypes={editor:g.a},n}});t.a=v},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}var o=n(25),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,u=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(99)(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(143);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||a(e)?{}:o(i(e))}var o=n(145),i=n(140),a=n(107);e.exports=r},function(e,t){!function(){e.exports=this.tinymce}()},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){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(211),i=n(23),a="Expected a function";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(380),i=(n.n(o),n(381)),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";function r(e){var t=e.label,n=e.help,r=e.instanceId,o=e.onChange,a=e.options,l=void 0===a?[]:a,c=s()(e,["label","help","instanceId","onChange","options"]),f="inspector-select-control-"+r,d=function(e){return o(e.target.value)};return!u()(l)&&wp.element.createElement(p.a,{label:t,id:f,help:n},wp.element.createElement("select",i()({id:f,className:"blocks-select-control__input",onChange:d,"aria-describedby":n?f+"__help":void 0},c),l.map(function(e){return wp.element.createElement("option",{key:e.value,value:e.value},e.label)})))}var o=n(10),i=n.n(o),a=n(34),s=n.n(a),l=n(173),u=n.n(l),c=n(1),p=(n.n(c),n(78)),f=n(503);n.n(f);t.a=Object(c.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,c=void 0===l?"text":l,p=s()(e,["label","value","help","instanceId","onChange","type"]),f="inspector-text-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(u.a,{label:t,id:f,help:r},wp.element.createElement("input",i()({className:"blocks-text-control__input",type:c,id:f,value:n,onChange:d,"aria-describedby":r?f+"__help":void 0},p)))}var o=n(10),i=n.n(o),a=n(34),s=n.n(a),l=n(1),u=(n.n(l),n(78)),c=n(504);n.n(c);t.a=Object(l.withInstanceId)(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("div",{className:"blocks-color-palette__item-wrapper blocks-color-palette__clear-color"},wp.element.createElement("button",{className:"blocks-color-palette__item",onClick:function(){return r(void 0)},"aria-label":Object(l.__)("Remove color")},wp.element.createElement("span",{className:"blocks-color-palette__clear-color-line"}))))}var o=n(15),i=n.n(o),a=n(507),s=(n.n(a),n(1)),l=(n.n(s),n(0)),u=(n.n(l),n(566)),c=(n.n(u),n(238));t.a=Object(c.a)(function(e){return{colors:e.colors}})(r)},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(123),i=n(178);e.exports=r},function(e,t,n){function r(e,t,n,P,N,R){var L,M=t&E,D=t&k,B=t&O;if(n&&(L=N?n(e,P,N,R):n(e)),void 0!==L)return L;if(!w(e))return e;var I=y(e);if(I){if(L=g(e),!M)return c(e,L)}else{var F=m(e),z=F==S||F==j;if(_(e))return u(e,M);if(F==T||F==C||z&&!N){if(L=D||z?{}:v(e),!M)return D?f(e,l(L,e)):p(e,s(L,e))}else{if(!A[F])return N?e:{};L=b(e,F,r,M)}}R||(R=new o);var q=R.get(e);if(q)return q;R.set(e,L);var H=B?D?h:d:D?keysIn:x,U=I?void 0:H(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(L,i,r(o,t,n,i,e,R))}),L}var o=n(106),i=n(177),a=n(139),s=n(384),l=n(385),u=n(239),c=n(147),p=n(386),f=n(387),d=n(191),h=n(169),m=n(135),g=n(388),b=n(389),v=n(241),y=n(13),_=n(90),w=n(23),x=n(44),E=1,k=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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(537),i=r(o),a=n(538),s=r(a),l=n(539),u=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=u.default},function(e,t){!function(){e.exports=this.ReactDOMServer}()},,,function(e,t){function n(e){return function(){return e}}e.exports=n},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){var r=n(413),o=n(30),i=r?function(e){return r.get(e)}:o;e.exports=i},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 u=e(t,n,r);return u>-1?s[l?t[u]:u]:void 0}}var o=n(33),i=n(40),a=n(44);e.exports=r},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,c=t.length,p=!1;++r<c;){var f=u(t[r]);if(!(p=null!=e&&n(e,f)))break;e=e[f]}return p||++r!=c?p:!!(c=null==e?0:e.length)&&l(c)&&s(f,c)&&(a(e)||i(e))}var o=n(72),i=n(87),a=n(13),s=n(91),l=n(134),u=n(64);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){function r(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}var o=n(13);e.exports=r},function(e,t,n){var r=n(61)("meta"),o=n(35),i=n(38),a=n(28).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(43)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=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";c(e)}return e[r].i},f=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},d=function(e){return u&&h.NEED&&l(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},function(e,t,n){var r=n(42),o=n(203).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){function r(e,t,n){var r=-1,p=i,f=e.length,d=!0,h=[],m=h;if(n)d=!1,p=a;else if(f>=c){var g=t?null:l(e);if(g)return u(g);d=!1,p=s,m=new o}else m=t?[]:h;e:for(;++r<f;){var b=e[r],v=t?t(b):b;if(b=n||0!==b?b:0,d&&v===v){for(var y=m.length;y--;)if(m[y]===v)continue e;t&&m.push(v),h.push(b)}else p(m,v,n)||(m!==h&&m.push(v),h.push(b))}return h}var o=n(131),i=n(172),a=n(209),s=n(132),l=n(363),u=n(98),c=200;e.exports=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){"use strict";e.exports=n(378)},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(245)},function(e,t,n){var r=n(171),o=n(117),i=n(93),a=n(141),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){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(65),i=n(40);e.exports=r},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){n(274);var r=n(12).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(24);r(r.S+r.F*!n(29),"Object",{defineProperty:n(28).f})},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 m=t[r];if("function"!=typeof m)throw new TypeError(c);if(i&&!g&&"wrapper"==s(m))var g=new o([],!0)}for(r=g?r:n;++r<n;){m=t[r];var b=s(m),v="wrapper"==b?a(m):void 0;g=v&&u(v[0])&&v[1]==(d|p|f|h)&&!v[4].length&&1==v[9]?g[s(v[0])].apply(g,v[3]):1==m.length&&u(m)?g[b]():g.thru(m)}return function(){var e=arguments,r=e[0];if(g&&1==e.length&&l(r))return g.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(213),i=n(158),a=n(257),s=n(284),l=n(13),u=n(414),c="Expected a function",p=8,f=32,d=128,h=256;e.exports=r},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(117);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(49),i=n(87),a=n(13),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(45),i=n(32),a="[object Arguments]";e.exports=r},function(e,t,n){var r=n(255),o=n(184),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){function r(e){return!(!a(e)||i(e))&&(o(e)?h:u).test(s(e))}var o=n(118),i=n(281),a=n(23),s=n(185),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,f=c.toString,d=p.hasOwnProperty,h=RegExp("^"+f.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(282),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(25),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(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(434),i=Object.prototype,a=i.hasOwnProperty;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,u.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,u.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,u.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,u.default)(o)))}Object.defineProperty(t,"__esModule",{value:!0});var l=n(36),u=function(e){return e&&e.__esModule?e:{default:e}}(l);t.attributeListToReact=i,t.nodeListToReact=a,t.nodeToReact=s;var c=["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"],p=["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],f=["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(c,p,f).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";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(u.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 u=n(437)},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(288),i=n(322),a=n(199);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var p=n[l];if(c&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++l<u;){p=n[l];var f=p[0],d=e[f],h=p[1];if(c&&p[2]){if(void 0===d&&!(f in e))return!1}else{var m=new o;if(r)var g=r(d,h,f,e,t,m);if(!(void 0===g?i(h,d,a|s,r,m):g))return!1}}return!0}var o=n(106),i=n(130),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(95),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(95);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(95);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(95);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(94);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(94),i=n(128),a=n(129),s=200;e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(300),i=n(94),a=n(128);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(301),i=n(302),a=n(303),s=n(304),l=n(305);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(96);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(96),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(96),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(96),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(97);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(97);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(97);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(97);e.exports=r},function(e,t,n){function r(e,t,n,r,g,v){var y=u(e),_=u(t),w=y?h:l(e),x=_?h:l(t);w=w==d?m:w,x=x==d?m:x;var E=w==m,k=x==m,O=w==x;if(O&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(O&&!E)return v||(v=new o),y||p(e)?i(e,t,n,r,g,v):a(e,t,w,n,r,g,v);if(!(n&f)){var C=E&&b.call(e,"__wrapped__"),S=k&&b.call(t,"__wrapped__");if(C||S){var j=C?e.value():e,T=S?t.value():t;return v||(v=new o),g(j,T,n,r,v)}}return!!O&&(v||(v=new o),s(e,t,n,r,g,v))}var o=n(106),i=n(187),a=n(314),s=n(315),l=n(135),u=n(13),c=n(90),p=n(122),f=1,d="[object Arguments]",h="[object Array]",m="[object Object]",g=Object.prototype,b=g.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,E,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||!E(new i(e),new i(t)));case f:case d:case g:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case m:var C=l;case v:var S=r&c;if(C||(C=u),e.size!=t.size&&!S)return!1;var j=O.get(e);if(j)return j==t;r|=p,O.set(e,t);var T=s(C(e),C(t),r,o,E,O);return O.delete(e),T;case _:if(k)return k.call(e)==k.call(t)}return!1}var o=n(49),i=n(189),a=n(82),s=n(187),l=n(190),u=n(98),c=1,p=2,f="[object Boolean]",d="[object Date]",h="[object Error]",m="[object Map]",g="[object Number]",b="[object RegExp]",v="[object Set]",y="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",E=o?o.prototype:void 0,k=E?E.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,l){var u=n&i,c=o(e),p=c.length;if(p!=o(t).length&&!u)return!1;for(var f=p;f--;){var d=c[f];if(!(u?d in t:s.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var m=!0;l.set(e,t),l.set(t,e);for(var g=u;++f<p;){d=c[f];var b=e[d],v=t[d];if(r)var y=u?r(v,b,d,t,e,l):r(b,v,d,e,t,l);if(!(void 0===y?b===v||a(b,v,n,r,l):y)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return l.delete(e),l.delete(t),m}var o=n(191),i=1,a=Object.prototype,s=a.hasOwnProperty;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(45),i=n(134),a=n(32),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(146),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(99)(e))},function(e,t,n){var r=n(196),o=r(Object.keys,Object);e.exports=o},function(e,t,n){var r=n(50),o=n(25),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(50),o=n(25),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(198),i=n(44);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?u(c(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,p|f)}}var o=n(130),i=n(54),a=n(200),s=n(136),l=n(198),u=n(199),c=n(64),p=1,f=2;e.exports=r},function(e,t,n){var r=n(325),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(326),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(129),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(260),i=n(329),a=n(136),s=n(64);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(108);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(201),i=1/0,a=1.7976931348623157e308;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(40);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){var n;return o(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}var o=n(65);e.exports=r},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")}])},function(e,t,n){"use strict";function r(e){return!!e&&"_wpBlocksKnownSource"in e}function o(e,t){var n=b()(d()(t,function(e){return r(e.source)}),function(e){return e.source});return Object(v.c)(e,n)}function i(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:p()(e);case"integer":case"number":return Number(e)}return e}function a(e,t,n){var r=o(t,e.attributes),a=m()(e.attributes,function(e,t,o){var a=void 0;if(r.hasOwnProperty(o)?a=r[o]:n&&(a=n[o]),void 0===a){if(!("default"in t))return e;a=t.default}var s=i(a,t.type);return e[o]=s,e},{});return e.supportAnchor&&(a.anchor=Object(v.c)(t,Object(v.a)("*","id"))),!1!==e.className&&n&&n.className&&(a.className=n.className),a}function s(e,t,n){"core/text"!==(e=e||Object(_.d)())&&"core/cover-text"!==e||(e="core/paragraph");var r=Object(_.a)(e),o=Object(_.d)();if(r||(e&&(t=Object(E.d)(e,n,t)),e=o,r=Object(_.a)(e)),r&&(t||e!==o)){var i=Object(w.a)(e,a(r,t,n));return i.isValid=Object(x.a)(t,r,i.attributes),i.originalContent=t,i}}function l(e){return Object(y.parse)(e).reduce(function(e,t){var n=t.blockName,r=t.rawContent,o=t.attrs,i=s(n,r.trim(),o);return i&&e.push(i),e},[])}t.c=o,t.b=a,t.d=l;var u=n(101),c=(n.n(u),n(52)),p=n.n(c),f=n(233),d=n.n(f),h=n(100),m=n.n(h),g=n(206),b=n.n(g),v=n(286),y=n(443),_=(n.n(y),n(110)),w=n(225),x=n(352),E=n(235);t.a=l},function(e,t,n){e.exports={default:n(338),__esModule:!0}},function(e,t,n){n(68),n(111),e.exports=n(137).f("iterator")},function(e,t,n){"use strict";var r=n(340),o=n(341),i=n(46),a=n(42);e.exports=n(148)(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){e.exports={default:n(343),__esModule:!0}},function(e,t,n){n(344),n(232),n(347),n(348),e.exports=n(12).Symbol},function(e,t,n){"use strict";var r=n(22),o=n(38),i=n(29),a=n(24),s=n(149),l=n(262).KEY,u=n(43),c=n(79),p=n(81),f=n(61),d=n(20),h=n(137),m=n(138),g=n(345),b=n(346),v=n(27),y=n(42),_=n(86),w=n(48),x=n(103),E=n(263),k=n(204),O=n(28),C=n(53),S=k.f,j=O.f,T=E.f,A=r.Symbol,P=r.JSON,N=P&&P.stringify,R=d("_hidden"),L=d("toPrimitive"),M={}.propertyIsEnumerable,D=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),F=Object.prototype,z="function"==typeof A,q=r.QObject,H=!q||!q.prototype||!q.prototype.findChild,U=i&&u(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,R)&&e[R][t]&&(e[R][t]=!1),n=x(n,{enumerable:w(0,!1)})):(o(e,R)||j(e,R,w(1,{})),e[R][t]=!0),U(e,t,n)):j(e,t,n)},G=function(e,t){v(e);for(var n,r=g(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,R)&&this[R][e])||t)},Y=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,R)&&e[R][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=T(y(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==R||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=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(I,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),U(this,e,w(1,n))};return i&&H&&U(F,e,{configurable:!0,set:t}),K(e)},s(A.prototype,"toString",function(){return this._k}),k.f=Y,O.f=W,n(203).f=E.f=Z,n(71).f=X,n(105).f=Q,i&&!n(88)&&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;)m(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(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:$,defineProperty:W,defineProperties:G,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),P&&a(a.S+a.F*(!z||u(function(){var e=A();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(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&&b(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,N.apply(P,r)}}}),A.prototype[L]||n(39)(A.prototype,L,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(53),o=n(105),i=n(71);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(59);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){n(138)("asyncIterator")},function(e,t,n){n(138)("observable")},function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=i(t,e);for(var u=-1,c=t.length,p=c-1,f=e;null!=f&&++u<c;){var d=l(t[u]),h=n;if(u!=p){var m=f[d];h=r?r(m,d,f):void 0,void 0===h&&(h=s(m)?m:a(t[u+1])?[]:{})}o(f,d,h),f=f[d]}return e}var o=n(139),i=n(72),a=n(91),s=n(23),l=n(64);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(23),i=n(107),a=n(351),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){"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){return x.a.apply(void 0,g()([e.chars,t.chars].map(o)))}function s(e){return e.replace(P,"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 k()(t)}function u(e,t){if(e.length!==t.length)return!1;var n=[e,t].map(k.a),r=v()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return!1;var s=o[a],l=i[a],u=M[a];if(u){if(!u(s,l))return!1}else if(s!==l)return!1}return!0}function c(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!A.test(t.chars))return t}}function p(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=c(o);){if(!(s=c(i)))return!1;if(a.type!==s.type)return!1;var l=D[a.type];if(l&&!l(a,s))return!1}for(;s=c(i);)return!1;return!0}function f(e,t,n){var r=void 0;try{r=Object(j.e)(t,n)}catch(e){return!1}return p(e,r)}t.a=f;var d=n(444),h=n.n(d),m=n(36),g=n.n(m),b=n(207),v=n.n(b),y=n(170),_=n.n(y),w=n(83),x=n.n(w),E=n(445),k=n.n(E),O=n(446),C=n.n(O),S=n(448),j=(n.n(S),n(235)),T=/[\t\n\r\v\f ]+/g,A=/^[\t\n\r\v\f ]*$/,P=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,N=["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"],R=["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(N,R),M={class:function(e,t){return!C.a.apply(void 0,g()([e,t].map(r))).length},style:function(e,t){return x.a.apply(void 0,g()([e,t].map(l)))}},D={StartTag:function(e,t){return e.tagName===t.tagName&&u.apply(void 0,g()([e,t].map(i)))},Chars:a,Comment:a}},function(e,t,n){e.exports={default:n(354),__esModule:!0}},function(e,t,n){n(111),n(68),e.exports=n(355)},function(e,t,n){var r=n(121),o=n(20)("iterator"),i=n(46);e.exports=n(12).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(357),__esModule:!0}},function(e,t,n){n(111),n(68),e.exports=n(358)},function(e,t,n){var r=n(27),o=n(120);e.exports=n(12).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(362),i=n(44);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(63);e.exports=r},function(e,t,n){var r=n(197),o=n(30),i=n(98),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";var r=n(142),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){n(367),e.exports=n(12).Object.getPrototypeOf},function(e,t,n){var r=n(55),o=n(150);n(175)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){e.exports={default:n(369),__esModule:!0}},function(e,t,n){n(370),e.exports=n(12).Object.setPrototypeOf},function(e,t,n){var r=n(24);r(r.S,"Object",{setPrototypeOf:n(371).set})},function(e,t,n){var r=n(35),o=n(27),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(51)(Function.call,n(204).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(373),__esModule:!0}},function(e,t,n){n(374);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(24);r(r.S,"Object",{create:n(103)})},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(3));n.n(i)},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(77),i=n(82);e.exports=r},function(e,t,n){var r=n(25),o=function(){return r.Date.now()};e.exports=o},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,u=n.offsetLeft||0,c=n.offsetBottom||0,p=n.offsetRight||0;r=void 0===r||r;var f=o.isWindow(t),d=o.offset(e),h=o.outerHeight(e),m=o.outerWidth(e),g=void 0,b=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,E=void 0,k=void 0,O=void 0;f?(x=t,O=o.height(x),k=o.width(x),E={left:o.scrollLeft(x),top:o.scrollTop(x)},_={left:d.left-E.left-u,top:d.top-E.top-l},w={left:d.left+m-(E.left+k)+p,top:d.top+h-(E.top+O)+c},y=E):(g=o.offset(t),b=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-u,top:d.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-l},w={left:d.left+m-(g.left+v+(parseFloat(o.css(t,"borderRightWidth"))||0))+p,top:d.top+h-(g.top+b+(parseFloat(o.css(t,"borderBottomWidth"))||0))+c}),_.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(379);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 u(e,t){var n=e[k]&&e[k][t];if(x.test(n)&&!E.test(t)){var r=e.style,o=r[C],i=e[O][C];e[O][C]=e[k][C],r[C]="fontSize"===t?"1em":n||0,n=r.pixelLeft+S,r[C]=o,e[O][C]=i}return""===n?"auto":n}function c(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(e){return"border-box"===j(e,"boxSizing")}function f(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 m(e,t,n){if(h(e))return"width"===t?R.viewportWidth(e):R.viewportHeight(e);if(9===e.nodeType)return"width"===t?R.docWidth(e):R.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=j(e),a=p(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?N:A);var l=void 0!==o||a,u=o||s;if(n===A)return l?u-d(e,["border","padding"],r,i):s;if(l){var c=n===P?-d(e,["border"],r,i):d(e,["margin"],r,i);return u+(n===N?0:c)}return s+d(e,T.slice(n),r,i)}function g(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=m.apply(void 0,n):f(e,L,function(){t=m.apply(void 0,n)}),t}function b(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)&&b(e,o,t[o])}}function v(e,t){"static"===b(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(b(e,i))||0,r[i]=o+t[i]-n[i]);b(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"),E=/^(top|right|bottom|left)$/,k="currentStyle",O="runtimeStyle",C="left",S="px",j=void 0;"undefined"!=typeof window&&(j=window.getComputedStyle?l:u);var T=["margin","border","padding"],A=-1,P=2,N=1,R={};c(["Width","Height"],function(e){R["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],R["viewport"+e](n))},R["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"};c(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);R["outer"+t]=function(t,n){return t&&g(t,e,n?0:N)};var n="width"===e?["Left","Right"]:["Top","Bottom"];R[e]=function(t,r){if(void 0===r)return t&&g(t,e,A);if(t){var o=j(t);return p(t)&&(r+=d(t,["padding","border"],n,o)),b(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:c,css:b,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},R)},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&&u.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return u.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(482),u=n(483);t.parse=o,t.resolve=a,t.resolveObject=s,t.format=i,t.Url=r;var c=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(d),m=["'"].concat(h),g=["%","/","?",";","#"].concat(m),b=["/","?","#"],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},E=n(381);r.prototype.parse=function(e,t,n){if(!u.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 p=f.exec(s);if(p)return this.path=s,this.href=s,this.pathname=p[1],p[2]?(this.search=p[2],this.query=t?E.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var d=c.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 k="//"===s.substr(0,2);!k||d&&w[d]||(s=s.substr(2),this.slashes=!0)}if(!w[d]&&(k||d&&!x[d])){for(var O=-1,C=0;C<b.length;C++){var S=s.indexOf(b[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<g.length;C++){var S=s.indexOf(g[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 P=this.hostname.split(/\./),C=0,N=P.length;C<N;C++){var R=P[C];if(R&&!R.match(v)){for(var L="",M=0,D=R.length;M<D;M++)R.charCodeAt(M)>127?L+="x":L+=R[M];if(!L.match(v)){var B=P.slice(0,C),I=P.slice(C+1),F=R.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:"",q=this.hostname||"";this.host=q+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,N=m.length;C<N;C++){var H=m[C];if(-1!==s.indexOf(H)){var U=encodeURIComponent(H);U===H&&(U=escape(H)),s=s.split(H).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=E.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&&u.isObject(this.query)&&Object.keys(this.query).length&&(i=E.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(u.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 c=s[l];"protocol"!==c&&(n[c]=e[c])}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 p=Object.keys(e),f=0;f<p.length;f++){var d=p[f];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 m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||b||n.host&&e.pathname,_=y,E=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],k=n.protocol&&!x[n.protocol];if(k&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.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]||""===E[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,E=h;else if(h.length)E||(E=[]),E.pop(),E=E.concat(h),n.search=e.search,n.query=e.query;else if(!u.isNullOrUndefined(e.search)){if(k){n.hostname=n.host=E.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,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],S=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,j=0,T=E.length;T>=0;T--)C=E[T],"."===C?E.splice(T,1):".."===C?(E.splice(T,1),j++):j&&(E.splice(T,1),j--);if(!y&&!_)for(;j--;j)E.unshift("..");!y||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),S&&"/"!==E.join("/").substr(-1)&&E.push("");var A=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(k){n.hostname=n.host=A?"":E.length?E.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&&E.length,y&&!A&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.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=p.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){"use strict";t.decode=t.parse=n(484),t.encode=t.stringify=n(485)},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return b});var r=n(489),o=n.n(r),i=n(233),a=n.n(i),s=n(44),l=n.n(s),u=n(491),c=n.n(u),p=n(83),f=n.n(p),d=n(268),h=n.n(d),m=function(e){return o()(e,"aria-")},g=function(e){return a()(e,function(e,t){return m(t)&&!c()(e)})},b=function(e,t){var n=l()(g(e)),r=l()(g(t));return{removedKeys:h()(n,r),updatedKeys:r.filter(function(n){return!f()(e[n],t[n])})}}},function(e,t,n){var r=n(77),o=n(419),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 e&&o(t,i(t),e)}var o=n(74),i=n(44);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(74),i=n(124);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(74),i=n(133);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(74),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 p:case f:return new A(+e);case _:return i(e,r);case w:case x:case E:case k:case O:case C:case S:case j:case T:return c(e,r);case d:return a(e,r,n);case h:case b:return new A(e);case m:return s(e);case g:return l(e,r,n);case v:return u(e)}}var o=n(143),i=n(390),a=n(391),s=n(393),l=n(394),u=n(396),c=n(240),p="[object Boolean]",f="[object Date]",d="[object Map]",h="[object Number]",m="[object RegExp]",g="[object Set]",b="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",E="[object Int8Array]",k="[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(143);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(392),i=n(109),a=n(190),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(395),i=n(109),a=n(98),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(49),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;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.Checkboard=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(518),u=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),c=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,l=e.boxShadow,c=(0,s.default)({default:{grid:{borderRadius:a,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+u.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:c.grid})};c.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=c},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}}(),u=n(2),c=r(u),p=n(211),f=r(p),d=n(67),h=r(d),m=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,f.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),c.default.createElement(e,s({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(u.PureComponent||u.Component);return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=m},function(e,t,n){e.exports=n(176)},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 u}),n.d(t,"cyan",function(){return c}),n.d(t,"teal",function(){return p}),n.d(t,"green",function(){return f}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return m}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return b}),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 E}),n.d(t,"darkIcons",function(){return k}),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"},u={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"},c={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"},p={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"},f={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"},m={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"},g={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"},b={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)"},E={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)"},k={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:u,cyan:c,teal:p,green:f,lightGreen:d,lime:h,yellow:m,amber:g,orange:b,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:E,darkIcons:k,lightIcons:O,white:C,black:S}},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return i(e,n)})}var o=n(234),i=n(200);e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(15),h=n.n(d),m=n(587),g=(n.n(m),n(0)),b=(n.n(g),n(3)),v=(n.n(b),n(1)),y=(n.n(v),n(179)),_=function(e){function t(){a()(this,t);var e=c()(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 f()(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(g.__)("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(g.__)("Close"),onClick:this.toggle}),wp.element.createElement(y.a,{value:t||"",onChange:n}),wp.element.createElement(v.IconButton,{icon:"editor-break",label:Object(g.__)("Submit"),type:"submit"})))}}]),t}(b.Component);t.a=_},function(e,t,n){"use strict";function r(e){var t=null;switch(e.linkTo){case"media":t=e.img.url;break;case"attachment":t=e.img.link}var n=wp.element.createElement("img",{src:e.img.url,alt:e.img.alt,"data-id":e.img.id}),r=i()("blocks-gallery-image",{"is-selected":e.isSelected});return wp.element.createElement("figure",{className:r,onClick:e.onClick},e.isSelected&&wp.element.createElement("div",{className:"blocks-gallery-image__inline-menu"},wp.element.createElement(a.IconButton,{icon:"no-alt",onClick:e.onRemove,className:"blocks-gallery-image__remove",label:Object(s.__)("Remove Image")})),t?wp.element.createElement("a",{href:t},n):n)}t.a=r;var o=n(15),i=n.n(o),a=n(1),s=(n.n(a),n(0));n.n(s)},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(65);e.exports=r},function(e,t,n){function r(e){return e=o(e),e&&s.test(e)?e.replace(a,i):e}var o=n(62),i=n(635),a=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(a.source);e.exports=r},function(e,t,n){function r(e,t){if((e=a(e))<1||e>s)return[];var n=l,r=u(e,l);t=i(t),e-=l;for(var c=o(r,t);++n<e;)t(n);return c}var o=n(229),i=n(178),a=n(73),s=9007199254740991,l=4294967295,u=Math.min;e.exports=r},,,,,,function(e,t,n){var r=n(218),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(219),i=n(257),a=n(284),s=n(435);e.exports=r},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(438),i=n(439);e.exports=r},function(e,t,n){e.exports={default:n(440),__esModule:!0}},function(e,t,n){e.exports={default:n(449),__esModule:!0}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,l],p=0;u=new Error(t.replace(/%s/g,function(){return c[p++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=r},function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:i,u=t?t():{};return l(n,e,a(r,2),u)}}var o=n(494),i=n(495),a=n(33),s=n(13);e.exports=r},function(e,t,n){e.exports={default:n(654),__esModule:!0}},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(430),n(16));n.d(t,"source",function(){return r.q}),n.d(t,"createBlock",function(){return r.a}),n.d(t,"switchToBlockType",function(){return r.r}),n.d(t,"parse",function(){return r.k}),n.d(t,"getSourcedAttributes",function(){return r.h}),n.d(t,"rawHandler",function(){return r.l}),n.d(t,"serialize",function(){return r.n}),n.d(t,"getBlockDefaultClassname",function(){return r.c}),n.d(t,"getBlockContent",function(){return r.b}),n.d(t,"isValidBlock",function(){return r.j}),n.d(t,"getCategories",function(){return r.f}),n.d(t,"registerBlockType",function(){return r.m}),n.d(t,"unregisterBlockType",function(){return r.s}),n.d(t,"setUnknownTypeHandlerName",function(){return r.p}),n.d(t,"getUnknownTypeHandlerName",function(){return r.i}),n.d(t,"setDefaultBlockName",function(){return r.o}),n.d(t,"getDefaultBlockName",function(){return r.g}),n.d(t,"getBlockType",function(){return r.d}),n.d(t,"getBlockTypes",function(){return r.e});var o=n(174);n.d(t,"AlignmentToolbar",function(){return o.a});var i=n(41);n.d(t,"BlockAlignmentToolbar",function(){return i.a});var a=n(26);n.d(t,"BlockControls",function(){return a.a});var s=n(18);n.d(t,"BlockDescription",function(){return s.a});var l=n(375);n.d(t,"BlockIcon",function(){return l.a});var u=n(248);n.d(t,"ColorPalette",function(){return u.a});var c=n(31);n.d(t,"Editable",function(){return c.a});var p=n(653);n.d(t,"EditableProvider",function(){return p.a});var f=n(17);n.d(t,"InspectorControls",function(){return f.a});var d=n(114);n.d(t,"MediaUploadButton",function(){return d.a});var h=n(179);n.d(t,"UrlInput",function(){return h.a});var m=n(403);n.d(t,"UrlInputButton",function(){return m.a})},function(e,t,n){"use strict";n(431),n(568),n(589),n(593),n(595),n(598),n(601),n(603),n(605),n(607),n(610),n(613),n(617),n(619),n(625),n(627),n(630),n(634),n(639),n(642),n(644),n(647),n(649),n(651)},function(e,t,n){"use strict";var r=n(115),o=n.n(r),i=n(15),a=n.n(i),s=n(0),l=(n.n(s),n(3)),u=(n.n(l),n(1)),c=(n.n(u),n(432)),p=(n.n(c),n(16)),f=n(174),d=n(41),h=n(26),m=n(468),g=n(31),b=n(17),v=n(66),y=n(113),_=n(248),w=n(18),x=p.q.children;Object(p.m)("core/paragraph",{title:Object(s.__)("Paragraph"),icon:"editor-paragraph",category:"common",keywords:[Object(s.__)("text")],className:!1,attributes:{content:{type:"array",source:x("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(l.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:function(e){var t,n=e.attributes,r=e.setAttributes,i=e.insertBlocksAfter,l=e.focus,c=e.setFocus,x=e.mergeBlocks,E=e.onReplace,k=n.align,O=n.content,C=n.dropCap,S=n.placeholder,j=n.fontSize,T=n.backgroundColor,A=n.textColor,P=n.width,N=function(){return r({dropCap:!C})},R=C?"has-drop-cap":null;return[l&&wp.element.createElement(h.a,{key:"controls"},wp.element.createElement(f.a,{value:k,onChange:function(e){r({align:e})}})),l&&wp.element.createElement(b.a,{key:"inspector"},wp.element.createElement(w.a,null,wp.element.createElement("p",null,Object(s.__)("Text. Great things start here."))),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Text Settings")},wp.element.createElement(v.a,{label:Object(s.__)("Drop Cap"),checked:!!C,onChange:N}),wp.element.createElement(y.a,{label:Object(s.__)("Font Size"),value:j||"",onChange:function(e){return r({fontSize:e})},min:10,max:200,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Background Color")},wp.element.createElement(_.a,{value:T,onChange:function(e){return r({backgroundColor:e})}})),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Text Color")},wp.element.createElement(_.a,{value:A,onChange:function(e){return r({textColor:e})}})),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Block Alignment")},wp.element.createElement(d.a,{value:P,onChange:function(e){return r({width:e})}}))),wp.element.createElement(m.a,{key:"editable",onReplace:E},wp.element.createElement(g.a,{tagName:"p",className:a()("wp-block-paragraph",R,(t={},o()(t,"align"+P,P),o()(t,"has-background",T),t)),style:{backgroundColor:T,color:A,fontSize:j?j+"px":void 0,textAlign:k},value:O,onChange:function(e){r({content:e})},focus:l,onFocus:c,onSplit:function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];r({content:e}),i([].concat(o,[Object(p.a)("core/paragraph",{content:t})]))},onMerge:x,onReplace:E,placeholder:S||Object(s.__)("Add text or type / to insert content")}))]},save:function(e){var t,n=e.attributes,r=n.width,i=n.align,s=n.content,l=n.dropCap,u=n.backgroundColor,c=n.textColor,p=n.fontSize,f=a()((t={},o()(t,"align"+r,r),o()(t,"has-background",u),o()(t,"has-drop-cap",l),t)),d={backgroundColor:u,color:c,fontSize:p,textAlign:i};return wp.element.createElement("p",{style:d,className:f||void 0},s)}}),Object(p.o)("core/paragraph")},function(e,t){},function(e,t,n){"use strict";function r(e){return i()(e,function(e){return e._wpBlocksKnownSource=!0,e})}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"attr",function(){return u}),n.d(t,"prop",function(){return c}),n.d(t,"html",function(){return p}),n.d(t,"text",function(){return f}),n.d(t,"query",function(){return d}),n.d(t,"children",function(){return h}),n.d(t,"node",function(){return m});var o=n(212),i=n.n(o),a=n(3),s=(n.n(a),n(285)),l=(n.n(s),n(286)),u=r(l.a),c=r(l.d),p=r(l.b),f=r(l.f),d=r(l.e),h=r(function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(s.nodeListToReact)(n.childNodes||[],a.createElement):[]}}),m=r(function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(s.nodeToReact)(n,a.createElement)}})},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(p.call(e,"__wrapped__"))return u(e)}return new i(e)}var o=n(219),i=n(213),a=n(214),s=n(13),l=n(32),u=n(436),c=Object.prototype,p=c.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(219),i=n(213),a=n(147);e.exports=r},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){(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(102))},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(441),e.exports=n(12).Object.values},function(e,t,n){var r=n(24),o=n(442)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(53),o=n(42),i=n(71).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,u=0,c=[];l>u;)i.call(a,n=s[u++])&&c.push(e?[n,a[n]]:a[n]);return c}}},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=Oe[t];if(r)return r;for(n=t-1;!Oe[n];)n--;for(r=Oe[n],r={line:r.line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return Oe[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){Ee<Ce||(Ee>Ce&&(Ce=Ee,Se=[]),Se.push(e))}function u(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function c(){return p()}function p(){var e,t;for(e=[],t=f();t!==P;)e.push(t),t=f();return e}function f(){var e;return e=d(),e===P&&(e=h())===P&&(e=m())===P&&(e=g()),e}function d(){var t,n,r,o,i,a,s,u,c,p,f,d,h;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){for(r=[],o=S();o!==P;)r.push(o),o=S();if(r!==P)if(e.substr(Ee,4)===D?(o=D,Ee+=4):(o=P,0===je&&l(B)),o!==P){if(i=Ee,a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;if(a!==P){for(s=Ee,u=[],c=Ee,p=Ee,je++,f=Ee,d=[],h=S();h!==P;)d.push(h),h=S();if(d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(d=[d,h],f=d):(Ee=f,f=P)):(Ee=f,f=P),je--,f===P?p=void 0:(Ee=p,p=P),p!==P?(e.length>Ee?(f=e.charAt(Ee),Ee++):(f=P,0===je&&l(z)),f!==P?(p=[p,f],c=p):(Ee=c,c=P)):(Ee=c,c=P),c!==P)for(;c!==P;){for(u.push(c),c=Ee,p=Ee,je++,f=Ee,d=[],h=S();h!==P;)d.push(h),h=S();d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(d=[d,h],f=d):(Ee=f,f=P)):(Ee=f,f=P),je--,f===P?p=void 0:(Ee=p,p=P),p!==P?(e.length>Ee?(f=e.charAt(Ee),Ee++):(f=P,0===je&&l(z)),f!==P?(p=[p,f],c=p):(Ee=c,c=P)):(Ee=c,c=P)}else u=P;s=u!==P?e.substring(s,Ee):u,s!==P?(ke=i,a=q(s),i=a):(Ee=i,i=P)}else Ee=i,i=P;if(i===P&&(i=null),i!==P){for(a=[],s=S();s!==P;)a.push(s),s=S();if(a!==P)if(e.substr(Ee,3)===I?(s=I,Ee+=3):(s=P,0===je&&l(F)),s!==P){for(u=Ee,c=[],p=S();p!==P;)c.push(p),p=S();c!==P?(e.substr(Ee,15)===H?(p=H,Ee+=15):(p=P,0===je&&l(U)),p!==P?(c=[c,p],u=c):(Ee=u,u=P)):(Ee=u,u=P),u===P&&(u=null),u!==P?(ke=t,n=K(i,u),t=n):(Ee=t,t=P)}else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P}else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function h(){var t,n,r,o,i,a,s,u,c,p;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){if(r=[],(o=S())!==P)for(;o!==P;)r.push(o),o=S();else r=P;if(r!==P)if(e.substr(Ee,3)===V?(o=V,Ee+=3):(o=P,0===je&&l(W)),o!==P)if((i=y())!==P){if(a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;if(a!==P){if(s=Ee,(u=x())!==P){if(c=[],(p=S())!==P)for(;p!==P;)c.push(p),p=S();else c=P;c!==P?(ke=s,u=G(i,u),s=u):(Ee=s,s=P)}else Ee=s,s=P;s===P&&(s=null),s!==P?(e.substr(Ee,4)===$?(u=$,Ee+=4):(u=P,0===je&&l(X)),u!==P?(ke=t,n=Y(i,s),t=n):(Ee=t,t=P)):(Ee=t,t=P)}else Ee=t,t=P}else Ee=t,t=P;else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function m(){var e,t,n,r,o,i;if(e=Ee,(t=b())!==P){for(n=[],r=Ee,o=Ee,je++,i=v(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=j(),i!==P?(ke=r,o=Z(t,i),r=o):(Ee=r,r=P)):(Ee=r,r=P);r!==P;)n.push(r),r=Ee,o=Ee,je++,i=v(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=j(),i!==P?(ke=r,o=Z(t,i),r=o):(Ee=r,r=P)):(Ee=r,r=P);n!==P?(r=v(),r!==P?(ke=Ee,o=Q(t,n,r),o=o?void 0:P,o!==P?(ke=e,t=J(t,n,r),e=t):(Ee=e,e=P)):(Ee=e,e=P)):(Ee=e,e=P)}else Ee=e,e=P;return e}function g(){var e,t,n,r,o,i,a;if(e=Ee,t=[],n=Ee,r=Ee,je++,o=m(),je--,o===P?r=void 0:(Ee=r,r=P),r!==P?(o=Ee,je++,i=h(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=Ee,je++,a=d(),je--,a===P?i=void 0:(Ee=i,i=P),i!==P?(a=j(),a!==P?(ke=n,r=ee(a),n=r):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P),n!==P)for(;n!==P;)t.push(n),n=Ee,r=Ee,je++,o=m(),je--,o===P?r=void 0:(Ee=r,r=P),r!==P?(o=Ee,je++,i=h(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=Ee,je++,a=d(),je--,a===P?i=void 0:(Ee=i,i=P),i!==P?(a=j(),a!==P?(ke=n,r=ee(a),n=r):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P);else t=P;return t!==P&&(ke=e,t=te(t)),e=t}function b(){var t,n,r,o,i,a,s,u,c,p;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){if(r=[],(o=S())!==P)for(;o!==P;)r.push(o),o=S();else r=P;if(r!==P)if(e.substr(Ee,3)===V?(o=V,Ee+=3):(o=P,0===je&&l(W)),o!==P)if((i=y())!==P){if(a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;if(a!==P){if(s=Ee,(u=x())!==P){if(c=[],(p=S())!==P)for(;p!==P;)c.push(p),p=S();else c=P;c!==P?(ke=s,u=G(i,u),s=u):(Ee=s,s=P)}else Ee=s,s=P;s===P&&(s=null),s!==P?(e.substr(Ee,3)===I?(u=I,Ee+=3):(u=P,0===je&&l(F)),u!==P?(ke=t,n=ne(i,s),t=n):(Ee=t,t=P)):(Ee=t,t=P)}else Ee=t,t=P}else Ee=t,t=P;else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function v(){var t,n,r,o,i,a,s;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){if(r=[],(o=S())!==P)for(;o!==P;)r.push(o),o=S();else r=P;if(r!==P)if(e.substr(Ee,4)===re?(o=re,Ee+=4):(o=P,0===je&&l(oe)),o!==P)if((i=y())!==P){if(a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;a!==P?(e.substr(Ee,3)===I?(s=I,Ee+=3):(s=P,0===je&&l(F)),s!==P?(ke=t,n=ie(i),t=n):(Ee=t,t=P)):(Ee=t,t=P)}else Ee=t,t=P;else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function y(){var e;return e=_(),e===P&&(e=w()),e}function _(){var t,n,r,o,i,a,s,u;if(t=Ee,n=Ee,(r=k())!==P){for(o=[],i=E();i!==P;)o.push(i),i=E();if(o!==P)if(47===e.charCodeAt(Ee)?(i=ae,Ee++):(i=P,0===je&&l(se)),i!==P)if((a=k())!==P){for(s=[],u=E();u!==P;)s.push(u),u=E();s!==P?(r=[r,o,i,a,s],n=r):(Ee=n,n=P)}else Ee=n,n=P;else Ee=n,n=P;else Ee=n,n=P}else Ee=n,n=P;return t=n!==P?e.substring(t,Ee):n}function w(){var t,n,r,o,i,a;if(t=Ee,n=Ee,r=Ee,(o=k())!==P){for(i=[],a=E();a!==P;)i.push(a),a=E();i!==P?(o=[o,i],r=o):(Ee=r,r=P)}else Ee=r,r=P;return n=r!==P?e.substring(n,Ee):r,n!==P&&(ke=t,n=le(n)),t=n}function x(){var t,n,r,o,i,a,s,u,c,p,f,d,h;if(t=Ee,n=Ee,r=Ee,123===e.charCodeAt(Ee)?(o=ue,Ee++):(o=P,0===je&&l(ce)),o!==P){if(i=[],a=Ee,s=Ee,je++,u=Ee,125===e.charCodeAt(Ee)?(c=pe,Ee++):(c=P,0===je&&l(fe)),c!==P){if(p=[],(f=S())!==P)for(;f!==P;)p.push(f),f=S();else p=P;p!==P?(f=de,f!==P?(47===e.charCodeAt(Ee)?(d=ae,Ee++):(d=P,0===je&&l(se)),d===P&&(d=null),d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(c=[c,p,f,d,h],u=c):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)}else Ee=u,u=P;for(je--,u===P?s=void 0:(Ee=s,s=P),s!==P?(e.length>Ee?(u=e.charAt(Ee),Ee++):(u=P,0===je&&l(z)),u!==P?(s=[s,u],a=s):(Ee=a,a=P)):(Ee=a,a=P);a!==P;){if(i.push(a),a=Ee,s=Ee,je++,u=Ee,125===e.charCodeAt(Ee)?(c=pe,Ee++):(c=P,0===je&&l(fe)),c!==P){if(p=[],(f=S())!==P)for(;f!==P;)p.push(f),f=S();else p=P;p!==P?(f=de,f!==P?(47===e.charCodeAt(Ee)?(d=ae,Ee++):(d=P,0===je&&l(se)),d===P&&(d=null),d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(c=[c,p,f,d,h],u=c):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)}else Ee=u,u=P;je--,u===P?s=void 0:(Ee=s,s=P),s!==P?(e.length>Ee?(u=e.charAt(Ee),Ee++):(u=P,0===je&&l(z)),u!==P?(s=[s,u],a=s):(Ee=a,a=P)):(Ee=a,a=P)}i!==P?(125===e.charCodeAt(Ee)?(a=pe,Ee++):(a=P,0===je&&l(fe)),a!==P?(o=[o,i,a],r=o):(Ee=r,r=P)):(Ee=r,r=P)}else Ee=r,r=P;return n=r!==P?e.substring(n,Ee):r,n!==P&&(ke=t,n=he(n)),t=n}function E(){var e;return e=k(),e===P&&(e=O())===P&&(e=C()),e}function k(){var t;return me.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(ge)),t}function O(){var t;return be.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(ve)),t}function C(){var t;return ye.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(_e)),t}function S(){var t;return we.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(xe)),t}function j(){var t;return e.length>Ee?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(z)),t}function T(e){try{return JSON.parse(e)}catch(e){return null}}t=void 0!==t?t:{};var A,P={},N={Document:c},R=c,L="\x3c!--",M=n("\x3c!--",!1),D="more",B=n("more",!1),I="--\x3e",F=n("--\x3e",!1),z=function(){return{type:"any"}}(),q=function(e){return e},H="\x3c!--noteaser--\x3e",U=n("\x3c!--noteaser--\x3e",!1),K=function(e,t){return{blockName:"core/more",attrs:{customText:e||void 0,noTeaser:!!t},rawContent:""}},V="wp:",W=n("wp:",!1),G=function(e,t){return t},$="/--\x3e",X=n("/--\x3e",!1),Y=function(e,t){return{blockName:e,attrs:t,rawContent:""}},Z=function(e,t){return t},Q=function(e,t,n){return e.blockName===n.blockName},J=function(e,t,n){return{blockName:e.blockName,attrs:e.attrs,rawContent:t.join("")}},ee=function(e){return e},te=function(e){return{attrs:{},rawContent:e.join("")}},ne=function(e,t){return{blockName:e,attrs:t}},re="/wp:",oe=n("/wp:",!1),ie=function(e){return{blockName:e}},ae="/",se=n("/",!1),le=function(e){return"core/"+e},ue="{",ce=n("{",!1),pe="}",fe=n("}",!1),de="",he=function(e){return T(e)},me=/^[a-zA-Z]/,ge=o([["a","z"],["A","Z"]],!1,!1),be=/^[0-9]/,ve=o([["0","9"]],!1,!1),ye=/^[\-_]/,_e=o(["-","_"],!1,!1),we=/^[ \t\r\n]/,xe=o([" ","\t","\r","\n"],!1,!1),Ee=(o(["\r","\n"],!1,!1),o([" ","\t"],!1,!1),0),ke=0,Oe=[{line:1,column:1}],Ce=0,Se=[],je=0;if("startRule"in t){if(!(t.startRule in N))throw new Error("Can't start parsing from rule \""+t.startRule+'".');R=N[t.startRule]}if((A=R())!==P&&Ee===e.length)return A;throw A!==P&&Ee<e.length&&l(function(){return{type:"end"}}()),u(Se,Ce<e.length?e.charAt(Ce):null,Ce<e.length?s(Ce,Ce+1):s(Ce,Ce))}!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(52),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(152),o=n(93),i=n(447),a=n(141),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 u=e[s],c=-1;++c<r;)c!=s&&(l[s]=o(l[s]||u,e[c],t,n));return a(i(l,1),t,n)}var o=n(171),i=n(117),a=n(264);e.exports=r},function(e,t,n){!function(e,n){n(t)}(0,function(e){"use strict";function t(e){return c.test(e)}function n(e){return p.test(e)}function r(e){return e.replace(f,"\n")}function o(e,t){return new h(new u(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]+)$/,u=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}(),c=/[\t\n\f ]/,p=/[A-Za-z]/,f=/\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=u,e.EventedTokenizer=d,e.Tokenizer=h,e.tokenize=o,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){var r=n(12),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},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(236),n(237),n(451)],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=p,this.indent_body_inner_html=f,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,u=!1,c=this.pos,p=this.line_char_count,f=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=c,this.line_char_count=p),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||!u||f||">"!==o&&"/"!==o||r.match(/^\/?\s*>/)&&(s=!1,f=!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 m=!1;if(C&&l){m=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}l&&!m||(this.print_newline(!1,i),this.print_indentation(i),h=!0)}if(h){u=!0;var g=k;S&&(g=i.indexOf(" ")+1);for(var b=0;b<g;b++)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,E,j=i.join("");w=-1!==j.indexOf(" ")?j.indexOf(" "):-1!==j.indexOf("\n")?j.indexOf("\n"):"{"===j.charAt(0)?j.indexOf("}"):j.indexOf(">"),E="<"!==j.charAt(0)&&x?"#"===j.charAt(2)?3:2:1;var T=j.substring(E,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=c,this.line_char_count=p),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,p,f,d,h,m,g,b,v,y,_,w,x,E,k,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),p=void 0!==t.indent_inner_html&&t.indent_inner_html,f=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),m=void 0===t.indent_char?" ":t.indent_char,b=void 0===t.brace_style?"collapse":t.brace_style,g=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,E=void 0===t.wrap_attributes?"auto":t.wrap_attributes,k=isNaN(parseInt(t.wrap_attributes_indent_size,10))?h:parseInt(t.wrap_attributes_indent_size,10),O="force"===E.substr(0,"force".length),C="force-expand-multiline"===E,S="force-aligned"===E,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&&(m="\t",h=1),"auto"===A&&(A="\n",e&&u.test(e||"")&&(A=e.match(u)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(c,"\n"),l=new o,l.printer(e,m,h,g,b);;){var P=l.get_token();if(l.token_text=P[0],l.token_type=P[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 N=(l.token_text.match(/\w+/)||[])[0],R=null;l.output.length&&(R=l.output[l.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===R||R[1]!==N&&!l.Utils.in_array(R[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 q=function(){this.eol="\n"};q.prototype=t;var H=new q;I=B(I.replace(/^\s*/,z),H)}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 u=/\r\n|[\n\r\u2028\u2029]/,c=new RegExp(u.source,"g");r=[n,n(236),n(237)],void 0!==(o=function(e){var t=n(236),r=n(237);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";function r(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.inline,a=void 0===o?null:o;if(t=t.replace(/<meta[^>]+>/,""),!a&&-1!==t.indexOf("\x3c!-- wp:"))return Object(f.d)(t);if(r&&Object(O.k)(t)&&-1!==r.indexOf("\n\n")){var l=new S.a.Converter;l.setOption("noHeaderId",!0),l.setOption("tables",!0),t=l.makeHtml(r)}else t=Object(O.a)(t,[y.a]);if(t=Object(O.a)(t,[_.a,w.a,v.a,h.a,m.a,Object(g.a)(function(e){return Object(O.j)(e)||a&&!Object(O.g)(e)}),x.a,E.a,k.a]),a||null===a&&Object(b.a)(t))return window.console.log("Processed inline HTML:\n\n",t),t;t=Object(O.a)(t,[Object(g.a)(O.i)]),t=Object(d.a)(t),window.console.log("Processed HTML piece:\n\n",t);var C=document.implementation.createHTMLDocument("");return C.body.innerHTML=t,i()(C.body.children).map(function(e){var t=Object(p.b)().reduce(function(t,n){if(t)return t;var r=s()(n,"transforms.from",[]),o=u()(r,function(e){return"raw"===e.type});return o&&o.isMatch(e)?Object(c.a)(n.name,Object(f.b)(n,e.outerHTML)):t},null);return t||Object(c.a)(Object(p.d)(),{content:e.outerHTML})})}t.a=r;var o=n(52),i=n.n(o),a=n(54),s=n.n(a),l=n(56),u=n.n(l),c=n(225),p=n(110),f=n(336),d=n(364),h=n(453),m=n(454),g=n(365),b=n(455),v=n(456),y=n(457),_=n(458),w=n(459),x=n(460),E=n(461),k=n(462),O=n(142),C=n(463),S=n.n(C)},function(e,t,n){"use strict";var r=n(52),o=n.n(r),i=n(142),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(52),i=n.n(o),a=n(142);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),u=/[1iIaA]/.test(l),c=document.createElement(u?"ol":"ul");u&&c.setAttribute("type",l),e.parentNode.insertBefore(c,e)}var p=e.previousElementSibling,f=p.nodeName,d=document.createElement("li"),h=p;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(f))),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=window.Node.ELEMENT_NODE;t.a=function(e){e.nodeType===r&&"IMG"===e.nodeName&&(0===e.src.indexOf("file:")&&(e.src=""),1!==e.height&&1!==e.width||e.parentNode.removeChild(e))}},function(e,t,n){"use strict";var r=n(364),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(142),o=n(365),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){var r;/*! showdown v 1.7.4 - 08-09-2017 */
7
- (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 u in a.listeners)if(a.listeners.hasOwnProperty(u)&&"function"!=typeof a.listeners[u])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+u+" must be a function but "+typeof a.listeners[u]+" 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={},u={},c=o(!0),p="vanilla",f={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 c[e]=t,this},s.getOption=function(e){"use strict";return c[e]},s.getOptions=function(){"use strict";return c},s.resetOptions=function(){"use strict";c=o(!0)},s.setFlavor=function(e){"use strict";if(!f.hasOwnProperty(e))throw Error(e+" flavor was not found");s.resetOptions();var t=f[e];p=e;for(var n in t)t.hasOwnProperty(n)&&(c[n]=t[n])},s.getFlavor=function(){"use strict";return p},s.getFlavorOptions=function(e){"use strict";if(f.hasOwnProperty(e))return f[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(!u.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return u[e]}"function"==typeof t&&(t=t()),s.helper.isArray(t)||(t=[t]);var n=i(t,e);if(!n.valid)throw Error(n.error);u[e]=t},s.getAllExtensions=function(){"use strict";return u},s.removeExtension=function(e){"use strict";delete u[e]},s.resetExtensions=function(){"use strict";u={}},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,u=r||"",c=u.indexOf("g")>-1,p=new RegExp(t+"|"+n,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),d=[];do{for(o=0;a=p.exec(e);)if(f.test(a[0]))o++||(i=p.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),!c)return d}}while(o&&(p.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,u=a.length;if(u>0){var c=[];0!==a[0].wholeMatch.start&&c.push(e.slice(0,a[0].wholeMatch.start));for(var p=0;p<u;++p)c.push(t(e.slice(a[p].wholeMatch.start,a[p].wholeMatch.end),e.slice(a[p].match.start,a[p].match.end),e.slice(a[p].left.start,a[p].left.end),e.slice(a[p].right.start,a[p].right.end))),p<u-1&&c.push(e.slice(a[p].wholeMatch.end,a[p+1].wholeMatch.start));a[u-1].wholeMatch.end<e.length&&c.push(e.slice(a[u-1].wholeMatch.end)),l=c.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(u[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=u[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 c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&r(c,e[a].listeners[c])}}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={},m=p;!function(){e=e||{};for(var n in c)c.hasOwnProperty(n)&&(a[n]=c[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(!f.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=f[e];m=e;for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return m},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,u){if(s.helper.isUndefined(u)&&(u=""),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])||(u=n.gTitles[o])}i=i.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var c='<a href="'+i+'"';return""!==u&&null!==u&&(u=u.replace(/"/g,"&quot;"),u=u.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),c+=' title="'+u+'"'),t.openLinksInNewWindow&&(c+=' target="¨E95Eblank"'),c+=">"+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,m=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,g=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,b=/(^|\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(g,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(m,y(t)):e.replace(h,y(t)),e=e.replace(b,_(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,"&amp;"),e=e.replace(/<(?![a-z\/?$!])/gi,"&lt;"),e=e.replace(/</g,"&lt;"),e=e.replace(/>/g,"&gt;"),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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").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"&lt;"+t+"&gt;"}));for(var i=0;i<r.length;++i)for(var a,l=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),u="<"+r[i]+"\\b[^>]*>",c="</"+r[i]+">";-1!==(a=s.helper.regexIndexOf(e,l));){var p=s.helper.splitAtIndex(e,a),f=s.helper.replaceRecursiveRegExp(p[1],o,u,c,"im");if(f===p[1])break;e=p[0].concat(f)}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(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/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)+'"',u=o,c="<h"+u+l+">"+a+"</h"+u+">";return s.subParser("hashBlock")(c,t,n)}),e=e.replace(a,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',u=o+1,c="<h"+u+l+">"+a+"</h"+u+">";return s.subParser("hashBlock")(c,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 u=s.subParser("spanGamut")(l,t,n),c=t.noHeaderId?"":' id="'+r(a)+'"',p=o-1+i.length,f="<h"+p+c+">"+u+"</h"+p+">";return s.subParser("hashBlock")(f,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,u){var c=n.gUrls,p=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),u||(u=""),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(c[r]))return e;o=c[r],s.helper.isUndefined(p[r])||(u=p[r]),s.helper.isUndefined(f[r])||(i=f[r].width,a=f[r].height)}t=t.replace(/"/g,"&quot;").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 u&&(u=u.replace(/"/g,"&quot;").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),d+=' title="'+u+'"'),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,u=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,c=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(u,o),e=e.replace(l,r),e=e.replace(a,o),e=e.replace(i,o),e=e.replace(c,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,u,c){c=c&&""!==c.trim();var p=s.subParser("outdent")(l,t,n),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',p=p.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 c&&(e+=" checked"),e+=">"})),p=p.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||p.search(/\n{2,}/)>-1?(p=s.subParser("githubCodeBlocks")(p,t,n),p=s.subParser("blockGamut")(p,t,n)):(p=s.subParser("lists")(p,t,n),p=p.replace(/\n$/,""),p=s.subParser("hashHTMLBlocks")(p,t,n),p=p.replace(/\n\n+/g,"\n\n"),p=i?s.subParser("paragraphs")(p,t,n):s.subParser("spanGamut")(p,t,n)),p=p.replace("¨A",""),p="<li"+f+">"+p+"</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 u=t.search(s);-1!==u?(l+="\n<"+n+">\n"+r(t.slice(0,u),!!o)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?i:a,e(t.slice(u))):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 u="",c=o[a],p=!1;/¨(K|G)(\d+)\1/.test(c);){var f=RegExp.$1,d=RegExp.$2;u="K"===f?n.gHtmlBlocks[d]:p?s.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock,u=u.replace(/\$/g,"$$$$"),c=c.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,u),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(c)&&(p=!0)}o[a]=c}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,u){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+u:(u&&(n.gTitles[r]=u.replace(/"|'/g,"&quot;")),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()}),u=n[1].split("|").map(function(e){return e.trim()}),c=[],p=[],f=[],d=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&c.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<u.length)return e;for(t=0;t<u.length;++t)f.push(r(u[t]));for(t=0;t<l.length;++t)s.helper.isUndefined(f[t])&&(f[t]=""),p.push(o(l[t],f[t]));for(t=0;t<c.length;++t){for(var h=[],m=0;m<p.length;++m)s.helper.isUndefined(c[t][m]),h.push(i(c[t][m],f[m]));d.push(h)}return a(p,d)}if(!t.tables)return e;var u=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,c=/^ {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(u,l),e=e.replace(c,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(465),o=n(418),i=n(466);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){"use strict";function r(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).map(function(e){e(n)}),(e["*"]||[]).map(function(e){e(t,n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";var r=n(36),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(3),g=(n.n(m),n(1)),b=(n.n(g),n(469)),v=(n.n(b),n(16)),y=n(375),_=function(e){function t(){l()(this,t);var e=f()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.onSelect=e.onSelect.bind(e),e}return h()(t,e),c()(t,[{key:"onSelect",value:function(e){var t=this.props.onReplace,n=e.value;t(Object(v.a)(n))}},{key:"render",value:function(){var e=this.props.children,t=Object(v.e)().map(function(e){var t=e.name,n=e.title,r=e.icon,i=e.keywords,a=void 0===i?[]:i;return{value:t,label:[wp.element.createElement(y.a,{key:"icon",icon:r}),n],keywords:[].concat(o()(a),[n])}});return wp.element.createElement(g.Autocomplete,{triggerPrefix:"/",options:t,onSelect:this.onSelect,className:"blocks-block-autocomplete"},e)}}]),t}(m.Component);t.a=_},function(e,t){},function(e,t,n){var r=n(471),o=n(93),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(473),o=n(476),i=o(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){function r(e,t,n,c,p){e!==t&&a(t,function(a,u){if(l(a))p||(p=new o),s(e,t,u,n,r,c,p);else{var f=c?c(e[u],a,u+"",e,t,p):void 0;void 0===f&&(f=a),i(e,u,f)}},u)}var o=n(106),i=n(376),a=n(231),s=n(474),l=n(23),u=n(124);e.exports=r},function(e,t,n){function r(e,t,n,r,v,y,_){var w=e[n],x=t[n],E=_.get(x);if(E)return void o(e,n,E);var k=y?y(w,x,n+"",e,t,_):void 0,O=void 0===k;if(O){var C=c(x),S=!C&&f(x),j=!C&&!S&&g(x);k=x,C||S||j?c(w)?k=w:p(w)?k=s(w):S?(O=!1,k=i(x,!0)):j?(O=!1,k=a(x,!0)):k=[]:m(x)||u(x)?(k=w,u(w)?k=b(w):(!h(w)||r&&d(w))&&(k=l(x))):O=!1}O&&(_.set(x,k),v(k,x,r,y,_),_.delete(x)),o(e,n,k)}var o=n(376),i=n(239),a=n(240),s=n(147),l=n(241),u=n(87),c=n(13),p=n(141),f=n(90),d=n(118),h=n(23),m=n(210),g=n(122),b=n(475);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(74),i=n(124);e.exports=r},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(93),i=n(168);e.exports=r},function(e,t,n){function r(e,t){return a(e,i(o(t)))}var o=n(33),i=n(478),a=n(233);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(10),o=n.n(r),i=n(115),a=n.n(i),s=n(4),l=n.n(s),u=n(5),c=n.n(u),p=n(6),f=n.n(p),d=n(7),h=n.n(d),m=n(8),g=n.n(m),b=n(125),v=(n.n(b),n(0)),y=(n.n(v),n(3)),_=(n.n(y),n(1)),w=(n.n(_),n(37)),x=(n.n(w),n(481)),E=(n.n(x),n(179)),k=n(267),O=n(66),C=w.keycodes.ESCAPE,S=[{icon:"editor-bold",title:Object(v.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(v.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(v.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(v.__)("Link"),format:"link"}],j=["bold","italic","strikethrough","link"],T=function(e){function t(){c()(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 g()(t,e),f()(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===C&&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(v.__)("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?j:i,s=t.customControls,l=void 0===s?[]:s,u=this.state,c=u.isAddingLink,p=u.isEditingLink,f=u.newLinkValue,d=u.settingsVisible,h=u.opensInNewWindow,m=r?o()({position:"absolute"},r):null,g=S.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&&c})}),y=d&&wp.element.createElement("fieldset",{className:"blocks-format-toolbar__link-settings"},wp.element.createElement(O.a,{label:Object(v.__)("Open in new window"),checked:h,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(_.Toolbar,{controls:g}),(c||p)&&wp.element.createElement(b.Fill,{name:"Editable.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:m,onSubmit:this.submitLink},wp.element.createElement(E.a,{value:f,onChange:this.onChangeLinkValue}),wp.element.createElement(_.IconButton,{icon:"editor-break",label:Object(v.__)("Apply"),type:"submit"}),wp.element.createElement(_.IconButton,{icon:"editor-unlink",label:Object(v.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(_.IconButton,{icon:"admin-generic",label:Object(v.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),y)),!!n.link&&!c&&!p&&wp.element.createElement(b.Fill,{name:"Editable.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:m},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(_.IconButton,{icon:"edit",label:Object(v.__)("Edit"),onClick:this.editLink}),wp.element.createElement(_.IconButton,{icon:"editor-unlink",label:Object(v.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(_.IconButton,{icon:"admin-generic",label:Object(v.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),y)))}}]),t}(y.Component);t.a=Object(_.withSpokenMessages)(T)},function(e,t){},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(N[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(P,"."),r+s(e.split("."),t).join(".")}function u(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 c(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 p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function f(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>R*E>>1;r+=w)e=L(e/R);return L(r+(R+1)*e/(e+k))}function h(e){var t,n,r,o,i,s,l,u,f,h,m=[],g=e.length,b=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"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(i=b,s=1,l=w;o>=g&&a("invalid-input"),u=p(e.charCodeAt(o++)),(u>=w||u>L((_-b)/s))&&a("overflow"),b+=u*s,f=l<=y?x:l>=y+E?E:l-y,!(u<f);l+=w)h=w-f,s>L(_/h)&&a("overflow"),s*=h;t=m.length+1,y=d(b-i,t,0==i),L(b/t)>_-v&&a("overflow"),v+=L(b/t),b%=t,m.splice(b++,0,v)}return c(m)}function m(e){var t,n,r,o,i,s,l,c,p,h,m,g,b,v,y,k=[];for(e=u(e),g=e.length,t=S,n=0,i=C,s=0;s<g;++s)(m=e[s])<128&&k.push(M(m));for(r=o=k.length,o&&k.push(j);r<g;){for(l=_,s=0;s<g;++s)(m=e[s])>=t&&m<l&&(l=m);for(b=r+1,l-t>L((_-n)/b)&&a("overflow"),n+=(l-t)*b,t=l,s=0;s<g;++s)if(m=e[s],m<t&&++n>_&&a("overflow"),m==t){for(c=n,p=w;h=p<=i?x:p>=i+E?E:p-i,!(c<h);p+=w)y=c-h,v=w-h,k.push(M(f(h+y%v,0))),c=L(y/v);k.push(M(f(c,0))),i=d(n,b,r==o),n=0,++r}++n,++t}return k.join("")}function g(e){return l(e,function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e})}function b(e){return l(e,function(e){return A.test(e)?"xn--"+m(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,E=26,k=38,O=700,C=72,S=128,j="-",T=/^xn--/,A=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,N={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=w-x,L=Math.floor,M=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:u,encode:c},decode:h,encode:m,toASCII:b,toUnicode:g},void 0!==(o=function(){return y}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(99)(e),n(102))},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 u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var p,f,d,h,m=e[c].replace(s,"%20"),g=m.indexOf(n);g>=0?(p=m.substr(0,g),f=m.substr(g+1)):(p=m,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),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(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(151),a=n.n(i),s=n(4),l=n.n(s),u=n(5),c=n.n(u),p=n(6),f=n.n(p),d=n(7),h=n.n(d),m=n(8),g=n.n(m),b=n(83),v=n.n(b),y=n(242),_=n.n(y),w=n(15),x=n.n(w),E=n(3),k=(n.n(E),n(382)),O=function(e){function t(){return c()(this,t),h()(this,(t.__proto__||l()(t)).apply(this,arguments))}return g()(t,e),f()(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(k.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(k.b)(this.props),u=void 0;return a&&(u=E.Children.toArray(a)),Object(E.createElement)(r,o()({ref:function(t){return e.editorNode=t},contentEditable:!0,suppressContentEditableWarning:!0,className:x()(s,"blocks-editable__tinymce"),style:i},l),u)}}]),t}(E.Component);t.a=O},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(490),i=n(230),a=n(73),s=n(62);e.exports=r},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){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";var r=n(36),o=n.n(r),i=n(493),a=n.n(i),s=n(383),l=n.n(s),u=n(496),c=n.n(u),p=n(54),f=n.n(p),d=n(56),h=n.n(d),m=n(242),g=n.n(m),b=n(37),v=(n.n(b),n(110)),y=window,_=y.setTimeout,w=b.keycodes.ESCAPE,x=b.keycodes.ENTER,E=b.keycodes.SPACE,k=b.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=O.reduce(function(e,t){if(e.result)return e;if(i!==t.delimiter.slice(-1))return e;var n=c()(t.delimiter),a=new RegExp("(.*)"+n+".+"+n+"$"),s=o.match(a);if(!s)return e;var l=s[1].length,u=r-t.delimiter.length,p=o.charAt(l-1),f=o.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(p)&&(/\s/.test(f)||p===d))return e;var h=new RegExp("^[\\s"+c()(d)+"]+$"),m=o.slice(l,u);return h.test(m)?e:{start:l,pattern:t}},{}),s=a.start,l=a.pattern;if(l){var u=l.delimiter,p=l.format,f=e.formatter.get(p);f&&f[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,u.length),t.deleteData(t.data.length-u.length,u.length),e.formatter.apply(p,{},t),e.selection.setCursorLocation(o,1),_(function(){C="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}},{}),u=l.result,c=l.pattern;if(u){var p=e.selection.getRng(),f=u[0].length,d=r.slice(f);if(p.startOffset===f){var h=c.transform({content:[d].concat(o()(a()(n))),match:u});s([h])}}}}}function r(){if(s){e.getBody().normalize();var t=i();if(t.length){var n=h()(b,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,u=g.a.util.VK,p=e.settings.wptextpattern||{},d=l()(Object(v.b)().reduce(function(e,t){var n=f()(t,"transforms.from",[]),r=n.filter(function(e){return"pattern"===e.type});return[].concat(o()(e),o()(r))},[]),"trigger"),m=d.paste,b=d.enter,y=d.undefined,O=p.inline||[{delimiter:"`",format:"code"}],C=void 0;e.on("selectionchange",function(){C=null}),e.on("pastepostprocess",function(){_(function(){return n(m)})}),e.on("keydown",function(o){var i=o.keyCode;(C&&i===w||"space"===C&&i===k)&&(e.undoManager.undo(),o.preventDefault(),o.stopImmediatePropagation()),u.metaKeyPressed(o)||(i===x?r():i===E?_(function(){return n(y)}):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(180),i=n(73);e.exports=r},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(65);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(62),i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source);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,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,c=s()(e,["label","heading","checked","help","instanceId","onChange"]),p="inspector-checkbox-control-"+a,f=function(e){return l(e.target.value)};return wp.element.createElement(u.a,{label:n,id:p,help:o},wp.element.createElement("input",i()({id:p,className:"blocks-checkbox-control__input",type:"checkbox",value:"1",onChange:f,checked:r,"aria-describedby":o?p+"__help":void 0},c)),wp.element.createElement("label",{className:"blocks-checkbox-control__label",htmlFor:p},t))}var o=n(10),i=n.n(o),a=n(34),s=n.n(a),l=n(1),u=(n.n(l),n(78)),c=n(499);n.n(c);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,u=void 0===l?[]:l,c="inspector-radio-control-"+o,p=function(e){return a(e.target.value)};return!i()(u)&&wp.element.createElement(s.a,{label:t,id:c,help:r,className:"blocks-radio-control"},u.map(function(e,t){return wp.element.createElement("div",{key:c+"-"+t,className:"blocks-radio-control__option"},wp.element.createElement("input",{id:c+"-"+t,className:"blocks-radio-control__input",type:"radio",name:c,value:e.value,onChange:p,selected:e.value===n,"aria-describedby":r?c+"__help":void 0}),wp.element.createElement("label",{key:e.value,htmlFor:c+"-"+t},e.label))}))}var o=n(173),i=n.n(o),a=n(1),s=(n.n(a),n(78)),l=n(501);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,c=void 0===l?4:l,p=s()(e,["label","value","help","instanceId","onChange","rows"]),f="inspector-textarea-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(u.a,{label:t,id:f,help:r},wp.element.createElement("textarea",i()({className:"blocks-textarea-control__input",id:f,rows:c,onChange:d,"aria-describedby":r?f+"__help":void 0,value:n},p)))}var o=n(10),i=n.n(o),a=n(34),s=n.n(a),l=n(1),u=(n.n(l),n(78)),c=n(506);n.n(c);t.a=Object(l.withInstanceId)(r)},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(508);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(528);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(530);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n(532);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n(536);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var u=n(544);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(u).default}});var c=n(546);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(c).default}});var p=n(548);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(p).default}});var f=n(549);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(f).default}});var d=n(555);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(558);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var m=n(562);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(m).default}});var g=n(565);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(g).default}});var b=n(398);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(b).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(2),a=r(i),s=n(9),l=r(s),u=n(21),c=n(527),p=r(c),f=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,i=e.height,s=e.onChange,c=e.direction,p=e.style,f=e.renderers,d=e.pointer,h=(0,l.default)({default:{picker:{position:"relative",width:r,height:i},alpha:{radius:"2px",style:p}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(u.Alpha,o({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:f,onChange:s,direction:c})))};f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:p.default},t.default=(0,u.ColorWrap)(f)},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(57),i=r(o),a=n(249),s=r(a),l=n(210),u=r(l),c=n(47),p=r(c),f=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,p.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,u.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=f},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(249),i=r(o),a=n(511),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},u=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=u},function(e,t,n){function r(e){return o(e,i|a)}var o=n(250),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(249),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(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,u,c;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=u=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),u.state={hover:!1},u.handleMouseOver=function(){return u.setState({hover:!0})},u.handleMouseOut=function(){return u.setState({hover:!1})},u.render=function(){return l.default.createElement(t,{onMouseOver:u.handleMouseOver,onMouseOut:u.handleMouseOut},l.default.createElement(e,a({},u.props,u.state)))},c=i,o(u,c)}return i(s,n),s}(l.default.Component)};t.default=u},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(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,u,c;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=u=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),u.state={active:!1},u.handleMouseDown=function(){return u.setState({active:!0})},u.handleMouseUp=function(){return u.setState({active:!1})},u.render=function(){return l.default.createElement(t,{onMouseDown:u.handleMouseDown,onMouseUp:u.handleMouseUp},l.default.createElement(e,a({},u.props,u.state)))},c=i,o(u,c)}return i(s,n),s}(l.default.Component)};t.default=u},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}}(),u=n(2),c=r(u),p=n(9),f=r(p),d=n(517),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),m=n(397),g=r(m),b=t.Alpha=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];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,f.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 c.default.createElement("div",{style:n.alpha},c.default.createElement("div",{style:n.checkboard},c.default.createElement(g.default,{renderers:this.props.renderers})),c.default.createElement("div",{style:n.gradient}),c.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("div",{style:n.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:n.slider}))))}}]),t}(u.PureComponent||u.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),u=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(c=u<0?0:u>i?1:Math.round(100*u/i)/100,n.hsl.a!==c)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:c,source:"rgb"}}else{var p=void 0;if(p=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==p)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:p,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}}(),u=n(2),c=r(u),p=n(9),f=r(p),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,f.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 c.default.createElement("div",{style:t.wrap},c.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?c.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(u.PureComponent||u.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(2),u=r(l),c=n(9),p=r(c),f=n(521),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}(f),h=t.Hue=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];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,p.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 u.default.createElement("div",{style:r.hue},u.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},u.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 "),u.default.createElement("div",{style:r.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.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),u=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(u<0)c=359;else if(u>i)c=0;else{var p=-100*u/i+100;c=360*p/100}if(n.hsl.h!==c)return{h:c,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var f=void 0;if(l<0)f=0;else if(l>o)f=359;else{var d=100*l/o;f=360*d/100}if(n.hsl.h!==f)return{h:f,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(2),u=r(l),c=n(9),p=r(c),f=n(244),d=r(f),h=n(523),m=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),g=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,m.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,p.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 u.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.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 "),u.default.createElement("div",{style:s.white,className:"saturation-white"},u.default.createElement("div",{style:s.black,className:"saturation-black"}),u.default.createElement("div",{style:s.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:s.circle}))))}}]),t}(l.PureComponent||l.Component);t.default=g},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),u=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o?l=o:u<0?u=0:u>i&&(u=i);var c=100*l/o,p=-100*u/i+100;return{h:n.hsl.h,s:c,v:p,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=H(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=H(this._r)),this._g<1&&(this._g=H(this._g)),this._b<1&&(this._b=H(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=R(e.s,1),s=R(e.v,1);t=c(e.h,i,s),r=!0,o="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){var i=R(e.s),u=R(e.l);t=l(e.h,i,u),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 u(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 c(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=q.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 p(e,t,n,r){var o=[N(H(e).toString(16)),N(H(t).toString(16)),N(H(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 f(e,t,n,r){return[N(L(r)),N(H(e).toString(16)),N(H(t).toString(16)),N(H(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 m(e){return o(e).desaturate(100)}function g(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 b(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=K(0,U(255,n.r-H(-t/100*255))),n.g=K(0,U(255,n.g-H(-t/100*255))),n.b=K(0,U(255,n.b-H(-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=(H(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 E(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 k(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=P(e);return e=U(t,K(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),q.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 P(e){return"string"==typeof e&&-1!=e.indexOf("%")}function N(e){return 1==e.length?"0"+e:""+e}function R(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,q=Math,H=q.round,U=q.min,K=q.max,V=q.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=H(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=H(360*e.h),n=H(100*e.s),r=H(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=H(360*e.h),n=H(100*e.s),r=H(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(){return f(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:H(this._r),g:H(this._g),b:H(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+H(this._r)+", "+H(this._g)+", "+H(this._b)+")":"rgba("+H(this._r)+", "+H(this._g)+", "+H(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:H(100*S(this._r,255))+"%",g:H(100*S(this._g,255))+"%",b:H(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+H(100*S(this._r,255))+"%, "+H(100*S(this._g,255))+"%, "+H(100*S(this._b,255))+"%)":"rgba("+H(100*S(this._r,255))+"%, "+H(100*S(this._g,255))+"%, "+H(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(G[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+f(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(g,arguments)},brighten:function(){return this._applyModification(b,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(m,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(k,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(E,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]:R(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,u=a.a-i.a;r=l*u==-1?l:(l+u)/(1+l*u),r=(r+1)/2;var c=1-r;return o({r:a.r*r+i.r*c,g:a.g*r+i.g*c,b:a.b*r+i.b*c,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,u=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var c=0;c<t.length;c++)(r=o.readability(e,t[c]))>u&&(u=r,l=o(t[c]));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(2),a=r(i),s=n(9),l=r(s),u=n(526),c=n(21),p=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,i=void 0===r?function(){}:r,s=e.onHover,u=e.title,p=void 0===u?t:u,f=e.children,d=e.focus,h=e.focusStyle,m=void 0===h?{}:h,g="transparent"===t,b=(0,l.default)({default:{swatch:o({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?m:{})}}),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:b.swatch,onClick:v,title:p,tabIndex:0,onKeyDown:y},w),f,g&&a.default.createElement(c.Checkboard,{borderRadius:b.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,u.handleFocus)(p)},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(2),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,u,c;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=u=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),u.state={focus:!1},u.handleFocus=function(){return u.setState({focus:!0})},u.handleBlur=function(){return u.setState({focus:!1})},u.render=function(){return l.default.createElement(t,{onFocus:u.handleFocus,onBlur:u.handleBlur},l.default.createElement(e,a({},u.props,u.state)))},c=i,o(u,c)}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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(67),u=r(l),c=n(21),p=n(529),f=r(p),d=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,p="transparent"===r,d=function(e,n){u.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:p?"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},p&&i.default.createElement(c.Checkboard,{borderRadius:"6px 6px 0 0"}),i.default.createElement("div",{style:h.label},r)),i.default.createElement("div",{style:h.body},i.default.createElement(f.default,{colors:o,onClick:d,onSwatchHover:n}),i.default.createElement(c.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,c.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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(21),p=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,u.default)(t,function(e){return i.default.createElement(c.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=p},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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(400),p=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}(c),f=n(21),d=n(531),h=r(d),m=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,o=e.colors,a=e.hex,l=e.circleSize,c=e.circleSpacing,p=(0,s.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-c,marginBottom:-c}}}),f=function(e,t){return n({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:p.card,className:"circle-picker"},(0,u.default)(o,function(e){return i.default.createElement(h.default,{key:e,color:e,onClick:f,onSwatchHover:r,active:a===e.toLowerCase(),circleSize:l,circleSpacing:c})}))};m.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[p.red[500],p.pink[500],p.purple[500],p.deepPurple[500],p.indigo[500],p.blue[500],p.lightBlue[500],p.cyan[500],p.teal[500],p.green[500],p.lightGreen[500],p.lime[500],p.yellow[500],p.amber[500],p.orange[500],p.deepOrange[500],p.brown[500],p.blueGrey[500]]},t.default=(0,f.ColorWrap)(m)},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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,o=e.hover,a=e.active,u=e.circleSize,c=e.circleSpacing,p=(0,s.default)({default:{swatch:{width:u,height:u,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+u/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:p.swatch},i.default.createElement(l.Swatch,{style:p.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:p.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(u)},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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=n(533),c=r(u),p=n(534),f=r(p),d=n(535),h=r(d),m=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,o=e.hsl,a=e.hsv,u=e.hex,p=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:p}))),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:f.default,onChange:t})),i.default.createElement("div",{style:d.alpha},i.default.createElement(l.Alpha,{style:d.Alpha,rgb:r,hsl:o,pointer:f.default,renderers:p,onChange:t})))),i.default.createElement(c.default,{rgb:r,hsl:o,hex:u,onChange:t,disableAlpha:n})))};t.default=(0,l.ColorWrap)(m)},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(2),u=r(l),c=n(9),p=r(c),f=n(67),d=r(f),h=n(21),m=t.ChromeFields=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];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,p.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=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.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=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.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=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),u.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,u.default.createElement("div",{style:t.toggle},u.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},u.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},u.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"}),u.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}(u.default.Component);t.default=m},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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(67),p=r(c),f=n(251),d=n(21),h=n(542),m=r(h),g=n(543),b=r(g),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"}}}),c=function(e,n){e.hex?p.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i.default.createElement(f.Raised,{style:l.Compact},i.default.createElement("div",{style:l.compact,className:"compact-picker"},i.default.createElement("div",null,(0,u.default)(r,function(e){return i.default.createElement(m.default,{key:e,color:e,active:e.toLowerCase()===o,onClick:c,onSwatchHover:n})}),i.default.createElement("div",{style:l.clear})),i.default.createElement(b.default,{hex:o,rgb:a,onChange:c})))};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(2),u=r(l),c=n(112),p=r(c),f=n(9),d=r(f),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 u.default.createElement("div",{style:e.wrap},u.default.createElement("div",{style:e.bg}),u.default.createElement("div",{style:e.content},this.props.children))}}]),t}(u.default.Component);h.propTypes={background:p.default.string,zDepth:p.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:p.default.oneOfType([p.default.string,p.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}}(),u=n(2),c=r(u),p=n(9),f=r(p),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,f.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 c.default.createElement("div",{style:e.tile,className:"flexbox-fix"},c.default.createElement("div",{style:e.primary,className:"flexbox-fix"},c.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},n),c.default.createElement("div",{style:e.content,key:"content-#{ content }"},r)))}}]),t}(c.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(2),u=r(l),c=n(9),p=r(c),f=n(57),d=r(f),h=n(540),m=r(h),g=n(541),b=r(g),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,p.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(u.default.createElement("div",{style:e.tab,ref:"tab-"+n,key:n},u.default.createElement(b.default,{onClick:o,callbackValue:i,newTab:a},u.default.createElement(m.default,{style:e.Tab,tab:n,selected:this.state.selectedTab===n,selectable:s.selectable,onClick:this.handleClick},r))))}return u.default.createElement("div",{style:e.tabs,ref:"tabs"},u.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),u.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}(u.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(2),u=r(l),c=n(112),p=r(c),f=n(9),d=r(f),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 u.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}(u.default.Component);h.propTypes={selected:p.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(2),u=r(l),c=n(57),p=r(c),f=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,p.default)(this.props.onClick)?u.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):u.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}(u.default.Component);f.defaultProps={newTab:!1},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.CompactColor=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=t.CompactColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.active,u=(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:u.color,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:u.dot}))};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.CompactFields=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=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=u},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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(21),p=n(545),f=r(p),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}),c=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,u.default)(n,function(e){return i.default.createElement(f.default,{color:e,key:e,onClick:c,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,c.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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=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)"},u=(0,s.default)({default:{swatch:{width:"25px",height:"25px"}},hover:{swatch:a}},{hover:t});return i.default.createElement("div",{style:u.swatch},i.default.createElement(l.Swatch,{color:n,onClick:r,onHover:o,focusStyle:a}))};t.default=(0,a.handleHover)(u)},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(2),a=r(i),s=n(9),l=r(s),u=n(21),c=n(547),p=r(c),f=t.HuePicker=function(e){var t=e.width,n=e.height,r=e.onChange,i=e.hsl,s=e.direction,c=e.pointer,p=(0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}}),f=function(e){return r({a:1,h:e.h,l:.5,s:1})};return a.default.createElement("div",{style:p.picker,className:"hue-picker"},a.default.createElement(u.Hue,o({},p.hue,{hsl:i,pointer:c,onChange:f,direction:s})))};f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:p.default},t.default=(0,u.ColorWrap)(f)},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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(67),u=r(l),c=n(251),p=n(21),f=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?u.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(c.Raised,null,i.default.createElement("div",{style:o.material,className:"material-picker"},i.default.createElement(p.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(p.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(p.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(p.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:a})))))};t.default=(0,p.ColorWrap)(f)},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(2),u=r(l),c=n(9),p=r(c),f=n(21),d=n(550),h=r(d),m=n(551),g=r(m),b=n(552),v=r(b),y=n(553),_=r(y),w=n(554),x=r(w),E=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,p.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 u.default.createElement("div",{style:e.picker,className:"photoshop-picker"},u.default.createElement("div",{style:e.head},this.props.header),u.default.createElement("div",{style:e.body,className:"flexbox-fix"},u.default.createElement("div",{style:e.saturation},u.default.createElement(f.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:g.default,onChange:this.props.onChange})),u.default.createElement("div",{style:e.hue},u.default.createElement(f.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:v.default,onChange:this.props.onChange})),u.default.createElement("div",{style:e.controls},u.default.createElement("div",{style:e.top,className:"flexbox-fix"},u.default.createElement("div",{style:e.previews},u.default.createElement(x.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),u.default.createElement("div",{style:e.actions},u.default.createElement(_.default,{label:"OK",onClick:this.props.onAccept,active:!0}),u.default.createElement(_.default,{label:"Cancel",onClick:this.props.onCancel}),u.default.createElement(h.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(u.default.Component);E.defaultProps={header:"Color Picker"},t.default=(0,f.ColorWrap)(E)},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(2),i=r(o),a=n(9),s=r(a),l=n(67),u=r(l),c=n(21),p=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["#"]?u.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(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),i.default.createElement(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:l}),i.default.createElement(c.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(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:l}),i.default.createElement(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:l}),i.default.createElement(c.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(c.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=p},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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=n(556),c=r(u),p=n(557),f=r(p),d=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,u=e.onChange,p=e.onSwatchHover,d=e.disableAlpha,h=e.presetColors,m=e.renderers,g=(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:g.picker,className:"sketch-picker"},i.default.createElement("div",{style:g.saturation},i.default.createElement(l.Saturation,{style:g.Saturation,hsl:a,hsv:o,onChange:u})),i.default.createElement("div",{style:g.controls,className:"flexbox-fix"},i.default.createElement("div",{style:g.sliders},i.default.createElement("div",{style:g.hue},i.default.createElement(l.Hue,{style:g.Hue,hsl:a,onChange:u})),i.default.createElement("div",{style:g.alpha},i.default.createElement(l.Alpha,{style:g.Alpha,rgb:n,hsl:a,renderers:m,onChange:u}))),i.default.createElement("div",{style:g.color},i.default.createElement(l.Checkboard,null),i.default.createElement("div",{style:g.activeColor}))),i.default.createElement(c.default,{rgb:n,hsl:a,hex:r,onChange:u,disableAlpha:d}),i.default.createElement(f.default,{colors:h,onClick:u,onSwatchHover:p}))};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(2),i=r(o),a=n(9),s=r(a),l=n(67),u=r(l),c=n(21),p=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}),p=function(e,o){e.hex?u.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(c.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:p})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.alpha},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:p,dragLabel:"true",dragMax:"100"})))};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.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(2),a=r(i),s=n(112),l=r(s),u=n(9),c=r(u),p=n(21),f=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,i=e.onSwatchHover,s=(0,c.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(p.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}})))}))};f.propTypes={colors:l.default.arrayOf(l.default.oneOfType([l.default.string,l.default.shape({color:l.default.string,title:l.default.string})]))},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.Slider=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=n(559),c=r(u),p=n(561),f=r(p),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(c.default,{hsl:t,onClick:n})))};d.defaultProps={pointer:f.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(2),i=r(o),a=n(9),s=r(a),l=n(560),u=r(l),c=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(u.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(u.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(u.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(u.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(u.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=c},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(2),i=r(o),a=n(9),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,u=e.last,c=(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:u}),p=function(e){return o({h:t.h,s:.5,l:n,source:"hsl"},e)};return i.default.createElement("div",{style:c.swatch,onClick:p})};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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(67),p=r(c),f=n(400),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}(f),h=n(21),m=n(251),g=n(563),b=r(g),v=t.Swatches=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.onSwatchHover,a=e.colors,l=e.hex,c=(0,s.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),f=function(e,t){p.default.isValidHex(e)&&r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:c.picker,className:"swatches-picker"},i.default.createElement(m.Raised,null,i.default.createElement("div",{style:c.overflow},i.default.createElement("div",{style:c.body},(0,u.default)(a,function(e){return i.default.createElement(b.default,{key:e.toString(),group:e,active:l,onClick:f,onSwatchHover:o})}),i.default.createElement("div",{style:c.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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(564),p=r(c),f=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,u.default)(r,function(e,a){return i.default.createElement(p.default,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===r.length-1,onClick:t,onSwatchHover:n})}))};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.SwatchesColor=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.first,u=e.last,c=e.active,p=(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:u,active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{color:t,style:p.color,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:p.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=u},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(2),i=r(o),a=n(9),s=r(a),l=n(47),u=r(l),c=n(67),p=r(c),f=n(21),d=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,c=(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){p.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return i.default.createElement("div",{style:c.card,className:"twitter-picker"},i.default.createElement("div",{style:c.triangleShadow}),i.default.createElement("div",{style:c.triangle}),i.default.createElement("div",{style:c.body},(0,u.default)(o,function(e,t){return i.default.createElement(f.Swatch,{key:t,color:e,hex:e,style:c.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:c.hash},"#"),i.default.createElement(f.EditableInput,{style:{input:c.input},value:r.replace("#",""),onChange:d}),i.default.createElement("div",{style:c.clear})))};d.defaultProps={width:"276px",colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,f.ColorWrap)(d)},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(0),a=(n.n(i),n(37)),s=(n.n(a),n(569)),l=(n.n(s),n(570)),u=(n.n(l),n(16)),c=n(571),p=u.q.attr,f=u.q.children;Object(u.m)("core/image",{title:Object(i.__)("Image"),icon:"format-image",category:"common",keywords:[Object(i.__)("photo")],attributes:{url:{type:"string",source:p("img","src")},alt:{type:"string",source:p("img","alt")},caption:{type:"array",source:f("figcaption")},href:{type:"string",source:p("a","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(u.a)("core/image",{id:e.id,url:e.source_url})})}}]},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:c.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,u=t.height,c=l||u?{width:l,height:u}:{},p=l?{width:l}:{},f=wp.element.createElement("img",o()({src:n,alt:r},c));return wp.element.createElement("figure",{className:a?"align"+a:null,style:p},s?wp.element.createElement("a",{href:s},f):f,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(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(75),g=n.n(m),b=n(54),v=n.n(b),y=n(47),_=n.n(y),w=n(173),x=n.n(w),E=n(572),k=n.n(E),O=n(15),C=n.n(O),S=n(586),j=n(0),T=(n.n(j),n(3)),A=(n.n(T),n(37)),P=(n.n(A),n(1)),N=(n.n(P),n(238)),R=n(31),L=n(114),M=n(17),D=n(247),B=n(246),I=n(26),F=n(41),z=n(18),q=n(403),H=n(588),U=function(e){function t(){l()(this,t);var e=f()(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),c()(t,[{key:"onSelectImage",value:function(e){this.props.setAttributes({url:e.url,alt:e.alt,caption:e.caption,id:e.id})}},{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,u=t.alt,c=t.caption,p=t.align,f=t.id,d=t.href,h=t.width,m=t.height,g=this.getAvailableSizes(),b=h?{width:h}:{},v=-1===["wide","full"].indexOf(p),y={isLarge:!0},w=function(e){return Object(A.mediaUpload)(e.target.files,n)},E=function(e){return Object(A.mediaUpload)(e,n)},O=r&&wp.element.createElement(I.a,{key:"controls"},wp.element.createElement(F.a,{value:p,onChange:this.updateAlignment}),wp.element.createElement(P.Toolbar,null,wp.element.createElement(L.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(j.__)("Edit image")},onSelect:this.onSelectImage,type:"image",value:f},wp.element.createElement(P.Dashicon,{icon:"edit"})),wp.element.createElement(q.a,{onChange:this.onSetHref,url:d})));if(!l)return[O,wp.element.createElement(P.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(P.DropZone,{onFilesDrop:E}),wp.element.createElement(P.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:w,accept:"image/*"},Object(j.__)("Upload")),wp.element.createElement(L.a,{buttonProps:y,onSelect:this.onSelectImage,type:"image"},Object(j.__)("Insert from Media Library")))];var T=function(e){return i(o()({editable:"caption"},e))},N=C()(a,{"is-transient":0===l.indexOf("blob:"),"is-resized":!!h,"is-focused":!!r});return[O,r&&wp.element.createElement(M.a,{key:"inspector"},wp.element.createElement(z.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(D.a,{label:Object(j.__)("Alternate Text"),value:u,onChange:this.updateAlt}),!x()(g)&&wp.element.createElement(B.a,{label:Object(j.__)("Size"),value:l,options:_()(g,function(e,t){return{value:e.source_url,label:k()(t)}}),onChange:this.updateImageURL})),wp.element.createElement("figure",{key:"image",className:N,style:b},wp.element.createElement(H.a,{src:l,dirtynessTrigger:p},function(e){var t=e.imageWidthWithinContainer,r=e.imageHeightWithinContainer,o=e.imageWidth,a=e.imageHeight,c=wp.element.createElement("img",{src:l,alt:u,onClick:i});if(!v||!t)return c;var p=h||t,f=m||r,d=o/a,g=o<a?10:10*d,b=a<o?10:10/d;return wp.element.createElement(S.a,{size:{width:p,height:f},minWidth:g,maxWidth:s.maxWidth,minHeight:b,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:p+o.width,height:f+o.height})}},c)}),c&&c.length>0||r?wp.element.createElement(R.a,{tagName:"figcaption",placeholder:Object(j.__)("Write caption…"),value:c,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=g()([Object(N.a)(),Object(P.withAPIData)(function(e){var t=e.attributes.id;return t?{image:"/wp/v2/media/"+t}:{}})])(U)},function(e,t,n){var r=n(573),o=n(580),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(109),i=n(574),a=n(576),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(575),i=n(62),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(401),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(577),i=n(578),a=n(62),s=n(579);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(m)||[]}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]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:"+i+"|"+a+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,l].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*",d="[\\ufe0e\\ufe0f]?"+p+f,h="(?:"+["[\\u2700-\\u27bf]",s,l].join("|")+")"+d,m=RegExp([u+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,u,"$"].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,u+c,"$"].join("|")+")",u+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?: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(581),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(582),i=n(270),a=n(583),s=n(62);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(180);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(584),i=n(270),a=n(585);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(p)||[]}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+")*",u="[\\ufe0e\\ufe0f]?"+s+l,c="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",p=RegExp(o+"(?="+o+")|"+c+u,"g");e.exports=n},function(e,t,n){"use strict";var r=n(2),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},u={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"}},c=function(e){return Object(r.createElement)("div",{className:e.className,style:a({},u.base,u[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},p={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},f={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},m=function(e){return e.toString().endsWith("px")?e.toString():e.toString().endsWith("%")?e.toString():e+"px"},g=0,b=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],v=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"+g,g+=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 b.includes(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,u=this.props,c=u.maxWidth,p=u.maxHeight,f=u.minWidth,m=u.minHeight,g=this.getParentSize();if(c&&"string"==typeof c&&c.endsWith("%")){var b=Number(c.replace("%",""))/100;c=g.width*b}if(p&&"string"==typeof p&&p.endsWith("%")){var v=Number(p.replace("%",""))/100;p=g.height*v}if(f&&"string"==typeof f&&f.endsWith("%")){var y=Number(f.replace("%",""))/100;f=g.width*y}if(m&&"string"==typeof m&&m.endsWith("%")){var _=Number(m.replace("%",""))/100;m=g.height*_}c=void 0===c?void 0:Number(c),p=void 0===p?void 0:Number(p),f=void 0===f?void 0:Number(f),m=void 0===m?void 0:Number(m);var w=i.height/i.width,x=i.width,E=i.height;if(/right/i.test(o)&&(x=i.width+(t-i.x),l&&(E=x*w)),/left/i.test(o)&&(x=i.width-(t-i.x),l&&(E=x*w)),/bottom/i.test(o)&&(E=i.height+(n-i.y),l&&(x=E/w)),/top/i.test(o)&&(E=i.height-(n-i.y),l&&(x=E/w)),"parent"===this.props.bounds){var k=this.parentNode;if(k instanceof HTMLElement){var O=k.getBoundingClientRect(),C=O.left,S=O.top,j=this.resizable.getBoundingClientRect(),T=j.left,A=j.top,P=k.offsetWidth+(C-T),N=k.offsetHeight+(S-A);c=c&&c<P?c:P,p=p&&p<N?p:N}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var R=this.resizable.getBoundingClientRect(),L=R.left,M=R.top,D=window.innerWidth-L,B=window.innerHeight-M;c=c&&c<D?c:D,p=p&&p<B?p:B}}else if(this.props.bounds instanceof HTMLElement){var I=this.props.bounds.getBoundingClientRect(),F=I.left,z=I.top,q=this.resizable.getBoundingClientRect(),H=q.left,U=q.top;if(!(this.props.bounds instanceof HTMLElement))return;var K=this.props.bounds.offsetWidth+(F-H),V=this.props.bounds.offsetHeight+(z-U);c=c&&c<K?c:K,p=p&&p<V?p:V}var W=void 0===f||f<10?10:f,G=void 0===c||c<0?x:c,$=void 0===m||m<10?10:m,X=void 0===p||p<0?E:p;if(l){var Y=W>$/w?W:$/w,Z=G<X/w?G:X/w,Q=$>W*w?$:W*w,J=X<G*w?X:G*w;x=d(x,Y,Z),E=d(E,Q,J)}else x=d(x,W,G),E=d(E,$,X);this.props.grid&&(x=h(x,this.props.grid[0])),this.props.grid&&(E=h(E,this.props.grid[1]));var ee={width:x-i.width,height:E-i.height};if(a&&"string"==typeof a&&a.endsWith("%")){x=x/g.width*100+"%"}if(s&&"string"==typeof s&&s.endsWith("%")){E=E/g.height*100+"%"}this.setState({width:"auto"!==a||void 0===this.props.width?x:"auto",height:"auto"!==s||void 0===this.props.height?E:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,ee)}}},{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)(c,{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?p:f;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]&&e.propsSize[t].toString().endsWith("%")){if(e.state[t].toString().endsWith("%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return m(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?m(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?m(t.height):n("height")}}}]),t}(r.Component);v.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=v},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(30),h=n.n(d),m=n(154),g=function(e){function t(){a()(this,t);var e=c()(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 f()(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}(m.Component);t.a=g},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(590)),i=(n.n(o),n(591)),a=(n.n(i),n(16)),s=n(404),l=n(592),u=a.q.query,c=a.q.attr;Object(a.m)("core/gallery",{title:Object(r.__)("Gallery"),icon:"format-gallery",category:"common",keywords:[Object(r.__)("images"),Object(r.__)("photos")],attributes:{align:{type:"string",default:"none"},images:{type:"array",default:[],source:u("div.wp-block-gallery figure.blocks-gallery-image img",{url:c("src"),alt:c("alt"),id:c("data-id")})},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{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:l.a,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Object(l.b)(t):r,i=t.align,a=t.imageCrop,u=t.linkTo;return wp.element.createElement("div",{className:"align"+i+" columns-"+o+" "+(a?"is-cropped":"")},n.map(function(e){return wp.element.createElement(s.a,{key:e.url,img:e,linkTo:u})}))}})},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(4),i=n.n(o),a=n(5),s=n.n(a),l=n(6),u=n.n(l),c=n(7),p=n.n(c),f=n(8),d=n.n(f),h=n(126),m=n.n(h),g=n(3),b=(n.n(g),n(0)),v=(n.n(b),n(37)),y=(n.n(v),n(1)),_=(n.n(y),n(114)),w=n(17),x=n(113),E=n(66),k=n(246),O=n(26),C=n(41),S=n(404),j=n(18),T=[{value:"attachment",label:Object(b.__)("Attachment Page")},{value:"media",label:Object(b.__)("Media File")},{value:"none",label:Object(b.__)("None")}],A=function(e){function t(){s()(this,t);var e=p()(this,(t.__proto__||i()(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.state={selectedImage:null},e}return d()(t,e),u()(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(){t.props.setAttributes({images:m()(t.props.attributes.images,function(t,n){return e!==n})})}}},{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(v.mediaUpload)(e.target.files,this.props.setAttributes,!0)}},{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,u=n.align,c=n.imageCrop,p=n.linkTo,f=wp.element.createElement(j.a,null,wp.element.createElement("p",null,Object(b.__)("Image galleries are a great way to share groups of pictures on your site."))),d=o&&wp.element.createElement(w.a,{key:"inspector"},f),h=o&&wp.element.createElement(O.a,{key:"controls"},wp.element.createElement(C.a,{value:u,onChange:this.updateAlignment}),!!a.length&&wp.element.createElement(y.Toolbar,null,wp.element.createElement(_.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(b.__)("Edit Gallery")},onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:a.map(function(e){return e.id})},wp.element.createElement(y.Dashicon,{icon:"edit"}))));if(0===a.length){var m={isLarge:!0};return[h,d,wp.element.createElement(y.Placeholder,{key:"placeholder",instructions:Object(b.__)("Drag images here or insert from media library"),icon:"format-gallery",label:Object(b.__)("Gallery"),className:i},wp.element.createElement(y.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:this.uploadFromFiles,accept:"image/*",multiple:"true"},Object(b.__)("Upload")),wp.element.createElement(_.a,{buttonProps:m,onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0},Object(b.__)("Insert from Media Library")))]}return[h,o&&a.length>1&&wp.element.createElement(w.a,{key:"inspector"},f,wp.element.createElement("h3",null,Object(b.__)("Gallery Settings")),wp.element.createElement(x.a,{label:Object(b.__)("Columns"),value:l,onChange:this.setColumnsNumber,min:1,max:Math.min(8,a.length)}),wp.element.createElement(E.a,{label:Object(b.__)("Crop Images"),checked:!!c,onChange:this.toggleImageCrop}),wp.element.createElement(k.a,{label:Object(b.__)("Link to"),value:p,onChange:this.setLinkTo,options:T})),wp.element.createElement("div",{key:"gallery",className:i+" align"+u+" columns-"+l+" "+(c?"is-cropped":"")},a.map(function(t,n){return wp.element.createElement(S.a,{key:t.url,img:t,isSelected:e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onClick:e.onSelectImage(n)})}))]}}]),t}(g.Component);t.a=A},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(3)),i=(n.n(o),n(1)),a=(n.n(i),n(594)),s=(n.n(a),n(16)),l=n(31),u=n(26),c=n(17),p=n(174),f=n(18),d=s.q.children,h=s.q.prop;Object(s.m)("core/heading",{title:Object(r.__)("Heading"),icon:"heading",category:"common",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],className:!1,supportAnchor:!0,attributes:{content:{type:"array",source:d("h1,h2,h3,h4,h5,h6")},nodeName:{type:"string",source:h("h1,h2,h3,h4,h5,h6","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,m=t.align,g=t.content,b=t.nodeName,v=t.placeholder;return[o&&wp.element.createElement(u.a,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===b,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),o&&wp.element.createElement(c.a,{key:"inspector"},wp.element.createElement(f.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===b,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(r.__)("Text Alignment")),wp.element.createElement(p.a,{value:m,onChange:function(e){n({align:e})}})),wp.element.createElement(l.a,{key:"editable",tagName:b.toLowerCase(),value:g,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:m},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(10),o=n.n(r),i=n(34),a=n.n(i),s=n(23),l=n.n(s),u=n(57),c=n.n(u),p=n(0),f=(n.n(p),n(1)),d=(n.n(f),n(596)),h=(n.n(d),n(597)),m=(n.n(h),n(16)),g=n(174),b=n(26),v=n(31),y=n(17),_=n(18),w=m.q.children,x=m.q.node,E=m.q.query;Object(m.m)("core/quote",{title:Object(p.__)("Quote"),icon:"format-quote",category:"common",attributes:{value:{type:"array",source:E("blockquote > p",x()),default:[]},citation:{type:"array",source:w("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(m.a)("core/quote",{value:[wp.element.createElement("p",{key:"1"},t)]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[wp.element.createElement("p",{key:"1"},t)]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[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(m.a)("core/paragraph",{content:n});var s=c()(i)?i:i.props.children;if(Array.isArray(t)||n){return[Object(m.a)("core/paragraph",{content:s}),Object(m.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):""}))]}return Object(m.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=Array.isArray(t)&&l()(t[0])&&"p"===t[0].type,s=i?t[0]:t,u=l()(s)&&"p"===t[0].type?s.props.children:s;if(i||n){return[Object(m.a)("core/heading",{content:u}),Object(m.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):""}))]}return Object(m.a)("core/heading",{content:u})}}]},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,u=t.value,c=t.citation,d=t.style,h=r?r.editable||"value":null;return[r&&wp.element.createElement(b.a,{key:"controls"},wp.element.createElement(f.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(p.sprintf)(Object(p.__)("Quote style %d"),e),isActive:Number(d)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(g.a,{value:l,onChange:function(e){n({align:e})}})),r&&wp.element.createElement(y.a,{key:"inspector"},wp.element.createElement(_.a,null,wp.element.createElement("p",null,Object(p.__)("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(v.a,{multiline:"p",value:u,onChange:function(e){return n({value:e})},focus:"value"===h?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},onMerge:a,style:{textAlign:l},placeholder:Object(p.__)("Write quote…")}),(c&&c.length>0||!!r)&&wp.element.createElement(v.a,{tagName:"footer",value:c,placeholder:Object(p.__)("Write citation…"),onChange:function(e){return n({citation:e})},focus:"citation"===h?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.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:T("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=p()(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),u()(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,u=s.url,c=s.caption,p=this.props,f=p.setAttributes,d=p.focus,h=p.setFocus,v=function(e){return f({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(b.__)("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(b.__)("Embedding…")))];if(!r){var w=Object(b.sprintf)(Object(b.__)("%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:u||"",className:"components-placeholder__input","aria-label":w,placeholder:Object(b.__)("Enter URL to embed here…"),onChange:function(e){return f({url:e.target.value})}}),wp.element.createElement(y.Button,{isLarge:!0,type:"submit"},Object(b.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(b.__)("Sorry, we could not embed that content."))))]}var x=Object(g.parse)(u),E=m()(A,x.host.replace(/^www\./,"")),T=Object(b.sprintf)(Object(b.__)("Embedded content from %s"),x.host),P="wp-block-embed";return"video"===o&&(P+=" is-video"),[_,wp.element.createElement("figure",{key:"embed",className:P},E?wp.element.createElement(y.Placeholder,{icon:n,label:Object(b.__)("Embed URL")},wp.element.createElement("p",{className:"components-placeholder__error"},wp.element.createElement("a",{href:u},u)),wp.element.createElement("p",{className:"components-placeholder__error"},Object(b.__)("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:T,type:o})),c&&c.length>0||d?wp.element.createElement(k.a,{tagName:"figcaption",placeholder:Object(b.__)("Write caption…"),value:c,focus:d,onFocus:h,onChange:function(e){return f({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(4),i=n.n(o),a=n(5),s=n.n(a),l=n(6),u=n.n(l),c=n(7),p=n.n(c),f=n(8),d=n.n(f),h=n(170),m=n.n(h),g=n(380),b=(n.n(g),n(0)),v=(n.n(b),n(3)),y=(n.n(v),n(1)),_=(n.n(y),n(245)),w=n(599),x=(n.n(w),n(600)),E=(n.n(x),n(16)),k=n(31),O=n(26),C=n(41),S=n(17),j=n(18),T=E.q.children,A=["facebook.com"];Object(E.m)("core/embed",r({title:Object(b.__)("Embed"),icon:"embed-generic",transforms:{from:[{type:"pattern",trigger:"paste",regExp:/^\s*(https?:\/\/\S+)\s*/i,transform:function(e){var t=e.match;return Object(E.a)("core/embed",{url:t[1]})}}]}})),Object(E.m)("core-embed/twitter",r({title:"Twitter",icon:"embed-post",keywords:[Object(b.__)("tweet")]})),Object(E.m)("core-embed/youtube",r({title:"YouTube",icon:"embed-video",keywords:[Object(b.__)("music"),Object(b.__)("video")]})),Object(E.m)("core-embed/facebook",r({title:"Facebook",icon:"embed-post"})),Object(E.m)("core-embed/instagram",r({title:"Instagram",icon:"embed-photo",keywords:[Object(b.__)("image")]})),Object(E.m)("core-embed/wordpress",r({title:"WordPress",icon:"embed-post",keywords:[Object(b.__)("post"),Object(b.__)("blog")]})),Object(E.m)("core-embed/soundcloud",r({title:"SoundCloud",icon:"embed-audio",keywords:[Object(b.__)("music"),Object(b.__)("audio")]})),Object(E.m)("core-embed/spotify",r({title:"Spotify",icon:"embed-audio",keywords:[Object(b.__)("music"),Object(b.__)("audio")]})),Object(E.m)("core-embed/flickr",r({title:"Flickr",icon:"embed-photo",keywords:[Object(b.__)("image")]})),Object(E.m)("core-embed/vimeo",r({title:"Vimeo",icon:"embed-video",keywords:[Object(b.__)("video")]})),Object(E.m)("core-embed/animoto",r({title:"Animoto",icon:"embed-video"})),Object(E.m)("core-embed/cloudup",r({title:"Cloudup",icon:"embed-post"})),Object(E.m)("core-embed/collegehumor",r({title:"CollegeHumor",icon:"embed-video"})),Object(E.m)("core-embed/dailymotion",r({title:"Dailymotion",icon:"embed-video"})),Object(E.m)("core-embed/funnyordie",r({title:"Funny or Die",icon:"embed-video"})),Object(E.m)("core-embed/hulu",r({title:"Hulu",icon:"embed-video"})),Object(E.m)("core-embed/imgur",r({title:"Imgur",icon:"embed-photo"})),Object(E.m)("core-embed/issuu",r({title:"Issuu",icon:"embed-post"})),Object(E.m)("core-embed/kickstarter",r({title:"Kickstarter",icon:"embed-post"})),Object(E.m)("core-embed/meetup-com",r({title:"Meetup.com",icon:"embed-post"})),Object(E.m)("core-embed/mixcloud",r({title:"Mixcloud",icon:"embed-audio",keywords:[Object(b.__)("music"),Object(b.__)("audio")]})),Object(E.m)("core-embed/photobucket",r({title:"Photobucket",icon:"embed-photo"})),Object(E.m)("core-embed/polldaddy",r({title:"Polldaddy",icon:"embed-post"})),Object(E.m)("core-embed/reddit",r({title:"Reddit",icon:"embed-post"})),Object(E.m)("core-embed/reverbnation",r({title:"ReverbNation",icon:"embed-audio"})),Object(E.m)("core-embed/screencast",r({title:"Screencast",icon:"embed-video"})),Object(E.m)("core-embed/scribd",r({title:"Scribd",icon:"embed-post"})),Object(E.m)("core-embed/slideshare",r({title:"Slideshare",icon:"embed-post"})),Object(E.m)("core-embed/smugmug",r({title:"SmugMug",icon:"embed-photo"})),Object(E.m)("core-embed/speaker",r({title:"Speaker",icon:"embed-audio"})),Object(E.m)("core-embed/ted",r({title:"TED",icon:"embed-video"})),Object(E.m)("core-embed/tumblr",r({title:"Tumblr",icon:"embed-post"})),Object(E.m)("core-embed/videopress",r({title:"VideoPress",icon:"embed-video",keywords:[Object(b.__)("video")]})),Object(E.m)("core-embed/vine",r({title:"Vine",icon:"embed-video"})),Object(E.m)("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(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(36),h=n.n(d),m=n(10),g=n.n(m),b=n(56),v=n.n(b),y=n(3),_=(n.n(y),n(0)),w=(n.n(_),n(602)),x=(n.n(w),n(16)),E=n(31),k=n(26),O=n(17),C=n(18),S=x.q.children,j=x.q.prop,T=function(e){if(void 0===e)return e;var t=[];return t.push(Object(y.createElement)("li",[],[])),e.forEach(function(e,n,r){"br"===e.type&&n<r.length-1?t.push(Object(y.createElement)("li",[],[])):t[t.length-1].props.children.push(e)}),t},A=function e(t){if(void 0===t)return t;var n=[];return t.forEach(function(t,r,o){if("string"==typeof t)return void n.push(t);y.Children.toArray(t.props.children).forEach(function(t,i,a){"ul"===t.type||"ol"===t.type?(n.push(Object(y.createElement)("br")),n.push.apply(n,e(y.Children.toArray(t.props.children))),r!==o.length-1&&n.push(Object(y.createElement)("br"))):(n.push(t),i===a.length-1&&r!==o.length-1&&n.push(Object(y.createElement)("br")))})}),n};Object(x.m)("core/list",{title:Object(_.__)("List"),icon:"editor-ul",category:"common",keywords:[Object(_.__)("bullet list"),Object(_.__)("ordered list"),Object(_.__)("numbered list")],attributes:{nodeName:{type:"string",source:j("ol,ul","nodeName"),default:"UL"},values:{type:"array",source:S("ol,ul"),default:[]}},className:!1,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(x.a)("core/list",{nodeName:"UL",values:T(t)})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation,r=T(t),o=n?Object(y.concatChildren)(r,wp.element.createElement("li",null,n)):r;return Object(x.a)("core/list",{nodeName:"UL",values:o})}},{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(x.a)("core/list",{nodeName:"UL",values:T(t)})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return Object(x.a)("core/list",{nodeName:"OL",values:T(t)})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(x.a)("core/paragraph",{content:A(t)})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(x.a)("core/quote",{value:[wp.element.createElement("p",{key:"list"},A(t))]})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),g()({},e,{values:[].concat(h()(e.values),h()(n))})},edit:function(e){function t(){a()(this,t);var e=c()(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 f()(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=v()(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 g()({},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(k.a,{key:"controls",controls:[{icon:"editor-ul",title:Object(_.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(_.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(_.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(_.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),n&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement(C.a,null,wp.element.createElement("p",null,Object(_.__)("List. Numbered or bulleted."))),wp.element.createElement("p",null,Object(_.__)("No advanced options."))),wp.element.createElement(E.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(_.__)("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(x.a)("core/paragraph")),t.length&&r.push(Object(x.a)("core/list",{nodeName:s,values:t})),i({values:e}),o(r)}})]}}]),t}(y.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(y.createElement)(n.toLowerCase(),null,r)}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(604)),i=(n.n(o),n(16)),a=n(17),s=n(18);Object(i.m)("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(606)),i=(n.n(o),n(16)),a=n(17),s=n(18),l=n(66);Object(i.m)("core/more",{title:Object(r.__)("More"),icon:"editor-insertmore",category:"layout",useOnce:!0,className:!1,supportHTML:!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,u=t.customText,c=t.noTeaser,p=function(){return n({noTeaser:!c})},f=Object(r.__)("Read more"),d=void 0!==u?u:f,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:!!c,onChange:p})),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(0),o=(n.n(r),n(1)),i=(n.n(o),n(608)),a=(n.n(i),n(609)),s=(n.n(a),n(16)),l=n(31),u=n(179),c=n(26),p=n(66),f=n(41),d=n(248),h=n(17),m=n(18),g=s.q.attr,b=s.q.children;Object(s.m)("core/button",{title:Object(r.__)("Button"),icon:"button",category:"layout",attributes:{url:{type:"string",source:g("a","href")},title:{type:"string",source:g("a","title")},text:{type:"array",source:b("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:function(e){var t=e.attributes,n=e.setAttributes,i=e.focus,a=e.setFocus,s=e.className,g=t.text,b=t.url,v=t.title,y=t.align,_=t.color,w=t.textColor,x=t.clear,E=function(e){return n({align:e})},k=function(){return n({clear:!x})};return[i&&wp.element.createElement(c.a,{key:"controls"},wp.element.createElement(f.a,{value:y,onChange:E})),wp.element.createElement("span",{key:"button",className:s,title:v,style:{backgroundColor:_}},wp.element.createElement(l.a,{tagName:"span",placeholder:Object(r.__)("Add text…"),value:g,focus:i,onFocus:a,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],style:{color:w},keepPlaceholderOnFocus:!0}),i&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(u.a,{value:b,onChange:function(e){return n({url:e})}}),wp.element.createElement(o.IconButton,{icon:"editor-break",label:Object(r.__)("Apply"),type:"submit"})),i&&wp.element.createElement(h.a,{key:"inspector"},wp.element.createElement(m.a,null,wp.element.createElement("p",null,Object(r.__)("A nice little button. Call something out with it."))),wp.element.createElement(p.a,{label:Object(r.__)("Stand on a line"),checked:!!x,onChange:k}),wp.element.createElement(o.PanelBody,{title:Object(r.__)("Button Background Color")},wp.element.createElement(d.a,{value:_,onChange:function(e){return n({color:e})}})),wp.element.createElement(o.PanelBody,{title:Object(r.__)("Button Text Color")},wp.element.createElement(d.a,{value:w,onChange:function(e){return n({textColor:e})}}))))]},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";var r=n(10),o=n.n(r),i=n(0),a=(n.n(i),n(611)),s=(n.n(a),n(612)),l=(n.n(s),n(16)),u=n(31),c=n(26),p=n(41),f=n(17),d=n(18),h=l.q.children,m=l.q.query,g=l.q.node;Object(l.m)("core/pullquote",{title:Object(i.__)("Pullquote"),icon:"format-quote",category:"formatting",attributes:{value:{type:"array",source:m("blockquote > p",g())},citation:{type:"array",source:h("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,a=e.setFocus,s=e.className,l=t.value,h=t.citation,m=t.align,g=function(e){return n({align:e})};return[r&&wp.element.createElement(f.a,{key:"inspector"},wp.element.createElement(d.a,null,wp.element.createElement("p",null,Object(i.__)("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(c.a,{key:"controls"},wp.element.createElement(p.a,{value:m,onChange:g})),wp.element.createElement("blockquote",{key:"quote",className:s},wp.element.createElement(u.a,{multiline:"p",value:l,onChange:function(e){return n({value:e})},placeholder:Object(i.__)("Write quote…"),focus:r&&"value"===r.editable?r:null,onFocus:function(e){return a(o()({},e,{editable:"value"}))},wrapperClassName:"blocks-pullquote__content"}),(h||!!r)&&wp.element.createElement(u.a,{tagName:"footer",value:h,placeholder:Object(i.__)("Write caption…"),onChange:function(e){return n({citation:e})},focus:r&&"citation"===r.editable?r:null,onFocus:function(e){return a(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.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(614)),i=(n.n(o),n(615)),a=(n.n(i),n(16)),s=n(616),l=n(26),u=n(41),c=n(17),p=n(18),f=a.q.children;Object(a.m)("core/table",{title:Object(r.__)("Table"),icon:"editor-table",category:"formatting",attributes:{content:{type:"array",source:f("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,f=t.content,d=function(e){return n({align:e})};return[o&&wp.element.createElement(c.a,{key:"inspector"},wp.element.createElement(p.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(u.a,{value:t.align,onChange:d})),wp.element.createElement(s.a,{key:"editor",onChange:function(e){n({content:e})},content:f,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(10),s=n.n(a),l=n(4),u=n.n(l),c=n(5),p=n.n(c),f=n(6),d=n.n(f),h=n(7),m=n.n(h),g=n(8),b=n.n(g),v=n(3),y=(n.n(v),n(1)),_=(n.n(y),n(0)),w=(n.n(_),n(31)),x=n(26),E=[{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")}],k=function(e){function t(){p()(this,t);var e=m()(this,(t.__proto__||u()(t)).call(this));return e.handleSetup=e.handleSetup.bind(e),e.state={editor:null},e}return b()(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:E.map(function(t){return s()({},t,{onClick:function(){return t.onClick(e.state.editor)}})})})))]}}]),t}(v.Component);t.a=k},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(618)),i=(n.n(o),n(16)),a=n(31),s=n(17),l=n(18),u=i.q.children;Object(i.m)("core/preformatted",{title:Object(r.__)("Preformatted"),icon:"text",category:"formatting",attributes:{content:{type:"array",source:u("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,u=e.className,c=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:c,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write preformatted text…"),wrapperClassName:u})]},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(156),o=n.n(r),i=n(0),a=(n.n(i),n(624)),s=(n.n(a),n(16)),l=n(17),u=n(18),c=s.q.prop;Object(s.m)("core/code",{title:Object(i.__)("Code"),icon:"editor-code",category:"formatting",attributes:{content:{type:"string",source:c("code","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(u.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,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,u,c=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},p=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}}(),f=n(2),d=r(f),h=n(112),m=r(h),g=n(621),b=r(g),v=n(622),y=r(v),_=(u=l=function(e){function t(){var e,n,r,s;i(this,t);for(var l=arguments.length,u=Array(l),p=0;p<l;p++)u[p]=arguments[p];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),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,u=n&&s?s*n:null;return c({},a,{saveDOMNodeRef:l,style:u?c({},i,{maxHeight:u}):i,onChange:r.onChange})},s=n,a(r,s)}return s(t,e),p(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows?(this.updateLineHeight(),setTimeout(function(){return(0,b.default)(e.textarea)})):(0,b.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",c({},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},u);t.default=_,_.propTypes={rows:m.default.number,maxRows:m.default.number,onResize:m.default.func,innerRef:m.default.func}},function(e,t,n){var r,o,i;/*!
8
  Autosize 3.0.21
9
  license: MIT
10
  http://www.jacklmoore.com/autosize
11
  */
12
- !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),u!==i){u=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,u=null,c=function(){e.clientWidth!==l&&o()},p=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",p,!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",p,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",c,!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:p,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="&nbsp;","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(623);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){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(156),h=n.n(d),m=n(0),g=(n.n(m),n(3)),b=(n.n(g),n(626)),v=(n.n(b),n(16)),y=n(26),_=n(17),w=n(18),x=v.q.html;Object(v.m)("core/html",{title:Object(m.__)("Custom HTML"),icon:"html",category:"formatting",keywords:[Object(m.__)("embed")],className:!1,supportHTML:!1,attributes:{content:{type:"string",source:x()}},edit:function(e){function t(){a()(this,t);var e=c()(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 f()(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(m.__)("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(m.__)("Add custom HTML code and preview it right here in the editor.")))))}}]),t}(g.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(628)),i=(n.n(o),n(16)),a=n(629),s=i.q.prop;Object(i.m)("core/freeform",{title:Object(r.__)("Classic Text"),icon:"editor-kitchensink",category:"formatting",attributes:{content:{type:"string",source:s("innerHTML")}},edit:a.a,save:function(e){return e.attributes.content}}),Object(i.p)("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(10),i=n.n(o),a=n(4),s=n.n(a),l=n(5),u=n.n(l),c=n(6),p=n.n(c),f=n(7),d=n.n(f),h=n(8),m=n.n(h),g=n(3),b=(n.n(g),n(0)),v=(n.n(b),n(37)),y=(n.n(v),n(17)),_=n(18),w=v.keycodes.BACKSPACE,x=v.keycodes.DELETE,E=function(e){function t(e){u()(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 m()(t,e),p()(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;e.attributes.content!==r&&window.tinymce.get(n).setContent(r||"")}},{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,s=window.switchEditors.wpautop(o||"");e.on("loadContent",function(){return e.setContent(s)}),e.on("blur",function(){i({content:e.getContent()})}),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(b.__)("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(){return 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(b.__)("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"}),wp.element.createElement("div",{key:"editor",id:r,className:"blocks-editable__tinymce"})]}}]),t}(g.Component);t.a=E},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(3),h=(n.n(d),n(1)),m=(n.n(h),n(0)),g=(n.n(m),n(37)),b=(n.n(g),n(157)),v=n.n(b),y=n(15),_=n.n(y),w=n(631),x=(n.n(w),n(632)),E=(n.n(x),n(16)),k=n(633),O=n(17),C=n(247),S=n(66),j=n(113),T=n(18),A=n(26),P=n(41);Object(E.m)("core/latest-posts",{title:Object(m.__)("Latest Posts"),icon:"list-view",category:"widgets",keywords:[Object(m.__)("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=c()(this,(t.__proto__||o()(t)).apply(this,arguments));e.changePostsToShow=e.changePostsToShow.bind(e);var n=e.props.attributes.postsToShow;return e.state={latestPosts:[]},e.latestPostsRequest=Object(k.a)(n),e.latestPostsRequest.then(function(t){return e.setState({latestPosts:t})}),e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return f()(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(k.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.setAttributes;if(!t.length)return wp.element.createElement(h.Placeholder,{icon:"admin-post",label:Object(m.__)("Latest Posts")},wp.element.createElement(h.Spinner,null));var r=t.length-this.props.attributes.postsToShow;r>0&&t.splice(this.props.attributes.postsToShow,r);var o=this.props.focus,i=this.props.attributes,a=i.displayPostDate,s=i.align,l=i.layout,u=i.columns,c=[{icon:"list-view",title:Object(m.__)("List View"),onClick:function(){return n({layout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(m.__)("Grid View"),onClick:function(){return n({layout:"grid"})},isActive:"grid"===l}];return[o&&wp.element.createElement(A.a,{key:"controls"},wp.element.createElement(P.a,{value:s,onChange:function(e){n({align:e})},controls:["center","wide","full"]}),wp.element.createElement(h.Toolbar,{controls:c})),o&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement(T.a,null,wp.element.createElement("p",null,Object(m.__)("Shows a list of your site's most recent posts."))),wp.element.createElement("h3",null,Object(m.__)("Latest Posts Settings")),wp.element.createElement(S.a,{label:Object(m.__)("Display post date"),checked:a,onChange:this.toggleDisplayPostDate}),"grid"===l&&wp.element.createElement(j.a,{label:Object(m.__)("Columns"),value:u,onChange:function(e){return n({columns:e})},min:2,max:Math.min(6,t.length)}),wp.element.createElement(C.a,{label:Object(m.__)("Number of posts to show"),type:"number",min:1,max:100,value:this.props.attributes.postsToShow,onChange:function(t){return e.changePostsToShow(t)}})),wp.element.createElement("ul",{className:_()(this.props.className,"columns-"+u,{"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(g.decodeEntities)(t.title.rendered.trim())||Object(m.__)("(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(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(406),h=n.n(d),m=n(407),g=n.n(m),b=n(3),v=(n.n(b),n(1)),y=(n.n(v),n(0)),_=(n.n(y),n(636)),w=(n.n(_),n(637)),x=(n.n(w),n(16)),E=n(638),k=n(17),O=n(66),C=n(18),S=n(26),j=n(41);Object(x.m)("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=c()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={categories:[]},e.categoriesRequest=Object(E.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 f()(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},g()(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(k.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}(b.Component),save:function(){return null}})},function(e,t,n){var r=n(401),o={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},i=r(o);e.exports=i},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(15)),s=n.n(a),l=n(640),u=(n.n(l),n(641)),c=(n.n(u),n(16)),p=n(31),f=n(114),d=n(26),h=n(41),m=n(17),g=n(66),b=n(113),v=n(18),y=c.q.children,_=["left","center","right","wide","full"];Object(c.m)("core/cover-image",{title:Object(i.__)("Cover Image"),icon:"format-image",category:"common",attributes:{title:{type:"array",source:y("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!==_.indexOf(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.focus,l=e.setFocus,u=e.className,c=t.url,y=t.title,_=t.align,w=t.id,x=t.hasParallax,E=t.dimRatio,k=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=c?{backgroundImage:"url("+c+")"}:void 0,T=s()(u,r(E),{"has-background-dim":0!==E,"has-parallax":x}),A=a&&[wp.element.createElement(d.a,{key:"controls"},wp.element.createElement(h.a,{value:_,onChange:k}),wp.element.createElement(o.Toolbar,null,wp.element.createElement(f.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(m.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(g.a,{label:Object(i.__)("Fixed Background"),checked:!!x,onChange:C}),wp.element.createElement(b.a,{label:Object(i.__)("Background Dimness"),value:E,onChange:S,min:0,max:100,step:10}))];if(!c){var P={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:u},wp.element.createElement(f.a,{buttonProps:P,onSelect:O,type:"image"},Object(i.__)("Insert from Media Library")))]}return[A,wp.element.createElement("section",{key:"preview","data-url":c,style:j,className:T},y||a?wp.element.createElement(p.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,u=o?{backgroundImage:"url("+o+")"}:void 0,c=s()(n,r(l),{"has-background-dim":0!==l,"has-parallax":a});return wp.element.createElement("section",{className:c,style:u},wp.element.createElement("h2",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(156),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(643)),l=(n.n(s),n(16)),u=n(17),c=n(18),p=l.q.text;Object(l.m)("core/shortcode",{title:Object(i.__)("Shortcode"),icon:"marker",category:"widgets",attributes:{text:{type:"string",source:p()}},className:!1,supportHTML:!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(u.a,null,wp.element.createElement(c.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";var r=n(36),o=n.n(r),i=n(407),a=n.n(i),s=n(0),l=(n.n(s),n(645)),u=(n.n(l),n(646)),c=(n.n(u),n(16)),p=n(26),f=n(41),d=n(113),h=n(31),m=n(17),g=n(18),b=c.q.children,v=c.q.query;Object(c.m)("core/text-columns",{title:Object(s.__)("Text Columns"),icon:"columns",category:"layout",attributes:{content:{type:"array",source:v("p",b()),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,u=t.width,c=t.content,b=t.columns;return[i&&wp.element.createElement(p.a,{key:"controls"},wp.element.createElement(f.a,{value:u,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),i&&wp.element.createElement(m.a,{key:"inspector"},wp.element.createElement(g.a,null,wp.element.createElement("p",null,Object(s.__)("Add text across columns."))),wp.element.createElement(d.a,{label:Object(s.__)("Columns"),value:b,onChange:function(e){return n({columns:e})},min:2,max:4})),wp.element.createElement("section",{className:r+" align"+u+" columns-"+b,key:"block"},a()(b,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement(h.a,{tagName:"p",value:c&&c[e],onChange:function(t){n({content:[].concat(o()(c.slice(0,e)),[t],o()(c.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]))}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(648)),i=(n.n(o),n(16)),a=n(31),s=n(17),l=n(18),u=i.q.children;Object(i.m)("core/verse",{title:Object(r.__)("Verse"),icon:"edit",category:"formatting",keywords:[Object(r.__)("poetry")],attributes:{content:{type:"array",source:u("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,u=e.className,c=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:c,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write…"),wrapperClassName:u,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(10),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(650)),l=(n.n(s),n(16)),u=n(114),c=n(31),p=n(26),f=n(41),d=n(17),h=n(18),m=l.q.attr,g=l.q.children;Object(l.m)("core/video",{title:Object(i.__)("Video"),icon:"format-video",category:"common",attributes:{align:{type:"string"},id:{type:"number"},src:{type:"string",source:m("video","src")},caption:{type:"array",source:g("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,m=t.src,g=t.caption,b=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(p.a,{key:"controls"},wp.element.createElement(f.a,{value:b,onChange:w}),wp.element.createElement(a.Toolbar,null,wp.element.createElement(u.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 m?[x,wp.element.createElement("figure",{key:"video",className:r},wp.element.createElement("video",{controls:!0,src:m,onClick:l}),g&&g.length>0||s?wp.element.createElement(c.a,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:g,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(u.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(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(0),g=(n.n(m),n(1)),b=(n.n(g),n(3)),v=(n.n(b),n(652)),y=(n.n(v),n(16)),_=n(114),w=n(31),x=n(26),E=n(41),k=n(17),O=n(18),C=y.q.attr,S=y.q.children;Object(y.m)("core/audio",{title:Object(m.__)("Audio"),icon:"format-audio",category:"common",attributes:{src:{type:"string",source:C("audio","src")},align:{type:"string"},caption:{type:"array",source:S("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=f()(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),c()(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,u=this.state,c=u.editing,p=u.className,f=u.src,d=function(e){return a({align:e})},h=function(){e.setState({editing:!0})},b=function(t){t&&t.url&&(a({src:t.url}),e.setState({src:t.url,editing:!1}))},v=function(t){return t.preventDefault(),f&&(a({src:f}),e.setState({editing:!1})),!1},y=s&&wp.element.createElement(x.a,{key:"controls"},wp.element.createElement(E.a,{value:n,onChange:d}),wp.element.createElement(g.Toolbar,null,wp.element.createElement(g.Button,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(m.__)("Edit audio")},type:"audio",onClick:h},wp.element.createElement(g.Dashicon,{icon:"edit"})))),C=s&&wp.element.createElement(k.a,{key:"inspector"},wp.element.createElement(O.a,null,wp.element.createElement("p",null,Object(m.__)("The Audio block allows you to embed audio files and play them back using a simple player.")))),S=function(e){return l(o()({editable:"caption"},e))};return c?[C,wp.element.createElement(g.Placeholder,{key:"placeholder",icon:"media-audio",label:Object(m.__)("Audio"),instructions:Object(m.__)("Select an audio file from your library, or upload a new one:"),className:p},wp.element.createElement("form",{onSubmit:v},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(m.__)("Enter URL of audio file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:f||""}),wp.element.createElement(g.Button,{isLarge:!0,type:"submit"},Object(m.__)("Use URL"))),wp.element.createElement(_.a,{buttonProps:{isLarge:!0},onSelect:b,type:"audio"},Object(m.__)("Insert from Media Library")))]:[y,C,wp.element.createElement("figure",{key:"audio",className:p},wp.element.createElement("audio",{controls:"controls",src:f}),(r&&r.length||!!s)&&wp.element.createElement(w.a,{tagName:"figcaption",placeholder:Object(m.__)("Write caption…"),value:r,focus:s&&"caption"===s.editable?s:void 0,onFocus:S,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))]}}]),t}(b.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(420),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(30),g=n.n(m),b=n(181),v=n.n(b),y=n(3),_=(n.n(y),function(e){function t(){return l()(this,t),f()(this,(t.__proto__||a()(t)).apply(this,arguments))}return h()(t,e),c()(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:g.a},t.a=_},function(e,t,n){n(655),e.exports=n(12).Object.keys},function(e,t,n){var r=n(55),o=n(53);n(175)("keys",function(){return function(e){return o(r(e))}})}]);
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=428)}([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.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t,n){e.exports={default:n(367),__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(185),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(102),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(369),i=r(o),a=n(373),s=r(a),l=n(102),u=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,u.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,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(512),i=r(o),a=n(513),s=r(a),l=n(515),u=r(l),c=n(516),p=r(c),f=n(517),d=r(f),h=n(518),m=r(h);t.hover=p.default,t.handleHover=p.default,t.handleActive=d.default,t.loop=m.default;var g=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,u.default)(a)};t.default=g},function(e,t,n){"use strict";t.__esModule=!0;var r=n(152),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=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Array.isArray;e.exports=n},,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){"use strict";var r=n(432);n.d(t,"q",function(){return r});var o=n(168);n.d(t,"a",function(){return o.a}),n.d(t,"r",function(){return o.b});var i=n(233);n.d(t,"k",function(){return i.a}),n.d(t,"h",function(){return i.c});var a=n(451);n.d(t,"l",function(){return a.a});var s=n(236);n.d(t,"n",function(){return s.a}),n.d(t,"c",function(){return s.c}),n.d(t,"b",function(){return s.b});var l=n(353);n.d(t,"j",function(){return l.a});var u=n(337);n.d(t,"f",function(){return u.a});var c=n(93);n.d(t,"m",function(){return c.e}),n.d(t,"s",function(){return c.h}),n.d(t,"p",function(){return c.g}),n.d(t,"i",function(){return c.d}),n.d(t,"o",function(){return c.f}),n.d(t,"g",function(){return c.c}),n.d(t,"d",function(){return c.a}),n.d(t,"e",function(){return c.b})},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(126),i=(n.n(o),n(78)),a=n(501),s=n(503),l=n(114),u=n(247),c=n(248),p=n(508),f=n(67);r.BaseControl=i.a,r.CheckboxControl=a.a,r.RadioControl=s.a,r.RangeControl=l.a,r.SelectControl=u.a,r.TextControl=c.a,r.TextareaControl=p.a,r.ToggleControl=f.a},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(570);n.n(o)},,function(e,t,n){var r=n(79)("wks"),o=n(62),i=n(22).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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(519);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(398);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(522);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var s=n(523);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(525);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var u=n(399);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(u).default}});var c=n(528);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(c).default}})},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){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(22),o=n(12),i=n(53),a=n(39),s=function(e,t,n){var l,u,c,p=e&s.F,f=e&s.G,d=e&s.S,h=e&s.P,m=e&s.B,g=e&s.W,b=f?o:o[t]||(o[t]={}),v=b.prototype,y=f?r:d?r[t]:(r[t]||{}).prototype;f&&(n=t);for(l in n)(u=!p&&y&&void 0!==y[l])&&l in b||(c=u?y[l]:n[l],b[l]=f&&"function"!=typeof y[l]?n[l]:m&&u?i(c,r):g&&y[l]==c?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}(c):h&&"function"==typeof c?i(Function.call,c):c,h&&((b.virtual||(b.virtual={}))[l]=c,e&s.R&&v&&!v[l]&&a(v,l,c)))};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(147),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){var t=e.controls,n=e.children;return wp.element.createElement(o.Fill,{name:"Formatting.Toolbar"},wp.element.createElement(i.Toolbar,{controls:t}),n)}t.a=r;var o=n(126),i=(n.n(o),n(1));n.n(i)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(54),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,n){var r=n(36);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(28),o=n(117),i=n(86),a=Object.defineProperty;t.f=n(30)?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(43)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){function n(){}e.exports=n},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:$.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(27),s=n.n(a),l=n(54),u=n.n(l),c=n(10),p=n.n(c),f=n(102),d=(n.n(f),n(4)),h=n.n(d),m=n(5),g=n.n(m),b=n(6),v=n.n(b),y=n(7),_=n.n(y),w=n(8),x=n.n(w),E=n(31),k=n.n(E),O=n(473),C=n.n(O),S=n(52),j=n.n(S),T=n(59),A=n.n(T),P=n(475),N=n.n(P),R=n(180),L=n.n(R),M=n(480),D=n.n(M),B=n(83),I=n.n(B),F=n(112),z=n.n(F),q=n(243),H=n.n(q),U=n(15),K=n.n(U),V=n(287),W=(n.n(V),n(126)),G=(n.n(W),n(244)),$=(n.n(G),n(3)),X=(n.n($),n(37)),Y=(n.n(X),n(482)),Z=(n.n(Y),n(16)),Q=n(483),J=n(491),ee=n(383),te=n(495),ne=n(500),re=X.keycodes.BACKSPACE,oe=X.keycodes.DELETE,ie=X.keycodes.ENTER,ae=["bold","italic","strikethrough","link"],se=function(e){function t(e){g()(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)(p()({},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),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:p()({},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:H.a.DOM.isEmpty(this.editor.getBody())}),this.props.focus&&this.props.onFocus&&this.props.focus.collapsed!==e&&this.props.onFocus(p()({},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||this.editor.getDoc().dataTransfer;this.pastedPlainText=t?t.getData("text/plain"):""}},{key:"onPastePreProcess",value:function(e){window.console.log("Received HTML:\n\n",e.content),window.console.log("Received plain text:\n\n",this.pastedPlainText);var t=Object(Z.l)({HTML:e.content,plainText:this.pastedPlainText,inline:!this.props.onSplit||null});if("string"==typeof t)e.content=t;else if(this.props.onSplit){if(e.preventDefault(),!t.length)return;var n=this.editor.getBody();this.editor.dom.isEmpty(n)&&this.props.onReplace?this.props.onReplace(t):this.splitContent(t)}}},{key:"onChange",value:function(){this.editor.isDirty()&&(this.savedContent=this.getContent(),this.editor.save(),this.props.onChange(this.savedContent))}},{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-visual-editor__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.onChange(),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=u()(n.childNodes),s=i.nodeIndex(o),l=a.slice(0,s),c=a.slice(s+1),p=Object(V.nodeListToReact)(l,r),f=Object(V.nodeListToReact)(c,r);this.setContent(p),this.props.onSplit(p,f)}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(),l=this.editor.selection.getRng();if(n.childNodes.length){var u;i.setStart(n,0),i.setEnd(l.startContainer,l.startOffset),a.setStart(l.endContainer,l.endOffset),a.setEnd(n,t.nodeIndex(n.lastChild)+1);var c=i.extractContents(),p=a.extractContents(),f=Object(V.nodeListToReact)(c.childNodes,r),d=o(p)?[]:Object(V.nodeListToReact)(p.childNodes,r);this.setContent(f),(u=this.props).onSplit.apply(u,[f,d].concat(s()(e)))}else{var h;this.setContent([]),(h=this.props).onSplit.apply(h,[[],[]].concat(s()(e)))}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=u()(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),s=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)(s,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]=p()({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($.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:N()({},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,u=void 0!==l&&l,c=e.formattingControls,f=e.placeholder,d=e.multiline,h=e.keepPlaceholderOnFocus,m=void 0!==h&&h,g=e.formatters,b=Object(ee.b)(this.props),v=["editor",n].join(),y=f&&(!i||m)&&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:c,customControls:g});return wp.element.createElement("div",{className:_},i&&wp.element.createElement(W.Fill,{name:"Formatting.Toolbar"},!u&&w),i&&u&&wp.element.createElement("div",{className:"block-editable__inline-toolbar"},w),wp.element.createElement(J.a,p()({tagName:n,getSettings:this.getSettings,onSetup:this.onSetup,style:r,defaultValue:o,isPlaceholderVisible:y,"aria-label":f},b,{className:s,key:v})),y&&wp.element.createElement(n,{className:K()("blocks-editable__tinymce",s),style:r},d?wp.element.createElement(d,null,f):f),i&&wp.element.createElement(W.Slot,{name:"Editable.Siblings"}))}}]),t}($.Component);t.a=se,se.contextTypes={onUndo:k.a},se.defaultProps={formattingControls:ae,formatters:[]}},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},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(289),i=n(325),a=n(59),s=n(13),l=n(330);e.exports=r},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){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(29),o=n(49);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(119),i=n(135);e.exports=r},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,l=e.wideControlsEnabled,f=void 0!==l&&l,d=f?a:a.filter(function(e){return-1===p.indexOf(e)});return wp.element.createElement(s.Toolbar,{controls:d.map(function(e){return i()({},u[e],{isActive:n===e,onClick:t(e)})})})}var o=n(10),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),n(239)),u={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"],p=["wide","full"];t.a=Object(l.a)(function(e){return{wideControlsEnabled:e.wideImages}})(r)},function(e,t,n){var r=n(105),o=n(71);e.exports=function(e){return r(o(e))}},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(197),i=n(198),a=n(40);e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?l:s:u&&u in Object(e)?i(e):a(e)}var o=n(50),i=n(217),a=n(218),s="[object Null]",l="[object Undefined]",u=o?o.toStringTag:void 0;e.exports=r},function(e,t){e.exports={}},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(109);e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(64),i=n(34),a=n(271),s=n(13);e.exports=r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(25),o=r.Symbol;e.exports=o},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(282),i=n(285);e.exports=r},function(e,t,n){var r=n(259),o=n(154),i=r(o);e.exports=i},function(e,t,n){var r=n(84);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){e.exports={default:n(222),__esModule:!0}},function(e,t,n){var r=n(120),o=n(80);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(71);e.exports=function(e){return Object(r(e))}},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(332);e.exports=r},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n(45),i=n(13),a=n(33),s="[object String]";e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-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){return null==e?"":o(e)}var o=n(231);e.exports=r},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(92),i=1/0;e.exports=r},function(e,t,n){var r=n(124),o=n(334),i=o(r);e.exports=i},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(78)),a=n(490);n.n(a);t.a=Object(o.withInstanceId)(r)},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(400),i=r(o),a=n(527),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,n){"use strict";var r=n(223)(!0);n(149)(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=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return 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(13),i=n(137),a=n(326),s=n(63);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 u=t[s],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?i(n,u,c):o(n,u,c)}return n}var o=n(140),i=n(77);e.exports=r},function(e,t,n){var r=n(277),o=r(!0);e.exports=o},function(e,t,n){var r=n(79)("keys"),o=n(62);e.exports=function(e){return r[e]||(r[e]=o(e))}},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(187);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(15),i=n.n(o),a=n(489);n.n(a);t.a=r},function(e,t,n){var r=n(22),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,n){var r=n(29).f,o=n(38),i=n(20)("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){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t){return o(e,t)}var o=n(131);e.exports=r},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(36),o=n(22).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(36);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,n){var r=n(280),o=n(33),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){e.exports=!0},function(e,t,n){var r=n(70),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){(function(e){var r=n(25),o=n(318),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,u=l?l.isBuffer:void 0,c=u||o;e.exports=c}).call(t,n(100)(e))},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(45),i=n(33),a="[object Symbol]";e.exports=r},function(e,t,n){"use strict";function r(e,t){return"string"!=typeof e?void console.error("Block names must be strings."):/[A-Z]+/.test(e)?void console.error("Block names must not contain uppercase characters."):/^[a-z0-9-]+\/[a-z0-9-]+$/.test(e)?t&&v()(t.save)?"edit"in t&&!v()(t.edit)?void console.error('The "edit" property must be a valid function.'):x[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&&!g()(E,{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"),x[e]=h()({name:e,attributes:_()(window._wpBlocksAttributes,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. Example: my-plugin/my-custom-block")}function o(e){if(!x[e])return void console.error('Block "'+e+'" is not registered.');var t=x[e];return delete x[e],t}function i(e){k=e}function a(){return k}function s(e){O=e}function l(){return O}function u(e){return x[e]}function c(){return f()(x)}t.e=r,t.h=o,t.g=i,t.d=a,t.f=s,t.c=l,t.a=u,t.b=c;var p=n(416),f=n.n(p),d=n(10),h=n.n(d),m=n(205),g=n.n(m),b=n(119),v=n.n(b),y=n(47),_=n.n(y),w=n(337),x={},E=Object(w.a)(),k=void 0,O=void 0},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(59),i=n(186),a=n(161);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(291),i=n(292),a=n(293),s=n(294),l=n(295);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(82);e.exports=r},function(e,t,n){var r=n(51),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(309);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){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,n){function r(e,t,n){var r=l(e)?o:s,u=arguments.length<3;return r(e,a(t,4),n,u,i)}var o=n(110),i=n(66),a=n(34),s=n(335),l=n(13);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(338),i=r(o),a=n(343),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){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){var r=n(28),o=n(189),i=n(80),a=n(76)("IE_PROTO"),s=function(){},l=function(){var e,t=n(85)("iframe"),r=i.length;for(t.style.display="none",n(164).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){var r=n(60);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,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(95),i=n(296),a=n(297),s=n(298),l=n(299),u=n(300);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=l,r.prototype.set=u,e.exports=r},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,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(73),i=n(65);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){n(340);for(var r=n(22),o=n(39),i=n(46),a=n(20)("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 u=s[l],c=r[u],p=c&&c.prototype;p&&!p[a]&&o(p,a,u),i[u]=i.Array}},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){e.exports=n(467)()},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,p=e.afterIcon,f=e.help,d=e.allowReset,h=s()(e,["label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset"]),m="inspector-range-control-"+r,g=function(e){return o(Number(e.target.value))};return wp.element.createElement(c.a,{label:t,id:m,help:f,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:m,type:"range",value:n,onChange:g,"aria-describedby":f?m+"__help":void 0},h)),p&&wp.element.createElement(l.Dashicon,{icon:p}),wp.element.createElement("input",i()({className:"blocks-range-control__number",type:"number",onChange:g,value:n},h)),d&&wp.element.createElement(l.Button,{onClick:function(){return o()},disabled:void 0===n},Object(u.__)("Reset")))}var o=n(10),i=n.n(o),a=n(35),s=n.n(a),l=n(1),u=(n.n(l),n(0)),c=(n.n(u),n(78)),p=n(505);n.n(p);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(184),g=n.n(m),b=n(3),v=(n.n(b),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 g()(e,t)},E=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;l()(this,t);var u=f()(this,(t.__proto__||a()(t)).apply(this,arguments));u.openModal=u.openModal.bind(u),u.onSelect=u.onSelect.bind(u),u.onUpdate=u.onUpdate.bind(u),u.onOpen=u.onOpen.bind(u);var c={title:Object(v.__)("Select or Upload a media"),button:{text:Object(v.__)("Select")},multiple:r,selection:new wp.media.model.Selection([])};if(o&&(c.library={type:o}),s){var p=w();u.frame=new p({frame:"select",mimeType:o,state:"gallery"}),wp.media.frame=u.frame}else u.frame=wp.media(c);return u.frame.on("select",u.onSelect),u.frame.on("update",u.onUpdate),u.frame.on("open",u.onOpen),u}return h()(t,e),c()(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}(b.Component);t.a=E},function(e,t,n){"use strict";t.__esModule=!0;var r=n(185),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){e.exports=!n(30)&&!n(43)(function(){return 7!=Object.defineProperty(n(85)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){function r(e,t,n,a,s){var l=-1,u=e.length;for(n||(n=i),s||(s=[]);++l<u;){var c=e[l];t>0&&n(c)?t>1?r(c,t-1,n,a,s):o(s,c):a||(s[s.length]=c)}return s}var o=n(128),i=n(279);e.exports=r},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==u}var o=n(45),i=n(23),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";e.exports=r},function(e,t,n){var r=n(38),o=n(42),i=n(162)(!1),a=n(76)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(122),o=n(20)("iterator"),i=n(46);e.exports=n(12).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(60),o=n(20)("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){var r=n(319),o=n(169),i=n(320),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(232),i=n(44);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(197),i=n(351),a=n(40);e.exports=r},function(e,t,n){"use strict";function r(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n(113),a=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(n(470)),s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},u=i.shape({onComponentsChange:i.func.isRequired,removeOnComponentsChange:i.func.isRequired}),c=i.shape({emit:i.func.isRequired,on:i.func.isRequired,off:i.func.isRequired}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.componentWillMount=function(){this.context.bus.emit("fill-mount",{fill:this})},t.prototype.componentDidUpdate=function(){this.context.bus.emit("fill-updated",{fill:this})},t.prototype.componentWillUnmount=function(){this.context.bus.emit("fill-unmount",{fill:this})},t.prototype.render=function(){return null},t.contextTypes={bus:c},t}(o.Component),f=function(){function e(e){this._bus=e,this.handleFillMount=this.handleFillMount.bind(this),this.handleFillUpdated=this.handleFillUpdated.bind(this),this.handleFillUnmount=this.handleFillUnmount.bind(this),this._db={byName:new Map,byFill:new Map}}return e.prototype.mount=function(){this._bus.on("fill-mount",this.handleFillMount),this._bus.on("fill-updated",this.handleFillUpdated),this._bus.on("fill-unmount",this.handleFillUnmount)},e.prototype.unmount=function(){this._bus.off("fill-mount",this.handleFillMount),this._bus.off("fill-updated",this.handleFillUpdated),this._bus.off("fill-unmount",this.handleFillUnmount)},e.prototype.handleFillMount=function(e){var t=e.fill,n=o.Children.toArray(t.props.children),r=t.props.name,i={fill:t,children:n,name:r},a=this._db.byName.get(r);a?(a.components.push(i),a.listeners.forEach(function(e){return e(a.components)})):this._db.byName.set(r,{listeners:[],components:[i]}),this._db.byFill.set(t,i)},e.prototype.handleFillUpdated=function(e){var t=e.fill,n=this._db.byFill.get(t),r=o.Children.toArray(t.props.children);if(!n)throw new Error("component was expected to be defined");n.children=r;var i=n.name,a=this._db.byName.get(i);if(!a)throw new Error("registration was expected to be defined");a.listeners.forEach(function(e){return e(a.components)})},e.prototype.handleFillUnmount=function(e){var t=e.fill,n=this._db.byFill.get(t);if(!n)throw new Error("component was expected to be defined");var r=n.name,o=this._db.byName.get(r);if(!o)throw new Error("registration was expected to be defined");var i=o.components;i.splice(i.indexOf(n),1),this._db.byFill.delete(t),0===o.listeners.length&&0===o.components.length?this._db.byName.delete(r):o.listeners.forEach(function(e){return e(o.components)})},e.prototype.onComponentsChange=function(e,t){var n=this._db.byName.get(e);n?(n.listeners.push(t),t(n.components)):(this._db.byName.set(e,{listeners:[t],components:[]}),t([]))},e.prototype.getFillsByName=function(e){var t=this._db.byName.get(e);return t?t.components.map(function(e){return e.fill}):[]},e.prototype.getChildrenByName=function(e){var t=this._db.byName.get(e);return t?t.components.map(function(e){return e.children}).reduce(function(e,t){return e.concat(t)},[]):[]},e.prototype.removeOnComponentsChange=function(e,t){var n=this._db.byName.get(e);if(!n)throw new Error("expected registration to be defined");var r=n.listeners;r.splice(r.indexOf(t),1)},e}(),d=function(e){function t(){var t=e.call(this)||this;return t._bus=new a,t._manager=new f(t._bus),t._manager.mount(),t}return r(t,e),t.prototype.componentWillUnmount=function(){this._manager.unmount()},t.prototype.getChildContext=function(){return{bus:this._bus,manager:this._manager}},t.prototype.render=function(){return o.Children.only(this.props.children)},t.prototype.getFillsByName=function(e){return this._manager.getFillsByName(e)},t.prototype.getChildrenByName=function(e){return this._manager.getChildrenByName(e)},t.childContextTypes={manager:u,bus:c},t}(o.Component),h=function(e){function t(t){var n=e.call(this,t)||this;return n.state={components:[]},n.handleComponentChange=n.handleComponentChange.bind(n),n}return r(t,e),t.prototype.componentWillMount=function(){this.context.manager.onComponentsChange(this.props.name,this.handleComponentChange)},t.prototype.handleComponentChange=function(e){this.setState({components:e})},Object.defineProperty(t.prototype,"fills",{get:function(){return this.state.components.map(function(e){return e.fill})},enumerable:!0,configurable:!0}),t.prototype.componentWillReceiveProps=function(e){if(e.name!==this.props.name){this.context.manager.removeOnComponentsChange(this.props.name,this.handleComponentChange);var t=e.name;this.context.manager.onComponentsChange(t,this.handleComponentChange)}},t.prototype.componentWillUnmount=function(){var e=this.props.name;this.context.manager.removeOnComponentsChange(e,this.handleComponentChange)},t.prototype.render=function(){var e=this,t=[];if(this.state.components.forEach(function(n,r){var i=n.fill,a=n.children,s=e.props.fillChildProps;if(s){var u=function(t,n){var r=s[n];return t[n]="function"==typeof r?function(){return r(i,e.fills)}:r,t},c=Object.keys(e.props.fillChildProps).reduce(u,{});a.forEach(function(e,n){if("number"==typeof e||"string"==typeof e)throw new Error("Only element children will work here");t.push(o.cloneElement(e,l({key:r.toString()+n.toString()},c)))})}else a.forEach(function(e,n){if("number"==typeof e||"string"==typeof e)throw new Error("Only element children will work here");t.push(o.cloneElement(e,{key:r.toString()+n.toString()}))})}),"function"==typeof this.props.children){var n=this.props.children(t);if(o.isValidElement(n)||null===n)return n;var r=this,i=r._reactInternalInstance._currentElement._owner._instance.constructor,a=i.displayName||i.name,s="Slot rendered with function must return a valid React Element. Check the "+a+" render function.";throw new Error(s)}return o.createElement("div",{},t)},t.contextTypes={manager:u},t}(o.Component);t.Provider=d,t.Slot=h,t.Fill=p},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(153),i=n(405),a=n(34),s=n(13);e.exports=r},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(51),o=n(25),i=r(o,"Map");e.exports=i},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(301),i=n(308),a=n(310),s=n(311),l=n(312);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(313),i=n(33);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(130),i=n(314),a=n(315);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,n){var r=n(153),o=n(196),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){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(322),o=n(129),i=n(323),a=n(200),s=n(220),l=n(45),u=n(188),c=u(r),p=u(o),f=u(i),d=u(a),h=u(s),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case c:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},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(13),i=n(92),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){t.f=n(20)},function(e,t,n){var r=n(22),o=n(12),i=n(88),a=n(138),s=n(29).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,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(77),i=n(82),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(199),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(40),i=n(33);e.exports=r},function(e,t,n){"use strict";function r(e){return!!k[e.nodeName.toLowerCase()]}function o(e){return!r(e)}function i(e,t){return k[e]&&k[e].attributes&&-1!==k[e].attributes.indexOf(t)}function a(e){return!!x[e.nodeName.toLowerCase()]}function s(e){return!!E[e.nodeName.toLowerCase()]}function l(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return k[n]&&k[n].children&&-1!==k[n].children.indexOf(r)}function u(e){return!!a(e)&&(!!e.hasChildNodes()&&g()(e.childNodes).some(function(e){return e.nodeType===_&&(!a(e)||u(e))}))}function c(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function p(e){return!e.hasChildNodes()||g()(e.childNodes).every(function(e){return e.nodeType===w?!e.nodeValue.trim():e.nodeType!==_||("BR"===e.nodeName||!e.hasAttributes()&&p(e))})}function f(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return g()(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){g()(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=u,t.e=c,t.f=p,t.k=f,t.b=d,t.a=h;var m=n(54),g=n.n(m),b=n(10),v=n.n(b),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:{}},E={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{children:["img"]},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},k=v()({},x,E,{img:{attributes:["src","alt"]},figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}})},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,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(192);e.exports=r},function(e,t,n){var r=n(23),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){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(103))},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){"use strict";var r=n(88),o=n(24),i=n(150),a=n(39),s=n(38),l=n(46),u=n(224),c=n(81),p=n(151),f=n(20)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,g,b,v){u(n,t,m);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)}},E=t+" Iterator",k="values"==g,O=!1,C=e.prototype,S=C[f]||C["@@iterator"]||g&&C[g],j=S||x(g),T=g?k?x("entries"):j:void 0,A="Array"==t?C.entries||S:S;if(A&&(w=p(A.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,f)||a(w,f,h)),k&&S&&"values"!==S.name&&(O=!0,j=function(){return S.call(this)}),r&&!v||!d&&!O&&C[f]||a(C,f,j),l[t]=j,l[E]=h,g)if(y={values:k?j:x("values"),keys:b?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){e.exports=n(39)},function(e,t,n){var r=n(38),o=n(56),i=n(76)("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){e.exports={default:n(227),__esModule:!0}},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(170),i=n(34),a=n(57),s=Math.max;e.exports=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(77),i=n(124),a=n(34);e.exports=r},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t,n){return p.Children.forEach(t,function(t,r){t&&"string"!=typeof t&&(t=Object(p.cloneElement)(t,{key:[n,r].join()})),e.push(t)}),e},[])}function o(e,t){return e&&p.Children.map(e,function(e,n){if(c()(e))return Object(p.createElement)(t,{key:n},e);var r=e.props,o=r.children,i=l()(r,["children"]);return Object(p.createElement)(t,a()({key:n},i),o)})}Object.defineProperty(t,"__esModule",{value:!0}),t.concatChildren=r,t.switchChildrenNodeName=o;var i=n(10),a=n.n(i),s=n(35),l=n.n(s),u=n(58),c=n.n(u),p=n(2),f=(n.n(p),n(157)),d=(n.n(f),n(253));n.n(d);n.o(p,"createElement")&&n.d(t,"createElement",function(){return p.createElement}),n.o(f,"render")&&n.d(t,"render",function(){return f.render}),n.o(p,"Component")&&n.d(t,"Component",function(){return p.Component}),n.o(p,"cloneElement")&&n.d(t,"cloneElement",function(){return p.cloneElement}),n.o(f,"findDOMNode")&&n.d(t,"findDOMNode",function(){return f.findDOMNode}),n.o(p,"Children")&&n.d(t,"Children",function(){return p.Children}),n.o(f,"createPortal")&&n.d(t,"createPortal",function(){return f.createPortal}),n.o(d,"renderToStaticMarkup")&&n.d(t,"renderToString",function(){return d.renderToStaticMarkup})},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(624),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default},function(e,t){!function(){e.exports=this.moment}()},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(278),i=n(186),a=n(161);e.exports=r},function(e,t,n){var r=n(281),o=n(257),i=o(r);e.exports=i},function(e,t,n){var r=n(42),o=n(89),i=n(163);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(70),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,n){var r=n(22).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(28);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(46),o=n(20)("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(20)("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){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(w.a)(e),r=g()(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 n.supportAnchor&&t.anchor&&(r.anchor=t.anchor),!1!==n.className&&t.className&&(r.className=t.className),{uid:_()(),name:e,isValid:!0,attributes:r}}function o(e,t){var n=Object(w.a)(t),r=Object(w.a)(e.name),o=v()(n,"transforms.from",[]),i=v()(r,"transforms.to",[]),s=l()(i,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)})||l()(o,function(t){return"block"===t.type&&-1!==t.blocks.indexOf(e.name)});if(!s)return null;var u=s.transform(e.attributes);if(!c()(u))return null;if(u=h()(u),u.some(function(e){return!Object(w.a)(e.name)}))return null;var p=f()(u,function(e){return e.name===t});return p<0?null:u.map(function(t,n){return a()({},t,{uid:n===p?e.uid:t.uid})})}t.a=r,t.b=o;var i=n(10),a=n.n(i),s=n(52),l=n.n(s),u=n(33),c=n.n(u),p=n(154),f=n.n(p),d=n(262),h=n.n(d),m=n(101),g=n.n(m),b=n(47),v=n.n(b),y=n(415),_=n.n(y),w=n(93)},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},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,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(82),i=n(40),a=n(91),s=n(23);e.exports=r},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(64),i=n(34),a=n(235),s=n(173);e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(195),i=n(208),a=n(125);e.exports=r},function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var c=e.length;return n<0&&(n=u(c+n,0)),a(e)?n<=c&&e.indexOf(t,n)>-1:!!c&&o(e,t,n)>-1}var o=n(210),i=n(40),a=n(58),s=n(57),l=n(362),u=Math.max;e.exports=r},function(e,t,n){function r(e,t,n,r){var p=-1,f=i,d=!0,h=e.length,m=[],g=t.length;if(!h)return m;n&&(t=s(t,l(n))),r?(f=a,d=!1):t.length>=c&&(f=u,d=!1,t=new o(t));e:for(;++p<h;){var b=e[p],v=null==n?b:n(b);if(b=r||0!==b?b:0,d&&v===v){for(var y=g;y--;)if(t[y]===v)continue e;m.push(b)}else f(t,v,r)||m.push(b)}return m}var o=n(132),i=n(176),a=n(211),s=n(64),l=n(169),u=n(133),c=200;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(210);e.exports=r},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||p(e)||a(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(c(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=n(198),i=n(136),a=n(87),s=n(13),l=n(40),u=n(90),c=n(108),p=n(123),f="[object Map]",d="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(24),o=n(12),i=n(43);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){"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(10),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,t){return(s(e)?o:i)(e,a(t))}var o=n(181),i=n(66),a=n(182),s=n(13);e.exports=r},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){function r(e){return"function"==typeof e?e:o}var o=n(59);e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(245),h=n.n(d),m=n(15),g=n.n(m),b=n(268),v=n.n(b),y=n(0),_=(n.n(y),n(3)),w=(n.n(_),n(37)),x=(n.n(w),n(1)),E=(n.n(x),w.keycodes.UP),k=w.keycodes.DOWN,O=w.keycodes.ENTER,C=function(e){function t(){a()(this,t);var e=c()(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 f()(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 E:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case k: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.props.onChange(a.link),this.setState({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,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:g()("blocks-url-input__suggestion",{"is-selected":n===s}),onClick:function(){return e.props.onChange(t.link)},"aria-selected":n===s},t.title.rendered)})))}}]),t}(_.Component);t.a=Object(x.withSpokenMessages)(Object(x.withInstanceId)(C))},function(e,t,n){var r=n(403),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(275),__esModule:!0}},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 u=Array(t+1);++a<t;)u[a]=r[a];return u[t]=n(l),o(e,this,u)}}var o=n(219),i=Math.max;e.exports=r},function(e,t,n){var r=n(51),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},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){var r=n(29),o=n(28),i=n(55);e.exports=n(30)?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){function r(e,t,n,r,u,c){var p=n&s,f=e.length,d=t.length;if(f!=d&&!(p&&d>f))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,g=!0,b=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++m<f;){var v=e[m],y=t[m];if(r)var _=p?r(y,v,m,t,e,c):r(v,y,m,e,t,c);if(void 0!==_){if(_)continue;g=!1;break}if(b){if(!i(t,function(e,t){if(!a(b,t)&&(v===e||u(v,e,n,r,c)))return b.push(t)})){g=!1;break}}else if(v!==y&&!u(v,y,n,r,c)){g=!1;break}}return c.delete(e),c.delete(t),g}var o=n(132),i=n(191),a=n(133),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(25),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(195),i=n(134),a=n(44);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(128),i=n(13);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),c=!n&&!r&&s(e),f=!n&&!r&&!c&&u(e),d=n||r||c||f,h=d?o(e.length,String):[],m=h.length;for(var g in e)!t&&!p.call(e,g)||d&&("length"==g||c&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,m))||h.push(g);return h}var o=n(230),i=n(87),a=n(13),s=n(90),l=n(91),u=n(123),c=Object.prototype,p=c.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(108),i=n(321),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(51),o=n(25),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(23);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(329),i=n(260);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=u.test(e);return n||c.test(e)?p(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(23),i=n(92),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;e.exports=r},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(191),i=n(34),a=n(336),s=n(13),l=n(171);e.exports=r},function(e,t,n){var r=n(120),o=n(80).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(72),o=n(49),i=n(42),a=n(86),s=n(38),l=n(117),u=Object.getOwnPropertyDescriptor;t.f=n(30)?u:function(e,t){if(e=i(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(128),o=n(141),i=n(134),a=n(196),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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(354),i=r(o),a=n(357),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){return t===t?a(e,t,n):o(e,i,n)}var o=n(170),i=n(360),a=n(361);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){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(45),i=n(141),a=n(33),s="[object Object]",l=Function.prototype,u=Object.prototype,c=l.toString,p=u.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t,n){function r(e,t,n){function r(t){var n=v,r=y;return v=y=void 0,k=t,w=e.apply(r,n)}function c(e){return k=e,x=setTimeout(d,t),O?r(e):w}function p(e){var n=e-E,r=e-k,o=t-n;return C?u(o,_-r):o}function f(e){var n=e-E,r=e-k;return void 0===E||n>=t||n<0||C&&r>=_}function d(){var e=i();if(f(e))return h(e);x=setTimeout(d,p(e))}function h(e){return x=void 0,S&&v?r(e):(v=y=void 0,w)}function m(){void 0!==x&&clearTimeout(x),k=0,v=E=y=x=void 0}function g(){return void 0===x?w:h(i())}function b(){var e=i(),n=f(e);if(v=arguments,y=this,E=e,n){if(void 0===x)return c(E);if(C)return x=setTimeout(d,t),r(E)}return void 0===x&&(x=setTimeout(d,t)),w}var v,y,_,w,x,E,k=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),b.cancel=m,b.flush=g,b}var o=n(23),i=n(378),a=n(204),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},function(e,t,n){var r=n(277),o=r();e.exports=o},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(146),i=n(216);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){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(50),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){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){var r=n(51),o=n(25),i=r(o,"WeakMap");e.exports=i},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(146),i=n(216),a=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t,n){n(69),n(225),e.exports=n(12).Array.from},function(e,t,n){var r=n(70),o=n(71);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(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(104),o=n(49),i=n(81),a={};n(39)(a,n(20)("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){"use strict";var r=n(53),o=n(24),i=n(56),a=n(165),s=n(166),l=n(89),u=n(226),c=n(121);o(o.S+o.F*!n(167)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,f=i(e),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,b=0,v=c(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=l(f.length),n=new d(t);t>b;b++)u(n,b,g?m(f[b],b):f[b]);else for(p=v.call(f),n=new d;!(o=p.next()).done;b++)u(n,b,g?a(p,m,[o.value,b],!0):o.value);return n.length=b,n}})},function(e,t,n){"use strict";var r=n(29),o=n(49);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){n(228),e.exports=n(12).Object.assign},function(e,t,n){var r=n(24);r(r.S+r.F,"Object",{assign:n(229)})},function(e,t,n){"use strict";var r=n(55),o=n(106),i=n(72),a=n(56),s=n(105),l=Object.assign;e.exports=!l||n(43)(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,u=1,c=o.f,p=i.f;l>u;)for(var f,d=s(arguments[u++]),h=c?r(d).concat(c(d)):r(d),m=h.length,g=0;m>g;)p.call(d,f=h[g++])&&(n[f]=d[f]);return n}:l},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 c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=n(50),i=n(64),a=n(13),s=n(92),l=1/0,u=o?o.prototype:void 0,c=u?u.toString:void 0;e.exports=r},function(e,t,n){var r=n(333),o=r();e.exports=o},function(e,t,n){"use strict";function r(e){return!!e&&"_wpBlocksKnownSource"in e}function o(e,t){var n=b()(d()(t,function(e){return r(e.source)}),function(e){return e.source});return Object(v.c)(e,n)}function i(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:p()(e);case"integer":case"number":return Number(e)}return e}function a(e,t,n){var r=o(t,e.attributes),a=m()(e.attributes,function(e,t,o){var a=void 0;if(r.hasOwnProperty(o)?a=r[o]:n&&(a=n[o]),void 0===a){if(!("default"in t))return e;a=t.default}var s=i(a,t.type);return e[o]=s,e},{});return e.supportAnchor&&(a.anchor=Object(v.c)(t,Object(v.a)("*","id"))),!1!==e.className&&n&&n.className&&(a.className=n.className),a}function s(e,t,n){"core/text"!==(e=e||Object(_.d)())&&"core/cover-text"!==e||(e="core/paragraph");var r=Object(_.a)(e),o=Object(_.d)();if(r||(e&&(t=Object(E.d)(e,n,t)),e=o,r=Object(_.a)(e)),r&&(t||e!==o)){var i=Object(w.a)(e,a(r,t,n));return i.isValid=Object(x.a)(t,r,i.attributes),i.originalContent=t,i}}function l(e){return Object(y.parse)(e).reduce(function(e,t){var n=t.blockName,r=t.rawContent,o=t.attrs,i=s(n,r.trim(),o);return i&&e.push(i),e},[])}t.c=o,t.b=a,t.d=l;var u=n(102),c=(n.n(u),n(54)),p=n.n(c),f=n(172),d=n.n(f),h=n(101),m=n.n(h),g=n(155),b=n.n(g),v=n(288),y=n(442),_=(n.n(y),n(93)),w=n(168),x=n(353),E=n(236);t.a=l},function(e,t){},function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var u=t[r],c=o(e,u);n(c,u)&&i(l,a(u,e),c)}return l}var o=n(109),i=n(350),a=n(73);e.exports=r},function(e,t,n){"use strict";function r(e){return"wp-block-"+e.replace(/\//,"-").replace(/^core-/,"")}function o(e,t){var n=e.save,o=e.className,i=void 0===o?r(e.name):o,a=void 0;if(n.prototype instanceof S.Component)a=Object(S.createElement)(n,{attributes:t});else if("string"==typeof(a=n({attributes:t})))return a;var s=function(n){if(!n||!y()(n))return n;var r={};if(i){var o=C()(i,n.props.className,t.className);r.className=o}return e.supportAnchor&&t.anchor&&(r.id=t.anchor),Object(S.cloneElement)(n,r)},l=S.Children.map(a,s);return Object(S.renderToString)(l)}function i(e,t){var n=w()(t.attributes,function(t,n,r){var o=e[r];return void 0===o?t:n.source||n.meta?t:"default"in n&&n.default===o?t:(t[r]=o,t)},{});return!1!==t.className&&e.className&&(n.className=e.className),n}function a(e){return d()(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")}function s(e){return Object(k.html)(e,{indent_inner_html:!0,wrap_line_length:0})}function l(e){var t=Object(j.a)(e.name),n=e.originalContent;if(e.isValid)try{n=o(t,e.attributes)}catch(e){}return Object(j.d)()!==e.name&&n?s(n):n}function u(e,t,n){var r=E()(t)?"":a(t)+" ",o=e.startsWith("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 c(e){var t=e.name,n=Object(j.a)(t),r=l(e),o=i(e.attributes,n);switch(t){case"core/more":var a=o.customText,s=o.noTeaser,c=a?"\x3c!--more "+a+"--\x3e":"\x3c!--more--\x3e",p=s?"\x3c!--noteaser--\x3e":"";return m()([c,p]).join("\n");case Object(j.d)():return r;default:return u(t,o,r)}}function p(e){return b()(e).map(c).join("\n\n")}t.c=r,t.e=o,t.b=l,t.d=u,t.a=p;var f=n(417),d=n.n(f),h=n(266),m=n.n(h),g=n(262),b=n.n(g),v=n(23),y=n.n(v),_=n(101),w=n.n(_),x=n(177),E=n.n(x),k=n(449),O=(n.n(k),n(15)),C=n.n(O),S=n(3),j=(n.n(S),n(93))},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||f.before_newline;var t=Object.values(f);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&&E(ee.mode),o=Y,i=0;i<e.comments_before.length;i++)Y=e.comments_before[i],l(Y,t),oe[Y.type](t);if(Y=o,r)for(var a=0;a<n;a+=1)b(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){b(!1,t);for(var s=1;s<n;s+=1)b(!0,t)}}function m(e){e=e.replace(p.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 g(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ie.preserve_newlines&&Y.wanted_newline||e;if(r(ee.last_text,X.positionable_operators)||r(Y.text,X.positionable_operators)){var n=r(ee.last_text,X.positionable_operators)&&r(ie.operator_position,d)||r(Y.text,X.positionable_operators);t=t&&n}if(t)b(!1,!0);else if(ie.wrap_line_length){if("TK_RESERVED"===Z&&r(ee.last_text,ce))return;var o=G.current_line.get_character_count()+Y.text.length+(G.space_before_token?1:0);o>=ie.wrap_line_length&&b(!1,!0)}}}function b(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Z)for(var n=P(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&&E(ee.mode)&&Y.wanted_newline?(G.current_line.push(Y.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(Y);if(ie.comma_first&&"TK_COMMA"===Z&&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||Y.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 E(e){return e===h.ArrayLiteral}function k(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"===Z&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type||"TK_RESERVED"===Z&&"do"===ee.last_text||"TK_RESERVED"===Z&&r(ee.last_text,["return","throw"])&&!Y.wanted_newline||"TK_RESERVED"===Z&&"else"===ee.last_text&&("TK_RESERVED"!==Y.type||"if"!==Y.text||Y.comments_before.length)||"TK_END_EXPR"===Z&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Z&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Y.text&&"++"!==Y.text&&"function"!==Q&&"TK_WORD"!==Y.type&&"TK_RESERVED"!==Y.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Z&&r(ee.last_text,["get","set"])))&&(x(h.Statement),_(),l(Y,!0),C()||g("TK_RESERVED"===Y.type&&r(Y.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 P(e){var t=$+(e||0);return t<0||t>=ae.length?null:ae[t]}function N(){S()||l(Y);var e=h.Expression;if("["===Y.text){if("TK_WORD"===Z||")"===ee.last_text)return"TK_RESERVED"===Z&&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,E(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==Q&&"}"!==Q)||ie.keep_array_indentation||b())}else"TK_RESERVED"===Z&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Z&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Z?b():"TK_END_EXPR"===Z||"TK_START_EXPR"===Z||"TK_END_BLOCK"===Z||"."===ee.last_text?g(Y.wanted_newline):"TK_RESERVED"===Z&&"("===Y.text||"TK_WORD"===Z||"TK_OPERATOR"===Z?"TK_RESERVED"===Z&&("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"!==Z||!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,"("===Y.text&&"TK_RESERVED"===Z&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Y.text&&("TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g()),"("===Y.text&&"TK_WORD"!==Z&&"TK_RESERVED"!==Z&&g(),x(e),y(),ie.space_in_paren&&(G.space_before_token=!0),_()}function R(){for(;ee.mode===h.Statement;)O();l(Y),ee.multiline_frame&&g("]"===Y.text&&E(ee.mode)&&!ie.keep_array_indentation),ie.space_in_paren&&("TK_START_EXPR"!==Z||ie.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Y.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(Y);var e=P(1),t=P(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"===Z&&"=>"===ee.last_text?h.BlockStatement:r(Z,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Z&&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"===Z;if(ie.brace_preserve_inline){var i=0,a=null;ee.inline_frame=!0;do{if(i+=1,a=P(i),a.wanted_newline){ee.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Y))}("expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Z&&(o||"TK_EQUALS"===Z||"TK_RESERVED"===Z&&A(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:b(!1,!0):(!E(te.mode)||"TK_START_EXPR"!==Z&&"TK_COMMA"!==Z||(("TK_COMMA"===Z||ie.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Z||"TK_START_EXPR"===Z&&ee.inline_frame)&&(g(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Z&&"TK_START_EXPR"!==Z&&("TK_START_BLOCK"!==Z||ee.inline_frame?G.space_before_token=!0:b())),y(),_()}function M(){for(l(Y);ee.mode===h.Statement;)O();var e="TK_START_BLOCK"===Z;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ie.brace_style?e||b():e||(E(ee.mode)&&ie.keep_array_indentation?(ie.keep_array_indentation=!1,b(),ie.keep_array_indentation=!0):b()),O(),y()}function D(){if("TK_RESERVED"===Y.type)if(r(Y.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Y.type="TK_WORD";else if(r(Y.text,["as","from"])&&!ee.import_block)Y.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=P(1);":"===e.text&&(Y.type="TK_WORD")}if(S()?"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type&&(ee.declaration_statement=!0):!Y.wanted_newline||k(ee.mode)||"TK_OPERATOR"===Z&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Z||!ie.preserve_newlines&&"TK_RESERVED"===Z&&r(ee.last_text,["var","let","const","set","get"])?l(Y):(l(Y),b()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Y.type&&"while"===Y.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);b(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Y.type||"else"!==Y.text){for(;ee.mode===h.Statement;)O();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Y.type&&("case"===Y.text||"default"===Y.text&&ee.in_case_statement))return b(),(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"!==Z&&"TK_START_EXPR"!==Z&&"TK_EQUALS"!==Z&&"TK_OPERATOR"!==Z||C()||g(),"TK_RESERVED"===Y.type&&"function"===Y.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Z)&&(G.just_added_blankline()||Y.comments_before.length||(b(),b(!0))),"TK_RESERVED"===Z||"TK_WORD"===Z?"TK_RESERVED"===Z&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Z&&"default"===ee.last_text&&"export"===Q?G.space_before_token=!0:b():"TK_OPERATOR"===Z||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!k(ee.mode)&&!E(ee.mode))&&b(),y(),void(ee.last_word=Y.text);if(re="NONE","TK_END_BLOCK"===Z?te.inline_frame?re="SPACE":"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally","from"])?"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Z&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Z&&k(ee.mode)?re="SPACE":"TK_STRING"===Z?re="NEWLINE":"TK_RESERVED"===Z||"TK_WORD"===Z||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?re="SPACE":"TK_START_BLOCK"===Z?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Z&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Z||te.mode!==h.BlockStatement||"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Y.wanted_newline)&&!ee.inline_frame)b();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&b(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Z?"TK_START_EXPR"===Z&&"TK_RESERVED"===Y.type&&r(Y.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Y.type&&"if"===Y.text&&"else"===ee.last_text?G.space_before_token=!0:b()):"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&b():ee.multiline_frame&&E(ee.mode)&&","===ee.last_text&&"}"===Q?b():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Y.text,"TK_RESERVED"===Y.type&&("do"===Y.text?ee.do_block=!0:"if"===Y.text?ee.if_block=!0:"import"===Y.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Y.type&&"from"===Y.text&&(ee.import_block=!1))}function B(){S()?G.space_before_token=!1:l(Y);for(var e=P(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(Y),"TK_RESERVED"===Z||"TK_WORD"===Z||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Z||"TK_START_EXPR"===Z||"TK_EQUALS"===Z||"TK_OPERATOR"===Z?C()||g():b()),y()}function F(){S()||l(Y),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function z(){l(Y,!0),y(),G.space_before_token=!0,ee.declaration_statement?(k(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,b(!1,!0)):ie.comma_first&&g()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&O(),ee.inline_frame||b()):ie.comma_first&&g()}function q(){var e="*"===Y.text&&("TK_RESERVED"===Z&&r(ee.last_text,["function","yield"])||r(Z,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Y.text,["-","+"])&&(r(Z,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{l(Y,!e)}if("TK_RESERVED"===Z&&A(ee.last_text))return G.space_before_token=!0,void y();if("*"===Y.text&&"TK_DOT"===Z)return void y();if("::"===Y.text)return void y();if("TK_OPERATOR"===Z&&r(ie.operator_position,d)&&g(),":"===Y.text&&ee.in_case)return ee.case_body=!0,_(),y(),b(),void(ee.in_case=!1);var n=!0,o=!0,i=!1;if(":"===Y.text?0===ee.ternary_depth?n=!1:(ee.ternary_depth-=1,i=!0):"?"===Y.text&&(ee.ternary_depth+=1),!t&&!e&&ie.preserve_newlines&&r(Y.text,X.positionable_operators)){var a=":"===Y.text,s=a&&i,u=a&&!i;switch(ie.operator_position){case f.before_newline:return G.space_before_token=!u,y(),a&&!s||g(),void(G.space_before_token=!0);case f.after_newline:return G.space_before_token=!0,!a||s?P(1).wanted_newline?b(!1,!0):g():G.space_before_token=!1,y(),void(G.space_before_token=!0);case f.preserve_newline:return u||g(),n=!(G.just_added_newline()||u),G.space_before_token=n,y(),void(G.space_before_token=!0)}}if(e){g(),n=!1;var c=P(1);o=c&&r(c.type,["TK_WORD","TK_RESERVED"])}else"..."===Y.text?(g(),n="TK_START_BLOCK"===Z,o=!1):(r(Y.text,["--","++","!","~"])||t)&&(n=!1,o=!1,!Y.wanted_newline||"--"!==Y.text&&"++"!==Y.text||b(!1,!0),";"===ee.last_text&&k(ee.mode)&&(n=!0),"TK_RESERVED"===Z?n=!0:"TK_END_EXPR"===Z?n=!("]"===ee.last_text&&("--"===Y.text||"++"===Y.text)):"TK_OPERATOR"===Z&&(n=r(Y.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Y.text,["+","-"])&&r(ee.last_text,["--","++"])&&(o=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||b());G.space_before_token=G.space_before_token||n,y(),G.space_before_token=o}function H(e){if(G.raw)return G.add_raw_token(Y),void(Y.directives&&"end"===Y.directives.preserve&&(G.raw=ie.test_output_raw));if(Y.directives)return b(!1,e),y(),"start"===Y.directives.preserve&&(G.raw=!0),void b(!1,!0);if(!p.newline.test(Y.text)&&!Y.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=m(Y.text),r=!1,o=!1,a=Y.whitespace_before,s=a.length;for(b(!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++)b(!1,!0),r?y(" "+i(n[t])):o&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);b(!1,e)}function U(e){Y.wanted_newline?b(!1,e):G.trim(!0),G.space_before_token=!0,y(),b(!1,e)}function K(){S()||l(Y,!0),"TK_RESERVED"===Z&&A(ee.last_text)?G.space_before_token=!0:g(")"===ee.last_text&&ie.break_chained_methods),y()}function V(e){y(),"\n"===Y.text[Y.text.length-1]&&b(!1,e)}function W(){for(;ee.mode===h.Statement;)O();l(Y)}var G,$,X,Y,Z,Q,J,ee,te,ne,re,oe,ie,ae=[],se="";oe={TK_START_EXPR:N,TK_END_EXPR:R,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:q,TK_COMMA:z,TK_BLOCK_COMMENT:H,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&&p.lineBreak.test(e||"")&&(ie.eol=e.match(p.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 ue=0;if(e&&e.length){for(;" "===e.charAt(ue)||"\t"===e.charAt(ue);)se+=e.charAt(ue),ue+=1;e=e.substring(ue)}Z="TK_START_BLOCK",Q="",G=new u(J,se),G.raw=ie.test_output_raw,ne=[],x(h.BlockStatement),this.beautify=function(){var t;for(X=new c(e,ie,J),ae=X.tokenize(),$=0,Y=P();Y;)oe[Y.type](),Q=ee.last_text,Z=Y.type,ee.last_text=Y.text,$+=1,Y=P();return t=G.get_code(),ie.end_with_newline&&(t+="\n"),"\n"!==ie.eol&&(t=t.replace(/[\n]/g,ie.eol)),t};var ce=["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 u(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 c(e,t){function n(e){if(!e.match(k))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,b="";var m=_.next();if(null===m)return["","TK_EOF"];var k;for(k=y.length?y[y.length-1]:new g("TK_START_BLOCK","{");r(m,s);)if(p.newline.test(m)?"\n"===m&&"\r"===_.peek(-2)||(h+=1,i=[]):i.push(m),null===(m=_.next()))return["","TK_EOF"];if(i.length&&(b=i.join("")),l.test(m)||"."===m&&_.testChar(l)){var O=!0,j=!0,T=l;for("0"===m&&_.testChar(/[XxOoBb]/)?(O=!1,j=!1,T=_.testChar(/[Bb]/)?u:_.testChar(/[Oo]/)?c:f,m+=_.next()):"."===m?O=!1:(m="",_.back());_.testChar(T);)m+=_.next(),O&&"."===_.peek()&&(m+=_.next(),O=!1),j&&_.testChar(/[Ee]/)&&(m+=_.next(),_.testChar(/[+-]/)&&(m+=_.next()),j=!1,O=!1);return[m,"TK_WORD"]}if(p.isIdentifierStart(_.peekCharCode(-1))){if(_.hasNext())for(;p.isIdentifierChar(_.peekCharCode())&&(m+=_.next(),_.hasNext()););return"TK_DOT"===k.type||"TK_RESERVED"===k.type&&r(k.text,["set","get"])||!r(m,w)?[m,"TK_WORD"]:"in"===m||"of"===m?[m,"TK_OPERATOR"]:[m,"TK_RESERVED"]}if("("===m||"["===m)return[m,"TK_START_EXPR"];if(")"===m||"]"===m)return[m,"TK_END_EXPR"];if("{"===m)return[m,"TK_START_BLOCK"];if("}"===m)return[m,"TK_END_BLOCK"];if(";"===m)return[m,"TK_SEMICOLON"];if("/"===m){var A,P="";if("*"===_.peek()){_.next(),A=_.match(x),P="/*"+A[0];var N=n(P);return N&&"start"===N.ignore&&(A=_.match(C),P+=A[0]),P=P.replace(p.allLineBreaks,"\n"),[P,"TK_BLOCK_COMMENT",N]}if("/"===_.peek())return _.next(),A=_.match(E),P="//"+A[0],[P,"TK_COMMENT"]}var R=/<()([-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("`"===m||"'"===m||'"'===m||("/"===m||t.e4x&&"<"===m&&_.test(R,-1))&&("TK_RESERVED"===k.type&&r(k.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===k.type&&")"===k.text&&k.parent&&"TK_RESERVED"===k.parent.type&&r(k.parent.text,["if","while","for"])||r(k.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=m,M=!1,D=!1;if(e=m,"/"===L)for(var B=!1;_.hasNext()&&(M||B||_.peek()!==L)&&!_.testChar(p.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(R);if(z){for(var q=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),H=0===q.indexOf("{"),U=0;z;){var K=!!z[1],V=z[2],W=!!z[z.length-1]||"![CDATA["===V.slice(0,8);if(!W&&(V===q||H&&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(p.allLineBreaks,"\n"),[F,"TK_STRING"]}}else{var G=function(t,n,r){for(var o;_.hasNext()&&(o=_.peek(),M||o!==t&&(n||!p.newline.test(o)));)(M||n)&&p.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()&&p.isIdentifierStart(_.peekCharCode());)e+=_.next();return[e,"TK_STRING"]}if("#"===m){if(0===y.length&&"!"===_.peek()){for(e=m;_.hasNext()&&"\n"!==m;)m=_.next(),e+=m;return[o(e)+"\n","TK_UNKNOWN"]}var $="#";if(_.hasNext()&&_.testChar(l)){do{m=_.next(),$+=m}while(_.hasNext()&&"#"!==m&&"="!==m);return"#"===m||("["===_.peek()&&"]"===_.peek(1)?($+="[]",_.next(),_.next()):"{"===_.peek()&&"}"===_.peek(1)&&($+="{}",_.next(),_.next())),[$,"TK_WORD"]}}if("<"===m&&("?"===_.peek()||"%"===_.peek())){_.back();var X=_.match(S);if(X)return m=X[0],m=m.replace(p.allLineBreaks,"\n"),[m,"TK_STRING"]}if("<"===m&&_.match(/\!--/g)){for(m="\x3c!--";_.hasNext()&&!_.testChar(p.newline);)m+=_.next();return v=!0,[m,"TK_COMMENT"]}if("-"===m&&v&&_.match(/->/g))return v=!1,["--\x3e","TK_COMMENT"];if("."===m)return"."===_.peek()&&"."===_.peek(1)?(m+=_.next()+_.next(),[m,"TK_OPERATOR"]):[m,"TK_DOT"];if(r(m,d)){for(;_.hasNext()&&r(m+_.peek(),d)&&(m+=_.next(),_.hasNext()););return","===m?[m,"TK_COMMA"]:"="===m?[m,"TK_EQUALS"]:[m,"TK_OPERATOR"]}return[m,"TK_UNKNOWN"]}function a(e){for(var t="",n=0,r=new m(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]/,u=/[01]/,c=/[01234567]/,f=/[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,b,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,E=/([^\n\r\u2028\u2029]*)/g,k=/\/\* 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 m(e),v=!1,y=[];for(var t,n,r,o=null,a=[],s=[];!n||"TK_EOF"!==n.type;){for(r=i(),t=new g(r[1],r[0],h,b);"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 g(r[1],r[0],h,b);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 p={};!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))))}}(p);var f={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},d=[f.before_newline,f.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},m=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}},g=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(++E))||""}function o(t){var n="",o=E;return t&&u(),n=e.charAt(E+1)||"",E=o-1,r(),n}function l(t){for(var n=E;r();)if("\\"===w)r();else{if(-1!==t.indexOf(w))break;if("\n"===w)break}return e.substring(n,E+1)}function u(e){for(var t=0;x.test(o());)r(),"\n"===w&&e&&m&&(T.newLine(!0),t++);return f=t,t}function c(t){var n=E;for(t="/"===o(),r();r();){if(!t&&"*"===w&&"/"===o()){r();break}if(t&&"\n"===w)return e.substring(n,E)}return e.substring(n,E)+w}function p(t){return e.substring(E-t.length,E).toLowerCase()===t}t=t||{},t=n(t,"css"),e=e||"";var f=0,d=t.indent_size?parseInt(t.indent_size,10):4,h=t.indent_char||" ",m=void 0!==t.preserve_newlines&&t.preserve_newlines,g=void 0===t.selector_separator_newline||t.selector_separator_newline,b=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+$/,E=-1,k=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),u(!0)||T.newLine()},T["}"]=function(e){e&&T.newLine(),A.push("}"),u(!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=[],P=!1,N=!1,R=!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(c()),T.newLine(),F&&T.newLine(!0)}else if("/"===w&&"/"===o())I||"{"===M||T.trim(),T.singleSpace(),A.push(c()),T.newLine();else if("@"===w)if(T.preserveSingleSpace(),"{"===o())A.push(l("}"));else{A.push(w);var z=function(e){var t=E,n=l(e);return E=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&&(R=!0))}else"#"===w&&"{"===o()?(T.preserveSingleSpace(),A.push(l("}"))):"{"===w?"}"===o(!0)?(u(),r(),T.singleSpace(),A.push("{"),T["}"](!1),f<2&&v&&0===S&&T.newLine(!0)):(!function(){S++,O+=C}(),T["{"](w),R?(R=!1,P=S>j):P=S>=j):"}"===w?(!function(){S--,O=O.slice(0,-d)}(),T["}"](!0),P=!1,N=!1,j&&j--,f<2&&v&&0===S&&T.newLine(!0)):":"===w?(u(),!P&&!R||p("&")||function(){for(var t=0,n=E+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}()||p("(")?(p(" ")&&" "!==A[A.length-1]&&A.push(" "),":"===o()?(r(),A.push("::")):A.push(":")):(A.push(":"),N||(N=!0,T.singleSpace()))):'"'===w||"'"===w?(T.preserveSingleSpace(),A.push(l(w))):";"===w?(N=!1,A.push(w),u(!0)||T.newLine()):"("===w?p("url")?(A.push(w),u(),r()&&(")"!==w&&'"'!==w&&"'"!==w?A.push(l(")")):E--)):(k++,T.preserveSingleSpace(),A.push(w),u()):")"===w?(A.push(w),k--):","===w?(A.push(w),!u(!0)&&g&&!N&&k<1?T.newLine():T.singleSpace()):(">"===w||"+"===w||"~"===w)&&!N&&k<1?y?(T.singleSpace(),A.push(w),T.singleSpace()):(A.push(w),u(),w&&x.test(w)&&(w="")):"]"===w?A.push(w):"["===w?(T.preserveSingleSpace(),A.push(w)):"="===w?(u(),A.push("="),x.test(w)&&(w="")):(T.preserveSingleSpace(),A.push(w))}var q="";return O&&(q+=O),q+=A.join("").replace(/[\r\n\t ]+$/,""),b&&(q+="\n"),"\n"!==_&&(q=q.replace(/[\n]/g,_)),q}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){"use strict";var r=n(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(31),g=n.n(m),b=n(3),v=(n.n(b),function(e){return function(t){var n=function(n){function r(){return l()(this,r),f()(this,(r.__proto__||a()(r)).apply(this,arguments))}return h()(r,n),c()(r,[{key:"render",value:function(){var n=e?e(this.context.editor,this.props):{settings:this.context.editor};return wp.element.createElement(t,o()({},this.props,n))}}]),r}(b.Component);return n.contextTypes={editor:g.a},n}});t.a=v},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}var o=n(25),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,u=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(100)(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(146),i=n(141),a=n(108);e.exports=r},function(e,t){!function(){e.exports=this.tinymce}()},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){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(213),i=n(23),a="Expected a function";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(381),i=(n.n(o),n(382)),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";function r(e){var t=e.label,n=e.help,r=e.instanceId,o=e.onChange,a=e.options,l=void 0===a?[]:a,c=s()(e,["label","help","instanceId","onChange","options"]),f="inspector-select-control-"+r,d=function(e){return o(e.target.value)};return!u()(l)&&wp.element.createElement(p.a,{label:t,id:f,help:n},wp.element.createElement("select",i()({id:f,className:"blocks-select-control__input",onChange:d,"aria-describedby":n?f+"__help":void 0},c),l.map(function(e){return wp.element.createElement("option",{key:e.value,value:e.value},e.label)})))}var o=n(10),i=n.n(o),a=n(35),s=n.n(a),l=n(177),u=n.n(l),c=n(1),p=(n.n(c),n(78)),f=n(506);n.n(f);t.a=Object(c.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,c=void 0===l?"text":l,p=s()(e,["label","value","help","instanceId","onChange","type"]),f="inspector-text-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(u.a,{label:t,id:f,help:r},wp.element.createElement("input",i()({className:"blocks-text-control__input",type:c,id:f,value:n,onChange:d,"aria-describedby":r?f+"__help":void 0},p)))}var o=n(10),i=n.n(o),a=n(35),s=n.n(a),l=n(1),u=(n.n(l),n(78)),c=n(507);n.n(c);t.a=Object(l.withInstanceId)(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("div",{className:"blocks-color-palette__item-wrapper blocks-color-palette__clear-color"},wp.element.createElement("button",{className:"blocks-color-palette__item",onClick:function(){return r(void 0)},"aria-label":Object(l.__)("Remove color")},wp.element.createElement("span",{className:"blocks-color-palette__clear-color-line"}))))}var o=n(15),i=n.n(o),a=n(510),s=(n.n(a),n(1)),l=(n.n(s),n(0)),u=(n.n(l),n(569)),c=(n.n(u),n(239));t.a=Object(c.a)(function(e){return{colors:e.colors}})(r)},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(124),i=n(182);e.exports=r},function(e,t,n){function r(e,t,n,P,N,R){var L,M=t&E,D=t&k,B=t&O;if(n&&(L=N?n(e,P,N,R):n(e)),void 0!==L)return L;if(!w(e))return e;var I=y(e);if(I){if(L=g(e),!M)return c(e,L)}else{var F=m(e),z=F==S||F==j;if(_(e))return u(e,M);if(F==T||F==C||z&&!N){if(L=D||z?{}:v(e),!M)return D?f(e,l(L,e)):p(e,s(L,e))}else{if(!A[F])return N?e:{};L=b(e,F,r,M)}}R||(R=new o);var q=R.get(e);if(q)return q;R.set(e,L);var H=B?D?h:d:D?keysIn:x,U=I?void 0:H(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(L,i,r(o,t,n,i,e,R))}),L}var o=n(107),i=n(181),a=n(140),s=n(385),l=n(386),u=n(240),c=n(148),p=n(387),f=n(388),d=n(194),h=n(173),m=n(136),g=n(389),b=n(390),v=n(242),y=n(13),_=n(90),w=n(23),x=n(44),E=1,k=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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(540),i=r(o),a=n(541),s=r(a),l=n(542),u=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=u.default},function(e,t){!function(){e.exports=this.ReactDOMServer}()},,,function(e,t){function n(e){return function(){return e}}e.exports=n},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){var r=n(413),o=n(31),i=r?function(e){return r.get(e)}:o;e.exports=i},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 u=e(t,n,r);return u>-1?s[l?t[u]:u]:void 0}}var o=n(34),i=n(40),a=n(44);e.exports=r},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,c=t.length,p=!1;++r<c;){var f=u(t[r]);if(!(p=null!=e&&n(e,f)))break;e=e[f]}return p||++r!=c?p:!!(c=null==e?0:e.length)&&l(c)&&s(f,c)&&(a(e)||i(e))}var o=n(73),i=n(87),a=n(13),s=n(91),l=n(135),u=n(65);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){function r(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}var o=n(13);e.exports=r},function(e,t,n){var r=n(62)("meta"),o=n(36),i=n(38),a=n(29).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(43)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},p=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";c(e)}return e[r].i},f=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},d=function(e){return u&&h.NEED&&l(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},function(e,t,n){var r=n(42),o=n(206).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){function r(e,t,n){var r=-1,p=i,f=e.length,d=!0,h=[],m=h;if(n)d=!1,p=a;else if(f>=c){var g=t?null:l(e);if(g)return u(g);d=!1,p=s,m=new o}else m=t?[]:h;e:for(;++r<f;){var b=e[r],v=t?t(b):b;if(b=n||0!==b?b:0,d&&v===v){for(var y=m.length;y--;)if(m[y]===v)continue e;t&&m.push(v),h.push(b)}else p(m,v,n)||(m!==h&&m.push(v),h.push(b))}return h}var o=n(132),i=n(176),a=n(211),s=n(133),l=n(364),u=n(99),c=200;e.exports=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){e.exports={default:n(464),__esModule:!0}},function(e,t,n){"use strict";e.exports=n(379)},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(246)},function(e,t,n){var r=n(175),o=n(118),i=n(94),a=n(142),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){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(66),i=n(40);e.exports=r},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){n(276);var r=n(12).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(24);r(r.S+r.F*!n(30),"Object",{defineProperty:n(29).f})},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 m=t[r];if("function"!=typeof m)throw new TypeError(c);if(i&&!g&&"wrapper"==s(m))var g=new o([],!0)}for(r=g?r:n;++r<n;){m=t[r];var b=s(m),v="wrapper"==b?a(m):void 0;g=v&&u(v[0])&&v[1]==(d|p|f|h)&&!v[4].length&&1==v[9]?g[s(v[0])].apply(g,v[3]):1==m.length&&u(m)?g[b]():g.thru(m)}return function(){var e=arguments,r=e[0];if(g&&1==e.length&&l(r))return g.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(215),i=n(160),a=n(258),s=n(286),l=n(13),u=n(414),c="Expected a function",p=8,f=32,d=128,h=256;e.exports=r},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(118);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(50),i=n(87),a=n(13),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(45),i=n(33),a="[object Arguments]";e.exports=r},function(e,t,n){var r=n(256),o=n(187),i=n(59),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){function r(e){return!(!a(e)||i(e))&&(o(e)?h:u).test(s(e))}var o=n(119),i=n(283),a=n(23),s=n(188),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,f=c.toString,d=p.hasOwnProperty,h=RegExp("^"+f.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(284),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(25),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(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(433),i=Object.prototype,a=i.hasOwnProperty;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,u.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,u.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,u.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,u.default)(o)))}Object.defineProperty(t,"__esModule",{value:!0});var l=n(27),u=function(e){return e&&e.__esModule?e:{default:e}}(l);t.attributeListToReact=i,t.nodeListToReact=a,t.nodeToReact=s;var c=["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"],p=["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],f=["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(c,p,f).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";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(u.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 u=n(436)},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(290),i=n(324),a=n(202);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var p=n[l];if(c&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++l<u;){p=n[l];var f=p[0],d=e[f],h=p[1];if(c&&p[2]){if(void 0===d&&!(f in e))return!1}else{var m=new o;if(r)var g=r(d,h,f,e,t,m);if(!(void 0===g?i(h,d,a|s,r,m):g))return!1}}return!0}var o=n(107),i=n(131),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(96),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(96);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(96);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(96);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(95);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(95),i=n(129),a=n(130),s=200;e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(302),i=n(95),a=n(129);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(303),i=n(304),a=n(305),s=n(306),l=n(307);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(97);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(97),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(97),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(97),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(98);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(98);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(98);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(98);e.exports=r},function(e,t,n){function r(e,t,n,r,g,v){var y=u(e),_=u(t),w=y?h:l(e),x=_?h:l(t);w=w==d?m:w,x=x==d?m:x;var E=w==m,k=x==m,O=w==x;if(O&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(O&&!E)return v||(v=new o),y||p(e)?i(e,t,n,r,g,v):a(e,t,w,n,r,g,v);if(!(n&f)){var C=E&&b.call(e,"__wrapped__"),S=k&&b.call(t,"__wrapped__");if(C||S){var j=C?e.value():e,T=S?t.value():t;return v||(v=new o),g(j,T,n,r,v)}}return!!O&&(v||(v=new o),s(e,t,n,r,g,v))}var o=n(107),i=n(190),a=n(316),s=n(317),l=n(136),u=n(13),c=n(90),p=n(123),f=1,d="[object Arguments]",h="[object Array]",m="[object Object]",g=Object.prototype,b=g.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,E,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||!E(new i(e),new i(t)));case f:case d:case g:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case m:var C=l;case v:var S=r&c;if(C||(C=u),e.size!=t.size&&!S)return!1;var j=O.get(e);if(j)return j==t;r|=p,O.set(e,t);var T=s(C(e),C(t),r,o,E,O);return O.delete(e),T;case _:if(k)return k.call(e)==k.call(t)}return!1}var o=n(50),i=n(192),a=n(82),s=n(190),l=n(193),u=n(99),c=1,p=2,f="[object Boolean]",d="[object Date]",h="[object Error]",m="[object Map]",g="[object Number]",b="[object RegExp]",v="[object Set]",y="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",E=o?o.prototype:void 0,k=E?E.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,l){var u=n&i,c=o(e),p=c.length;if(p!=o(t).length&&!u)return!1;for(var f=p;f--;){var d=c[f];if(!(u?d in t:s.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var m=!0;l.set(e,t),l.set(t,e);for(var g=u;++f<p;){d=c[f];var b=e[d],v=t[d];if(r)var y=u?r(v,b,d,t,e,l):r(b,v,d,e,t,l);if(!(void 0===y?b===v||a(b,v,n,r,l):y)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return l.delete(e),l.delete(t),m}var o=n(194),i=1,a=Object.prototype,s=a.hasOwnProperty;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(45),i=n(135),a=n(33),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(147),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(100)(e))},function(e,t,n){var r=n(199),o=r(Object.keys,Object);e.exports=o},function(e,t,n){var r=n(51),o=n(25),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(51),o=n(25),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(201),i=n(44);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?u(c(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,p|f)}}var o=n(131),i=n(47),a=n(203),s=n(137),l=n(201),u=n(202),c=n(65),p=1,f=2;e.exports=r},function(e,t,n){var r=n(327),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(328),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(130),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(261),i=n(331),a=n(137),s=n(65);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(109);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(204),i=1/0,a=1.7976931348623157e308;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(40);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){var n;return o(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}var o=n(66);e.exports=r},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")}])},function(e,t,n){e.exports={default:n(339),__esModule:!0}},function(e,t,n){n(69),n(111),e.exports=n(138).f("iterator")},function(e,t,n){"use strict";var r=n(341),o=n(342),i=n(46),a=n(42);e.exports=n(149)(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){e.exports={default:n(344),__esModule:!0}},function(e,t,n){n(345),n(234),n(348),n(349),e.exports=n(12).Symbol},function(e,t,n){"use strict";var r=n(22),o=n(38),i=n(30),a=n(24),s=n(150),l=n(263).KEY,u=n(43),c=n(79),p=n(81),f=n(62),d=n(20),h=n(138),m=n(139),g=n(346),b=n(347),v=n(28),y=n(42),_=n(86),w=n(49),x=n(104),E=n(264),k=n(207),O=n(29),C=n(55),S=k.f,j=O.f,T=E.f,A=r.Symbol,P=r.JSON,N=P&&P.stringify,R=d("_hidden"),L=d("toPrimitive"),M={}.propertyIsEnumerable,D=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),F=Object.prototype,z="function"==typeof A,q=r.QObject,H=!q||!q.prototype||!q.prototype.findChild,U=i&&u(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,R)&&e[R][t]&&(e[R][t]=!1),n=x(n,{enumerable:w(0,!1)})):(o(e,R)||j(e,R,w(1,{})),e[R][t]=!0),U(e,t,n)):j(e,t,n)},G=function(e,t){v(e);for(var n,r=g(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,R)&&this[R][e])||t)},Y=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,R)&&e[R][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=T(y(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==R||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=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(I,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),U(this,e,w(1,n))};return i&&H&&U(F,e,{configurable:!0,set:t}),K(e)},s(A.prototype,"toString",function(){return this._k}),k.f=Y,O.f=W,n(206).f=E.f=Z,n(72).f=X,n(106).f=Q,i&&!n(88)&&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;)m(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(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:$,defineProperty:W,defineProperties:G,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),P&&a(a.S+a.F*(!z||u(function(){var e=A();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(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&&b(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,N.apply(P,r)}}}),A.prototype[L]||n(39)(A.prototype,L,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(55),o=n(106),i=n(72);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(60);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){n(139)("asyncIterator")},function(e,t,n){n(139)("observable")},function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=i(t,e);for(var u=-1,c=t.length,p=c-1,f=e;null!=f&&++u<c;){var d=l(t[u]),h=n;if(u!=p){var m=f[d];h=r?r(m,d,f):void 0,void 0===h&&(h=s(m)?m:a(t[u+1])?[]:{})}o(f,d,h),f=f[d]}return e}var o=n(140),i=n(73),a=n(91),s=n(23),l=n(65);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(23),i=n(108),a=n(352),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){"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){return x.a.apply(void 0,g()([e.chars,t.chars].map(o)))}function s(e){return e.replace(P,"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 k()(t)}function u(e,t){if(e.length!==t.length)return!1;var n=[e,t].map(k.a),r=v()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return!1;var s=o[a],l=i[a],u=M[a];if(u){if(!u(s,l))return!1}else if(s!==l)return!1}return!0}function c(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!A.test(t.chars))return t}}function p(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=c(o);){if(!(s=c(i)))return!1;if(a.type!==s.type)return!1;var l=D[a.type];if(l&&!l(a,s))return!1}for(;s=c(i);)return!1;return!0}function f(e,t,n){var r=void 0;try{r=Object(j.e)(t,n)}catch(e){return!1}return p(e,r)}t.a=f;var d=n(443),h=n.n(d),m=n(27),g=n.n(m),b=n(209),v=n.n(b),y=n(174),_=n.n(y),w=n(83),x=n.n(w),E=n(444),k=n.n(E),O=n(445),C=n.n(O),S=n(447),j=(n.n(S),n(236)),T=/[\t\n\r\v\f ]+/g,A=/^[\t\n\r\v\f ]*$/,P=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,N=["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"],R=["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(N,R),M={class:function(e,t){return!C.a.apply(void 0,g()([e,t].map(r))).length},style:function(e,t){return x.a.apply(void 0,g()([e,t].map(l)))}},D={StartTag:function(e,t){return e.tagName===t.tagName&&u.apply(void 0,g()([e,t].map(i)))},Chars:a,Comment:a}},function(e,t,n){e.exports={default:n(355),__esModule:!0}},function(e,t,n){n(111),n(69),e.exports=n(356)},function(e,t,n){var r=n(122),o=n(20)("iterator"),i=n(46);e.exports=n(12).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(358),__esModule:!0}},function(e,t,n){n(111),n(69),e.exports=n(359)},function(e,t,n){var r=n(28),o=n(121);e.exports=n(12).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(363),i=n(44);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(64);e.exports=r},function(e,t,n){var r=n(200),o=n(31),i=n(99),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";var r=n(143),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){n(368),e.exports=n(12).Object.getPrototypeOf},function(e,t,n){var r=n(56),o=n(151);n(178)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){e.exports={default:n(370),__esModule:!0}},function(e,t,n){n(371),e.exports=n(12).Object.setPrototypeOf},function(e,t,n){var r=n(24);r(r.S,"Object",{setPrototypeOf:n(372).set})},function(e,t,n){var r=n(36),o=n(28),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(53)(Function.call,n(207).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(374),__esModule:!0}},function(e,t,n){n(375);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(24);r(r.S,"Object",{create:n(104)})},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(3));n.n(i)},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(77),i=n(82);e.exports=r},function(e,t,n){var r=n(25),o=function(){return r.Date.now()};e.exports=o},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,u=n.offsetLeft||0,c=n.offsetBottom||0,p=n.offsetRight||0;r=void 0===r||r;var f=o.isWindow(t),d=o.offset(e),h=o.outerHeight(e),m=o.outerWidth(e),g=void 0,b=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,E=void 0,k=void 0,O=void 0;f?(x=t,O=o.height(x),k=o.width(x),E={left:o.scrollLeft(x),top:o.scrollTop(x)},_={left:d.left-E.left-u,top:d.top-E.top-l},w={left:d.left+m-(E.left+k)+p,top:d.top+h-(E.top+O)+c},y=E):(g=o.offset(t),b=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-u,top:d.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-l},w={left:d.left+m-(g.left+v+(parseFloat(o.css(t,"borderRightWidth"))||0))+p,top:d.top+h-(g.top+b+(parseFloat(o.css(t,"borderBottomWidth"))||0))+c}),_.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(380);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 u(e,t){var n=e[k]&&e[k][t];if(x.test(n)&&!E.test(t)){var r=e.style,o=r[C],i=e[O][C];e[O][C]=e[k][C],r[C]="fontSize"===t?"1em":n||0,n=r.pixelLeft+S,r[C]=o,e[O][C]=i}return""===n?"auto":n}function c(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(e){return"border-box"===j(e,"boxSizing")}function f(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 m(e,t,n){if(h(e))return"width"===t?R.viewportWidth(e):R.viewportHeight(e);if(9===e.nodeType)return"width"===t?R.docWidth(e):R.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=j(e),a=p(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?N:A);var l=void 0!==o||a,u=o||s;if(n===A)return l?u-d(e,["border","padding"],r,i):s;if(l){var c=n===P?-d(e,["border"],r,i):d(e,["margin"],r,i);return u+(n===N?0:c)}return s+d(e,T.slice(n),r,i)}function g(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=m.apply(void 0,n):f(e,L,function(){t=m.apply(void 0,n)}),t}function b(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)&&b(e,o,t[o])}}function v(e,t){"static"===b(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(b(e,i))||0,r[i]=o+t[i]-n[i]);b(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"),E=/^(top|right|bottom|left)$/,k="currentStyle",O="runtimeStyle",C="left",S="px",j=void 0;"undefined"!=typeof window&&(j=window.getComputedStyle?l:u);var T=["margin","border","padding"],A=-1,P=2,N=1,R={};c(["Width","Height"],function(e){R["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],R["viewport"+e](n))},R["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"};c(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);R["outer"+t]=function(t,n){return t&&g(t,e,n?0:N)};var n="width"===e?["Left","Right"]:["Top","Bottom"];R[e]=function(t,r){if(void 0===r)return t&&g(t,e,A);if(t){var o=j(t);return p(t)&&(r+=d(t,["padding","border"],n,o)),b(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:c,css:b,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},R)},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&&u.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return u.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(485),u=n(486);t.parse=o,t.resolve=a,t.resolveObject=s,t.format=i,t.Url=r;var c=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(d),m=["'"].concat(h),g=["%","/","?",";","#"].concat(m),b=["/","?","#"],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},E=n(382);r.prototype.parse=function(e,t,n){if(!u.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 p=f.exec(s);if(p)return this.path=s,this.href=s,this.pathname=p[1],p[2]?(this.search=p[2],this.query=t?E.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var d=c.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 k="//"===s.substr(0,2);!k||d&&w[d]||(s=s.substr(2),this.slashes=!0)}if(!w[d]&&(k||d&&!x[d])){for(var O=-1,C=0;C<b.length;C++){var S=s.indexOf(b[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<g.length;C++){var S=s.indexOf(g[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 P=this.hostname.split(/\./),C=0,N=P.length;C<N;C++){var R=P[C];if(R&&!R.match(v)){for(var L="",M=0,D=R.length;M<D;M++)R.charCodeAt(M)>127?L+="x":L+=R[M];if(!L.match(v)){var B=P.slice(0,C),I=P.slice(C+1),F=R.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:"",q=this.hostname||"";this.host=q+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,N=m.length;C<N;C++){var H=m[C];if(-1!==s.indexOf(H)){var U=encodeURIComponent(H);U===H&&(U=escape(H)),s=s.split(H).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=E.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&&u.isObject(this.query)&&Object.keys(this.query).length&&(i=E.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(u.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 c=s[l];"protocol"!==c&&(n[c]=e[c])}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 p=Object.keys(e),f=0;f<p.length;f++){var d=p[f];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 m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||b||n.host&&e.pathname,_=y,E=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],k=n.protocol&&!x[n.protocol];if(k&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.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]||""===E[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,E=h;else if(h.length)E||(E=[]),E.pop(),E=E.concat(h),n.search=e.search,n.query=e.query;else if(!u.isNullOrUndefined(e.search)){if(k){n.hostname=n.host=E.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,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],S=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,j=0,T=E.length;T>=0;T--)C=E[T],"."===C?E.splice(T,1):".."===C?(E.splice(T,1),j++):j&&(E.splice(T,1),j--);if(!y&&!_)for(;j--;j)E.unshift("..");!y||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),S&&"/"!==E.join("/").substr(-1)&&E.push("");var A=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(k){n.hostname=n.host=A?"":E.length?E.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&&E.length,y&&!A&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.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=p.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){"use strict";t.decode=t.parse=n(487),t.encode=t.stringify=n(488)},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return b});var r=n(492),o=n.n(r),i=n(172),a=n.n(i),s=n(44),l=n.n(s),u=n(494),c=n.n(u),p=n(83),f=n.n(p),d=n(270),h=n.n(d),m=function(e){return o()(e,"aria-")},g=function(e){return a()(e,function(e,t){return m(t)&&!c()(e)})},b=function(e,t){var n=l()(g(e)),r=l()(g(t));return{removedKeys:h()(n,r),updatedKeys:r.filter(function(n){return!f()(e[n],t[n])})}}},function(e,t,n){var r=n(77),o=n(419),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 e&&o(t,i(t),e)}var o=n(74),i=n(44);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(74),i=n(125);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(74),i=n(134);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(74),i=n(208);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 p:case f:return new A(+e);case _:return i(e,r);case w:case x:case E:case k:case O:case C:case S:case j:case T:return c(e,r);case d:return a(e,r,n);case h:case b:return new A(e);case m:return s(e);case g:return l(e,r,n);case v:return u(e)}}var o=n(145),i=n(391),a=n(392),s=n(394),l=n(395),u=n(397),c=n(241),p="[object Boolean]",f="[object Date]",d="[object Map]",h="[object Number]",m="[object RegExp]",g="[object Set]",b="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",E="[object Int8Array]",k="[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(393),i=n(110),a=n(193),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(396),i=n(110),a=n(99),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(50),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;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.Checkboard=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(521),u=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),c=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,l=e.boxShadow,c=(0,s.default)({default:{grid:{borderRadius:a,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+u.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:c.grid})};c.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=c},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}}(),u=n(2),c=r(u),p=n(213),f=r(p),d=n(68),h=r(d),m=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,f.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),c.default.createElement(e,s({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(u.PureComponent||u.Component);return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=m},function(e,t,n){e.exports=n(180)},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 u}),n.d(t,"cyan",function(){return c}),n.d(t,"teal",function(){return p}),n.d(t,"green",function(){return f}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return m}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return b}),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 E}),n.d(t,"darkIcons",function(){return k}),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"},u={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"},c={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"},p={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"},f={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"},m={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"},g={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"},b={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)"},E={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)"},k={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:u,cyan:c,teal:p,green:f,lightGreen:d,lime:h,yellow:m,amber:g,orange:b,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:E,darkIcons:k,lightIcons:O,white:C,black:S}},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return i(e,n)})}var o=n(235),i=n(203);e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(15),h=n.n(d),m=n(590),g=(n.n(m),n(0)),b=(n.n(g),n(3)),v=(n.n(b),n(1)),y=(n.n(v),n(183)),_=function(e){function t(){a()(this,t);var e=c()(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 f()(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(g.__)("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(g.__)("Close"),onClick:this.toggle}),wp.element.createElement(y.a,{value:t||"",onChange:n}),wp.element.createElement(v.IconButton,{icon:"editor-break",label:Object(g.__)("Submit"),type:"submit"})))}}]),t}(b.Component);t.a=_},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(66);e.exports=r},function(e,t,n){function r(e){return e=o(e),e&&s.test(e)?e.replace(a,i):e}var o=n(63),i=n(639),a=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(a.source);e.exports=r},function(e,t,n){function r(e,t){if((e=a(e))<1||e>s)return[];var n=l,r=u(e,l);t=i(t),e-=l;for(var c=o(r,t);++n<e;)t(n);return c}var o=n(230),i=n(182),a=n(57),s=9007199254740991,l=4294967295,u=Math.min;e.exports=r},,,,,,function(e,t,n){var r=n(220),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(221),i=n(258),a=n(286),s=n(434);e.exports=r},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(437),i=n(438);e.exports=r},function(e,t,n){e.exports={default:n(439),__esModule:!0}},function(e,t,n){e.exports={default:n(448),__esModule:!0}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,l],p=0;u=new Error(t.replace(/%s/g,function(){return c[p++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=r},function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:i,u=t?t():{};return l(n,e,a(r,2),u)}}var o=n(497),i=n(498),a=n(34),s=n(13);e.exports=r},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(429),n(16));n.d(t,"source",function(){return r.q}),n.d(t,"createBlock",function(){return r.a}),n.d(t,"switchToBlockType",function(){return r.r}),n.d(t,"parse",function(){return r.k}),n.d(t,"getSourcedAttributes",function(){return r.h}),n.d(t,"rawHandler",function(){return r.l}),n.d(t,"serialize",function(){return r.n}),n.d(t,"getBlockDefaultClassname",function(){return r.c}),n.d(t,"getBlockContent",function(){return r.b}),n.d(t,"isValidBlock",function(){return r.j}),n.d(t,"getCategories",function(){return r.f}),n.d(t,"registerBlockType",function(){return r.m}),n.d(t,"unregisterBlockType",function(){return r.s}),n.d(t,"setUnknownTypeHandlerName",function(){return r.p}),n.d(t,"getUnknownTypeHandlerName",function(){return r.i}),n.d(t,"setDefaultBlockName",function(){return r.o}),n.d(t,"getDefaultBlockName",function(){return r.g}),n.d(t,"getBlockType",function(){return r.d}),n.d(t,"getBlockTypes",function(){return r.e});var o=n(179);n.d(t,"AlignmentToolbar",function(){return o.a});var i=n(41);n.d(t,"BlockAlignmentToolbar",function(){return i.a});var a=n(26);n.d(t,"BlockControls",function(){return a.a});var s=n(18);n.d(t,"BlockDescription",function(){return s.a});var l=n(376);n.d(t,"BlockIcon",function(){return l.a});var u=n(249);n.d(t,"ColorPalette",function(){return u.a});var c=n(32);n.d(t,"Editable",function(){return c.a});var p=n(657);n.d(t,"EditableProvider",function(){return p.a});var f=n(17);n.d(t,"InspectorControls",function(){return f.a});var d=n(115);n.d(t,"MediaUploadButton",function(){return d.a});var h=n(183);n.d(t,"UrlInput",function(){return h.a});var m=n(404);n.d(t,"UrlInputButton",function(){return m.a})},function(e,t,n){"use strict";n(430),n(571),n(592),n(597),n(599),n(602),n(605),n(607),n(609),n(611),n(614),n(617),n(621),n(623),n(629),n(631),n(634),n(638),n(643),n(646),n(648),n(651),n(653),n(655)},function(e,t,n){"use strict";var r=n(116),o=n.n(r),i=n(15),a=n.n(i),s=n(0),l=(n.n(s),n(3)),u=(n.n(l),n(1)),c=(n.n(u),n(431)),p=(n.n(c),n(16)),f=n(179),d=n(41),h=n(26),m=n(471),g=n(32),b=n(17),v=n(67),y=n(114),_=n(249),w=n(18),x=p.q.children;Object(p.m)("core/paragraph",{title:Object(s.__)("Paragraph"),icon:"editor-paragraph",category:"common",keywords:[Object(s.__)("text")],className:!1,attributes:{content:{type:"array",source:x("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(l.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:function(e){var t,n=e.attributes,r=e.setAttributes,i=e.insertBlocksAfter,l=e.focus,c=e.setFocus,x=e.mergeBlocks,E=e.onReplace,k=n.align,O=n.content,C=n.dropCap,S=n.placeholder,j=n.fontSize,T=n.backgroundColor,A=n.textColor,P=n.width,N=function(){return r({dropCap:!C})},R=C?"has-drop-cap":null;return[l&&wp.element.createElement(h.a,{key:"controls"},wp.element.createElement(f.a,{value:k,onChange:function(e){r({align:e})}})),l&&wp.element.createElement(b.a,{key:"inspector"},wp.element.createElement(w.a,null,wp.element.createElement("p",null,Object(s.__)("Text. Great things start here."))),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Text Settings")},wp.element.createElement(v.a,{label:Object(s.__)("Drop Cap"),checked:!!C,onChange:N}),wp.element.createElement(y.a,{label:Object(s.__)("Font Size"),value:j||"",onChange:function(e){return r({fontSize:e})},min:10,max:200,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Background Color")},wp.element.createElement(_.a,{value:T,onChange:function(e){return r({backgroundColor:e})}})),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Text Color")},wp.element.createElement(_.a,{value:A,onChange:function(e){return r({textColor:e})}})),wp.element.createElement(u.PanelBody,{title:Object(s.__)("Block Alignment")},wp.element.createElement(d.a,{value:P,onChange:function(e){return r({width:e})}}))),wp.element.createElement(m.a,{key:"editable",onReplace:E},wp.element.createElement(g.a,{tagName:"p",className:a()("wp-block-paragraph",R,(t={},o()(t,"align"+P,P),o()(t,"has-background",T),t)),style:{backgroundColor:T,color:A,fontSize:j?j+"px":void 0,textAlign:k},value:O,onChange:function(e){r({content:e})},focus:l,onFocus:c,onSplit:function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];r({content:e}),i([].concat(o,[Object(p.a)("core/paragraph",{content:t})]))},onMerge:x,onReplace:E,placeholder:S||Object(s.__)("Add text or type / to insert content")}))]},save:function(e){var t,n=e.attributes,r=n.width,i=n.align,s=n.content,l=n.dropCap,u=n.backgroundColor,c=n.textColor,p=n.fontSize,f=a()((t={},o()(t,"align"+r,r),o()(t,"has-background",u),o()(t,"has-drop-cap",l),t)),d={backgroundColor:u,color:c,fontSize:p,textAlign:i};return wp.element.createElement("p",{style:d,className:f||void 0},s)}}),Object(p.o)("core/paragraph")},function(e,t){},function(e,t,n){"use strict";function r(e){return i()(e,function(e){return e._wpBlocksKnownSource=!0,e})}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"attr",function(){return u}),n.d(t,"prop",function(){return c}),n.d(t,"html",function(){return p}),n.d(t,"text",function(){return f}),n.d(t,"query",function(){return d}),n.d(t,"children",function(){return h}),n.d(t,"node",function(){return m});var o=n(214),i=n.n(o),a=n(3),s=(n.n(a),n(287)),l=(n.n(s),n(288)),u=r(l.a),c=r(l.d),p=r(l.b),f=r(l.f),d=r(l.e),h=r(function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(s.nodeListToReact)(n.childNodes||[],a.createElement):[]}}),m=r(function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(s.nodeToReact)(n,a.createElement)}})},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(p.call(e,"__wrapped__"))return u(e)}return new i(e)}var o=n(221),i=n(215),a=n(216),s=n(13),l=n(33),u=n(435),c=Object.prototype,p=c.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(221),i=n(215),a=n(148);e.exports=r},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){(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(103))},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(440),e.exports=n(12).Object.values},function(e,t,n){var r=n(24),o=n(441)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(55),o=n(42),i=n(72).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,u=0,c=[];l>u;)i.call(a,n=s[u++])&&c.push(e?[n,a[n]]:a[n]);return c}}},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=Oe[t];if(r)return r;for(n=t-1;!Oe[n];)n--;for(r=Oe[n],r={line:r.line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return Oe[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){Ee<Ce||(Ee>Ce&&(Ce=Ee,Se=[]),Se.push(e))}function u(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function c(){return p()}function p(){var e,t;for(e=[],t=f();t!==P;)e.push(t),t=f();return e}function f(){var e;return e=d(),e===P&&(e=h())===P&&(e=m())===P&&(e=g()),e}function d(){var t,n,r,o,i,a,s,u,c,p,f,d,h;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){for(r=[],o=S();o!==P;)r.push(o),o=S();if(r!==P)if(e.substr(Ee,4)===D?(o=D,Ee+=4):(o=P,0===je&&l(B)),o!==P){if(i=Ee,a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;if(a!==P){for(s=Ee,u=[],c=Ee,p=Ee,je++,f=Ee,d=[],h=S();h!==P;)d.push(h),h=S();if(d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(d=[d,h],f=d):(Ee=f,f=P)):(Ee=f,f=P),je--,f===P?p=void 0:(Ee=p,p=P),p!==P?(e.length>Ee?(f=e.charAt(Ee),Ee++):(f=P,0===je&&l(z)),f!==P?(p=[p,f],c=p):(Ee=c,c=P)):(Ee=c,c=P),c!==P)for(;c!==P;){for(u.push(c),c=Ee,p=Ee,je++,f=Ee,d=[],h=S();h!==P;)d.push(h),h=S();d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(d=[d,h],f=d):(Ee=f,f=P)):(Ee=f,f=P),je--,f===P?p=void 0:(Ee=p,p=P),p!==P?(e.length>Ee?(f=e.charAt(Ee),Ee++):(f=P,0===je&&l(z)),f!==P?(p=[p,f],c=p):(Ee=c,c=P)):(Ee=c,c=P)}else u=P;s=u!==P?e.substring(s,Ee):u,s!==P?(ke=i,a=q(s),i=a):(Ee=i,i=P)}else Ee=i,i=P;if(i===P&&(i=null),i!==P){for(a=[],s=S();s!==P;)a.push(s),s=S();if(a!==P)if(e.substr(Ee,3)===I?(s=I,Ee+=3):(s=P,0===je&&l(F)),s!==P){for(u=Ee,c=[],p=S();p!==P;)c.push(p),p=S();c!==P?(e.substr(Ee,15)===H?(p=H,Ee+=15):(p=P,0===je&&l(U)),p!==P?(c=[c,p],u=c):(Ee=u,u=P)):(Ee=u,u=P),u===P&&(u=null),u!==P?(ke=t,n=K(i,u),t=n):(Ee=t,t=P)}else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P}else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function h(){var t,n,r,o,i,a,s,u,c,p;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){if(r=[],(o=S())!==P)for(;o!==P;)r.push(o),o=S();else r=P;if(r!==P)if(e.substr(Ee,3)===V?(o=V,Ee+=3):(o=P,0===je&&l(W)),o!==P)if((i=y())!==P){if(a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;if(a!==P){if(s=Ee,(u=x())!==P){if(c=[],(p=S())!==P)for(;p!==P;)c.push(p),p=S();else c=P;c!==P?(ke=s,u=G(i,u),s=u):(Ee=s,s=P)}else Ee=s,s=P;s===P&&(s=null),s!==P?(e.substr(Ee,4)===$?(u=$,Ee+=4):(u=P,0===je&&l(X)),u!==P?(ke=t,n=Y(i,s),t=n):(Ee=t,t=P)):(Ee=t,t=P)}else Ee=t,t=P}else Ee=t,t=P;else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function m(){var e,t,n,r,o,i;if(e=Ee,(t=b())!==P){for(n=[],r=Ee,o=Ee,je++,i=v(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=j(),i!==P?(ke=r,o=Z(t,i),r=o):(Ee=r,r=P)):(Ee=r,r=P);r!==P;)n.push(r),r=Ee,o=Ee,je++,i=v(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=j(),i!==P?(ke=r,o=Z(t,i),r=o):(Ee=r,r=P)):(Ee=r,r=P);n!==P?(r=v(),r!==P?(ke=Ee,o=Q(t,n,r),o=o?void 0:P,o!==P?(ke=e,t=J(t,n,r),e=t):(Ee=e,e=P)):(Ee=e,e=P)):(Ee=e,e=P)}else Ee=e,e=P;return e}function g(){var e,t,n,r,o,i,a;if(e=Ee,t=[],n=Ee,r=Ee,je++,o=m(),je--,o===P?r=void 0:(Ee=r,r=P),r!==P?(o=Ee,je++,i=h(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=Ee,je++,a=d(),je--,a===P?i=void 0:(Ee=i,i=P),i!==P?(a=j(),a!==P?(ke=n,r=ee(a),n=r):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P),n!==P)for(;n!==P;)t.push(n),n=Ee,r=Ee,je++,o=m(),je--,o===P?r=void 0:(Ee=r,r=P),r!==P?(o=Ee,je++,i=h(),je--,i===P?o=void 0:(Ee=o,o=P),o!==P?(i=Ee,je++,a=d(),je--,a===P?i=void 0:(Ee=i,i=P),i!==P?(a=j(),a!==P?(ke=n,r=ee(a),n=r):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P)):(Ee=n,n=P);else t=P;return t!==P&&(ke=e,t=te(t)),e=t}function b(){var t,n,r,o,i,a,s,u,c,p;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){if(r=[],(o=S())!==P)for(;o!==P;)r.push(o),o=S();else r=P;if(r!==P)if(e.substr(Ee,3)===V?(o=V,Ee+=3):(o=P,0===je&&l(W)),o!==P)if((i=y())!==P){if(a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;if(a!==P){if(s=Ee,(u=x())!==P){if(c=[],(p=S())!==P)for(;p!==P;)c.push(p),p=S();else c=P;c!==P?(ke=s,u=G(i,u),s=u):(Ee=s,s=P)}else Ee=s,s=P;s===P&&(s=null),s!==P?(e.substr(Ee,3)===I?(u=I,Ee+=3):(u=P,0===je&&l(F)),u!==P?(ke=t,n=ne(i,s),t=n):(Ee=t,t=P)):(Ee=t,t=P)}else Ee=t,t=P}else Ee=t,t=P;else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function v(){var t,n,r,o,i,a,s;if(t=Ee,e.substr(Ee,4)===L?(n=L,Ee+=4):(n=P,0===je&&l(M)),n!==P){if(r=[],(o=S())!==P)for(;o!==P;)r.push(o),o=S();else r=P;if(r!==P)if(e.substr(Ee,4)===re?(o=re,Ee+=4):(o=P,0===je&&l(oe)),o!==P)if((i=y())!==P){if(a=[],(s=S())!==P)for(;s!==P;)a.push(s),s=S();else a=P;a!==P?(e.substr(Ee,3)===I?(s=I,Ee+=3):(s=P,0===je&&l(F)),s!==P?(ke=t,n=ie(i),t=n):(Ee=t,t=P)):(Ee=t,t=P)}else Ee=t,t=P;else Ee=t,t=P;else Ee=t,t=P}else Ee=t,t=P;return t}function y(){var e;return e=_(),e===P&&(e=w()),e}function _(){var t,n,r,o,i,a,s,u;if(t=Ee,n=Ee,(r=k())!==P){for(o=[],i=E();i!==P;)o.push(i),i=E();if(o!==P)if(47===e.charCodeAt(Ee)?(i=ae,Ee++):(i=P,0===je&&l(se)),i!==P)if((a=k())!==P){for(s=[],u=E();u!==P;)s.push(u),u=E();s!==P?(r=[r,o,i,a,s],n=r):(Ee=n,n=P)}else Ee=n,n=P;else Ee=n,n=P;else Ee=n,n=P}else Ee=n,n=P;return t=n!==P?e.substring(t,Ee):n}function w(){var t,n,r,o,i,a;if(t=Ee,n=Ee,r=Ee,(o=k())!==P){for(i=[],a=E();a!==P;)i.push(a),a=E();i!==P?(o=[o,i],r=o):(Ee=r,r=P)}else Ee=r,r=P;return n=r!==P?e.substring(n,Ee):r,n!==P&&(ke=t,n=le(n)),t=n}function x(){var t,n,r,o,i,a,s,u,c,p,f,d,h;if(t=Ee,n=Ee,r=Ee,123===e.charCodeAt(Ee)?(o=ue,Ee++):(o=P,0===je&&l(ce)),o!==P){if(i=[],a=Ee,s=Ee,je++,u=Ee,125===e.charCodeAt(Ee)?(c=pe,Ee++):(c=P,0===je&&l(fe)),c!==P){if(p=[],(f=S())!==P)for(;f!==P;)p.push(f),f=S();else p=P;p!==P?(f=de,f!==P?(47===e.charCodeAt(Ee)?(d=ae,Ee++):(d=P,0===je&&l(se)),d===P&&(d=null),d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(c=[c,p,f,d,h],u=c):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)}else Ee=u,u=P;for(je--,u===P?s=void 0:(Ee=s,s=P),s!==P?(e.length>Ee?(u=e.charAt(Ee),Ee++):(u=P,0===je&&l(z)),u!==P?(s=[s,u],a=s):(Ee=a,a=P)):(Ee=a,a=P);a!==P;){if(i.push(a),a=Ee,s=Ee,je++,u=Ee,125===e.charCodeAt(Ee)?(c=pe,Ee++):(c=P,0===je&&l(fe)),c!==P){if(p=[],(f=S())!==P)for(;f!==P;)p.push(f),f=S();else p=P;p!==P?(f=de,f!==P?(47===e.charCodeAt(Ee)?(d=ae,Ee++):(d=P,0===je&&l(se)),d===P&&(d=null),d!==P?(e.substr(Ee,3)===I?(h=I,Ee+=3):(h=P,0===je&&l(F)),h!==P?(c=[c,p,f,d,h],u=c):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)):(Ee=u,u=P)}else Ee=u,u=P;je--,u===P?s=void 0:(Ee=s,s=P),s!==P?(e.length>Ee?(u=e.charAt(Ee),Ee++):(u=P,0===je&&l(z)),u!==P?(s=[s,u],a=s):(Ee=a,a=P)):(Ee=a,a=P)}i!==P?(125===e.charCodeAt(Ee)?(a=pe,Ee++):(a=P,0===je&&l(fe)),a!==P?(o=[o,i,a],r=o):(Ee=r,r=P)):(Ee=r,r=P)}else Ee=r,r=P;return n=r!==P?e.substring(n,Ee):r,n!==P&&(ke=t,n=he(n)),t=n}function E(){var e;return e=k(),e===P&&(e=O())===P&&(e=C()),e}function k(){var t;return me.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(ge)),t}function O(){var t;return be.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(ve)),t}function C(){var t;return ye.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(_e)),t}function S(){var t;return we.test(e.charAt(Ee))?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(xe)),t}function j(){var t;return e.length>Ee?(t=e.charAt(Ee),Ee++):(t=P,0===je&&l(z)),t}function T(e){try{return JSON.parse(e)}catch(e){return null}}t=void 0!==t?t:{};var A,P={},N={Document:c},R=c,L="\x3c!--",M=n("\x3c!--",!1),D="more",B=n("more",!1),I="--\x3e",F=n("--\x3e",!1),z=function(){return{type:"any"}}(),q=function(e){return e},H="\x3c!--noteaser--\x3e",U=n("\x3c!--noteaser--\x3e",!1),K=function(e,t){return{blockName:"core/more",attrs:{customText:e||void 0,noTeaser:!!t},rawContent:""}},V="wp:",W=n("wp:",!1),G=function(e,t){return t},$="/--\x3e",X=n("/--\x3e",!1),Y=function(e,t){return{blockName:e,attrs:t,rawContent:""}},Z=function(e,t){return t},Q=function(e,t,n){return e.blockName===n.blockName},J=function(e,t,n){return{blockName:e.blockName,attrs:e.attrs,rawContent:t.join("")}},ee=function(e){return e},te=function(e){return{attrs:{},rawContent:e.join("")}},ne=function(e,t){return{blockName:e,attrs:t}},re="/wp:",oe=n("/wp:",!1),ie=function(e){return{blockName:e}},ae="/",se=n("/",!1),le=function(e){return"core/"+e},ue="{",ce=n("{",!1),pe="}",fe=n("}",!1),de="",he=function(e){return T(e)},me=/^[a-zA-Z]/,ge=o([["a","z"],["A","Z"]],!1,!1),be=/^[0-9]/,ve=o([["0","9"]],!1,!1),ye=/^[\-_]/,_e=o(["-","_"],!1,!1),we=/^[ \t\r\n]/,xe=o([" ","\t","\r","\n"],!1,!1),Ee=(o(["\r","\n"],!1,!1),o([" ","\t"],!1,!1),0),ke=0,Oe=[{line:1,column:1}],Ce=0,Se=[],je=0;if("startRule"in t){if(!(t.startRule in N))throw new Error("Can't start parsing from rule \""+t.startRule+'".');R=N[t.startRule]}if((A=R())!==P&&Ee===e.length)return A;throw A!==P&&Ee<e.length&&l(function(){return{type:"end"}}()),u(Se,Ce<e.length?e.charAt(Ce):null,Ce<e.length?s(Ce,Ce+1):s(Ce,Ce))}!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(54),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(153),o=n(94),i=n(446),a=n(142),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 u=e[s],c=-1;++c<r;)c!=s&&(l[s]=o(l[s]||u,e[c],t,n));return a(i(l,1),t,n)}var o=n(175),i=n(118),a=n(265);e.exports=r},function(e,t,n){!function(e,n){n(t)}(0,function(e){"use strict";function t(e){return c.test(e)}function n(e){return p.test(e)}function r(e){return e.replace(f,"\n")}function o(e,t){return new h(new u(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]+)$/,u=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}(),c=/[\t\n\f ]/,p=/[A-Za-z]/,f=/\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=u,e.EventedTokenizer=d,e.Tokenizer=h,e.tokenize=o,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){var r=n(12),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},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(237),n(238),n(450)],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=p,this.indent_body_inner_html=f,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,u=!1,c=this.pos,p=this.line_char_count,f=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=c,this.line_char_count=p),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||!u||f||">"!==o&&"/"!==o||r.match(/^\/?\s*>/)&&(s=!1,f=!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 m=!1;if(C&&l){m=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}l&&!m||(this.print_newline(!1,i),this.print_indentation(i),h=!0)}if(h){u=!0;var g=k;S&&(g=i.indexOf(" ")+1);for(var b=0;b<g;b++)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,E,j=i.join("");w=-1!==j.indexOf(" ")?j.indexOf(" "):-1!==j.indexOf("\n")?j.indexOf("\n"):"{"===j.charAt(0)?j.indexOf("}"):j.indexOf(">"),E="<"!==j.charAt(0)&&x?"#"===j.charAt(2)?3:2:1;var T=j.substring(E,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=c,this.line_char_count=p),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,p,f,d,h,m,g,b,v,y,_,w,x,E,k,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),p=void 0!==t.indent_inner_html&&t.indent_inner_html,f=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),m=void 0===t.indent_char?" ":t.indent_char,b=void 0===t.brace_style?"collapse":t.brace_style,g=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,E=void 0===t.wrap_attributes?"auto":t.wrap_attributes,k=isNaN(parseInt(t.wrap_attributes_indent_size,10))?h:parseInt(t.wrap_attributes_indent_size,10),O="force"===E.substr(0,"force".length),C="force-expand-multiline"===E,S="force-aligned"===E,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&&(m="\t",h=1),"auto"===A&&(A="\n",e&&u.test(e||"")&&(A=e.match(u)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(c,"\n"),l=new o,l.printer(e,m,h,g,b);;){var P=l.get_token();if(l.token_text=P[0],l.token_type=P[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 N=(l.token_text.match(/\w+/)||[])[0],R=null;l.output.length&&(R=l.output[l.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===R||R[1]!==N&&!l.Utils.in_array(R[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 q=function(){this.eol="\n"};q.prototype=t;var H=new q;I=B(I.replace(/^\s*/,z),H)}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 u=/\r\n|[\n\r\u2028\u2029]/,c=new RegExp(u.source,"g");r=[n,n(237),n(238)],void 0!==(o=function(e){var t=n(237),r=n(238);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";function r(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.inline,a=void 0===o?null:o;if(t=t.replace(/<meta[^>]+>/,""),!a&&-1!==t.indexOf("\x3c!-- wp:"))return Object(g.d)(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 a||null===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,[E.a]),t=Object(T.a)(t,[k.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(b.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(m.b)().reduce(function(t,n){if(t)return t;var r=u()(n,"transforms.from",[]),o=p()(r,function(e){return"raw"===e.type});return o&&o.isMatch(e)?Object(h.a)(n.name,Object(g.b)(n,e.outerHTML)):t},null);return t||Object(h.a)(Object(m.d)(),{content:e.outerHTML})});return[].concat(s()(e),s()(r))},[])}t.a=r;var o=n(54),i=n.n(o),a=n(27),s=n.n(a),l=n(47),u=n.n(l),c=n(52),p=n.n(c),f=n(452),d=n.n(f),h=n(168),m=n(93),g=n(233),b=n(365),v=n(453),y=n(454),_=n(366),w=n(455),x=n(456),E=n(457),k=n(458),O=n(459),C=n(460),S=n(461),j=n(462),T=n(143),A=n(463)},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
7
+ (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 u in a.listeners)if(a.listeners.hasOwnProperty(u)&&"function"!=typeof a.listeners[u])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+u+" must be a function but "+typeof a.listeners[u]+" 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={},u={},c=o(!0),p="vanilla",f={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 c[e]=t,this},s.getOption=function(e){"use strict";return c[e]},s.getOptions=function(){"use strict";return c},s.resetOptions=function(){"use strict";c=o(!0)},s.setFlavor=function(e){"use strict";if(!f.hasOwnProperty(e))throw Error(e+" flavor was not found");s.resetOptions();var t=f[e];p=e;for(var n in t)t.hasOwnProperty(n)&&(c[n]=t[n])},s.getFlavor=function(){"use strict";return p},s.getFlavorOptions=function(e){"use strict";if(f.hasOwnProperty(e))return f[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(!u.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return u[e]}"function"==typeof t&&(t=t()),s.helper.isArray(t)||(t=[t]);var n=i(t,e);if(!n.valid)throw Error(n.error);u[e]=t},s.getAllExtensions=function(){"use strict";return u},s.removeExtension=function(e){"use strict";delete u[e]},s.resetExtensions=function(){"use strict";u={}},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,u=r||"",c=u.indexOf("g")>-1,p=new RegExp(t+"|"+n,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),d=[];do{for(o=0;a=p.exec(e);)if(f.test(a[0]))o++||(i=p.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),!c)return d}}while(o&&(p.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,u=a.length;if(u>0){var c=[];0!==a[0].wholeMatch.start&&c.push(e.slice(0,a[0].wholeMatch.start));for(var p=0;p<u;++p)c.push(t(e.slice(a[p].wholeMatch.start,a[p].wholeMatch.end),e.slice(a[p].match.start,a[p].match.end),e.slice(a[p].left.start,a[p].left.end),e.slice(a[p].right.start,a[p].right.end))),p<u-1&&c.push(e.slice(a[p].wholeMatch.end,a[p+1].wholeMatch.start));a[u-1].wholeMatch.end<e.length&&c.push(e.slice(a[u-1].wholeMatch.end)),l=c.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(u[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=u[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 c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&r(c,e[a].listeners[c])}}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={},m=p;!function(){e=e||{};for(var n in c)c.hasOwnProperty(n)&&(a[n]=c[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(!f.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=f[e];m=e;for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return m},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,u){if(s.helper.isUndefined(u)&&(u=""),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])||(u=n.gTitles[o])}i=i.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var c='<a href="'+i+'"';return""!==u&&null!==u&&(u=u.replace(/"/g,"&quot;"),u=u.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),c+=' title="'+u+'"'),t.openLinksInNewWindow&&(c+=' target="¨E95Eblank"'),c+=">"+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,m=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,g=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,b=/(^|\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(g,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(m,y(t)):e.replace(h,y(t)),e=e.replace(b,_(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,"&amp;"),e=e.replace(/<(?![a-z\/?$!])/gi,"&lt;"),e=e.replace(/</g,"&lt;"),e=e.replace(/>/g,"&gt;"),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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").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"&lt;"+t+"&gt;"}));for(var i=0;i<r.length;++i)for(var a,l=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),u="<"+r[i]+"\\b[^>]*>",c="</"+r[i]+">";-1!==(a=s.helper.regexIndexOf(e,l));){var p=s.helper.splitAtIndex(e,a),f=s.helper.replaceRecursiveRegExp(p[1],o,u,c,"im");if(f===p[1])break;e=p[0].concat(f)}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(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&amp;/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)+'"',u=o,c="<h"+u+l+">"+a+"</h"+u+">";return s.subParser("hashBlock")(c,t,n)}),e=e.replace(a,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',u=o+1,c="<h"+u+l+">"+a+"</h"+u+">";return s.subParser("hashBlock")(c,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 u=s.subParser("spanGamut")(l,t,n),c=t.noHeaderId?"":' id="'+r(a)+'"',p=o-1+i.length,f="<h"+p+c+">"+u+"</h"+p+">";return s.subParser("hashBlock")(f,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,u){var c=n.gUrls,p=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),u||(u=""),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(c[r]))return e;o=c[r],s.helper.isUndefined(p[r])||(u=p[r]),s.helper.isUndefined(f[r])||(i=f[r].width,a=f[r].height)}t=t.replace(/"/g,"&quot;").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 u&&(u=u.replace(/"/g,"&quot;").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),d+=' title="'+u+'"'),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,u=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,c=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(u,o),e=e.replace(l,r),e=e.replace(a,o),e=e.replace(i,o),e=e.replace(c,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,u,c){c=c&&""!==c.trim();var p=s.subParser("outdent")(l,t,n),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',p=p.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 c&&(e+=" checked"),e+=">"})),p=p.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||p.search(/\n{2,}/)>-1?(p=s.subParser("githubCodeBlocks")(p,t,n),p=s.subParser("blockGamut")(p,t,n)):(p=s.subParser("lists")(p,t,n),p=p.replace(/\n$/,""),p=s.subParser("hashHTMLBlocks")(p,t,n),p=p.replace(/\n\n+/g,"\n\n"),p=i?s.subParser("paragraphs")(p,t,n):s.subParser("spanGamut")(p,t,n)),p=p.replace("¨A",""),p="<li"+f+">"+p+"</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 u=t.search(s);-1!==u?(l+="\n<"+n+">\n"+r(t.slice(0,u),!!o)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?i:a,e(t.slice(u))):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 u="",c=o[a],p=!1;/¨(K|G)(\d+)\1/.test(c);){var f=RegExp.$1,d=RegExp.$2;u="K"===f?n.gHtmlBlocks[d]:p?s.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock,u=u.replace(/\$/g,"$$$$"),c=c.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,u),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(c)&&(p=!0)}o[a]=c}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,u){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+u:(u&&(n.gTitles[r]=u.replace(/"|'/g,"&quot;")),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()}),u=n[1].split("|").map(function(e){return e.trim()}),c=[],p=[],f=[],d=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&c.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<u.length)return e;for(t=0;t<u.length;++t)f.push(r(u[t]));for(t=0;t<l.length;++t)s.helper.isUndefined(f[t])&&(f[t]=""),p.push(o(l[t],f[t]));for(t=0;t<c.length;++t){for(var h=[],m=0;m<p.length;++m)s.helper.isUndefined(c[t][m]),h.push(i(c[t][m],f[m]));d.push(h)}return a(p,d)}if(!t.tables)return e;var u=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,c=/^ {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(u,l),e=e.replace(c,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(54),o=n.n(r),i=n(143),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(54),i=n.n(o),a=n(143);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),u=/[1iIaA]/.test(l),c=document.createElement(u?"ol":"ul");u&&c.setAttribute("type",l),e.parentNode.insertBefore(c,e)}var p=e.previousElementSibling,f=p.nodeName,d=document.createElement("li"),h=p;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(f))),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=window.Node.ELEMENT_NODE;t.a=function(e){e.nodeType===r&&"IMG"===e.nodeName&&(0===e.src.indexOf("file:")&&(e.src=""),1!==e.height&&1!==e.width||e.parentNode.removeChild(e))}},function(e,t,n){"use strict";var r=n(365),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(143),o=n(366),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(27),o=n.n(r),i=n(267),a=n.n(i),s=n(10),l=n.n(s),u=n(172),c=n.n(u),p=n(155),f=n.n(p),d=n(112),h=n.n(d),m=n(466),g=n.n(m),b=n(47),v=n.n(b),y=n(52),_=n.n(y),w=n(168),x=n(93),E=n(233),k=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=k.next(o.tag,e,a);){a=i.index+i.content.length;var s=f()(c()(o.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(i.shortcode.attrs)}),u=Object(w.a)(n.name,Object(E.b)(l()({},n,{attributes:o.attributes}),i.shortcode.content,s));t[i.index]={block:u,lastIndex:a}}return t},{}),n=0;return a()(t).sort().reduce(function(e,r){var i=t[r];return e=[].concat(o()(g()(e)),[h()(e).slice(0,r-n),i.block,h()(e).slice(i.lastIndex-n)]),n=i.lastIndex,e},[e])}},function(e,t,n){n(465),e.exports=n(12).Object.keys},function(e,t,n){var r=n(56),o=n(55);n(178)("keys",function(){return function(e){return o(r(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(144),i=n(57);e.exports=r},function(e,t,n){"use strict";var r=n(468),o=n(418),i=n(469);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){"use strict";function r(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).map(function(e){e(n)}),(e["*"]||[]).map(function(e){e(t,n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";var r=n(27),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(3),g=(n.n(m),n(1)),b=(n.n(g),n(472)),v=(n.n(b),n(16)),y=n(376),_=function(e){function t(){l()(this,t);var e=f()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.onSelect=e.onSelect.bind(e),e}return h()(t,e),c()(t,[{key:"onSelect",value:function(e){var t=this.props.onReplace,n=e.value;t(Object(v.a)(n))}},{key:"render",value:function(){var e=this.props.children,t=Object(v.e)().map(function(e){var t=e.name,n=e.title,r=e.icon,i=e.keywords,a=void 0===i?[]:i;return{value:t,label:[wp.element.createElement(y.a,{key:"icon",icon:r}),n],keywords:[].concat(o()(a),[n])}});return wp.element.createElement(g.Autocomplete,{triggerPrefix:"/",options:t,onSelect:this.onSelect,className:"blocks-block-autocomplete"},e)}}]),t}(m.Component);t.a=_},function(e,t){},function(e,t,n){var r=n(474),o=n(94),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(476),o=n(479),i=o(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){function r(e,t,n,c,p){e!==t&&a(t,function(a,u){if(l(a))p||(p=new o),s(e,t,u,n,r,c,p);else{var f=c?c(e[u],a,u+"",e,t,p):void 0;void 0===f&&(f=a),i(e,u,f)}},u)}var o=n(107),i=n(377),a=n(232),s=n(477),l=n(23),u=n(125);e.exports=r},function(e,t,n){function r(e,t,n,r,v,y,_){var w=e[n],x=t[n],E=_.get(x);if(E)return void o(e,n,E);var k=y?y(w,x,n+"",e,t,_):void 0,O=void 0===k;if(O){var C=c(x),S=!C&&f(x),j=!C&&!S&&g(x);k=x,C||S||j?c(w)?k=w:p(w)?k=s(w):S?(O=!1,k=i(x,!0)):j?(O=!1,k=a(x,!0)):k=[]:m(x)||u(x)?(k=w,u(w)?k=b(w):(!h(w)||r&&d(w))&&(k=l(x))):O=!1}O&&(_.set(x,k),v(k,x,r,y,_),_.delete(x)),o(e,n,k)}var o=n(377),i=n(240),a=n(241),s=n(148),l=n(242),u=n(87),c=n(13),p=n(142),f=n(90),d=n(119),h=n(23),m=n(212),g=n(123),b=n(478);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(74),i=n(125);e.exports=r},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(94),i=n(171);e.exports=r},function(e,t,n){function r(e,t){return a(e,i(o(t)))}var o=n(34),i=n(481),a=n(172);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(10),o=n.n(r),i=n(116),a=n.n(i),s=n(4),l=n.n(s),u=n(5),c=n.n(u),p=n(6),f=n.n(p),d=n(7),h=n.n(d),m=n(8),g=n.n(m),b=n(126),v=(n.n(b),n(0)),y=(n.n(v),n(3)),_=(n.n(y),n(1)),w=(n.n(_),n(37)),x=(n.n(w),n(484)),E=(n.n(x),n(183)),k=n(269),O=n(67),C=w.keycodes.ESCAPE,S=[{icon:"editor-bold",title:Object(v.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(v.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(v.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(v.__)("Link"),format:"link"}],j=["bold","italic","strikethrough","link"],T=function(e){function t(){c()(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 g()(t,e),f()(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===C&&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(v.__)("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?j:i,s=t.customControls,l=void 0===s?[]:s,u=this.state,c=u.isAddingLink,p=u.isEditingLink,f=u.newLinkValue,d=u.settingsVisible,h=u.opensInNewWindow,m=r?o()({position:"absolute"},r):null,g=S.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&&c})}),y=d&&wp.element.createElement("fieldset",{className:"blocks-format-toolbar__link-settings"},wp.element.createElement(O.a,{label:Object(v.__)("Open in new window"),checked:h,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(_.Toolbar,{controls:g}),(c||p)&&wp.element.createElement(b.Fill,{name:"Editable.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:m,onSubmit:this.submitLink},wp.element.createElement(E.a,{value:f,onChange:this.onChangeLinkValue}),wp.element.createElement(_.IconButton,{icon:"editor-break",label:Object(v.__)("Apply"),type:"submit"}),wp.element.createElement(_.IconButton,{icon:"editor-unlink",label:Object(v.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(_.IconButton,{icon:"admin-generic",label:Object(v.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),y)),!!n.link&&!c&&!p&&wp.element.createElement(b.Fill,{name:"Editable.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:m},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(_.IconButton,{icon:"edit",label:Object(v.__)("Edit"),onClick:this.editLink}),wp.element.createElement(_.IconButton,{icon:"editor-unlink",label:Object(v.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(_.IconButton,{icon:"admin-generic",label:Object(v.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),y)))}}]),t}(y.Component);t.a=Object(_.withSpokenMessages)(T)},function(e,t){},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(N[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(P,"."),r+s(e.split("."),t).join(".")}function u(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 c(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 p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function f(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>R*E>>1;r+=w)e=L(e/R);return L(r+(R+1)*e/(e+k))}function h(e){var t,n,r,o,i,s,l,u,f,h,m=[],g=e.length,b=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"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(i=b,s=1,l=w;o>=g&&a("invalid-input"),u=p(e.charCodeAt(o++)),(u>=w||u>L((_-b)/s))&&a("overflow"),b+=u*s,f=l<=y?x:l>=y+E?E:l-y,!(u<f);l+=w)h=w-f,s>L(_/h)&&a("overflow"),s*=h;t=m.length+1,y=d(b-i,t,0==i),L(b/t)>_-v&&a("overflow"),v+=L(b/t),b%=t,m.splice(b++,0,v)}return c(m)}function m(e){var t,n,r,o,i,s,l,c,p,h,m,g,b,v,y,k=[];for(e=u(e),g=e.length,t=S,n=0,i=C,s=0;s<g;++s)(m=e[s])<128&&k.push(M(m));for(r=o=k.length,o&&k.push(j);r<g;){for(l=_,s=0;s<g;++s)(m=e[s])>=t&&m<l&&(l=m);for(b=r+1,l-t>L((_-n)/b)&&a("overflow"),n+=(l-t)*b,t=l,s=0;s<g;++s)if(m=e[s],m<t&&++n>_&&a("overflow"),m==t){for(c=n,p=w;h=p<=i?x:p>=i+E?E:p-i,!(c<h);p+=w)y=c-h,v=w-h,k.push(M(f(h+y%v,0))),c=L(y/v);k.push(M(f(c,0))),i=d(n,b,r==o),n=0,++r}++n,++t}return k.join("")}function g(e){return l(e,function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e})}function b(e){return l(e,function(e){return A.test(e)?"xn--"+m(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,E=26,k=38,O=700,C=72,S=128,j="-",T=/^xn--/,A=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,N={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=w-x,L=Math.floor,M=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:u,encode:c},decode:h,encode:m,toASCII:b,toUnicode:g},void 0!==(o=function(){return y}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(100)(e),n(103))},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 u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var p,f,d,h,m=e[c].replace(s,"%20"),g=m.indexOf(n);g>=0?(p=m.substr(0,g),f=m.substr(g+1)):(p=m,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),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(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(152),a=n.n(i),s=n(4),l=n.n(s),u=n(5),c=n.n(u),p=n(6),f=n.n(p),d=n(7),h=n.n(d),m=n(8),g=n.n(m),b=n(83),v=n.n(b),y=n(243),_=n.n(y),w=n(15),x=n.n(w),E=n(3),k=(n.n(E),n(383)),O=function(e){function t(){return c()(this,t),h()(this,(t.__proto__||l()(t)).apply(this,arguments))}return g()(t,e),f()(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(k.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(k.b)(this.props),u=void 0;return a&&(u=E.Children.toArray(a)),Object(E.createElement)(r,o()({ref:function(t){return e.editorNode=t},contentEditable:!0,suppressContentEditableWarning:!0,className:x()(s,"blocks-editable__tinymce"),style:i},l),u)}}]),t}(E.Component);t.a=O},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(493),i=n(231),a=n(57),s=n(63);e.exports=r},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){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";var r=n(27),o=n.n(r),i=n(496),a=n.n(i),s=n(384),l=n.n(s),u=n(499),c=n.n(u),p=n(47),f=n.n(p),d=n(52),h=n.n(d),m=n(243),g=n.n(m),b=n(37),v=(n.n(b),n(93)),y=window,_=y.setTimeout,w=b.keycodes.ESCAPE,x=b.keycodes.ENTER,E=b.keycodes.SPACE,k=b.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=O.reduce(function(e,t){if(e.result)return e;if(i!==t.delimiter.slice(-1))return e;var n=c()(t.delimiter),a=new RegExp("(.*)"+n+".+"+n+"$"),s=o.match(a);if(!s)return e;var l=s[1].length,u=r-t.delimiter.length,p=o.charAt(l-1),f=o.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(p)&&(/\s/.test(f)||p===d))return e;var h=new RegExp("^[\\s"+c()(d)+"]+$"),m=o.slice(l,u);return h.test(m)?e:{start:l,pattern:t}},{}),s=a.start,l=a.pattern;if(l){var u=l.delimiter,p=l.format,f=e.formatter.get(p);f&&f[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,u.length),t.deleteData(t.data.length-u.length,u.length),e.formatter.apply(p,{},t),e.selection.setCursorLocation(o,1),_(function(){C="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}},{}),u=l.result,c=l.pattern;if(u){var p=e.selection.getRng(),f=u[0].length,d=r.slice(f);if(p.startOffset===f){var h=c.transform({content:[d].concat(o()(a()(n))),match:u});s([h])}}}}}function r(){if(s){e.getBody().normalize();var t=i();if(t.length){var n=h()(b,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,u=g.a.util.VK,p=e.settings.wptextpattern||{},d=l()(Object(v.b)().reduce(function(e,t){var n=f()(t,"transforms.from",[]),r=n.filter(function(e){return"pattern"===e.type});return[].concat(o()(e),o()(r))},[]),"trigger"),m=d.paste,b=d.enter,y=d.undefined,O=p.inline||[{delimiter:"`",format:"code"}],C=void 0;e.on("selectionchange",function(){C=null}),e.on("pastepostprocess",function(){_(function(){return n(m)})}),e.on("keydown",function(o){var i=o.keyCode;(C&&i===w||"space"===C&&i===k)&&(e.undoManager.undo(),o.preventDefault(),o.stopImmediatePropagation()),u.metaKeyPressed(o)||(i===x?r():i===E?_(function(){return n(y)}):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(144),i=n(57);e.exports=r},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(66);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(63),i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source);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,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,c=s()(e,["label","heading","checked","help","instanceId","onChange"]),p="inspector-checkbox-control-"+a,f=function(e){return l(e.target.value)};return wp.element.createElement(u.a,{label:n,id:p,help:o},wp.element.createElement("input",i()({id:p,className:"blocks-checkbox-control__input",type:"checkbox",value:"1",onChange:f,checked:r,"aria-describedby":o?p+"__help":void 0},c)),wp.element.createElement("label",{className:"blocks-checkbox-control__label",htmlFor:p},t))}var o=n(10),i=n.n(o),a=n(35),s=n.n(a),l=n(1),u=(n.n(l),n(78)),c=n(502);n.n(c);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,u=void 0===l?[]:l,c="inspector-radio-control-"+o,p=function(e){return a(e.target.value)};return!i()(u)&&wp.element.createElement(s.a,{label:t,id:c,help:r,className:"blocks-radio-control"},u.map(function(e,t){return wp.element.createElement("div",{key:c+"-"+t,className:"blocks-radio-control__option"},wp.element.createElement("input",{id:c+"-"+t,className:"blocks-radio-control__input",type:"radio",name:c,value:e.value,onChange:p,selected:e.value===n,"aria-describedby":r?c+"__help":void 0}),wp.element.createElement("label",{key:e.value,htmlFor:c+"-"+t},e.label))}))}var o=n(177),i=n.n(o),a=n(1),s=(n.n(a),n(78)),l=n(504);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,c=void 0===l?4:l,p=s()(e,["label","value","help","instanceId","onChange","rows"]),f="inspector-textarea-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(u.a,{label:t,id:f,help:r},wp.element.createElement("textarea",i()({className:"blocks-textarea-control__input",id:f,rows:c,onChange:d,"aria-describedby":r?f+"__help":void 0,value:n},p)))}var o=n(10),i=n.n(o),a=n(35),s=n.n(a),l=n(1),u=(n.n(l),n(78)),c=n(509);n.n(c);t.a=Object(l.withInstanceId)(r)},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(511);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(531);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(533);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n(535);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n(539);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var u=n(547);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(u).default}});var c=n(549);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(c).default}});var p=n(551);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(p).default}});var f=n(552);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(f).default}});var d=n(558);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(561);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var m=n(565);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(m).default}});var g=n(568);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(g).default}});var b=n(399);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(b).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(2),a=r(i),s=n(9),l=r(s),u=n(21),c=n(530),p=r(c),f=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,i=e.height,s=e.onChange,c=e.direction,p=e.style,f=e.renderers,d=e.pointer,h=(0,l.default)({default:{picker:{position:"relative",width:r,height:i},alpha:{radius:"2px",style:p}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(u.Alpha,o({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:f,onChange:s,direction:c})))};f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:p.default},t.default=(0,u.ColorWrap)(f)},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(58),i=r(o),a=n(250),s=r(a),l=n(212),u=r(l),c=n(48),p=r(c),f=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,p.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,u.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=f},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(250),i=r(o),a=n(514),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},u=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=u},function(e,t,n){function r(e){return o(e,i|a)}var o=n(251),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(250),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(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,u,c;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=u=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),u.state={hover:!1},u.handleMouseOver=function(){return u.setState({hover:!0})},u.handleMouseOut=function(){return u.setState({hover:!1})},u.render=function(){return l.default.createElement(t,{onMouseOver:u.handleMouseOver,onMouseOut:u.handleMouseOut},l.default.createElement(e,a({},u.props,u.state)))},c=i,o(u,c)}return i(s,n),s}(l.default.Component)};t.default=u},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(2),l=function(e){return e&&e.__esModule?e:{default:e}}(s),u=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,u,c;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=u=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),u.state={active:!1},u.handleMouseDown=function(){return u.setState({active:!0})},u.handleMouseUp=function(){return u.setState({active:!1})},u.render=function(){return l.default.createElement(t,{onMouseDown:u.handleMouseDown,onMouseUp:u.handleMouseUp},l.default.createElement(e,a({},u.props,u.state)))},c=i,o(u,c)}return i(s,n),s}(l.default.Component)};t.default=u},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}}(),u=n(2),c=r(u),p=n(9),f=r(p),d=n(520),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),m=n(398),g=r(m),b=t.Alpha=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];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,f.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 c.default.createElement("div",{style:n.alpha},c.default.createElement("div",{style:n.checkboard},c.default.createElement(g.default,{renderers:this.props.renderers})),c.default.createElement("div",{style:n.gradient}),c.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("div",{style:n.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:n.slider}))))}}]),t}(u.PureComponent||u.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),u=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(c=u<0?0:u>i?1:Math.round(100*u/i)/100,n.hsl.a!==c)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:c,source:"rgb"}}else{var p=void 0;if(p=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==p)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:p,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}}(),u=n(2),c=r(u),p=n(9),f=r(p),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,f.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 c.default.createElement("div",{style:t.wrap},c.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?c.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(u.PureComponent||u.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(2),u=r(l),c=n(9),p=r(c),f=n(524),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}(f),h=t.Hue=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];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,p.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 u.default.createElement("div",{style:r.hue},u.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},u.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 "),u.default.createElement("div",{style:r.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.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),u=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(u<0)c=359;else if(u>i)c=0;else{var p=-100*u/i+100;c=360*p/100}if(n.hsl.h!==c)return{h:c,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var f=void 0;if(l<0)f=0;else if(l>o)f=359;else{var d=100*l/o;f=360*d/100}if(n.hsl.h!==f)return{h:f,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(2),u=r(l),c=n(9),p=r(c),f=n(245),d=r(f),h=n(526),m=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),g=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,m.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,p.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 u.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.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 "),u.default.createElement("div",{style:s.white,className:"saturation-white"},u.default.createElement("div",{style:s.black,className:"saturation-black"}),u.default.createElement("div",{style:s.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:s.circle}))))}}]),t}(l.PureComponent||l.Component);t.default=g},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),u=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o?l=o:u<0?u=0:u>i&&(u=i);var c=100*l/o,p=-100*u/i+100;return{h:n.hsl.h,s:c,v:p,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=H(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=H(this._r)),this._g<1&&(this._g=H(this._g)),this._b<1&&(this._b=H(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=R(e.s,1),s=R(e.v,1);t=c(e.h,i,s),r=!0,o="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){var i=R(e.s),u=R(e.l);t=l(e.h,i,u),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 u(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 c(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=q.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 p(e,t,n,r){var o=[N(H(e).toString(16)),N(H(t).toString(16)),N(H(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 f(e,t,n,r){return[N(L(r)),N(H(e).toString(16)),N(H(t).toString(16)),N(H(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 m(e){return o(e).desaturate(100)}function g(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 b(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=K(0,U(255,n.r-H(-t/100*255))),n.g=K(0,U(255,n.g-H(-t/100*255))),n.b=K(0,U(255,n.b-H(-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=(H(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 E(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 k(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=P(e);return e=U(t,K(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),q.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 P(e){return"string"==typeof e&&-1!=e.indexOf("%")}function N(e){return 1==e.length?"0"+e:""+e}function R(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,q=Math,H=q.round,U=q.min,K=q.max,V=q.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=H(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=H(360*e.h),n=H(100*e.s),r=H(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=H(360*e.h),n=H(100*e.s),r=H(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(){return f(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:H(this._r),g:H(this._g),b:H(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+H(this._r)+", "+H(this._g)+", "+H(this._b)+")":"rgba("+H(this._r)+", "+H(this._g)+", "+H(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:H(100*S(this._r,255))+"%",g:H(100*S(this._g,255))+"%",b:H(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+H(100*S(this._r,255))+"%, "+H(100*S(this._g,255))+"%, "+H(100*S(this._b,255))+"%)":"rgba("+H(100*S(this._r,255))+"%, "+H(100*S(this._g,255))+"%, "+H(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(G[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+f(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(g,arguments)},brighten:function(){return this._applyModification(b,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(m,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(k,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(E,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]:R(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,u=a.a-i.a;r=l*u==-1?l:(l+u)/(1+l*u),r=(r+1)/2;var c=1-r;return o({r:a.r*r+i.r*c,g:a.g*r+i.g*c,b:a.b*r+i.b*c,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,u=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var c=0;c<t.length;c++)(r=o.readability(e,t[c]))>u&&(u=r,l=o(t[c]));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(2),a=r(i),s=n(9),l=r(s),u=n(529),c=n(21),p=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,i=void 0===r?function(){}:r,s=e.onHover,u=e.title,p=void 0===u?t:u,f=e.children,d=e.focus,h=e.focusStyle,m=void 0===h?{}:h,g="transparent"===t,b=(0,l.default)({default:{swatch:o({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?m:{})}}),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:b.swatch,onClick:v,title:p,tabIndex:0,onKeyDown:y},w),f,g&&a.default.createElement(c.Checkboard,{borderRadius:b.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,u.handleFocus)(p)},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(2),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,u,c;r(this,s);for(var p=arguments.length,f=Array(p),d=0;d<p;d++)f[d]=arguments[d];return i=u=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(f))),u.state={focus:!1},u.handleFocus=function(){return u.setState({focus:!0})},u.handleBlur=function(){return u.setState({focus:!1})},u.render=function(){return l.default.createElement(t,{onFocus:u.handleFocus,onBlur:u.handleBlur},l.default.createElement(e,a({},u.props,u.state)))},c=i,o(u,c)}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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(68),u=r(l),c=n(21),p=n(532),f=r(p),d=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,p="transparent"===r,d=function(e,n){u.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:p?"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},p&&i.default.createElement(c.Checkboard,{borderRadius:"6px 6px 0 0"}),i.default.createElement("div",{style:h.label},r)),i.default.createElement("div",{style:h.body},i.default.createElement(f.default,{colors:o,onClick:d,onSwatchHover:n}),i.default.createElement(c.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,c.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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(21),p=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,u.default)(t,function(e){return i.default.createElement(c.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=p},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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(401),p=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}(c),f=n(21),d=n(534),h=r(d),m=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,o=e.colors,a=e.hex,l=e.circleSize,c=e.circleSpacing,p=(0,s.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-c,marginBottom:-c}}}),f=function(e,t){return n({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:p.card,className:"circle-picker"},(0,u.default)(o,function(e){return i.default.createElement(h.default,{key:e,color:e,onClick:f,onSwatchHover:r,active:a===e.toLowerCase(),circleSize:l,circleSpacing:c})}))};m.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[p.red[500],p.pink[500],p.purple[500],p.deepPurple[500],p.indigo[500],p.blue[500],p.lightBlue[500],p.cyan[500],p.teal[500],p.green[500],p.lightGreen[500],p.lime[500],p.yellow[500],p.amber[500],p.orange[500],p.deepOrange[500],p.brown[500],p.blueGrey[500]]},t.default=(0,f.ColorWrap)(m)},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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,o=e.hover,a=e.active,u=e.circleSize,c=e.circleSpacing,p=(0,s.default)({default:{swatch:{width:u,height:u,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+u/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:p.swatch},i.default.createElement(l.Swatch,{style:p.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:p.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(u)},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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=n(536),c=r(u),p=n(537),f=r(p),d=n(538),h=r(d),m=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,o=e.hsl,a=e.hsv,u=e.hex,p=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:p}))),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:f.default,onChange:t})),i.default.createElement("div",{style:d.alpha},i.default.createElement(l.Alpha,{style:d.Alpha,rgb:r,hsl:o,pointer:f.default,renderers:p,onChange:t})))),i.default.createElement(c.default,{rgb:r,hsl:o,hex:u,onChange:t,disableAlpha:n})))};t.default=(0,l.ColorWrap)(m)},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(2),u=r(l),c=n(9),p=r(c),f=n(68),d=r(f),h=n(21),m=t.ChromeFields=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];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,p.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=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.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=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.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=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),u.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,u.default.createElement("div",{style:t.toggle},u.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},u.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},u.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"}),u.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}(u.default.Component);t.default=m},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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(68),p=r(c),f=n(252),d=n(21),h=n(545),m=r(h),g=n(546),b=r(g),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"}}}),c=function(e,n){e.hex?p.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i.default.createElement(f.Raised,{style:l.Compact},i.default.createElement("div",{style:l.compact,className:"compact-picker"},i.default.createElement("div",null,(0,u.default)(r,function(e){return i.default.createElement(m.default,{key:e,color:e,active:e.toLowerCase()===o,onClick:c,onSwatchHover:n})}),i.default.createElement("div",{style:l.clear})),i.default.createElement(b.default,{hex:o,rgb:a,onChange:c})))};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(2),u=r(l),c=n(113),p=r(c),f=n(9),d=r(f),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 u.default.createElement("div",{style:e.wrap},u.default.createElement("div",{style:e.bg}),u.default.createElement("div",{style:e.content},this.props.children))}}]),t}(u.default.Component);h.propTypes={background:p.default.string,zDepth:p.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:p.default.oneOfType([p.default.string,p.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}}(),u=n(2),c=r(u),p=n(9),f=r(p),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,f.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 c.default.createElement("div",{style:e.tile,className:"flexbox-fix"},c.default.createElement("div",{style:e.primary,className:"flexbox-fix"},c.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},n),c.default.createElement("div",{style:e.content,key:"content-#{ content }"},r)))}}]),t}(c.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(2),u=r(l),c=n(9),p=r(c),f=n(58),d=r(f),h=n(543),m=r(h),g=n(544),b=r(g),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,p.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(u.default.createElement("div",{style:e.tab,ref:"tab-"+n,key:n},u.default.createElement(b.default,{onClick:o,callbackValue:i,newTab:a},u.default.createElement(m.default,{style:e.Tab,tab:n,selected:this.state.selectedTab===n,selectable:s.selectable,onClick:this.handleClick},r))))}return u.default.createElement("div",{style:e.tabs,ref:"tabs"},u.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),u.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}(u.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(2),u=r(l),c=n(113),p=r(c),f=n(9),d=r(f),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 u.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}(u.default.Component);h.propTypes={selected:p.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(2),u=r(l),c=n(58),p=r(c),f=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,p.default)(this.props.onClick)?u.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):u.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}(u.default.Component);f.defaultProps={newTab:!1},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.CompactColor=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=t.CompactColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.active,u=(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:u.color,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:u.dot}))};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.CompactFields=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=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=u},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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(21),p=n(548),f=r(p),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}),c=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,u.default)(n,function(e){return i.default.createElement(f.default,{color:e,key:e,onClick:c,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,c.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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=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)"},u=(0,s.default)({default:{swatch:{width:"25px",height:"25px"}},hover:{swatch:a}},{hover:t});return i.default.createElement("div",{style:u.swatch},i.default.createElement(l.Swatch,{color:n,onClick:r,onHover:o,focusStyle:a}))};t.default=(0,a.handleHover)(u)},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(2),a=r(i),s=n(9),l=r(s),u=n(21),c=n(550),p=r(c),f=t.HuePicker=function(e){var t=e.width,n=e.height,r=e.onChange,i=e.hsl,s=e.direction,c=e.pointer,p=(0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}}),f=function(e){return r({a:1,h:e.h,l:.5,s:1})};return a.default.createElement("div",{style:p.picker,className:"hue-picker"},a.default.createElement(u.Hue,o({},p.hue,{hsl:i,pointer:c,onChange:f,direction:s})))};f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:p.default},t.default=(0,u.ColorWrap)(f)},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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(68),u=r(l),c=n(252),p=n(21),f=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?u.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(c.Raised,null,i.default.createElement("div",{style:o.material,className:"material-picker"},i.default.createElement(p.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(p.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(p.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(p.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:a})))))};t.default=(0,p.ColorWrap)(f)},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(2),u=r(l),c=n(9),p=r(c),f=n(21),d=n(553),h=r(d),m=n(554),g=r(m),b=n(555),v=r(b),y=n(556),_=r(y),w=n(557),x=r(w),E=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,p.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 u.default.createElement("div",{style:e.picker,className:"photoshop-picker"},u.default.createElement("div",{style:e.head},this.props.header),u.default.createElement("div",{style:e.body,className:"flexbox-fix"},u.default.createElement("div",{style:e.saturation},u.default.createElement(f.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:g.default,onChange:this.props.onChange})),u.default.createElement("div",{style:e.hue},u.default.createElement(f.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:v.default,onChange:this.props.onChange})),u.default.createElement("div",{style:e.controls},u.default.createElement("div",{style:e.top,className:"flexbox-fix"},u.default.createElement("div",{style:e.previews},u.default.createElement(x.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),u.default.createElement("div",{style:e.actions},u.default.createElement(_.default,{label:"OK",onClick:this.props.onAccept,active:!0}),u.default.createElement(_.default,{label:"Cancel",onClick:this.props.onCancel}),u.default.createElement(h.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(u.default.Component);E.defaultProps={header:"Color Picker"},t.default=(0,f.ColorWrap)(E)},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(2),i=r(o),a=n(9),s=r(a),l=n(68),u=r(l),c=n(21),p=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["#"]?u.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(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),i.default.createElement(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:l}),i.default.createElement(c.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(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:l}),i.default.createElement(c.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:l}),i.default.createElement(c.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(c.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=p},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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(21),u=n(559),c=r(u),p=n(560),f=r(p),d=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,u=e.onChange,p=e.onSwatchHover,d=e.disableAlpha,h=e.presetColors,m=e.renderers,g=(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:g.picker,className:"sketch-picker"},i.default.createElement("div",{style:g.saturation},i.default.createElement(l.Saturation,{style:g.Saturation,hsl:a,hsv:o,onChange:u})),i.default.createElement("div",{style:g.controls,className:"flexbox-fix"},i.default.createElement("div",{style:g.sliders},i.default.createElement("div",{style:g.hue},i.default.createElement(l.Hue,{style:g.Hue,hsl:a,onChange:u})),i.default.createElement("div",{style:g.alpha},i.default.createElement(l.Alpha,{style:g.Alpha,rgb:n,hsl:a,renderers:m,onChange:u}))),i.default.createElement("div",{style:g.color},i.default.createElement(l.Checkboard,null),i.default.createElement("div",{style:g.activeColor}))),i.default.createElement(c.default,{rgb:n,hsl:a,hex:r,onChange:u,disableAlpha:d}),i.default.createElement(f.default,{colors:h,onClick:u,onSwatchHover:p}))};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(2),i=r(o),a=n(9),s=r(a),l=n(68),u=r(l),c=n(21),p=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}),p=function(e,o){e.hex?u.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(c.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:p})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:p,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.alpha},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:p,dragLabel:"true",dragMax:"100"})))};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.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(2),a=r(i),s=n(113),l=r(s),u=n(9),c=r(u),p=n(21),f=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,i=e.onSwatchHover,s=(0,c.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(p.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}})))}))};f.propTypes={colors:l.default.arrayOf(l.default.oneOfType([l.default.string,l.default.shape({color:l.default.string,title:l.default.string})]))},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.Slider=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=n(562),c=r(u),p=n(564),f=r(p),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(c.default,{hsl:t,onClick:n})))};d.defaultProps={pointer:f.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(2),i=r(o),a=n(9),s=r(a),l=n(563),u=r(l),c=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(u.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(u.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(u.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(u.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(u.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=c},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(2),i=r(o),a=n(9),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,u=e.last,c=(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:u}),p=function(e){return o({h:t.h,s:.5,l:n,source:"hsl"},e)};return i.default.createElement("div",{style:c.swatch,onClick:p})};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(2),i=r(o),a=n(9),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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(68),p=r(c),f=n(401),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}(f),h=n(21),m=n(252),g=n(566),b=r(g),v=t.Swatches=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.onSwatchHover,a=e.colors,l=e.hex,c=(0,s.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),f=function(e,t){p.default.isValidHex(e)&&r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:c.picker,className:"swatches-picker"},i.default.createElement(m.Raised,null,i.default.createElement("div",{style:c.overflow},i.default.createElement("div",{style:c.body},(0,u.default)(a,function(e){return i.default.createElement(b.default,{key:e.toString(),group:e,active:l,onClick:f,onSwatchHover:o})}),i.default.createElement("div",{style:c.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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(567),p=r(c),f=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,u.default)(r,function(e,a){return i.default.createElement(p.default,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===r.length-1,onClick:t,onSwatchHover:n})}))};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.SwatchesColor=void 0;var o=n(2),i=r(o),a=n(9),s=r(a),l=n(21),u=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.first,u=e.last,c=e.active,p=(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:u,active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{color:t,style:p.color,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:p.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=u},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(2),i=r(o),a=n(9),s=r(a),l=n(48),u=r(l),c=n(68),p=r(c),f=n(21),d=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,c=(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){p.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return i.default.createElement("div",{style:c.card,className:"twitter-picker"},i.default.createElement("div",{style:c.triangleShadow}),i.default.createElement("div",{style:c.triangle}),i.default.createElement("div",{style:c.body},(0,u.default)(o,function(e,t){return i.default.createElement(f.Swatch,{key:t,color:e,hex:e,style:c.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:c.hash},"#"),i.default.createElement(f.EditableInput,{style:{input:c.input},value:r.replace("#",""),onChange:d}),i.default.createElement("div",{style:c.clear})))};d.defaultProps={width:"276px",colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,f.ColorWrap)(d)},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(10),o=n.n(r),i=n(0),a=(n.n(i),n(37)),s=(n.n(a),n(572)),l=(n.n(s),n(573)),u=(n.n(l),n(16)),c=n(574),p=u.q.attr,f=u.q.children,d=u.q.text;Object(u.m)("core/image",{title:Object(i.__)("Image"),icon:"format-image",category:"common",keywords:[Object(i.__)("photo")],attributes:{url:{type:"string",source:p("img","src")},alt:{type:"string",source:p("img","alt")},caption:{type:"array",source:f("figcaption")},href:{type:"string",source:p("a","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(u.a)("core/image",{id:e.id,url:e.source_url})})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:p("img","src")},alt:{type:"string",source:p("img","alt")},caption:{type:"array",source:d()},href:{type:"string",source:p("a","href")},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:c.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,u=t.height,c=l||u?{width:l,height:u}:{},p=l?{width:l}:{},f=wp.element.createElement("img",o()({src:n,alt:r},c));return wp.element.createElement("figure",{className:a?"align"+a:null,style:p},s?wp.element.createElement("a",{href:s},f):f,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(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(75),g=n.n(m),b=n(47),v=n.n(b),y=n(48),_=n.n(y),w=n(177),x=n.n(w),E=n(575),k=n.n(E),O=n(15),C=n.n(O),S=n(589),j=n(0),T=(n.n(j),n(3)),A=(n.n(T),n(37)),P=(n.n(A),n(1)),N=(n.n(P),n(239)),R=n(32),L=n(115),M=n(17),D=n(248),B=n(247),I=n(26),F=n(41),z=n(18),q=n(404),H=n(591),U=function(e){function t(){l()(this,t);var e=f()(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),c()(t,[{key:"onSelectImage",value:function(e){this.props.setAttributes({url:e.url,alt:e.alt,caption:e.caption,id:e.id})}},{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,u=t.alt,c=t.caption,p=t.align,f=t.id,d=t.href,h=t.width,m=t.height,g=this.getAvailableSizes(),b=h?{width:h}:{},v=-1===["wide","full"].indexOf(p),y={isLarge:!0},w=function(e){return Object(A.mediaUpload)(e.target.files,n)},E=function(e){return Object(A.mediaUpload)(e,n)},O=r&&wp.element.createElement(I.a,{key:"controls"},wp.element.createElement(F.a,{value:p,onChange:this.updateAlignment}),wp.element.createElement(P.Toolbar,null,wp.element.createElement(L.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(j.__)("Edit image")},onSelect:this.onSelectImage,type:"image",value:f},wp.element.createElement(P.Dashicon,{icon:"edit"})),wp.element.createElement(q.a,{onChange:this.onSetHref,url:d})));if(!l)return[O,wp.element.createElement(P.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(P.DropZone,{onFilesDrop:E}),wp.element.createElement(P.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:w,accept:"image/*"},Object(j.__)("Upload")),wp.element.createElement(L.a,{buttonProps:y,onSelect:this.onSelectImage,type:"image"},Object(j.__)("Insert from Media Library")))];var T=function(e){return i(o()({editable:"caption"},e))},N=C()(a,{"is-transient":0===l.indexOf("blob:"),"is-resized":!!h,"is-focused":!!r});return[O,r&&wp.element.createElement(M.a,{key:"inspector"},wp.element.createElement(z.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(D.a,{label:Object(j.__)("Alternate Text"),value:u,onChange:this.updateAlt}),!x()(g)&&wp.element.createElement(B.a,{label:Object(j.__)("Size"),value:l,options:_()(g,function(e,t){return{value:e.source_url,label:k()(t)}}),onChange:this.updateImageURL})),wp.element.createElement("figure",{key:"image",className:N,style:b},wp.element.createElement(H.a,{src:l,dirtynessTrigger:p},function(e){var t=e.imageWidthWithinContainer,r=e.imageHeightWithinContainer,o=e.imageWidth,a=e.imageHeight,c=wp.element.createElement("img",{src:l,alt:u,onClick:i});if(!v||!t)return c;var p=h||t,f=m||r,d=o/a,g=o<a?10:10*d,b=a<o?10:10/d;return wp.element.createElement(S.a,{size:{width:p,height:f},minWidth:g,maxWidth:s.maxWidth,minHeight:b,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:p+o.width,height:f+o.height})}},c)}),c&&c.length>0||r?wp.element.createElement(R.a,{tagName:"figcaption",placeholder:Object(j.__)("Write caption…"),value:c,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=g()([Object(N.a)(),Object(P.withAPIData)(function(e){var t=e.attributes.id;return t?{image:"/wp/v2/media/"+t}:{}})])(U)},function(e,t,n){var r=n(576),o=n(583),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(110),i=n(577),a=n(579),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(578),i=n(63),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(402),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(580),i=n(581),a=n(63),s=n(582);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(m)||[]}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]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:"+i+"|"+a+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,l].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*",d="[\\ufe0e\\ufe0f]?"+p+f,h="(?:"+["[\\u2700-\\u27bf]",s,l].join("|")+")"+d,m=RegExp([u+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,u,"$"].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,u+c,"$"].join("|")+")",u+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?: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(584),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(585),i=n(272),a=n(586),s=n(63);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(144);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(587),i=n(272),a=n(588);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(p)||[]}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+")*",u="[\\ufe0e\\ufe0f]?"+s+l,c="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",p=RegExp(o+"(?="+o+")|"+c+u,"g");e.exports=n},function(e,t,n){"use strict";var r=n(2),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},u={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"}},c=function(e){return Object(r.createElement)("div",{className:e.className,style:a({},u.base,u[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},p={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},f={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},m=function(e){return e.toString().endsWith("px")?e.toString():e.toString().endsWith("%")?e.toString():e+"px"},g=0,b=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],v=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"+g,g+=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 b.includes(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,u=this.props,c=u.maxWidth,p=u.maxHeight,f=u.minWidth,m=u.minHeight,g=this.getParentSize();if(c&&"string"==typeof c&&c.endsWith("%")){var b=Number(c.replace("%",""))/100;c=g.width*b}if(p&&"string"==typeof p&&p.endsWith("%")){var v=Number(p.replace("%",""))/100;p=g.height*v}if(f&&"string"==typeof f&&f.endsWith("%")){var y=Number(f.replace("%",""))/100;f=g.width*y}if(m&&"string"==typeof m&&m.endsWith("%")){var _=Number(m.replace("%",""))/100;m=g.height*_}c=void 0===c?void 0:Number(c),p=void 0===p?void 0:Number(p),f=void 0===f?void 0:Number(f),m=void 0===m?void 0:Number(m);var w=i.height/i.width,x=i.width,E=i.height;if(/right/i.test(o)&&(x=i.width+(t-i.x),l&&(E=x*w)),/left/i.test(o)&&(x=i.width-(t-i.x),l&&(E=x*w)),/bottom/i.test(o)&&(E=i.height+(n-i.y),l&&(x=E/w)),/top/i.test(o)&&(E=i.height-(n-i.y),l&&(x=E/w)),"parent"===this.props.bounds){var k=this.parentNode;if(k instanceof HTMLElement){var O=k.getBoundingClientRect(),C=O.left,S=O.top,j=this.resizable.getBoundingClientRect(),T=j.left,A=j.top,P=k.offsetWidth+(C-T),N=k.offsetHeight+(S-A);c=c&&c<P?c:P,p=p&&p<N?p:N}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var R=this.resizable.getBoundingClientRect(),L=R.left,M=R.top,D=window.innerWidth-L,B=window.innerHeight-M;c=c&&c<D?c:D,p=p&&p<B?p:B}}else if(this.props.bounds instanceof HTMLElement){var I=this.props.bounds.getBoundingClientRect(),F=I.left,z=I.top,q=this.resizable.getBoundingClientRect(),H=q.left,U=q.top;if(!(this.props.bounds instanceof HTMLElement))return;var K=this.props.bounds.offsetWidth+(F-H),V=this.props.bounds.offsetHeight+(z-U);c=c&&c<K?c:K,p=p&&p<V?p:V}var W=void 0===f||f<10?10:f,G=void 0===c||c<0?x:c,$=void 0===m||m<10?10:m,X=void 0===p||p<0?E:p;if(l){var Y=W>$/w?W:$/w,Z=G<X/w?G:X/w,Q=$>W*w?$:W*w,J=X<G*w?X:G*w;x=d(x,Y,Z),E=d(E,Q,J)}else x=d(x,W,G),E=d(E,$,X);this.props.grid&&(x=h(x,this.props.grid[0])),this.props.grid&&(E=h(E,this.props.grid[1]));var ee={width:x-i.width,height:E-i.height};if(a&&"string"==typeof a&&a.endsWith("%")){x=x/g.width*100+"%"}if(s&&"string"==typeof s&&s.endsWith("%")){E=E/g.height*100+"%"}this.setState({width:"auto"!==a||void 0===this.props.width?x:"auto",height:"auto"!==s||void 0===this.props.height?E:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,ee)}}},{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)(c,{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?p:f;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]&&e.propsSize[t].toString().endsWith("%")){if(e.state[t].toString().endsWith("%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return m(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?m(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?m(t.height):n("height")}}}]),t}(r.Component);v.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=v},function(e,t){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(31),h=n.n(d),m=n(156),g=function(e){function t(){a()(this,t);var e=c()(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 f()(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}(m.Component);t.a=g},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(593)),i=(n.n(o),n(594)),a=(n.n(i),n(16)),s=n(595),l=a.q.query,u=a.q.attr;Object(a.m)("core/gallery",{title:Object(r.__)("Gallery"),icon:"format-gallery",category:"common",keywords:[Object(r.__)("images"),Object(r.__)("photos")],attributes:{align:{type:"string",default:"none"},images:{type:"array",default:[],source:l("div.wp-block-gallery figure.blocks-gallery-image img",{url:u("src"),alt:u("alt"),id:u("data-id")})},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},transforms:{from:[{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}}}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:s.a,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Object(s.b)(t):r,i=t.align,a=t.imageCrop,l=t.linkTo;return wp.element.createElement("div",{className:"align"+i+" columns-"+o+" "+(a?"is-cropped":"")},n.map(function(e){var t=void 0;switch(l){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(10),i=n.n(o),a=n(27),s=n.n(a),l=n(4),u=n.n(l),c=n(5),p=n.n(c),f=n(6),d=n.n(f),h=n(7),m=n.n(h),g=n(8),b=n.n(g),v=n(127),y=n.n(v),_=n(3),w=(n.n(_),n(0)),x=(n.n(w),n(37)),E=(n.n(x),n(1)),k=(n.n(E),n(115)),O=n(17),C=n(114),S=n(67),j=n(247),T=n(26),A=n(41),P=n(596),N=n(18),R=[{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(){p()(this,t);var e=m()(this,(t.__proto__||u()(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 b()(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(){t.props.setAttributes({images:y()(t.props.attributes.images,function(t,n){return e!==n})})}}},{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,u=n.align,c=n.imageCrop,p=n.linkTo,f=wp.element.createElement(N.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"},f),h=o&&wp.element.createElement(T.a,{key:"controls"},wp.element.createElement(A.a,{value:u,onChange:this.updateAlignment}),!!a.length&&wp.element.createElement(E.Toolbar,null,wp.element.createElement(k.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(E.Dashicon,{icon:"edit"}))));if(0===a.length){var m={isLarge:!0};return[h,d,wp.element.createElement(E.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(E.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:this.uploadFromFiles,accept:"image/*",multiple:"true"},Object(w.__)("Upload")),wp.element.createElement(k.a,{buttonProps:m,onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0},Object(w.__)("Insert from Media Library")))]}return[h,o&&a.length>1&&wp.element.createElement(O.a,{key:"inspector"},f,wp.element.createElement("h3",null,Object(w.__)("Gallery Settings")),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:!!c,onChange:this.toggleImageCrop}),wp.element.createElement(j.a,{label:Object(w.__)("Link to"),value:p,onChange:this.setLinkTo,options:R})),wp.element.createElement("div",{key:"gallery",className:i+" align"+u+" columns-"+l+" "+(c?"is-cropped":"")},a.map(function(t,n){return wp.element.createElement(P.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(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(15),h=n.n(d),m=n(3),g=(n.n(m),n(1)),b=(n.n(g),n(0)),v=(n.n(b),function(e){function t(){return a()(this,t),c()(this,(t.__proto__||o()(t)).apply(this,arguments))}return f()(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,u=void 0;switch(o){case"media":u=t;break;case"attachment":u=i}var c=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r}):wp.element.createElement(g.Spinner,null),p=h()("blocks-gallery-image",{"is-selected":a});return wp.element.createElement("figure",{className:p,onClick:s},a&&wp.element.createElement("div",{className:"blocks-gallery-image__inline-menu"},wp.element.createElement(g.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-image__remove",label:Object(b.__)("Remove Image")})),u?wp.element.createElement("a",{href:u},c):c)}}]),t}(m.Component));t.a=Object(g.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(3)),i=(n.n(o),n(1)),a=(n.n(i),n(598)),s=(n.n(a),n(16)),l=n(32),u=n(26),c=n(17),p=n(179),f=n(18),d=s.q.children,h=s.q.prop;Object(s.m)("core/heading",{title:Object(r.__)("Heading"),icon:"heading",category:"common",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],className:!1,supportAnchor:!0,attributes:{content:{type:"array",source:d("h1,h2,h3,h4,h5,h6")},nodeName:{type:"string",source:h("h1,h2,h3,h4,h5,h6","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,m=t.align,g=t.content,b=t.nodeName,v=t.placeholder;return[o&&wp.element.createElement(u.a,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===b,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),o&&wp.element.createElement(c.a,{key:"inspector"},wp.element.createElement(f.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===b,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(r.__)("Text Alignment")),wp.element.createElement(p.a,{value:m,onChange:function(e){n({align:e})}})),wp.element.createElement(l.a,{key:"editable",tagName:b.toLowerCase(),value:g,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:m},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(10),o=n.n(r),i=n(35),a=n.n(i),s=n(23),l=n.n(s),u=n(58),c=n.n(u),p=n(0),f=(n.n(p),n(1)),d=(n.n(f),n(600)),h=(n.n(d),n(601)),m=(n.n(h),n(16)),g=n(179),b=n(26),v=n(32),y=n(17),_=n(18),w=m.q.children,x=m.q.node,E=m.q.query;Object(m.m)("core/quote",{title:Object(p.__)("Quote"),icon:"format-quote",category:"common",attributes:{value:{type:"array",source:E("blockquote > p",x()),default:[]},citation:{type:"array",source:w("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(m.a)("core/quote",{value:[wp.element.createElement("p",{key:"1"},t)]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[wp.element.createElement("p",{key:"1"},t)]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return Object(m.a)("core/quote",{value:[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(m.a)("core/paragraph",{content:n});var s=c()(i)?i:i.props.children;if(Array.isArray(t)||n){return[Object(m.a)("core/paragraph",{content:s}),Object(m.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):""}))]}return Object(m.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=Array.isArray(t)&&l()(t[0])&&"p"===t[0].type,s=i?t[0]:t,u=l()(s)&&"p"===t[0].type?s.props.children:s;if(i||n){return[Object(m.a)("core/heading",{content:u}),Object(m.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):""}))]}return Object(m.a)("core/heading",{content:u})}}]},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,u=t.value,c=t.citation,d=t.style,h=r?r.editable||"value":null;return[r&&wp.element.createElement(b.a,{key:"controls"},wp.element.createElement(f.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(p.sprintf)(Object(p.__)("Quote style %d"),e),isActive:Number(d)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(g.a,{value:l,onChange:function(e){n({align:e})}})),r&&wp.element.createElement(y.a,{key:"inspector"},wp.element.createElement(_.a,null,wp.element.createElement("p",null,Object(p.__)("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(v.a,{multiline:"p",value:u,onChange:function(e){return n({value:e})},focus:"value"===h?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},onMerge:a,style:{textAlign:l},placeholder:Object(p.__)("Write quote…")}),(c&&c.length>0||!!r)&&wp.element.createElement(v.a,{tagName:"footer",value:c,placeholder:Object(p.__)("Write citation…"),onChange:function(e){return n({citation:e})},focus:"citation"===h?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.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:T("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=p()(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),u()(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,u=s.url,c=s.caption,p=this.props,f=p.setAttributes,d=p.focus,h=p.setFocus,v=function(e){return f({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(b.__)("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(b.__)("Embedding…")))];if(!r){var w=Object(b.sprintf)(Object(b.__)("%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:u||"",className:"components-placeholder__input","aria-label":w,placeholder:Object(b.__)("Enter URL to embed here…"),onChange:function(e){return f({url:e.target.value})}}),wp.element.createElement(y.Button,{isLarge:!0,type:"submit"},Object(b.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(b.__)("Sorry, we could not embed that content."))))]}var x=Object(g.parse)(u),E=m()(A,x.host.replace(/^www\./,"")),T=Object(b.sprintf)(Object(b.__)("Embedded content from %s"),x.host),P="wp-block-embed";return"video"===o&&(P+=" is-video"),[_,wp.element.createElement("figure",{key:"embed",className:P},E?wp.element.createElement(y.Placeholder,{icon:n,label:Object(b.__)("Embed URL")},wp.element.createElement("p",{className:"components-placeholder__error"},wp.element.createElement("a",{href:u},u)),wp.element.createElement("p",{className:"components-placeholder__error"},Object(b.__)("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:T,type:o})),c&&c.length>0||d?wp.element.createElement(k.a,{tagName:"figcaption",placeholder:Object(b.__)("Write caption…"),value:c,focus:d,onFocus:h,onChange:function(e){return f({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(4),i=n.n(o),a=n(5),s=n.n(a),l=n(6),u=n.n(l),c=n(7),p=n.n(c),f=n(8),d=n.n(f),h=n(174),m=n.n(h),g=n(381),b=(n.n(g),n(0)),v=(n.n(b),n(3)),y=(n.n(v),n(1)),_=(n.n(y),n(246)),w=n(603),x=(n.n(w),n(604)),E=(n.n(x),n(16)),k=n(32),O=n(26),C=n(41),S=n(17),j=n(18),T=E.q.children,A=["facebook.com"];Object(E.m)("core/embed",r({title:Object(b.__)("Embed"),icon:"embed-generic",transforms:{from:[{type:"pattern",trigger:"paste",regExp:/^\s*(https?:\/\/\S+)\s*/i,transform:function(e){var t=e.match;return Object(E.a)("core/embed",{url:t[1]})}}]}})),Object(E.m)("core-embed/twitter",r({title:"Twitter",icon:"embed-post",keywords:[Object(b.__)("tweet")]})),Object(E.m)("core-embed/youtube",r({title:"YouTube",icon:"embed-video",keywords:[Object(b.__)("music"),Object(b.__)("video")]})),Object(E.m)("core-embed/facebook",r({title:"Facebook",icon:"embed-post"})),Object(E.m)("core-embed/instagram",r({title:"Instagram",icon:"embed-photo",keywords:[Object(b.__)("image")]})),Object(E.m)("core-embed/wordpress",r({title:"WordPress",icon:"embed-post",keywords:[Object(b.__)("post"),Object(b.__)("blog")]})),Object(E.m)("core-embed/soundcloud",r({title:"SoundCloud",icon:"embed-audio",keywords:[Object(b.__)("music"),Object(b.__)("audio")]})),Object(E.m)("core-embed/spotify",r({title:"Spotify",icon:"embed-audio",keywords:[Object(b.__)("music"),Object(b.__)("audio")]})),Object(E.m)("core-embed/flickr",r({title:"Flickr",icon:"embed-photo",keywords:[Object(b.__)("image")]})),Object(E.m)("core-embed/vimeo",r({title:"Vimeo",icon:"embed-video",keywords:[Object(b.__)("video")]})),Object(E.m)("core-embed/animoto",r({title:"Animoto",icon:"embed-video"})),Object(E.m)("core-embed/cloudup",r({title:"Cloudup",icon:"embed-post"})),Object(E.m)("core-embed/collegehumor",r({title:"CollegeHumor",icon:"embed-video"})),Object(E.m)("core-embed/dailymotion",r({title:"Dailymotion",icon:"embed-video"})),Object(E.m)("core-embed/funnyordie",r({title:"Funny or Die",icon:"embed-video"})),Object(E.m)("core-embed/hulu",r({title:"Hulu",icon:"embed-video"})),Object(E.m)("core-embed/imgur",r({title:"Imgur",icon:"embed-photo"})),Object(E.m)("core-embed/issuu",r({title:"Issuu",icon:"embed-post"})),Object(E.m)("core-embed/kickstarter",r({title:"Kickstarter",icon:"embed-post"})),Object(E.m)("core-embed/meetup-com",r({title:"Meetup.com",icon:"embed-post"})),Object(E.m)("core-embed/mixcloud",r({title:"Mixcloud",icon:"embed-audio",keywords:[Object(b.__)("music"),Object(b.__)("audio")]})),Object(E.m)("core-embed/photobucket",r({title:"Photobucket",icon:"embed-photo"})),Object(E.m)("core-embed/polldaddy",r({title:"Polldaddy",icon:"embed-post"})),Object(E.m)("core-embed/reddit",r({title:"Reddit",icon:"embed-post"})),Object(E.m)("core-embed/reverbnation",r({title:"ReverbNation",icon:"embed-audio"})),Object(E.m)("core-embed/screencast",r({title:"Screencast",icon:"embed-video"})),Object(E.m)("core-embed/scribd",r({title:"Scribd",icon:"embed-post"})),Object(E.m)("core-embed/slideshare",r({title:"Slideshare",icon:"embed-post"})),Object(E.m)("core-embed/smugmug",r({title:"SmugMug",icon:"embed-photo"})),Object(E.m)("core-embed/speaker",r({title:"Speaker",icon:"embed-audio"})),Object(E.m)("core-embed/ted",r({title:"TED",icon:"embed-video"})),Object(E.m)("core-embed/tumblr",r({title:"Tumblr",icon:"embed-post"})),Object(E.m)("core-embed/videopress",r({title:"VideoPress",icon:"embed-video",keywords:[Object(b.__)("video")]})),Object(E.m)("core-embed/vine",r({title:"Vine",icon:"embed-video"})),Object(E.m)("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(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(27),h=n.n(d),m=n(10),g=n.n(m),b=n(52),v=n.n(b),y=n(3),_=(n.n(y),n(0)),w=(n.n(_),n(606)),x=(n.n(w),n(16)),E=n(32),k=n(26),O=n(17),C=n(18),S=x.q.children,j=x.q.prop,T=function(e){if(void 0===e)return e;var t=[];return t.push(Object(y.createElement)("li",[],[])),e.forEach(function(e,n,r){"br"===e.type&&n<r.length-1?t.push(Object(y.createElement)("li",[],[])):t[t.length-1].props.children.push(e)}),t},A=function e(t){if(void 0===t)return t;var n=[];return t.forEach(function(t,r,o){if("string"==typeof t)return void n.push(t);y.Children.toArray(t.props.children).forEach(function(t,i,a){"ul"===t.type||"ol"===t.type?(n.push(Object(y.createElement)("br")),n.push.apply(n,e(y.Children.toArray(t.props.children))),r!==o.length-1&&n.push(Object(y.createElement)("br"))):(n.push(t),i===a.length-1&&r!==o.length-1&&n.push(Object(y.createElement)("br")))})}),n};Object(x.m)("core/list",{title:Object(_.__)("List"),icon:"editor-ul",category:"common",keywords:[Object(_.__)("bullet list"),Object(_.__)("ordered list"),Object(_.__)("numbered list")],attributes:{nodeName:{type:"string",source:j("ol,ul","nodeName"),default:"UL"},values:{type:"array",source:S("ol,ul"),default:[]}},className:!1,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(x.a)("core/list",{nodeName:"UL",values:T(t)})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation,r=T(t),o=n?Object(y.concatChildren)(r,wp.element.createElement("li",null,n)):r;return Object(x.a)("core/list",{nodeName:"UL",values:o})}},{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(x.a)("core/list",{nodeName:"UL",values:T(t)})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return Object(x.a)("core/list",{nodeName:"OL",values:T(t)})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(x.a)("core/paragraph",{content:A(t)})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(x.a)("core/quote",{value:[wp.element.createElement("p",{key:"list"},A(t))]})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),g()({},e,{values:[].concat(h()(e.values),h()(n))})},edit:function(e){function t(){a()(this,t);var e=c()(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 f()(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=v()(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 g()({},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(k.a,{key:"controls",controls:[{icon:"editor-ul",title:Object(_.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(_.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(_.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(_.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),n&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement(C.a,null,wp.element.createElement("p",null,Object(_.__)("List. Numbered or bulleted."))),wp.element.createElement("p",null,Object(_.__)("No advanced options."))),wp.element.createElement(E.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(_.__)("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(x.a)("core/paragraph")),t.length&&r.push(Object(x.a)("core/list",{nodeName:s,values:t})),i({values:e}),o(r)}})]}}]),t}(y.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(y.createElement)(n.toLowerCase(),null,r)}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(608)),i=(n.n(o),n(16)),a=n(17),s=n(18);Object(i.m)("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(610)),i=(n.n(o),n(16)),a=n(17),s=n(18),l=n(67);Object(i.m)("core/more",{title:Object(r.__)("More"),icon:"editor-insertmore",category:"layout",useOnce:!0,className:!1,supportHTML:!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,u=t.customText,c=t.noTeaser,p=function(){return n({noTeaser:!c})},f=Object(r.__)("Read more"),d=void 0!==u?u:f,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:!!c,onChange:p})),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(0),o=(n.n(r),n(1)),i=(n.n(o),n(612)),a=(n.n(i),n(613)),s=(n.n(a),n(16)),l=n(32),u=n(183),c=n(26),p=n(67),f=n(41),d=n(249),h=n(17),m=n(18),g=s.q.attr,b=s.q.children;Object(s.m)("core/button",{title:Object(r.__)("Button"),icon:"button",category:"layout",attributes:{url:{type:"string",source:g("a","href")},title:{type:"string",source:g("a","title")},text:{type:"array",source:b("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:function(e){var t=e.attributes,n=e.setAttributes,i=e.focus,a=e.setFocus,s=e.className,g=t.text,b=t.url,v=t.title,y=t.align,_=t.color,w=t.textColor,x=t.clear,E=function(e){return n({align:e})},k=function(){return n({clear:!x})};return[i&&wp.element.createElement(c.a,{key:"controls"},wp.element.createElement(f.a,{value:y,onChange:E})),wp.element.createElement("span",{key:"button",className:s,title:v,style:{backgroundColor:_}},wp.element.createElement(l.a,{tagName:"span",placeholder:Object(r.__)("Add text…"),value:g,focus:i,onFocus:a,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],style:{color:w},keepPlaceholderOnFocus:!0}),i&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(u.a,{value:b,onChange:function(e){return n({url:e})}}),wp.element.createElement(o.IconButton,{icon:"editor-break",label:Object(r.__)("Apply"),type:"submit"})),i&&wp.element.createElement(h.a,{key:"inspector"},wp.element.createElement(m.a,null,wp.element.createElement("p",null,Object(r.__)("A nice little button. Call something out with it."))),wp.element.createElement(p.a,{label:Object(r.__)("Stand on a line"),checked:!!x,onChange:k}),wp.element.createElement(o.PanelBody,{title:Object(r.__)("Button Background Color")},wp.element.createElement(d.a,{value:_,onChange:function(e){return n({color:e})}})),wp.element.createElement(o.PanelBody,{title:Object(r.__)("Button Text Color")},wp.element.createElement(d.a,{value:w,onChange:function(e){return n({textColor:e})}}))))]},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";var r=n(10),o=n.n(r),i=n(0),a=(n.n(i),n(615)),s=(n.n(a),n(616)),l=(n.n(s),n(16)),u=n(32),c=n(26),p=n(41),f=n(17),d=n(18),h=l.q.children,m=l.q.query,g=l.q.node;Object(l.m)("core/pullquote",{title:Object(i.__)("Pullquote"),icon:"format-quote",category:"formatting",attributes:{value:{type:"array",source:m("blockquote > p",g())},citation:{type:"array",source:h("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,a=e.setFocus,s=e.className,l=t.value,h=t.citation,m=t.align,g=function(e){return n({align:e})};return[r&&wp.element.createElement(f.a,{key:"inspector"},wp.element.createElement(d.a,null,wp.element.createElement("p",null,Object(i.__)("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(c.a,{key:"controls"},wp.element.createElement(p.a,{value:m,onChange:g})),wp.element.createElement("blockquote",{key:"quote",className:s},wp.element.createElement(u.a,{multiline:"p",value:l,onChange:function(e){return n({value:e})},placeholder:Object(i.__)("Write quote…"),focus:r&&"value"===r.editable?r:null,onFocus:function(e){return a(o()({},e,{editable:"value"}))},wrapperClassName:"blocks-pullquote__content"}),(h||!!r)&&wp.element.createElement(u.a,{tagName:"footer",value:h,placeholder:Object(i.__)("Write caption…"),onChange:function(e){return n({citation:e})},focus:r&&"citation"===r.editable?r:null,onFocus:function(e){return a(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.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(618)),i=(n.n(o),n(619)),a=(n.n(i),n(16)),s=n(620),l=n(26),u=n(41),c=n(17),p=n(18),f=a.q.children;Object(a.m)("core/table",{title:Object(r.__)("Table"),icon:"editor-table",category:"formatting",attributes:{content:{type:"array",source:f("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,f=t.content,d=function(e){return n({align:e})};return[o&&wp.element.createElement(c.a,{key:"inspector"},wp.element.createElement(p.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(u.a,{value:t.align,onChange:d})),wp.element.createElement(s.a,{key:"editor",onChange:function(e){n({content:e})},content:f,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(10),s=n.n(a),l=n(4),u=n.n(l),c=n(5),p=n.n(c),f=n(6),d=n.n(f),h=n(7),m=n.n(h),g=n(8),b=n.n(g),v=n(3),y=(n.n(v),n(1)),_=(n.n(y),n(0)),w=(n.n(_),n(32)),x=n(26),E=[{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")}],k=function(e){function t(){p()(this,t);var e=m()(this,(t.__proto__||u()(t)).call(this));return e.handleSetup=e.handleSetup.bind(e),e.state={editor:null},e}return b()(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:E.map(function(t){return s()({},t,{onClick:function(){return t.onClick(e.state.editor)}})})})))]}}]),t}(v.Component);t.a=k},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(622)),i=(n.n(o),n(16)),a=n(32),s=n(17),l=n(18),u=i.q.children;Object(i.m)("core/preformatted",{title:Object(r.__)("Preformatted"),icon:"text",category:"formatting",attributes:{content:{type:"array",source:u("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,u=e.className,c=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:c,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write preformatted text…"),wrapperClassName:u})]},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(158),o=n.n(r),i=n(0),a=(n.n(i),n(628)),s=(n.n(a),n(16)),l=n(17),u=n(18),c=s.q.prop;Object(s.m)("core/code",{title:Object(i.__)("Code"),icon:"editor-code",category:"formatting",attributes:{content:{type:"string",source:c("code","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(u.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,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,u,c=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},p=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}}(),f=n(2),d=r(f),h=n(113),m=r(h),g=n(625),b=r(g),v=n(626),y=r(v),_=(u=l=function(e){function t(){var e,n,r,s;i(this,t);for(var l=arguments.length,u=Array(l),p=0;p<l;p++)u[p]=arguments[p];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),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,u=n&&s?s*n:null;return c({},a,{saveDOMNodeRef:l,style:u?c({},i,{maxHeight:u}):i,onChange:r.onChange})},s=n,a(r,s)}return s(t,e),p(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows?(this.updateLineHeight(),setTimeout(function(){return(0,b.default)(e.textarea)})):(0,b.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",c({},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},u);t.default=_,_.propTypes={rows:m.default.number,maxRows:m.default.number,onResize:m.default.func,innerRef:m.default.func}},function(e,t,n){var r,o,i;/*!
8
  Autosize 3.0.21
9
  license: MIT
10
  http://www.jacklmoore.com/autosize
11
  */
12
+ !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),u!==i){u=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,u=null,c=function(){e.clientWidth!==l&&o()},p=function(t){window.removeEventListener("resize",c,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",p,!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",p,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",c,!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:p,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="&nbsp;","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(627);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){},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(158),h=n.n(d),m=n(0),g=(n.n(m),n(3)),b=(n.n(g),n(630)),v=(n.n(b),n(16)),y=n(26),_=n(17),w=n(18),x=v.q.html;Object(v.m)("core/html",{title:Object(m.__)("Custom HTML"),icon:"html",category:"formatting",keywords:[Object(m.__)("embed")],className:!1,supportHTML:!1,attributes:{content:{type:"string",source:x()}},edit:function(e){function t(){a()(this,t);var e=c()(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 f()(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(m.__)("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(m.__)("Add custom HTML code and preview it right here in the editor.")))))}}]),t}(g.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(632)),i=(n.n(o),n(16)),a=n(633),s=i.q.prop;Object(i.m)("core/freeform",{title:Object(r.__)("Classic Text"),icon:"editor-kitchensink",category:"formatting",attributes:{content:{type:"string",source:s("innerHTML")}},edit:a.a,save:function(e){return e.attributes.content}}),Object(i.p)("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(10),i=n.n(o),a=n(4),s=n.n(a),l=n(5),u=n.n(l),c=n(6),p=n.n(c),f=n(7),d=n.n(f),h=n(8),m=n.n(h),g=n(3),b=(n.n(g),n(0)),v=(n.n(b),n(37)),y=(n.n(v),n(17)),_=n(18),w=v.keycodes.BACKSPACE,x=v.keycodes.DELETE,E=function(e){function t(e){u()(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 m()(t,e),p()(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;e.attributes.content!==r&&window.tinymce.get(n).setContent(r||"")}},{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,s=window.switchEditors.wpautop(o||"");e.on("loadContent",function(){return e.setContent(s)}),e.on("blur",function(){i({content:e.getContent()})}),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(b.__)("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(){return 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(b.__)("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"}),wp.element.createElement("div",{key:"editor",id:r,className:"blocks-editable__tinymce"})]}}]),t}(g.Component);t.a=E},function(e,t,n){"use strict";var r=n(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(3),h=(n.n(d),n(1)),m=(n.n(h),n(0)),g=(n.n(m),n(37)),b=(n.n(g),n(159)),v=n.n(b),y=n(15),_=n.n(y),w=n(635),x=(n.n(w),n(636)),E=(n.n(x),n(16)),k=n(637),O=n(17),C=n(248),S=n(67),j=n(114),T=n(18),A=n(26),P=n(41);Object(E.m)("core/latest-posts",{title:Object(m.__)("Latest Posts"),icon:"list-view",category:"widgets",keywords:[Object(m.__)("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=c()(this,(t.__proto__||o()(t)).apply(this,arguments));e.changePostsToShow=e.changePostsToShow.bind(e);var n=e.props.attributes.postsToShow;return e.state={latestPosts:[]},e.latestPostsRequest=Object(k.a)(n),e.latestPostsRequest.then(function(t){return e.setState({latestPosts:t})}),e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return f()(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(k.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.setAttributes;if(!t.length)return wp.element.createElement(h.Placeholder,{icon:"admin-post",label:Object(m.__)("Latest Posts")},wp.element.createElement(h.Spinner,null));var r=t.length-this.props.attributes.postsToShow;r>0&&t.splice(this.props.attributes.postsToShow,r);var o=this.props.focus,i=this.props.attributes,a=i.displayPostDate,s=i.align,l=i.layout,u=i.columns,c=[{icon:"list-view",title:Object(m.__)("List View"),onClick:function(){return n({layout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(m.__)("Grid View"),onClick:function(){return n({layout:"grid"})},isActive:"grid"===l}];return[o&&wp.element.createElement(A.a,{key:"controls"},wp.element.createElement(P.a,{value:s,onChange:function(e){n({align:e})},controls:["center","wide","full"]}),wp.element.createElement(h.Toolbar,{controls:c})),o&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement(T.a,null,wp.element.createElement("p",null,Object(m.__)("Shows a list of your site's most recent posts."))),wp.element.createElement("h3",null,Object(m.__)("Latest Posts Settings")),wp.element.createElement(S.a,{label:Object(m.__)("Display post date"),checked:a,onChange:this.toggleDisplayPostDate}),"grid"===l&&wp.element.createElement(j.a,{label:Object(m.__)("Columns"),value:u,onChange:function(e){return n({columns:e})},min:2,max:Math.min(6,t.length)}),wp.element.createElement(C.a,{label:Object(m.__)("Number of posts to show"),type:"number",min:1,max:100,value:this.props.attributes.postsToShow,onChange:function(t){return e.changePostsToShow(t)}})),wp.element.createElement("ul",{className:_()(this.props.className,"columns-"+u,{"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(g.decodeEntities)(t.title.rendered.trim())||Object(m.__)("(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(4),o=n.n(r),i=n(5),a=n.n(i),s=n(6),l=n.n(s),u=n(7),c=n.n(u),p=n(8),f=n.n(p),d=n(406),h=n.n(d),m=n(407),g=n.n(m),b=n(3),v=(n.n(b),n(1)),y=(n.n(v),n(0)),_=(n.n(y),n(640)),w=(n.n(_),n(641)),x=(n.n(w),n(16)),E=n(642),k=n(17),O=n(67),C=n(18),S=n(26),j=n(41);Object(x.m)("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=c()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={categories:[]},e.categoriesRequest=Object(E.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 f()(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},g()(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(k.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}(b.Component),save:function(){return null}})},function(e,t,n){var r=n(402),o={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},i=r(o);e.exports=i},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(15)),s=n.n(a),l=n(644),u=(n.n(l),n(645)),c=(n.n(u),n(16)),p=n(32),f=n(115),d=n(26),h=n(41),m=n(17),g=n(67),b=n(114),v=n(18),y=c.q.children,_=["left","center","right","wide","full"];Object(c.m)("core/cover-image",{title:Object(i.__)("Cover Image"),icon:"format-image",category:"common",attributes:{title:{type:"array",source:y("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!==_.indexOf(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.focus,l=e.setFocus,u=e.className,c=t.url,y=t.title,_=t.align,w=t.id,x=t.hasParallax,E=t.dimRatio,k=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=c?{backgroundImage:"url("+c+")"}:void 0,T=s()(u,r(E),{"has-background-dim":0!==E,"has-parallax":x}),A=a&&[wp.element.createElement(d.a,{key:"controls"},wp.element.createElement(h.a,{value:_,onChange:k}),wp.element.createElement(o.Toolbar,null,wp.element.createElement(f.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(m.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(g.a,{label:Object(i.__)("Fixed Background"),checked:!!x,onChange:C}),wp.element.createElement(b.a,{label:Object(i.__)("Background Dimness"),value:E,onChange:S,min:0,max:100,step:10}))];if(!c){var P={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:u},wp.element.createElement(f.a,{buttonProps:P,onSelect:O,type:"image"},Object(i.__)("Insert from Media Library")))]}return[A,wp.element.createElement("section",{key:"preview","data-url":c,style:j,className:T},y||a?wp.element.createElement(p.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,u=o?{backgroundImage:"url("+o+")"}:void 0,c=s()(n,r(l),{"has-background-dim":0!==l,"has-parallax":a});return wp.element.createElement("section",{className:c,style:u},wp.element.createElement("h2",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(158),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(647)),l=(n.n(s),n(16)),u=n(17),c=n(18),p=l.q.text;Object(l.m)("core/shortcode",{title:Object(i.__)("Shortcode"),icon:"marker",category:"widgets",attributes:{text:{type:"string",source:p()}},className:!1,supportHTML:!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(u.a,null,wp.element.createElement(c.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";var r=n(27),o=n.n(r),i=n(407),a=n.n(i),s=n(0),l=(n.n(s),n(649)),u=(n.n(l),n(650)),c=(n.n(u),n(16)),p=n(26),f=n(41),d=n(114),h=n(32),m=n(17),g=n(18),b=c.q.children,v=c.q.query;Object(c.m)("core/text-columns",{title:Object(s.__)("Text Columns"),icon:"columns",category:"layout",attributes:{content:{type:"array",source:v("p",b()),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,u=t.width,c=t.content,b=t.columns;return[i&&wp.element.createElement(p.a,{key:"controls"},wp.element.createElement(f.a,{value:u,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),i&&wp.element.createElement(m.a,{key:"inspector"},wp.element.createElement(g.a,null,wp.element.createElement("p",null,Object(s.__)("Add text across columns."))),wp.element.createElement(d.a,{label:Object(s.__)("Columns"),value:b,onChange:function(e){return n({columns:e})},min:2,max:4})),wp.element.createElement("section",{className:r+" align"+u+" columns-"+b,key:"block"},a()(b,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement(h.a,{tagName:"p",value:c&&c[e],onChange:function(t){n({content:[].concat(o()(c.slice(0,e)),[t],o()(c.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]))}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(652)),i=(n.n(o),n(16)),a=n(32),s=n(17),l=n(18),u=i.q.children;Object(i.m)("core/verse",{title:Object(r.__)("Verse"),icon:"edit",category:"formatting",keywords:[Object(r.__)("poetry")],attributes:{content:{type:"array",source:u("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,u=e.className,c=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:c,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write…"),wrapperClassName:u,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(10),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(654)),l=(n.n(s),n(16)),u=n(115),c=n(32),p=n(26),f=n(41),d=n(17),h=n(18),m=l.q.attr,g=l.q.children;Object(l.m)("core/video",{title:Object(i.__)("Video"),icon:"format-video",category:"common",attributes:{align:{type:"string"},id:{type:"number"},src:{type:"string",source:m("video","src")},caption:{type:"array",source:g("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,m=t.src,g=t.caption,b=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(p.a,{key:"controls"},wp.element.createElement(f.a,{value:b,onChange:w}),wp.element.createElement(a.Toolbar,null,wp.element.createElement(u.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 m?[x,wp.element.createElement("figure",{key:"video",className:r},wp.element.createElement("video",{controls:!0,src:m,onClick:l}),g&&g.length>0||s?wp.element.createElement(c.a,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:g,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(u.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(10),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(0),g=(n.n(m),n(1)),b=(n.n(g),n(3)),v=(n.n(b),n(656)),y=(n.n(v),n(16)),_=n(115),w=n(32),x=n(26),E=n(41),k=n(17),O=n(18),C=y.q.attr,S=y.q.children;Object(y.m)("core/audio",{title:Object(m.__)("Audio"),icon:"format-audio",category:"common",attributes:{src:{type:"string",source:C("audio","src")},align:{type:"string"},caption:{type:"array",source:S("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=f()(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),c()(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,u=this.state,c=u.editing,p=u.className,f=u.src,d=function(e){return a({align:e})},h=function(){e.setState({editing:!0})},b=function(t){t&&t.url&&(a({src:t.url}),e.setState({src:t.url,editing:!1}))},v=function(t){return t.preventDefault(),f&&(a({src:f}),e.setState({editing:!1})),!1},y=s&&wp.element.createElement(x.a,{key:"controls"},wp.element.createElement(E.a,{value:n,onChange:d}),wp.element.createElement(g.Toolbar,null,wp.element.createElement(g.Button,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(m.__)("Edit audio")},type:"audio",onClick:h},wp.element.createElement(g.Dashicon,{icon:"edit"})))),C=s&&wp.element.createElement(k.a,{key:"inspector"},wp.element.createElement(O.a,null,wp.element.createElement("p",null,Object(m.__)("The Audio block allows you to embed audio files and play them back using a simple player.")))),S=function(e){return l(o()({editable:"caption"},e))};return c?[C,wp.element.createElement(g.Placeholder,{key:"placeholder",icon:"media-audio",label:Object(m.__)("Audio"),instructions:Object(m.__)("Select an audio file from your library, or upload a new one:"),className:p},wp.element.createElement("form",{onSubmit:v},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(m.__)("Enter URL of audio file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:f||""}),wp.element.createElement(g.Button,{isLarge:!0,type:"submit"},Object(m.__)("Use URL"))),wp.element.createElement(_.a,{buttonProps:{isLarge:!0},onSelect:b,type:"audio"},Object(m.__)("Insert from Media Library")))]:[y,C,wp.element.createElement("figure",{key:"audio",className:p},wp.element.createElement("audio",{controls:"controls",src:f}),(r&&r.length||!!s)&&wp.element.createElement(w.a,{tagName:"figcaption",placeholder:Object(m.__)("Write caption…"),value:r,focus:s&&"caption"===s.editable?s:void 0,onFocus:S,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))]}}]),t}(b.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(267),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),u=n(6),c=n.n(u),p=n(7),f=n.n(p),d=n(8),h=n.n(d),m=n(31),g=n.n(m),b=n(184),v=n.n(b),y=n(3),_=(n.n(y),function(e){function t(){return l()(this,t),f()(this,(t.__proto__||a()(t)).apply(this,arguments))}return h()(t,e),c()(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:g.a},t.a=_}]);
components/build/index.js CHANGED
@@ -1,6 +1,6 @@
1
- this.wp=this.wp||{},this.wp.components=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=679)}([function(e,t){!function(){e.exports=this.wp.i18n}()},,function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t,n){e.exports={default:n(366),__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(182),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