Simple Sitemap – Automatically Generate a Responsive Sitemap - Version 3.5.7

Version Description

  • July 15, 2022 =

  • [fix] Styles not enqueued for sitemap shortcodes.

  • [update] Added compatibility with WP 6.x.

Download this release

Release Info

Developer dgwyer
Plugin Icon Simple Sitemap – Automatically Generate a Responsive Sitemap
Version 3.5.7
Comparing to
See all releases

Code changes from version 3.5.6 to 3.5.7

lib/block_assets/js/blocks.editor.js CHANGED
@@ -1,3 +1,10429 @@
1
- /*! For license information please see blocks.editor.js.LICENSE.txt */
2
- (()=>{var e={679:(e,t,n)=>{"use strict";var r=n(864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=d(n);o&&o!==m&&e(t,o,r)}var i=c(n);p&&(i=i.concat(p(n)));for(var s=l(t),h=l(n),v=0;v<i.length;++v){var b=i[v];if(!(a[b]||r&&r[b]||h&&h[b]||s&&s[b])){var g=f(n,b);try{u(t,b,g)}catch(e){}}}}return t}},703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},639:(e,t,n)=>{"use strict";var r=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},o=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=n(804),i=l(a),s=l(n(697));function l(e){return e&&e.__esModule?e:{default:e}}var u={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||d(),prevId:e.id},n}return 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)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||d(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?i.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=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}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,i.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),i.default.createElement("input",r({},o,{ref:this.inputRef})),i.default.createElement("div",{ref:this.sizerRef,style:u},e),this.props.placeholder?i.default.createElement("div",{ref:this.placeHolderSizerRef,style:u},this.props.placeholder):null)}}]),t}(a.Component);m.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},m.defaultProps={minWidth:1,injectStyles:!0},t.Z=m},921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case p:case a:case s:case i:case d:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case h:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===i||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===g||e.$$typeof===y||e.$$typeof===O||e.$$typeof===b)},t.typeOf=w},864:(e,t,n)=>{"use strict";e.exports=n(921)},804:e=>{"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e){if(null==e)throw new TypeError("Cannot destructure undefined")}var r=n(804),o=n.n(r);function a(){return(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}).apply(this,arguments)}var i=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),s=Math.abs,l=String.fromCharCode;function u(e){return e.trim()}function c(e,t,n){return e.replace(t,n)}function p(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function m(e){return e.length}function h(e){return e.length}function v(e,t){return t.push(e),e}var b=1,g=1,y=0,O=0,w=0,S="";function x(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:b,column:g,length:i,return:""}}function k(e,t,n){return x(e,t.root,t.parent,n,t.props,t.children,0)}function C(){return w=O>0?f(S,--O):0,g--,10===w&&(g=1,b--),w}function E(){return w=O<y?f(S,O++):0,g++,10===w&&(g=1,b++),w}function P(){return f(S,O)}function M(){return O}function I(e,t){return d(S,e,t)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return b=g=1,y=m(S=e),O=0,[]}function D(e){return S="",e}function T(e){return u(I(O-1,A(91===e?e+2:40===e?e+1:e)))}function _(e){for(;(w=P())&&w<33;)E();return R(e)>2||R(w)>3?"":" "}function L(e,t){for(;--t&&E()&&!(w<48||w>102||w>57&&w<65||w>70&&w<97););return I(e,M()+(t<6&&32==P()&&32==E()))}function A(e){for(;E();)switch(w){case e:return O;case 34:case 39:return A(34===e||39===e?e:w);case 40:41===e&&A(e);break;case 92:E()}return O}function F(e,t){for(;E()&&e+w!==57&&(e+w!==84||47!==P()););return"/*"+I(t,O-1)+"*"+l(47===e?e:E())}function N(e){for(;!R(P());)E();return I(e,O)}var j="-ms-",H="-moz-",z="-webkit-",$="comm",U="rule",B="decl";function W(e,t){for(var n="",r=h(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function G(e,t,n,r){switch(e.type){case"@import":case B:return e.return=e.return||e.value;case $:return"";case U:e.value=e.props.join(",")}return m(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function Y(e,t){switch(function(e,t){return(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3)}(e,t)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+H+e+j+e+e;case 6828:case 4268:return z+e+j+e+e;case 6165:return z+e+j+"flex-"+e+e;case 5187:return z+e+c(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return z+e+j+"flex-item-"+c(e,/flex-|-self/,"")+e;case 4675:return z+e+j+"flex-line-pack"+c(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+j+c(e,"shrink","negative")+e;case 5292:return z+e+j+c(e,"basis","preferred-size")+e;case 6060:return z+"box-"+c(e,"-grow","")+z+e+j+c(e,"grow","positive")+e;case 4554:return z+c(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return c(c(c(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return c(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return c(c(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return c(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+H+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?Y(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,m(e)-3-(~p(e,"!important")&&10))){case 107:return c(e,":",":"+z)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===f(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return z+e+j+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+j+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+j+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+j+e+e}return e}function X(e){return D(q("",null,null,null,[""],e=V(e),0,[0],e))}function q(e,t,n,r,o,a,i,s,u){for(var p=0,f=0,d=i,h=0,b=0,g=0,y=1,O=1,w=1,S=0,x="",k=o,I=a,R=r,V=x;O;)switch(g=S,S=E()){case 34:case 39:case 91:case 40:V+=T(S);break;case 9:case 10:case 13:case 32:V+=_(g);break;case 92:V+=L(M()-1,7);continue;case 47:switch(P()){case 42:case 47:v(Z(F(E(),M()),t,n),u);break;default:V+="/"}break;case 123*y:s[p++]=m(V)*w;case 125*y:case 59:case 0:switch(S){case 0:case 125:O=0;case 59+f:b>0&&m(V)-d&&v(b>32?J(V+";",r,n,d-1):J(c(V," ","")+";",r,n,d-2),u);break;case 59:V+=";";default:if(v(R=K(V,t,n,p,f,o,s,x,k=[],I=[],d),a),123===S)if(0===f)q(V,t,R,R,k,a,d,s,I);else switch(h){case 100:case 109:case 115:q(e,R,R,r&&v(K(e,R,R,0,0,o,s,x,o,k=[],d),I),o,I,d,s,r?k:I);break;default:q(V,R,R,R,[""],I,d,s,I)}}p=f=b=0,y=w=1,x=V="",d=i;break;case 58:d=1+m(V),b=g;default:if(y<1)if(123==S)--y;else if(125==S&&0==y++&&125==C())continue;switch(V+=l(S),S*y){case 38:w=f>0?1:(V+="\f",-1);break;case 44:s[p++]=(m(V)-1)*w,w=1;break;case 64:45===P()&&(V+=T(E())),h=P(),f=m(x=V+=N(M())),S++;break;case 45:45===g&&2==m(V)&&(y=0)}}return a}function K(e,t,n,r,o,a,i,l,p,f,m){for(var v=o-1,b=0===o?a:[""],g=h(b),y=0,O=0,w=0;y<r;++y)for(var S=0,k=d(e,v+1,v=s(O=i[y])),C=e;S<g;++S)(C=u(O>0?b[S]+" "+k:c(k,/&\f/g,b[S])))&&(p[w++]=C);return x(e,t,n,0===o?U:l,p,f,m)}function Z(e,t,n){return x(e,t,n,$,l(w),d(e,2,-2),0)}function J(e,t,n,r){return x(e,t,n,B,d(e,0,r),d(e,r+1,-1),r)}var Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],a=function(e,t){return D(function(e,t){var n=-1,r=44;do{switch(R(r)){case 0:38===r&&12===P()&&(t[n]=1),e[n]+=N(O-1);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===P()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=l(r)}}while(r=E());return e}(V(e),t))}(t,o),i=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<i.length;c++,u++)e.props[u]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ne=[function(e,t,n,r){if(!e.return)switch(e.type){case B:e.return=Y(e.value,e.length);break;case"@keyframes":return W([k(c(e.value,"@","@"+z),e,"")],r);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return W([k(c(t,/:(read-\w+)/,":-moz-$1"),e,"")],r);case"::placeholder":return W([k(c(t,/:(plac\w+)/,":-webkit-input-$1"),e,""),k(c(t,/:(plac\w+)/,":-moz-$1"),e,""),k(c(t,/:(plac\w+)/,j+"input-$1"),e,"")],r)}return""}))}}];const re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){document.head.appendChild(e),e.setAttribute("data-s","")}))}var r,o,a=e.stylisPlugins||ne,s={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var n=e.getAttribute("data-emotion").split(" ");if(n[0]===t){for(var r=1;r<n.length;r++)s[n[r]]=!0;l.push(e)}}));var u,c,p,f,d=[G,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(c=[ee,te].concat(a,d),p=h(c),function(e,t,n,r){for(var o="",a=0;a<p;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,W(X(e?e+"{"+t.styles+"}":t.styles),m),r&&(v.inserted[t.name]=!0)};var v={key:t,sheet:new i({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:s,registered:{},insert:o};return v.sheet.hydrate(l),v};function oe(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var ae=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};const ie=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},se={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var le=/[A-Z]|^ms/g,ue=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ce=function(e){return 45===e.charCodeAt(1)},pe=function(e){return null!=e&&"boolean"!=typeof e},fe=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=ce(n=e)?n:n.replace(le,"-$&").toLowerCase()),t[e];var n}}(),de=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ue,(function(e,t,n){return he={name:t,styles:n,next:he},t}))}return 1===se[e]||ce(e)||"number"!=typeof t||0===t?t:t+"px"};function me(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return he={name:n.name,styles:n.styles,next:he},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)he={name:r.name,styles:r.styles,next:he},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=me(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":pe(i)&&(r+=fe(a)+":"+de(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=me(e,t,i);switch(a){case"animation":case"animationName":r+=fe(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)pe(i[l])&&(r+=fe(a)+":"+de(a,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=he,a=n(e);return he=o,me(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var he,ve=/label:\s*([^\s;\n{]+)\s*(;|$)/g,be=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";he=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=me(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=me(n,t,e[i]),r&&(o+=a[i]);ve.lastIndex=0;for(var s,l="";null!==(s=ve.exec(o));)l+="-"+s[1];return{name:ie(o)+l,styles:o,next:he}},ge=Object.prototype.hasOwnProperty,ye=(0,r.createContext)("undefined"!=typeof HTMLElement?re({key:"css"}):null),Oe=(ye.Provider,function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(ye);return e(t,o,n)}))}),we=(0,r.createContext)({}),Se="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xe=function(e,t){var n={};for(var r in t)ge.call(t,r)&&(n[r]=t[r]);return n[Se]=e,n},ke=Oe((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[Se],i=[o],s="";"string"==typeof e.className?s=oe(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=be(i,void 0,"function"==typeof o||Array.isArray(o)?(0,r.useContext)(we):void 0);ae(t,l,"string"==typeof a),s+=t.key+"-"+l.name;var u={};for(var c in e)ge.call(e,c)&&"css"!==c&&c!==Se&&(u[c]=e[c]);return u.ref=n,u.className=s,(0,r.createElement)(a,u)}));n(679);var Ce=function(e,t){var n=arguments;if(null==t||!ge.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=ke,a[1]=xe(e,t);for(var i=2;i<o;i++)a[i]=n[i];return r.createElement.apply(null,a)};function Ee(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return be(t)}var Pe=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};function Me(e,t,n){var r=[],o=oe(e,r,n);return r.length<2?n:o+t(r)}var Ie=Oe((function(e,t){var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=be(n,t.registered);return ae(t,o,!1),t.key+"-"+o.name},o={css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Me(t.registered,n,Pe(r))},theme:(0,r.useContext)(we)};return e.children(o)}));function Re(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ve(e){return(Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var De=n(639);function Te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a 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)}}function Le(e,t,n){return t&&_e(e.prototype,t),n&&_e(e,n),e}function Ae(e,t){return(Ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ae(e,t)}const Ne=ReactDOM;function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){je(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $e(e){return($e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$e(e);if(t){var o=$e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ue(this,n)}}var We=function(){};function Ge(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ye(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Ge(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Xe=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===Ve(e)&&null!==e?[e]:[]},qe=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,ze({},Re(e,["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"]))};function Ke(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ze(e){return Ke(e)?window.pageYOffset:e.scrollTop}function Je(e,t){Ke(e)?window.scrollTo(0,t):e.scrollTop=t}function Qe(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function et(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:We,o=Ze(e),a=t-o,i=10,s=0;function l(){var t=Qe(s+=i,o,a,n);Je(e,t),s<n?window.requestAnimationFrame(l):r(e)}l()}function tt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var nt=!1,rt={get passive(){return nt=!0}},ot="undefined"!=typeof window?window:{};ot.addEventListener&&ot.removeEventListener&&(ot.addEventListener("p",We,rt),ot.removeEventListener("p",We,!1));var at=nt;function it(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.theme.spacing,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return o}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,d=p.height,m=p.top,h=n.offsetParent.getBoundingClientRect().top,v=window.innerHeight,b=Ze(l),g=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),O=h-y,w=v-m,S=O+b,x=c-b-m,k=f-v+b+g,C=b+m-y,E=160;switch(o){case"auto":case"bottom":if(w>=d)return{placement:"bottom",maxHeight:t};if(x>=d&&!i)return a&&et(l,k,E),{placement:"bottom",maxHeight:t};if(!i&&x>=r||i&&w>=r)return a&&et(l,k,E),{placement:"bottom",maxHeight:i?w-g:x-g};if("auto"===o||i){var P=t,M=i?O:S;return M>=r&&(P=Math.min(M-g-s.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return a&&Je(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(O>=d)return{placement:"top",maxHeight:t};if(S>=d&&!i)return a&&et(l,C,E),{placement:"top",maxHeight:t};if(!i&&S>=r||i&&O>=r){var I=t;return(!i&&S>=r||i&&O>=r)&&(I=i?O-y:S-y),a&&et(l,C,E),{placement:"top",maxHeight:I}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var st=function(e){return"auto"===e?"bottom":e},lt=(0,r.createContext)({getPortalPlacement:null}),ut=function(e){Fe(n,e);var t=Be(n);function n(){var e;Te(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,a=n.menuPlacement,i=n.menuPosition,s=n.menuShouldScrollIntoView,l=n.theme;if(t){var u="fixed"===i,c=it({maxHeight:o,menuEl:t,minHeight:r,placement:a,shouldScroll:s&&!u,isFixedPosition:u,theme:l}),p=e.context.getPortalPlacement;p&&p(c),e.setState(c)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||st(t);return ze(ze({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return Le(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(r.Component);ut.contextType=lt;var ct=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},pt=ct,ft=ct,dt=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Ce("div",a({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};dt.defaultProps={children:"No options"};var mt=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Ce("div",a({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};mt.defaultProps={children:"Loading..."};var ht,vt,bt,gt=function(e){Fe(n,e);var t=Be(n);function n(){var e;Te(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==st(e.props.menuPlacement)&&e.setState({placement:n})},e}return Le(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.className,o=e.controlElement,i=e.cx,s=e.innerProps,l=e.menuPlacement,u=e.menuPosition,c=e.getStyles,p="fixed"===u;if(!t&&!p||!o)return null;var f=this.state.placement||st(l),d=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),m=p?0:window.pageYOffset,h=d[f]+m,v=Ce("div",a({css:c("menuPortal",{offset:h,position:u,rect:d}),className:i({"menu-portal":!0},r)},s),n);return Ce(lt.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,Ne.createPortal)(v,t):v)}}]),n}(r.Component),yt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ot=function(e){var t=e.size,n=Re(e,["size"]);return Ce("svg",a({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:yt},n))},wt=function(e){return Ce(Ot,a({size:20},e),Ce("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},St=function(e){return Ce(Ot,a({size:20},e),Ce("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},xt=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},kt=xt,Ct=xt,Et=function(){var e=Ee.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(ht||(vt=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],bt||(bt=vt.slice(0)),ht=Object.freeze(Object.defineProperties(vt,{raw:{value:Object.freeze(bt)}})))),Pt=function(e){var t=e.delay,n=e.offset;return Ce("span",{css:Ee({animation:"".concat(Et," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Mt=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,i=e.isRtl;return Ce("div",a({css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},o),Ce(Pt,{delay:0,offset:i}),Ce(Pt,{delay:160,offset:!0}),Ce(Pt,{delay:320,offset:!i}))};Mt.defaultProps={size:4};var It=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Rt=function(e){var t=e.children,n=e.innerProps;return Ce("div",n,t)},Vt=Rt,Dt=Rt,Tt=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,i=e.getStyles,s=e.innerProps,l=e.isDisabled,u=e.removeProps,c=e.selectProps,p=r.Container,f=r.Label,d=r.Remove;return Ce(Ie,null,(function(r){var m=r.css,h=r.cx;return Ce(p,{data:a,innerProps:ze({className:h(m(i("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":l},n))},s),selectProps:c},Ce(f,{data:a,innerProps:{className:h(m(i("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),Ce(d,{data:a,innerProps:ze({className:h(m(i("multiValueRemove",e)),o({"multi-value__remove":!0},n))},u),selectProps:c}))}))};Tt.defaultProps={cropWithEllipsis:!0};var _t={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Ce("div",a({css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)},i),t||Ce(wt,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,i=e.isDisabled,s=e.isFocused,l=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return Ce("div",a({ref:l,css:r("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":s,"control--menu-is-open":c},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Ce("div",a({css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)},i),t||Ce(St,null))},DownChevron:St,CrossIcon:wt,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.Heading,s=e.headingProps,l=e.innerProps,u=e.label,c=e.theme,p=e.selectProps;return Ce("div",a({css:o("group",e),className:r({group:!0},n)},l),Ce(i,a({},s,{selectProps:p,theme:c,getStyles:o,cx:r}),u),Ce("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,r=e.className,o=qe(e);o.data;var i=Re(o,["data"]);return Ce("div",a({css:t("groupHeading",e),className:n({"group-heading":!0},r)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,i=e.getStyles;return Ce("div",a({css:i("indicatorsContainer",e),className:r({indicators:!0},n)},o),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return Ce("span",a({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=qe(e),i=o.innerRef,s=o.isDisabled,l=o.isHidden,u=Re(o,["innerRef","isDisabled","isHidden"]);return Ce("div",{css:r("input",e)},Ce(De.Z,a({className:n({input:!0},t),inputRef:i,inputStyle:It(l),disabled:s},u)))},LoadingIndicator:Mt,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerRef,s=e.innerProps;return Ce("div",a({css:o("menu",e),className:r({menu:!0},n),ref:i},s),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,s=e.innerRef,l=e.isMulti;return Ce("div",a({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":l},n),ref:s},i),t)},MenuPortal:gt,LoadingMessage:mt,NoOptionsMessage:dt,MultiValue:Tt,MultiValueContainer:Vt,MultiValueLabel:Dt,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ce("div",n,t||Ce(wt,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,s=e.isFocused,l=e.isSelected,u=e.innerRef,c=e.innerProps;return Ce("div",a({css:o("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":l},n),ref:u},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return Ce("div",a({css:o("placeholder",e),className:r({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,s=e.isDisabled,l=e.isRtl;return Ce("div",a({css:o("container",e),className:r({"--is-disabled":s,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,s=e.innerProps;return Ce("div",a({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.innerProps,i=e.isMulti,s=e.getStyles,l=e.hasValue;return Ce("div",a({css:s("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":l},n)},o),t)}};function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function At(e,t){if(e){if("string"==typeof e)return Lt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lt(e,t):void 0}}function Ft(e){return function(e){if(Array.isArray(e))return Lt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||At(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}for(var jt={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Ht=function(e){return Ce("span",a({css:jt},e))},zt={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=void 0===n?{}:n,o=e.options,a=e.label,i=void 0===a?"":a,s=e.selectValue,l=e.isDisabled,u=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(c(s,r),".");if("menu"===t){var p=l?" disabled":"",f="".concat(u?"selected":"focused").concat(p);return"option ".concat(i," ").concat(f,", ").concat(c(o,r),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},$t=function(e){var t=e.ariaSelection,n=e.focusedOption,a=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,u=e.selectProps,c=u.ariaLiveMessages,p=u.getOptionLabel,f=u.inputValue,d=u.isMulti,m=u.isOptionDisabled,h=u.isSearchable,v=u.menuIsOpen,b=u.options,g=u.screenReaderStatus,y=u.tabSelectsValue,O=u["aria-label"],w=u["aria-live"],S=(0,r.useMemo)((function(){return ze(ze({},zt),c||{})}),[c]),x=(0,r.useMemo)((function(){var e,n="";if(t&&S.onChange){var r=t.option,o=t.removedValue,a=t.value,i=o||r||(e=a,Array.isArray(e)?null:e),s=ze({isDisabled:i&&m(i),label:i?p(i):""},t);n=S.onChange(s)}return n}),[t,m,p,S]),k=(0,r.useMemo)((function(){var e="",t=n||a,r=!!(n&&l&&l.includes(n));if(t&&S.onFocus){var o={focused:t,label:p(t),isDisabled:m(t),isSelected:r,options:b,context:t===n?"menu":"value",selectValue:l};e=S.onFocus(o)}return e}),[n,a,p,m,S,b,l]),C=(0,r.useMemo)((function(){var e="";if(v&&b.length&&S.onFilter){var t=g({count:i.length});e=S.onFilter({inputValue:f,resultsMessage:t})}return e}),[i,f,v,S,b,g]),E=(0,r.useMemo)((function(){var e="";if(S.guidance){var t=a?"value":v?"menu":"input";e=S.guidance({"aria-label":O,context:t,isDisabled:n&&m(n),isMulti:d,isSearchable:h,tabSelectsValue:y})}return e}),[O,n,a,d,m,h,v,S,y]),P="".concat(k," ").concat(C," ").concat(E);return Ce(Ht,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text"},s&&Ce(o().Fragment,null,Ce("span",{id:"aria-selection"},x),Ce("span",{id:"aria-context"},P)))},Ut=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Bt=new RegExp("["+Ut.map((function(e){return e.letters})).join("")+"]","g"),Wt={},Gt=0;Gt<Ut.length;Gt++)for(var Yt=Ut[Gt],Xt=0;Xt<Yt.letters.length;Xt++)Wt[Yt.letters[Xt]]=Yt.base;var qt=function(e){return e.replace(Bt,(function(e){return Wt[e]}))},Kt=function(e,t){var n;void 0===t&&(t=Nt);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}(qt),Zt=function(e){return e.replace(/^\s+|\s+$/g,"")},Jt=function(e){return"".concat(e.label," ").concat(e.value)};function Qt(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef;e.emotion;var n=Re(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Ce("input",a({ref:t},n,{css:Ee({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"","")}))}var en=["boxSizing","height","overflow","paddingRight","position"],tn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function nn(e){e.preventDefault()}function rn(e){e.stopPropagation()}function on(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function an(){return"ontouchstart"in window||navigator.maxTouchPoints}var sn=!("undefined"==typeof window||!window.document||!window.document.createElement),ln=0,un={capture:!1,passive:!1},cn=function(){return document.activeElement&&document.activeElement.blur()},pn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function fn(e){var t=e.children,n=e.lockEnabled,a=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,s=(0,r.useRef)(!1),l=(0,r.useRef)(!1),u=(0,r.useRef)(0),c=(0,r.useRef)(null),p=(0,r.useCallback)((function(e,t){if(null!==c.current){var r=c.current,u=r.scrollTop,p=r.scrollHeight,f=r.clientHeight,d=c.current,m=t>0,h=p-f-u,v=!1;h>t&&s.current&&(o&&o(e),s.current=!1),m&&l.current&&(i&&i(e),l.current=!1),m&&t>h?(n&&!s.current&&n(e),d.scrollTop=p,v=!0,s.current=!0):!m&&-t>u&&(a&&!l.current&&a(e),d.scrollTop=0,v=!0,l.current=!0),v&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[]),f=(0,r.useCallback)((function(e){p(e,e.deltaY)}),[p]),d=(0,r.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),m=(0,r.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)}),[p]),h=(0,r.useCallback)((function(e){if(e){var t=!!at&&{passive:!1};"function"==typeof e.addEventListener&&e.addEventListener("wheel",f,t),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",d,t),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",m,t)}}),[m,d,f]),v=(0,r.useCallback)((function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",f,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",d,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",m,!1))}),[m,d,f]);return(0,r.useEffect)((function(){if(t){var e=c.current;return h(e),function(){v(e)}}}),[t,h,v]),function(e){c.current=e}}({isEnabled:void 0===a||a,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,a=(0,r.useRef)({}),i=(0,r.useRef)(null),s=(0,r.useCallback)((function(e){if(sn){var t=document.body,n=t&&t.style;if(o&&en.forEach((function(e){var t=n&&n[e];a.current[e]=t})),o&&ln<1){var r=parseInt(a.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+r||0;Object.keys(tn).forEach((function(e){var t=tn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&an()&&(t.addEventListener("touchmove",nn,un),e&&(e.addEventListener("touchstart",on,un),e.addEventListener("touchmove",rn,un))),ln+=1}}),[]),l=(0,r.useCallback)((function(e){if(sn){var t=document.body,n=t&&t.style;ln=Math.max(ln-1,0),o&&ln<1&&en.forEach((function(e){var t=a.current[e];n&&(n[e]=t)})),t&&an()&&(t.removeEventListener("touchmove",nn,un),e&&(e.removeEventListener("touchstart",on,un),e.removeEventListener("touchmove",rn,un)))}}),[]);return(0,r.useEffect)((function(){if(t){var e=i.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){i.current=e}}({isEnabled:n});return Ce(o().Fragment,null,n&&Ce("div",{onClick:cn,css:pn}),t((function(e){i(e),s(e)})))}var dn={clearIndicator:Ct,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:kt,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:ft,menu:function(t){var n,r=t.placement,o=t.theme,a=o.borderRadius,i=o.spacing,s=o.colors;return e(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),e(n,"backgroundColor",s.neutral0),e(n,"borderRadius",a),e(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),e(n,"marginBottom",i.menuGutter),e(n,"marginTop",i.menuGutter),e(n,"position","absolute"),e(n,"width","100%"),e(n,"zIndex",1),n},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:pt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},mn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},hn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:tt(),captureMenuScroll:!tt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=ze({ignoreCase:!0,ignoreAccents:!0,stringify:Jt,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,s=n.matchFrom,l=i?Zt(t):t,u=i?Zt(a(e)):a(e);return r&&(l=l.toLowerCase(),u=u.toLowerCase()),o&&(l=Kt(l),u=qt(u)),"start"===s?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function vn(e,t,n,r){return{type:"option",data:t,isDisabled:Sn(e,t,n),isSelected:xn(e,t,n),label:On(e,t),value:wn(e,t),index:r}}function bn(e,t){return e.options.map((function(n,r){if(n.options){var o=n.options.map((function(n,r){return vn(e,n,t,r)})).filter((function(t){return yn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=vn(e,n,t,r);return yn(e,a)?a:void 0})).filter((function(e){return!!e}))}function gn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Ft(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function yn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!Cn(e)||!a)&&kn(e,{label:i,value:s,data:o},r)}var On=function(e,t){return e.getOptionLabel(t)},wn=function(e,t){return e.getOptionValue(t)};function Sn(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function xn(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=wn(e,t);return n.some((function(t){return wn(e,t)===r}))}function kn(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Cn=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},En=1,Pn=function(e){Fe(n,e);var t=Be(n);function n(e){var r;return Te(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,a=n.name;t.name=a,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,o=r.props,a=o.closeMenuOnSelect,i=o.isMulti;r.onInputChange("",{action:"set-value"}),a&&(r.setState({inputIsHiddenAfterUpdate:!i}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,a=t.name,i=r.state.selectValue,s=o&&r.isOptionSelected(e,i),l=r.isOptionDisabled(e,i);if(s){var u=r.getOptionValue(e);r.setValue(i.filter((function(e){return r.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",name:a});o?r.setValue([].concat(Ft(i),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),a=n.filter((function(e){return r.getOptionValue(e)!==o})),i=t?a:a[0]||null;r.onChange(i,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(r.props.isMulti?[]:null,{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),a=e?o:o[0]||null;r.onChange(a,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ye.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return On(r.props,e)},r.getOptionValue=function(e){return wn(r.props,e)},r.getStyles=function(e,t){var n=dn[e](t);n.boxSizing="border-box";var o=r.props.styles[e];return o?o(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,ze(ze({},_t),e.components);var e},r.buildCategorizedOptions=function(){return bn(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return gn(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:ze({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.stopPropagation(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ke(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),a=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||a>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(t,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return Cn(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,f=t.openMenuOnFocus,d=r.state,m=d.focusedOption,h=d.focusedValue,v=d.selectValue;if(!(l||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;r.focusValue("previous");break;case"ArrowRight":if(!n||i)return;r.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(h)r.removeValue(h);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!p||!m||f&&r.isOptionSelected(m,v))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(u){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&a&&r.clearValue();break;case" ":if(i)return;if(!u){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++En),r.state.selectValue=Xe(e.value),r}return Le(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,a,i=this.props,s=i.isDisabled,l=i.menuIsOpen,u=this.state.isFocused;(u&&!s&&e.isDisabled||u&&l&&!e.menuIsOpen)&&this.focusInput(),u&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=n.offsetHeight/3,o.bottom+a>r.bottom?Je(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+a,t.scrollHeight)):o.top-a<r.top&&Je(t,Math.max(n.offsetTop-a,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(i=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(i=o+1)}this.setState({inputIsHidden:-1!==i,focusedValue:n[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(mn):ze(ze({},mn),this.props.theme):mn}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,a=this.setValue,i=this.props,s=i.isMulti,l=i.isRtl,u=i.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:u,selectOption:o,selectProps:i,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Sn(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return xn(this.props,e,t)}},{key:"filterOption",value:function(e,t){return kn(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,s=e.tabIndex,l=e.form,u=this.getComponents().Input,c=this.state.inputIsHidden,p=this.commonProps,f=r||this.getElementId("input"),d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return n?o().createElement(u,a({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:i},d)):o().createElement(Qt,a({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:We,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:s,form:l,value:""},d))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,s=t.MultiValueRemove,l=t.SingleValue,u=t.Placeholder,c=this.commonProps,p=this.props,f=p.controlShouldRenderValue,d=p.isDisabled,m=p.isMulti,h=p.inputValue,v=p.placeholder,b=this.state,g=b.selectValue,y=b.focusedValue,O=b.isFocused;if(!this.hasValue()||!f)return h?null:o().createElement(u,a({},c,{key:"placeholder",isDisabled:d,isFocused:O}),v);if(m)return g.map((function(t,l){var u=t===y;return o().createElement(n,a({},c,{components:{Container:r,Label:i,Remove:s},isFocused:u,isDisabled:d,key:"".concat(e.getOptionValue(t)).concat(l),index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var w=g[0];return o().createElement(l,a({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o().createElement(e,a({},t,{innerProps:l,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,s=this.state.isFocused;return e&&i?o().createElement(e,a({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,s=this.state.isFocused;return o().createElement(n,a({},r,{isDisabled:i,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o().createElement(e,a({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,s=t.MenuList,l=t.MenuPortal,u=t.LoadingMessage,c=t.NoOptionsMessage,p=t.Option,f=this.commonProps,d=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,v=m.inputValue,b=m.isLoading,g=m.loadingMessage,y=m.minMenuHeight,O=m.maxMenuHeight,w=m.menuIsOpen,S=m.menuPlacement,x=m.menuPosition,k=m.menuPortalTarget,C=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,P=m.noOptionsMessage,M=m.onMenuScrollToTop,I=m.onMenuScrollToBottom;if(!w)return null;var R,V=function(t,n){var r=t.type,i=t.data,s=t.isDisabled,l=t.isSelected,u=t.label,c=t.value,m=d===i,h=s?void 0:function(){return e.onOptionHover(i)},v=s?void 0:function(){return e.selectOption(i)},b="".concat(e.getElementId("option"),"-").concat(n),g={id:b,onClick:v,onMouseMove:h,onMouseOver:h,tabIndex:-1};return o().createElement(p,a({},f,{innerProps:g,data:i,isDisabled:s,isSelected:l,key:b,label:u,type:r,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())R=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,s=t.options,l=t.index,u="".concat(e.getElementId("group"),"-").concat(l),c="".concat(u,"-heading");return o().createElement(n,a({},f,{key:u,data:i,options:s,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return V(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return V(t,"".concat(t.index))}));else if(b){var D=g({inputValue:v});if(null===D)return null;R=o().createElement(u,f,D)}else{var T=P({inputValue:v});if(null===T)return null;R=o().createElement(c,f,T)}var _={minMenuHeight:y,maxMenuHeight:O,menuPlacement:S,menuPosition:x,menuShouldScrollIntoView:E},L=o().createElement(ut,a({},f,_),(function(t){var n=t.ref,r=t.placerProps,l=r.placement,u=r.maxHeight;return o().createElement(i,a({},f,_,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:b,placement:l}),o().createElement(fn,{captureEnabled:h,onTopArrive:M,onBottomArrive:I,lockEnabled:C},(function(t){return o().createElement(s,a({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:b,maxHeight:u,focusedOption:d}),R)})))}));return k||"fixed"===x?o().createElement(l,a({},f,{appendTo:k,controlElement:this.controlRef,menuPlacement:S,menuPosition:x}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,a=t.isMulti,i=t.name,s=this.state.selectValue;if(i&&!r){if(a){if(n){var l=s.map((function(t){return e.getOptionValue(t)})).join(n);return o().createElement("input",{name:i,type:"hidden",value:l})}var u=s.length>0?s.map((function(t,n){return o().createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):o().createElement("input",{name:i,type:"hidden"});return o().createElement("div",null,u)}var c=s[0]?this.getOptionValue(s[0]):"";return o().createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,s=t.isFocused,l=t.selectValue,u=this.getFocusableOptions();return o().createElement($t,a({},e,{ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:s,selectValue:l,focusableOptions:u}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,s=this.props,l=s.className,u=s.id,c=s.isDisabled,p=s.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return o().createElement(r,a({},d,{className:l,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),o().createElement(t,a({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:p}),o().createElement(i,a({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o().createElement(n,a({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,a=e.options,i=e.value,s=e.menuIsOpen,l=e.inputValue,u={};if(n&&(i!==n.value||a!==n.options||s!==n.menuIsOpen||l!==n.inputValue)){var c=Xe(i),p=s?function(e,t){return gn(bn(e,t))}(e,c):[],f=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,c):null;u={selectValue:c,focusedOption:function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,p),focusedValue:f,clearFocusValueOnUpdate:!1}}var d=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{};return ze(ze(ze({},u),d),{},{prevProps:e})}}]),n}(r.Component);Pn.defaultProps=hn;var Mn,In,Rn;r.Component;const Vn=(Mn=Pn,Rn=In=function(e){Fe(n,e);var t=Be(n);function n(){var e;Te(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return Le(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var e=this,t=this.props;t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue;var n=Re(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]);return o().createElement(Mn,a({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(r.Component),In.defaultProps={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Rn);var Dn=wp.components.CheckboxControl,Tn=function(e){var t=e.help,n=e.disabled,o=e.label,a=e.updateCheckbox,i=e.value;return(0,r.createElement)(Dn,{help:t,disabled:n,label:o,checked:i,onChange:function(e){return a(e)}})};function _n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ln(e,t){return!t||"object"!==Ve(t)&&"function"!=typeof t?_n(e):t}function An(e){return(An=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Fn=lodash;function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jn(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Nn(Object(r),!0).forEach((function(n){e(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Hn=wp.element,zn=Hn.Component,$n=Hn.RawHTML,Un=Hn.Fragment,Bn=wp.i18n,Wn=Bn.__,Gn=Bn.sprintf,Yn=wp.apiFetch,Xn=(wp.url.addQueryArgs,wp.components),qn=Xn.Placeholder,Kn=Xn.Spinner,Zn=function(e){Fe(i,e);var t,n,o=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=An(t);if(n){var o=An(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Ln(this,e)});function i(e){var t;return Te(this,i),(t=o.call(this,e)).state={response:null,prevResponse:null},t}return Le(i,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=(0,Fn.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){(0,Fn.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState((function(e){return{response:null,prevResponse:e.response}}));var n=e.block,r=e.attributes,o=void 0===r?null:r,a=e.urlQueryArgs,i=void 0===a?{}:a,s=this.currentFetchRequest=Yn({path:"/wp/v2/block-renderer/".concat(n),method:"POST",data:jn(jn({context:"edit"},null!==o?{attributes:o}:{}),i)}).then((function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&t.setState({response:e.rendered})})).catch((function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})}));return s}}},{key:"render",value:function(){var e=this.props.spinnerLocation,t=(e.right,e.top,e.unit,this.state.response),n=this.state.prevResponse,o="";null!==n&&(o='<div style="position:relative;"><div style="position:absolute;left:-45px;bottom:50%;"><span class="spinner" style="visibility: visible;></span><span class="components-spinner"></span></div>'.concat(n,"</div>"));var i=this.props,s=i.className,l=i.EmptyResponsePlaceholder,u=i.ErrorResponsePlaceholder;return i.LoadingResponsePlaceholder,""===t?(0,r.createElement)(l,a({response:t},this.props)):t?t.error?(0,r.createElement)(u,a({response:t},this.props)):(0,r.createElement)($n,{key:"html",className:s},t):(0,r.createElement)(Un,null,(0,r.createElement)($n,{key:"html",className:s},o))}}]),i}(zn);function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qn(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Jn(Object(r),!0).forEach((function(n){e(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Zn.defaultProps={spinnerLocation:{right:0,top:10,unit:"px"},EmptyResponsePlaceholder:function(e){var t=e.className;return(0,r.createElement)(qn,{className:t},Wn("Block rendered as empty."))},ErrorResponsePlaceholder:function(e){var t=e.response,n=e.className,o=Gn(Wn("Error loading block: %s"),t.errorMsg);return(0,r.createElement)(qn,{className:n},o)},LoadingResponsePlaceholder:function(e){var t=e.className;return(0,r.createElement)(qn,{className:t},(0,r.createElement)(Kn,null))}};var er=wp.i18n.__,tr=wp.blockEditor.InspectorControls,nr=wp.components,rr=nr.PanelBody,or=nr.PanelRow,ar=nr.TextControl,ir=nr.SelectControl,sr=wp.blocks.registerBlockType;t(wp.element),wp.serverSideRender;var lr=wp.hooks,ur=lr.applyFilters;function cr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(e,t)||At(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}lr.addAction,lr.addFilter,sr("wpgoplugins/simple-sitemap-block",{title:"Simple Sitemap",icon:"editor-ul",keywords:[er("Sitemap","simple-sitemap"),er("Single","simple-sitemap"),er("HTML Sitemap","simple-sitemap")],category:"simple-sitemap",example:{attributes:{num_posts:20}},edit:function(e){var t=e.attributes,n=t.show_excerpt,o=t.show_label,a=t.links,i=t.page_depth,s=(t.nofollow,t.image,t.list_icon,t.max_width,t.responsive_breakpoint,t.sitemap_container_margin,t.sitemap_item_line_height,t.tab_color,t.tab_header_bg,t.post_type_label_padding,t.post_type_label_font_size,t.render_tab),l=t.block_post_types,u=(t.exclude,t.include,t.order),c=t.orderby,p=e.setAttributes,f=e.attributes,d={container:function(e){return Qn(Qn({},e),{},{marginBottom:"5px",'& div[class$="-Input"]':{"& input:focus":{boxShadow:"none"}}})}},m=ur("sitemap-post-types-select",(0,r.createElement)(Vn,{title:"Title",defaultValue:JSON.parse(l),isMulti:!0,onChange:function(e){return p({block_post_types:JSON.stringify(e)})},options:[{value:"post",label:"Post"},{value:"page",label:"Page"}],styles:d}),e),h=ur("post-types-help-label",(0,r.createElement)(or,{className:"panel-row-help-label"},(0,r.createElement)("p",{style:{marginTop:"-20px",fontSize:"13px",fontStyle:"italic",marginLeft:"2px"}},"List"," ",(0,r.createElement)("a",{href:"https://wpgoplugins.com/plugins/simple-sitemap-pro/#post-types",target:"_blank",rel:"noreferrer"},"more")," ","post types")),e),v=ur("sitemap-general-settings","",e),b=ur("sitemap-general-styles","",e),g=ur("sitemap-featured-image","",e),y=ur("sitemap-tab-controls","",e);return[(0,r.createElement)(tr,{key:"simple-sitemap-block-controls"},(0,r.createElement)(rr,{title:er("General Settings","simple-sitemap")},(0,r.createElement)(or,{className:"panel-row-label"},(0,r.createElement)("label",{style:{marginBottom:"-14px"},className:"components-base-control__label"},"Select post types to display")),(0,r.createElement)(or,null,m),h,(0,r.createElement)(or,{className:"simple-sitemap order"},(0,r.createElement)(ir,{label:"Orderby",value:c,options:[{label:"Title",value:"title"},{label:"Date",value:"date"},{label:"ID",value:"ID"},{label:"Author",value:"author"},{label:"Name",value:"name"},{label:"Modified",value:"modified"},{label:"Menu Order",value:"menu_order"},{label:"Random Order",value:"rand"},{label:"Comment Count",value:"comment_count"}],onChange:function(e){p({orderby:e})}}),(0,r.createElement)(ir,{label:"Order",value:u,options:[{label:"Ascending",value:"asc"},{label:"Descending",value:"desc"}],onChange:function(e){p({order:e})}})),(0,r.createElement)(or,{className:"simple-sitemap general-chk"},(0,r.createElement)(Tn,{value:o,label:"Show post type label",updateCheckbox:function(e){p({show_label:e})}})),(0,r.createElement)(or,{className:"simple-sitemap general-chk"},(0,r.createElement)(Tn,{value:n,label:"Show excerpt",updateCheckbox:function(e){p({show_excerpt:e})}})),(0,r.createElement)(or,{className:"simple-sitemap general-chk"},(0,r.createElement)(Tn,{value:a,label:"Enable sitemap links",updateCheckbox:function(e){p({links:e})}})),v),b,g,(0,r.createElement)(rr,{title:er("Tab Settings","simple-sitemap"),initialOpen:!1},(0,r.createElement)(or,{className:"simple-sitemap"},(0,r.createElement)(Tn,{value:s,label:"Enable tabs",updateCheckbox:function(e){p({render_tab:e})}})),y),(0,r.createElement)(rr,{title:er("Page Settings","simple-sitemap"),initialOpen:!1},(0,r.createElement)(or,{className:"simple-sitemap"},(0,r.createElement)("p",null,"Affects sitemap pages only.")),(0,r.createElement)(or,{className:"simple-sitemap"},(0,r.createElement)(ar,{type:"number",label:"Page indentation",min:"0",max:"5",help:"Leave at zero for auto-depth",value:i,onChange:function(e){p({page_depth:parseInt(e)})}})))),(0,r.createElement)(Zn,{key:"simple-sitemap-server-side-render-component",block:"wpgoplugins/simple-sitemap-block",attributes:f})]},save:function(){return null}});var pr=wp.components,fr=pr.PanelRow,dr=pr.SelectControl,mr=(pr.Button,wp.element),hr=(mr.Fragment,mr.Component),vr=wp.hooks,br=vr.applyFilters,gr=(vr.addAction,vr.addFilter,function(e){Fe(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=An(t);if(n){var o=An(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Ln(this,e)});function a(e){var t;return Te(this,a),(t=o.call(this)).state={types:[],taxonomies:[],taxonomy_select_disabled_status:!0,taxonomy_select_disabled_help:"",wrapperClass:""},t.props=e,t.updatePostTypeValues=t.updatePostTypeValues.bind(_n(t)),t}return Le(a,[{key:"componentDidUpdate",value:function(){}},{key:"componentDidMount",value:function(){var e=this,t=wp.hooks.applyFilters("fetch-sitemap-cpts",null);"function"==typeof t&&t(this.props).then((function(t){e.setState({types:t})})),this.fetchTaxonomies(null)}},{key:"fetchTaxonomies",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this.props,r=n.setAttributes,o=n.block_post_type,a=n.block_taxonomy,i="simple-sitemap/v1/post-type-taxonomies/".concat(t||o);wp.apiFetch({path:i,method:"GET"}).then((function(t){var n="",o=!1,i="",s=[],l=!0;if(0===t.length)n="No taxonomies found for this post type",o=!0,i="disabled",r({block_taxonomy:""});else{for(var u=0,c=Object.entries(t);u<c.length;u++){var p=cr(c[u],2),f={value:p[0],label:p[1]};s.push(f),f.value===a&&(l=!1)}l&&r({block_taxonomy:s[0].value})}return e.setState({taxonomy_select_disabled_status:o,taxonomy_select_disabled_help:n,taxonomies:s,wrapperClass:i}),t}),(function(e){return e}))}},{key:"updatePostTypeValues",value:function(e){(0,this.props.setAttributes)({block_post_type:e}),this.fetchTaxonomies(e)}},{key:"render",value:function(){var e=this,t=this.props,n=(t.setAttributes,t.block_post_type,t.block_taxonomy),o=(t.multi,t.className,br("sitemap-group-post-types-select","",this.props,this.state,this.updatePostTypeValues));return br("sitemap-list-more-taxonomies",(0,r.createElement)(fr,null,(0,r.createElement)("p",{style:{marginTop:"-24px",fontSize:"13px",fontStyle:"italic",marginLeft:"2px"}},"List ",(0,r.createElement)("a",{href:"https://wpgoplugins.com/plugins/simple-sitemap-pro/#taxonomies-for-any-post-type",target:"_blank",rel:"noreferrer"},"taxonomies")," for any post type"))),(0,r.createElement)("div",{className:"ss-taxonomy-select ".concat(this.state.wrapperClass)},o,(0,r.createElement)(dr,{label:"Select taxonomy",value:n,options:this.state.taxonomies,onChange:function(t){(0,e.props.setAttributes)({block_taxonomy:t})},disabled:this.state.taxonomy_select_disabled_status}))}}]),a}(hr)),yr=wp.i18n.__,Or=wp.blockEditor.InspectorControls,wr=wp.components,Sr=wr.PanelBody,xr=wr.PanelRow,kr=(wr.TextControl,wr.SelectControl),Cr=wp.blocks.registerBlockType;t(wp.element),wp.serverSideRender;var Er=wp.hooks,Pr=Er.applyFilters;Er.addAction,Er.addFilter,Cr("wpgoplugins/simple-sitemap-group-block",{title:"Simple Sitemap Group",icon:"networking",keywords:[yr("Sitemap","simple-sitemap"),yr("Group","simple-sitemap"),yr("HTML Sitemap","simple-sitemap")],category:"simple-sitemap",example:{attributes:{num_posts:5,num_terms:5}},edit:function(e){var t=e.attributes,n=t.show_excerpt,o=t.show_label,a=t.links,i=t.block_taxonomy,s=t.block_post_type,l=t.order,u=t.orderby,c=(e.className,e.setAttributes),p=(e.isSelected,e.attributes),f=Pr("sitemap-group-general-settings","",e),d=Pr("sitemap-group-general-styles","",e),m=Pr("sitemap-group-featured-image","",e);return[(0,r.createElement)(Or,{key:"simple-sitemap-group-block-controls"},(0,r.createElement)(Sr,{title:yr("General Settings","simple-sitemap")},(0,r.createElement)(xr,{className:"simple-sitemap"},(0,r.createElement)(gr,{setAttributes:c,multi:!1,block_post_type:s,block_taxonomy:i})),(0,r.createElement)(xr,{className:"simple-sitemap order-label"},(0,r.createElement)("h3",{style:{marginBottom:"-12px"}},"Post ordering")),(0,r.createElement)(xr,{className:"simple-sitemap order"},(0,r.createElement)(kr,{label:"Orderby",value:u,options:[{label:"Title",value:"title"},{label:"Date",value:"date"},{label:"ID",value:"ID"},{label:"Author",value:"author"},{label:"Name",value:"name"},{label:"Modified",value:"modified"}],onChange:function(e){c({orderby:e})}}),(0,r.createElement)(kr,{label:"Order",value:l,options:[{label:"Ascending",value:"asc"},{label:"Descending",value:"desc"}],onChange:function(e){c({order:e})}})),(0,r.createElement)(xr,{className:"simple-sitemap general-chk"},(0,r.createElement)(Tn,{value:o,label:"Display post type label",updateCheckbox:function(e){c({show_label:e})}})),(0,r.createElement)(xr,{className:"simple-sitemap general-chk"},(0,r.createElement)(Tn,{value:n,label:"Display post excerpt",updateCheckbox:function(e){c({show_excerpt:e})}})),(0,r.createElement)(xr,{className:"simple-sitemap general-chk"},(0,r.createElement)(Tn,{value:a,label:"Display sitemap links",updateCheckbox:function(e){c({links:e})}})),f),d,m),(0,r.createElement)(Zn,{key:"simple-sitemap-server-side-render-component",block:"wpgoplugins/simple-sitemap-group-block",attributes:p})]},save:function(){return null}})})()})();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  //# sourceMappingURL=blocks.editor.js.map
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ var __webpack_modules__ = ({
3
+
4
+ /***/ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
5
+ /*!*********************************************************************!*\
6
+ !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
7
+ \*********************************************************************/
8
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9
+
10
+ "use strict";
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
+ /* harmony export */ "default": () => (/* binding */ _arrayLikeToArray)
14
+ /* harmony export */ });
15
+ function _arrayLikeToArray(arr, len) {
16
+ if (len == null || len > arr.length) len = arr.length;
17
+
18
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
19
+ arr2[i] = arr[i];
20
+ }
21
+
22
+ return arr2;
23
+ }
24
+
25
+ /***/ }),
26
+
27
+ /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
28
+ /*!*******************************************************************!*\
29
+ !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
30
+ \*******************************************************************/
31
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32
+
33
+ "use strict";
34
+ __webpack_require__.r(__webpack_exports__);
35
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36
+ /* harmony export */ "default": () => (/* binding */ _arrayWithHoles)
37
+ /* harmony export */ });
38
+ function _arrayWithHoles(arr) {
39
+ if (Array.isArray(arr)) return arr;
40
+ }
41
+
42
+ /***/ }),
43
+
44
+ /***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js":
45
+ /*!**********************************************************************!*\
46
+ !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js ***!
47
+ \**********************************************************************/
48
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
49
+
50
+ "use strict";
51
+ __webpack_require__.r(__webpack_exports__);
52
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
53
+ /* harmony export */ "default": () => (/* binding */ _arrayWithoutHoles)
54
+ /* harmony export */ });
55
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
56
+
57
+ function _arrayWithoutHoles(arr) {
58
+ if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.default)(arr);
59
+ }
60
+
61
+ /***/ }),
62
+
63
+ /***/ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
64
+ /*!**************************************************************************!*\
65
+ !*** ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
66
+ \**************************************************************************/
67
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
68
+
69
+ "use strict";
70
+ __webpack_require__.r(__webpack_exports__);
71
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
72
+ /* harmony export */ "default": () => (/* binding */ _assertThisInitialized)
73
+ /* harmony export */ });
74
+ function _assertThisInitialized(self) {
75
+ if (self === void 0) {
76
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
77
+ }
78
+
79
+ return self;
80
+ }
81
+
82
+ /***/ }),
83
+
84
+ /***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
85
+ /*!*******************************************************************!*\
86
+ !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
87
+ \*******************************************************************/
88
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
89
+
90
+ "use strict";
91
+ __webpack_require__.r(__webpack_exports__);
92
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
93
+ /* harmony export */ "default": () => (/* binding */ _classCallCheck)
94
+ /* harmony export */ });
95
+ function _classCallCheck(instance, Constructor) {
96
+ if (!(instance instanceof Constructor)) {
97
+ throw new TypeError("Cannot call a class as a function");
98
+ }
99
+ }
100
+
101
+ /***/ }),
102
+
103
+ /***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js":
104
+ /*!****************************************************************!*\
105
+ !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***!
106
+ \****************************************************************/
107
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
108
+
109
+ "use strict";
110
+ __webpack_require__.r(__webpack_exports__);
111
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
112
+ /* harmony export */ "default": () => (/* binding */ _createClass)
113
+ /* harmony export */ });
114
+ function _defineProperties(target, props) {
115
+ for (var i = 0; i < props.length; i++) {
116
+ var descriptor = props[i];
117
+ descriptor.enumerable = descriptor.enumerable || false;
118
+ descriptor.configurable = true;
119
+ if ("value" in descriptor) descriptor.writable = true;
120
+ Object.defineProperty(target, descriptor.key, descriptor);
121
+ }
122
+ }
123
+
124
+ function _createClass(Constructor, protoProps, staticProps) {
125
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
126
+ if (staticProps) _defineProperties(Constructor, staticProps);
127
+ return Constructor;
128
+ }
129
+
130
+ /***/ }),
131
+
132
+ /***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
133
+ /*!*******************************************************************!*\
134
+ !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
135
+ \*******************************************************************/
136
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
137
+
138
+ "use strict";
139
+ __webpack_require__.r(__webpack_exports__);
140
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
141
+ /* harmony export */ "default": () => (/* binding */ _defineProperty)
142
+ /* harmony export */ });
143
+ function _defineProperty(obj, key, value) {
144
+ if (key in obj) {
145
+ Object.defineProperty(obj, key, {
146
+ value: value,
147
+ enumerable: true,
148
+ configurable: true,
149
+ writable: true
150
+ });
151
+ } else {
152
+ obj[key] = value;
153
+ }
154
+
155
+ return obj;
156
+ }
157
+
158
+ /***/ }),
159
+
160
+ /***/ "./node_modules/@babel/runtime/helpers/esm/extends.js":
161
+ /*!************************************************************!*\
162
+ !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***!
163
+ \************************************************************/
164
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
165
+
166
+ "use strict";
167
+ __webpack_require__.r(__webpack_exports__);
168
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
169
+ /* harmony export */ "default": () => (/* binding */ _extends)
170
+ /* harmony export */ });
171
+ function _extends() {
172
+ _extends = Object.assign || function (target) {
173
+ for (var i = 1; i < arguments.length; i++) {
174
+ var source = arguments[i];
175
+
176
+ for (var key in source) {
177
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
178
+ target[key] = source[key];
179
+ }
180
+ }
181
+ }
182
+
183
+ return target;
184
+ };
185
+
186
+ return _extends.apply(this, arguments);
187
+ }
188
+
189
+ /***/ }),
190
+
191
+ /***/ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
192
+ /*!*******************************************************************!*\
193
+ !*** ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
194
+ \*******************************************************************/
195
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
196
+
197
+ "use strict";
198
+ __webpack_require__.r(__webpack_exports__);
199
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
200
+ /* harmony export */ "default": () => (/* binding */ _getPrototypeOf)
201
+ /* harmony export */ });
202
+ function _getPrototypeOf(o) {
203
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
204
+ return o.__proto__ || Object.getPrototypeOf(o);
205
+ };
206
+ return _getPrototypeOf(o);
207
+ }
208
+
209
+ /***/ }),
210
+
211
+ /***/ "./node_modules/@babel/runtime/helpers/esm/inherits.js":
212
+ /*!*************************************************************!*\
213
+ !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***!
214
+ \*************************************************************/
215
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
216
+
217
+ "use strict";
218
+ __webpack_require__.r(__webpack_exports__);
219
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
220
+ /* harmony export */ "default": () => (/* binding */ _inherits)
221
+ /* harmony export */ });
222
+ /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
223
+
224
+ function _inherits(subClass, superClass) {
225
+ if (typeof superClass !== "function" && superClass !== null) {
226
+ throw new TypeError("Super expression must either be null or a function");
227
+ }
228
+
229
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
230
+ constructor: {
231
+ value: subClass,
232
+ writable: true,
233
+ configurable: true
234
+ }
235
+ });
236
+ if (superClass) (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__.default)(subClass, superClass);
237
+ }
238
+
239
+ /***/ }),
240
+
241
+ /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
242
+ /*!********************************************************************!*\
243
+ !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
244
+ \********************************************************************/
245
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
246
+
247
+ "use strict";
248
+ __webpack_require__.r(__webpack_exports__);
249
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
250
+ /* harmony export */ "default": () => (/* binding */ _iterableToArray)
251
+ /* harmony export */ });
252
+ function _iterableToArray(iter) {
253
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
254
+ }
255
+
256
+ /***/ }),
257
+
258
+ /***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js":
259
+ /*!*************************************************************************!*\
260
+ !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
261
+ \*************************************************************************/
262
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
263
+
264
+ "use strict";
265
+ __webpack_require__.r(__webpack_exports__);
266
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
267
+ /* harmony export */ "default": () => (/* binding */ _iterableToArrayLimit)
268
+ /* harmony export */ });
269
+ function _iterableToArrayLimit(arr, i) {
270
+ if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
271
+ var _arr = [];
272
+ var _n = true;
273
+ var _d = false;
274
+ var _e = undefined;
275
+
276
+ try {
277
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
278
+ _arr.push(_s.value);
279
+
280
+ if (i && _arr.length === i) break;
281
+ }
282
+ } catch (err) {
283
+ _d = true;
284
+ _e = err;
285
+ } finally {
286
+ try {
287
+ if (!_n && _i["return"] != null) _i["return"]();
288
+ } finally {
289
+ if (_d) throw _e;
290
+ }
291
+ }
292
+
293
+ return _arr;
294
+ }
295
+
296
+ /***/ }),
297
+
298
+ /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
299
+ /*!********************************************************************!*\
300
+ !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
301
+ \********************************************************************/
302
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
303
+
304
+ "use strict";
305
+ __webpack_require__.r(__webpack_exports__);
306
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
307
+ /* harmony export */ "default": () => (/* binding */ _nonIterableRest)
308
+ /* harmony export */ });
309
+ function _nonIterableRest() {
310
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
311
+ }
312
+
313
+ /***/ }),
314
+
315
+ /***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js":
316
+ /*!**********************************************************************!*\
317
+ !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js ***!
318
+ \**********************************************************************/
319
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
320
+
321
+ "use strict";
322
+ __webpack_require__.r(__webpack_exports__);
323
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
324
+ /* harmony export */ "default": () => (/* binding */ _nonIterableSpread)
325
+ /* harmony export */ });
326
+ function _nonIterableSpread() {
327
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
328
+ }
329
+
330
+ /***/ }),
331
+
332
+ /***/ "./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js":
333
+ /*!*****************************************************************************!*\
334
+ !*** ./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js ***!
335
+ \*****************************************************************************/
336
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
337
+
338
+ "use strict";
339
+ __webpack_require__.r(__webpack_exports__);
340
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
341
+ /* harmony export */ "default": () => (/* binding */ _objectDestructuringEmpty)
342
+ /* harmony export */ });
343
+ function _objectDestructuringEmpty(obj) {
344
+ if (obj == null) throw new TypeError("Cannot destructure undefined");
345
+ }
346
+
347
+ /***/ }),
348
+
349
+ /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":
350
+ /*!****************************************************************************!*\
351
+ !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
352
+ \****************************************************************************/
353
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
354
+
355
+ "use strict";
356
+ __webpack_require__.r(__webpack_exports__);
357
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
358
+ /* harmony export */ "default": () => (/* binding */ _objectWithoutProperties)
359
+ /* harmony export */ });
360
+ /* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
361
+
362
+ function _objectWithoutProperties(source, excluded) {
363
+ if (source == null) return {};
364
+ var target = (0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__.default)(source, excluded);
365
+ var key, i;
366
+
367
+ if (Object.getOwnPropertySymbols) {
368
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
369
+
370
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
371
+ key = sourceSymbolKeys[i];
372
+ if (excluded.indexOf(key) >= 0) continue;
373
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
374
+ target[key] = source[key];
375
+ }
376
+ }
377
+
378
+ return target;
379
+ }
380
+
381
+ /***/ }),
382
+
383
+ /***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js":
384
+ /*!*********************************************************************************!*\
385
+ !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***!
386
+ \*********************************************************************************/
387
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
388
+
389
+ "use strict";
390
+ __webpack_require__.r(__webpack_exports__);
391
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
392
+ /* harmony export */ "default": () => (/* binding */ _objectWithoutPropertiesLoose)
393
+ /* harmony export */ });
394
+ function _objectWithoutPropertiesLoose(source, excluded) {
395
+ if (source == null) return {};
396
+ var target = {};
397
+ var sourceKeys = Object.keys(source);
398
+ var key, i;
399
+
400
+ for (i = 0; i < sourceKeys.length; i++) {
401
+ key = sourceKeys[i];
402
+ if (excluded.indexOf(key) >= 0) continue;
403
+ target[key] = source[key];
404
+ }
405
+
406
+ return target;
407
+ }
408
+
409
+ /***/ }),
410
+
411
+ /***/ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
412
+ /*!******************************************************************************!*\
413
+ !*** ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
414
+ \******************************************************************************/
415
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
416
+
417
+ "use strict";
418
+ __webpack_require__.r(__webpack_exports__);
419
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
420
+ /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
421
+ /* harmony export */ });
422
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
423
+ /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
424
+
425
+
426
+ function _possibleConstructorReturn(self, call) {
427
+ if (call && ((0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__.default)(call) === "object" || typeof call === "function")) {
428
+ return call;
429
+ }
430
+
431
+ return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__.default)(self);
432
+ }
433
+
434
+ /***/ }),
435
+
436
+ /***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
437
+ /*!*******************************************************************!*\
438
+ !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
439
+ \*******************************************************************/
440
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
441
+
442
+ "use strict";
443
+ __webpack_require__.r(__webpack_exports__);
444
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
445
+ /* harmony export */ "default": () => (/* binding */ _setPrototypeOf)
446
+ /* harmony export */ });
447
+ function _setPrototypeOf(o, p) {
448
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
449
+ o.__proto__ = p;
450
+ return o;
451
+ };
452
+
453
+ return _setPrototypeOf(o, p);
454
+ }
455
+
456
+ /***/ }),
457
+
458
+ /***/ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":
459
+ /*!******************************************************************!*\
460
+ !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
461
+ \******************************************************************/
462
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
463
+
464
+ "use strict";
465
+ __webpack_require__.r(__webpack_exports__);
466
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
467
+ /* harmony export */ "default": () => (/* binding */ _slicedToArray)
468
+ /* harmony export */ });
469
+ /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
470
+ /* harmony import */ var _iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArrayLimit.js */ "./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js");
471
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
472
+ /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
473
+
474
+
475
+
476
+
477
+ function _slicedToArray(arr, i) {
478
+ return (0,_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__.default)(arr) || (0,_iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__.default)(arr, i) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__.default)(arr, i) || (0,_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__.default)();
479
+ }
480
+
481
+ /***/ }),
482
+
483
+ /***/ "./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js":
484
+ /*!**************************************************************************!*\
485
+ !*** ./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js ***!
486
+ \**************************************************************************/
487
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
488
+
489
+ "use strict";
490
+ __webpack_require__.r(__webpack_exports__);
491
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
492
+ /* harmony export */ "default": () => (/* binding */ _taggedTemplateLiteral)
493
+ /* harmony export */ });
494
+ function _taggedTemplateLiteral(strings, raw) {
495
+ if (!raw) {
496
+ raw = strings.slice(0);
497
+ }
498
+
499
+ return Object.freeze(Object.defineProperties(strings, {
500
+ raw: {
501
+ value: Object.freeze(raw)
502
+ }
503
+ }));
504
+ }
505
+
506
+ /***/ }),
507
+
508
+ /***/ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js":
509
+ /*!**********************************************************************!*\
510
+ !*** ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js ***!
511
+ \**********************************************************************/
512
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
513
+
514
+ "use strict";
515
+ __webpack_require__.r(__webpack_exports__);
516
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
517
+ /* harmony export */ "default": () => (/* binding */ _toConsumableArray)
518
+ /* harmony export */ });
519
+ /* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js");
520
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
521
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
522
+ /* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js");
523
+
524
+
525
+
526
+
527
+ function _toConsumableArray(arr) {
528
+ return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__.default)(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__.default)(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__.default)(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__.default)();
529
+ }
530
+
531
+ /***/ }),
532
+
533
+ /***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js":
534
+ /*!***********************************************************!*\
535
+ !*** ./node_modules/@babel/runtime/helpers/esm/typeof.js ***!
536
+ \***********************************************************/
537
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
538
+
539
+ "use strict";
540
+ __webpack_require__.r(__webpack_exports__);
541
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
542
+ /* harmony export */ "default": () => (/* binding */ _typeof)
543
+ /* harmony export */ });
544
+ function _typeof(obj) {
545
+ "@babel/helpers - typeof";
546
+
547
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
548
+ _typeof = function _typeof(obj) {
549
+ return typeof obj;
550
+ };
551
+ } else {
552
+ _typeof = function _typeof(obj) {
553
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
554
+ };
555
+ }
556
+
557
+ return _typeof(obj);
558
+ }
559
+
560
+ /***/ }),
561
+
562
+ /***/ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
563
+ /*!*******************************************************************************!*\
564
+ !*** ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
565
+ \*******************************************************************************/
566
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
567
+
568
+ "use strict";
569
+ __webpack_require__.r(__webpack_exports__);
570
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
571
+ /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
572
+ /* harmony export */ });
573
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
574
+
575
+ function _unsupportedIterableToArray(o, minLen) {
576
+ if (!o) return;
577
+ if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.default)(o, minLen);
578
+ var n = Object.prototype.toString.call(o).slice(8, -1);
579
+ if (n === "Object" && o.constructor) n = o.constructor.name;
580
+ if (n === "Map" || n === "Set") return Array.from(o);
581
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.default)(o, minLen);
582
+ }
583
+
584
+ /***/ }),
585
+
586
+ /***/ "./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js":
587
+ /*!***********************************************************************!*\
588
+ !*** ./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js ***!
589
+ \***********************************************************************/
590
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
591
+
592
+ "use strict";
593
+ __webpack_require__.r(__webpack_exports__);
594
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
595
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
596
+ /* harmony export */ });
597
+ /* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js");
598
+ /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Tokenizer.js");
599
+ /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Utility.js");
600
+ /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Middleware.js");
601
+ /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Serializer.js");
602
+ /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Enum.js");
603
+ /* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Parser.js");
604
+ /* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js");
605
+ /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js");
606
+
607
+
608
+
609
+
610
+
611
+ var last = function last(arr) {
612
+ return arr.length ? arr[arr.length - 1] : null;
613
+ };
614
+
615
+ var toRules = function toRules(parsed, points) {
616
+ // pretend we've started with a comma
617
+ var index = -1;
618
+ var character = 44;
619
+
620
+ do {
621
+ switch ((0,stylis__WEBPACK_IMPORTED_MODULE_3__.token)(character)) {
622
+ case 0:
623
+ // &\f
624
+ if (character === 38 && (0,stylis__WEBPACK_IMPORTED_MODULE_3__.peek)() === 12) {
625
+ // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
626
+ // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
627
+ // and when it should just concatenate the outer and inner selectors
628
+ // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
629
+ points[index] = 1;
630
+ }
631
+
632
+ parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_3__.identifier)(stylis__WEBPACK_IMPORTED_MODULE_3__.position - 1);
633
+ break;
634
+
635
+ case 2:
636
+ parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_3__.delimit)(character);
637
+ break;
638
+
639
+ case 4:
640
+ // comma
641
+ if (character === 44) {
642
+ // colon
643
+ parsed[++index] = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.peek)() === 58 ? '&\f' : '';
644
+ points[index] = parsed[index].length;
645
+ break;
646
+ }
647
+
648
+ // fallthrough
649
+
650
+ default:
651
+ parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_4__.from)(character);
652
+ }
653
+ } while (character = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.next)());
654
+
655
+ return parsed;
656
+ };
657
+
658
+ var getRules = function getRules(value, points) {
659
+ return (0,stylis__WEBPACK_IMPORTED_MODULE_3__.dealloc)(toRules((0,stylis__WEBPACK_IMPORTED_MODULE_3__.alloc)(value), points));
660
+ }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
661
+
662
+
663
+ var fixedElements = /* #__PURE__ */new WeakMap();
664
+ var compat = function compat(element) {
665
+ if (element.type !== 'rule' || !element.parent || // .length indicates if this rule contains pseudo or not
666
+ !element.length) {
667
+ return;
668
+ }
669
+
670
+ var value = element.value,
671
+ parent = element.parent;
672
+ var isImplicitRule = element.column === parent.column && element.line === parent.line;
673
+
674
+ while (parent.type !== 'rule') {
675
+ parent = parent.parent;
676
+ if (!parent) return;
677
+ } // short-circuit for the simplest case
678
+
679
+
680
+ if (element.props.length === 1 && value.charCodeAt(0) !== 58
681
+ /* colon */
682
+ && !fixedElements.get(parent)) {
683
+ return;
684
+ } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
685
+ // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
686
+
687
+
688
+ if (isImplicitRule) {
689
+ return;
690
+ }
691
+
692
+ fixedElements.set(element, true);
693
+ var points = [];
694
+ var rules = getRules(value, points);
695
+ var parentRules = parent.props;
696
+
697
+ for (var i = 0, k = 0; i < rules.length; i++) {
698
+ for (var j = 0; j < parentRules.length; j++, k++) {
699
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
700
+ }
701
+ }
702
+ };
703
+ var removeLabel = function removeLabel(element) {
704
+ if (element.type === 'decl') {
705
+ var value = element.value;
706
+
707
+ if ( // charcode for l
708
+ value.charCodeAt(0) === 108 && // charcode for b
709
+ value.charCodeAt(2) === 98) {
710
+ // this ignores label
711
+ element["return"] = '';
712
+ element.value = '';
713
+ }
714
+ }
715
+ };
716
+ var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
717
+
718
+ var isIgnoringComment = function isIgnoringComment(element) {
719
+ return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
720
+ };
721
+
722
+ var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
723
+ return function (element, index, children) {
724
+ if (element.type !== 'rule') return;
725
+ var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
726
+
727
+ if (unsafePseudoClasses && cache.compat !== true) {
728
+ var prevElement = index > 0 ? children[index - 1] : null;
729
+
730
+ if (prevElement && isIgnoringComment(last(prevElement.children))) {
731
+ return;
732
+ }
733
+
734
+ unsafePseudoClasses.forEach(function (unsafePseudoClass) {
735
+ console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
736
+ });
737
+ }
738
+ };
739
+ };
740
+
741
+ var isImportRule = function isImportRule(element) {
742
+ return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
743
+ };
744
+
745
+ var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
746
+ for (var i = index - 1; i >= 0; i--) {
747
+ if (!isImportRule(children[i])) {
748
+ return true;
749
+ }
750
+ }
751
+
752
+ return false;
753
+ }; // use this to remove incorrect elements from further processing
754
+ // so they don't get handed to the `sheet` (or anything else)
755
+ // as that could potentially lead to additional logs which in turn could be overhelming to the user
756
+
757
+
758
+ var nullifyElement = function nullifyElement(element) {
759
+ element.type = '';
760
+ element.value = '';
761
+ element["return"] = '';
762
+ element.children = '';
763
+ element.props = '';
764
+ };
765
+
766
+ var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
767
+ if (!isImportRule(element)) {
768
+ return;
769
+ }
770
+
771
+ if (element.parent) {
772
+ console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
773
+ nullifyElement(element);
774
+ } else if (isPrependedWithRegularRules(index, children)) {
775
+ console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
776
+ nullifyElement(element);
777
+ }
778
+ };
779
+
780
+ var defaultStylisPlugins = [stylis__WEBPACK_IMPORTED_MODULE_5__.prefixer];
781
+
782
+ var createCache = function createCache(options) {
783
+ var key = options.key;
784
+
785
+ if ( true && !key) {
786
+ throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
787
+ }
788
+
789
+ if ( key === 'css') {
790
+ var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
791
+ // document.head is a safe place to move them to
792
+
793
+ Array.prototype.forEach.call(ssrStyles, function (node) {
794
+ document.head.appendChild(node);
795
+ node.setAttribute('data-s', '');
796
+ });
797
+ }
798
+
799
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
800
+
801
+ if (true) {
802
+ // $FlowFixMe
803
+ if (/[^a-z-]/.test(key)) {
804
+ throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
805
+ }
806
+ }
807
+
808
+ var inserted = {}; // $FlowFixMe
809
+
810
+ var container;
811
+ var nodesToHydrate = [];
812
+
813
+ {
814
+ container = options.container || document.head;
815
+ Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"), function (node) {
816
+ var attrib = node.getAttribute("data-emotion").split(' ');
817
+
818
+ if (attrib[0] !== key) {
819
+ return;
820
+ } // $FlowFixMe
821
+
822
+
823
+ for (var i = 1; i < attrib.length; i++) {
824
+ inserted[attrib[i]] = true;
825
+ }
826
+
827
+ nodesToHydrate.push(node);
828
+ });
829
+ }
830
+
831
+ var _insert;
832
+
833
+ var omnipresentPlugins = [compat, removeLabel];
834
+
835
+ if (true) {
836
+ omnipresentPlugins.push(createUnsafeSelectorsAlarm({
837
+ get compat() {
838
+ return cache.compat;
839
+ }
840
+
841
+ }), incorrectImportAlarm);
842
+ }
843
+
844
+ {
845
+ var currentSheet;
846
+ var finalizingPlugins = [stylis__WEBPACK_IMPORTED_MODULE_6__.stringify, true ? function (element) {
847
+ if (!element.root) {
848
+ if (element["return"]) {
849
+ currentSheet.insert(element["return"]);
850
+ } else if (element.value && element.type !== stylis__WEBPACK_IMPORTED_MODULE_7__.COMMENT) {
851
+ // insert empty rule in non-production environments
852
+ // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
853
+ currentSheet.insert(element.value + "{}");
854
+ }
855
+ }
856
+ } : 0];
857
+ var serializer = (0,stylis__WEBPACK_IMPORTED_MODULE_5__.middleware)(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
858
+
859
+ var stylis = function stylis(styles) {
860
+ return (0,stylis__WEBPACK_IMPORTED_MODULE_6__.serialize)((0,stylis__WEBPACK_IMPORTED_MODULE_8__.compile)(styles), serializer);
861
+ };
862
+
863
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
864
+ currentSheet = sheet;
865
+
866
+ if ( true && serialized.map !== undefined) {
867
+ currentSheet = {
868
+ insert: function insert(rule) {
869
+ sheet.insert(rule + serialized.map);
870
+ }
871
+ };
872
+ }
873
+
874
+ stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
875
+
876
+ if (shouldCache) {
877
+ cache.inserted[serialized.name] = true;
878
+ }
879
+ };
880
+ }
881
+
882
+ var cache = {
883
+ key: key,
884
+ sheet: new _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__.StyleSheet({
885
+ key: key,
886
+ container: container,
887
+ nonce: options.nonce,
888
+ speedy: options.speedy,
889
+ prepend: options.prepend
890
+ }),
891
+ nonce: options.nonce,
892
+ inserted: inserted,
893
+ registered: {},
894
+ insert: _insert
895
+ };
896
+ cache.sheet.hydrate(nodesToHydrate);
897
+ return cache;
898
+ };
899
+
900
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createCache);
901
+
902
+
903
+ /***/ }),
904
+
905
+ /***/ "./node_modules/@emotion/hash/dist/hash.browser.esm.js":
906
+ /*!*************************************************************!*\
907
+ !*** ./node_modules/@emotion/hash/dist/hash.browser.esm.js ***!
908
+ \*************************************************************/
909
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
910
+
911
+ "use strict";
912
+ __webpack_require__.r(__webpack_exports__);
913
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
914
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
915
+ /* harmony export */ });
916
+ /* eslint-disable */
917
+ // Inspired by https://github.com/garycourt/murmurhash-js
918
+ // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
919
+ function murmur2(str) {
920
+ // 'm' and 'r' are mixing constants generated offline.
921
+ // They're not really 'magic', they just happen to work well.
922
+ // const m = 0x5bd1e995;
923
+ // const r = 24;
924
+ // Initialize the hash
925
+ var h = 0; // Mix 4 bytes at a time into the hash
926
+
927
+ var k,
928
+ i = 0,
929
+ len = str.length;
930
+
931
+ for (; len >= 4; ++i, len -= 4) {
932
+ k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
933
+ k =
934
+ /* Math.imul(k, m): */
935
+ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
936
+ k ^=
937
+ /* k >>> r: */
938
+ k >>> 24;
939
+ h =
940
+ /* Math.imul(k, m): */
941
+ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
942
+ /* Math.imul(h, m): */
943
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
944
+ } // Handle the last few bytes of the input array
945
+
946
+
947
+ switch (len) {
948
+ case 3:
949
+ h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
950
+
951
+ case 2:
952
+ h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
953
+
954
+ case 1:
955
+ h ^= str.charCodeAt(i) & 0xff;
956
+ h =
957
+ /* Math.imul(h, m): */
958
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
959
+ } // Do a few final mixes of the hash to ensure the last few
960
+ // bytes are well-incorporated.
961
+
962
+
963
+ h ^= h >>> 13;
964
+ h =
965
+ /* Math.imul(h, m): */
966
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
967
+ return ((h ^ h >>> 15) >>> 0).toString(36);
968
+ }
969
+
970
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (murmur2);
971
+
972
+
973
+ /***/ }),
974
+
975
+ /***/ "./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js":
976
+ /*!***************************************************************************!*\
977
+ !*** ./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js ***!
978
+ \***************************************************************************/
979
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
980
+
981
+ "use strict";
982
+ __webpack_require__.r(__webpack_exports__);
983
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
984
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
985
+ /* harmony export */ });
986
+ function memoize(fn) {
987
+ var cache = Object.create(null);
988
+ return function (arg) {
989
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
990
+ return cache[arg];
991
+ };
992
+ }
993
+
994
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoize);
995
+
996
+
997
+ /***/ }),
998
+
999
+ /***/ "./node_modules/@emotion/react/dist/emotion-element-4fbd89c5.browser.esm.js":
1000
+ /*!**********************************************************************************!*\
1001
+ !*** ./node_modules/@emotion/react/dist/emotion-element-4fbd89c5.browser.esm.js ***!
1002
+ \**********************************************************************************/
1003
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1004
+
1005
+ "use strict";
1006
+ __webpack_require__.r(__webpack_exports__);
1007
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1008
+ /* harmony export */ "C": () => (/* binding */ CacheProvider),
1009
+ /* harmony export */ "E": () => (/* binding */ Emotion),
1010
+ /* harmony export */ "T": () => (/* binding */ ThemeContext),
1011
+ /* harmony export */ "a": () => (/* binding */ ThemeProvider),
1012
+ /* harmony export */ "b": () => (/* binding */ withTheme),
1013
+ /* harmony export */ "c": () => (/* binding */ createEmotionProps),
1014
+ /* harmony export */ "h": () => (/* binding */ hasOwnProperty),
1015
+ /* harmony export */ "u": () => (/* binding */ useTheme),
1016
+ /* harmony export */ "w": () => (/* binding */ withEmotionCache)
1017
+ /* harmony export */ });
1018
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
1019
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1020
+ /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js");
1021
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1022
+ /* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js");
1023
+ /* harmony import */ var _isolated_hoist_non_react_statics_do_not_use_this_in_your_code_dist_emotion_react_isolated_hoist_non_react_statics_do_not_use_this_in_your_code_browser_esm_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js */ "./node_modules/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js");
1024
+ /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
1025
+ /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js");
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
1035
+
1036
+ var EmotionCacheContext = /* #__PURE__ */(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)( // we're doing this to avoid preconstruct's dead code elimination in this one case
1037
+ // because this module is primarily intended for the browser and node
1038
+ // but it's also required in react native and similar environments sometimes
1039
+ // and we could have a special build just for that
1040
+ // but this is much easier and the native packages
1041
+ // might use a different theme context in the future anyway
1042
+ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */(0,_emotion_cache__WEBPACK_IMPORTED_MODULE_1__.default)({
1043
+ key: 'css'
1044
+ }) : null);
1045
+ var CacheProvider = EmotionCacheContext.Provider;
1046
+
1047
+ var withEmotionCache = function withEmotionCache(func) {
1048
+ // $FlowFixMe
1049
+ return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (props, ref) {
1050
+ // the cache will never be null in the browser
1051
+ var cache = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(EmotionCacheContext);
1052
+ return func(props, cache, ref);
1053
+ });
1054
+ };
1055
+
1056
+ var ThemeContext = /* #__PURE__ */(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({});
1057
+ var useTheme = function useTheme() {
1058
+ return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext);
1059
+ };
1060
+
1061
+ var getTheme = function getTheme(outerTheme, theme) {
1062
+ if (typeof theme === 'function') {
1063
+ var mergedTheme = theme(outerTheme);
1064
+
1065
+ if ( true && (mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {
1066
+ throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');
1067
+ }
1068
+
1069
+ return mergedTheme;
1070
+ }
1071
+
1072
+ if ( true && (theme == null || typeof theme !== 'object' || Array.isArray(theme))) {
1073
+ throw new Error('[ThemeProvider] Please make your theme prop a plain object');
1074
+ }
1075
+
1076
+ return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__.default)({}, outerTheme, {}, theme);
1077
+ };
1078
+
1079
+ var createCacheWithTheme = /* #__PURE__ */(0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__.default)(function (outerTheme) {
1080
+ return (0,_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__.default)(function (theme) {
1081
+ return getTheme(outerTheme, theme);
1082
+ });
1083
+ });
1084
+ var ThemeProvider = function ThemeProvider(props) {
1085
+ var theme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext);
1086
+
1087
+ if (props.theme !== theme) {
1088
+ theme = createCacheWithTheme(theme)(props.theme);
1089
+ }
1090
+
1091
+ return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(ThemeContext.Provider, {
1092
+ value: theme
1093
+ }, props.children);
1094
+ };
1095
+ function withTheme(Component) {
1096
+ var componentName = Component.displayName || Component.name || 'Component';
1097
+
1098
+ var render = function render(props, ref) {
1099
+ var theme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext);
1100
+ return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__.default)({
1101
+ theme: theme,
1102
+ ref: ref
1103
+ }, props));
1104
+ }; // $FlowFixMe
1105
+
1106
+
1107
+ var WithTheme = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(render);
1108
+ WithTheme.displayName = "WithTheme(" + componentName + ")";
1109
+ return (0,_isolated_hoist_non_react_statics_do_not_use_this_in_your_code_dist_emotion_react_isolated_hoist_non_react_statics_do_not_use_this_in_your_code_browser_esm_js__WEBPACK_IMPORTED_MODULE_6__.default)(WithTheme, Component);
1110
+ }
1111
+
1112
+ // thus we only need to replace what is a valid character for JS, but not for CSS
1113
+
1114
+ var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
1115
+ return identifier.replace(/\$/g, '-');
1116
+ };
1117
+
1118
+ var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
1119
+ var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
1120
+ var createEmotionProps = function createEmotionProps(type, props) {
1121
+ if ( true && typeof props.css === 'string' && // check if there is a css declaration
1122
+ props.css.indexOf(':') !== -1) {
1123
+ throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`");
1124
+ }
1125
+
1126
+ var newProps = {};
1127
+
1128
+ for (var key in props) {
1129
+ if (hasOwnProperty.call(props, key)) {
1130
+ newProps[key] = props[key];
1131
+ }
1132
+ }
1133
+
1134
+ newProps[typePropName] = type;
1135
+
1136
+ if (true) {
1137
+ var error = new Error();
1138
+
1139
+ if (error.stack) {
1140
+ // chrome
1141
+ var match = error.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z0-9$]+) /);
1142
+
1143
+ if (!match) {
1144
+ // safari and firefox
1145
+ match = error.stack.match(/.*\n([A-Z][A-Za-z0-9$]+)@/);
1146
+ }
1147
+
1148
+ if (match) {
1149
+ newProps[labelPropName] = sanitizeIdentifier(match[1]);
1150
+ }
1151
+ }
1152
+ }
1153
+
1154
+ return newProps;
1155
+ };
1156
+ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
1157
+ var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
1158
+ // not passing the registered cache to serializeStyles because it would
1159
+ // make certain babel optimisations not possible
1160
+
1161
+ if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
1162
+ cssProp = cache.registered[cssProp];
1163
+ }
1164
+
1165
+ var type = props[typePropName];
1166
+ var registeredStyles = [cssProp];
1167
+ var className = '';
1168
+
1169
+ if (typeof props.className === 'string') {
1170
+ className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.getRegisteredStyles)(cache.registered, registeredStyles, props.className);
1171
+ } else if (props.className != null) {
1172
+ className = props.className + " ";
1173
+ }
1174
+
1175
+ var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_5__.serializeStyles)(registeredStyles, undefined, typeof cssProp === 'function' || Array.isArray(cssProp) ? (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext) : undefined);
1176
+
1177
+ if ( true && serialized.name.indexOf('-') === -1) {
1178
+ var labelFromStack = props[labelPropName];
1179
+
1180
+ if (labelFromStack) {
1181
+ serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_5__.serializeStyles)([serialized, 'label:' + labelFromStack + ';']);
1182
+ }
1183
+ }
1184
+
1185
+ var rules = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.insertStyles)(cache, serialized, typeof type === 'string');
1186
+ className += cache.key + "-" + serialized.name;
1187
+ var newProps = {};
1188
+
1189
+ for (var key in props) {
1190
+ if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && ( false || key !== labelPropName)) {
1191
+ newProps[key] = props[key];
1192
+ }
1193
+ }
1194
+
1195
+ newProps.ref = ref;
1196
+ newProps.className = className;
1197
+ var ele = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(type, newProps);
1198
+
1199
+ return ele;
1200
+ });
1201
+
1202
+ if (true) {
1203
+ Emotion.displayName = 'EmotionCssPropInternal';
1204
+ }
1205
+
1206
+
1207
+
1208
+
1209
+ /***/ }),
1210
+
1211
+ /***/ "./node_modules/@emotion/react/dist/emotion-react.browser.esm.js":
1212
+ /*!***********************************************************************!*\
1213
+ !*** ./node_modules/@emotion/react/dist/emotion-react.browser.esm.js ***!
1214
+ \***********************************************************************/
1215
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1216
+
1217
+ "use strict";
1218
+ __webpack_require__.r(__webpack_exports__);
1219
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1220
+ /* harmony export */ "CacheProvider": () => (/* reexport safe */ _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.C),
1221
+ /* harmony export */ "ThemeContext": () => (/* reexport safe */ _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.T),
1222
+ /* harmony export */ "ThemeProvider": () => (/* reexport safe */ _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.a),
1223
+ /* harmony export */ "useTheme": () => (/* reexport safe */ _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.u),
1224
+ /* harmony export */ "withEmotionCache": () => (/* reexport safe */ _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.w),
1225
+ /* harmony export */ "withTheme": () => (/* reexport safe */ _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.b),
1226
+ /* harmony export */ "ClassNames": () => (/* binding */ ClassNames),
1227
+ /* harmony export */ "Global": () => (/* binding */ Global),
1228
+ /* harmony export */ "createElement": () => (/* binding */ jsx),
1229
+ /* harmony export */ "css": () => (/* binding */ css),
1230
+ /* harmony export */ "jsx": () => (/* binding */ jsx),
1231
+ /* harmony export */ "keyframes": () => (/* binding */ keyframes)
1232
+ /* harmony export */ });
1233
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
1234
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1235
+ /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js");
1236
+ /* harmony import */ var _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./emotion-element-4fbd89c5.browser.esm.js */ "./node_modules/@emotion/react/dist/emotion-element-4fbd89c5.browser.esm.js");
1237
+ /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
1238
+ /* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js");
1239
+ /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
1240
+ /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5__);
1241
+ /* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js");
1242
+ /* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js");
1243
+ /* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js");
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+ var pkg = {
1257
+ name: "@emotion/react",
1258
+ version: "11.1.5",
1259
+ main: "dist/emotion-react.cjs.js",
1260
+ module: "dist/emotion-react.esm.js",
1261
+ browser: {
1262
+ "./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
1263
+ "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
1264
+ },
1265
+ types: "types/index.d.ts",
1266
+ files: [
1267
+ "src",
1268
+ "dist",
1269
+ "jsx-runtime",
1270
+ "jsx-dev-runtime",
1271
+ "isolated-hoist-non-react-statics-do-not-use-this-in-your-code",
1272
+ "types/*.d.ts",
1273
+ "macro.js",
1274
+ "macro.d.ts",
1275
+ "macro.js.flow"
1276
+ ],
1277
+ sideEffects: false,
1278
+ author: "mitchellhamilton <mitchell@mitchellhamilton.me>",
1279
+ license: "MIT",
1280
+ scripts: {
1281
+ "test:typescript": "dtslint types"
1282
+ },
1283
+ dependencies: {
1284
+ "@babel/runtime": "^7.7.2",
1285
+ "@emotion/cache": "^11.1.3",
1286
+ "@emotion/serialize": "^1.0.0",
1287
+ "@emotion/sheet": "^1.0.1",
1288
+ "@emotion/utils": "^1.0.0",
1289
+ "@emotion/weak-memoize": "^0.2.5",
1290
+ "hoist-non-react-statics": "^3.3.1"
1291
+ },
1292
+ peerDependencies: {
1293
+ "@babel/core": "^7.0.0",
1294
+ react: ">=16.8.0"
1295
+ },
1296
+ peerDependenciesMeta: {
1297
+ "@babel/core": {
1298
+ optional: true
1299
+ },
1300
+ "@types/react": {
1301
+ optional: true
1302
+ }
1303
+ },
1304
+ devDependencies: {
1305
+ "@babel/core": "^7.7.2",
1306
+ "@emotion/css": "11.1.3",
1307
+ "@emotion/css-prettifier": "1.0.0",
1308
+ "@emotion/server": "11.0.0",
1309
+ "@emotion/styled": "11.1.5",
1310
+ "@types/react": "^16.9.11",
1311
+ dtslint: "^0.3.0",
1312
+ "html-tag-names": "^1.1.2",
1313
+ react: "16.14.0",
1314
+ "svg-tag-names": "^1.1.1"
1315
+ },
1316
+ repository: "https://github.com/emotion-js/emotion/tree/master/packages/react",
1317
+ publishConfig: {
1318
+ access: "public"
1319
+ },
1320
+ "umd:main": "dist/emotion-react.umd.min.js",
1321
+ preconstruct: {
1322
+ entrypoints: [
1323
+ "./index.js",
1324
+ "./jsx-runtime.js",
1325
+ "./jsx-dev-runtime.js",
1326
+ "./isolated-hoist-non-react-statics-do-not-use-this-in-your-code.js"
1327
+ ],
1328
+ umdName: "emotionReact"
1329
+ }
1330
+ };
1331
+
1332
+ var jsx = function jsx(type, props) {
1333
+ var args = arguments;
1334
+
1335
+ if (props == null || !_emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.h.call(props, 'css')) {
1336
+ // $FlowFixMe
1337
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement.apply(undefined, args);
1338
+ }
1339
+
1340
+ var argsLength = args.length;
1341
+ var createElementArgArray = new Array(argsLength);
1342
+ createElementArgArray[0] = _emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.E;
1343
+ createElementArgArray[1] = (0,_emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.c)(type, props);
1344
+
1345
+ for (var i = 2; i < argsLength; i++) {
1346
+ createElementArgArray[i] = args[i];
1347
+ } // $FlowFixMe
1348
+
1349
+
1350
+ return react__WEBPACK_IMPORTED_MODULE_0__.createElement.apply(null, createElementArgArray);
1351
+ };
1352
+
1353
+ var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
1354
+ // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
1355
+ // initial client-side render from SSR, use place of hydrating tag
1356
+
1357
+ var Global = /* #__PURE__ */(0,_emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.w)(function (props, cache) {
1358
+ if ( true && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
1359
+ // probably using the custom createElement which
1360
+ // means it will be turned into a className prop
1361
+ // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
1362
+ props.className || props.css)) {
1363
+ console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
1364
+ warnedAboutCssPropForGlobal = true;
1365
+ }
1366
+
1367
+ var styles = props.styles;
1368
+ var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_7__.serializeStyles)([styles], undefined, typeof styles === 'function' || Array.isArray(styles) ? (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.T) : undefined);
1369
+ // but it is based on a constant that will never change at runtime
1370
+ // it's effectively like having two implementations and switching them out
1371
+ // so it's not actually breaking anything
1372
+
1373
+
1374
+ var sheetRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
1375
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {
1376
+ var key = cache.key + "-global";
1377
+ var sheet = new _emotion_sheet__WEBPACK_IMPORTED_MODULE_8__.StyleSheet({
1378
+ key: key,
1379
+ nonce: cache.sheet.nonce,
1380
+ container: cache.sheet.container,
1381
+ speedy: cache.sheet.isSpeedy
1382
+ }); // $FlowFixMe
1383
+
1384
+ var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
1385
+
1386
+ if (cache.sheet.tags.length) {
1387
+ sheet.before = cache.sheet.tags[0];
1388
+ }
1389
+
1390
+ if (node !== null) {
1391
+ sheet.hydrate([node]);
1392
+ }
1393
+
1394
+ sheetRef.current = sheet;
1395
+ return function () {
1396
+ sheet.flush();
1397
+ };
1398
+ }, [cache]);
1399
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {
1400
+ if (serialized.next !== undefined) {
1401
+ // insert keyframes
1402
+ (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_6__.insertStyles)(cache, serialized.next, true);
1403
+ }
1404
+
1405
+ var sheet = sheetRef.current;
1406
+
1407
+ if (sheet.tags.length) {
1408
+ // if this doesn't exist then it will be null so the style element will be appended
1409
+ var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
1410
+ sheet.before = element;
1411
+ sheet.flush();
1412
+ }
1413
+
1414
+ cache.insert("", serialized, sheet, false);
1415
+ }, [cache, serialized.name]);
1416
+ return null;
1417
+ });
1418
+
1419
+ if (true) {
1420
+ Global.displayName = 'EmotionGlobal';
1421
+ }
1422
+
1423
+ function css() {
1424
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1425
+ args[_key] = arguments[_key];
1426
+ }
1427
+
1428
+ return (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_7__.serializeStyles)(args);
1429
+ }
1430
+
1431
+ var keyframes = function keyframes() {
1432
+ var insertable = css.apply(void 0, arguments);
1433
+ var name = "animation-" + insertable.name; // $FlowFixMe
1434
+
1435
+ return {
1436
+ name: name,
1437
+ styles: "@keyframes " + name + "{" + insertable.styles + "}",
1438
+ anim: 1,
1439
+ toString: function toString() {
1440
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1441
+ }
1442
+ };
1443
+ };
1444
+
1445
+ var classnames = function classnames(args) {
1446
+ var len = args.length;
1447
+ var i = 0;
1448
+ var cls = '';
1449
+
1450
+ for (; i < len; i++) {
1451
+ var arg = args[i];
1452
+ if (arg == null) continue;
1453
+ var toAdd = void 0;
1454
+
1455
+ switch (typeof arg) {
1456
+ case 'boolean':
1457
+ break;
1458
+
1459
+ case 'object':
1460
+ {
1461
+ if (Array.isArray(arg)) {
1462
+ toAdd = classnames(arg);
1463
+ } else {
1464
+ if ( true && arg.styles !== undefined && arg.name !== undefined) {
1465
+ console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.');
1466
+ }
1467
+
1468
+ toAdd = '';
1469
+
1470
+ for (var k in arg) {
1471
+ if (arg[k] && k) {
1472
+ toAdd && (toAdd += ' ');
1473
+ toAdd += k;
1474
+ }
1475
+ }
1476
+ }
1477
+
1478
+ break;
1479
+ }
1480
+
1481
+ default:
1482
+ {
1483
+ toAdd = arg;
1484
+ }
1485
+ }
1486
+
1487
+ if (toAdd) {
1488
+ cls && (cls += ' ');
1489
+ cls += toAdd;
1490
+ }
1491
+ }
1492
+
1493
+ return cls;
1494
+ };
1495
+
1496
+ function merge(registered, css, className) {
1497
+ var registeredStyles = [];
1498
+ var rawClassName = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_6__.getRegisteredStyles)(registered, registeredStyles, className);
1499
+
1500
+ if (registeredStyles.length < 2) {
1501
+ return className;
1502
+ }
1503
+
1504
+ return rawClassName + css(registeredStyles);
1505
+ }
1506
+
1507
+ var ClassNames = /* #__PURE__ */(0,_emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.w)(function (props, cache) {
1508
+ var hasRendered = false;
1509
+
1510
+ var css = function css() {
1511
+ if (hasRendered && "development" !== 'production') {
1512
+ throw new Error('css can only be used during render');
1513
+ }
1514
+
1515
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1516
+ args[_key] = arguments[_key];
1517
+ }
1518
+
1519
+ var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_7__.serializeStyles)(args, cache.registered);
1520
+
1521
+ {
1522
+ (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_6__.insertStyles)(cache, serialized, false);
1523
+ }
1524
+
1525
+ return cache.key + "-" + serialized.name;
1526
+ };
1527
+
1528
+ var cx = function cx() {
1529
+ if (hasRendered && "development" !== 'production') {
1530
+ throw new Error('cx can only be used during render');
1531
+ }
1532
+
1533
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1534
+ args[_key2] = arguments[_key2];
1535
+ }
1536
+
1537
+ return merge(cache.registered, css, classnames(args));
1538
+ };
1539
+
1540
+ var content = {
1541
+ css: css,
1542
+ cx: cx,
1543
+ theme: (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_emotion_element_4fbd89c5_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.T)
1544
+ };
1545
+ var ele = props.children(content);
1546
+ hasRendered = true;
1547
+
1548
+ return ele;
1549
+ });
1550
+
1551
+ if (true) {
1552
+ ClassNames.displayName = 'EmotionClassNames';
1553
+ }
1554
+
1555
+ if (true) {
1556
+ var isBrowser = "object" !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock
1557
+
1558
+ var isJest = typeof jest !== 'undefined';
1559
+
1560
+ if (isBrowser && !isJest) {
1561
+ var globalContext = isBrowser ? window : __webpack_require__.g;
1562
+ var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
1563
+
1564
+ if (globalContext[globalKey]) {
1565
+ console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');
1566
+ }
1567
+
1568
+ globalContext[globalKey] = true;
1569
+ }
1570
+ }
1571
+
1572
+
1573
+
1574
+
1575
+ /***/ }),
1576
+
1577
+ /***/ "./node_modules/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js":
1578
+ /*!***************************************************************************************************************************************************************************************************!*\
1579
+ !*** ./node_modules/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js ***!
1580
+ \***************************************************************************************************************************************************************************************************/
1581
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1582
+
1583
+ "use strict";
1584
+ __webpack_require__.r(__webpack_exports__);
1585
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1586
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1587
+ /* harmony export */ });
1588
+ /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
1589
+ /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__);
1590
+
1591
+
1592
+ // this file isolates this package that is not tree-shakeable
1593
+ // and if this module doesn't actually contain any logic of its own
1594
+ // then Rollup just use 'hoist-non-react-statics' directly in other chunks
1595
+
1596
+ var hoistNonReactStatics = (function (targetComponent, sourceComponent) {
1597
+ return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default()(targetComponent, sourceComponent);
1598
+ });
1599
+
1600
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hoistNonReactStatics);
1601
+
1602
+
1603
+ /***/ }),
1604
+
1605
+ /***/ "./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js":
1606
+ /*!*******************************************************************************!*\
1607
+ !*** ./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js ***!
1608
+ \*******************************************************************************/
1609
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1610
+
1611
+ "use strict";
1612
+ __webpack_require__.r(__webpack_exports__);
1613
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1614
+ /* harmony export */ "serializeStyles": () => (/* binding */ serializeStyles)
1615
+ /* harmony export */ });
1616
+ /* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/hash */ "./node_modules/@emotion/hash/dist/hash.browser.esm.js");
1617
+ /* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/unitless */ "./node_modules/@emotion/unitless/dist/unitless.browser.esm.js");
1618
+ /* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js");
1619
+
1620
+
1621
+
1622
+
1623
+ var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
1624
+ var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
1625
+ var hyphenateRegex = /[A-Z]|^ms/g;
1626
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1627
+
1628
+ var isCustomProperty = function isCustomProperty(property) {
1629
+ return property.charCodeAt(1) === 45;
1630
+ };
1631
+
1632
+ var isProcessableValue = function isProcessableValue(value) {
1633
+ return value != null && typeof value !== 'boolean';
1634
+ };
1635
+
1636
+ var processStyleName = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_2__.default)(function (styleName) {
1637
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
1638
+ });
1639
+
1640
+ var processStyleValue = function processStyleValue(key, value) {
1641
+ switch (key) {
1642
+ case 'animation':
1643
+ case 'animationName':
1644
+ {
1645
+ if (typeof value === 'string') {
1646
+ return value.replace(animationRegex, function (match, p1, p2) {
1647
+ cursor = {
1648
+ name: p1,
1649
+ styles: p2,
1650
+ next: cursor
1651
+ };
1652
+ return p1;
1653
+ });
1654
+ }
1655
+ }
1656
+ }
1657
+
1658
+ if (_emotion_unitless__WEBPACK_IMPORTED_MODULE_1__.default[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
1659
+ return value + 'px';
1660
+ }
1661
+
1662
+ return value;
1663
+ };
1664
+
1665
+ if (true) {
1666
+ var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
1667
+ var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
1668
+ var oldProcessStyleValue = processStyleValue;
1669
+ var msPattern = /^-ms-/;
1670
+ var hyphenPattern = /-(.)/g;
1671
+ var hyphenatedCache = {};
1672
+
1673
+ processStyleValue = function processStyleValue(key, value) {
1674
+ if (key === 'content') {
1675
+ if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
1676
+ throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
1677
+ }
1678
+ }
1679
+
1680
+ var processed = oldProcessStyleValue(key, value);
1681
+
1682
+ if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
1683
+ hyphenatedCache[key] = true;
1684
+ console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
1685
+ return _char.toUpperCase();
1686
+ }) + "?");
1687
+ }
1688
+
1689
+ return processed;
1690
+ };
1691
+ }
1692
+
1693
+ function handleInterpolation(mergedProps, registered, interpolation) {
1694
+ if (interpolation == null) {
1695
+ return '';
1696
+ }
1697
+
1698
+ if (interpolation.__emotion_styles !== undefined) {
1699
+ if ( true && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
1700
+ throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
1701
+ }
1702
+
1703
+ return interpolation;
1704
+ }
1705
+
1706
+ switch (typeof interpolation) {
1707
+ case 'boolean':
1708
+ {
1709
+ return '';
1710
+ }
1711
+
1712
+ case 'object':
1713
+ {
1714
+ if (interpolation.anim === 1) {
1715
+ cursor = {
1716
+ name: interpolation.name,
1717
+ styles: interpolation.styles,
1718
+ next: cursor
1719
+ };
1720
+ return interpolation.name;
1721
+ }
1722
+
1723
+ if (interpolation.styles !== undefined) {
1724
+ var next = interpolation.next;
1725
+
1726
+ if (next !== undefined) {
1727
+ // not the most efficient thing ever but this is a pretty rare case
1728
+ // and there will be very few iterations of this generally
1729
+ while (next !== undefined) {
1730
+ cursor = {
1731
+ name: next.name,
1732
+ styles: next.styles,
1733
+ next: cursor
1734
+ };
1735
+ next = next.next;
1736
+ }
1737
+ }
1738
+
1739
+ var styles = interpolation.styles + ";";
1740
+
1741
+ if ( true && interpolation.map !== undefined) {
1742
+ styles += interpolation.map;
1743
+ }
1744
+
1745
+ return styles;
1746
+ }
1747
+
1748
+ return createStringFromObject(mergedProps, registered, interpolation);
1749
+ }
1750
+
1751
+ case 'function':
1752
+ {
1753
+ if (mergedProps !== undefined) {
1754
+ var previousCursor = cursor;
1755
+ var result = interpolation(mergedProps);
1756
+ cursor = previousCursor;
1757
+ return handleInterpolation(mergedProps, registered, result);
1758
+ } else if (true) {
1759
+ console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
1760
+ }
1761
+
1762
+ break;
1763
+ }
1764
+
1765
+ case 'string':
1766
+ if (true) {
1767
+ var matched = [];
1768
+ var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
1769
+ var fakeVarName = "animation" + matched.length;
1770
+ matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
1771
+ return "${" + fakeVarName + "}";
1772
+ });
1773
+
1774
+ if (matched.length) {
1775
+ console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
1776
+ }
1777
+ }
1778
+
1779
+ break;
1780
+ } // finalize string values (regular strings and functions interpolated into css calls)
1781
+
1782
+
1783
+ if (registered == null) {
1784
+ return interpolation;
1785
+ }
1786
+
1787
+ var cached = registered[interpolation];
1788
+ return cached !== undefined ? cached : interpolation;
1789
+ }
1790
+
1791
+ function createStringFromObject(mergedProps, registered, obj) {
1792
+ var string = '';
1793
+
1794
+ if (Array.isArray(obj)) {
1795
+ for (var i = 0; i < obj.length; i++) {
1796
+ string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1797
+ }
1798
+ } else {
1799
+ for (var _key in obj) {
1800
+ var value = obj[_key];
1801
+
1802
+ if (typeof value !== 'object') {
1803
+ if (registered != null && registered[value] !== undefined) {
1804
+ string += _key + "{" + registered[value] + "}";
1805
+ } else if (isProcessableValue(value)) {
1806
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
1807
+ }
1808
+ } else {
1809
+ if (_key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
1810
+ throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
1811
+ }
1812
+
1813
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
1814
+ for (var _i = 0; _i < value.length; _i++) {
1815
+ if (isProcessableValue(value[_i])) {
1816
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
1817
+ }
1818
+ }
1819
+ } else {
1820
+ var interpolated = handleInterpolation(mergedProps, registered, value);
1821
+
1822
+ switch (_key) {
1823
+ case 'animation':
1824
+ case 'animationName':
1825
+ {
1826
+ string += processStyleName(_key) + ":" + interpolated + ";";
1827
+ break;
1828
+ }
1829
+
1830
+ default:
1831
+ {
1832
+ if ( true && _key === 'undefined') {
1833
+ console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
1834
+ }
1835
+
1836
+ string += _key + "{" + interpolated + "}";
1837
+ }
1838
+ }
1839
+ }
1840
+ }
1841
+ }
1842
+ }
1843
+
1844
+ return string;
1845
+ }
1846
+
1847
+ var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
1848
+ var sourceMapPattern;
1849
+
1850
+ if (true) {
1851
+ sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
1852
+ } // this is the cursor for keyframes
1853
+ // keyframes are stored on the SerializedStyles object as a linked list
1854
+
1855
+
1856
+ var cursor;
1857
+ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
1858
+ if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
1859
+ return args[0];
1860
+ }
1861
+
1862
+ var stringMode = true;
1863
+ var styles = '';
1864
+ cursor = undefined;
1865
+ var strings = args[0];
1866
+
1867
+ if (strings == null || strings.raw === undefined) {
1868
+ stringMode = false;
1869
+ styles += handleInterpolation(mergedProps, registered, strings);
1870
+ } else {
1871
+ if ( true && strings[0] === undefined) {
1872
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
1873
+ }
1874
+
1875
+ styles += strings[0];
1876
+ } // we start at 1 since we've already handled the first arg
1877
+
1878
+
1879
+ for (var i = 1; i < args.length; i++) {
1880
+ styles += handleInterpolation(mergedProps, registered, args[i]);
1881
+
1882
+ if (stringMode) {
1883
+ if ( true && strings[i] === undefined) {
1884
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
1885
+ }
1886
+
1887
+ styles += strings[i];
1888
+ }
1889
+ }
1890
+
1891
+ var sourceMap;
1892
+
1893
+ if (true) {
1894
+ styles = styles.replace(sourceMapPattern, function (match) {
1895
+ sourceMap = match;
1896
+ return '';
1897
+ });
1898
+ } // using a global regex with .exec is stateful so lastIndex has to be reset each time
1899
+
1900
+
1901
+ labelPattern.lastIndex = 0;
1902
+ var identifierName = '';
1903
+ var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
1904
+
1905
+ while ((match = labelPattern.exec(styles)) !== null) {
1906
+ identifierName += '-' + // $FlowFixMe we know it's not null
1907
+ match[1];
1908
+ }
1909
+
1910
+ var name = (0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__.default)(styles) + identifierName;
1911
+
1912
+ if (true) {
1913
+ // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
1914
+ return {
1915
+ name: name,
1916
+ styles: styles,
1917
+ map: sourceMap,
1918
+ next: cursor,
1919
+ toString: function toString() {
1920
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
1921
+ }
1922
+ };
1923
+ }
1924
+
1925
+ return {
1926
+ name: name,
1927
+ styles: styles,
1928
+ next: cursor
1929
+ };
1930
+ };
1931
+
1932
+
1933
+
1934
+
1935
+ /***/ }),
1936
+
1937
+ /***/ "./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js":
1938
+ /*!***********************************************************************!*\
1939
+ !*** ./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js ***!
1940
+ \***********************************************************************/
1941
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1942
+
1943
+ "use strict";
1944
+ __webpack_require__.r(__webpack_exports__);
1945
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1946
+ /* harmony export */ "StyleSheet": () => (/* binding */ StyleSheet)
1947
+ /* harmony export */ });
1948
+ /*
1949
+
1950
+ Based off glamor's StyleSheet, thanks Sunil ❤️
1951
+
1952
+ high performance StyleSheet for css-in-js systems
1953
+
1954
+ - uses multiple style tags behind the scenes for millions of rules
1955
+ - uses `insertRule` for appending in production for *much* faster performance
1956
+
1957
+ // usage
1958
+
1959
+ import { StyleSheet } from '@emotion/sheet'
1960
+
1961
+ let styleSheet = new StyleSheet({ key: '', container: document.head })
1962
+
1963
+ styleSheet.insert('#box { border: 1px solid red; }')
1964
+ - appends a css rule into the stylesheet
1965
+
1966
+ styleSheet.flush()
1967
+ - empties the stylesheet of all its contents
1968
+
1969
+ */
1970
+ // $FlowFixMe
1971
+ function sheetForTag(tag) {
1972
+ if (tag.sheet) {
1973
+ // $FlowFixMe
1974
+ return tag.sheet;
1975
+ } // this weirdness brought to you by firefox
1976
+
1977
+ /* istanbul ignore next */
1978
+
1979
+
1980
+ for (var i = 0; i < document.styleSheets.length; i++) {
1981
+ if (document.styleSheets[i].ownerNode === tag) {
1982
+ // $FlowFixMe
1983
+ return document.styleSheets[i];
1984
+ }
1985
+ }
1986
+ }
1987
+
1988
+ function createStyleElement(options) {
1989
+ var tag = document.createElement('style');
1990
+ tag.setAttribute('data-emotion', options.key);
1991
+
1992
+ if (options.nonce !== undefined) {
1993
+ tag.setAttribute('nonce', options.nonce);
1994
+ }
1995
+
1996
+ tag.appendChild(document.createTextNode(''));
1997
+ tag.setAttribute('data-s', '');
1998
+ return tag;
1999
+ }
2000
+
2001
+ var StyleSheet = /*#__PURE__*/function () {
2002
+ function StyleSheet(options) {
2003
+ var _this = this;
2004
+
2005
+ this._insertTag = function (tag) {
2006
+ var before;
2007
+
2008
+ if (_this.tags.length === 0) {
2009
+ before = _this.prepend ? _this.container.firstChild : _this.before;
2010
+ } else {
2011
+ before = _this.tags[_this.tags.length - 1].nextSibling;
2012
+ }
2013
+
2014
+ _this.container.insertBefore(tag, before);
2015
+
2016
+ _this.tags.push(tag);
2017
+ };
2018
+
2019
+ this.isSpeedy = options.speedy === undefined ? "development" === 'production' : options.speedy;
2020
+ this.tags = [];
2021
+ this.ctr = 0;
2022
+ this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
2023
+
2024
+ this.key = options.key;
2025
+ this.container = options.container;
2026
+ this.prepend = options.prepend;
2027
+ this.before = null;
2028
+ }
2029
+
2030
+ var _proto = StyleSheet.prototype;
2031
+
2032
+ _proto.hydrate = function hydrate(nodes) {
2033
+ nodes.forEach(this._insertTag);
2034
+ };
2035
+
2036
+ _proto.insert = function insert(rule) {
2037
+ // the max length is how many rules we have per style tag, it's 65000 in speedy mode
2038
+ // it's 1 in dev because we insert source maps that map a single rule to a location
2039
+ // and you can only have one source map per style tag
2040
+ if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
2041
+ this._insertTag(createStyleElement(this));
2042
+ }
2043
+
2044
+ var tag = this.tags[this.tags.length - 1];
2045
+
2046
+ if (true) {
2047
+ var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
2048
+
2049
+ if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
2050
+ // this would only cause problem in speedy mode
2051
+ // but we don't want enabling speedy to affect the observable behavior
2052
+ // so we report this error at all times
2053
+ console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
2054
+ }
2055
+ this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
2056
+ }
2057
+
2058
+ if (this.isSpeedy) {
2059
+ var sheet = sheetForTag(tag);
2060
+
2061
+ try {
2062
+ // this is the ultrafast version, works across browsers
2063
+ // the big drawback is that the css won't be editable in devtools
2064
+ sheet.insertRule(rule, sheet.cssRules.length);
2065
+ } catch (e) {
2066
+ if ( true && !/:(-moz-placeholder|-ms-input-placeholder|-moz-read-write|-moz-read-only){/.test(rule)) {
2067
+ console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
2068
+ }
2069
+ }
2070
+ } else {
2071
+ tag.appendChild(document.createTextNode(rule));
2072
+ }
2073
+
2074
+ this.ctr++;
2075
+ };
2076
+
2077
+ _proto.flush = function flush() {
2078
+ // $FlowFixMe
2079
+ this.tags.forEach(function (tag) {
2080
+ return tag.parentNode.removeChild(tag);
2081
+ });
2082
+ this.tags = [];
2083
+ this.ctr = 0;
2084
+
2085
+ if (true) {
2086
+ this._alreadyInsertedOrderInsensitiveRule = false;
2087
+ }
2088
+ };
2089
+
2090
+ return StyleSheet;
2091
+ }();
2092
+
2093
+
2094
+
2095
+
2096
+ /***/ }),
2097
+
2098
+ /***/ "./node_modules/@emotion/unitless/dist/unitless.browser.esm.js":
2099
+ /*!*********************************************************************!*\
2100
+ !*** ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js ***!
2101
+ \*********************************************************************/
2102
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2103
+
2104
+ "use strict";
2105
+ __webpack_require__.r(__webpack_exports__);
2106
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2107
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2108
+ /* harmony export */ });
2109
+ var unitlessKeys = {
2110
+ animationIterationCount: 1,
2111
+ borderImageOutset: 1,
2112
+ borderImageSlice: 1,
2113
+ borderImageWidth: 1,
2114
+ boxFlex: 1,
2115
+ boxFlexGroup: 1,
2116
+ boxOrdinalGroup: 1,
2117
+ columnCount: 1,
2118
+ columns: 1,
2119
+ flex: 1,
2120
+ flexGrow: 1,
2121
+ flexPositive: 1,
2122
+ flexShrink: 1,
2123
+ flexNegative: 1,
2124
+ flexOrder: 1,
2125
+ gridRow: 1,
2126
+ gridRowEnd: 1,
2127
+ gridRowSpan: 1,
2128
+ gridRowStart: 1,
2129
+ gridColumn: 1,
2130
+ gridColumnEnd: 1,
2131
+ gridColumnSpan: 1,
2132
+ gridColumnStart: 1,
2133
+ msGridRow: 1,
2134
+ msGridRowSpan: 1,
2135
+ msGridColumn: 1,
2136
+ msGridColumnSpan: 1,
2137
+ fontWeight: 1,
2138
+ lineHeight: 1,
2139
+ opacity: 1,
2140
+ order: 1,
2141
+ orphans: 1,
2142
+ tabSize: 1,
2143
+ widows: 1,
2144
+ zIndex: 1,
2145
+ zoom: 1,
2146
+ WebkitLineClamp: 1,
2147
+ // SVG-related properties
2148
+ fillOpacity: 1,
2149
+ floodOpacity: 1,
2150
+ stopOpacity: 1,
2151
+ strokeDasharray: 1,
2152
+ strokeDashoffset: 1,
2153
+ strokeMiterlimit: 1,
2154
+ strokeOpacity: 1,
2155
+ strokeWidth: 1
2156
+ };
2157
+
2158
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (unitlessKeys);
2159
+
2160
+
2161
+ /***/ }),
2162
+
2163
+ /***/ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js":
2164
+ /*!***********************************************************************!*\
2165
+ !*** ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js ***!
2166
+ \***********************************************************************/
2167
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2168
+
2169
+ "use strict";
2170
+ __webpack_require__.r(__webpack_exports__);
2171
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2172
+ /* harmony export */ "getRegisteredStyles": () => (/* binding */ getRegisteredStyles),
2173
+ /* harmony export */ "insertStyles": () => (/* binding */ insertStyles)
2174
+ /* harmony export */ });
2175
+ var isBrowser = "object" !== 'undefined';
2176
+ function getRegisteredStyles(registered, registeredStyles, classNames) {
2177
+ var rawClassName = '';
2178
+ classNames.split(' ').forEach(function (className) {
2179
+ if (registered[className] !== undefined) {
2180
+ registeredStyles.push(registered[className] + ";");
2181
+ } else {
2182
+ rawClassName += className + " ";
2183
+ }
2184
+ });
2185
+ return rawClassName;
2186
+ }
2187
+ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
2188
+ var className = cache.key + "-" + serialized.name;
2189
+
2190
+ if ( // we only need to add the styles to the registered cache if the
2191
+ // class name could be used further down
2192
+ // the tree but if it's a string tag, we know it won't
2193
+ // so we don't have to add it to registered cache.
2194
+ // this improves memory usage since we can avoid storing the whole style string
2195
+ (isStringTag === false || // we need to always store it if we're in compat mode and
2196
+ // in node since emotion-server relies on whether a style is in
2197
+ // the registered cache to know whether a style is global or not
2198
+ // also, note that this check will be dead code eliminated in the browser
2199
+ isBrowser === false ) && cache.registered[className] === undefined) {
2200
+ cache.registered[className] = serialized.styles;
2201
+ }
2202
+
2203
+ if (cache.inserted[serialized.name] === undefined) {
2204
+ var current = serialized;
2205
+
2206
+ do {
2207
+ var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
2208
+
2209
+ current = current.next;
2210
+ } while (current !== undefined);
2211
+ }
2212
+ };
2213
+
2214
+
2215
+
2216
+
2217
+ /***/ }),
2218
+
2219
+ /***/ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js":
2220
+ /*!*****************************************************************************!*\
2221
+ !*** ./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js ***!
2222
+ \*****************************************************************************/
2223
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2224
+
2225
+ "use strict";
2226
+ __webpack_require__.r(__webpack_exports__);
2227
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2228
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2229
+ /* harmony export */ });
2230
+ var weakMemoize = function weakMemoize(func) {
2231
+ // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
2232
+ var cache = new WeakMap();
2233
+ return function (arg) {
2234
+ if (cache.has(arg)) {
2235
+ // $FlowFixMe
2236
+ return cache.get(arg);
2237
+ }
2238
+
2239
+ var ret = func(arg);
2240
+ cache.set(arg, ret);
2241
+ return ret;
2242
+ };
2243
+ };
2244
+
2245
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (weakMemoize);
2246
+
2247
+
2248
+ /***/ }),
2249
+
2250
+ /***/ "./lib/src/blocks/_components/checkbox.js":
2251
+ /*!************************************************!*\
2252
+ !*** ./lib/src/blocks/_components/checkbox.js ***!
2253
+ \************************************************/
2254
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2255
+
2256
+ "use strict";
2257
+ __webpack_require__.r(__webpack_exports__);
2258
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2259
+ /* harmony export */ "SitemapCheckboxControl": () => (/* binding */ SitemapCheckboxControl)
2260
+ /* harmony export */ });
2261
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "react");
2262
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
2263
+
2264
+ var CheckboxControl = wp.components.CheckboxControl;
2265
+ var SitemapCheckboxControl = function SitemapCheckboxControl(props) {
2266
+ var help = props.help,
2267
+ disabled = props.disabled,
2268
+ label = props.label,
2269
+ updateCheckbox = props.updateCheckbox,
2270
+ value = props.value;
2271
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(CheckboxControl, {
2272
+ help: help,
2273
+ disabled: disabled,
2274
+ label: label,
2275
+ checked: value,
2276
+ onChange: function onChange(isChecked) {
2277
+ return updateCheckbox(isChecked);
2278
+ }
2279
+ });
2280
+ };
2281
+
2282
+ /***/ }),
2283
+
2284
+ /***/ "./lib/src/blocks/_components/select-cpt-taxonomy.js":
2285
+ /*!***********************************************************!*\
2286
+ !*** ./lib/src/blocks/_components/select-cpt-taxonomy.js ***!
2287
+ \***********************************************************/
2288
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2289
+
2290
+ "use strict";
2291
+ __webpack_require__.r(__webpack_exports__);
2292
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2293
+ /* harmony export */ "SelectCptTaxonomy": () => (/* binding */ SelectCptTaxonomy)
2294
+ /* harmony export */ });
2295
+ /* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
2296
+ /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
2297
+ /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
2298
+ /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
2299
+ /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
2300
+ /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
2301
+ /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
2302
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/element */ "react");
2303
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_7__);
2304
+
2305
+
2306
+
2307
+
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__.default)(this, result); }; }
2314
+
2315
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2316
+
2317
+ // Import core block libraries
2318
+ //const { __ } = wp.i18n;
2319
+ //const { InspectorControls } = wp.blockEditor;
2320
+ var _wp$components = wp.components,
2321
+ PanelRow = _wp$components.PanelRow,
2322
+ SelectControl = _wp$components.SelectControl,
2323
+ Button = _wp$components.Button; //const { registerBlockType } = wp.blocks;
2324
+
2325
+ var _wp$element = wp.element,
2326
+ Fragment = _wp$element.Fragment,
2327
+ Component = _wp$element.Component;
2328
+ var _wp$hooks = wp.hooks,
2329
+ applyFilters = _wp$hooks.applyFilters,
2330
+ addAction = _wp$hooks.addAction,
2331
+ addFilter = _wp$hooks.addFilter;
2332
+ var SelectCptTaxonomy = /*#__PURE__*/function (_Component) {
2333
+ (0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__.default)(SelectCptTaxonomy, _Component);
2334
+
2335
+ var _super = _createSuper(SelectCptTaxonomy);
2336
+
2337
+ function SelectCptTaxonomy(props) {
2338
+ var _this;
2339
+
2340
+ (0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.default)(this, SelectCptTaxonomy);
2341
+
2342
+ _this = _super.call(this); // or super(props); ??
2343
+
2344
+ _this.state = {
2345
+ types: [],
2346
+ taxonomies: [],
2347
+ taxonomy_select_disabled_status: true,
2348
+ taxonomy_select_disabled_help: '',
2349
+ wrapperClass: ''
2350
+ };
2351
+ _this.props = props;
2352
+ _this.updatePostTypeValues = _this.updatePostTypeValues.bind((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__.default)(_this));
2353
+ return _this;
2354
+ }
2355
+
2356
+ (0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__.default)(SelectCptTaxonomy, [{
2357
+ key: "componentDidUpdate",
2358
+ value: function componentDidUpdate() {//console.log("UPDATE");
2359
+ } // get post types to populate select box
2360
+
2361
+ }, {
2362
+ key: "componentDidMount",
2363
+ value: function componentDidMount() {
2364
+ var _this2 = this;
2365
+
2366
+ //console.log("MOUNT");
2367
+ // Render drop downs.
2368
+ var fetchCPTs = wp.hooks.applyFilters('fetch-sitemap-cpts', null);
2369
+
2370
+ if (typeof fetchCPTs === 'function') {
2371
+ fetchCPTs(this.props).then(function (post_types) {
2372
+ _this2.setState({
2373
+ types: post_types
2374
+ });
2375
+ });
2376
+ }
2377
+
2378
+ this.fetchTaxonomies(null); // null is important here
2379
+ } // set the taxonomy dropdown options
2380
+
2381
+ }, {
2382
+ key: "fetchTaxonomies",
2383
+ value: function fetchTaxonomies() {
2384
+ var _this3 = this;
2385
+
2386
+ var newCPT = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
2387
+ var _this$props = this.props,
2388
+ setAttributes = _this$props.setAttributes,
2389
+ block_post_type = _this$props.block_post_type,
2390
+ block_taxonomy = _this$props.block_taxonomy; // use the cpt from attribute (component did mount) or from new value when cpt drop down changed
2391
+
2392
+ var current_post_type_arr;
2393
+
2394
+ if (newCPT) {
2395
+ current_post_type_arr = newCPT;
2396
+ } else {
2397
+ current_post_type_arr = block_post_type;
2398
+ }
2399
+
2400
+ var taxonomy_url = "simple-sitemap/v1/post-type-taxonomies/".concat(current_post_type_arr);
2401
+ wp.apiFetch({
2402
+ path: taxonomy_url,
2403
+ method: 'GET'
2404
+ }).then(function (data) {
2405
+ var msg = '';
2406
+ var disabled_status = false;
2407
+ var wrapperClass = '';
2408
+ var taxonomies = [];
2409
+ var tax_flag = true;
2410
+
2411
+ if (data.length === 0) {
2412
+ msg = 'No taxonomies found for this post type';
2413
+ disabled_status = true;
2414
+ wrapperClass = 'disabled';
2415
+ setAttributes({
2416
+ block_taxonomy: ''
2417
+ });
2418
+ } else {
2419
+ var entries = Object.entries(data);
2420
+
2421
+ for (var _i = 0, _entries = entries; _i < _entries.length; _i++) {
2422
+ var _entries$_i = (0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.default)(_entries[_i], 2),
2423
+ key = _entries$_i[0],
2424
+ value = _entries$_i[1];
2425
+
2426
+ var tmp = {
2427
+ value: key,
2428
+ label: value
2429
+ };
2430
+ taxonomies.push(tmp); // use attribute value?
2431
+
2432
+ if (tmp.value === block_taxonomy) {
2433
+ tax_flag = false;
2434
+ }
2435
+ } // update attribute with first found taxonomy unless current taxonomy attr. is found in taxonomy array
2436
+ // only update tax attr. if current value not found in updated taxonomies array in which case just set to first taxonomy in array
2437
+
2438
+
2439
+ if (tax_flag) {
2440
+ setAttributes({
2441
+ block_taxonomy: taxonomies[0].value
2442
+ });
2443
+ }
2444
+ }
2445
+
2446
+ _this3.setState({
2447
+ taxonomy_select_disabled_status: disabled_status,
2448
+ taxonomy_select_disabled_help: msg,
2449
+ taxonomies: taxonomies,
2450
+ wrapperClass: wrapperClass
2451
+ });
2452
+
2453
+ return data;
2454
+ }, function (err) {
2455
+ return err;
2456
+ });
2457
+ }
2458
+ }, {
2459
+ key: "updatePostTypeValues",
2460
+ value: function updatePostTypeValues(val) {
2461
+ var setAttributes = this.props.setAttributes;
2462
+ setAttributes({
2463
+ block_post_type: val
2464
+ });
2465
+ this.fetchTaxonomies(val);
2466
+ }
2467
+ }, {
2468
+ key: "render",
2469
+ value: function render() {
2470
+ var _this4 = this;
2471
+
2472
+ var _this$props2 = this.props,
2473
+ setAttributes = _this$props2.setAttributes,
2474
+ block_post_type = _this$props2.block_post_type,
2475
+ block_taxonomy = _this$props2.block_taxonomy,
2476
+ _this$props2$multi = _this$props2.multi,
2477
+ multi = _this$props2$multi === void 0 ? true : _this$props2$multi,
2478
+ className = _this$props2.className;
2479
+ var sitemap_post_types = applyFilters('sitemap-group-post-types-select', '', this.props, this.state, this.updatePostTypeValues);
2480
+ var sitemap_list_more_taxonomies = applyFilters('sitemap-list-more-taxonomies', (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_7__.createElement)(PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_7__.createElement)("p", {
2481
+ style: {
2482
+ marginTop: '-24px',
2483
+ fontSize: '13px',
2484
+ fontStyle: 'italic',
2485
+ marginLeft: '2px'
2486
+ }
2487
+ }, "List\xA0", (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_7__.createElement)("a", {
2488
+ href: "https://wpgoplugins.com/plugins/simple-sitemap-pro/#taxonomies-for-any-post-type",
2489
+ target: "_blank",
2490
+ rel: "noreferrer"
2491
+ }, "taxonomies"), "\xA0for any post type")));
2492
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_7__.createElement)("div", {
2493
+ className: "ss-taxonomy-select ".concat(this.state.wrapperClass)
2494
+ }, sitemap_post_types, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_7__.createElement)(SelectControl, {
2495
+ label: "Select taxonomy",
2496
+ value: block_taxonomy,
2497
+ options: this.state.taxonomies,
2498
+ onChange: function onChange(val) {
2499
+ var setAttributes = _this4.props.setAttributes;
2500
+ setAttributes({
2501
+ block_taxonomy: val
2502
+ });
2503
+ },
2504
+ disabled: this.state.taxonomy_select_disabled_status
2505
+ }));
2506
+ }
2507
+ }]);
2508
+
2509
+ return SelectCptTaxonomy;
2510
+ }(Component);
2511
+
2512
+ /***/ }),
2513
+
2514
+ /***/ "./lib/src/blocks/_components/server-side-render-x.js":
2515
+ /*!************************************************************!*\
2516
+ !*** ./lib/src/blocks/_components/server-side-render-x.js ***!
2517
+ \************************************************************/
2518
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2519
+
2520
+ "use strict";
2521
+ __webpack_require__.r(__webpack_exports__);
2522
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2523
+ /* harmony export */ "rendererPath": () => (/* binding */ rendererPath),
2524
+ /* harmony export */ "ServerSideRenderX": () => (/* binding */ ServerSideRenderX),
2525
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2526
+ /* harmony export */ });
2527
+ /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
2528
+ /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
2529
+ /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
2530
+ /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
2531
+ /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
2532
+ /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
2533
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
2534
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/element */ "react");
2535
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_8__);
2536
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "lodash");
2537
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
2538
+
2539
+
2540
+
2541
+
2542
+
2543
+
2544
+
2545
+
2546
+
2547
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0,_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0,_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__.default)(this, result); }; }
2548
+
2549
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2550
+
2551
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
2552
+
2553
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
2554
+
2555
+ /**
2556
+ * External dependencies
2557
+ */
2558
+
2559
+ /**
2560
+ * WordPress dependencies
2561
+ */
2562
+
2563
+ var _wp$element = wp.element,
2564
+ Component = _wp$element.Component,
2565
+ RawHTML = _wp$element.RawHTML,
2566
+ Fragment = _wp$element.Fragment;
2567
+ var _wp$i18n = wp.i18n,
2568
+ __ = _wp$i18n.__,
2569
+ sprintf = _wp$i18n.sprintf;
2570
+ var apiFetch = wp.apiFetch;
2571
+ var addQueryArgs = wp.url.addQueryArgs;
2572
+ var _wp$components = wp.components,
2573
+ Placeholder = _wp$components.Placeholder,
2574
+ Spinner = _wp$components.Spinner;
2575
+ function rendererPath(block) {
2576
+ var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2577
+ var urlQueryArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
2578
+ return addQueryArgs("/wp/v2/block-renderer/".concat(block), _objectSpread(_objectSpread({
2579
+ context: 'edit'
2580
+ }, null !== attributes ? {
2581
+ attributes: attributes
2582
+ } : {}), urlQueryArgs));
2583
+ }
2584
+ var ServerSideRenderX = /*#__PURE__*/function (_Component) {
2585
+ (0,_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__.default)(ServerSideRenderX, _Component);
2586
+
2587
+ var _super = _createSuper(ServerSideRenderX);
2588
+
2589
+ function ServerSideRenderX(props) {
2590
+ var _this;
2591
+
2592
+ (0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.default)(this, ServerSideRenderX);
2593
+
2594
+ _this = _super.call(this, props);
2595
+ _this.state = {
2596
+ response: null,
2597
+ prevResponse: null
2598
+ };
2599
+ return _this;
2600
+ }
2601
+
2602
+ (0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__.default)(ServerSideRenderX, [{
2603
+ key: "componentDidMount",
2604
+ value: function componentDidMount() {
2605
+ this.isStillMounted = true;
2606
+ this.fetch(this.props); // Only debounce once the initial fetch occurs to ensure that the first
2607
+ // renders show data as soon as possible.
2608
+
2609
+ this.fetch = (0,lodash__WEBPACK_IMPORTED_MODULE_7__.debounce)(this.fetch, 500);
2610
+ }
2611
+ }, {
2612
+ key: "componentWillUnmount",
2613
+ value: function componentWillUnmount() {
2614
+ this.isStillMounted = false;
2615
+ }
2616
+ }, {
2617
+ key: "componentDidUpdate",
2618
+ value: function componentDidUpdate(prevProps) {
2619
+ if (!(0,lodash__WEBPACK_IMPORTED_MODULE_7__.isEqual)(prevProps, this.props)) {
2620
+ this.fetch(this.props);
2621
+ }
2622
+ }
2623
+ }, {
2624
+ key: "fetch",
2625
+ value: function fetch(props) {
2626
+ var _this2 = this;
2627
+
2628
+ if (!this.isStillMounted) {
2629
+ return;
2630
+ }
2631
+
2632
+ if (null !== this.state.response) {
2633
+ //this.setState({ response: null, prevResponse: this.state.response });
2634
+ this.setState(function (state) {
2635
+ return {
2636
+ response: null,
2637
+ prevResponse: state.response
2638
+ };
2639
+ });
2640
+ }
2641
+
2642
+ var block = props.block,
2643
+ _props$attributes = props.attributes,
2644
+ attributes = _props$attributes === void 0 ? null : _props$attributes,
2645
+ _props$urlQueryArgs = props.urlQueryArgs,
2646
+ urlQueryArgs = _props$urlQueryArgs === void 0 ? {} : _props$urlQueryArgs; // Store the latest fetch request so that when we process it, we can
2647
+ // check if it is the current request, to avoid race conditions on slow networks.
2648
+
2649
+ var fetchRequest = this.currentFetchRequest = apiFetch({
2650
+ path: "/wp/v2/block-renderer/".concat(block),
2651
+ method: 'POST',
2652
+ data: _objectSpread(_objectSpread({
2653
+ context: 'edit'
2654
+ }, null !== attributes ? {
2655
+ attributes: attributes
2656
+ } : {}), urlQueryArgs)
2657
+ }).then(function (response) {
2658
+ if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest && response) {
2659
+ _this2.setState({
2660
+ response: response.rendered
2661
+ });
2662
+ }
2663
+ }).catch(function (error) {
2664
+ if (_this2.isStillMounted && fetchRequest === _this2.currentFetchRequest) {
2665
+ _this2.setState({
2666
+ response: {
2667
+ error: true,
2668
+ errorMsg: error.message
2669
+ }
2670
+ });
2671
+ }
2672
+ });
2673
+ return fetchRequest;
2674
+ }
2675
+ }, {
2676
+ key: "render",
2677
+ value: function render() {
2678
+ var _this$props$spinnerLo = this.props.spinnerLocation,
2679
+ right = _this$props$spinnerLo.right,
2680
+ top = _this$props$spinnerLo.top,
2681
+ unit = _this$props$spinnerLo.unit;
2682
+ var response = this.state.response; //let response = this.state.response;
2683
+ //response = `<div style="position:relative;"><div style="position:absolute;right:0;top:10px"><span class="components-spinner"></span></div>${response}</div>`;
2684
+
2685
+ var prevResponse = this.state.prevResponse;
2686
+ var prevResponseHTML = '';
2687
+
2688
+ if (prevResponse !== null) {
2689
+ prevResponseHTML = "<div style=\"position:relative;\"><div style=\"position:absolute;left:-45px;bottom:50%;\"><span class=\"spinner\" style=\"visibility: visible;></span><span class=\"components-spinner\"></span></div>".concat(prevResponse, "</div>"); //response = `<div style="position:relative;"><div style="position:absolute;right:0;top:10px"><span class="components-spinner"></span></div>${response}</div>`;
2690
+ }
2691
+
2692
+ var _this$props = this.props,
2693
+ className = _this$props.className,
2694
+ EmptyResponsePlaceholder = _this$props.EmptyResponsePlaceholder,
2695
+ ErrorResponsePlaceholder = _this$props.ErrorResponsePlaceholder,
2696
+ LoadingResponsePlaceholder = _this$props.LoadingResponsePlaceholder;
2697
+
2698
+ if (response === '') {
2699
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(EmptyResponsePlaceholder, (0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
2700
+ response: response
2701
+ }, this.props));
2702
+ } else if (!response) {
2703
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(RawHTML, {
2704
+ key: "html",
2705
+ className: className
2706
+ }, prevResponseHTML));
2707
+ } else if (response.error) {
2708
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(ErrorResponsePlaceholder, (0,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
2709
+ response: response
2710
+ }, this.props));
2711
+ }
2712
+
2713
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(RawHTML, {
2714
+ key: "html",
2715
+ className: className
2716
+ }, response);
2717
+ }
2718
+ }]);
2719
+
2720
+ return ServerSideRenderX;
2721
+ }(Component);
2722
+ ServerSideRenderX.defaultProps = {
2723
+ spinnerLocation: {
2724
+ right: 0,
2725
+ top: 10,
2726
+ unit: 'px'
2727
+ },
2728
+ EmptyResponsePlaceholder: function EmptyResponsePlaceholder(_ref) {
2729
+ var className = _ref.className;
2730
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(Placeholder, {
2731
+ className: className
2732
+ }, __('Block rendered as empty.'));
2733
+ },
2734
+ ErrorResponsePlaceholder: function ErrorResponsePlaceholder(_ref2) {
2735
+ var response = _ref2.response,
2736
+ className = _ref2.className;
2737
+ var errorMessage = sprintf( // translators: %s: error message describing the problem
2738
+ __('Error loading block: %s'), response.errorMsg);
2739
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(Placeholder, {
2740
+ className: className
2741
+ }, errorMessage);
2742
+ },
2743
+ LoadingResponsePlaceholder: function LoadingResponsePlaceholder(_ref3) {
2744
+ var className = _ref3.className;
2745
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(Placeholder, {
2746
+ className: className
2747
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_8__.createElement)(Spinner, null));
2748
+ }
2749
+ };
2750
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServerSideRenderX);
2751
+
2752
+ /***/ }),
2753
+
2754
+ /***/ "./lib/src/blocks/simple-sitemap-group/index.js":
2755
+ /*!******************************************************!*\
2756
+ !*** ./lib/src/blocks/simple-sitemap-group/index.js ***!
2757
+ \******************************************************/
2758
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2759
+
2760
+ "use strict";
2761
+ __webpack_require__.r(__webpack_exports__);
2762
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2763
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2764
+ /* harmony export */ });
2765
+ /* harmony import */ var _babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js");
2766
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ "react");
2767
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__);
2768
+ /* harmony import */ var _components_select_cpt_taxonomy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_components/select-cpt-taxonomy */ "./lib/src/blocks/_components/select-cpt-taxonomy.js");
2769
+ /* harmony import */ var _components_checkbox__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_components/checkbox */ "./lib/src/blocks/_components/checkbox.js");
2770
+ /* harmony import */ var _components_server_side_render_x__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_components/server-side-render-x */ "./lib/src/blocks/_components/server-side-render-x.js");
2771
+
2772
+
2773
+
2774
+
2775
+ // Import core block libraries
2776
+
2777
+ var __ = wp.i18n.__;
2778
+ var InspectorControls = wp.blockEditor.InspectorControls;
2779
+ var _wp$components = wp.components,
2780
+ PanelBody = _wp$components.PanelBody,
2781
+ PanelRow = _wp$components.PanelRow,
2782
+ TextControl = _wp$components.TextControl,
2783
+ SelectControl = _wp$components.SelectControl;
2784
+ var registerBlockType = wp.blocks.registerBlockType;
2785
+
2786
+ (0,_babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_0__.default)(wp.element);
2787
+
2788
+ var ServerSideRender = wp.serverSideRender;
2789
+ var _wp$hooks = wp.hooks,
2790
+ applyFilters = _wp$hooks.applyFilters,
2791
+ addAction = _wp$hooks.addAction,
2792
+ addFilter = _wp$hooks.addFilter;
2793
+ /**
2794
+ * Register block
2795
+ */
2796
+
2797
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerBlockType('wpgoplugins/simple-sitemap-group-block', {
2798
+ title: 'Simple Sitemap Group',
2799
+ icon: 'networking',
2800
+ keywords: [__('Sitemap', 'simple-sitemap'), __('Group', 'simple-sitemap'), __('HTML Sitemap', 'simple-sitemap')],
2801
+ category: 'simple-sitemap',
2802
+ example: {
2803
+ attributes: {
2804
+ num_posts: 5,
2805
+ num_terms: 5
2806
+ }
2807
+ },
2808
+ edit: function edit(props) {
2809
+ var _props$attributes = props.attributes,
2810
+ show_excerpt = _props$attributes.show_excerpt,
2811
+ show_label = _props$attributes.show_label,
2812
+ links = _props$attributes.links,
2813
+ block_taxonomy = _props$attributes.block_taxonomy,
2814
+ block_post_type = _props$attributes.block_post_type,
2815
+ order = _props$attributes.order,
2816
+ orderby = _props$attributes.orderby,
2817
+ className = props.className,
2818
+ setAttributes = props.setAttributes,
2819
+ isSelected = props.isSelected,
2820
+ attributes = props.attributes;
2821
+
2822
+ function updateShowExcerpt(isChecked) {
2823
+ setAttributes({
2824
+ show_excerpt: isChecked
2825
+ });
2826
+ }
2827
+
2828
+ function updateShowLabel(isChecked) {
2829
+ setAttributes({
2830
+ show_label: isChecked
2831
+ });
2832
+ }
2833
+
2834
+ function updateLinks(isChecked) {
2835
+ setAttributes({
2836
+ links: isChecked
2837
+ });
2838
+ }
2839
+
2840
+ var sitemapGroupGeneralSettings = applyFilters('sitemap-group-general-settings', '', props);
2841
+ var sitemapGroupGeneralStyles = applyFilters('sitemap-group-general-styles', '', props);
2842
+ var sitemapGroupFeaturedImage = applyFilters('sitemap-group-featured-image', '', props);
2843
+ return [(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(InspectorControls, {
2844
+ key: "simple-sitemap-group-block-controls"
2845
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelBody, {
2846
+ title: __('General Settings', 'simple-sitemap')
2847
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
2848
+ className: "simple-sitemap"
2849
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_select_cpt_taxonomy__WEBPACK_IMPORTED_MODULE_1__.SelectCptTaxonomy, {
2850
+ setAttributes: setAttributes,
2851
+ multi: false,
2852
+ block_post_type: block_post_type,
2853
+ block_taxonomy: block_taxonomy
2854
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
2855
+ className: "simple-sitemap order-label"
2856
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)("h3", {
2857
+ style: {
2858
+ marginBottom: '-12px'
2859
+ }
2860
+ }, "Post ordering")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
2861
+ className: "simple-sitemap order"
2862
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(SelectControl, {
2863
+ label: "Orderby",
2864
+ value: orderby,
2865
+ options: [{
2866
+ label: 'Title',
2867
+ value: 'title'
2868
+ }, {
2869
+ label: 'Date',
2870
+ value: 'date'
2871
+ }, {
2872
+ label: 'ID',
2873
+ value: 'ID'
2874
+ }, {
2875
+ label: 'Author',
2876
+ value: 'author'
2877
+ }, {
2878
+ label: 'Name',
2879
+ value: 'name'
2880
+ }, {
2881
+ label: 'Modified',
2882
+ value: 'modified'
2883
+ }],
2884
+ onChange: function onChange(value) {
2885
+ setAttributes({
2886
+ orderby: value
2887
+ });
2888
+ }
2889
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(SelectControl, {
2890
+ label: "Order",
2891
+ value: order,
2892
+ options: [{
2893
+ label: 'Ascending',
2894
+ value: 'asc'
2895
+ }, {
2896
+ label: 'Descending',
2897
+ value: 'desc'
2898
+ }],
2899
+ onChange: function onChange(value) {
2900
+ setAttributes({
2901
+ order: value
2902
+ });
2903
+ }
2904
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
2905
+ className: "simple-sitemap general-chk"
2906
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
2907
+ value: show_label,
2908
+ label: "Display post type label",
2909
+ updateCheckbox: updateShowLabel
2910
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
2911
+ className: "simple-sitemap general-chk"
2912
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
2913
+ value: show_excerpt,
2914
+ label: "Display post excerpt",
2915
+ updateCheckbox: updateShowExcerpt
2916
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
2917
+ className: "simple-sitemap general-chk"
2918
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
2919
+ value: links,
2920
+ label: "Display sitemap links",
2921
+ updateCheckbox: updateLinks
2922
+ })), sitemapGroupGeneralSettings), sitemapGroupGeneralStyles, sitemapGroupFeaturedImage), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_server_side_render_x__WEBPACK_IMPORTED_MODULE_3__.ServerSideRenderX, {
2923
+ key: "simple-sitemap-server-side-render-component",
2924
+ block: "wpgoplugins/simple-sitemap-group-block",
2925
+ attributes: attributes
2926
+ }) // <ServerSideRender
2927
+ // key="simple-sitemap-group-server-side-render-component"
2928
+ // block="wpgoplugins/simple-sitemap-group-block"
2929
+ // attributes={ attributes }
2930
+ // />,
2931
+ ];
2932
+ },
2933
+ save: function save() {
2934
+ return null;
2935
+ }
2936
+ }));
2937
+
2938
+ /***/ }),
2939
+
2940
+ /***/ "./lib/src/blocks/simple-sitemap/index.js":
2941
+ /*!************************************************!*\
2942
+ !*** ./lib/src/blocks/simple-sitemap/index.js ***!
2943
+ \************************************************/
2944
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2945
+
2946
+ "use strict";
2947
+ __webpack_require__.r(__webpack_exports__);
2948
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2949
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2950
+ /* harmony export */ });
2951
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
2952
+ /* harmony import */ var _babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/objectDestructuringEmpty */ "./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js");
2953
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ "react");
2954
+ /* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__);
2955
+ /* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/react-select.esm.js");
2956
+ /* harmony import */ var _components_checkbox__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_components/checkbox */ "./lib/src/blocks/_components/checkbox.js");
2957
+ /* harmony import */ var _components_server_side_render_x__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_components/server-side-render-x */ "./lib/src/blocks/_components/server-side-render-x.js");
2958
+
2959
+
2960
+
2961
+
2962
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
2963
+
2964
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
2965
+
2966
+
2967
+
2968
+ // Import core block libraries
2969
+
2970
+ var __ = wp.i18n.__;
2971
+ var InspectorControls = wp.blockEditor.InspectorControls;
2972
+ var _wp$components = wp.components,
2973
+ PanelBody = _wp$components.PanelBody,
2974
+ PanelRow = _wp$components.PanelRow,
2975
+ TextControl = _wp$components.TextControl,
2976
+ SelectControl = _wp$components.SelectControl;
2977
+ var registerBlockType = wp.blocks.registerBlockType;
2978
+
2979
+ (0,_babel_runtime_helpers_objectDestructuringEmpty__WEBPACK_IMPORTED_MODULE_1__.default)(wp.element);
2980
+
2981
+ var ServerSideRender = wp.serverSideRender;
2982
+ var _wp$hooks = wp.hooks,
2983
+ applyFilters = _wp$hooks.applyFilters,
2984
+ addAction = _wp$hooks.addAction,
2985
+ addFilter = _wp$hooks.addFilter;
2986
+ /**
2987
+ * Register block
2988
+ */
2989
+
2990
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerBlockType('wpgoplugins/simple-sitemap-block', {
2991
+ title: 'Simple Sitemap',
2992
+ icon: 'editor-ul',
2993
+ keywords: [__('Sitemap', 'simple-sitemap'), __('Single', 'simple-sitemap'), __('HTML Sitemap', 'simple-sitemap')],
2994
+ category: 'simple-sitemap',
2995
+ example: {
2996
+ attributes: {
2997
+ num_posts: 20
2998
+ }
2999
+ },
3000
+ edit: function edit(props) {
3001
+ var _props$attributes = props.attributes,
3002
+ show_excerpt = _props$attributes.show_excerpt,
3003
+ show_label = _props$attributes.show_label,
3004
+ links = _props$attributes.links,
3005
+ page_depth = _props$attributes.page_depth,
3006
+ nofollow = _props$attributes.nofollow,
3007
+ image = _props$attributes.image,
3008
+ list_icon = _props$attributes.list_icon,
3009
+ max_width = _props$attributes.max_width,
3010
+ responsive_breakpoint = _props$attributes.responsive_breakpoint,
3011
+ sitemap_container_margin = _props$attributes.sitemap_container_margin,
3012
+ sitemap_item_line_height = _props$attributes.sitemap_item_line_height,
3013
+ tab_color = _props$attributes.tab_color,
3014
+ tab_header_bg = _props$attributes.tab_header_bg,
3015
+ post_type_label_padding = _props$attributes.post_type_label_padding,
3016
+ post_type_label_font_size = _props$attributes.post_type_label_font_size,
3017
+ render_tab = _props$attributes.render_tab,
3018
+ block_post_types = _props$attributes.block_post_types,
3019
+ exclude = _props$attributes.exclude,
3020
+ include = _props$attributes.include,
3021
+ order = _props$attributes.order,
3022
+ orderby = _props$attributes.orderby,
3023
+ setAttributes = props.setAttributes,
3024
+ attributes = props.attributes; //const defaultValue = JSON.parse(attributes.block_post_types);
3025
+ //console.log(defaultValue);
3026
+ //console.log(typeof attributes.block_post_types, attributes.block_post_types);
3027
+ //console.log(JSON.parse(attributes.block_post_types));
3028
+
3029
+ function updateToggleTabs(isChecked) {
3030
+ setAttributes({
3031
+ render_tab: isChecked
3032
+ });
3033
+ }
3034
+
3035
+ function updateExcerpt(isChecked) {
3036
+ setAttributes({
3037
+ show_excerpt: isChecked
3038
+ });
3039
+ }
3040
+
3041
+ function updateShowLabel(isChecked) {
3042
+ setAttributes({
3043
+ show_label: isChecked
3044
+ });
3045
+ }
3046
+
3047
+ function updateLinks(isChecked) {
3048
+ setAttributes({
3049
+ links: isChecked
3050
+ });
3051
+ }
3052
+
3053
+ var selectStyles = {
3054
+ container: function container(styles) {
3055
+ return _objectSpread(_objectSpread({}, styles), {}, {
3056
+ marginBottom: "5px",
3057
+ '& div[class$="-Input"]': {
3058
+ '& input:focus': {
3059
+ boxShadow: 'none'
3060
+ }
3061
+ }
3062
+ });
3063
+ }
3064
+ };
3065
+ var selectPostTypes = applyFilters('sitemap-post-types-select', (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(react_select__WEBPACK_IMPORTED_MODULE_5__.default, {
3066
+ title: "Title",
3067
+ defaultValue: JSON.parse(block_post_types),
3068
+ isMulti: true,
3069
+ onChange: function onChange(value) {
3070
+ return setAttributes({
3071
+ block_post_types: JSON.stringify(value)
3072
+ });
3073
+ },
3074
+ options: [{
3075
+ value: 'post',
3076
+ label: 'Post'
3077
+ }, {
3078
+ value: 'page',
3079
+ label: 'Page'
3080
+ }],
3081
+ styles: selectStyles
3082
+ }), props);
3083
+ var postTypesHelpLabel = applyFilters('post-types-help-label', (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3084
+ className: "panel-row-help-label"
3085
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)("p", {
3086
+ style: {
3087
+ marginTop: '-20px',
3088
+ fontSize: '13px',
3089
+ fontStyle: 'italic',
3090
+ marginLeft: '2px'
3091
+ }
3092
+ }, "List", ' ', (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)("a", {
3093
+ href: "https://wpgoplugins.com/plugins/simple-sitemap-pro/#post-types",
3094
+ target: "_blank",
3095
+ rel: "noreferrer"
3096
+ }, "more"), ' ', "post types")), props);
3097
+ var sitemapGeneralSettings = applyFilters('sitemap-general-settings', '', props);
3098
+ var sitemapGeneralStyles = applyFilters('sitemap-general-styles', '', props);
3099
+ var sitemapFeaturedImage = applyFilters('sitemap-featured-image', '', props);
3100
+ var sitemapTabControls = applyFilters('sitemap-tab-controls', '', props);
3101
+ return [(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(InspectorControls, {
3102
+ key: "simple-sitemap-block-controls"
3103
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelBody, {
3104
+ title: __('General Settings', 'simple-sitemap')
3105
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3106
+ className: "panel-row-label"
3107
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)("label", {
3108
+ style: {
3109
+ marginBottom: '-14px'
3110
+ },
3111
+ className: "components-base-control__label"
3112
+ }, "Select post types to display")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, null, selectPostTypes), postTypesHelpLabel, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3113
+ className: "simple-sitemap order"
3114
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(SelectControl, {
3115
+ label: "Orderby",
3116
+ value: orderby,
3117
+ options: [{
3118
+ label: 'Title',
3119
+ value: 'title'
3120
+ }, {
3121
+ label: 'Date',
3122
+ value: 'date'
3123
+ }, {
3124
+ label: 'ID',
3125
+ value: 'ID'
3126
+ }, {
3127
+ label: 'Author',
3128
+ value: 'author'
3129
+ }, {
3130
+ label: 'Name',
3131
+ value: 'name'
3132
+ }, {
3133
+ label: 'Modified',
3134
+ value: 'modified'
3135
+ }, {
3136
+ label: 'Menu Order',
3137
+ value: 'menu_order'
3138
+ }, {
3139
+ label: 'Random Order',
3140
+ value: 'rand'
3141
+ }, {
3142
+ label: 'Comment Count',
3143
+ value: 'comment_count'
3144
+ }],
3145
+ onChange: function onChange(value) {
3146
+ setAttributes({
3147
+ orderby: value
3148
+ });
3149
+ }
3150
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(SelectControl, {
3151
+ label: "Order",
3152
+ value: order,
3153
+ options: [{
3154
+ label: 'Ascending',
3155
+ value: 'asc'
3156
+ }, {
3157
+ label: 'Descending',
3158
+ value: 'desc'
3159
+ }],
3160
+ onChange: function onChange(value) {
3161
+ setAttributes({
3162
+ order: value
3163
+ });
3164
+ }
3165
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3166
+ className: "simple-sitemap general-chk"
3167
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
3168
+ value: show_label,
3169
+ label: "Show post type label",
3170
+ updateCheckbox: updateShowLabel
3171
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3172
+ className: "simple-sitemap general-chk"
3173
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
3174
+ value: show_excerpt,
3175
+ label: "Show excerpt",
3176
+ updateCheckbox: updateExcerpt
3177
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3178
+ className: "simple-sitemap general-chk"
3179
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
3180
+ value: links,
3181
+ label: "Enable sitemap links",
3182
+ updateCheckbox: updateLinks
3183
+ })), sitemapGeneralSettings), sitemapGeneralStyles, sitemapFeaturedImage, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelBody, {
3184
+ title: __('Tab Settings', 'simple-sitemap'),
3185
+ initialOpen: false
3186
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3187
+ className: "simple-sitemap"
3188
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_checkbox__WEBPACK_IMPORTED_MODULE_2__.SitemapCheckboxControl, {
3189
+ value: render_tab,
3190
+ label: "Enable tabs",
3191
+ updateCheckbox: updateToggleTabs
3192
+ })), sitemapTabControls), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelBody, {
3193
+ title: __('Page Settings', 'simple-sitemap'),
3194
+ initialOpen: false
3195
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3196
+ className: "simple-sitemap"
3197
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)("p", null, "Affects sitemap pages only.")), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(PanelRow, {
3198
+ className: "simple-sitemap"
3199
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(TextControl, {
3200
+ type: "number",
3201
+ label: "Page indentation",
3202
+ min: "0",
3203
+ max: "5",
3204
+ help: "Leave at zero for auto-depth",
3205
+ value: page_depth,
3206
+ onChange: function onChange(value) {
3207
+ setAttributes({
3208
+ page_depth: parseInt(value)
3209
+ });
3210
+ }
3211
+ })))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.createElement)(_components_server_side_render_x__WEBPACK_IMPORTED_MODULE_3__.ServerSideRenderX, {
3212
+ key: "simple-sitemap-server-side-render-component",
3213
+ block: "wpgoplugins/simple-sitemap-block",
3214
+ attributes: attributes
3215
+ }) // <ServerSideRender
3216
+ // key="simple-sitemap-server-side-render-component"
3217
+ // block="wpgoplugins/simple-sitemap-block"
3218
+ // attributes={ attributes }
3219
+ // />,
3220
+ ];
3221
+ },
3222
+ save: function save() {
3223
+ return null;
3224
+ }
3225
+ }));
3226
+
3227
+ /***/ }),
3228
+
3229
+ /***/ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":
3230
+ /*!**********************************************************************************!*\
3231
+ !*** ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
3232
+ \**********************************************************************************/
3233
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3234
+
3235
+ "use strict";
3236
+
3237
+
3238
+ var reactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
3239
+
3240
+ /**
3241
+ * Copyright 2015, Yahoo! Inc.
3242
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
3243
+ */
3244
+ var REACT_STATICS = {
3245
+ childContextTypes: true,
3246
+ contextType: true,
3247
+ contextTypes: true,
3248
+ defaultProps: true,
3249
+ displayName: true,
3250
+ getDefaultProps: true,
3251
+ getDerivedStateFromError: true,
3252
+ getDerivedStateFromProps: true,
3253
+ mixins: true,
3254
+ propTypes: true,
3255
+ type: true
3256
+ };
3257
+ var KNOWN_STATICS = {
3258
+ name: true,
3259
+ length: true,
3260
+ prototype: true,
3261
+ caller: true,
3262
+ callee: true,
3263
+ arguments: true,
3264
+ arity: true
3265
+ };
3266
+ var FORWARD_REF_STATICS = {
3267
+ '$$typeof': true,
3268
+ render: true,
3269
+ defaultProps: true,
3270
+ displayName: true,
3271
+ propTypes: true
3272
+ };
3273
+ var MEMO_STATICS = {
3274
+ '$$typeof': true,
3275
+ compare: true,
3276
+ defaultProps: true,
3277
+ displayName: true,
3278
+ propTypes: true,
3279
+ type: true
3280
+ };
3281
+ var TYPE_STATICS = {};
3282
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
3283
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
3284
+
3285
+ function getStatics(component) {
3286
+ // React v16.11 and below
3287
+ if (reactIs.isMemo(component)) {
3288
+ return MEMO_STATICS;
3289
+ } // React v16.12 and above
3290
+
3291
+
3292
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
3293
+ }
3294
+
3295
+ var defineProperty = Object.defineProperty;
3296
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
3297
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
3298
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3299
+ var getPrototypeOf = Object.getPrototypeOf;
3300
+ var objectPrototype = Object.prototype;
3301
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
3302
+ if (typeof sourceComponent !== 'string') {
3303
+ // don't hoist over string (html) components
3304
+ if (objectPrototype) {
3305
+ var inheritedComponent = getPrototypeOf(sourceComponent);
3306
+
3307
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
3308
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
3309
+ }
3310
+ }
3311
+
3312
+ var keys = getOwnPropertyNames(sourceComponent);
3313
+
3314
+ if (getOwnPropertySymbols) {
3315
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
3316
+ }
3317
+
3318
+ var targetStatics = getStatics(targetComponent);
3319
+ var sourceStatics = getStatics(sourceComponent);
3320
+
3321
+ for (var i = 0; i < keys.length; ++i) {
3322
+ var key = keys[i];
3323
+
3324
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
3325
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
3326
+
3327
+ try {
3328
+ // Avoid failures from read-only properties
3329
+ defineProperty(targetComponent, key, descriptor);
3330
+ } catch (e) {}
3331
+ }
3332
+ }
3333
+ }
3334
+
3335
+ return targetComponent;
3336
+ }
3337
+
3338
+ module.exports = hoistNonReactStatics;
3339
+
3340
+
3341
+ /***/ }),
3342
+
3343
+ /***/ "./node_modules/memoize-one/dist/memoize-one.esm.js":
3344
+ /*!**********************************************************!*\
3345
+ !*** ./node_modules/memoize-one/dist/memoize-one.esm.js ***!
3346
+ \**********************************************************/
3347
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3348
+
3349
+ "use strict";
3350
+ __webpack_require__.r(__webpack_exports__);
3351
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3352
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3353
+ /* harmony export */ });
3354
+ function areInputsEqual(newInputs, lastInputs) {
3355
+ if (newInputs.length !== lastInputs.length) {
3356
+ return false;
3357
+ }
3358
+ for (var i = 0; i < newInputs.length; i++) {
3359
+ if (newInputs[i] !== lastInputs[i]) {
3360
+ return false;
3361
+ }
3362
+ }
3363
+ return true;
3364
+ }
3365
+
3366
+ function memoizeOne(resultFn, isEqual) {
3367
+ if (isEqual === void 0) { isEqual = areInputsEqual; }
3368
+ var lastThis;
3369
+ var lastArgs = [];
3370
+ var lastResult;
3371
+ var calledOnce = false;
3372
+ function memoized() {
3373
+ var newArgs = [];
3374
+ for (var _i = 0; _i < arguments.length; _i++) {
3375
+ newArgs[_i] = arguments[_i];
3376
+ }
3377
+ if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
3378
+ return lastResult;
3379
+ }
3380
+ lastResult = resultFn.apply(this, newArgs);
3381
+ calledOnce = true;
3382
+ lastThis = this;
3383
+ lastArgs = newArgs;
3384
+ return lastResult;
3385
+ }
3386
+ return memoized;
3387
+ }
3388
+
3389
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoizeOne);
3390
+
3391
+
3392
+ /***/ }),
3393
+
3394
+ /***/ "./node_modules/object-assign/index.js":
3395
+ /*!*********************************************!*\
3396
+ !*** ./node_modules/object-assign/index.js ***!
3397
+ \*********************************************/
3398
+ /***/ ((module) => {
3399
+
3400
+ "use strict";
3401
+ /*
3402
+ object-assign
3403
+ (c) Sindre Sorhus
3404
+ @license MIT
3405
+ */
3406
+
3407
+
3408
+ /* eslint-disable no-unused-vars */
3409
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
3410
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
3411
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
3412
+
3413
+ function toObject(val) {
3414
+ if (val === null || val === undefined) {
3415
+ throw new TypeError('Object.assign cannot be called with null or undefined');
3416
+ }
3417
+
3418
+ return Object(val);
3419
+ }
3420
+
3421
+ function shouldUseNative() {
3422
+ try {
3423
+ if (!Object.assign) {
3424
+ return false;
3425
+ }
3426
+
3427
+ // Detect buggy property enumeration order in older V8 versions.
3428
+
3429
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
3430
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
3431
+ test1[5] = 'de';
3432
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
3433
+ return false;
3434
+ }
3435
+
3436
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3437
+ var test2 = {};
3438
+ for (var i = 0; i < 10; i++) {
3439
+ test2['_' + String.fromCharCode(i)] = i;
3440
+ }
3441
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
3442
+ return test2[n];
3443
+ });
3444
+ if (order2.join('') !== '0123456789') {
3445
+ return false;
3446
+ }
3447
+
3448
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3449
+ var test3 = {};
3450
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
3451
+ test3[letter] = letter;
3452
+ });
3453
+ if (Object.keys(Object.assign({}, test3)).join('') !==
3454
+ 'abcdefghijklmnopqrst') {
3455
+ return false;
3456
+ }
3457
+
3458
+ return true;
3459
+ } catch (err) {
3460
+ // We don't expect any of the above to throw, but better to be safe.
3461
+ return false;
3462
+ }
3463
+ }
3464
+
3465
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
3466
+ var from;
3467
+ var to = toObject(target);
3468
+ var symbols;
3469
+
3470
+ for (var s = 1; s < arguments.length; s++) {
3471
+ from = Object(arguments[s]);
3472
+
3473
+ for (var key in from) {
3474
+ if (hasOwnProperty.call(from, key)) {
3475
+ to[key] = from[key];
3476
+ }
3477
+ }
3478
+
3479
+ if (getOwnPropertySymbols) {
3480
+ symbols = getOwnPropertySymbols(from);
3481
+ for (var i = 0; i < symbols.length; i++) {
3482
+ if (propIsEnumerable.call(from, symbols[i])) {
3483
+ to[symbols[i]] = from[symbols[i]];
3484
+ }
3485
+ }
3486
+ }
3487
+ }
3488
+
3489
+ return to;
3490
+ };
3491
+
3492
+
3493
+ /***/ }),
3494
+
3495
+ /***/ "./node_modules/prop-types/checkPropTypes.js":
3496
+ /*!***************************************************!*\
3497
+ !*** ./node_modules/prop-types/checkPropTypes.js ***!
3498
+ \***************************************************/
3499
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3500
+
3501
+ "use strict";
3502
+ /**
3503
+ * Copyright (c) 2013-present, Facebook, Inc.
3504
+ *
3505
+ * This source code is licensed under the MIT license found in the
3506
+ * LICENSE file in the root directory of this source tree.
3507
+ */
3508
+
3509
+
3510
+
3511
+ var printWarning = function() {};
3512
+
3513
+ if (true) {
3514
+ var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
3515
+ var loggedTypeFailures = {};
3516
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
3517
+
3518
+ printWarning = function(text) {
3519
+ var message = 'Warning: ' + text;
3520
+ if (typeof console !== 'undefined') {
3521
+ console.error(message);
3522
+ }
3523
+ try {
3524
+ // --- Welcome to debugging React ---
3525
+ // This error was thrown as a convenience so that you can use this stack
3526
+ // to find the callsite that caused this warning to fire.
3527
+ throw new Error(message);
3528
+ } catch (x) {}
3529
+ };
3530
+ }
3531
+
3532
+ /**
3533
+ * Assert that the values match with the type specs.
3534
+ * Error messages are memorized and will only be shown once.
3535
+ *
3536
+ * @param {object} typeSpecs Map of name to a ReactPropType
3537
+ * @param {object} values Runtime values that need to be type-checked
3538
+ * @param {string} location e.g. "prop", "context", "child context"
3539
+ * @param {string} componentName Name of the component for error messages.
3540
+ * @param {?Function} getStack Returns the component stack.
3541
+ * @private
3542
+ */
3543
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
3544
+ if (true) {
3545
+ for (var typeSpecName in typeSpecs) {
3546
+ if (has(typeSpecs, typeSpecName)) {
3547
+ var error;
3548
+ // Prop type validation may throw. In case they do, we don't want to
3549
+ // fail the render phase where it didn't fail before. So we log it.
3550
+ // After these have been cleaned up, we'll let them throw.
3551
+ try {
3552
+ // This is intentionally an invariant that gets caught. It's the same
3553
+ // behavior as without this statement except with a better message.
3554
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
3555
+ var err = Error(
3556
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
3557
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
3558
+ );
3559
+ err.name = 'Invariant Violation';
3560
+ throw err;
3561
+ }
3562
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
3563
+ } catch (ex) {
3564
+ error = ex;
3565
+ }
3566
+ if (error && !(error instanceof Error)) {
3567
+ printWarning(
3568
+ (componentName || 'React class') + ': type specification of ' +
3569
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
3570
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
3571
+ 'You may have forgotten to pass an argument to the type checker ' +
3572
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
3573
+ 'shape all require an argument).'
3574
+ );
3575
+ }
3576
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
3577
+ // Only monitor this failure once because there tends to be a lot of the
3578
+ // same error.
3579
+ loggedTypeFailures[error.message] = true;
3580
+
3581
+ var stack = getStack ? getStack() : '';
3582
+
3583
+ printWarning(
3584
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
3585
+ );
3586
+ }
3587
+ }
3588
+ }
3589
+ }
3590
+ }
3591
+
3592
+ /**
3593
+ * Resets warning cache when testing.
3594
+ *
3595
+ * @private
3596
+ */
3597
+ checkPropTypes.resetWarningCache = function() {
3598
+ if (true) {
3599
+ loggedTypeFailures = {};
3600
+ }
3601
+ }
3602
+
3603
+ module.exports = checkPropTypes;
3604
+
3605
+
3606
+ /***/ }),
3607
+
3608
+ /***/ "./node_modules/prop-types/factoryWithTypeCheckers.js":
3609
+ /*!************************************************************!*\
3610
+ !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
3611
+ \************************************************************/
3612
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3613
+
3614
+ "use strict";
3615
+ /**
3616
+ * Copyright (c) 2013-present, Facebook, Inc.
3617
+ *
3618
+ * This source code is licensed under the MIT license found in the
3619
+ * LICENSE file in the root directory of this source tree.
3620
+ */
3621
+
3622
+
3623
+
3624
+ var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
3625
+ var assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js");
3626
+
3627
+ var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
3628
+ var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js");
3629
+
3630
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
3631
+ var printWarning = function() {};
3632
+
3633
+ if (true) {
3634
+ printWarning = function(text) {
3635
+ var message = 'Warning: ' + text;
3636
+ if (typeof console !== 'undefined') {
3637
+ console.error(message);
3638
+ }
3639
+ try {
3640
+ // --- Welcome to debugging React ---
3641
+ // This error was thrown as a convenience so that you can use this stack
3642
+ // to find the callsite that caused this warning to fire.
3643
+ throw new Error(message);
3644
+ } catch (x) {}
3645
+ };
3646
+ }
3647
+
3648
+ function emptyFunctionThatReturnsNull() {
3649
+ return null;
3650
+ }
3651
+
3652
+ module.exports = function(isValidElement, throwOnDirectAccess) {
3653
+ /* global Symbol */
3654
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
3655
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
3656
+
3657
+ /**
3658
+ * Returns the iterator method function contained on the iterable object.
3659
+ *
3660
+ * Be sure to invoke the function with the iterable as context:
3661
+ *
3662
+ * var iteratorFn = getIteratorFn(myIterable);
3663
+ * if (iteratorFn) {
3664
+ * var iterator = iteratorFn.call(myIterable);
3665
+ * ...
3666
+ * }
3667
+ *
3668
+ * @param {?object} maybeIterable
3669
+ * @return {?function}
3670
+ */
3671
+ function getIteratorFn(maybeIterable) {
3672
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
3673
+ if (typeof iteratorFn === 'function') {
3674
+ return iteratorFn;
3675
+ }
3676
+ }
3677
+
3678
+ /**
3679
+ * Collection of methods that allow declaration and validation of props that are
3680
+ * supplied to React components. Example usage:
3681
+ *
3682
+ * var Props = require('ReactPropTypes');
3683
+ * var MyArticle = React.createClass({
3684
+ * propTypes: {
3685
+ * // An optional string prop named "description".
3686
+ * description: Props.string,
3687
+ *
3688
+ * // A required enum prop named "category".
3689
+ * category: Props.oneOf(['News','Photos']).isRequired,
3690
+ *
3691
+ * // A prop named "dialog" that requires an instance of Dialog.
3692
+ * dialog: Props.instanceOf(Dialog).isRequired
3693
+ * },
3694
+ * render: function() { ... }
3695
+ * });
3696
+ *
3697
+ * A more formal specification of how these methods are used:
3698
+ *
3699
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
3700
+ * decl := ReactPropTypes.{type}(.isRequired)?
3701
+ *
3702
+ * Each and every declaration produces a function with the same signature. This
3703
+ * allows the creation of custom validation functions. For example:
3704
+ *
3705
+ * var MyLink = React.createClass({
3706
+ * propTypes: {
3707
+ * // An optional string or URI prop named "href".
3708
+ * href: function(props, propName, componentName) {
3709
+ * var propValue = props[propName];
3710
+ * if (propValue != null && typeof propValue !== 'string' &&
3711
+ * !(propValue instanceof URI)) {
3712
+ * return new Error(
3713
+ * 'Expected a string or an URI for ' + propName + ' in ' +
3714
+ * componentName
3715
+ * );
3716
+ * }
3717
+ * }
3718
+ * },
3719
+ * render: function() {...}
3720
+ * });
3721
+ *
3722
+ * @internal
3723
+ */
3724
+
3725
+ var ANONYMOUS = '<<anonymous>>';
3726
+
3727
+ // Important!
3728
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
3729
+ var ReactPropTypes = {
3730
+ array: createPrimitiveTypeChecker('array'),
3731
+ bool: createPrimitiveTypeChecker('boolean'),
3732
+ func: createPrimitiveTypeChecker('function'),
3733
+ number: createPrimitiveTypeChecker('number'),
3734
+ object: createPrimitiveTypeChecker('object'),
3735
+ string: createPrimitiveTypeChecker('string'),
3736
+ symbol: createPrimitiveTypeChecker('symbol'),
3737
+
3738
+ any: createAnyTypeChecker(),
3739
+ arrayOf: createArrayOfTypeChecker,
3740
+ element: createElementTypeChecker(),
3741
+ elementType: createElementTypeTypeChecker(),
3742
+ instanceOf: createInstanceTypeChecker,
3743
+ node: createNodeChecker(),
3744
+ objectOf: createObjectOfTypeChecker,
3745
+ oneOf: createEnumTypeChecker,
3746
+ oneOfType: createUnionTypeChecker,
3747
+ shape: createShapeTypeChecker,
3748
+ exact: createStrictShapeTypeChecker,
3749
+ };
3750
+
3751
+ /**
3752
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
3753
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
3754
+ */
3755
+ /*eslint-disable no-self-compare*/
3756
+ function is(x, y) {
3757
+ // SameValue algorithm
3758
+ if (x === y) {
3759
+ // Steps 1-5, 7-10
3760
+ // Steps 6.b-6.e: +0 != -0
3761
+ return x !== 0 || 1 / x === 1 / y;
3762
+ } else {
3763
+ // Step 6.a: NaN == NaN
3764
+ return x !== x && y !== y;
3765
+ }
3766
+ }
3767
+ /*eslint-enable no-self-compare*/
3768
+
3769
+ /**
3770
+ * We use an Error-like object for backward compatibility as people may call
3771
+ * PropTypes directly and inspect their output. However, we don't use real
3772
+ * Errors anymore. We don't inspect their stack anyway, and creating them
3773
+ * is prohibitively expensive if they are created too often, such as what
3774
+ * happens in oneOfType() for any type before the one that matched.
3775
+ */
3776
+ function PropTypeError(message) {
3777
+ this.message = message;
3778
+ this.stack = '';
3779
+ }
3780
+ // Make `instanceof Error` still work for returned errors.
3781
+ PropTypeError.prototype = Error.prototype;
3782
+
3783
+ function createChainableTypeChecker(validate) {
3784
+ if (true) {
3785
+ var manualPropTypeCallCache = {};
3786
+ var manualPropTypeWarningCount = 0;
3787
+ }
3788
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
3789
+ componentName = componentName || ANONYMOUS;
3790
+ propFullName = propFullName || propName;
3791
+
3792
+ if (secret !== ReactPropTypesSecret) {
3793
+ if (throwOnDirectAccess) {
3794
+ // New behavior only for users of `prop-types` package
3795
+ var err = new Error(
3796
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
3797
+ 'Use `PropTypes.checkPropTypes()` to call them. ' +
3798
+ 'Read more at http://fb.me/use-check-prop-types'
3799
+ );
3800
+ err.name = 'Invariant Violation';
3801
+ throw err;
3802
+ } else if ( true && typeof console !== 'undefined') {
3803
+ // Old behavior for people using React.PropTypes
3804
+ var cacheKey = componentName + ':' + propName;
3805
+ if (
3806
+ !manualPropTypeCallCache[cacheKey] &&
3807
+ // Avoid spamming the console because they are often not actionable except for lib authors
3808
+ manualPropTypeWarningCount < 3
3809
+ ) {
3810
+ printWarning(
3811
+ 'You are manually calling a React.PropTypes validation ' +
3812
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
3813
+ 'and will throw in the standalone `prop-types` package. ' +
3814
+ 'You may be seeing this warning due to a third-party PropTypes ' +
3815
+ 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
3816
+ );
3817
+ manualPropTypeCallCache[cacheKey] = true;
3818
+ manualPropTypeWarningCount++;
3819
+ }
3820
+ }
3821
+ }
3822
+ if (props[propName] == null) {
3823
+ if (isRequired) {
3824
+ if (props[propName] === null) {
3825
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
3826
+ }
3827
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
3828
+ }
3829
+ return null;
3830
+ } else {
3831
+ return validate(props, propName, componentName, location, propFullName);
3832
+ }
3833
+ }
3834
+
3835
+ var chainedCheckType = checkType.bind(null, false);
3836
+ chainedCheckType.isRequired = checkType.bind(null, true);
3837
+
3838
+ return chainedCheckType;
3839
+ }
3840
+
3841
+ function createPrimitiveTypeChecker(expectedType) {
3842
+ function validate(props, propName, componentName, location, propFullName, secret) {
3843
+ var propValue = props[propName];
3844
+ var propType = getPropType(propValue);
3845
+ if (propType !== expectedType) {
3846
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
3847
+ // check, but we can offer a more precise error message here rather than
3848
+ // 'of type `object`'.
3849
+ var preciseType = getPreciseType(propValue);
3850
+
3851
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
3852
+ }
3853
+ return null;
3854
+ }
3855
+ return createChainableTypeChecker(validate);
3856
+ }
3857
+
3858
+ function createAnyTypeChecker() {
3859
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
3860
+ }
3861
+
3862
+ function createArrayOfTypeChecker(typeChecker) {
3863
+ function validate(props, propName, componentName, location, propFullName) {
3864
+ if (typeof typeChecker !== 'function') {
3865
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
3866
+ }
3867
+ var propValue = props[propName];
3868
+ if (!Array.isArray(propValue)) {
3869
+ var propType = getPropType(propValue);
3870
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
3871
+ }
3872
+ for (var i = 0; i < propValue.length; i++) {
3873
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
3874
+ if (error instanceof Error) {
3875
+ return error;
3876
+ }
3877
+ }
3878
+ return null;
3879
+ }
3880
+ return createChainableTypeChecker(validate);
3881
+ }
3882
+
3883
+ function createElementTypeChecker() {
3884
+ function validate(props, propName, componentName, location, propFullName) {
3885
+ var propValue = props[propName];
3886
+ if (!isValidElement(propValue)) {
3887
+ var propType = getPropType(propValue);
3888
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
3889
+ }
3890
+ return null;
3891
+ }
3892
+ return createChainableTypeChecker(validate);
3893
+ }
3894
+
3895
+ function createElementTypeTypeChecker() {
3896
+ function validate(props, propName, componentName, location, propFullName) {
3897
+ var propValue = props[propName];
3898
+ if (!ReactIs.isValidElementType(propValue)) {
3899
+ var propType = getPropType(propValue);
3900
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
3901
+ }
3902
+ return null;
3903
+ }
3904
+ return createChainableTypeChecker(validate);
3905
+ }
3906
+
3907
+ function createInstanceTypeChecker(expectedClass) {
3908
+ function validate(props, propName, componentName, location, propFullName) {
3909
+ if (!(props[propName] instanceof expectedClass)) {
3910
+ var expectedClassName = expectedClass.name || ANONYMOUS;
3911
+ var actualClassName = getClassName(props[propName]);
3912
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
3913
+ }
3914
+ return null;
3915
+ }
3916
+ return createChainableTypeChecker(validate);
3917
+ }
3918
+
3919
+ function createEnumTypeChecker(expectedValues) {
3920
+ if (!Array.isArray(expectedValues)) {
3921
+ if (true) {
3922
+ if (arguments.length > 1) {
3923
+ printWarning(
3924
+ 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
3925
+ 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
3926
+ );
3927
+ } else {
3928
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
3929
+ }
3930
+ }
3931
+ return emptyFunctionThatReturnsNull;
3932
+ }
3933
+
3934
+ function validate(props, propName, componentName, location, propFullName) {
3935
+ var propValue = props[propName];
3936
+ for (var i = 0; i < expectedValues.length; i++) {
3937
+ if (is(propValue, expectedValues[i])) {
3938
+ return null;
3939
+ }
3940
+ }
3941
+
3942
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
3943
+ var type = getPreciseType(value);
3944
+ if (type === 'symbol') {
3945
+ return String(value);
3946
+ }
3947
+ return value;
3948
+ });
3949
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
3950
+ }
3951
+ return createChainableTypeChecker(validate);
3952
+ }
3953
+
3954
+ function createObjectOfTypeChecker(typeChecker) {
3955
+ function validate(props, propName, componentName, location, propFullName) {
3956
+ if (typeof typeChecker !== 'function') {
3957
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
3958
+ }
3959
+ var propValue = props[propName];
3960
+ var propType = getPropType(propValue);
3961
+ if (propType !== 'object') {
3962
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
3963
+ }
3964
+ for (var key in propValue) {
3965
+ if (has(propValue, key)) {
3966
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3967
+ if (error instanceof Error) {
3968
+ return error;
3969
+ }
3970
+ }
3971
+ }
3972
+ return null;
3973
+ }
3974
+ return createChainableTypeChecker(validate);
3975
+ }
3976
+
3977
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
3978
+ if (!Array.isArray(arrayOfTypeCheckers)) {
3979
+ true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
3980
+ return emptyFunctionThatReturnsNull;
3981
+ }
3982
+
3983
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3984
+ var checker = arrayOfTypeCheckers[i];
3985
+ if (typeof checker !== 'function') {
3986
+ printWarning(
3987
+ 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
3988
+ 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
3989
+ );
3990
+ return emptyFunctionThatReturnsNull;
3991
+ }
3992
+ }
3993
+
3994
+ function validate(props, propName, componentName, location, propFullName) {
3995
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3996
+ var checker = arrayOfTypeCheckers[i];
3997
+ if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {
3998
+ return null;
3999
+ }
4000
+ }
4001
+
4002
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
4003
+ }
4004
+ return createChainableTypeChecker(validate);
4005
+ }
4006
+
4007
+ function createNodeChecker() {
4008
+ function validate(props, propName, componentName, location, propFullName) {
4009
+ if (!isNode(props[propName])) {
4010
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
4011
+ }
4012
+ return null;
4013
+ }
4014
+ return createChainableTypeChecker(validate);
4015
+ }
4016
+
4017
+ function createShapeTypeChecker(shapeTypes) {
4018
+ function validate(props, propName, componentName, location, propFullName) {
4019
+ var propValue = props[propName];
4020
+ var propType = getPropType(propValue);
4021
+ if (propType !== 'object') {
4022
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
4023
+ }
4024
+ for (var key in shapeTypes) {
4025
+ var checker = shapeTypes[key];
4026
+ if (!checker) {
4027
+ continue;
4028
+ }
4029
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
4030
+ if (error) {
4031
+ return error;
4032
+ }
4033
+ }
4034
+ return null;
4035
+ }
4036
+ return createChainableTypeChecker(validate);
4037
+ }
4038
+
4039
+ function createStrictShapeTypeChecker(shapeTypes) {
4040
+ function validate(props, propName, componentName, location, propFullName) {
4041
+ var propValue = props[propName];
4042
+ var propType = getPropType(propValue);
4043
+ if (propType !== 'object') {
4044
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
4045
+ }
4046
+ // We need to check all keys in case some are required but missing from
4047
+ // props.
4048
+ var allKeys = assign({}, props[propName], shapeTypes);
4049
+ for (var key in allKeys) {
4050
+ var checker = shapeTypes[key];
4051
+ if (!checker) {
4052
+ return new PropTypeError(
4053
+ 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
4054
+ '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
4055
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
4056
+ );
4057
+ }
4058
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
4059
+ if (error) {
4060
+ return error;
4061
+ }
4062
+ }
4063
+ return null;
4064
+ }
4065
+
4066
+ return createChainableTypeChecker(validate);
4067
+ }
4068
+
4069
+ function isNode(propValue) {
4070
+ switch (typeof propValue) {
4071
+ case 'number':
4072
+ case 'string':
4073
+ case 'undefined':
4074
+ return true;
4075
+ case 'boolean':
4076
+ return !propValue;
4077
+ case 'object':
4078
+ if (Array.isArray(propValue)) {
4079
+ return propValue.every(isNode);
4080
+ }
4081
+ if (propValue === null || isValidElement(propValue)) {
4082
+ return true;
4083
+ }
4084
+
4085
+ var iteratorFn = getIteratorFn(propValue);
4086
+ if (iteratorFn) {
4087
+ var iterator = iteratorFn.call(propValue);
4088
+ var step;
4089
+ if (iteratorFn !== propValue.entries) {
4090
+ while (!(step = iterator.next()).done) {
4091
+ if (!isNode(step.value)) {
4092
+ return false;
4093
+ }
4094
+ }
4095
+ } else {
4096
+ // Iterator will provide entry [k,v] tuples rather than values.
4097
+ while (!(step = iterator.next()).done) {
4098
+ var entry = step.value;
4099
+ if (entry) {
4100
+ if (!isNode(entry[1])) {
4101
+ return false;
4102
+ }
4103
+ }
4104
+ }
4105
+ }
4106
+ } else {
4107
+ return false;
4108
+ }
4109
+
4110
+ return true;
4111
+ default:
4112
+ return false;
4113
+ }
4114
+ }
4115
+
4116
+ function isSymbol(propType, propValue) {
4117
+ // Native Symbol.
4118
+ if (propType === 'symbol') {
4119
+ return true;
4120
+ }
4121
+
4122
+ // falsy value can't be a Symbol
4123
+ if (!propValue) {
4124
+ return false;
4125
+ }
4126
+
4127
+ // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
4128
+ if (propValue['@@toStringTag'] === 'Symbol') {
4129
+ return true;
4130
+ }
4131
+
4132
+ // Fallback for non-spec compliant Symbols which are polyfilled.
4133
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
4134
+ return true;
4135
+ }
4136
+
4137
+ return false;
4138
+ }
4139
+
4140
+ // Equivalent of `typeof` but with special handling for array and regexp.
4141
+ function getPropType(propValue) {
4142
+ var propType = typeof propValue;
4143
+ if (Array.isArray(propValue)) {
4144
+ return 'array';
4145
+ }
4146
+ if (propValue instanceof RegExp) {
4147
+ // Old webkits (at least until Android 4.0) return 'function' rather than
4148
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
4149
+ // passes PropTypes.object.
4150
+ return 'object';
4151
+ }
4152
+ if (isSymbol(propType, propValue)) {
4153
+ return 'symbol';
4154
+ }
4155
+ return propType;
4156
+ }
4157
+
4158
+ // This handles more types than `getPropType`. Only used for error messages.
4159
+ // See `createPrimitiveTypeChecker`.
4160
+ function getPreciseType(propValue) {
4161
+ if (typeof propValue === 'undefined' || propValue === null) {
4162
+ return '' + propValue;
4163
+ }
4164
+ var propType = getPropType(propValue);
4165
+ if (propType === 'object') {
4166
+ if (propValue instanceof Date) {
4167
+ return 'date';
4168
+ } else if (propValue instanceof RegExp) {
4169
+ return 'regexp';
4170
+ }
4171
+ }
4172
+ return propType;
4173
+ }
4174
+
4175
+ // Returns a string that is postfixed to a warning about an invalid type.
4176
+ // For example, "undefined" or "of type array"
4177
+ function getPostfixForTypeWarning(value) {
4178
+ var type = getPreciseType(value);
4179
+ switch (type) {
4180
+ case 'array':
4181
+ case 'object':
4182
+ return 'an ' + type;
4183
+ case 'boolean':
4184
+ case 'date':
4185
+ case 'regexp':
4186
+ return 'a ' + type;
4187
+ default:
4188
+ return type;
4189
+ }
4190
+ }
4191
+
4192
+ // Returns class name of the object, if any.
4193
+ function getClassName(propValue) {
4194
+ if (!propValue.constructor || !propValue.constructor.name) {
4195
+ return ANONYMOUS;
4196
+ }
4197
+ return propValue.constructor.name;
4198
+ }
4199
+
4200
+ ReactPropTypes.checkPropTypes = checkPropTypes;
4201
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
4202
+ ReactPropTypes.PropTypes = ReactPropTypes;
4203
+
4204
+ return ReactPropTypes;
4205
+ };
4206
+
4207
+
4208
+ /***/ }),
4209
+
4210
+ /***/ "./node_modules/prop-types/index.js":
4211
+ /*!******************************************!*\
4212
+ !*** ./node_modules/prop-types/index.js ***!
4213
+ \******************************************/
4214
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4215
+
4216
+ /**
4217
+ * Copyright (c) 2013-present, Facebook, Inc.
4218
+ *
4219
+ * This source code is licensed under the MIT license found in the
4220
+ * LICENSE file in the root directory of this source tree.
4221
+ */
4222
+
4223
+ if (true) {
4224
+ var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
4225
+
4226
+ // By explicitly using `prop-types` you are opting into new development behavior.
4227
+ // http://fb.me/prop-types-in-prod
4228
+ var throwOnDirectAccess = true;
4229
+ module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
4230
+ } else {}
4231
+
4232
+
4233
+ /***/ }),
4234
+
4235
+ /***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js":
4236
+ /*!*************************************************************!*\
4237
+ !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
4238
+ \*************************************************************/
4239
+ /***/ ((module) => {
4240
+
4241
+ "use strict";
4242
+ /**
4243
+ * Copyright (c) 2013-present, Facebook, Inc.
4244
+ *
4245
+ * This source code is licensed under the MIT license found in the
4246
+ * LICENSE file in the root directory of this source tree.
4247
+ */
4248
+
4249
+
4250
+
4251
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
4252
+
4253
+ module.exports = ReactPropTypesSecret;
4254
+
4255
+
4256
+ /***/ }),
4257
+
4258
+ /***/ "./node_modules/react-input-autosize/lib/AutosizeInput.js":
4259
+ /*!****************************************************************!*\
4260
+ !*** ./node_modules/react-input-autosize/lib/AutosizeInput.js ***!
4261
+ \****************************************************************/
4262
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4263
+
4264
+ "use strict";
4265
+
4266
+
4267
+ Object.defineProperty(exports, "__esModule", ({
4268
+ value: true
4269
+ }));
4270
+
4271
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
4272
+
4273
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4274
+
4275
+ var _react = __webpack_require__(/*! react */ "react");
4276
+
4277
+ var _react2 = _interopRequireDefault(_react);
4278
+
4279
+ var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
4280
+
4281
+ var _propTypes2 = _interopRequireDefault(_propTypes);
4282
+
4283
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4284
+
4285
+ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
4286
+
4287
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4288
+
4289
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
4290
+
4291
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
4292
+
4293
+ var sizerStyle = {
4294
+ position: 'absolute',
4295
+ top: 0,
4296
+ left: 0,
4297
+ visibility: 'hidden',
4298
+ height: 0,
4299
+ overflow: 'scroll',
4300
+ whiteSpace: 'pre'
4301
+ };
4302
+
4303
+ var INPUT_PROPS_BLACKLIST = ['extraWidth', 'injectStyles', 'inputClassName', 'inputRef', 'inputStyle', 'minWidth', 'onAutosize', 'placeholderIsMinWidth'];
4304
+
4305
+ var cleanInputProps = function cleanInputProps(inputProps) {
4306
+ INPUT_PROPS_BLACKLIST.forEach(function (field) {
4307
+ return delete inputProps[field];
4308
+ });
4309
+ return inputProps;
4310
+ };
4311
+
4312
+ var copyStyles = function copyStyles(styles, node) {
4313
+ node.style.fontSize = styles.fontSize;
4314
+ node.style.fontFamily = styles.fontFamily;
4315
+ node.style.fontWeight = styles.fontWeight;
4316
+ node.style.fontStyle = styles.fontStyle;
4317
+ node.style.letterSpacing = styles.letterSpacing;
4318
+ node.style.textTransform = styles.textTransform;
4319
+ };
4320
+
4321
+ var isIE = typeof window !== 'undefined' && window.navigator ? /MSIE |Trident\/|Edge\//.test(window.navigator.userAgent) : false;
4322
+
4323
+ var generateId = function generateId() {
4324
+ // we only need an auto-generated ID for stylesheet injection, which is only
4325
+ // used for IE. so if the browser is not IE, this should return undefined.
4326
+ return isIE ? '_' + Math.random().toString(36).substr(2, 12) : undefined;
4327
+ };
4328
+
4329
+ var AutosizeInput = function (_Component) {
4330
+ _inherits(AutosizeInput, _Component);
4331
+
4332
+ _createClass(AutosizeInput, null, [{
4333
+ key: 'getDerivedStateFromProps',
4334
+ value: function getDerivedStateFromProps(props, state) {
4335
+ var id = props.id;
4336
+
4337
+ return id !== state.prevId ? { inputId: id || generateId(), prevId: id } : null;
4338
+ }
4339
+ }]);
4340
+
4341
+ function AutosizeInput(props) {
4342
+ _classCallCheck(this, AutosizeInput);
4343
+
4344
+ var _this = _possibleConstructorReturn(this, (AutosizeInput.__proto__ || Object.getPrototypeOf(AutosizeInput)).call(this, props));
4345
+
4346
+ _this.inputRef = function (el) {
4347
+ _this.input = el;
4348
+ if (typeof _this.props.inputRef === 'function') {
4349
+ _this.props.inputRef(el);
4350
+ }
4351
+ };
4352
+
4353
+ _this.placeHolderSizerRef = function (el) {
4354
+ _this.placeHolderSizer = el;
4355
+ };
4356
+
4357
+ _this.sizerRef = function (el) {
4358
+ _this.sizer = el;
4359
+ };
4360
+
4361
+ _this.state = {
4362
+ inputWidth: props.minWidth,
4363
+ inputId: props.id || generateId(),
4364
+ prevId: props.id
4365
+ };
4366
+ return _this;
4367
+ }
4368
+
4369
+ _createClass(AutosizeInput, [{
4370
+ key: 'componentDidMount',
4371
+ value: function componentDidMount() {
4372
+ this.mounted = true;
4373
+ this.copyInputStyles();
4374
+ this.updateInputWidth();
4375
+ }
4376
+ }, {
4377
+ key: 'componentDidUpdate',
4378
+ value: function componentDidUpdate(prevProps, prevState) {
4379
+ if (prevState.inputWidth !== this.state.inputWidth) {
4380
+ if (typeof this.props.onAutosize === 'function') {
4381
+ this.props.onAutosize(this.state.inputWidth);
4382
+ }
4383
+ }
4384
+ this.updateInputWidth();
4385
+ }
4386
+ }, {
4387
+ key: 'componentWillUnmount',
4388
+ value: function componentWillUnmount() {
4389
+ this.mounted = false;
4390
+ }
4391
+ }, {
4392
+ key: 'copyInputStyles',
4393
+ value: function copyInputStyles() {
4394
+ if (!this.mounted || !window.getComputedStyle) {
4395
+ return;
4396
+ }
4397
+ var inputStyles = this.input && window.getComputedStyle(this.input);
4398
+ if (!inputStyles) {
4399
+ return;
4400
+ }
4401
+ copyStyles(inputStyles, this.sizer);
4402
+ if (this.placeHolderSizer) {
4403
+ copyStyles(inputStyles, this.placeHolderSizer);
4404
+ }
4405
+ }
4406
+ }, {
4407
+ key: 'updateInputWidth',
4408
+ value: function updateInputWidth() {
4409
+ if (!this.mounted || !this.sizer || typeof this.sizer.scrollWidth === 'undefined') {
4410
+ return;
4411
+ }
4412
+ var newInputWidth = void 0;
4413
+ if (this.props.placeholder && (!this.props.value || this.props.value && this.props.placeholderIsMinWidth)) {
4414
+ newInputWidth = Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2;
4415
+ } else {
4416
+ newInputWidth = this.sizer.scrollWidth + 2;
4417
+ }
4418
+ // add extraWidth to the detected width. for number types, this defaults to 16 to allow for the stepper UI
4419
+ var extraWidth = this.props.type === 'number' && this.props.extraWidth === undefined ? 16 : parseInt(this.props.extraWidth) || 0;
4420
+ newInputWidth += extraWidth;
4421
+ if (newInputWidth < this.props.minWidth) {
4422
+ newInputWidth = this.props.minWidth;
4423
+ }
4424
+ if (newInputWidth !== this.state.inputWidth) {
4425
+ this.setState({
4426
+ inputWidth: newInputWidth
4427
+ });
4428
+ }
4429
+ }
4430
+ }, {
4431
+ key: 'getInput',
4432
+ value: function getInput() {
4433
+ return this.input;
4434
+ }
4435
+ }, {
4436
+ key: 'focus',
4437
+ value: function focus() {
4438
+ this.input.focus();
4439
+ }
4440
+ }, {
4441
+ key: 'blur',
4442
+ value: function blur() {
4443
+ this.input.blur();
4444
+ }
4445
+ }, {
4446
+ key: 'select',
4447
+ value: function select() {
4448
+ this.input.select();
4449
+ }
4450
+ }, {
4451
+ key: 'renderStyles',
4452
+ value: function renderStyles() {
4453
+ // this method injects styles to hide IE's clear indicator, which messes
4454
+ // with input size detection. the stylesheet is only injected when the
4455
+ // browser is IE, and can also be disabled by the `injectStyles` prop.
4456
+ var injectStyles = this.props.injectStyles;
4457
+
4458
+ return isIE && injectStyles ? _react2.default.createElement('style', { dangerouslySetInnerHTML: {
4459
+ __html: 'input#' + this.state.inputId + '::-ms-clear {display: none;}'
4460
+ } }) : null;
4461
+ }
4462
+ }, {
4463
+ key: 'render',
4464
+ value: function render() {
4465
+ var sizerValue = [this.props.defaultValue, this.props.value, ''].reduce(function (previousValue, currentValue) {
4466
+ if (previousValue !== null && previousValue !== undefined) {
4467
+ return previousValue;
4468
+ }
4469
+ return currentValue;
4470
+ });
4471
+
4472
+ var wrapperStyle = _extends({}, this.props.style);
4473
+ if (!wrapperStyle.display) wrapperStyle.display = 'inline-block';
4474
+
4475
+ var inputStyle = _extends({
4476
+ boxSizing: 'content-box',
4477
+ width: this.state.inputWidth + 'px'
4478
+ }, this.props.inputStyle);
4479
+
4480
+ var inputProps = _objectWithoutProperties(this.props, []);
4481
+
4482
+ cleanInputProps(inputProps);
4483
+ inputProps.className = this.props.inputClassName;
4484
+ inputProps.id = this.state.inputId;
4485
+ inputProps.style = inputStyle;
4486
+
4487
+ return _react2.default.createElement(
4488
+ 'div',
4489
+ { className: this.props.className, style: wrapperStyle },
4490
+ this.renderStyles(),
4491
+ _react2.default.createElement('input', _extends({}, inputProps, { ref: this.inputRef })),
4492
+ _react2.default.createElement(
4493
+ 'div',
4494
+ { ref: this.sizerRef, style: sizerStyle },
4495
+ sizerValue
4496
+ ),
4497
+ this.props.placeholder ? _react2.default.createElement(
4498
+ 'div',
4499
+ { ref: this.placeHolderSizerRef, style: sizerStyle },
4500
+ this.props.placeholder
4501
+ ) : null
4502
+ );
4503
+ }
4504
+ }]);
4505
+
4506
+ return AutosizeInput;
4507
+ }(_react.Component);
4508
+
4509
+ AutosizeInput.propTypes = {
4510
+ className: _propTypes2.default.string, // className for the outer element
4511
+ defaultValue: _propTypes2.default.any, // default field value
4512
+ extraWidth: _propTypes2.default.oneOfType([// additional width for input element
4513
+ _propTypes2.default.number, _propTypes2.default.string]),
4514
+ id: _propTypes2.default.string, // id to use for the input, can be set for consistent snapshots
4515
+ injectStyles: _propTypes2.default.bool, // inject the custom stylesheet to hide clear UI, defaults to true
4516
+ inputClassName: _propTypes2.default.string, // className for the input element
4517
+ inputRef: _propTypes2.default.func, // ref callback for the input element
4518
+ inputStyle: _propTypes2.default.object, // css styles for the input element
4519
+ minWidth: _propTypes2.default.oneOfType([// minimum width for input element
4520
+ _propTypes2.default.number, _propTypes2.default.string]),
4521
+ onAutosize: _propTypes2.default.func, // onAutosize handler: function(newWidth) {}
4522
+ onChange: _propTypes2.default.func, // onChange handler: function(event) {}
4523
+ placeholder: _propTypes2.default.string, // placeholder text
4524
+ placeholderIsMinWidth: _propTypes2.default.bool, // don't collapse size to less than the placeholder
4525
+ style: _propTypes2.default.object, // css styles for the outer element
4526
+ value: _propTypes2.default.any // field value
4527
+ };
4528
+ AutosizeInput.defaultProps = {
4529
+ minWidth: 1,
4530
+ injectStyles: true
4531
+ };
4532
+
4533
+ exports.default = AutosizeInput;
4534
+
4535
+ /***/ }),
4536
+
4537
+ /***/ "./node_modules/react-is/cjs/react-is.development.js":
4538
+ /*!***********************************************************!*\
4539
+ !*** ./node_modules/react-is/cjs/react-is.development.js ***!
4540
+ \***********************************************************/
4541
+ /***/ ((__unused_webpack_module, exports) => {
4542
+
4543
+ "use strict";
4544
+ /** @license React v16.13.1
4545
+ * react-is.development.js
4546
+ *
4547
+ * Copyright (c) Facebook, Inc. and its affiliates.
4548
+ *
4549
+ * This source code is licensed under the MIT license found in the
4550
+ * LICENSE file in the root directory of this source tree.
4551
+ */
4552
+
4553
+
4554
+
4555
+
4556
+
4557
+ if (true) {
4558
+ (function() {
4559
+ 'use strict';
4560
+
4561
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
4562
+ // nor polyfill, then a plain number is used for performance.
4563
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
4564
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
4565
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
4566
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
4567
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
4568
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
4569
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
4570
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
4571
+ // (unstable) APIs that have been removed. Can we remove the symbols?
4572
+
4573
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
4574
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
4575
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
4576
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
4577
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
4578
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
4579
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
4580
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
4581
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
4582
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
4583
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
4584
+
4585
+ function isValidElementType(type) {
4586
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4587
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
4588
+ }
4589
+
4590
+ function typeOf(object) {
4591
+ if (typeof object === 'object' && object !== null) {
4592
+ var $$typeof = object.$$typeof;
4593
+
4594
+ switch ($$typeof) {
4595
+ case REACT_ELEMENT_TYPE:
4596
+ var type = object.type;
4597
+
4598
+ switch (type) {
4599
+ case REACT_ASYNC_MODE_TYPE:
4600
+ case REACT_CONCURRENT_MODE_TYPE:
4601
+ case REACT_FRAGMENT_TYPE:
4602
+ case REACT_PROFILER_TYPE:
4603
+ case REACT_STRICT_MODE_TYPE:
4604
+ case REACT_SUSPENSE_TYPE:
4605
+ return type;
4606
+
4607
+ default:
4608
+ var $$typeofType = type && type.$$typeof;
4609
+
4610
+ switch ($$typeofType) {
4611
+ case REACT_CONTEXT_TYPE:
4612
+ case REACT_FORWARD_REF_TYPE:
4613
+ case REACT_LAZY_TYPE:
4614
+ case REACT_MEMO_TYPE:
4615
+ case REACT_PROVIDER_TYPE:
4616
+ return $$typeofType;
4617
+
4618
+ default:
4619
+ return $$typeof;
4620
+ }
4621
+
4622
+ }
4623
+
4624
+ case REACT_PORTAL_TYPE:
4625
+ return $$typeof;
4626
+ }
4627
+ }
4628
+
4629
+ return undefined;
4630
+ } // AsyncMode is deprecated along with isAsyncMode
4631
+
4632
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
4633
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
4634
+ var ContextConsumer = REACT_CONTEXT_TYPE;
4635
+ var ContextProvider = REACT_PROVIDER_TYPE;
4636
+ var Element = REACT_ELEMENT_TYPE;
4637
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
4638
+ var Fragment = REACT_FRAGMENT_TYPE;
4639
+ var Lazy = REACT_LAZY_TYPE;
4640
+ var Memo = REACT_MEMO_TYPE;
4641
+ var Portal = REACT_PORTAL_TYPE;
4642
+ var Profiler = REACT_PROFILER_TYPE;
4643
+ var StrictMode = REACT_STRICT_MODE_TYPE;
4644
+ var Suspense = REACT_SUSPENSE_TYPE;
4645
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
4646
+
4647
+ function isAsyncMode(object) {
4648
+ {
4649
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
4650
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
4651
+
4652
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
4653
+ }
4654
+ }
4655
+
4656
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
4657
+ }
4658
+ function isConcurrentMode(object) {
4659
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
4660
+ }
4661
+ function isContextConsumer(object) {
4662
+ return typeOf(object) === REACT_CONTEXT_TYPE;
4663
+ }
4664
+ function isContextProvider(object) {
4665
+ return typeOf(object) === REACT_PROVIDER_TYPE;
4666
+ }
4667
+ function isElement(object) {
4668
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
4669
+ }
4670
+ function isForwardRef(object) {
4671
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
4672
+ }
4673
+ function isFragment(object) {
4674
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
4675
+ }
4676
+ function isLazy(object) {
4677
+ return typeOf(object) === REACT_LAZY_TYPE;
4678
+ }
4679
+ function isMemo(object) {
4680
+ return typeOf(object) === REACT_MEMO_TYPE;
4681
+ }
4682
+ function isPortal(object) {
4683
+ return typeOf(object) === REACT_PORTAL_TYPE;
4684
+ }
4685
+ function isProfiler(object) {
4686
+ return typeOf(object) === REACT_PROFILER_TYPE;
4687
+ }
4688
+ function isStrictMode(object) {
4689
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
4690
+ }
4691
+ function isSuspense(object) {
4692
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
4693
+ }
4694
+
4695
+ exports.AsyncMode = AsyncMode;
4696
+ exports.ConcurrentMode = ConcurrentMode;
4697
+ exports.ContextConsumer = ContextConsumer;
4698
+ exports.ContextProvider = ContextProvider;
4699
+ exports.Element = Element;
4700
+ exports.ForwardRef = ForwardRef;
4701
+ exports.Fragment = Fragment;
4702
+ exports.Lazy = Lazy;
4703
+ exports.Memo = Memo;
4704
+ exports.Portal = Portal;
4705
+ exports.Profiler = Profiler;
4706
+ exports.StrictMode = StrictMode;
4707
+ exports.Suspense = Suspense;
4708
+ exports.isAsyncMode = isAsyncMode;
4709
+ exports.isConcurrentMode = isConcurrentMode;
4710
+ exports.isContextConsumer = isContextConsumer;
4711
+ exports.isContextProvider = isContextProvider;
4712
+ exports.isElement = isElement;
4713
+ exports.isForwardRef = isForwardRef;
4714
+ exports.isFragment = isFragment;
4715
+ exports.isLazy = isLazy;
4716
+ exports.isMemo = isMemo;
4717
+ exports.isPortal = isPortal;
4718
+ exports.isProfiler = isProfiler;
4719
+ exports.isStrictMode = isStrictMode;
4720
+ exports.isSuspense = isSuspense;
4721
+ exports.isValidElementType = isValidElementType;
4722
+ exports.typeOf = typeOf;
4723
+ })();
4724
+ }
4725
+
4726
+
4727
+ /***/ }),
4728
+
4729
+ /***/ "./node_modules/react-is/index.js":
4730
+ /*!****************************************!*\
4731
+ !*** ./node_modules/react-is/index.js ***!
4732
+ \****************************************/
4733
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4734
+
4735
+ "use strict";
4736
+
4737
+
4738
+ if (false) {} else {
4739
+ module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js");
4740
+ }
4741
+
4742
+
4743
+ /***/ }),
4744
+
4745
+ /***/ "./node_modules/react-select/dist/Select-dbb12e54.esm.js":
4746
+ /*!***************************************************************!*\
4747
+ !*** ./node_modules/react-select/dist/Select-dbb12e54.esm.js ***!
4748
+ \***************************************************************/
4749
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4750
+
4751
+ "use strict";
4752
+ __webpack_require__.r(__webpack_exports__);
4753
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4754
+ /* harmony export */ "S": () => (/* binding */ Select),
4755
+ /* harmony export */ "a": () => (/* binding */ getOptionLabel),
4756
+ /* harmony export */ "b": () => (/* binding */ defaultProps),
4757
+ /* harmony export */ "c": () => (/* binding */ createFilter),
4758
+ /* harmony export */ "d": () => (/* binding */ defaultTheme),
4759
+ /* harmony export */ "g": () => (/* binding */ getOptionValue),
4760
+ /* harmony export */ "m": () => (/* binding */ mergeStyles)
4761
+ /* harmony export */ });
4762
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
4763
+ /* harmony import */ var _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index-4bd03571.esm.js */ "./node_modules/react-select/dist/index-4bd03571.esm.js");
4764
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
4765
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
4766
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
4767
+ /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
4768
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
4769
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
4770
+ /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-react.browser.esm.js");
4771
+ /* harmony import */ var memoize_one__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! memoize-one */ "./node_modules/memoize-one/dist/memoize-one.esm.js");
4772
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
4773
+
4774
+
4775
+
4776
+
4777
+
4778
+
4779
+
4780
+
4781
+
4782
+
4783
+
4784
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
4785
+
4786
+ var _ref = false ? 0 : {
4787
+ name: "1f43avz-a11yText-A11yText",
4788
+ styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
4789
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFJIiwiZmlsZSI6IkExMXlUZXh0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgdHlwZSBFbGVtZW50Q29uZmlnIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG4vLyBBc3Npc3RpdmUgdGV4dCB0byBkZXNjcmliZSB2aXN1YWwgZWxlbWVudHMuIEhpZGRlbiBmb3Igc2lnaHRlZCB1c2Vycy5cbmNvbnN0IEExMXlUZXh0ID0gKHByb3BzOiBFbGVtZW50Q29uZmlnPCdzcGFuJz4pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
4790
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
4791
+ };
4792
+
4793
+ var A11yText = function A11yText(props) {
4794
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)("span", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
4795
+ css: _ref
4796
+ }, props));
4797
+ };
4798
+
4799
+ var defaultAriaLiveMessages = {
4800
+ guidance: function guidance(props) {
4801
+ var isSearchable = props.isSearchable,
4802
+ isMulti = props.isMulti,
4803
+ isDisabled = props.isDisabled,
4804
+ tabSelectsValue = props.tabSelectsValue,
4805
+ context = props.context;
4806
+
4807
+ switch (context) {
4808
+ case 'menu':
4809
+ return "Use Up and Down to choose options".concat(isDisabled ? '' : ', press Enter to select the currently focused option', ", press Escape to exit the menu").concat(tabSelectsValue ? ', press Tab to select the option and exit the menu' : '', ".");
4810
+
4811
+ case 'input':
4812
+ return "".concat(props['aria-label'] || 'Select', " is focused ").concat(isSearchable ? ',type to refine list' : '', ", press Down to open the menu, ").concat(isMulti ? ' press left to focus selected values' : '');
4813
+
4814
+ case 'value':
4815
+ return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';
4816
+
4817
+ default:
4818
+ return '';
4819
+ }
4820
+ },
4821
+ onChange: function onChange(props) {
4822
+ var action = props.action,
4823
+ _props$label = props.label,
4824
+ label = _props$label === void 0 ? '' : _props$label,
4825
+ isDisabled = props.isDisabled;
4826
+
4827
+ switch (action) {
4828
+ case 'deselect-option':
4829
+ case 'pop-value':
4830
+ case 'remove-value':
4831
+ return "option ".concat(label, ", deselected.");
4832
+
4833
+ case 'select-option':
4834
+ return isDisabled ? "option ".concat(label, " is disabled. Select another option.") : "option ".concat(label, ", selected.");
4835
+
4836
+ default:
4837
+ return '';
4838
+ }
4839
+ },
4840
+ onFocus: function onFocus(props) {
4841
+ var context = props.context,
4842
+ _props$focused = props.focused,
4843
+ focused = _props$focused === void 0 ? {} : _props$focused,
4844
+ options = props.options,
4845
+ _props$label2 = props.label,
4846
+ label = _props$label2 === void 0 ? '' : _props$label2,
4847
+ selectValue = props.selectValue,
4848
+ isDisabled = props.isDisabled,
4849
+ isSelected = props.isSelected;
4850
+
4851
+ var getArrayIndex = function getArrayIndex(arr, item) {
4852
+ return arr && arr.length ? "".concat(arr.indexOf(item) + 1, " of ").concat(arr.length) : '';
4853
+ };
4854
+
4855
+ if (context === 'value' && selectValue) {
4856
+ return "value ".concat(label, " focused, ").concat(getArrayIndex(selectValue, focused), ".");
4857
+ }
4858
+
4859
+ if (context === 'menu') {
4860
+ var disabled = isDisabled ? ' disabled' : '';
4861
+ var status = "".concat(isSelected ? 'selected' : 'focused').concat(disabled);
4862
+ return "option ".concat(label, " ").concat(status, ", ").concat(getArrayIndex(options, focused), ".");
4863
+ }
4864
+
4865
+ return '';
4866
+ },
4867
+ onFilter: function onFilter(props) {
4868
+ var inputValue = props.inputValue,
4869
+ resultsMessage = props.resultsMessage;
4870
+ return "".concat(resultsMessage).concat(inputValue ? ' for search term ' + inputValue : '', ".");
4871
+ }
4872
+ };
4873
+
4874
+ var LiveRegion = function LiveRegion(props) {
4875
+ var ariaSelection = props.ariaSelection,
4876
+ focusedOption = props.focusedOption,
4877
+ focusedValue = props.focusedValue,
4878
+ focusableOptions = props.focusableOptions,
4879
+ isFocused = props.isFocused,
4880
+ selectValue = props.selectValue,
4881
+ selectProps = props.selectProps;
4882
+ var ariaLiveMessages = selectProps.ariaLiveMessages,
4883
+ getOptionLabel = selectProps.getOptionLabel,
4884
+ inputValue = selectProps.inputValue,
4885
+ isMulti = selectProps.isMulti,
4886
+ isOptionDisabled = selectProps.isOptionDisabled,
4887
+ isSearchable = selectProps.isSearchable,
4888
+ menuIsOpen = selectProps.menuIsOpen,
4889
+ options = selectProps.options,
4890
+ screenReaderStatus = selectProps.screenReaderStatus,
4891
+ tabSelectsValue = selectProps.tabSelectsValue;
4892
+ var ariaLabel = selectProps['aria-label'];
4893
+ var ariaLive = selectProps['aria-live']; // Update aria live message configuration when prop changes
4894
+
4895
+ var messages = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {
4896
+ return (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)((0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({}, defaultAriaLiveMessages), ariaLiveMessages || {});
4897
+ }, [ariaLiveMessages]); // Update aria live selected option when prop changes
4898
+
4899
+ var ariaSelected = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {
4900
+ var message = '';
4901
+
4902
+ if (ariaSelection && messages.onChange) {
4903
+ var option = ariaSelection.option,
4904
+ removedValue = ariaSelection.removedValue,
4905
+ value = ariaSelection.value; // select-option when !isMulti does not return option so we assume selected option is value
4906
+
4907
+ var asOption = function asOption(val) {
4908
+ return !Array.isArray(val) ? val : null;
4909
+ };
4910
+
4911
+ var selected = removedValue || option || asOption(value);
4912
+
4913
+ var onChangeProps = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({
4914
+ isDisabled: selected && isOptionDisabled(selected),
4915
+ label: selected ? getOptionLabel(selected) : ''
4916
+ }, ariaSelection);
4917
+
4918
+ message = messages.onChange(onChangeProps);
4919
+ }
4920
+
4921
+ return message;
4922
+ }, [ariaSelection, isOptionDisabled, getOptionLabel, messages]);
4923
+ var ariaFocused = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {
4924
+ var focusMsg = '';
4925
+ var focused = focusedOption || focusedValue;
4926
+ var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption));
4927
+
4928
+ if (focused && messages.onFocus) {
4929
+ var onFocusProps = {
4930
+ focused: focused,
4931
+ label: getOptionLabel(focused),
4932
+ isDisabled: isOptionDisabled(focused),
4933
+ isSelected: isSelected,
4934
+ options: options,
4935
+ context: focused === focusedOption ? 'menu' : 'value',
4936
+ selectValue: selectValue
4937
+ };
4938
+ focusMsg = messages.onFocus(onFocusProps);
4939
+ }
4940
+
4941
+ return focusMsg;
4942
+ }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, options, selectValue]);
4943
+ var ariaResults = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {
4944
+ var resultsMsg = '';
4945
+
4946
+ if (menuIsOpen && options.length && messages.onFilter) {
4947
+ var resultsMessage = screenReaderStatus({
4948
+ count: focusableOptions.length
4949
+ });
4950
+ resultsMsg = messages.onFilter({
4951
+ inputValue: inputValue,
4952
+ resultsMessage: resultsMessage
4953
+ });
4954
+ }
4955
+
4956
+ return resultsMsg;
4957
+ }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus]);
4958
+ var ariaGuidance = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {
4959
+ var guidanceMsg = '';
4960
+
4961
+ if (messages.guidance) {
4962
+ var context = focusedValue ? 'value' : menuIsOpen ? 'menu' : 'input';
4963
+ guidanceMsg = messages.guidance({
4964
+ 'aria-label': ariaLabel,
4965
+ context: context,
4966
+ isDisabled: focusedOption && isOptionDisabled(focusedOption),
4967
+ isMulti: isMulti,
4968
+ isSearchable: isSearchable,
4969
+ tabSelectsValue: tabSelectsValue
4970
+ });
4971
+ }
4972
+
4973
+ return guidanceMsg;
4974
+ }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, tabSelectsValue]);
4975
+ var ariaContext = "".concat(ariaFocused, " ").concat(ariaResults, " ").concat(ariaGuidance);
4976
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)(A11yText, {
4977
+ "aria-live": ariaLive,
4978
+ "aria-atomic": "false",
4979
+ "aria-relevant": "additions text"
4980
+ }, isFocused && (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)("span", {
4981
+ id: "aria-selection"
4982
+ }, ariaSelected), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)("span", {
4983
+ id: "aria-context"
4984
+ }, ariaContext)));
4985
+ };
4986
+
4987
+ var diacritics = [{
4988
+ base: 'A',
4989
+ letters: "A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"
4990
+ }, {
4991
+ base: 'AA',
4992
+ letters: "\uA732"
4993
+ }, {
4994
+ base: 'AE',
4995
+ letters: "\xC6\u01FC\u01E2"
4996
+ }, {
4997
+ base: 'AO',
4998
+ letters: "\uA734"
4999
+ }, {
5000
+ base: 'AU',
5001
+ letters: "\uA736"
5002
+ }, {
5003
+ base: 'AV',
5004
+ letters: "\uA738\uA73A"
5005
+ }, {
5006
+ base: 'AY',
5007
+ letters: "\uA73C"
5008
+ }, {
5009
+ base: 'B',
5010
+ letters: "B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"
5011
+ }, {
5012
+ base: 'C',
5013
+ letters: "C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"
5014
+ }, {
5015
+ base: 'D',
5016
+ letters: "D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"
5017
+ }, {
5018
+ base: 'DZ',
5019
+ letters: "\u01F1\u01C4"
5020
+ }, {
5021
+ base: 'Dz',
5022
+ letters: "\u01F2\u01C5"
5023
+ }, {
5024
+ base: 'E',
5025
+ letters: "E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"
5026
+ }, {
5027
+ base: 'F',
5028
+ letters: "F\u24BB\uFF26\u1E1E\u0191\uA77B"
5029
+ }, {
5030
+ base: 'G',
5031
+ letters: "G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"
5032
+ }, {
5033
+ base: 'H',
5034
+ letters: "H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"
5035
+ }, {
5036
+ base: 'I',
5037
+ letters: "I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"
5038
+ }, {
5039
+ base: 'J',
5040
+ letters: "J\u24BF\uFF2A\u0134\u0248"
5041
+ }, {
5042
+ base: 'K',
5043
+ letters: "K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"
5044
+ }, {
5045
+ base: 'L',
5046
+ letters: "L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"
5047
+ }, {
5048
+ base: 'LJ',
5049
+ letters: "\u01C7"
5050
+ }, {
5051
+ base: 'Lj',
5052
+ letters: "\u01C8"
5053
+ }, {
5054
+ base: 'M',
5055
+ letters: "M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"
5056
+ }, {
5057
+ base: 'N',
5058
+ letters: "N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"
5059
+ }, {
5060
+ base: 'NJ',
5061
+ letters: "\u01CA"
5062
+ }, {
5063
+ base: 'Nj',
5064
+ letters: "\u01CB"
5065
+ }, {
5066
+ base: 'O',
5067
+ letters: "O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"
5068
+ }, {
5069
+ base: 'OI',
5070
+ letters: "\u01A2"
5071
+ }, {
5072
+ base: 'OO',
5073
+ letters: "\uA74E"
5074
+ }, {
5075
+ base: 'OU',
5076
+ letters: "\u0222"
5077
+ }, {
5078
+ base: 'P',
5079
+ letters: "P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"
5080
+ }, {
5081
+ base: 'Q',
5082
+ letters: "Q\u24C6\uFF31\uA756\uA758\u024A"
5083
+ }, {
5084
+ base: 'R',
5085
+ letters: "R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"
5086
+ }, {
5087
+ base: 'S',
5088
+ letters: "S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"
5089
+ }, {
5090
+ base: 'T',
5091
+ letters: "T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"
5092
+ }, {
5093
+ base: 'TZ',
5094
+ letters: "\uA728"
5095
+ }, {
5096
+ base: 'U',
5097
+ letters: "U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"
5098
+ }, {
5099
+ base: 'V',
5100
+ letters: "V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"
5101
+ }, {
5102
+ base: 'VY',
5103
+ letters: "\uA760"
5104
+ }, {
5105
+ base: 'W',
5106
+ letters: "W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"
5107
+ }, {
5108
+ base: 'X',
5109
+ letters: "X\u24CD\uFF38\u1E8A\u1E8C"
5110
+ }, {
5111
+ base: 'Y',
5112
+ letters: "Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"
5113
+ }, {
5114
+ base: 'Z',
5115
+ letters: "Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"
5116
+ }, {
5117
+ base: 'a',
5118
+ letters: "a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"
5119
+ }, {
5120
+ base: 'aa',
5121
+ letters: "\uA733"
5122
+ }, {
5123
+ base: 'ae',
5124
+ letters: "\xE6\u01FD\u01E3"
5125
+ }, {
5126
+ base: 'ao',
5127
+ letters: "\uA735"
5128
+ }, {
5129
+ base: 'au',
5130
+ letters: "\uA737"
5131
+ }, {
5132
+ base: 'av',
5133
+ letters: "\uA739\uA73B"
5134
+ }, {
5135
+ base: 'ay',
5136
+ letters: "\uA73D"
5137
+ }, {
5138
+ base: 'b',
5139
+ letters: "b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"
5140
+ }, {
5141
+ base: 'c',
5142
+ letters: "c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"
5143
+ }, {
5144
+ base: 'd',
5145
+ letters: "d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"
5146
+ }, {
5147
+ base: 'dz',
5148
+ letters: "\u01F3\u01C6"
5149
+ }, {
5150
+ base: 'e',
5151
+ letters: "e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"
5152
+ }, {
5153
+ base: 'f',
5154
+ letters: "f\u24D5\uFF46\u1E1F\u0192\uA77C"
5155
+ }, {
5156
+ base: 'g',
5157
+ letters: "g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"
5158
+ }, {
5159
+ base: 'h',
5160
+ letters: "h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"
5161
+ }, {
5162
+ base: 'hv',
5163
+ letters: "\u0195"
5164
+ }, {
5165
+ base: 'i',
5166
+ letters: "i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"
5167
+ }, {
5168
+ base: 'j',
5169
+ letters: "j\u24D9\uFF4A\u0135\u01F0\u0249"
5170
+ }, {
5171
+ base: 'k',
5172
+ letters: "k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"
5173
+ }, {
5174
+ base: 'l',
5175
+ letters: "l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"
5176
+ }, {
5177
+ base: 'lj',
5178
+ letters: "\u01C9"
5179
+ }, {
5180
+ base: 'm',
5181
+ letters: "m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"
5182
+ }, {
5183
+ base: 'n',
5184
+ letters: "n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"
5185
+ }, {
5186
+ base: 'nj',
5187
+ letters: "\u01CC"
5188
+ }, {
5189
+ base: 'o',
5190
+ letters: "o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"
5191
+ }, {
5192
+ base: 'oi',
5193
+ letters: "\u01A3"
5194
+ }, {
5195
+ base: 'ou',
5196
+ letters: "\u0223"
5197
+ }, {
5198
+ base: 'oo',
5199
+ letters: "\uA74F"
5200
+ }, {
5201
+ base: 'p',
5202
+ letters: "p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"
5203
+ }, {
5204
+ base: 'q',
5205
+ letters: "q\u24E0\uFF51\u024B\uA757\uA759"
5206
+ }, {
5207
+ base: 'r',
5208
+ letters: "r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"
5209
+ }, {
5210
+ base: 's',
5211
+ letters: "s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"
5212
+ }, {
5213
+ base: 't',
5214
+ letters: "t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"
5215
+ }, {
5216
+ base: 'tz',
5217
+ letters: "\uA729"
5218
+ }, {
5219
+ base: 'u',
5220
+ letters: "u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"
5221
+ }, {
5222
+ base: 'v',
5223
+ letters: "v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"
5224
+ }, {
5225
+ base: 'vy',
5226
+ letters: "\uA761"
5227
+ }, {
5228
+ base: 'w',
5229
+ letters: "w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"
5230
+ }, {
5231
+ base: 'x',
5232
+ letters: "x\u24E7\uFF58\u1E8B\u1E8D"
5233
+ }, {
5234
+ base: 'y',
5235
+ letters: "y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"
5236
+ }, {
5237
+ base: 'z',
5238
+ letters: "z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"
5239
+ }];
5240
+ var anyDiacritic = new RegExp('[' + diacritics.map(function (d) {
5241
+ return d.letters;
5242
+ }).join('') + ']', 'g');
5243
+ var diacriticToBase = {};
5244
+
5245
+ for (var i = 0; i < diacritics.length; i++) {
5246
+ var diacritic = diacritics[i];
5247
+
5248
+ for (var j = 0; j < diacritic.letters.length; j++) {
5249
+ diacriticToBase[diacritic.letters[j]] = diacritic.base;
5250
+ }
5251
+ }
5252
+
5253
+ var stripDiacritics = function stripDiacritics(str) {
5254
+ return str.replace(anyDiacritic, function (match) {
5255
+ return diacriticToBase[match];
5256
+ });
5257
+ };
5258
+
5259
+ var memoizedStripDiacriticsForInput = (0,memoize_one__WEBPACK_IMPORTED_MODULE_9__.default)(stripDiacritics);
5260
+
5261
+ var trimString = function trimString(str) {
5262
+ return str.replace(/^\s+|\s+$/g, '');
5263
+ };
5264
+
5265
+ var defaultStringify = function defaultStringify(option) {
5266
+ return "".concat(option.label, " ").concat(option.value);
5267
+ };
5268
+
5269
+ var createFilter = function createFilter(config) {
5270
+ return function (option, rawInput) {
5271
+ var _ignoreCase$ignoreAcc = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({
5272
+ ignoreCase: true,
5273
+ ignoreAccents: true,
5274
+ stringify: defaultStringify,
5275
+ trim: true,
5276
+ matchFrom: 'any'
5277
+ }, config),
5278
+ ignoreCase = _ignoreCase$ignoreAcc.ignoreCase,
5279
+ ignoreAccents = _ignoreCase$ignoreAcc.ignoreAccents,
5280
+ stringify = _ignoreCase$ignoreAcc.stringify,
5281
+ trim = _ignoreCase$ignoreAcc.trim,
5282
+ matchFrom = _ignoreCase$ignoreAcc.matchFrom;
5283
+
5284
+ var input = trim ? trimString(rawInput) : rawInput;
5285
+ var candidate = trim ? trimString(stringify(option)) : stringify(option);
5286
+
5287
+ if (ignoreCase) {
5288
+ input = input.toLowerCase();
5289
+ candidate = candidate.toLowerCase();
5290
+ }
5291
+
5292
+ if (ignoreAccents) {
5293
+ input = memoizedStripDiacriticsForInput(input);
5294
+ candidate = stripDiacritics(candidate);
5295
+ }
5296
+
5297
+ return matchFrom === 'start' ? candidate.substr(0, input.length) === input : candidate.indexOf(input) > -1;
5298
+ };
5299
+ };
5300
+
5301
+ function DummyInput(_ref) {
5302
+ _ref.in;
5303
+ _ref.out;
5304
+ _ref.onExited;
5305
+ _ref.appear;
5306
+ _ref.enter;
5307
+ _ref.exit;
5308
+ var innerRef = _ref.innerRef;
5309
+ _ref.emotion;
5310
+ var props = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__.default)(_ref, ["in", "out", "onExited", "appear", "enter", "exit", "innerRef", "emotion"]);
5311
+
5312
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)("input", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
5313
+ ref: innerRef
5314
+ }, props, {
5315
+ css: /*#__PURE__*/(0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.css)({
5316
+ label: 'dummyInput',
5317
+ // get rid of any default styles
5318
+ background: 0,
5319
+ border: 0,
5320
+ fontSize: 'inherit',
5321
+ outline: 0,
5322
+ padding: 0,
5323
+ // important! without `width` browsers won't allow focus
5324
+ width: 1,
5325
+ // remove cursor on desktop
5326
+ color: 'transparent',
5327
+ // remove cursor on mobile whilst maintaining "scroll into view" behaviour
5328
+ left: -100,
5329
+ opacity: 0,
5330
+ position: 'relative',
5331
+ transform: 'scale(0)'
5332
+ }, false ? 0 : ";label:DummyInput;", false ? 0 : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUJNIiwiZmlsZSI6IkR1bW15SW5wdXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbjogaW5Qcm9wLFxuICBvdXQsXG4gIG9uRXhpdGVkLFxuICBhcHBlYXIsXG4gIGVudGVyLFxuICBleGl0LFxuICBpbm5lclJlZixcbiAgZW1vdGlvbixcbiAgLi4ucHJvcHNcbn06IGFueSkge1xuICByZXR1cm4gKFxuICAgIDxpbnB1dFxuICAgICAgcmVmPXtpbm5lclJlZn1cbiAgICAgIHsuLi5wcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSgwKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
5333
+ }));
5334
+ }
5335
+
5336
+ var cancelScroll = function cancelScroll(event) {
5337
+ event.preventDefault();
5338
+ event.stopPropagation();
5339
+ };
5340
+
5341
+ function useScrollCapture(_ref) {
5342
+ var isEnabled = _ref.isEnabled,
5343
+ onBottomArrive = _ref.onBottomArrive,
5344
+ onBottomLeave = _ref.onBottomLeave,
5345
+ onTopArrive = _ref.onTopArrive,
5346
+ onTopLeave = _ref.onTopLeave;
5347
+ var isBottom = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(false);
5348
+ var isTop = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(false);
5349
+ var touchStart = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(0);
5350
+ var scrollTarget = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);
5351
+ var handleEventDelta = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event, delta) {
5352
+ // Reference should never be `null` at this point, but flow complains otherwise
5353
+ if (scrollTarget.current === null) return;
5354
+ var _scrollTarget$current = scrollTarget.current,
5355
+ scrollTop = _scrollTarget$current.scrollTop,
5356
+ scrollHeight = _scrollTarget$current.scrollHeight,
5357
+ clientHeight = _scrollTarget$current.clientHeight;
5358
+ var target = scrollTarget.current;
5359
+ var isDeltaPositive = delta > 0;
5360
+ var availableScroll = scrollHeight - clientHeight - scrollTop;
5361
+ var shouldCancelScroll = false; // reset bottom/top flags
5362
+
5363
+ if (availableScroll > delta && isBottom.current) {
5364
+ if (onBottomLeave) onBottomLeave(event);
5365
+ isBottom.current = false;
5366
+ }
5367
+
5368
+ if (isDeltaPositive && isTop.current) {
5369
+ if (onTopLeave) onTopLeave(event);
5370
+ isTop.current = false;
5371
+ } // bottom limit
5372
+
5373
+
5374
+ if (isDeltaPositive && delta > availableScroll) {
5375
+ if (onBottomArrive && !isBottom.current) {
5376
+ onBottomArrive(event);
5377
+ }
5378
+
5379
+ target.scrollTop = scrollHeight;
5380
+ shouldCancelScroll = true;
5381
+ isBottom.current = true; // top limit
5382
+ } else if (!isDeltaPositive && -delta > scrollTop) {
5383
+ if (onTopArrive && !isTop.current) {
5384
+ onTopArrive(event);
5385
+ }
5386
+
5387
+ target.scrollTop = 0;
5388
+ shouldCancelScroll = true;
5389
+ isTop.current = true;
5390
+ } // cancel scroll
5391
+
5392
+
5393
+ if (shouldCancelScroll) {
5394
+ cancelScroll(event);
5395
+ }
5396
+ }, []);
5397
+ var onWheel = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event) {
5398
+ handleEventDelta(event, event.deltaY);
5399
+ }, [handleEventDelta]);
5400
+ var onTouchStart = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event) {
5401
+ // set touch start so we can calculate touchmove delta
5402
+ touchStart.current = event.changedTouches[0].clientY;
5403
+ }, []);
5404
+ var onTouchMove = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event) {
5405
+ var deltaY = touchStart.current - event.changedTouches[0].clientY;
5406
+ handleEventDelta(event, deltaY);
5407
+ }, [handleEventDelta]);
5408
+ var startListening = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (el) {
5409
+ // bail early if no element is available to attach to
5410
+ if (!el) return;
5411
+ var notPassive = _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.s ? {
5412
+ passive: false
5413
+ } : false; // all the if statements are to appease Flow 😢
5414
+
5415
+ if (typeof el.addEventListener === 'function') {
5416
+ el.addEventListener('wheel', onWheel, notPassive);
5417
+ }
5418
+
5419
+ if (typeof el.addEventListener === 'function') {
5420
+ el.addEventListener('touchstart', onTouchStart, notPassive);
5421
+ }
5422
+
5423
+ if (typeof el.addEventListener === 'function') {
5424
+ el.addEventListener('touchmove', onTouchMove, notPassive);
5425
+ }
5426
+ }, [onTouchMove, onTouchStart, onWheel]);
5427
+ var stopListening = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (el) {
5428
+ // bail early if no element is available to detach from
5429
+ if (!el) return; // all the if statements are to appease Flow 😢
5430
+
5431
+ if (typeof el.removeEventListener === 'function') {
5432
+ el.removeEventListener('wheel', onWheel, false);
5433
+ }
5434
+
5435
+ if (typeof el.removeEventListener === 'function') {
5436
+ el.removeEventListener('touchstart', onTouchStart, false);
5437
+ }
5438
+
5439
+ if (typeof el.removeEventListener === 'function') {
5440
+ el.removeEventListener('touchmove', onTouchMove, false);
5441
+ }
5442
+ }, [onTouchMove, onTouchStart, onWheel]);
5443
+ (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {
5444
+ if (!isEnabled) return;
5445
+ var element = scrollTarget.current;
5446
+ startListening(element);
5447
+ return function () {
5448
+ stopListening(element);
5449
+ };
5450
+ }, [isEnabled, startListening, stopListening]);
5451
+ return function (element) {
5452
+ scrollTarget.current = element;
5453
+ };
5454
+ }
5455
+
5456
+ var STYLE_KEYS = ['boxSizing', 'height', 'overflow', 'paddingRight', 'position'];
5457
+ var LOCK_STYLES = {
5458
+ boxSizing: 'border-box',
5459
+ // account for possible declaration `width: 100%;` on body
5460
+ overflow: 'hidden',
5461
+ position: 'relative',
5462
+ height: '100%'
5463
+ };
5464
+
5465
+ function preventTouchMove(e) {
5466
+ e.preventDefault();
5467
+ }
5468
+
5469
+ function allowTouchMove(e) {
5470
+ e.stopPropagation();
5471
+ }
5472
+
5473
+ function preventInertiaScroll() {
5474
+ var top = this.scrollTop;
5475
+ var totalScroll = this.scrollHeight;
5476
+ var currentScroll = top + this.offsetHeight;
5477
+
5478
+ if (top === 0) {
5479
+ this.scrollTop = 1;
5480
+ } else if (currentScroll === totalScroll) {
5481
+ this.scrollTop = top - 1;
5482
+ }
5483
+ } // `ontouchstart` check works on most browsers
5484
+ // `maxTouchPoints` works on IE10/11 and Surface
5485
+
5486
+
5487
+ function isTouchDevice() {
5488
+ return 'ontouchstart' in window || navigator.maxTouchPoints;
5489
+ }
5490
+
5491
+ var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
5492
+ var activeScrollLocks = 0;
5493
+ var listenerOptions = {
5494
+ capture: false,
5495
+ passive: false
5496
+ };
5497
+ function useScrollLock(_ref) {
5498
+ var isEnabled = _ref.isEnabled,
5499
+ _ref$accountForScroll = _ref.accountForScrollbars,
5500
+ accountForScrollbars = _ref$accountForScroll === void 0 ? true : _ref$accountForScroll;
5501
+ var originalStyles = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)({});
5502
+ var scrollTarget = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);
5503
+ var addScrollLock = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (touchScrollTarget) {
5504
+ if (!canUseDOM) return;
5505
+ var target = document.body;
5506
+ var targetStyle = target && target.style;
5507
+
5508
+ if (accountForScrollbars) {
5509
+ // store any styles already applied to the body
5510
+ STYLE_KEYS.forEach(function (key) {
5511
+ var val = targetStyle && targetStyle[key];
5512
+ originalStyles.current[key] = val;
5513
+ });
5514
+ } // apply the lock styles and padding if this is the first scroll lock
5515
+
5516
+
5517
+ if (accountForScrollbars && activeScrollLocks < 1) {
5518
+ var currentPadding = parseInt(originalStyles.current.paddingRight, 10) || 0;
5519
+ var clientWidth = document.body ? document.body.clientWidth : 0;
5520
+ var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;
5521
+ Object.keys(LOCK_STYLES).forEach(function (key) {
5522
+ var val = LOCK_STYLES[key];
5523
+
5524
+ if (targetStyle) {
5525
+ targetStyle[key] = val;
5526
+ }
5527
+ });
5528
+
5529
+ if (targetStyle) {
5530
+ targetStyle.paddingRight = "".concat(adjustedPadding, "px");
5531
+ }
5532
+ } // account for touch devices
5533
+
5534
+
5535
+ if (target && isTouchDevice()) {
5536
+ // Mobile Safari ignores { overflow: hidden } declaration on the body.
5537
+ target.addEventListener('touchmove', preventTouchMove, listenerOptions); // Allow scroll on provided target
5538
+
5539
+ if (touchScrollTarget) {
5540
+ touchScrollTarget.addEventListener('touchstart', preventInertiaScroll, listenerOptions);
5541
+ touchScrollTarget.addEventListener('touchmove', allowTouchMove, listenerOptions);
5542
+ }
5543
+ } // increment active scroll locks
5544
+
5545
+
5546
+ activeScrollLocks += 1;
5547
+ }, []);
5548
+ var removeScrollLock = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (touchScrollTarget) {
5549
+ if (!canUseDOM) return;
5550
+ var target = document.body;
5551
+ var targetStyle = target && target.style; // safely decrement active scroll locks
5552
+
5553
+ activeScrollLocks = Math.max(activeScrollLocks - 1, 0); // reapply original body styles, if any
5554
+
5555
+ if (accountForScrollbars && activeScrollLocks < 1) {
5556
+ STYLE_KEYS.forEach(function (key) {
5557
+ var val = originalStyles.current[key];
5558
+
5559
+ if (targetStyle) {
5560
+ targetStyle[key] = val;
5561
+ }
5562
+ });
5563
+ } // remove touch listeners
5564
+
5565
+
5566
+ if (target && isTouchDevice()) {
5567
+ target.removeEventListener('touchmove', preventTouchMove, listenerOptions);
5568
+
5569
+ if (touchScrollTarget) {
5570
+ touchScrollTarget.removeEventListener('touchstart', preventInertiaScroll, listenerOptions);
5571
+ touchScrollTarget.removeEventListener('touchmove', allowTouchMove, listenerOptions);
5572
+ }
5573
+ }
5574
+ }, []);
5575
+ (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {
5576
+ if (!isEnabled) return;
5577
+ var element = scrollTarget.current;
5578
+ addScrollLock(element);
5579
+ return function () {
5580
+ removeScrollLock(element);
5581
+ };
5582
+ }, [isEnabled, addScrollLock, removeScrollLock]);
5583
+ return function (element) {
5584
+ scrollTarget.current = element;
5585
+ };
5586
+ }
5587
+
5588
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
5589
+
5590
+ var blurSelectInput = function blurSelectInput() {
5591
+ return document.activeElement && document.activeElement.blur();
5592
+ };
5593
+
5594
+ var _ref2 = false ? 0 : {
5595
+ name: "bp8cua-ScrollManager",
5596
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
5597
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0RVIiwiZmlsZSI6IlNjcm9sbE1hbmFnZXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QsIHsgdHlwZSBFbGVtZW50IH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHVzZVNjcm9sbENhcHR1cmUgZnJvbSAnLi91c2VTY3JvbGxDYXB0dXJlJztcbmltcG9ydCB1c2VTY3JvbGxMb2NrIGZyb20gJy4vdXNlU2Nyb2xsTG9jayc7XG5cbnR5cGUgUmVmQ2FsbGJhY2s8VD4gPSAoVCB8IG51bGwpID0+IHZvaWQ7XG5cbnR5cGUgUHJvcHMgPSB7XG4gIGNoaWxkcmVuOiAoUmVmQ2FsbGJhY2s8SFRNTEVsZW1lbnQ+KSA9PiBFbGVtZW50PCo+LFxuICBsb2NrRW5hYmxlZDogYm9vbGVhbixcbiAgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW4sXG4gIG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBTeW50aGV0aWNFdmVudDxIVE1MRWxlbWVudD4pID0+IHZvaWQsXG4gIG9uQm90dG9tTGVhdmU/OiAoZXZlbnQ6IFN5bnRoZXRpY0V2ZW50PEhUTUxFbGVtZW50PikgPT4gdm9pZCxcbiAgb25Ub3BBcnJpdmU/OiAoZXZlbnQ6IFN5bnRoZXRpY0V2ZW50PEhUTUxFbGVtZW50PikgPT4gdm9pZCxcbiAgb25Ub3BMZWF2ZT86IChldmVudDogU3ludGhldGljRXZlbnQ8SFRNTEVsZW1lbnQ+KSA9PiB2b2lkLFxufTtcblxuY29uc3QgYmx1clNlbGVjdElucHV0ID0gKCkgPT5cbiAgZG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJiBkb2N1bWVudC5hY3RpdmVFbGVtZW50LmJsdXIoKTtcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gU2Nyb2xsTWFuYWdlcih7XG4gIGNoaWxkcmVuLFxuICBsb2NrRW5hYmxlZCxcbiAgY2FwdHVyZUVuYWJsZWQgPSB0cnVlLFxuICBvbkJvdHRvbUFycml2ZSxcbiAgb25Cb3R0b21MZWF2ZSxcbiAgb25Ub3BBcnJpdmUsXG4gIG9uVG9wTGVhdmUsXG59OiBQcm9wcykge1xuICBjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmID0gZWxlbWVudCA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPFJlYWN0LkZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvUmVhY3QuRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
5598
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
5599
+ };
5600
+
5601
+ function ScrollManager(_ref) {
5602
+ var children = _ref.children,
5603
+ lockEnabled = _ref.lockEnabled,
5604
+ _ref$captureEnabled = _ref.captureEnabled,
5605
+ captureEnabled = _ref$captureEnabled === void 0 ? true : _ref$captureEnabled,
5606
+ onBottomArrive = _ref.onBottomArrive,
5607
+ onBottomLeave = _ref.onBottomLeave,
5608
+ onTopArrive = _ref.onTopArrive,
5609
+ onTopLeave = _ref.onTopLeave;
5610
+ var setScrollCaptureTarget = useScrollCapture({
5611
+ isEnabled: captureEnabled,
5612
+ onBottomArrive: onBottomArrive,
5613
+ onBottomLeave: onBottomLeave,
5614
+ onTopArrive: onTopArrive,
5615
+ onTopLeave: onTopLeave
5616
+ });
5617
+ var setScrollLockTarget = useScrollLock({
5618
+ isEnabled: lockEnabled
5619
+ });
5620
+
5621
+ var targetRef = function targetRef(element) {
5622
+ setScrollCaptureTarget(element);
5623
+ setScrollLockTarget(element);
5624
+ };
5625
+
5626
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, lockEnabled && (0,_emotion_react__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", {
5627
+ onClick: blurSelectInput,
5628
+ css: _ref2
5629
+ }), children(targetRef));
5630
+ }
5631
+
5632
+ var formatGroupLabel = function formatGroupLabel(group) {
5633
+ return group.label;
5634
+ };
5635
+ var getOptionLabel = function getOptionLabel(option) {
5636
+ return option.label;
5637
+ };
5638
+ var getOptionValue = function getOptionValue(option) {
5639
+ return option.value;
5640
+ };
5641
+ var isOptionDisabled = function isOptionDisabled(option) {
5642
+ return !!option.isDisabled;
5643
+ };
5644
+
5645
+ var defaultStyles = {
5646
+ clearIndicator: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.b,
5647
+ container: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.d,
5648
+ control: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.e,
5649
+ dropdownIndicator: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.f,
5650
+ group: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.g,
5651
+ groupHeading: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.h,
5652
+ indicatorsContainer: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.i,
5653
+ indicatorSeparator: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.j,
5654
+ input: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.k,
5655
+ loadingIndicator: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.l,
5656
+ loadingMessage: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.m,
5657
+ menu: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.n,
5658
+ menuList: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.o,
5659
+ menuPortal: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.p,
5660
+ multiValue: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.q,
5661
+ multiValueLabel: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.r,
5662
+ multiValueRemove: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.t,
5663
+ noOptionsMessage: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.u,
5664
+ option: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.v,
5665
+ placeholder: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.w,
5666
+ singleValue: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.x,
5667
+ valueContainer: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.y
5668
+ }; // Merge Utility
5669
+ // Allows consumers to extend a base Select with additional styles
5670
+
5671
+ function mergeStyles(source) {
5672
+ var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
5673
+
5674
+ // initialize with source styles
5675
+ var styles = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({}, source); // massage in target styles
5676
+
5677
+
5678
+ Object.keys(target).forEach(function (key) {
5679
+ if (source[key]) {
5680
+ styles[key] = function (rsCss, props) {
5681
+ return target[key](source[key](rsCss, props), props);
5682
+ };
5683
+ } else {
5684
+ styles[key] = target[key];
5685
+ }
5686
+ });
5687
+ return styles;
5688
+ }
5689
+
5690
+ var colors = {
5691
+ primary: '#2684FF',
5692
+ primary75: '#4C9AFF',
5693
+ primary50: '#B2D4FF',
5694
+ primary25: '#DEEBFF',
5695
+ danger: '#DE350B',
5696
+ dangerLight: '#FFBDAD',
5697
+ neutral0: 'hsl(0, 0%, 100%)',
5698
+ neutral5: 'hsl(0, 0%, 95%)',
5699
+ neutral10: 'hsl(0, 0%, 90%)',
5700
+ neutral20: 'hsl(0, 0%, 80%)',
5701
+ neutral30: 'hsl(0, 0%, 70%)',
5702
+ neutral40: 'hsl(0, 0%, 60%)',
5703
+ neutral50: 'hsl(0, 0%, 50%)',
5704
+ neutral60: 'hsl(0, 0%, 40%)',
5705
+ neutral70: 'hsl(0, 0%, 30%)',
5706
+ neutral80: 'hsl(0, 0%, 20%)',
5707
+ neutral90: 'hsl(0, 0%, 10%)'
5708
+ };
5709
+ var borderRadius = 4; // Used to calculate consistent margin/padding on elements
5710
+
5711
+ var baseUnit = 4; // The minimum height of the control
5712
+
5713
+ var controlHeight = 38; // The amount of space between the control and menu */
5714
+
5715
+ var menuGutter = baseUnit * 2;
5716
+ var spacing = {
5717
+ baseUnit: baseUnit,
5718
+ controlHeight: controlHeight,
5719
+ menuGutter: menuGutter
5720
+ };
5721
+ var defaultTheme = {
5722
+ borderRadius: borderRadius,
5723
+ colors: colors,
5724
+ spacing: spacing
5725
+ };
5726
+
5727
+ var defaultProps = {
5728
+ 'aria-live': 'polite',
5729
+ backspaceRemovesValue: true,
5730
+ blurInputOnSelect: (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.z)(),
5731
+ captureMenuScroll: !(0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.z)(),
5732
+ closeMenuOnSelect: true,
5733
+ closeMenuOnScroll: false,
5734
+ components: {},
5735
+ controlShouldRenderValue: true,
5736
+ escapeClearsValue: false,
5737
+ filterOption: createFilter(),
5738
+ formatGroupLabel: formatGroupLabel,
5739
+ getOptionLabel: getOptionLabel,
5740
+ getOptionValue: getOptionValue,
5741
+ isDisabled: false,
5742
+ isLoading: false,
5743
+ isMulti: false,
5744
+ isRtl: false,
5745
+ isSearchable: true,
5746
+ isOptionDisabled: isOptionDisabled,
5747
+ loadingMessage: function loadingMessage() {
5748
+ return 'Loading...';
5749
+ },
5750
+ maxMenuHeight: 300,
5751
+ minMenuHeight: 140,
5752
+ menuIsOpen: false,
5753
+ menuPlacement: 'bottom',
5754
+ menuPosition: 'absolute',
5755
+ menuShouldBlockScroll: false,
5756
+ menuShouldScrollIntoView: !(0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.A)(),
5757
+ noOptionsMessage: function noOptionsMessage() {
5758
+ return 'No options';
5759
+ },
5760
+ openMenuOnFocus: false,
5761
+ openMenuOnClick: true,
5762
+ options: [],
5763
+ pageSize: 5,
5764
+ placeholder: 'Select...',
5765
+ screenReaderStatus: function screenReaderStatus(_ref) {
5766
+ var count = _ref.count;
5767
+ return "".concat(count, " result").concat(count !== 1 ? 's' : '', " available");
5768
+ },
5769
+ styles: {},
5770
+ tabIndex: '0',
5771
+ tabSelectsValue: true
5772
+ };
5773
+
5774
+ function toCategorizedOption(props, option, selectValue, index) {
5775
+ var isDisabled = _isOptionDisabled(props, option, selectValue);
5776
+
5777
+ var isSelected = _isOptionSelected(props, option, selectValue);
5778
+
5779
+ var label = getOptionLabel$1(props, option);
5780
+ var value = getOptionValue$1(props, option);
5781
+ return {
5782
+ type: 'option',
5783
+ data: option,
5784
+ isDisabled: isDisabled,
5785
+ isSelected: isSelected,
5786
+ label: label,
5787
+ value: value,
5788
+ index: index
5789
+ };
5790
+ }
5791
+
5792
+ function buildCategorizedOptions(props, selectValue) {
5793
+ return props.options.map(function (groupOrOption, groupOrOptionIndex) {
5794
+ if (groupOrOption.options) {
5795
+ var categorizedOptions = groupOrOption.options.map(function (option, optionIndex) {
5796
+ return toCategorizedOption(props, option, selectValue, optionIndex);
5797
+ }).filter(function (categorizedOption) {
5798
+ return isFocusable(props, categorizedOption);
5799
+ });
5800
+ return categorizedOptions.length > 0 ? {
5801
+ type: 'group',
5802
+ data: groupOrOption,
5803
+ options: categorizedOptions,
5804
+ index: groupOrOptionIndex
5805
+ } : undefined;
5806
+ }
5807
+
5808
+ var categorizedOption = toCategorizedOption(props, groupOrOption, selectValue, groupOrOptionIndex);
5809
+ return isFocusable(props, categorizedOption) ? categorizedOption : undefined;
5810
+ }) // Flow limitation (see https://github.com/facebook/flow/issues/1414)
5811
+ .filter(function (categorizedOption) {
5812
+ return !!categorizedOption;
5813
+ });
5814
+ }
5815
+
5816
+ function buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {
5817
+ return categorizedOptions.reduce(function (optionsAccumulator, categorizedOption) {
5818
+ if (categorizedOption.type === 'group') {
5819
+ optionsAccumulator.push.apply(optionsAccumulator, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__.default)(categorizedOption.options.map(function (option) {
5820
+ return option.data;
5821
+ })));
5822
+ } else {
5823
+ optionsAccumulator.push(categorizedOption.data);
5824
+ }
5825
+
5826
+ return optionsAccumulator;
5827
+ }, []);
5828
+ }
5829
+
5830
+ function buildFocusableOptions(props, selectValue) {
5831
+ return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue));
5832
+ }
5833
+
5834
+ function isFocusable(props, categorizedOption) {
5835
+ var _props$inputValue = props.inputValue,
5836
+ inputValue = _props$inputValue === void 0 ? '' : _props$inputValue;
5837
+ var data = categorizedOption.data,
5838
+ isSelected = categorizedOption.isSelected,
5839
+ label = categorizedOption.label,
5840
+ value = categorizedOption.value;
5841
+ return (!shouldHideSelectedOptions(props) || !isSelected) && _filterOption(props, {
5842
+ label: label,
5843
+ value: value,
5844
+ data: data
5845
+ }, inputValue);
5846
+ }
5847
+
5848
+ function getNextFocusedValue(state, nextSelectValue) {
5849
+ var focusedValue = state.focusedValue,
5850
+ lastSelectValue = state.selectValue;
5851
+ var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);
5852
+
5853
+ if (lastFocusedIndex > -1) {
5854
+ var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);
5855
+
5856
+ if (nextFocusedIndex > -1) {
5857
+ // the focused value is still in the selectValue, return it
5858
+ return focusedValue;
5859
+ } else if (lastFocusedIndex < nextSelectValue.length) {
5860
+ // the focusedValue is not present in the next selectValue array by
5861
+ // reference, so return the new value at the same index
5862
+ return nextSelectValue[lastFocusedIndex];
5863
+ }
5864
+ }
5865
+
5866
+ return null;
5867
+ }
5868
+
5869
+ function getNextFocusedOption(state, options) {
5870
+ var lastFocusedOption = state.focusedOption;
5871
+ return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
5872
+ }
5873
+
5874
+ var getOptionLabel$1 = function getOptionLabel(props, data) {
5875
+ return props.getOptionLabel(data);
5876
+ };
5877
+
5878
+ var getOptionValue$1 = function getOptionValue(props, data) {
5879
+ return props.getOptionValue(data);
5880
+ };
5881
+
5882
+ function _isOptionDisabled(props, option, selectValue) {
5883
+ return typeof props.isOptionDisabled === 'function' ? props.isOptionDisabled(option, selectValue) : false;
5884
+ }
5885
+
5886
+ function _isOptionSelected(props, option, selectValue) {
5887
+ if (selectValue.indexOf(option) > -1) return true;
5888
+
5889
+ if (typeof props.isOptionSelected === 'function') {
5890
+ return props.isOptionSelected(option, selectValue);
5891
+ }
5892
+
5893
+ var candidate = getOptionValue$1(props, option);
5894
+ return selectValue.some(function (i) {
5895
+ return getOptionValue$1(props, i) === candidate;
5896
+ });
5897
+ }
5898
+
5899
+ function _filterOption(props, option, inputValue) {
5900
+ return props.filterOption ? props.filterOption(option, inputValue) : true;
5901
+ }
5902
+
5903
+ var shouldHideSelectedOptions = function shouldHideSelectedOptions(props) {
5904
+ var hideSelectedOptions = props.hideSelectedOptions,
5905
+ isMulti = props.isMulti;
5906
+ if (hideSelectedOptions === undefined) return isMulti;
5907
+ return hideSelectedOptions;
5908
+ };
5909
+
5910
+ var instanceId = 1;
5911
+
5912
+ var Select = /*#__PURE__*/function (_Component) {
5913
+ (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__.default)(Select, _Component);
5914
+
5915
+ var _super = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__._)(Select);
5916
+
5917
+ // Misc. Instance Properties
5918
+ // ------------------------------
5919
+ // TODO
5920
+ // Refs
5921
+ // ------------------------------
5922
+ // Lifecycle
5923
+ // ------------------------------
5924
+ function Select(_props) {
5925
+ var _this;
5926
+
5927
+ (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.default)(this, Select);
5928
+
5929
+ _this = _super.call(this, _props);
5930
+ _this.state = {
5931
+ ariaSelection: null,
5932
+ focusedOption: null,
5933
+ focusedValue: null,
5934
+ inputIsHidden: false,
5935
+ isFocused: false,
5936
+ selectValue: [],
5937
+ clearFocusValueOnUpdate: false,
5938
+ inputIsHiddenAfterUpdate: undefined,
5939
+ prevProps: undefined
5940
+ };
5941
+ _this.blockOptionHover = false;
5942
+ _this.isComposing = false;
5943
+ _this.commonProps = void 0;
5944
+ _this.initialTouchX = 0;
5945
+ _this.initialTouchY = 0;
5946
+ _this.instancePrefix = '';
5947
+ _this.openAfterFocus = false;
5948
+ _this.scrollToFocusedOptionOnUpdate = false;
5949
+ _this.userIsDragging = void 0;
5950
+ _this.controlRef = null;
5951
+
5952
+ _this.getControlRef = function (ref) {
5953
+ _this.controlRef = ref;
5954
+ };
5955
+
5956
+ _this.focusedOptionRef = null;
5957
+
5958
+ _this.getFocusedOptionRef = function (ref) {
5959
+ _this.focusedOptionRef = ref;
5960
+ };
5961
+
5962
+ _this.menuListRef = null;
5963
+
5964
+ _this.getMenuListRef = function (ref) {
5965
+ _this.menuListRef = ref;
5966
+ };
5967
+
5968
+ _this.inputRef = null;
5969
+
5970
+ _this.getInputRef = function (ref) {
5971
+ _this.inputRef = ref;
5972
+ };
5973
+
5974
+ _this.focus = _this.focusInput;
5975
+ _this.blur = _this.blurInput;
5976
+
5977
+ _this.onChange = function (newValue, actionMeta) {
5978
+ var _this$props = _this.props,
5979
+ onChange = _this$props.onChange,
5980
+ name = _this$props.name;
5981
+ actionMeta.name = name;
5982
+
5983
+ _this.ariaOnChange(newValue, actionMeta);
5984
+
5985
+ onChange(newValue, actionMeta);
5986
+ };
5987
+
5988
+ _this.setValue = function (newValue) {
5989
+ var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'set-value';
5990
+ var option = arguments.length > 2 ? arguments[2] : undefined;
5991
+ var _this$props2 = _this.props,
5992
+ closeMenuOnSelect = _this$props2.closeMenuOnSelect,
5993
+ isMulti = _this$props2.isMulti;
5994
+
5995
+ _this.onInputChange('', {
5996
+ action: 'set-value'
5997
+ });
5998
+
5999
+ if (closeMenuOnSelect) {
6000
+ _this.setState({
6001
+ inputIsHiddenAfterUpdate: !isMulti
6002
+ });
6003
+
6004
+ _this.onMenuClose();
6005
+ } // when the select value should change, we should reset focusedValue
6006
+
6007
+
6008
+ _this.setState({
6009
+ clearFocusValueOnUpdate: true
6010
+ });
6011
+
6012
+ _this.onChange(newValue, {
6013
+ action: action,
6014
+ option: option
6015
+ });
6016
+ };
6017
+
6018
+ _this.selectOption = function (newValue) {
6019
+ var _this$props3 = _this.props,
6020
+ blurInputOnSelect = _this$props3.blurInputOnSelect,
6021
+ isMulti = _this$props3.isMulti,
6022
+ name = _this$props3.name;
6023
+ var selectValue = _this.state.selectValue;
6024
+
6025
+ var deselected = isMulti && _this.isOptionSelected(newValue, selectValue);
6026
+
6027
+ var isDisabled = _this.isOptionDisabled(newValue, selectValue);
6028
+
6029
+ if (deselected) {
6030
+ var candidate = _this.getOptionValue(newValue);
6031
+
6032
+ _this.setValue(selectValue.filter(function (i) {
6033
+ return _this.getOptionValue(i) !== candidate;
6034
+ }), 'deselect-option', newValue);
6035
+ } else if (!isDisabled) {
6036
+ // Select option if option is not disabled
6037
+ if (isMulti) {
6038
+ _this.setValue([].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__.default)(selectValue), [newValue]), 'select-option', newValue);
6039
+ } else {
6040
+ _this.setValue(newValue, 'select-option');
6041
+ }
6042
+ } else {
6043
+ _this.ariaOnChange(newValue, {
6044
+ action: 'select-option',
6045
+ name: name
6046
+ });
6047
+
6048
+ return;
6049
+ }
6050
+
6051
+ if (blurInputOnSelect) {
6052
+ _this.blurInput();
6053
+ }
6054
+ };
6055
+
6056
+ _this.removeValue = function (removedValue) {
6057
+ var isMulti = _this.props.isMulti;
6058
+ var selectValue = _this.state.selectValue;
6059
+
6060
+ var candidate = _this.getOptionValue(removedValue);
6061
+
6062
+ var newValueArray = selectValue.filter(function (i) {
6063
+ return _this.getOptionValue(i) !== candidate;
6064
+ });
6065
+ var newValue = isMulti ? newValueArray : newValueArray[0] || null;
6066
+
6067
+ _this.onChange(newValue, {
6068
+ action: 'remove-value',
6069
+ removedValue: removedValue
6070
+ });
6071
+
6072
+ _this.focusInput();
6073
+ };
6074
+
6075
+ _this.clearValue = function () {
6076
+ var selectValue = _this.state.selectValue;
6077
+
6078
+ _this.onChange(_this.props.isMulti ? [] : null, {
6079
+ action: 'clear',
6080
+ removedValues: selectValue
6081
+ });
6082
+ };
6083
+
6084
+ _this.popValue = function () {
6085
+ var isMulti = _this.props.isMulti;
6086
+ var selectValue = _this.state.selectValue;
6087
+ var lastSelectedValue = selectValue[selectValue.length - 1];
6088
+ var newValueArray = selectValue.slice(0, selectValue.length - 1);
6089
+ var newValue = isMulti ? newValueArray : newValueArray[0] || null;
6090
+
6091
+ _this.onChange(newValue, {
6092
+ action: 'pop-value',
6093
+ removedValue: lastSelectedValue
6094
+ });
6095
+ };
6096
+
6097
+ _this.getValue = function () {
6098
+ return _this.state.selectValue;
6099
+ };
6100
+
6101
+ _this.cx = function () {
6102
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6103
+ args[_key] = arguments[_key];
6104
+ }
6105
+
6106
+ return _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.B.apply(void 0, [_this.props.classNamePrefix].concat(args));
6107
+ };
6108
+
6109
+ _this.getOptionLabel = function (data) {
6110
+ return getOptionLabel$1(_this.props, data);
6111
+ };
6112
+
6113
+ _this.getOptionValue = function (data) {
6114
+ return getOptionValue$1(_this.props, data);
6115
+ };
6116
+
6117
+ _this.getStyles = function (key, props) {
6118
+ var base = defaultStyles[key](props);
6119
+ base.boxSizing = 'border-box';
6120
+ var custom = _this.props.styles[key];
6121
+ return custom ? custom(base, props) : base;
6122
+ };
6123
+
6124
+ _this.getElementId = function (element) {
6125
+ return "".concat(_this.instancePrefix, "-").concat(element);
6126
+ };
6127
+
6128
+ _this.getComponents = function () {
6129
+ return (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.C)(_this.props);
6130
+ };
6131
+
6132
+ _this.buildCategorizedOptions = function () {
6133
+ return buildCategorizedOptions(_this.props, _this.state.selectValue);
6134
+ };
6135
+
6136
+ _this.getCategorizedOptions = function () {
6137
+ return _this.props.menuIsOpen ? _this.buildCategorizedOptions() : [];
6138
+ };
6139
+
6140
+ _this.buildFocusableOptions = function () {
6141
+ return buildFocusableOptionsFromCategorizedOptions(_this.buildCategorizedOptions());
6142
+ };
6143
+
6144
+ _this.getFocusableOptions = function () {
6145
+ return _this.props.menuIsOpen ? _this.buildFocusableOptions() : [];
6146
+ };
6147
+
6148
+ _this.ariaOnChange = function (value, actionMeta) {
6149
+ _this.setState({
6150
+ ariaSelection: (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({
6151
+ value: value
6152
+ }, actionMeta)
6153
+ });
6154
+ };
6155
+
6156
+ _this.onMenuMouseDown = function (event) {
6157
+ if (event.button !== 0) {
6158
+ return;
6159
+ }
6160
+
6161
+ event.stopPropagation();
6162
+ event.preventDefault();
6163
+
6164
+ _this.focusInput();
6165
+ };
6166
+
6167
+ _this.onMenuMouseMove = function (event) {
6168
+ _this.blockOptionHover = false;
6169
+ };
6170
+
6171
+ _this.onControlMouseDown = function (event) {
6172
+ var openMenuOnClick = _this.props.openMenuOnClick;
6173
+
6174
+ if (!_this.state.isFocused) {
6175
+ if (openMenuOnClick) {
6176
+ _this.openAfterFocus = true;
6177
+ }
6178
+
6179
+ _this.focusInput();
6180
+ } else if (!_this.props.menuIsOpen) {
6181
+ if (openMenuOnClick) {
6182
+ _this.openMenu('first');
6183
+ }
6184
+ } else {
6185
+ if ( // $FlowFixMe
6186
+ event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
6187
+ _this.onMenuClose();
6188
+ }
6189
+ }
6190
+
6191
+ if ( // $FlowFixMe
6192
+ event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
6193
+ event.preventDefault();
6194
+ }
6195
+ };
6196
+
6197
+ _this.onDropdownIndicatorMouseDown = function (event) {
6198
+ // ignore mouse events that weren't triggered by the primary button
6199
+ if (event && event.type === 'mousedown' && event.button !== 0) {
6200
+ return;
6201
+ }
6202
+
6203
+ if (_this.props.isDisabled) return;
6204
+ var _this$props4 = _this.props,
6205
+ isMulti = _this$props4.isMulti,
6206
+ menuIsOpen = _this$props4.menuIsOpen;
6207
+
6208
+ _this.focusInput();
6209
+
6210
+ if (menuIsOpen) {
6211
+ _this.setState({
6212
+ inputIsHiddenAfterUpdate: !isMulti
6213
+ });
6214
+
6215
+ _this.onMenuClose();
6216
+ } else {
6217
+ _this.openMenu('first');
6218
+ }
6219
+
6220
+ event.preventDefault();
6221
+ event.stopPropagation();
6222
+ };
6223
+
6224
+ _this.onClearIndicatorMouseDown = function (event) {
6225
+ // ignore mouse events that weren't triggered by the primary button
6226
+ if (event && event.type === 'mousedown' && event.button !== 0) {
6227
+ return;
6228
+ }
6229
+
6230
+ _this.clearValue();
6231
+
6232
+ event.stopPropagation();
6233
+ _this.openAfterFocus = false;
6234
+
6235
+ if (event.type === 'touchend') {
6236
+ _this.focusInput();
6237
+ } else {
6238
+ setTimeout(function () {
6239
+ return _this.focusInput();
6240
+ });
6241
+ }
6242
+ };
6243
+
6244
+ _this.onScroll = function (event) {
6245
+ if (typeof _this.props.closeMenuOnScroll === 'boolean') {
6246
+ if (event.target instanceof HTMLElement && (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.D)(event.target)) {
6247
+ _this.props.onMenuClose();
6248
+ }
6249
+ } else if (typeof _this.props.closeMenuOnScroll === 'function') {
6250
+ if (_this.props.closeMenuOnScroll(event)) {
6251
+ _this.props.onMenuClose();
6252
+ }
6253
+ }
6254
+ };
6255
+
6256
+ _this.onCompositionStart = function () {
6257
+ _this.isComposing = true;
6258
+ };
6259
+
6260
+ _this.onCompositionEnd = function () {
6261
+ _this.isComposing = false;
6262
+ };
6263
+
6264
+ _this.onTouchStart = function (_ref2) {
6265
+ var touches = _ref2.touches;
6266
+ var touch = touches && touches.item(0);
6267
+
6268
+ if (!touch) {
6269
+ return;
6270
+ }
6271
+
6272
+ _this.initialTouchX = touch.clientX;
6273
+ _this.initialTouchY = touch.clientY;
6274
+ _this.userIsDragging = false;
6275
+ };
6276
+
6277
+ _this.onTouchMove = function (_ref3) {
6278
+ var touches = _ref3.touches;
6279
+ var touch = touches && touches.item(0);
6280
+
6281
+ if (!touch) {
6282
+ return;
6283
+ }
6284
+
6285
+ var deltaX = Math.abs(touch.clientX - _this.initialTouchX);
6286
+ var deltaY = Math.abs(touch.clientY - _this.initialTouchY);
6287
+ var moveThreshold = 5;
6288
+ _this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;
6289
+ };
6290
+
6291
+ _this.onTouchEnd = function (event) {
6292
+ if (_this.userIsDragging) return; // close the menu if the user taps outside
6293
+ // we're checking on event.target here instead of event.currentTarget, because we want to assert information
6294
+ // on events on child elements, not the document (which we've attached this handler to).
6295
+
6296
+ if (_this.controlRef && !_this.controlRef.contains(event.target) && _this.menuListRef && !_this.menuListRef.contains(event.target)) {
6297
+ _this.blurInput();
6298
+ } // reset move vars
6299
+
6300
+
6301
+ _this.initialTouchX = 0;
6302
+ _this.initialTouchY = 0;
6303
+ };
6304
+
6305
+ _this.onControlTouchEnd = function (event) {
6306
+ if (_this.userIsDragging) return;
6307
+
6308
+ _this.onControlMouseDown(event);
6309
+ };
6310
+
6311
+ _this.onClearIndicatorTouchEnd = function (event) {
6312
+ if (_this.userIsDragging) return;
6313
+
6314
+ _this.onClearIndicatorMouseDown(event);
6315
+ };
6316
+
6317
+ _this.onDropdownIndicatorTouchEnd = function (event) {
6318
+ if (_this.userIsDragging) return;
6319
+
6320
+ _this.onDropdownIndicatorMouseDown(event);
6321
+ };
6322
+
6323
+ _this.handleInputChange = function (event) {
6324
+ var inputValue = event.currentTarget.value;
6325
+
6326
+ _this.setState({
6327
+ inputIsHiddenAfterUpdate: false
6328
+ });
6329
+
6330
+ _this.onInputChange(inputValue, {
6331
+ action: 'input-change'
6332
+ });
6333
+
6334
+ if (!_this.props.menuIsOpen) {
6335
+ _this.onMenuOpen();
6336
+ }
6337
+ };
6338
+
6339
+ _this.onInputFocus = function (event) {
6340
+ if (_this.props.onFocus) {
6341
+ _this.props.onFocus(event);
6342
+ }
6343
+
6344
+ _this.setState({
6345
+ inputIsHiddenAfterUpdate: false,
6346
+ isFocused: true
6347
+ });
6348
+
6349
+ if (_this.openAfterFocus || _this.props.openMenuOnFocus) {
6350
+ _this.openMenu('first');
6351
+ }
6352
+
6353
+ _this.openAfterFocus = false;
6354
+ };
6355
+
6356
+ _this.onInputBlur = function (event) {
6357
+ if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
6358
+ _this.inputRef.focus();
6359
+
6360
+ return;
6361
+ }
6362
+
6363
+ if (_this.props.onBlur) {
6364
+ _this.props.onBlur(event);
6365
+ }
6366
+
6367
+ _this.onInputChange('', {
6368
+ action: 'input-blur'
6369
+ });
6370
+
6371
+ _this.onMenuClose();
6372
+
6373
+ _this.setState({
6374
+ focusedValue: null,
6375
+ isFocused: false
6376
+ });
6377
+ };
6378
+
6379
+ _this.onOptionHover = function (focusedOption) {
6380
+ if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
6381
+ return;
6382
+ }
6383
+
6384
+ _this.setState({
6385
+ focusedOption: focusedOption
6386
+ });
6387
+ };
6388
+
6389
+ _this.shouldHideSelectedOptions = function () {
6390
+ return shouldHideSelectedOptions(_this.props);
6391
+ };
6392
+
6393
+ _this.onKeyDown = function (event) {
6394
+ var _this$props5 = _this.props,
6395
+ isMulti = _this$props5.isMulti,
6396
+ backspaceRemovesValue = _this$props5.backspaceRemovesValue,
6397
+ escapeClearsValue = _this$props5.escapeClearsValue,
6398
+ inputValue = _this$props5.inputValue,
6399
+ isClearable = _this$props5.isClearable,
6400
+ isDisabled = _this$props5.isDisabled,
6401
+ menuIsOpen = _this$props5.menuIsOpen,
6402
+ onKeyDown = _this$props5.onKeyDown,
6403
+ tabSelectsValue = _this$props5.tabSelectsValue,
6404
+ openMenuOnFocus = _this$props5.openMenuOnFocus;
6405
+ var _this$state = _this.state,
6406
+ focusedOption = _this$state.focusedOption,
6407
+ focusedValue = _this$state.focusedValue,
6408
+ selectValue = _this$state.selectValue;
6409
+ if (isDisabled) return;
6410
+
6411
+ if (typeof onKeyDown === 'function') {
6412
+ onKeyDown(event);
6413
+
6414
+ if (event.defaultPrevented) {
6415
+ return;
6416
+ }
6417
+ } // Block option hover events when the user has just pressed a key
6418
+
6419
+
6420
+ _this.blockOptionHover = true;
6421
+
6422
+ switch (event.key) {
6423
+ case 'ArrowLeft':
6424
+ if (!isMulti || inputValue) return;
6425
+
6426
+ _this.focusValue('previous');
6427
+
6428
+ break;
6429
+
6430
+ case 'ArrowRight':
6431
+ if (!isMulti || inputValue) return;
6432
+
6433
+ _this.focusValue('next');
6434
+
6435
+ break;
6436
+
6437
+ case 'Delete':
6438
+ case 'Backspace':
6439
+ if (inputValue) return;
6440
+
6441
+ if (focusedValue) {
6442
+ _this.removeValue(focusedValue);
6443
+ } else {
6444
+ if (!backspaceRemovesValue) return;
6445
+
6446
+ if (isMulti) {
6447
+ _this.popValue();
6448
+ } else if (isClearable) {
6449
+ _this.clearValue();
6450
+ }
6451
+ }
6452
+
6453
+ break;
6454
+
6455
+ case 'Tab':
6456
+ if (_this.isComposing) return;
6457
+
6458
+ if (event.shiftKey || !menuIsOpen || !tabSelectsValue || !focusedOption || // don't capture the event if the menu opens on focus and the focused
6459
+ // option is already selected; it breaks the flow of navigation
6460
+ openMenuOnFocus && _this.isOptionSelected(focusedOption, selectValue)) {
6461
+ return;
6462
+ }
6463
+
6464
+ _this.selectOption(focusedOption);
6465
+
6466
+ break;
6467
+
6468
+ case 'Enter':
6469
+ if (event.keyCode === 229) {
6470
+ // ignore the keydown event from an Input Method Editor(IME)
6471
+ // ref. https://www.w3.org/TR/uievents/#determine-keydown-keyup-keyCode
6472
+ break;
6473
+ }
6474
+
6475
+ if (menuIsOpen) {
6476
+ if (!focusedOption) return;
6477
+ if (_this.isComposing) return;
6478
+
6479
+ _this.selectOption(focusedOption);
6480
+
6481
+ break;
6482
+ }
6483
+
6484
+ return;
6485
+
6486
+ case 'Escape':
6487
+ if (menuIsOpen) {
6488
+ _this.setState({
6489
+ inputIsHiddenAfterUpdate: false
6490
+ });
6491
+
6492
+ _this.onInputChange('', {
6493
+ action: 'menu-close'
6494
+ });
6495
+
6496
+ _this.onMenuClose();
6497
+ } else if (isClearable && escapeClearsValue) {
6498
+ _this.clearValue();
6499
+ }
6500
+
6501
+ break;
6502
+
6503
+ case ' ':
6504
+ // space
6505
+ if (inputValue) {
6506
+ return;
6507
+ }
6508
+
6509
+ if (!menuIsOpen) {
6510
+ _this.openMenu('first');
6511
+
6512
+ break;
6513
+ }
6514
+
6515
+ if (!focusedOption) return;
6516
+
6517
+ _this.selectOption(focusedOption);
6518
+
6519
+ break;
6520
+
6521
+ case 'ArrowUp':
6522
+ if (menuIsOpen) {
6523
+ _this.focusOption('up');
6524
+ } else {
6525
+ _this.openMenu('last');
6526
+ }
6527
+
6528
+ break;
6529
+
6530
+ case 'ArrowDown':
6531
+ if (menuIsOpen) {
6532
+ _this.focusOption('down');
6533
+ } else {
6534
+ _this.openMenu('first');
6535
+ }
6536
+
6537
+ break;
6538
+
6539
+ case 'PageUp':
6540
+ if (!menuIsOpen) return;
6541
+
6542
+ _this.focusOption('pageup');
6543
+
6544
+ break;
6545
+
6546
+ case 'PageDown':
6547
+ if (!menuIsOpen) return;
6548
+
6549
+ _this.focusOption('pagedown');
6550
+
6551
+ break;
6552
+
6553
+ case 'Home':
6554
+ if (!menuIsOpen) return;
6555
+
6556
+ _this.focusOption('first');
6557
+
6558
+ break;
6559
+
6560
+ case 'End':
6561
+ if (!menuIsOpen) return;
6562
+
6563
+ _this.focusOption('last');
6564
+
6565
+ break;
6566
+
6567
+ default:
6568
+ return;
6569
+ }
6570
+
6571
+ event.preventDefault();
6572
+ };
6573
+
6574
+ _this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
6575
+ _this.state.selectValue = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.E)(_props.value);
6576
+ return _this;
6577
+ }
6578
+
6579
+ (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__.default)(Select, [{
6580
+ key: "componentDidMount",
6581
+ value: function componentDidMount() {
6582
+ this.startListeningComposition();
6583
+ this.startListeningToTouch();
6584
+
6585
+ if (this.props.closeMenuOnScroll && document && document.addEventListener) {
6586
+ // Listen to all scroll events, and filter them out inside of 'onScroll'
6587
+ document.addEventListener('scroll', this.onScroll, true);
6588
+ }
6589
+
6590
+ if (this.props.autoFocus) {
6591
+ this.focusInput();
6592
+ }
6593
+ }
6594
+ }, {
6595
+ key: "componentDidUpdate",
6596
+ value: function componentDidUpdate(prevProps) {
6597
+ var _this$props6 = this.props,
6598
+ isDisabled = _this$props6.isDisabled,
6599
+ menuIsOpen = _this$props6.menuIsOpen;
6600
+ var isFocused = this.state.isFocused;
6601
+
6602
+ if ( // ensure focus is restored correctly when the control becomes enabled
6603
+ isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens
6604
+ isFocused && menuIsOpen && !prevProps.menuIsOpen) {
6605
+ this.focusInput();
6606
+ }
6607
+
6608
+ if (isFocused && isDisabled && !prevProps.isDisabled) {
6609
+ // ensure select state gets blurred in case Select is programatically disabled while focused
6610
+ this.setState({
6611
+ isFocused: false
6612
+ }, this.onMenuClose);
6613
+ } // scroll the focused option into view if necessary
6614
+
6615
+
6616
+ if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {
6617
+ (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.F)(this.menuListRef, this.focusedOptionRef);
6618
+ this.scrollToFocusedOptionOnUpdate = false;
6619
+ }
6620
+ }
6621
+ }, {
6622
+ key: "componentWillUnmount",
6623
+ value: function componentWillUnmount() {
6624
+ this.stopListeningComposition();
6625
+ this.stopListeningToTouch();
6626
+ document.removeEventListener('scroll', this.onScroll, true);
6627
+ } // ==============================
6628
+ // Consumer Handlers
6629
+ // ==============================
6630
+
6631
+ }, {
6632
+ key: "onMenuOpen",
6633
+ value: function onMenuOpen() {
6634
+ this.props.onMenuOpen();
6635
+ }
6636
+ }, {
6637
+ key: "onMenuClose",
6638
+ value: function onMenuClose() {
6639
+ this.onInputChange('', {
6640
+ action: 'menu-close'
6641
+ });
6642
+ this.props.onMenuClose();
6643
+ }
6644
+ }, {
6645
+ key: "onInputChange",
6646
+ value: function onInputChange(newValue, actionMeta) {
6647
+ this.props.onInputChange(newValue, actionMeta);
6648
+ } // ==============================
6649
+ // Methods
6650
+ // ==============================
6651
+
6652
+ }, {
6653
+ key: "focusInput",
6654
+ value: function focusInput() {
6655
+ if (!this.inputRef) return;
6656
+ this.inputRef.focus();
6657
+ }
6658
+ }, {
6659
+ key: "blurInput",
6660
+ value: function blurInput() {
6661
+ if (!this.inputRef) return;
6662
+ this.inputRef.blur();
6663
+ } // aliased for consumers
6664
+
6665
+ }, {
6666
+ key: "openMenu",
6667
+ value: function openMenu(focusOption) {
6668
+ var _this2 = this;
6669
+
6670
+ var _this$state2 = this.state,
6671
+ selectValue = _this$state2.selectValue,
6672
+ isFocused = _this$state2.isFocused;
6673
+ var focusableOptions = this.buildFocusableOptions();
6674
+ var openAtIndex = focusOption === 'first' ? 0 : focusableOptions.length - 1;
6675
+
6676
+ if (!this.props.isMulti) {
6677
+ var selectedIndex = focusableOptions.indexOf(selectValue[0]);
6678
+
6679
+ if (selectedIndex > -1) {
6680
+ openAtIndex = selectedIndex;
6681
+ }
6682
+ } // only scroll if the menu isn't already open
6683
+
6684
+
6685
+ this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);
6686
+ this.setState({
6687
+ inputIsHiddenAfterUpdate: false,
6688
+ focusedValue: null,
6689
+ focusedOption: focusableOptions[openAtIndex]
6690
+ }, function () {
6691
+ return _this2.onMenuOpen();
6692
+ });
6693
+ }
6694
+ }, {
6695
+ key: "focusValue",
6696
+ value: function focusValue(direction) {
6697
+ var _this$state3 = this.state,
6698
+ selectValue = _this$state3.selectValue,
6699
+ focusedValue = _this$state3.focusedValue; // Only multiselects support value focusing
6700
+
6701
+ if (!this.props.isMulti) return;
6702
+ this.setState({
6703
+ focusedOption: null
6704
+ });
6705
+ var focusedIndex = selectValue.indexOf(focusedValue);
6706
+
6707
+ if (!focusedValue) {
6708
+ focusedIndex = -1;
6709
+ }
6710
+
6711
+ var lastIndex = selectValue.length - 1;
6712
+ var nextFocus = -1;
6713
+ if (!selectValue.length) return;
6714
+
6715
+ switch (direction) {
6716
+ case 'previous':
6717
+ if (focusedIndex === 0) {
6718
+ // don't cycle from the start to the end
6719
+ nextFocus = 0;
6720
+ } else if (focusedIndex === -1) {
6721
+ // if nothing is focused, focus the last value first
6722
+ nextFocus = lastIndex;
6723
+ } else {
6724
+ nextFocus = focusedIndex - 1;
6725
+ }
6726
+
6727
+ break;
6728
+
6729
+ case 'next':
6730
+ if (focusedIndex > -1 && focusedIndex < lastIndex) {
6731
+ nextFocus = focusedIndex + 1;
6732
+ }
6733
+
6734
+ break;
6735
+ }
6736
+
6737
+ this.setState({
6738
+ inputIsHidden: nextFocus !== -1,
6739
+ focusedValue: selectValue[nextFocus]
6740
+ });
6741
+ }
6742
+ }, {
6743
+ key: "focusOption",
6744
+ value: function focusOption() {
6745
+ var direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'first';
6746
+ var pageSize = this.props.pageSize;
6747
+ var focusedOption = this.state.focusedOption;
6748
+ var options = this.getFocusableOptions();
6749
+ if (!options.length) return;
6750
+ var nextFocus = 0; // handles 'first'
6751
+
6752
+ var focusedIndex = options.indexOf(focusedOption);
6753
+
6754
+ if (!focusedOption) {
6755
+ focusedIndex = -1;
6756
+ }
6757
+
6758
+ if (direction === 'up') {
6759
+ nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options.length - 1;
6760
+ } else if (direction === 'down') {
6761
+ nextFocus = (focusedIndex + 1) % options.length;
6762
+ } else if (direction === 'pageup') {
6763
+ nextFocus = focusedIndex - pageSize;
6764
+ if (nextFocus < 0) nextFocus = 0;
6765
+ } else if (direction === 'pagedown') {
6766
+ nextFocus = focusedIndex + pageSize;
6767
+ if (nextFocus > options.length - 1) nextFocus = options.length - 1;
6768
+ } else if (direction === 'last') {
6769
+ nextFocus = options.length - 1;
6770
+ }
6771
+
6772
+ this.scrollToFocusedOptionOnUpdate = true;
6773
+ this.setState({
6774
+ focusedOption: options[nextFocus],
6775
+ focusedValue: null
6776
+ });
6777
+ }
6778
+ }, {
6779
+ key: "getTheme",
6780
+ value: // ==============================
6781
+ // Getters
6782
+ // ==============================
6783
+ function getTheme() {
6784
+ // Use the default theme if there are no customizations.
6785
+ if (!this.props.theme) {
6786
+ return defaultTheme;
6787
+ } // If the theme prop is a function, assume the function
6788
+ // knows how to merge the passed-in default theme with
6789
+ // its own modifications.
6790
+
6791
+
6792
+ if (typeof this.props.theme === 'function') {
6793
+ return this.props.theme(defaultTheme);
6794
+ } // Otherwise, if a plain theme object was passed in,
6795
+ // overlay it with the default theme.
6796
+
6797
+
6798
+ return (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)((0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({}, defaultTheme), this.props.theme);
6799
+ }
6800
+ }, {
6801
+ key: "getCommonProps",
6802
+ value: function getCommonProps() {
6803
+ var clearValue = this.clearValue,
6804
+ cx = this.cx,
6805
+ getStyles = this.getStyles,
6806
+ getValue = this.getValue,
6807
+ selectOption = this.selectOption,
6808
+ setValue = this.setValue,
6809
+ props = this.props;
6810
+ var isMulti = props.isMulti,
6811
+ isRtl = props.isRtl,
6812
+ options = props.options;
6813
+ var hasValue = this.hasValue();
6814
+ return {
6815
+ clearValue: clearValue,
6816
+ cx: cx,
6817
+ getStyles: getStyles,
6818
+ getValue: getValue,
6819
+ hasValue: hasValue,
6820
+ isMulti: isMulti,
6821
+ isRtl: isRtl,
6822
+ options: options,
6823
+ selectOption: selectOption,
6824
+ selectProps: props,
6825
+ setValue: setValue,
6826
+ theme: this.getTheme()
6827
+ };
6828
+ }
6829
+ }, {
6830
+ key: "hasValue",
6831
+ value: function hasValue() {
6832
+ var selectValue = this.state.selectValue;
6833
+ return selectValue.length > 0;
6834
+ }
6835
+ }, {
6836
+ key: "hasOptions",
6837
+ value: function hasOptions() {
6838
+ return !!this.getFocusableOptions().length;
6839
+ }
6840
+ }, {
6841
+ key: "isClearable",
6842
+ value: function isClearable() {
6843
+ var _this$props7 = this.props,
6844
+ isClearable = _this$props7.isClearable,
6845
+ isMulti = _this$props7.isMulti; // single select, by default, IS NOT clearable
6846
+ // multi select, by default, IS clearable
6847
+
6848
+ if (isClearable === undefined) return isMulti;
6849
+ return isClearable;
6850
+ }
6851
+ }, {
6852
+ key: "isOptionDisabled",
6853
+ value: function isOptionDisabled(option, selectValue) {
6854
+ return _isOptionDisabled(this.props, option, selectValue);
6855
+ }
6856
+ }, {
6857
+ key: "isOptionSelected",
6858
+ value: function isOptionSelected(option, selectValue) {
6859
+ return _isOptionSelected(this.props, option, selectValue);
6860
+ }
6861
+ }, {
6862
+ key: "filterOption",
6863
+ value: function filterOption(option, inputValue) {
6864
+ return _filterOption(this.props, option, inputValue);
6865
+ }
6866
+ }, {
6867
+ key: "formatOptionLabel",
6868
+ value: function formatOptionLabel(data, context) {
6869
+ if (typeof this.props.formatOptionLabel === 'function') {
6870
+ var inputValue = this.props.inputValue;
6871
+ var selectValue = this.state.selectValue;
6872
+ return this.props.formatOptionLabel(data, {
6873
+ context: context,
6874
+ inputValue: inputValue,
6875
+ selectValue: selectValue
6876
+ });
6877
+ } else {
6878
+ return this.getOptionLabel(data);
6879
+ }
6880
+ }
6881
+ }, {
6882
+ key: "formatGroupLabel",
6883
+ value: function formatGroupLabel(data) {
6884
+ return this.props.formatGroupLabel(data);
6885
+ } // ==============================
6886
+ // Mouse Handlers
6887
+ // ==============================
6888
+
6889
+ }, {
6890
+ key: "startListeningComposition",
6891
+ value: // ==============================
6892
+ // Composition Handlers
6893
+ // ==============================
6894
+ function startListeningComposition() {
6895
+ if (document && document.addEventListener) {
6896
+ document.addEventListener('compositionstart', this.onCompositionStart, false);
6897
+ document.addEventListener('compositionend', this.onCompositionEnd, false);
6898
+ }
6899
+ }
6900
+ }, {
6901
+ key: "stopListeningComposition",
6902
+ value: function stopListeningComposition() {
6903
+ if (document && document.removeEventListener) {
6904
+ document.removeEventListener('compositionstart', this.onCompositionStart);
6905
+ document.removeEventListener('compositionend', this.onCompositionEnd);
6906
+ }
6907
+ }
6908
+ }, {
6909
+ key: "startListeningToTouch",
6910
+ value: // ==============================
6911
+ // Touch Handlers
6912
+ // ==============================
6913
+ function startListeningToTouch() {
6914
+ if (document && document.addEventListener) {
6915
+ document.addEventListener('touchstart', this.onTouchStart, false);
6916
+ document.addEventListener('touchmove', this.onTouchMove, false);
6917
+ document.addEventListener('touchend', this.onTouchEnd, false);
6918
+ }
6919
+ }
6920
+ }, {
6921
+ key: "stopListeningToTouch",
6922
+ value: function stopListeningToTouch() {
6923
+ if (document && document.removeEventListener) {
6924
+ document.removeEventListener('touchstart', this.onTouchStart);
6925
+ document.removeEventListener('touchmove', this.onTouchMove);
6926
+ document.removeEventListener('touchend', this.onTouchEnd);
6927
+ }
6928
+ }
6929
+ }, {
6930
+ key: "renderInput",
6931
+ value: // ==============================
6932
+ // Renderers
6933
+ // ==============================
6934
+ function renderInput() {
6935
+ var _this$props8 = this.props,
6936
+ isDisabled = _this$props8.isDisabled,
6937
+ isSearchable = _this$props8.isSearchable,
6938
+ inputId = _this$props8.inputId,
6939
+ inputValue = _this$props8.inputValue,
6940
+ tabIndex = _this$props8.tabIndex,
6941
+ form = _this$props8.form;
6942
+
6943
+ var _this$getComponents = this.getComponents(),
6944
+ Input = _this$getComponents.Input;
6945
+
6946
+ var inputIsHidden = this.state.inputIsHidden;
6947
+ var commonProps = this.commonProps;
6948
+ var id = inputId || this.getElementId('input'); // aria attributes makes the JSX "noisy", separated for clarity
6949
+
6950
+ var ariaAttributes = {
6951
+ 'aria-autocomplete': 'list',
6952
+ 'aria-label': this.props['aria-label'],
6953
+ 'aria-labelledby': this.props['aria-labelledby']
6954
+ };
6955
+
6956
+ if (!isSearchable) {
6957
+ // use a dummy input to maintain focus/blur functionality
6958
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(DummyInput, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
6959
+ id: id,
6960
+ innerRef: this.getInputRef,
6961
+ onBlur: this.onInputBlur,
6962
+ onChange: _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.G,
6963
+ onFocus: this.onInputFocus,
6964
+ readOnly: true,
6965
+ disabled: isDisabled,
6966
+ tabIndex: tabIndex,
6967
+ form: form,
6968
+ value: ""
6969
+ }, ariaAttributes));
6970
+ }
6971
+
6972
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Input, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
6973
+ autoCapitalize: "none",
6974
+ autoComplete: "off",
6975
+ autoCorrect: "off",
6976
+ id: id,
6977
+ innerRef: this.getInputRef,
6978
+ isDisabled: isDisabled,
6979
+ isHidden: inputIsHidden,
6980
+ onBlur: this.onInputBlur,
6981
+ onChange: this.handleInputChange,
6982
+ onFocus: this.onInputFocus,
6983
+ spellCheck: "false",
6984
+ tabIndex: tabIndex,
6985
+ form: form,
6986
+ type: "text",
6987
+ value: inputValue
6988
+ }, ariaAttributes));
6989
+ }
6990
+ }, {
6991
+ key: "renderPlaceholderOrValue",
6992
+ value: function renderPlaceholderOrValue() {
6993
+ var _this3 = this;
6994
+
6995
+ var _this$getComponents2 = this.getComponents(),
6996
+ MultiValue = _this$getComponents2.MultiValue,
6997
+ MultiValueContainer = _this$getComponents2.MultiValueContainer,
6998
+ MultiValueLabel = _this$getComponents2.MultiValueLabel,
6999
+ MultiValueRemove = _this$getComponents2.MultiValueRemove,
7000
+ SingleValue = _this$getComponents2.SingleValue,
7001
+ Placeholder = _this$getComponents2.Placeholder;
7002
+
7003
+ var commonProps = this.commonProps;
7004
+ var _this$props9 = this.props,
7005
+ controlShouldRenderValue = _this$props9.controlShouldRenderValue,
7006
+ isDisabled = _this$props9.isDisabled,
7007
+ isMulti = _this$props9.isMulti,
7008
+ inputValue = _this$props9.inputValue,
7009
+ placeholder = _this$props9.placeholder;
7010
+ var _this$state4 = this.state,
7011
+ selectValue = _this$state4.selectValue,
7012
+ focusedValue = _this$state4.focusedValue,
7013
+ isFocused = _this$state4.isFocused;
7014
+
7015
+ if (!this.hasValue() || !controlShouldRenderValue) {
7016
+ return inputValue ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Placeholder, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7017
+ key: "placeholder",
7018
+ isDisabled: isDisabled,
7019
+ isFocused: isFocused
7020
+ }), placeholder);
7021
+ }
7022
+
7023
+ if (isMulti) {
7024
+ var selectValues = selectValue.map(function (opt, index) {
7025
+ var isOptionFocused = opt === focusedValue;
7026
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(MultiValue, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7027
+ components: {
7028
+ Container: MultiValueContainer,
7029
+ Label: MultiValueLabel,
7030
+ Remove: MultiValueRemove
7031
+ },
7032
+ isFocused: isOptionFocused,
7033
+ isDisabled: isDisabled,
7034
+ key: "".concat(_this3.getOptionValue(opt)).concat(index),
7035
+ index: index,
7036
+ removeProps: {
7037
+ onClick: function onClick() {
7038
+ return _this3.removeValue(opt);
7039
+ },
7040
+ onTouchEnd: function onTouchEnd() {
7041
+ return _this3.removeValue(opt);
7042
+ },
7043
+ onMouseDown: function onMouseDown(e) {
7044
+ e.preventDefault();
7045
+ e.stopPropagation();
7046
+ }
7047
+ },
7048
+ data: opt
7049
+ }), _this3.formatOptionLabel(opt, 'value'));
7050
+ });
7051
+ return selectValues;
7052
+ }
7053
+
7054
+ if (inputValue) {
7055
+ return null;
7056
+ }
7057
+
7058
+ var singleValue = selectValue[0];
7059
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(SingleValue, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7060
+ data: singleValue,
7061
+ isDisabled: isDisabled
7062
+ }), this.formatOptionLabel(singleValue, 'value'));
7063
+ }
7064
+ }, {
7065
+ key: "renderClearIndicator",
7066
+ value: function renderClearIndicator() {
7067
+ var _this$getComponents3 = this.getComponents(),
7068
+ ClearIndicator = _this$getComponents3.ClearIndicator;
7069
+
7070
+ var commonProps = this.commonProps;
7071
+ var _this$props10 = this.props,
7072
+ isDisabled = _this$props10.isDisabled,
7073
+ isLoading = _this$props10.isLoading;
7074
+ var isFocused = this.state.isFocused;
7075
+
7076
+ if (!this.isClearable() || !ClearIndicator || isDisabled || !this.hasValue() || isLoading) {
7077
+ return null;
7078
+ }
7079
+
7080
+ var innerProps = {
7081
+ onMouseDown: this.onClearIndicatorMouseDown,
7082
+ onTouchEnd: this.onClearIndicatorTouchEnd,
7083
+ 'aria-hidden': 'true'
7084
+ };
7085
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(ClearIndicator, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7086
+ innerProps: innerProps,
7087
+ isFocused: isFocused
7088
+ }));
7089
+ }
7090
+ }, {
7091
+ key: "renderLoadingIndicator",
7092
+ value: function renderLoadingIndicator() {
7093
+ var _this$getComponents4 = this.getComponents(),
7094
+ LoadingIndicator = _this$getComponents4.LoadingIndicator;
7095
+
7096
+ var commonProps = this.commonProps;
7097
+ var _this$props11 = this.props,
7098
+ isDisabled = _this$props11.isDisabled,
7099
+ isLoading = _this$props11.isLoading;
7100
+ var isFocused = this.state.isFocused;
7101
+ if (!LoadingIndicator || !isLoading) return null;
7102
+ var innerProps = {
7103
+ 'aria-hidden': 'true'
7104
+ };
7105
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(LoadingIndicator, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7106
+ innerProps: innerProps,
7107
+ isDisabled: isDisabled,
7108
+ isFocused: isFocused
7109
+ }));
7110
+ }
7111
+ }, {
7112
+ key: "renderIndicatorSeparator",
7113
+ value: function renderIndicatorSeparator() {
7114
+ var _this$getComponents5 = this.getComponents(),
7115
+ DropdownIndicator = _this$getComponents5.DropdownIndicator,
7116
+ IndicatorSeparator = _this$getComponents5.IndicatorSeparator; // separator doesn't make sense without the dropdown indicator
7117
+
7118
+
7119
+ if (!DropdownIndicator || !IndicatorSeparator) return null;
7120
+ var commonProps = this.commonProps;
7121
+ var isDisabled = this.props.isDisabled;
7122
+ var isFocused = this.state.isFocused;
7123
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(IndicatorSeparator, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7124
+ isDisabled: isDisabled,
7125
+ isFocused: isFocused
7126
+ }));
7127
+ }
7128
+ }, {
7129
+ key: "renderDropdownIndicator",
7130
+ value: function renderDropdownIndicator() {
7131
+ var _this$getComponents6 = this.getComponents(),
7132
+ DropdownIndicator = _this$getComponents6.DropdownIndicator;
7133
+
7134
+ if (!DropdownIndicator) return null;
7135
+ var commonProps = this.commonProps;
7136
+ var isDisabled = this.props.isDisabled;
7137
+ var isFocused = this.state.isFocused;
7138
+ var innerProps = {
7139
+ onMouseDown: this.onDropdownIndicatorMouseDown,
7140
+ onTouchEnd: this.onDropdownIndicatorTouchEnd,
7141
+ 'aria-hidden': 'true'
7142
+ };
7143
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(DropdownIndicator, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7144
+ innerProps: innerProps,
7145
+ isDisabled: isDisabled,
7146
+ isFocused: isFocused
7147
+ }));
7148
+ }
7149
+ }, {
7150
+ key: "renderMenu",
7151
+ value: function renderMenu() {
7152
+ var _this4 = this;
7153
+
7154
+ var _this$getComponents7 = this.getComponents(),
7155
+ Group = _this$getComponents7.Group,
7156
+ GroupHeading = _this$getComponents7.GroupHeading,
7157
+ Menu = _this$getComponents7.Menu,
7158
+ MenuList = _this$getComponents7.MenuList,
7159
+ MenuPortal = _this$getComponents7.MenuPortal,
7160
+ LoadingMessage = _this$getComponents7.LoadingMessage,
7161
+ NoOptionsMessage = _this$getComponents7.NoOptionsMessage,
7162
+ Option = _this$getComponents7.Option;
7163
+
7164
+ var commonProps = this.commonProps;
7165
+ var focusedOption = this.state.focusedOption;
7166
+ var _this$props12 = this.props,
7167
+ captureMenuScroll = _this$props12.captureMenuScroll,
7168
+ inputValue = _this$props12.inputValue,
7169
+ isLoading = _this$props12.isLoading,
7170
+ loadingMessage = _this$props12.loadingMessage,
7171
+ minMenuHeight = _this$props12.minMenuHeight,
7172
+ maxMenuHeight = _this$props12.maxMenuHeight,
7173
+ menuIsOpen = _this$props12.menuIsOpen,
7174
+ menuPlacement = _this$props12.menuPlacement,
7175
+ menuPosition = _this$props12.menuPosition,
7176
+ menuPortalTarget = _this$props12.menuPortalTarget,
7177
+ menuShouldBlockScroll = _this$props12.menuShouldBlockScroll,
7178
+ menuShouldScrollIntoView = _this$props12.menuShouldScrollIntoView,
7179
+ noOptionsMessage = _this$props12.noOptionsMessage,
7180
+ onMenuScrollToTop = _this$props12.onMenuScrollToTop,
7181
+ onMenuScrollToBottom = _this$props12.onMenuScrollToBottom;
7182
+ if (!menuIsOpen) return null; // TODO: Internal Option Type here
7183
+
7184
+ var render = function render(props, id) {
7185
+ var type = props.type,
7186
+ data = props.data,
7187
+ isDisabled = props.isDisabled,
7188
+ isSelected = props.isSelected,
7189
+ label = props.label,
7190
+ value = props.value;
7191
+ var isFocused = focusedOption === data;
7192
+ var onHover = isDisabled ? undefined : function () {
7193
+ return _this4.onOptionHover(data);
7194
+ };
7195
+ var onSelect = isDisabled ? undefined : function () {
7196
+ return _this4.selectOption(data);
7197
+ };
7198
+ var optionId = "".concat(_this4.getElementId('option'), "-").concat(id);
7199
+ var innerProps = {
7200
+ id: optionId,
7201
+ onClick: onSelect,
7202
+ onMouseMove: onHover,
7203
+ onMouseOver: onHover,
7204
+ tabIndex: -1
7205
+ };
7206
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Option, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7207
+ innerProps: innerProps,
7208
+ data: data,
7209
+ isDisabled: isDisabled,
7210
+ isSelected: isSelected,
7211
+ key: optionId,
7212
+ label: label,
7213
+ type: type,
7214
+ value: value,
7215
+ isFocused: isFocused,
7216
+ innerRef: isFocused ? _this4.getFocusedOptionRef : undefined
7217
+ }), _this4.formatOptionLabel(props.data, 'menu'));
7218
+ };
7219
+
7220
+ var menuUI;
7221
+
7222
+ if (this.hasOptions()) {
7223
+ menuUI = this.getCategorizedOptions().map(function (item) {
7224
+ if (item.type === 'group') {
7225
+ var data = item.data,
7226
+ options = item.options,
7227
+ groupIndex = item.index;
7228
+ var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
7229
+ var headingId = "".concat(groupId, "-heading");
7230
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Group, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7231
+ key: groupId,
7232
+ data: data,
7233
+ options: options,
7234
+ Heading: GroupHeading,
7235
+ headingProps: {
7236
+ id: headingId,
7237
+ data: item.data
7238
+ },
7239
+ label: _this4.formatGroupLabel(item.data)
7240
+ }), item.options.map(function (option) {
7241
+ return render(option, "".concat(groupIndex, "-").concat(option.index));
7242
+ }));
7243
+ } else if (item.type === 'option') {
7244
+ return render(item, "".concat(item.index));
7245
+ }
7246
+ });
7247
+ } else if (isLoading) {
7248
+ var message = loadingMessage({
7249
+ inputValue: inputValue
7250
+ });
7251
+ if (message === null) return null;
7252
+ menuUI = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(LoadingMessage, commonProps, message);
7253
+ } else {
7254
+ var _message = noOptionsMessage({
7255
+ inputValue: inputValue
7256
+ });
7257
+
7258
+ if (_message === null) return null;
7259
+ menuUI = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(NoOptionsMessage, commonProps, _message);
7260
+ }
7261
+
7262
+ var menuPlacementProps = {
7263
+ minMenuHeight: minMenuHeight,
7264
+ maxMenuHeight: maxMenuHeight,
7265
+ menuPlacement: menuPlacement,
7266
+ menuPosition: menuPosition,
7267
+ menuShouldScrollIntoView: menuShouldScrollIntoView
7268
+ };
7269
+ var menuElement = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.M, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, menuPlacementProps), function (_ref4) {
7270
+ var ref = _ref4.ref,
7271
+ _ref4$placerProps = _ref4.placerProps,
7272
+ placement = _ref4$placerProps.placement,
7273
+ maxHeight = _ref4$placerProps.maxHeight;
7274
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Menu, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, menuPlacementProps, {
7275
+ innerRef: ref,
7276
+ innerProps: {
7277
+ onMouseDown: _this4.onMenuMouseDown,
7278
+ onMouseMove: _this4.onMenuMouseMove
7279
+ },
7280
+ isLoading: isLoading,
7281
+ placement: placement
7282
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(ScrollManager, {
7283
+ captureEnabled: captureMenuScroll,
7284
+ onTopArrive: onMenuScrollToTop,
7285
+ onBottomArrive: onMenuScrollToBottom,
7286
+ lockEnabled: menuShouldBlockScroll
7287
+ }, function (scrollTargetRef) {
7288
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(MenuList, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7289
+ innerRef: function innerRef(instance) {
7290
+ _this4.getMenuListRef(instance);
7291
+
7292
+ scrollTargetRef(instance);
7293
+ },
7294
+ isLoading: isLoading,
7295
+ maxHeight: maxHeight,
7296
+ focusedOption: focusedOption
7297
+ }), menuUI);
7298
+ }));
7299
+ }); // positioning behaviour is almost identical for portalled and fixed,
7300
+ // so we use the same component. the actual portalling logic is forked
7301
+ // within the component based on `menuPosition`
7302
+
7303
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(MenuPortal, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7304
+ appendTo: menuPortalTarget,
7305
+ controlElement: this.controlRef,
7306
+ menuPlacement: menuPlacement,
7307
+ menuPosition: menuPosition
7308
+ }), menuElement) : menuElement;
7309
+ }
7310
+ }, {
7311
+ key: "renderFormField",
7312
+ value: function renderFormField() {
7313
+ var _this5 = this;
7314
+
7315
+ var _this$props13 = this.props,
7316
+ delimiter = _this$props13.delimiter,
7317
+ isDisabled = _this$props13.isDisabled,
7318
+ isMulti = _this$props13.isMulti,
7319
+ name = _this$props13.name;
7320
+ var selectValue = this.state.selectValue;
7321
+ if (!name || isDisabled) return;
7322
+
7323
+ if (isMulti) {
7324
+ if (delimiter) {
7325
+ var value = selectValue.map(function (opt) {
7326
+ return _this5.getOptionValue(opt);
7327
+ }).join(delimiter);
7328
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("input", {
7329
+ name: name,
7330
+ type: "hidden",
7331
+ value: value
7332
+ });
7333
+ } else {
7334
+ var input = selectValue.length > 0 ? selectValue.map(function (opt, i) {
7335
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("input", {
7336
+ key: "i-".concat(i),
7337
+ name: name,
7338
+ type: "hidden",
7339
+ value: _this5.getOptionValue(opt)
7340
+ });
7341
+ }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("input", {
7342
+ name: name,
7343
+ type: "hidden"
7344
+ });
7345
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("div", null, input);
7346
+ }
7347
+ } else {
7348
+ var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : '';
7349
+
7350
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement("input", {
7351
+ name: name,
7352
+ type: "hidden",
7353
+ value: _value
7354
+ });
7355
+ }
7356
+ }
7357
+ }, {
7358
+ key: "renderLiveRegion",
7359
+ value: function renderLiveRegion() {
7360
+ var commonProps = this.commonProps;
7361
+ var _this$state5 = this.state,
7362
+ ariaSelection = _this$state5.ariaSelection,
7363
+ focusedOption = _this$state5.focusedOption,
7364
+ focusedValue = _this$state5.focusedValue,
7365
+ isFocused = _this$state5.isFocused,
7366
+ selectValue = _this$state5.selectValue;
7367
+ var focusableOptions = this.getFocusableOptions();
7368
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(LiveRegion, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7369
+ ariaSelection: ariaSelection,
7370
+ focusedOption: focusedOption,
7371
+ focusedValue: focusedValue,
7372
+ isFocused: isFocused,
7373
+ selectValue: selectValue,
7374
+ focusableOptions: focusableOptions
7375
+ }));
7376
+ }
7377
+ }, {
7378
+ key: "render",
7379
+ value: function render() {
7380
+ var _this$getComponents8 = this.getComponents(),
7381
+ Control = _this$getComponents8.Control,
7382
+ IndicatorsContainer = _this$getComponents8.IndicatorsContainer,
7383
+ SelectContainer = _this$getComponents8.SelectContainer,
7384
+ ValueContainer = _this$getComponents8.ValueContainer;
7385
+
7386
+ var _this$props14 = this.props,
7387
+ className = _this$props14.className,
7388
+ id = _this$props14.id,
7389
+ isDisabled = _this$props14.isDisabled,
7390
+ menuIsOpen = _this$props14.menuIsOpen;
7391
+ var isFocused = this.state.isFocused;
7392
+ var commonProps = this.commonProps = this.getCommonProps();
7393
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(SelectContainer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7394
+ className: className,
7395
+ innerProps: {
7396
+ id: id,
7397
+ onKeyDown: this.onKeyDown
7398
+ },
7399
+ isDisabled: isDisabled,
7400
+ isFocused: isFocused
7401
+ }), this.renderLiveRegion(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Control, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7402
+ innerRef: this.getControlRef,
7403
+ innerProps: {
7404
+ onMouseDown: this.onControlMouseDown,
7405
+ onTouchEnd: this.onControlTouchEnd
7406
+ },
7407
+ isDisabled: isDisabled,
7408
+ isFocused: isFocused,
7409
+ menuIsOpen: menuIsOpen
7410
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(ValueContainer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7411
+ isDisabled: isDisabled
7412
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(IndicatorsContainer, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, commonProps, {
7413
+ isDisabled: isDisabled
7414
+ }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
7415
+ }
7416
+ }], [{
7417
+ key: "getDerivedStateFromProps",
7418
+ value: function getDerivedStateFromProps(props, state) {
7419
+ var prevProps = state.prevProps,
7420
+ clearFocusValueOnUpdate = state.clearFocusValueOnUpdate,
7421
+ inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate;
7422
+ var options = props.options,
7423
+ value = props.value,
7424
+ menuIsOpen = props.menuIsOpen,
7425
+ inputValue = props.inputValue;
7426
+ var newMenuOptionsState = {};
7427
+
7428
+ if (prevProps && (value !== prevProps.value || options !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {
7429
+ var selectValue = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.E)(value);
7430
+ var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];
7431
+ var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;
7432
+ var focusedOption = getNextFocusedOption(state, focusableOptions);
7433
+ newMenuOptionsState = {
7434
+ selectValue: selectValue,
7435
+ focusedOption: focusedOption,
7436
+ focusedValue: focusedValue,
7437
+ clearFocusValueOnUpdate: false
7438
+ };
7439
+ } // some updates should toggle the state of the input visibility
7440
+
7441
+
7442
+ var newInputIsHiddenState = inputIsHiddenAfterUpdate != null && props !== prevProps ? {
7443
+ inputIsHidden: inputIsHiddenAfterUpdate,
7444
+ inputIsHiddenAfterUpdate: undefined
7445
+ } : {};
7446
+ return (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)((0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)((0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_8__.a)({}, newMenuOptionsState), newInputIsHiddenState), {}, {
7447
+ prevProps: props
7448
+ });
7449
+ }
7450
+ }]);
7451
+
7452
+ return Select;
7453
+ }(react__WEBPACK_IMPORTED_MODULE_5__.Component);
7454
+
7455
+ Select.defaultProps = defaultProps;
7456
+
7457
+
7458
+
7459
+
7460
+ /***/ }),
7461
+
7462
+ /***/ "./node_modules/react-select/dist/index-4bd03571.esm.js":
7463
+ /*!**************************************************************!*\
7464
+ !*** ./node_modules/react-select/dist/index-4bd03571.esm.js ***!
7465
+ \**************************************************************/
7466
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7467
+
7468
+ "use strict";
7469
+ __webpack_require__.r(__webpack_exports__);
7470
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7471
+ /* harmony export */ "A": () => (/* binding */ isMobileDevice),
7472
+ /* harmony export */ "B": () => (/* binding */ classNames),
7473
+ /* harmony export */ "C": () => (/* binding */ defaultComponents),
7474
+ /* harmony export */ "D": () => (/* binding */ isDocumentElement),
7475
+ /* harmony export */ "E": () => (/* binding */ cleanValue),
7476
+ /* harmony export */ "F": () => (/* binding */ scrollIntoView),
7477
+ /* harmony export */ "G": () => (/* binding */ noop),
7478
+ /* harmony export */ "H": () => (/* binding */ handleInputChange),
7479
+ /* harmony export */ "M": () => (/* binding */ MenuPlacer),
7480
+ /* harmony export */ "_": () => (/* binding */ _createSuper),
7481
+ /* harmony export */ "a": () => (/* binding */ _objectSpread2),
7482
+ /* harmony export */ "b": () => (/* binding */ clearIndicatorCSS),
7483
+ /* harmony export */ "c": () => (/* binding */ components),
7484
+ /* harmony export */ "d": () => (/* binding */ containerCSS),
7485
+ /* harmony export */ "e": () => (/* binding */ css),
7486
+ /* harmony export */ "f": () => (/* binding */ dropdownIndicatorCSS),
7487
+ /* harmony export */ "g": () => (/* binding */ groupCSS),
7488
+ /* harmony export */ "h": () => (/* binding */ groupHeadingCSS),
7489
+ /* harmony export */ "i": () => (/* binding */ indicatorsContainerCSS),
7490
+ /* harmony export */ "j": () => (/* binding */ indicatorSeparatorCSS),
7491
+ /* harmony export */ "k": () => (/* binding */ inputCSS),
7492
+ /* harmony export */ "l": () => (/* binding */ loadingIndicatorCSS),
7493
+ /* harmony export */ "m": () => (/* binding */ loadingMessageCSS),
7494
+ /* harmony export */ "n": () => (/* binding */ menuCSS),
7495
+ /* harmony export */ "o": () => (/* binding */ menuListCSS),
7496
+ /* harmony export */ "p": () => (/* binding */ menuPortalCSS),
7497
+ /* harmony export */ "q": () => (/* binding */ multiValueCSS),
7498
+ /* harmony export */ "r": () => (/* binding */ multiValueLabelCSS),
7499
+ /* harmony export */ "s": () => (/* binding */ supportsPassiveEvents),
7500
+ /* harmony export */ "t": () => (/* binding */ multiValueRemoveCSS),
7501
+ /* harmony export */ "u": () => (/* binding */ noOptionsMessageCSS),
7502
+ /* harmony export */ "v": () => (/* binding */ optionCSS),
7503
+ /* harmony export */ "w": () => (/* binding */ placeholderCSS),
7504
+ /* harmony export */ "x": () => (/* binding */ css$1),
7505
+ /* harmony export */ "y": () => (/* binding */ valueContainerCSS),
7506
+ /* harmony export */ "z": () => (/* binding */ isTouchCapable)
7507
+ /* harmony export */ });
7508
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
7509
+ /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-react.browser.esm.js");
7510
+ /* harmony import */ var _babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/taggedTemplateLiteral */ "./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js");
7511
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
7512
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
7513
+ /* harmony import */ var react_input_autosize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-input-autosize */ "./node_modules/react-input-autosize/lib/AutosizeInput.js");
7514
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
7515
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
7516
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
7517
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
7518
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ "react");
7519
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);
7520
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-dom */ "react-dom");
7521
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_10__);
7522
+
7523
+
7524
+
7525
+
7526
+
7527
+
7528
+
7529
+
7530
+
7531
+
7532
+
7533
+
7534
+
7535
+ function _defineProperty(obj, key, value) {
7536
+ if (key in obj) {
7537
+ Object.defineProperty(obj, key, {
7538
+ value: value,
7539
+ enumerable: true,
7540
+ configurable: true,
7541
+ writable: true
7542
+ });
7543
+ } else {
7544
+ obj[key] = value;
7545
+ }
7546
+
7547
+ return obj;
7548
+ }
7549
+
7550
+ function ownKeys(object, enumerableOnly) {
7551
+ var keys = Object.keys(object);
7552
+
7553
+ if (Object.getOwnPropertySymbols) {
7554
+ var symbols = Object.getOwnPropertySymbols(object);
7555
+ if (enumerableOnly) symbols = symbols.filter(function (sym) {
7556
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7557
+ });
7558
+ keys.push.apply(keys, symbols);
7559
+ }
7560
+
7561
+ return keys;
7562
+ }
7563
+
7564
+ function _objectSpread2(target) {
7565
+ for (var i = 1; i < arguments.length; i++) {
7566
+ var source = arguments[i] != null ? arguments[i] : {};
7567
+
7568
+ if (i % 2) {
7569
+ ownKeys(Object(source), true).forEach(function (key) {
7570
+ _defineProperty(target, key, source[key]);
7571
+ });
7572
+ } else if (Object.getOwnPropertyDescriptors) {
7573
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7574
+ } else {
7575
+ ownKeys(Object(source)).forEach(function (key) {
7576
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7577
+ });
7578
+ }
7579
+ }
7580
+
7581
+ return target;
7582
+ }
7583
+
7584
+ function _getPrototypeOf(o) {
7585
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
7586
+ return o.__proto__ || Object.getPrototypeOf(o);
7587
+ };
7588
+ return _getPrototypeOf(o);
7589
+ }
7590
+
7591
+ function _isNativeReflectConstruct() {
7592
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
7593
+ if (Reflect.construct.sham) return false;
7594
+ if (typeof Proxy === "function") return true;
7595
+
7596
+ try {
7597
+ Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
7598
+ return true;
7599
+ } catch (e) {
7600
+ return false;
7601
+ }
7602
+ }
7603
+
7604
+ function _assertThisInitialized(self) {
7605
+ if (self === void 0) {
7606
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7607
+ }
7608
+
7609
+ return self;
7610
+ }
7611
+
7612
+ function _possibleConstructorReturn(self, call) {
7613
+ if (call && (typeof call === "object" || typeof call === "function")) {
7614
+ return call;
7615
+ }
7616
+
7617
+ return _assertThisInitialized(self);
7618
+ }
7619
+
7620
+ function _createSuper(Derived) {
7621
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
7622
+ return function _createSuperInternal() {
7623
+ var Super = _getPrototypeOf(Derived),
7624
+ result;
7625
+
7626
+ if (hasNativeReflectConstruct) {
7627
+ var NewTarget = _getPrototypeOf(this).constructor;
7628
+ result = Reflect.construct(Super, arguments, NewTarget);
7629
+ } else {
7630
+ result = Super.apply(this, arguments);
7631
+ }
7632
+
7633
+ return _possibleConstructorReturn(this, result);
7634
+ };
7635
+ }
7636
+
7637
+ // ==============================
7638
+ // NO OP
7639
+ // ==============================
7640
+ var noop = function noop() {};
7641
+ // Class Name Prefixer
7642
+ // ==============================
7643
+
7644
+ /**
7645
+ String representation of component state for styling with class names.
7646
+
7647
+ Expects an array of strings OR a string/object pair:
7648
+ - className(['comp', 'comp-arg', 'comp-arg-2'])
7649
+ @returns 'react-select__comp react-select__comp-arg react-select__comp-arg-2'
7650
+ - className('comp', { some: true, state: false })
7651
+ @returns 'react-select__comp react-select__comp--some'
7652
+ */
7653
+
7654
+ function applyPrefixToName(prefix, name) {
7655
+ if (!name) {
7656
+ return prefix;
7657
+ } else if (name[0] === '-') {
7658
+ return prefix + name;
7659
+ } else {
7660
+ return prefix + '__' + name;
7661
+ }
7662
+ }
7663
+
7664
+ function classNames(prefix, state, className) {
7665
+ var arr = [className];
7666
+
7667
+ if (state && prefix) {
7668
+ for (var key in state) {
7669
+ if (state.hasOwnProperty(key) && state[key]) {
7670
+ arr.push("".concat(applyPrefixToName(prefix, key)));
7671
+ }
7672
+ }
7673
+ }
7674
+
7675
+ return arr.filter(function (i) {
7676
+ return i;
7677
+ }).map(function (i) {
7678
+ return String(i).trim();
7679
+ }).join(' ');
7680
+ } // ==============================
7681
+ // Clean Value
7682
+ // ==============================
7683
+
7684
+ var cleanValue = function cleanValue(value) {
7685
+ if (Array.isArray(value)) return value.filter(Boolean);
7686
+ if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__.default)(value) === 'object' && value !== null) return [value];
7687
+ return [];
7688
+ }; // ==============================
7689
+ // Clean Common Props
7690
+ // ==============================
7691
+
7692
+ var cleanCommonProps = function cleanCommonProps(props) {
7693
+ //className
7694
+ props.className;
7695
+ props.clearValue;
7696
+ props.cx;
7697
+ props.getStyles;
7698
+ props.getValue;
7699
+ props.hasValue;
7700
+ props.isMulti;
7701
+ props.isRtl;
7702
+ props.options;
7703
+ props.selectOption;
7704
+ props.selectProps;
7705
+ props.setValue;
7706
+ props.theme;
7707
+ var innerProps = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.default)(props, ["className", "clearValue", "cx", "getStyles", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"]);
7708
+
7709
+ return _objectSpread2({}, innerProps);
7710
+ }; // ==============================
7711
+ // Handle Input Change
7712
+ // ==============================
7713
+
7714
+ function handleInputChange(inputValue, actionMeta, onInputChange) {
7715
+ if (onInputChange) {
7716
+ var newValue = onInputChange(inputValue, actionMeta);
7717
+ if (typeof newValue === 'string') return newValue;
7718
+ }
7719
+
7720
+ return inputValue;
7721
+ } // ==============================
7722
+ // Scroll Helpers
7723
+ // ==============================
7724
+
7725
+ function isDocumentElement(el) {
7726
+ return [document.documentElement, document.body, window].indexOf(el) > -1;
7727
+ } // Normalized Scroll Top
7728
+ // ------------------------------
7729
+
7730
+ function getScrollTop(el) {
7731
+ if (isDocumentElement(el)) {
7732
+ return window.pageYOffset;
7733
+ }
7734
+
7735
+ return el.scrollTop;
7736
+ }
7737
+ function scrollTo(el, top) {
7738
+ // with a scroll distance, we perform scroll on the element
7739
+ if (isDocumentElement(el)) {
7740
+ window.scrollTo(0, top);
7741
+ return;
7742
+ }
7743
+
7744
+ el.scrollTop = top;
7745
+ } // Get Scroll Parent
7746
+ // ------------------------------
7747
+
7748
+ function getScrollParent(element) {
7749
+ var style = getComputedStyle(element);
7750
+ var excludeStaticParent = style.position === 'absolute';
7751
+ var overflowRx = /(auto|scroll)/;
7752
+ var docEl = document.documentElement; // suck it, flow...
7753
+
7754
+ if (style.position === 'fixed') return docEl;
7755
+
7756
+ for (var parent = element; parent = parent.parentElement;) {
7757
+ style = getComputedStyle(parent);
7758
+
7759
+ if (excludeStaticParent && style.position === 'static') {
7760
+ continue;
7761
+ }
7762
+
7763
+ if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
7764
+ return parent;
7765
+ }
7766
+ }
7767
+
7768
+ return docEl;
7769
+ } // Animated Scroll To
7770
+ // ------------------------------
7771
+
7772
+ /**
7773
+ @param t: time (elapsed)
7774
+ @param b: initial value
7775
+ @param c: amount of change
7776
+ @param d: duration
7777
+ */
7778
+
7779
+ function easeOutCubic(t, b, c, d) {
7780
+ return c * ((t = t / d - 1) * t * t + 1) + b;
7781
+ }
7782
+
7783
+ function animatedScrollTo(element, to) {
7784
+ var duration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;
7785
+ var callback = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : noop;
7786
+ var start = getScrollTop(element);
7787
+ var change = to - start;
7788
+ var increment = 10;
7789
+ var currentTime = 0;
7790
+
7791
+ function animateScroll() {
7792
+ currentTime += increment;
7793
+ var val = easeOutCubic(currentTime, start, change, duration);
7794
+ scrollTo(element, val);
7795
+
7796
+ if (currentTime < duration) {
7797
+ window.requestAnimationFrame(animateScroll);
7798
+ } else {
7799
+ callback(element);
7800
+ }
7801
+ }
7802
+
7803
+ animateScroll();
7804
+ } // Scroll Into View
7805
+ // ------------------------------
7806
+
7807
+ function scrollIntoView(menuEl, focusedEl) {
7808
+ var menuRect = menuEl.getBoundingClientRect();
7809
+ var focusedRect = focusedEl.getBoundingClientRect();
7810
+ var overScroll = focusedEl.offsetHeight / 3;
7811
+
7812
+ if (focusedRect.bottom + overScroll > menuRect.bottom) {
7813
+ scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
7814
+ } else if (focusedRect.top - overScroll < menuRect.top) {
7815
+ scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
7816
+ }
7817
+ } // ==============================
7818
+ // Get bounding client object
7819
+ // ==============================
7820
+ // cannot get keys using array notation with DOMRect
7821
+
7822
+ function getBoundingClientObj(element) {
7823
+ var rect = element.getBoundingClientRect();
7824
+ return {
7825
+ bottom: rect.bottom,
7826
+ height: rect.height,
7827
+ left: rect.left,
7828
+ right: rect.right,
7829
+ top: rect.top,
7830
+ width: rect.width
7831
+ };
7832
+ }
7833
+ // Touch Capability Detector
7834
+ // ==============================
7835
+
7836
+ function isTouchCapable() {
7837
+ try {
7838
+ document.createEvent('TouchEvent');
7839
+ return true;
7840
+ } catch (e) {
7841
+ return false;
7842
+ }
7843
+ } // ==============================
7844
+ // Mobile Device Detector
7845
+ // ==============================
7846
+
7847
+ function isMobileDevice() {
7848
+ try {
7849
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
7850
+ } catch (e) {
7851
+ return false;
7852
+ }
7853
+ } // ==============================
7854
+ // Passive Event Detector
7855
+ // ==============================
7856
+ // https://github.com/rafgraph/detect-it/blob/main/src/index.ts#L19-L36
7857
+
7858
+ var passiveOptionAccessed = false;
7859
+ var options = {
7860
+ get passive() {
7861
+ return passiveOptionAccessed = true;
7862
+ }
7863
+
7864
+ }; // check for SSR
7865
+
7866
+ var w = typeof window !== 'undefined' ? window : {};
7867
+
7868
+ if (w.addEventListener && w.removeEventListener) {
7869
+ w.addEventListener('p', noop, options);
7870
+ w.removeEventListener('p', noop, false);
7871
+ }
7872
+
7873
+ var supportsPassiveEvents = passiveOptionAccessed;
7874
+
7875
+ function getMenuPlacement(_ref) {
7876
+ var maxHeight = _ref.maxHeight,
7877
+ menuEl = _ref.menuEl,
7878
+ minHeight = _ref.minHeight,
7879
+ placement = _ref.placement,
7880
+ shouldScroll = _ref.shouldScroll,
7881
+ isFixedPosition = _ref.isFixedPosition,
7882
+ theme = _ref.theme;
7883
+ var spacing = theme.spacing;
7884
+ var scrollParent = getScrollParent(menuEl);
7885
+ var defaultState = {
7886
+ placement: 'bottom',
7887
+ maxHeight: maxHeight
7888
+ }; // something went wrong, return default state
7889
+
7890
+ if (!menuEl || !menuEl.offsetParent) return defaultState; // we can't trust `scrollParent.scrollHeight` --> it may increase when
7891
+ // the menu is rendered
7892
+
7893
+ var _scrollParent$getBoun = scrollParent.getBoundingClientRect(),
7894
+ scrollHeight = _scrollParent$getBoun.height;
7895
+
7896
+ var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(),
7897
+ menuBottom = _menuEl$getBoundingCl.bottom,
7898
+ menuHeight = _menuEl$getBoundingCl.height,
7899
+ menuTop = _menuEl$getBoundingCl.top;
7900
+
7901
+ var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(),
7902
+ containerTop = _menuEl$offsetParent$.top;
7903
+
7904
+ var viewHeight = window.innerHeight;
7905
+ var scrollTop = getScrollTop(scrollParent);
7906
+ var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
7907
+ var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
7908
+ var viewSpaceAbove = containerTop - marginTop;
7909
+ var viewSpaceBelow = viewHeight - menuTop;
7910
+ var scrollSpaceAbove = viewSpaceAbove + scrollTop;
7911
+ var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;
7912
+ var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;
7913
+ var scrollUp = scrollTop + menuTop - marginTop;
7914
+ var scrollDuration = 160;
7915
+
7916
+ switch (placement) {
7917
+ case 'auto':
7918
+ case 'bottom':
7919
+ // 1: the menu will fit, do nothing
7920
+ if (viewSpaceBelow >= menuHeight) {
7921
+ return {
7922
+ placement: 'bottom',
7923
+ maxHeight: maxHeight
7924
+ };
7925
+ } // 2: the menu will fit, if scrolled
7926
+
7927
+
7928
+ if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
7929
+ if (shouldScroll) {
7930
+ animatedScrollTo(scrollParent, scrollDown, scrollDuration);
7931
+ }
7932
+
7933
+ return {
7934
+ placement: 'bottom',
7935
+ maxHeight: maxHeight
7936
+ };
7937
+ } // 3: the menu will fit, if constrained
7938
+
7939
+
7940
+ if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
7941
+ if (shouldScroll) {
7942
+ animatedScrollTo(scrollParent, scrollDown, scrollDuration);
7943
+ } // we want to provide as much of the menu as possible to the user,
7944
+ // so give them whatever is available below rather than the minHeight.
7945
+
7946
+
7947
+ var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;
7948
+ return {
7949
+ placement: 'bottom',
7950
+ maxHeight: constrainedHeight
7951
+ };
7952
+ } // 4. Forked beviour when there isn't enough space below
7953
+ // AUTO: flip the menu, render above
7954
+
7955
+
7956
+ if (placement === 'auto' || isFixedPosition) {
7957
+ // may need to be constrained after flipping
7958
+ var _constrainedHeight = maxHeight;
7959
+ var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;
7960
+
7961
+ if (spaceAbove >= minHeight) {
7962
+ _constrainedHeight = Math.min(spaceAbove - marginBottom - spacing.controlHeight, maxHeight);
7963
+ }
7964
+
7965
+ return {
7966
+ placement: 'top',
7967
+ maxHeight: _constrainedHeight
7968
+ };
7969
+ } // BOTTOM: allow browser to increase scrollable area and immediately set scroll
7970
+
7971
+
7972
+ if (placement === 'bottom') {
7973
+ if (shouldScroll) {
7974
+ scrollTo(scrollParent, scrollDown);
7975
+ }
7976
+
7977
+ return {
7978
+ placement: 'bottom',
7979
+ maxHeight: maxHeight
7980
+ };
7981
+ }
7982
+
7983
+ break;
7984
+
7985
+ case 'top':
7986
+ // 1: the menu will fit, do nothing
7987
+ if (viewSpaceAbove >= menuHeight) {
7988
+ return {
7989
+ placement: 'top',
7990
+ maxHeight: maxHeight
7991
+ };
7992
+ } // 2: the menu will fit, if scrolled
7993
+
7994
+
7995
+ if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
7996
+ if (shouldScroll) {
7997
+ animatedScrollTo(scrollParent, scrollUp, scrollDuration);
7998
+ }
7999
+
8000
+ return {
8001
+ placement: 'top',
8002
+ maxHeight: maxHeight
8003
+ };
8004
+ } // 3: the menu will fit, if constrained
8005
+
8006
+
8007
+ if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
8008
+ var _constrainedHeight2 = maxHeight; // we want to provide as much of the menu as possible to the user,
8009
+ // so give them whatever is available below rather than the minHeight.
8010
+
8011
+ if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
8012
+ _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;
8013
+ }
8014
+
8015
+ if (shouldScroll) {
8016
+ animatedScrollTo(scrollParent, scrollUp, scrollDuration);
8017
+ }
8018
+
8019
+ return {
8020
+ placement: 'top',
8021
+ maxHeight: _constrainedHeight2
8022
+ };
8023
+ } // 4. not enough space, the browser WILL NOT increase scrollable area when
8024
+ // absolutely positioned element rendered above the viewport (only below).
8025
+ // Flip the menu, render below
8026
+
8027
+
8028
+ return {
8029
+ placement: 'bottom',
8030
+ maxHeight: maxHeight
8031
+ };
8032
+
8033
+ default:
8034
+ throw new Error("Invalid placement provided \"".concat(placement, "\"."));
8035
+ } // fulfil contract with flow: implicit return value of undefined
8036
+
8037
+
8038
+ return defaultState;
8039
+ } // Menu Component
8040
+ // ------------------------------
8041
+
8042
+ function alignToControl(placement) {
8043
+ var placementToCSSProp = {
8044
+ bottom: 'top',
8045
+ top: 'bottom'
8046
+ };
8047
+ return placement ? placementToCSSProp[placement] : 'bottom';
8048
+ }
8049
+
8050
+ var coercePlacement = function coercePlacement(p) {
8051
+ return p === 'auto' ? 'bottom' : p;
8052
+ };
8053
+
8054
+ var menuCSS = function menuCSS(_ref2) {
8055
+ var _ref3;
8056
+
8057
+ var placement = _ref2.placement,
8058
+ _ref2$theme = _ref2.theme,
8059
+ borderRadius = _ref2$theme.borderRadius,
8060
+ spacing = _ref2$theme.spacing,
8061
+ colors = _ref2$theme.colors;
8062
+ return _ref3 = {
8063
+ label: 'menu'
8064
+ }, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, alignToControl(placement), '100%'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "backgroundColor", colors.neutral0), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "borderRadius", borderRadius), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "boxShadow", '0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "marginBottom", spacing.menuGutter), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "marginTop", spacing.menuGutter), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "position", 'absolute'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "width", '100%'), (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_8__.default)(_ref3, "zIndex", 1), _ref3;
8065
+ };
8066
+ var PortalPlacementContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_9__.createContext)({
8067
+ getPortalPlacement: null
8068
+ }); // NOTE: internal only
8069
+
8070
+ var MenuPlacer = /*#__PURE__*/function (_Component) {
8071
+ (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__.default)(MenuPlacer, _Component);
8072
+
8073
+ var _super = _createSuper(MenuPlacer);
8074
+
8075
+ function MenuPlacer() {
8076
+ var _this;
8077
+
8078
+ (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__.default)(this, MenuPlacer);
8079
+
8080
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8081
+ args[_key] = arguments[_key];
8082
+ }
8083
+
8084
+ _this = _super.call.apply(_super, [this].concat(args));
8085
+ _this.state = {
8086
+ maxHeight: _this.props.maxMenuHeight,
8087
+ placement: null
8088
+ };
8089
+
8090
+ _this.getPlacement = function (ref) {
8091
+ var _this$props = _this.props,
8092
+ minMenuHeight = _this$props.minMenuHeight,
8093
+ maxMenuHeight = _this$props.maxMenuHeight,
8094
+ menuPlacement = _this$props.menuPlacement,
8095
+ menuPosition = _this$props.menuPosition,
8096
+ menuShouldScrollIntoView = _this$props.menuShouldScrollIntoView,
8097
+ theme = _this$props.theme;
8098
+ if (!ref) return; // DO NOT scroll if position is fixed
8099
+
8100
+ var isFixedPosition = menuPosition === 'fixed';
8101
+ var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;
8102
+ var state = getMenuPlacement({
8103
+ maxHeight: maxMenuHeight,
8104
+ menuEl: ref,
8105
+ minHeight: minMenuHeight,
8106
+ placement: menuPlacement,
8107
+ shouldScroll: shouldScroll,
8108
+ isFixedPosition: isFixedPosition,
8109
+ theme: theme
8110
+ });
8111
+ var getPortalPlacement = _this.context.getPortalPlacement;
8112
+ if (getPortalPlacement) getPortalPlacement(state);
8113
+
8114
+ _this.setState(state);
8115
+ };
8116
+
8117
+ _this.getUpdatedProps = function () {
8118
+ var menuPlacement = _this.props.menuPlacement;
8119
+ var placement = _this.state.placement || coercePlacement(menuPlacement);
8120
+ return _objectSpread2(_objectSpread2({}, _this.props), {}, {
8121
+ placement: placement,
8122
+ maxHeight: _this.state.maxHeight
8123
+ });
8124
+ };
8125
+
8126
+ return _this;
8127
+ }
8128
+
8129
+ (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__.default)(MenuPlacer, [{
8130
+ key: "render",
8131
+ value: function render() {
8132
+ var children = this.props.children;
8133
+ return children({
8134
+ ref: this.getPlacement,
8135
+ placerProps: this.getUpdatedProps()
8136
+ });
8137
+ }
8138
+ }]);
8139
+
8140
+ return MenuPlacer;
8141
+ }(react__WEBPACK_IMPORTED_MODULE_9__.Component);
8142
+ MenuPlacer.contextType = PortalPlacementContext;
8143
+
8144
+ var Menu = function Menu(props) {
8145
+ var children = props.children,
8146
+ className = props.className,
8147
+ cx = props.cx,
8148
+ getStyles = props.getStyles,
8149
+ innerRef = props.innerRef,
8150
+ innerProps = props.innerProps;
8151
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8152
+ css: getStyles('menu', props),
8153
+ className: cx({
8154
+ menu: true
8155
+ }, className),
8156
+ ref: innerRef
8157
+ }, innerProps), children);
8158
+ };
8159
+ // Menu List
8160
+ // ==============================
8161
+
8162
+ var menuListCSS = function menuListCSS(_ref4) {
8163
+ var maxHeight = _ref4.maxHeight,
8164
+ baseUnit = _ref4.theme.spacing.baseUnit;
8165
+ return {
8166
+ maxHeight: maxHeight,
8167
+ overflowY: 'auto',
8168
+ paddingBottom: baseUnit,
8169
+ paddingTop: baseUnit,
8170
+ position: 'relative',
8171
+ // required for offset[Height, Top] > keyboard scroll
8172
+ WebkitOverflowScrolling: 'touch'
8173
+ };
8174
+ };
8175
+ var MenuList = function MenuList(props) {
8176
+ var children = props.children,
8177
+ className = props.className,
8178
+ cx = props.cx,
8179
+ getStyles = props.getStyles,
8180
+ innerProps = props.innerProps,
8181
+ innerRef = props.innerRef,
8182
+ isMulti = props.isMulti;
8183
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8184
+ css: getStyles('menuList', props),
8185
+ className: cx({
8186
+ 'menu-list': true,
8187
+ 'menu-list--is-multi': isMulti
8188
+ }, className),
8189
+ ref: innerRef
8190
+ }, innerProps), children);
8191
+ }; // ==============================
8192
+ // Menu Notices
8193
+ // ==============================
8194
+
8195
+ var noticeCSS = function noticeCSS(_ref5) {
8196
+ var _ref5$theme = _ref5.theme,
8197
+ baseUnit = _ref5$theme.spacing.baseUnit,
8198
+ colors = _ref5$theme.colors;
8199
+ return {
8200
+ color: colors.neutral40,
8201
+ padding: "".concat(baseUnit * 2, "px ").concat(baseUnit * 3, "px"),
8202
+ textAlign: 'center'
8203
+ };
8204
+ };
8205
+
8206
+ var noOptionsMessageCSS = noticeCSS;
8207
+ var loadingMessageCSS = noticeCSS;
8208
+ var NoOptionsMessage = function NoOptionsMessage(props) {
8209
+ var children = props.children,
8210
+ className = props.className,
8211
+ cx = props.cx,
8212
+ getStyles = props.getStyles,
8213
+ innerProps = props.innerProps;
8214
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8215
+ css: getStyles('noOptionsMessage', props),
8216
+ className: cx({
8217
+ 'menu-notice': true,
8218
+ 'menu-notice--no-options': true
8219
+ }, className)
8220
+ }, innerProps), children);
8221
+ };
8222
+ NoOptionsMessage.defaultProps = {
8223
+ children: 'No options'
8224
+ };
8225
+ var LoadingMessage = function LoadingMessage(props) {
8226
+ var children = props.children,
8227
+ className = props.className,
8228
+ cx = props.cx,
8229
+ getStyles = props.getStyles,
8230
+ innerProps = props.innerProps;
8231
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8232
+ css: getStyles('loadingMessage', props),
8233
+ className: cx({
8234
+ 'menu-notice': true,
8235
+ 'menu-notice--loading': true
8236
+ }, className)
8237
+ }, innerProps), children);
8238
+ };
8239
+ LoadingMessage.defaultProps = {
8240
+ children: 'Loading...'
8241
+ }; // ==============================
8242
+ // Menu Portal
8243
+ // ==============================
8244
+
8245
+ var menuPortalCSS = function menuPortalCSS(_ref6) {
8246
+ var rect = _ref6.rect,
8247
+ offset = _ref6.offset,
8248
+ position = _ref6.position;
8249
+ return {
8250
+ left: rect.left,
8251
+ position: position,
8252
+ top: offset,
8253
+ width: rect.width,
8254
+ zIndex: 1
8255
+ };
8256
+ };
8257
+ var MenuPortal = /*#__PURE__*/function (_Component2) {
8258
+ (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_7__.default)(MenuPortal, _Component2);
8259
+
8260
+ var _super2 = _createSuper(MenuPortal);
8261
+
8262
+ function MenuPortal() {
8263
+ var _this2;
8264
+
8265
+ (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__.default)(this, MenuPortal);
8266
+
8267
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
8268
+ args[_key2] = arguments[_key2];
8269
+ }
8270
+
8271
+ _this2 = _super2.call.apply(_super2, [this].concat(args));
8272
+ _this2.state = {
8273
+ placement: null
8274
+ };
8275
+
8276
+ _this2.getPortalPlacement = function (_ref7) {
8277
+ var placement = _ref7.placement;
8278
+ var initialPlacement = coercePlacement(_this2.props.menuPlacement); // avoid re-renders if the placement has not changed
8279
+
8280
+ if (placement !== initialPlacement) {
8281
+ _this2.setState({
8282
+ placement: placement
8283
+ });
8284
+ }
8285
+ };
8286
+
8287
+ return _this2;
8288
+ }
8289
+
8290
+ (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__.default)(MenuPortal, [{
8291
+ key: "render",
8292
+ value: function render() {
8293
+ var _this$props2 = this.props,
8294
+ appendTo = _this$props2.appendTo,
8295
+ children = _this$props2.children,
8296
+ className = _this$props2.className,
8297
+ controlElement = _this$props2.controlElement,
8298
+ cx = _this$props2.cx,
8299
+ innerProps = _this$props2.innerProps,
8300
+ menuPlacement = _this$props2.menuPlacement,
8301
+ position = _this$props2.menuPosition,
8302
+ getStyles = _this$props2.getStyles;
8303
+ var isFixed = position === 'fixed'; // bail early if required elements aren't present
8304
+
8305
+ if (!appendTo && !isFixed || !controlElement) {
8306
+ return null;
8307
+ }
8308
+
8309
+ var placement = this.state.placement || coercePlacement(menuPlacement);
8310
+ var rect = getBoundingClientObj(controlElement);
8311
+ var scrollDistance = isFixed ? 0 : window.pageYOffset;
8312
+ var offset = rect[placement] + scrollDistance;
8313
+ var state = {
8314
+ offset: offset,
8315
+ position: position,
8316
+ rect: rect
8317
+ }; // same wrapper element whether fixed or portalled
8318
+
8319
+ var menuWrapper = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8320
+ css: getStyles('menuPortal', state),
8321
+ className: cx({
8322
+ 'menu-portal': true
8323
+ }, className)
8324
+ }, innerProps), children);
8325
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(PortalPlacementContext.Provider, {
8326
+ value: {
8327
+ getPortalPlacement: this.getPortalPlacement
8328
+ }
8329
+ }, appendTo ? /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_10__.createPortal)(menuWrapper, appendTo) : menuWrapper);
8330
+ }
8331
+ }]);
8332
+
8333
+ return MenuPortal;
8334
+ }(react__WEBPACK_IMPORTED_MODULE_9__.Component);
8335
+
8336
+ var containerCSS = function containerCSS(_ref) {
8337
+ var isDisabled = _ref.isDisabled,
8338
+ isRtl = _ref.isRtl;
8339
+ return {
8340
+ label: 'container',
8341
+ direction: isRtl ? 'rtl' : null,
8342
+ pointerEvents: isDisabled ? 'none' : null,
8343
+ // cancel mouse events when disabled
8344
+ position: 'relative'
8345
+ };
8346
+ };
8347
+ var SelectContainer = function SelectContainer(props) {
8348
+ var children = props.children,
8349
+ className = props.className,
8350
+ cx = props.cx,
8351
+ getStyles = props.getStyles,
8352
+ innerProps = props.innerProps,
8353
+ isDisabled = props.isDisabled,
8354
+ isRtl = props.isRtl;
8355
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8356
+ css: getStyles('container', props),
8357
+ className: cx({
8358
+ '--is-disabled': isDisabled,
8359
+ '--is-rtl': isRtl
8360
+ }, className)
8361
+ }, innerProps), children);
8362
+ }; // ==============================
8363
+ // Value Container
8364
+ // ==============================
8365
+
8366
+ var valueContainerCSS = function valueContainerCSS(_ref2) {
8367
+ var spacing = _ref2.theme.spacing;
8368
+ return {
8369
+ alignItems: 'center',
8370
+ display: 'flex',
8371
+ flex: 1,
8372
+ flexWrap: 'wrap',
8373
+ padding: "".concat(spacing.baseUnit / 2, "px ").concat(spacing.baseUnit * 2, "px"),
8374
+ WebkitOverflowScrolling: 'touch',
8375
+ position: 'relative',
8376
+ overflow: 'hidden'
8377
+ };
8378
+ };
8379
+ var ValueContainer = function ValueContainer(props) {
8380
+ var children = props.children,
8381
+ className = props.className,
8382
+ cx = props.cx,
8383
+ innerProps = props.innerProps,
8384
+ isMulti = props.isMulti,
8385
+ getStyles = props.getStyles,
8386
+ hasValue = props.hasValue;
8387
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8388
+ css: getStyles('valueContainer', props),
8389
+ className: cx({
8390
+ 'value-container': true,
8391
+ 'value-container--is-multi': isMulti,
8392
+ 'value-container--has-value': hasValue
8393
+ }, className)
8394
+ }, innerProps), children);
8395
+ }; // ==============================
8396
+ // Indicator Container
8397
+ // ==============================
8398
+
8399
+ var indicatorsContainerCSS = function indicatorsContainerCSS() {
8400
+ return {
8401
+ alignItems: 'center',
8402
+ alignSelf: 'stretch',
8403
+ display: 'flex',
8404
+ flexShrink: 0
8405
+ };
8406
+ };
8407
+ var IndicatorsContainer = function IndicatorsContainer(props) {
8408
+ var children = props.children,
8409
+ className = props.className,
8410
+ cx = props.cx,
8411
+ innerProps = props.innerProps,
8412
+ getStyles = props.getStyles;
8413
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8414
+ css: getStyles('indicatorsContainer', props),
8415
+ className: cx({
8416
+ indicators: true
8417
+ }, className)
8418
+ }, innerProps), children);
8419
+ };
8420
+
8421
+ var _templateObject;
8422
+
8423
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8424
+
8425
+ var _ref2 = false ? 0 : {
8426
+ name: "tj5bde-Svg",
8427
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
8428
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBDb21tb25Qcm9wcywgVGhlbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJiBDbGVhciBJY29uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IFN2ZyA9ICh7IHNpemUsIC4uLnByb3BzIH06IHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogYW55KSA9PiAoXG4gIDxTdmcgc2l6ZT17MjB9IHsuLi5wcm9wc30+XG4gICAgPHBhdGggZD1cIk0xNC4zNDggMTQuODQ5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwbC0yLjY1MS0zLjAzMC0yLjY1MSAzLjAyOWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMC0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOSAwLTEuNjk3bDIuNzU4LTMuMTUtMi43NTktMy4xNTJjLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI4IDAtMS42OTdzMS4yMjgtMC40NjkgMS42OTcgMGwyLjY1MiAzLjAzMSAyLjY1MS0zLjAzMWMwLjQ2OS0wLjQ2OSAxLjIyOC0wLjQ2OSAxLjY5NyAwczAuNDY5IDEuMjI5IDAgMS42OTdsLTIuNzU4IDMuMTUyIDIuNzU4IDMuMTVjMC40NjkgMC40NjkgMC40NjkgMS4yMjkgMCAxLjY5OHpcIiAvPlxuICA8L1N2Zz5cbik7XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IGFueSkgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCB0eXBlIEluZGljYXRvclByb3BzID0gQ29tbW9uUHJvcHMgJiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuOiBOb2RlLFxuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn07XG5cbmNvbnN0IGJhc2VDU1MgPSAoe1xuICBpc0ZvY3VzZWQsXG4gIHRoZW1lOiB7XG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIGNvbG9ycyxcbiAgfSxcbn06IEluZGljYXRvclByb3BzKSA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG5cbiAgJzpob3Zlcic6IHtcbiAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gIH0sXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnZHJvcGRvd25JbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnY2xlYXJJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxudHlwZSBTZXBhcmF0b3JTdGF0ZSA9IHsgaXNEaXNhYmxlZDogYm9vbGVhbiB9O1xuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gKHtcbiAgaXNEaXNhYmxlZCxcbiAgdGhlbWU6IHtcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgY29sb3JzLFxuICB9LFxufTogQ29tbW9uUHJvcHMgJiBTZXBhcmF0b3JTdGF0ZSkgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgd2lkdGg6IDEsXG59KTtcblxuZXhwb3J0IGNvbnN0IEluZGljYXRvclNlcGFyYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdpbmRpY2F0b3JTZXBhcmF0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KHsgJ2luZGljYXRvci1zZXBhcmF0b3InOiB0cnVlIH0sIGNsYXNzTmFtZSl9XG4gICAgLz5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gTG9hZGluZ1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IGxvYWRpbmdEb3RBbmltYXRpb25zID0ga2V5ZnJhbWVzYFxuICAwJSwgODAlLCAxMDAlIHsgb3BhY2l0eTogMDsgfVxuICA0MCUgeyBvcGFjaXR5OiAxOyB9XG5gO1xuXG5leHBvcnQgY29uc3QgbG9hZGluZ0luZGljYXRvckNTUyA9ICh7XG4gIGlzRm9jdXNlZCxcbiAgc2l6ZSxcbiAgdGhlbWU6IHtcbiAgICBjb2xvcnMsXG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICB9LFxufToge1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW4sXG4gIHNpemU6IG51bWJlcixcbiAgdGhlbWU6IFRoZW1lLFxufSkgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgYWxpZ25TZWxmOiAnY2VudGVyJyxcbiAgZm9udFNpemU6IHNpemUsXG4gIGxpbmVIZWlnaHQ6IDEsXG4gIG1hcmdpblJpZ2h0OiBzaXplLFxuICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICB2ZXJ0aWNhbEFsaWduOiAnbWlkZGxlJyxcbn0pO1xuXG50eXBlIERvdFByb3BzID0geyBkZWxheTogbnVtYmVyLCBvZmZzZXQ6IGJvb2xlYW4gfTtcbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IERvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiBudWxsLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgdHlwZSBMb2FkaW5nSWNvblByb3BzID0ge1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn0gJiBDb21tb25Qcm9wcyAmIHtcbiAgICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgICBzaXplOiBudW1iZXIsXG4gIH07XG5leHBvcnQgY29uc3QgTG9hZGluZ0luZGljYXRvciA9IChwcm9wczogTG9hZGluZ0ljb25Qcm9wcykgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",
8429
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
8430
+ };
8431
+
8432
+ // ==============================
8433
+ // Dropdown & Clear Icons
8434
+ // ==============================
8435
+ var Svg = function Svg(_ref) {
8436
+ var size = _ref.size,
8437
+ props = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.default)(_ref, ["size"]);
8438
+
8439
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("svg", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8440
+ height: size,
8441
+ width: size,
8442
+ viewBox: "0 0 20 20",
8443
+ "aria-hidden": "true",
8444
+ focusable: "false",
8445
+ css: _ref2
8446
+ }, props));
8447
+ };
8448
+
8449
+ var CrossIcon = function CrossIcon(props) {
8450
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(Svg, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8451
+ size: 20
8452
+ }, props), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("path", {
8453
+ d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
8454
+ }));
8455
+ };
8456
+ var DownChevron = function DownChevron(props) {
8457
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(Svg, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8458
+ size: 20
8459
+ }, props), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("path", {
8460
+ d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
8461
+ }));
8462
+ }; // ==============================
8463
+ // Dropdown & Clear Buttons
8464
+ // ==============================
8465
+
8466
+ var baseCSS = function baseCSS(_ref3) {
8467
+ var isFocused = _ref3.isFocused,
8468
+ _ref3$theme = _ref3.theme,
8469
+ baseUnit = _ref3$theme.spacing.baseUnit,
8470
+ colors = _ref3$theme.colors;
8471
+ return {
8472
+ label: 'indicatorContainer',
8473
+ color: isFocused ? colors.neutral60 : colors.neutral20,
8474
+ display: 'flex',
8475
+ padding: baseUnit * 2,
8476
+ transition: 'color 150ms',
8477
+ ':hover': {
8478
+ color: isFocused ? colors.neutral80 : colors.neutral40
8479
+ }
8480
+ };
8481
+ };
8482
+
8483
+ var dropdownIndicatorCSS = baseCSS;
8484
+ var DropdownIndicator = function DropdownIndicator(props) {
8485
+ var children = props.children,
8486
+ className = props.className,
8487
+ cx = props.cx,
8488
+ getStyles = props.getStyles,
8489
+ innerProps = props.innerProps;
8490
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8491
+ css: getStyles('dropdownIndicator', props),
8492
+ className: cx({
8493
+ indicator: true,
8494
+ 'dropdown-indicator': true
8495
+ }, className)
8496
+ }, innerProps), children || (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(DownChevron, null));
8497
+ };
8498
+ var clearIndicatorCSS = baseCSS;
8499
+ var ClearIndicator = function ClearIndicator(props) {
8500
+ var children = props.children,
8501
+ className = props.className,
8502
+ cx = props.cx,
8503
+ getStyles = props.getStyles,
8504
+ innerProps = props.innerProps;
8505
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8506
+ css: getStyles('clearIndicator', props),
8507
+ className: cx({
8508
+ indicator: true,
8509
+ 'clear-indicator': true
8510
+ }, className)
8511
+ }, innerProps), children || (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(CrossIcon, null));
8512
+ }; // ==============================
8513
+ // Separator
8514
+ // ==============================
8515
+
8516
+ var indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4) {
8517
+ var isDisabled = _ref4.isDisabled,
8518
+ _ref4$theme = _ref4.theme,
8519
+ baseUnit = _ref4$theme.spacing.baseUnit,
8520
+ colors = _ref4$theme.colors;
8521
+ return {
8522
+ label: 'indicatorSeparator',
8523
+ alignSelf: 'stretch',
8524
+ backgroundColor: isDisabled ? colors.neutral10 : colors.neutral20,
8525
+ marginBottom: baseUnit * 2,
8526
+ marginTop: baseUnit * 2,
8527
+ width: 1
8528
+ };
8529
+ };
8530
+ var IndicatorSeparator = function IndicatorSeparator(props) {
8531
+ var className = props.className,
8532
+ cx = props.cx,
8533
+ getStyles = props.getStyles,
8534
+ innerProps = props.innerProps;
8535
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, innerProps, {
8536
+ css: getStyles('indicatorSeparator', props),
8537
+ className: cx({
8538
+ 'indicator-separator': true
8539
+ }, className)
8540
+ }));
8541
+ }; // ==============================
8542
+ // Loading
8543
+ // ==============================
8544
+
8545
+ var loadingDotAnimations = (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.keyframes)(_templateObject || (_templateObject = (0,_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_1__.default)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"])));
8546
+ var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {
8547
+ var isFocused = _ref5.isFocused,
8548
+ size = _ref5.size,
8549
+ _ref5$theme = _ref5.theme,
8550
+ colors = _ref5$theme.colors,
8551
+ baseUnit = _ref5$theme.spacing.baseUnit;
8552
+ return {
8553
+ label: 'loadingIndicator',
8554
+ color: isFocused ? colors.neutral60 : colors.neutral20,
8555
+ display: 'flex',
8556
+ padding: baseUnit * 2,
8557
+ transition: 'color 150ms',
8558
+ alignSelf: 'center',
8559
+ fontSize: size,
8560
+ lineHeight: 1,
8561
+ marginRight: size,
8562
+ textAlign: 'center',
8563
+ verticalAlign: 'middle'
8564
+ };
8565
+ };
8566
+
8567
+ var LoadingDot = function LoadingDot(_ref6) {
8568
+ var delay = _ref6.delay,
8569
+ offset = _ref6.offset;
8570
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
8571
+ css: /*#__PURE__*/(0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.css)({
8572
+ animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
8573
+ backgroundColor: 'currentColor',
8574
+ borderRadius: '1em',
8575
+ display: 'inline-block',
8576
+ marginLeft: offset ? '1em' : null,
8577
+ height: '1em',
8578
+ verticalAlign: 'top',
8579
+ width: '1em'
8580
+ }, false ? 0 : ";label:LoadingDot;", false ? 0 : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0xJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBDb21tb25Qcm9wcywgVGhlbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJiBDbGVhciBJY29uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IFN2ZyA9ICh7IHNpemUsIC4uLnByb3BzIH06IHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogYW55KSA9PiAoXG4gIDxTdmcgc2l6ZT17MjB9IHsuLi5wcm9wc30+XG4gICAgPHBhdGggZD1cIk0xNC4zNDggMTQuODQ5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwbC0yLjY1MS0zLjAzMC0yLjY1MSAzLjAyOWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMC0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOSAwLTEuNjk3bDIuNzU4LTMuMTUtMi43NTktMy4xNTJjLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI4IDAtMS42OTdzMS4yMjgtMC40NjkgMS42OTcgMGwyLjY1MiAzLjAzMSAyLjY1MS0zLjAzMWMwLjQ2OS0wLjQ2OSAxLjIyOC0wLjQ2OSAxLjY5NyAwczAuNDY5IDEuMjI5IDAgMS42OTdsLTIuNzU4IDMuMTUyIDIuNzU4IDMuMTVjMC40NjkgMC40NjkgMC40NjkgMS4yMjkgMCAxLjY5OHpcIiAvPlxuICA8L1N2Zz5cbik7XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IGFueSkgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCB0eXBlIEluZGljYXRvclByb3BzID0gQ29tbW9uUHJvcHMgJiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuOiBOb2RlLFxuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn07XG5cbmNvbnN0IGJhc2VDU1MgPSAoe1xuICBpc0ZvY3VzZWQsXG4gIHRoZW1lOiB7XG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIGNvbG9ycyxcbiAgfSxcbn06IEluZGljYXRvclByb3BzKSA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG5cbiAgJzpob3Zlcic6IHtcbiAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gIH0sXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnZHJvcGRvd25JbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnY2xlYXJJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxudHlwZSBTZXBhcmF0b3JTdGF0ZSA9IHsgaXNEaXNhYmxlZDogYm9vbGVhbiB9O1xuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gKHtcbiAgaXNEaXNhYmxlZCxcbiAgdGhlbWU6IHtcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgY29sb3JzLFxuICB9LFxufTogQ29tbW9uUHJvcHMgJiBTZXBhcmF0b3JTdGF0ZSkgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgd2lkdGg6IDEsXG59KTtcblxuZXhwb3J0IGNvbnN0IEluZGljYXRvclNlcGFyYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdpbmRpY2F0b3JTZXBhcmF0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KHsgJ2luZGljYXRvci1zZXBhcmF0b3InOiB0cnVlIH0sIGNsYXNzTmFtZSl9XG4gICAgLz5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gTG9hZGluZ1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IGxvYWRpbmdEb3RBbmltYXRpb25zID0ga2V5ZnJhbWVzYFxuICAwJSwgODAlLCAxMDAlIHsgb3BhY2l0eTogMDsgfVxuICA0MCUgeyBvcGFjaXR5OiAxOyB9XG5gO1xuXG5leHBvcnQgY29uc3QgbG9hZGluZ0luZGljYXRvckNTUyA9ICh7XG4gIGlzRm9jdXNlZCxcbiAgc2l6ZSxcbiAgdGhlbWU6IHtcbiAgICBjb2xvcnMsXG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICB9LFxufToge1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW4sXG4gIHNpemU6IG51bWJlcixcbiAgdGhlbWU6IFRoZW1lLFxufSkgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgYWxpZ25TZWxmOiAnY2VudGVyJyxcbiAgZm9udFNpemU6IHNpemUsXG4gIGxpbmVIZWlnaHQ6IDEsXG4gIG1hcmdpblJpZ2h0OiBzaXplLFxuICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICB2ZXJ0aWNhbEFsaWduOiAnbWlkZGxlJyxcbn0pO1xuXG50eXBlIERvdFByb3BzID0geyBkZWxheTogbnVtYmVyLCBvZmZzZXQ6IGJvb2xlYW4gfTtcbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IERvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiBudWxsLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgdHlwZSBMb2FkaW5nSWNvblByb3BzID0ge1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn0gJiBDb21tb25Qcm9wcyAmIHtcbiAgICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgICBzaXplOiBudW1iZXIsXG4gIH07XG5leHBvcnQgY29uc3QgTG9hZGluZ0luZGljYXRvciA9IChwcm9wczogTG9hZGluZ0ljb25Qcm9wcykgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")
8581
+ });
8582
+ };
8583
+
8584
+ var LoadingIndicator = function LoadingIndicator(props) {
8585
+ var className = props.className,
8586
+ cx = props.cx,
8587
+ getStyles = props.getStyles,
8588
+ innerProps = props.innerProps,
8589
+ isRtl = props.isRtl;
8590
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8591
+ css: getStyles('loadingIndicator', props),
8592
+ className: cx({
8593
+ indicator: true,
8594
+ 'loading-indicator': true
8595
+ }, className)
8596
+ }, innerProps), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(LoadingDot, {
8597
+ delay: 0,
8598
+ offset: isRtl
8599
+ }), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(LoadingDot, {
8600
+ delay: 160,
8601
+ offset: true
8602
+ }), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(LoadingDot, {
8603
+ delay: 320,
8604
+ offset: !isRtl
8605
+ }));
8606
+ };
8607
+ LoadingIndicator.defaultProps = {
8608
+ size: 4
8609
+ };
8610
+
8611
+ var css = function css(_ref) {
8612
+ var isDisabled = _ref.isDisabled,
8613
+ isFocused = _ref.isFocused,
8614
+ _ref$theme = _ref.theme,
8615
+ colors = _ref$theme.colors,
8616
+ borderRadius = _ref$theme.borderRadius,
8617
+ spacing = _ref$theme.spacing;
8618
+ return {
8619
+ label: 'control',
8620
+ alignItems: 'center',
8621
+ backgroundColor: isDisabled ? colors.neutral5 : colors.neutral0,
8622
+ borderColor: isDisabled ? colors.neutral10 : isFocused ? colors.primary : colors.neutral20,
8623
+ borderRadius: borderRadius,
8624
+ borderStyle: 'solid',
8625
+ borderWidth: 1,
8626
+ boxShadow: isFocused ? "0 0 0 1px ".concat(colors.primary) : null,
8627
+ cursor: 'default',
8628
+ display: 'flex',
8629
+ flexWrap: 'wrap',
8630
+ justifyContent: 'space-between',
8631
+ minHeight: spacing.controlHeight,
8632
+ outline: '0 !important',
8633
+ position: 'relative',
8634
+ transition: 'all 100ms',
8635
+ '&:hover': {
8636
+ borderColor: isFocused ? colors.primary : colors.neutral30
8637
+ }
8638
+ };
8639
+ };
8640
+
8641
+ var Control = function Control(props) {
8642
+ var children = props.children,
8643
+ cx = props.cx,
8644
+ getStyles = props.getStyles,
8645
+ className = props.className,
8646
+ isDisabled = props.isDisabled,
8647
+ isFocused = props.isFocused,
8648
+ innerRef = props.innerRef,
8649
+ innerProps = props.innerProps,
8650
+ menuIsOpen = props.menuIsOpen;
8651
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8652
+ ref: innerRef,
8653
+ css: getStyles('control', props),
8654
+ className: cx({
8655
+ control: true,
8656
+ 'control--is-disabled': isDisabled,
8657
+ 'control--is-focused': isFocused,
8658
+ 'control--menu-is-open': menuIsOpen
8659
+ }, className)
8660
+ }, innerProps), children);
8661
+ };
8662
+
8663
+ var groupCSS = function groupCSS(_ref) {
8664
+ var spacing = _ref.theme.spacing;
8665
+ return {
8666
+ paddingBottom: spacing.baseUnit * 2,
8667
+ paddingTop: spacing.baseUnit * 2
8668
+ };
8669
+ };
8670
+
8671
+ var Group = function Group(props) {
8672
+ var children = props.children,
8673
+ className = props.className,
8674
+ cx = props.cx,
8675
+ getStyles = props.getStyles,
8676
+ Heading = props.Heading,
8677
+ headingProps = props.headingProps,
8678
+ innerProps = props.innerProps,
8679
+ label = props.label,
8680
+ theme = props.theme,
8681
+ selectProps = props.selectProps;
8682
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8683
+ css: getStyles('group', props),
8684
+ className: cx({
8685
+ group: true
8686
+ }, className)
8687
+ }, innerProps), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(Heading, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, headingProps, {
8688
+ selectProps: selectProps,
8689
+ theme: theme,
8690
+ getStyles: getStyles,
8691
+ cx: cx
8692
+ }), label), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", null, children));
8693
+ };
8694
+
8695
+ var groupHeadingCSS = function groupHeadingCSS(_ref2) {
8696
+ var spacing = _ref2.theme.spacing;
8697
+ return {
8698
+ label: 'group',
8699
+ color: '#999',
8700
+ cursor: 'default',
8701
+ display: 'block',
8702
+ fontSize: '75%',
8703
+ fontWeight: '500',
8704
+ marginBottom: '0.25em',
8705
+ paddingLeft: spacing.baseUnit * 3,
8706
+ paddingRight: spacing.baseUnit * 3,
8707
+ textTransform: 'uppercase'
8708
+ };
8709
+ };
8710
+ var GroupHeading = function GroupHeading(props) {
8711
+ var getStyles = props.getStyles,
8712
+ cx = props.cx,
8713
+ className = props.className;
8714
+
8715
+ var _cleanCommonProps = cleanCommonProps(props);
8716
+ _cleanCommonProps.data;
8717
+ var innerProps = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.default)(_cleanCommonProps, ["data"]);
8718
+
8719
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8720
+ css: getStyles('groupHeading', props),
8721
+ className: cx({
8722
+ 'group-heading': true
8723
+ }, className)
8724
+ }, innerProps));
8725
+ };
8726
+
8727
+ var inputCSS = function inputCSS(_ref) {
8728
+ var isDisabled = _ref.isDisabled,
8729
+ _ref$theme = _ref.theme,
8730
+ spacing = _ref$theme.spacing,
8731
+ colors = _ref$theme.colors;
8732
+ return {
8733
+ margin: spacing.baseUnit / 2,
8734
+ paddingBottom: spacing.baseUnit / 2,
8735
+ paddingTop: spacing.baseUnit / 2,
8736
+ visibility: isDisabled ? 'hidden' : 'visible',
8737
+ color: colors.neutral80
8738
+ };
8739
+ };
8740
+
8741
+ var inputStyle = function inputStyle(isHidden) {
8742
+ return {
8743
+ label: 'input',
8744
+ background: 0,
8745
+ border: 0,
8746
+ fontSize: 'inherit',
8747
+ opacity: isHidden ? 0 : 1,
8748
+ outline: 0,
8749
+ padding: 0,
8750
+ color: 'inherit'
8751
+ };
8752
+ };
8753
+
8754
+ var Input = function Input(props) {
8755
+ var className = props.className,
8756
+ cx = props.cx,
8757
+ getStyles = props.getStyles;
8758
+
8759
+ var _cleanCommonProps = cleanCommonProps(props),
8760
+ innerRef = _cleanCommonProps.innerRef,
8761
+ isDisabled = _cleanCommonProps.isDisabled,
8762
+ isHidden = _cleanCommonProps.isHidden,
8763
+ innerProps = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__.default)(_cleanCommonProps, ["innerRef", "isDisabled", "isHidden"]);
8764
+
8765
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
8766
+ css: getStyles('input', props)
8767
+ }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(react_input_autosize__WEBPACK_IMPORTED_MODULE_4__.default, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8768
+ className: cx({
8769
+ input: true
8770
+ }, className),
8771
+ inputRef: innerRef,
8772
+ inputStyle: inputStyle(isHidden),
8773
+ disabled: isDisabled
8774
+ }, innerProps)));
8775
+ };
8776
+
8777
+ var multiValueCSS = function multiValueCSS(_ref) {
8778
+ var _ref$theme = _ref.theme,
8779
+ spacing = _ref$theme.spacing,
8780
+ borderRadius = _ref$theme.borderRadius,
8781
+ colors = _ref$theme.colors;
8782
+ return {
8783
+ label: 'multiValue',
8784
+ backgroundColor: colors.neutral10,
8785
+ borderRadius: borderRadius / 2,
8786
+ display: 'flex',
8787
+ margin: spacing.baseUnit / 2,
8788
+ minWidth: 0 // resolves flex/text-overflow bug
8789
+
8790
+ };
8791
+ };
8792
+ var multiValueLabelCSS = function multiValueLabelCSS(_ref2) {
8793
+ var _ref2$theme = _ref2.theme,
8794
+ borderRadius = _ref2$theme.borderRadius,
8795
+ colors = _ref2$theme.colors,
8796
+ cropWithEllipsis = _ref2.cropWithEllipsis;
8797
+ return {
8798
+ borderRadius: borderRadius / 2,
8799
+ color: colors.neutral80,
8800
+ fontSize: '85%',
8801
+ overflow: 'hidden',
8802
+ padding: 3,
8803
+ paddingLeft: 6,
8804
+ textOverflow: cropWithEllipsis ? 'ellipsis' : null,
8805
+ whiteSpace: 'nowrap'
8806
+ };
8807
+ };
8808
+ var multiValueRemoveCSS = function multiValueRemoveCSS(_ref3) {
8809
+ var _ref3$theme = _ref3.theme,
8810
+ spacing = _ref3$theme.spacing,
8811
+ borderRadius = _ref3$theme.borderRadius,
8812
+ colors = _ref3$theme.colors,
8813
+ isFocused = _ref3.isFocused;
8814
+ return {
8815
+ alignItems: 'center',
8816
+ borderRadius: borderRadius / 2,
8817
+ backgroundColor: isFocused && colors.dangerLight,
8818
+ display: 'flex',
8819
+ paddingLeft: spacing.baseUnit,
8820
+ paddingRight: spacing.baseUnit,
8821
+ ':hover': {
8822
+ backgroundColor: colors.dangerLight,
8823
+ color: colors.danger
8824
+ }
8825
+ };
8826
+ };
8827
+ var MultiValueGeneric = function MultiValueGeneric(_ref4) {
8828
+ var children = _ref4.children,
8829
+ innerProps = _ref4.innerProps;
8830
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", innerProps, children);
8831
+ };
8832
+ var MultiValueContainer = MultiValueGeneric;
8833
+ var MultiValueLabel = MultiValueGeneric;
8834
+ function MultiValueRemove(_ref5) {
8835
+ var children = _ref5.children,
8836
+ innerProps = _ref5.innerProps;
8837
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", innerProps, children || (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(CrossIcon, {
8838
+ size: 14
8839
+ }));
8840
+ }
8841
+
8842
+ var MultiValue = function MultiValue(props) {
8843
+ var children = props.children,
8844
+ className = props.className,
8845
+ components = props.components,
8846
+ cx = props.cx,
8847
+ data = props.data,
8848
+ getStyles = props.getStyles,
8849
+ innerProps = props.innerProps,
8850
+ isDisabled = props.isDisabled,
8851
+ removeProps = props.removeProps,
8852
+ selectProps = props.selectProps;
8853
+ var Container = components.Container,
8854
+ Label = components.Label,
8855
+ Remove = components.Remove;
8856
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(_emotion_react__WEBPACK_IMPORTED_MODULE_11__.ClassNames, null, function (_ref6) {
8857
+ var css = _ref6.css,
8858
+ emotionCx = _ref6.cx;
8859
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(Container, {
8860
+ data: data,
8861
+ innerProps: _objectSpread2({
8862
+ className: emotionCx(css(getStyles('multiValue', props)), cx({
8863
+ 'multi-value': true,
8864
+ 'multi-value--is-disabled': isDisabled
8865
+ }, className))
8866
+ }, innerProps),
8867
+ selectProps: selectProps
8868
+ }, (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(Label, {
8869
+ data: data,
8870
+ innerProps: {
8871
+ className: emotionCx(css(getStyles('multiValueLabel', props)), cx({
8872
+ 'multi-value__label': true
8873
+ }, className))
8874
+ },
8875
+ selectProps: selectProps
8876
+ }, children), (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)(Remove, {
8877
+ data: data,
8878
+ innerProps: _objectSpread2({
8879
+ className: emotionCx(css(getStyles('multiValueRemove', props)), cx({
8880
+ 'multi-value__remove': true
8881
+ }, className))
8882
+ }, removeProps),
8883
+ selectProps: selectProps
8884
+ }));
8885
+ });
8886
+ };
8887
+
8888
+ MultiValue.defaultProps = {
8889
+ cropWithEllipsis: true
8890
+ };
8891
+
8892
+ var optionCSS = function optionCSS(_ref) {
8893
+ var isDisabled = _ref.isDisabled,
8894
+ isFocused = _ref.isFocused,
8895
+ isSelected = _ref.isSelected,
8896
+ _ref$theme = _ref.theme,
8897
+ spacing = _ref$theme.spacing,
8898
+ colors = _ref$theme.colors;
8899
+ return {
8900
+ label: 'option',
8901
+ backgroundColor: isSelected ? colors.primary : isFocused ? colors.primary25 : 'transparent',
8902
+ color: isDisabled ? colors.neutral20 : isSelected ? colors.neutral0 : 'inherit',
8903
+ cursor: 'default',
8904
+ display: 'block',
8905
+ fontSize: 'inherit',
8906
+ padding: "".concat(spacing.baseUnit * 2, "px ").concat(spacing.baseUnit * 3, "px"),
8907
+ width: '100%',
8908
+ userSelect: 'none',
8909
+ WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
8910
+ // provide some affordance on touch devices
8911
+ ':active': {
8912
+ backgroundColor: !isDisabled && (isSelected ? colors.primary : colors.primary50)
8913
+ }
8914
+ };
8915
+ };
8916
+
8917
+ var Option = function Option(props) {
8918
+ var children = props.children,
8919
+ className = props.className,
8920
+ cx = props.cx,
8921
+ getStyles = props.getStyles,
8922
+ isDisabled = props.isDisabled,
8923
+ isFocused = props.isFocused,
8924
+ isSelected = props.isSelected,
8925
+ innerRef = props.innerRef,
8926
+ innerProps = props.innerProps;
8927
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8928
+ css: getStyles('option', props),
8929
+ className: cx({
8930
+ option: true,
8931
+ 'option--is-disabled': isDisabled,
8932
+ 'option--is-focused': isFocused,
8933
+ 'option--is-selected': isSelected
8934
+ }, className),
8935
+ ref: innerRef
8936
+ }, innerProps), children);
8937
+ };
8938
+
8939
+ var placeholderCSS = function placeholderCSS(_ref) {
8940
+ var _ref$theme = _ref.theme,
8941
+ spacing = _ref$theme.spacing,
8942
+ colors = _ref$theme.colors;
8943
+ return {
8944
+ label: 'placeholder',
8945
+ color: colors.neutral50,
8946
+ marginLeft: spacing.baseUnit / 2,
8947
+ marginRight: spacing.baseUnit / 2,
8948
+ position: 'absolute',
8949
+ top: '50%',
8950
+ transform: 'translateY(-50%)'
8951
+ };
8952
+ };
8953
+
8954
+ var Placeholder = function Placeholder(props) {
8955
+ var children = props.children,
8956
+ className = props.className,
8957
+ cx = props.cx,
8958
+ getStyles = props.getStyles,
8959
+ innerProps = props.innerProps;
8960
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8961
+ css: getStyles('placeholder', props),
8962
+ className: cx({
8963
+ placeholder: true
8964
+ }, className)
8965
+ }, innerProps), children);
8966
+ };
8967
+
8968
+ var css$1 = function css(_ref) {
8969
+ var isDisabled = _ref.isDisabled,
8970
+ _ref$theme = _ref.theme,
8971
+ spacing = _ref$theme.spacing,
8972
+ colors = _ref$theme.colors;
8973
+ return {
8974
+ label: 'singleValue',
8975
+ color: isDisabled ? colors.neutral40 : colors.neutral80,
8976
+ marginLeft: spacing.baseUnit / 2,
8977
+ marginRight: spacing.baseUnit / 2,
8978
+ maxWidth: "calc(100% - ".concat(spacing.baseUnit * 2, "px)"),
8979
+ overflow: 'hidden',
8980
+ position: 'absolute',
8981
+ textOverflow: 'ellipsis',
8982
+ whiteSpace: 'nowrap',
8983
+ top: '50%',
8984
+ transform: 'translateY(-50%)'
8985
+ };
8986
+ };
8987
+
8988
+ var SingleValue = function SingleValue(props) {
8989
+ var children = props.children,
8990
+ className = props.className,
8991
+ cx = props.cx,
8992
+ getStyles = props.getStyles,
8993
+ isDisabled = props.isDisabled,
8994
+ innerProps = props.innerProps;
8995
+ return (0,_emotion_react__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
8996
+ css: getStyles('singleValue', props),
8997
+ className: cx({
8998
+ 'single-value': true,
8999
+ 'single-value--is-disabled': isDisabled
9000
+ }, className)
9001
+ }, innerProps), children);
9002
+ };
9003
+
9004
+ var components = {
9005
+ ClearIndicator: ClearIndicator,
9006
+ Control: Control,
9007
+ DropdownIndicator: DropdownIndicator,
9008
+ DownChevron: DownChevron,
9009
+ CrossIcon: CrossIcon,
9010
+ Group: Group,
9011
+ GroupHeading: GroupHeading,
9012
+ IndicatorsContainer: IndicatorsContainer,
9013
+ IndicatorSeparator: IndicatorSeparator,
9014
+ Input: Input,
9015
+ LoadingIndicator: LoadingIndicator,
9016
+ Menu: Menu,
9017
+ MenuList: MenuList,
9018
+ MenuPortal: MenuPortal,
9019
+ LoadingMessage: LoadingMessage,
9020
+ NoOptionsMessage: NoOptionsMessage,
9021
+ MultiValue: MultiValue,
9022
+ MultiValueContainer: MultiValueContainer,
9023
+ MultiValueLabel: MultiValueLabel,
9024
+ MultiValueRemove: MultiValueRemove,
9025
+ Option: Option,
9026
+ Placeholder: Placeholder,
9027
+ SelectContainer: SelectContainer,
9028
+ SingleValue: SingleValue,
9029
+ ValueContainer: ValueContainer
9030
+ };
9031
+ var defaultComponents = function defaultComponents(props) {
9032
+ return _objectSpread2(_objectSpread2({}, components), props.components);
9033
+ };
9034
+
9035
+
9036
+
9037
+
9038
+ /***/ }),
9039
+
9040
+ /***/ "./node_modules/react-select/dist/react-select.esm.js":
9041
+ /*!************************************************************!*\
9042
+ !*** ./node_modules/react-select/dist/react-select.esm.js ***!
9043
+ \************************************************************/
9044
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9045
+
9046
+ "use strict";
9047
+ __webpack_require__.r(__webpack_exports__);
9048
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9049
+ /* harmony export */ "createFilter": () => (/* reexport safe */ _Select_dbb12e54_esm_js__WEBPACK_IMPORTED_MODULE_0__.c),
9050
+ /* harmony export */ "defaultTheme": () => (/* reexport safe */ _Select_dbb12e54_esm_js__WEBPACK_IMPORTED_MODULE_0__.d),
9051
+ /* harmony export */ "mergeStyles": () => (/* reexport safe */ _Select_dbb12e54_esm_js__WEBPACK_IMPORTED_MODULE_0__.m),
9052
+ /* harmony export */ "components": () => (/* reexport safe */ _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_4__.c),
9053
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
9054
+ /* harmony export */ "NonceProvider": () => (/* binding */ NonceProvider)
9055
+ /* harmony export */ });
9056
+ /* harmony import */ var _Select_dbb12e54_esm_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Select-dbb12e54.esm.js */ "./node_modules/react-select/dist/Select-dbb12e54.esm.js");
9057
+ /* harmony import */ var _stateManager_845a3300_esm_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./stateManager-845a3300.esm.js */ "./node_modules/react-select/dist/stateManager-845a3300.esm.js");
9058
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
9059
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
9060
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
9061
+ /* harmony import */ var _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-4bd03571.esm.js */ "./node_modules/react-select/dist/index-4bd03571.esm.js");
9062
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
9063
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
9064
+ /* harmony import */ var _emotion_react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @emotion/react */ "./node_modules/@emotion/react/dist/emotion-element-4fbd89c5.browser.esm.js");
9065
+ /* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/cache */ "./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js");
9066
+ /* harmony import */ var memoize_one__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! memoize-one */ "./node_modules/memoize-one/dist/memoize-one.esm.js");
9067
+ /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
9068
+ /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
9069
+ /* harmony import */ var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
9070
+ /* harmony import */ var _babel_runtime_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ "./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js");
9071
+ /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
9072
+ /* harmony import */ var react_input_autosize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react-input-autosize */ "./node_modules/react-input-autosize/lib/AutosizeInput.js");
9073
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
9074
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react-dom */ "react-dom");
9075
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_14__);
9076
+
9077
+
9078
+
9079
+
9080
+
9081
+
9082
+
9083
+
9084
+
9085
+
9086
+
9087
+
9088
+
9089
+
9090
+
9091
+
9092
+
9093
+
9094
+
9095
+
9096
+
9097
+ var NonceProvider = /*#__PURE__*/function (_Component) {
9098
+ (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__.default)(NonceProvider, _Component);
9099
+
9100
+ var _super = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_4__._)(NonceProvider);
9101
+
9102
+ function NonceProvider(props) {
9103
+ var _this;
9104
+
9105
+ (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.default)(this, NonceProvider);
9106
+
9107
+ _this = _super.call(this, props);
9108
+
9109
+ _this.createEmotionCache = function (nonce, key) {
9110
+ return (0,_emotion_cache__WEBPACK_IMPORTED_MODULE_6__.default)({
9111
+ nonce: nonce,
9112
+ key: key
9113
+ });
9114
+ };
9115
+
9116
+ _this.createEmotionCache = (0,memoize_one__WEBPACK_IMPORTED_MODULE_15__.default)(_this.createEmotionCache);
9117
+ return _this;
9118
+ }
9119
+
9120
+ (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__.default)(NonceProvider, [{
9121
+ key: "render",
9122
+ value: function render() {
9123
+ var emotionCache = this.createEmotionCache(this.props.nonce, this.props.cacheKey);
9124
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_emotion_react__WEBPACK_IMPORTED_MODULE_16__.C, {
9125
+ value: emotionCache
9126
+ }, this.props.children);
9127
+ }
9128
+ }]);
9129
+
9130
+ return NonceProvider;
9131
+ }(react__WEBPACK_IMPORTED_MODULE_5__.Component);
9132
+
9133
+ var index = (0,_stateManager_845a3300_esm_js__WEBPACK_IMPORTED_MODULE_17__.m)(_Select_dbb12e54_esm_js__WEBPACK_IMPORTED_MODULE_0__.S);
9134
+
9135
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (index);
9136
+
9137
+
9138
+
9139
+ /***/ }),
9140
+
9141
+ /***/ "./node_modules/react-select/dist/stateManager-845a3300.esm.js":
9142
+ /*!*********************************************************************!*\
9143
+ !*** ./node_modules/react-select/dist/stateManager-845a3300.esm.js ***!
9144
+ \*********************************************************************/
9145
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9146
+
9147
+ "use strict";
9148
+ __webpack_require__.r(__webpack_exports__);
9149
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9150
+ /* harmony export */ "m": () => (/* binding */ manageState)
9151
+ /* harmony export */ });
9152
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
9153
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
9154
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
9155
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
9156
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "./node_modules/@babel/runtime/helpers/esm/inherits.js");
9157
+ /* harmony import */ var _index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./index-4bd03571.esm.js */ "./node_modules/react-select/dist/index-4bd03571.esm.js");
9158
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
9159
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
9160
+
9161
+
9162
+
9163
+
9164
+
9165
+
9166
+
9167
+
9168
+ var defaultProps = {
9169
+ defaultInputValue: '',
9170
+ defaultMenuIsOpen: false,
9171
+ defaultValue: null
9172
+ };
9173
+
9174
+ var manageState = function manageState(SelectComponent) {
9175
+ var _class, _temp;
9176
+
9177
+ return _temp = _class = /*#__PURE__*/function (_Component) {
9178
+ (0,_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__.default)(StateManager, _Component);
9179
+
9180
+ var _super = (0,_index_4bd03571_esm_js__WEBPACK_IMPORTED_MODULE_6__._)(StateManager);
9181
+
9182
+ function StateManager() {
9183
+ var _this;
9184
+
9185
+ (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__.default)(this, StateManager);
9186
+
9187
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9188
+ args[_key] = arguments[_key];
9189
+ }
9190
+
9191
+ _this = _super.call.apply(_super, [this].concat(args));
9192
+ _this.select = void 0;
9193
+ _this.state = {
9194
+ inputValue: _this.props.inputValue !== undefined ? _this.props.inputValue : _this.props.defaultInputValue,
9195
+ menuIsOpen: _this.props.menuIsOpen !== undefined ? _this.props.menuIsOpen : _this.props.defaultMenuIsOpen,
9196
+ value: _this.props.value !== undefined ? _this.props.value : _this.props.defaultValue
9197
+ };
9198
+
9199
+ _this.onChange = function (value, actionMeta) {
9200
+ _this.callProp('onChange', value, actionMeta);
9201
+
9202
+ _this.setState({
9203
+ value: value
9204
+ });
9205
+ };
9206
+
9207
+ _this.onInputChange = function (value, actionMeta) {
9208
+ // TODO: for backwards compatibility, we allow the prop to return a new
9209
+ // value, but now inputValue is a controllable prop we probably shouldn't
9210
+ var newValue = _this.callProp('onInputChange', value, actionMeta);
9211
+
9212
+ _this.setState({
9213
+ inputValue: newValue !== undefined ? newValue : value
9214
+ });
9215
+ };
9216
+
9217
+ _this.onMenuOpen = function () {
9218
+ _this.callProp('onMenuOpen');
9219
+
9220
+ _this.setState({
9221
+ menuIsOpen: true
9222
+ });
9223
+ };
9224
+
9225
+ _this.onMenuClose = function () {
9226
+ _this.callProp('onMenuClose');
9227
+
9228
+ _this.setState({
9229
+ menuIsOpen: false
9230
+ });
9231
+ };
9232
+
9233
+ return _this;
9234
+ }
9235
+
9236
+ (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__.default)(StateManager, [{
9237
+ key: "focus",
9238
+ value: function focus() {
9239
+ this.select.focus();
9240
+ }
9241
+ }, {
9242
+ key: "blur",
9243
+ value: function blur() {
9244
+ this.select.blur();
9245
+ } // FIXME: untyped flow code, return any
9246
+
9247
+ }, {
9248
+ key: "getProp",
9249
+ value: function getProp(key) {
9250
+ return this.props[key] !== undefined ? this.props[key] : this.state[key];
9251
+ } // FIXME: untyped flow code, return any
9252
+
9253
+ }, {
9254
+ key: "callProp",
9255
+ value: function callProp(name) {
9256
+ if (typeof this.props[name] === 'function') {
9257
+ var _this$props;
9258
+
9259
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
9260
+ args[_key2 - 1] = arguments[_key2];
9261
+ }
9262
+
9263
+ return (_this$props = this.props)[name].apply(_this$props, args);
9264
+ }
9265
+ }
9266
+ }, {
9267
+ key: "render",
9268
+ value: function render() {
9269
+ var _this2 = this;
9270
+
9271
+ var _this$props2 = this.props;
9272
+ _this$props2.defaultInputValue;
9273
+ _this$props2.defaultMenuIsOpen;
9274
+ _this$props2.defaultValue;
9275
+ var props = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__.default)(_this$props2, ["defaultInputValue", "defaultMenuIsOpen", "defaultValue"]);
9276
+
9277
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(SelectComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, props, {
9278
+ ref: function ref(_ref) {
9279
+ _this2.select = _ref;
9280
+ },
9281
+ inputValue: this.getProp('inputValue'),
9282
+ menuIsOpen: this.getProp('menuIsOpen'),
9283
+ onChange: this.onChange,
9284
+ onInputChange: this.onInputChange,
9285
+ onMenuClose: this.onMenuClose,
9286
+ onMenuOpen: this.onMenuOpen,
9287
+ value: this.getProp('value')
9288
+ }));
9289
+ }
9290
+ }]);
9291
+
9292
+ return StateManager;
9293
+ }(react__WEBPACK_IMPORTED_MODULE_5__.Component), _class.defaultProps = defaultProps, _temp;
9294
+ };
9295
+
9296
+
9297
+
9298
+
9299
+ /***/ }),
9300
+
9301
+ /***/ "./node_modules/stylis/src/Enum.js":
9302
+ /*!*****************************************!*\
9303
+ !*** ./node_modules/stylis/src/Enum.js ***!
9304
+ \*****************************************/
9305
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9306
+
9307
+ "use strict";
9308
+ __webpack_require__.r(__webpack_exports__);
9309
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9310
+ /* harmony export */ "MS": () => (/* binding */ MS),
9311
+ /* harmony export */ "MOZ": () => (/* binding */ MOZ),
9312
+ /* harmony export */ "WEBKIT": () => (/* binding */ WEBKIT),
9313
+ /* harmony export */ "COMMENT": () => (/* binding */ COMMENT),
9314
+ /* harmony export */ "RULESET": () => (/* binding */ RULESET),
9315
+ /* harmony export */ "DECLARATION": () => (/* binding */ DECLARATION),
9316
+ /* harmony export */ "PAGE": () => (/* binding */ PAGE),
9317
+ /* harmony export */ "MEDIA": () => (/* binding */ MEDIA),
9318
+ /* harmony export */ "IMPORT": () => (/* binding */ IMPORT),
9319
+ /* harmony export */ "CHARSET": () => (/* binding */ CHARSET),
9320
+ /* harmony export */ "VIEWPORT": () => (/* binding */ VIEWPORT),
9321
+ /* harmony export */ "SUPPORTS": () => (/* binding */ SUPPORTS),
9322
+ /* harmony export */ "DOCUMENT": () => (/* binding */ DOCUMENT),
9323
+ /* harmony export */ "NAMESPACE": () => (/* binding */ NAMESPACE),
9324
+ /* harmony export */ "KEYFRAMES": () => (/* binding */ KEYFRAMES),
9325
+ /* harmony export */ "FONT_FACE": () => (/* binding */ FONT_FACE),
9326
+ /* harmony export */ "COUNTER_STYLE": () => (/* binding */ COUNTER_STYLE),
9327
+ /* harmony export */ "FONT_FEATURE_VALUES": () => (/* binding */ FONT_FEATURE_VALUES)
9328
+ /* harmony export */ });
9329
+ var MS = '-ms-'
9330
+ var MOZ = '-moz-'
9331
+ var WEBKIT = '-webkit-'
9332
+
9333
+ var COMMENT = 'comm'
9334
+ var RULESET = 'rule'
9335
+ var DECLARATION = 'decl'
9336
+
9337
+ var PAGE = '@page'
9338
+ var MEDIA = '@media'
9339
+ var IMPORT = '@import'
9340
+ var CHARSET = '@charset'
9341
+ var VIEWPORT = '@viewport'
9342
+ var SUPPORTS = '@supports'
9343
+ var DOCUMENT = '@document'
9344
+ var NAMESPACE = '@namespace'
9345
+ var KEYFRAMES = '@keyframes'
9346
+ var FONT_FACE = '@font-face'
9347
+ var COUNTER_STYLE = '@counter-style'
9348
+ var FONT_FEATURE_VALUES = '@font-feature-values'
9349
+
9350
+
9351
+ /***/ }),
9352
+
9353
+ /***/ "./node_modules/stylis/src/Middleware.js":
9354
+ /*!***********************************************!*\
9355
+ !*** ./node_modules/stylis/src/Middleware.js ***!
9356
+ \***********************************************/
9357
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9358
+
9359
+ "use strict";
9360
+ __webpack_require__.r(__webpack_exports__);
9361
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9362
+ /* harmony export */ "middleware": () => (/* binding */ middleware),
9363
+ /* harmony export */ "rulesheet": () => (/* binding */ rulesheet),
9364
+ /* harmony export */ "prefixer": () => (/* binding */ prefixer),
9365
+ /* harmony export */ "namespace": () => (/* binding */ namespace)
9366
+ /* harmony export */ });
9367
+ /* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
9368
+ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
9369
+ /* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Tokenizer.js */ "./node_modules/stylis/src/Tokenizer.js");
9370
+ /* harmony import */ var _Serializer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Serializer.js */ "./node_modules/stylis/src/Serializer.js");
9371
+ /* harmony import */ var _Prefixer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Prefixer.js */ "./node_modules/stylis/src/Prefixer.js");
9372
+
9373
+
9374
+
9375
+
9376
+
9377
+
9378
+ /**
9379
+ * @param {function[]} collection
9380
+ * @return {function}
9381
+ */
9382
+ function middleware (collection) {
9383
+ var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(collection)
9384
+
9385
+ return function (element, index, children, callback) {
9386
+ var output = ''
9387
+
9388
+ for (var i = 0; i < length; i++)
9389
+ output += collection[i](element, index, children, callback) || ''
9390
+
9391
+ return output
9392
+ }
9393
+ }
9394
+
9395
+ /**
9396
+ * @param {function} callback
9397
+ * @return {function}
9398
+ */
9399
+ function rulesheet (callback) {
9400
+ return function (element) {
9401
+ if (!element.root)
9402
+ if (element = element.return)
9403
+ callback(element)
9404
+ }
9405
+ }
9406
+
9407
+ /**
9408
+ * @param {object} element
9409
+ * @param {number} index
9410
+ * @param {object[]} children
9411
+ * @param {function} callback
9412
+ */
9413
+ function prefixer (element, index, children, callback) {
9414
+ if (!element.return)
9415
+ switch (element.type) {
9416
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.DECLARATION: element.return = (0,_Prefixer_js__WEBPACK_IMPORTED_MODULE_2__.prefix)(element.value, element.length)
9417
+ break
9418
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.KEYFRAMES:
9419
+ return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(element.value, '@', '@' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT), element, '')], callback)
9420
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.RULESET:
9421
+ if (element.length)
9422
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.combine)(element.props, function (value) {
9423
+ switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(value, /(::plac\w+|:read-\w+)/)) {
9424
+ // :read-(only|write)
9425
+ case ':read-only': case ':read-write':
9426
+ return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(read-\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1'), element, '')], callback)
9427
+ // :placeholder
9428
+ case '::placeholder':
9429
+ return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([
9430
+ (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'input-$1'), element, ''),
9431
+ (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1'), element, ''),
9432
+ (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(plac\w+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'input-$1'), element, '')
9433
+ ], callback)
9434
+ }
9435
+
9436
+ return ''
9437
+ })
9438
+ }
9439
+ }
9440
+
9441
+ /**
9442
+ * @param {object} element
9443
+ * @param {number} index
9444
+ * @param {object[]} children
9445
+ */
9446
+ function namespace (element) {
9447
+ switch (element.type) {
9448
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.RULESET:
9449
+ element.props = element.props.map(function (value) {
9450
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.combine)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.tokenize)(value), function (value, index, children) {
9451
+ switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, 0)) {
9452
+ // \f
9453
+ case 12:
9454
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(value, 1, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(value))
9455
+ // \0 ( + > ~
9456
+ case 0: case 40: case 43: case 62: case 126:
9457
+ return value
9458
+ // :
9459
+ case 58:
9460
+ if (children[++index] === 'global')
9461
+ children[index] = '', children[++index] = '\f' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(children[index], index = 1, -1)
9462
+ // \s
9463
+ case 32:
9464
+ return index === 1 ? '' : value
9465
+ default:
9466
+ switch (index) {
9467
+ case 0: element = value
9468
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(children) > 1 ? '' : value
9469
+ case index = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(children) - 1: case 2:
9470
+ return index === 2 ? value + element + element : value + element
9471
+ default:
9472
+ return value
9473
+ }
9474
+ }
9475
+ })
9476
+ })
9477
+ }
9478
+ }
9479
+
9480
+
9481
+ /***/ }),
9482
+
9483
+ /***/ "./node_modules/stylis/src/Parser.js":
9484
+ /*!*******************************************!*\
9485
+ !*** ./node_modules/stylis/src/Parser.js ***!
9486
+ \*******************************************/
9487
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9488
+
9489
+ "use strict";
9490
+ __webpack_require__.r(__webpack_exports__);
9491
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9492
+ /* harmony export */ "compile": () => (/* binding */ compile),
9493
+ /* harmony export */ "parse": () => (/* binding */ parse),
9494
+ /* harmony export */ "ruleset": () => (/* binding */ ruleset),
9495
+ /* harmony export */ "comment": () => (/* binding */ comment),
9496
+ /* harmony export */ "declaration": () => (/* binding */ declaration)
9497
+ /* harmony export */ });
9498
+ /* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
9499
+ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
9500
+ /* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tokenizer.js */ "./node_modules/stylis/src/Tokenizer.js");
9501
+
9502
+
9503
+
9504
+
9505
+ /**
9506
+ * @param {string} value
9507
+ * @return {object[]}
9508
+ */
9509
+ function compile (value) {
9510
+ return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.dealloc)(parse('', null, null, null, [''], value = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.alloc)(value), 0, [0], value))
9511
+ }
9512
+
9513
+ /**
9514
+ * @param {string} value
9515
+ * @param {object} root
9516
+ * @param {object?} parent
9517
+ * @param {string[]} rule
9518
+ * @param {string[]} rules
9519
+ * @param {string[]} rulesets
9520
+ * @param {number[]} pseudo
9521
+ * @param {number[]} points
9522
+ * @param {string[]} declarations
9523
+ * @return {object}
9524
+ */
9525
+ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
9526
+ var index = 0
9527
+ var offset = 0
9528
+ var length = pseudo
9529
+ var atrule = 0
9530
+ var property = 0
9531
+ var previous = 0
9532
+ var variable = 1
9533
+ var scanning = 1
9534
+ var ampersand = 1
9535
+ var character = 0
9536
+ var type = ''
9537
+ var props = rules
9538
+ var children = rulesets
9539
+ var reference = rule
9540
+ var characters = type
9541
+
9542
+ while (scanning)
9543
+ switch (previous = character, character = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.next)()) {
9544
+ // " ' [ (
9545
+ case 34: case 39: case 91: case 40:
9546
+ characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.delimit)(character)
9547
+ break
9548
+ // \t \n \r \s
9549
+ case 9: case 10: case 13: case 32:
9550
+ characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.whitespace)(previous)
9551
+ break
9552
+ // \
9553
+ case 92:
9554
+ characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.escaping)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.caret)() - 1, 7)
9555
+ continue
9556
+ // /
9557
+ case 47:
9558
+ switch ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.peek)()) {
9559
+ case 42: case 47:
9560
+ ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(comment((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.commenter)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.next)(), (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.caret)()), root, parent), declarations)
9561
+ break
9562
+ default:
9563
+ characters += '/'
9564
+ }
9565
+ break
9566
+ // {
9567
+ case 123 * variable:
9568
+ points[index++] = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) * ampersand
9569
+ // } ; \0
9570
+ case 125 * variable: case 59: case 0:
9571
+ switch (character) {
9572
+ // \0 }
9573
+ case 0: case 125: scanning = 0
9574
+ // ;
9575
+ case 59 + offset:
9576
+ if (property > 0 && ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - length))
9577
+ (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, ' ', '') + ';', rule, parent, length - 2), declarations)
9578
+ break
9579
+ // @ ;
9580
+ case 59: characters += ';'
9581
+ // { rule/at-rule
9582
+ default:
9583
+ ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)
9584
+
9585
+ if (character === 123)
9586
+ if (offset === 0)
9587
+ parse(characters, root, reference, reference, props, rulesets, length, points, children)
9588
+ else
9589
+ switch (atrule) {
9590
+ // d m s
9591
+ case 100: case 109: case 115:
9592
+ parse(value, reference, reference, rule && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)
9593
+ break
9594
+ default:
9595
+ parse(characters, reference, reference, reference, [''], children, length, points, children)
9596
+ }
9597
+ }
9598
+
9599
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo
9600
+ break
9601
+ // :
9602
+ case 58:
9603
+ length = 1 + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters), property = previous
9604
+ default:
9605
+ if (variable < 1)
9606
+ if (character == 123)
9607
+ --variable
9608
+ else if (character == 125 && variable++ == 0 && (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.prev)() == 125)
9609
+ continue
9610
+
9611
+ switch (characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)(character), character * variable) {
9612
+ // &
9613
+ case 38:
9614
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1)
9615
+ break
9616
+ // ,
9617
+ case 44:
9618
+ points[index++] = ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - 1) * ampersand, ampersand = 1
9619
+ break
9620
+ // @
9621
+ case 64:
9622
+ // -
9623
+ if ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.peek)() === 45)
9624
+ characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.delimit)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.next)())
9625
+
9626
+ atrule = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.peek)(), offset = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(type = characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.identifier)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.caret)())), character++
9627
+ break
9628
+ // -
9629
+ case 45:
9630
+ if (previous === 45 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) == 2)
9631
+ variable = 0
9632
+ }
9633
+ }
9634
+
9635
+ return rulesets
9636
+ }
9637
+
9638
+ /**
9639
+ * @param {string} value
9640
+ * @param {object} root
9641
+ * @param {object?} parent
9642
+ * @param {number} index
9643
+ * @param {number} offset
9644
+ * @param {string[]} rules
9645
+ * @param {number[]} points
9646
+ * @param {string} type
9647
+ * @param {string[]} props
9648
+ * @param {string[]} children
9649
+ * @param {number} length
9650
+ * @return {object}
9651
+ */
9652
+ function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {
9653
+ var post = offset - 1
9654
+ var rule = offset === 0 ? rules : ['']
9655
+ var size = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(rule)
9656
+
9657
+ for (var i = 0, j = 0, k = 0; i < index; ++i)
9658
+ for (var x = 0, y = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, post + 1, post = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(j = points[i])), z = value; x < size; ++x)
9659
+ if (z = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.trim)(j > 0 ? rule[x] + ' ' + y : (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(y, /&\f/g, rule[x])))
9660
+ props[k++] = z
9661
+
9662
+ return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.node)(value, root, parent, offset === 0 ? _Enum_js__WEBPACK_IMPORTED_MODULE_2__.RULESET : type, props, children, length)
9663
+ }
9664
+
9665
+ /**
9666
+ * @param {number} value
9667
+ * @param {object} root
9668
+ * @param {object?} parent
9669
+ * @return {object}
9670
+ */
9671
+ function comment (value, root, parent) {
9672
+ return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_2__.COMMENT, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.char)()), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 2, -2), 0)
9673
+ }
9674
+
9675
+ /**
9676
+ * @param {string} value
9677
+ * @param {object} root
9678
+ * @param {object?} parent
9679
+ * @param {number} length
9680
+ * @return {object}
9681
+ */
9682
+ function declaration (value, root, parent, length) {
9683
+ return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_2__.DECLARATION, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 0, length), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length + 1, -1), length)
9684
+ }
9685
+
9686
+
9687
+ /***/ }),
9688
+
9689
+ /***/ "./node_modules/stylis/src/Prefixer.js":
9690
+ /*!*********************************************!*\
9691
+ !*** ./node_modules/stylis/src/Prefixer.js ***!
9692
+ \*********************************************/
9693
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9694
+
9695
+ "use strict";
9696
+ __webpack_require__.r(__webpack_exports__);
9697
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9698
+ /* harmony export */ "prefix": () => (/* binding */ prefix)
9699
+ /* harmony export */ });
9700
+ /* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
9701
+ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
9702
+
9703
+
9704
+
9705
+ /**
9706
+ * @param {string} value
9707
+ * @param {number} length
9708
+ * @return {string}
9709
+ */
9710
+ function prefix (value, length) {
9711
+ switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.hash)(value, length)) {
9712
+ // color-adjust
9713
+ case 5103:
9714
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'print-' + value + value
9715
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
9716
+ case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
9717
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
9718
+ case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
9719
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
9720
+ case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
9721
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
9722
+ case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
9723
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value
9724
+ // appearance, user-select, transform, hyphens, text-size-adjust
9725
+ case 5349: case 4246: case 4810: case 6968: case 2756:
9726
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + value + value
9727
+ // flex, flex-direction
9728
+ case 6828: case 4268:
9729
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + value + value
9730
+ // order
9731
+ case 6165:
9732
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-' + value + value
9733
+ // align-items
9734
+ case 5187:
9735
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(\w+).+(:[^]+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-$1$2' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-$1$2') + value
9736
+ // align-self
9737
+ case 5443:
9738
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-item-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /flex-|-self/, '') + value
9739
+ // align-content
9740
+ case 4675:
9741
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-line-pack' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /align-content|flex-|-self/, '') + value
9742
+ // flex-shrink
9743
+ case 5548:
9744
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'shrink', 'negative') + value
9745
+ // flex-basis
9746
+ case 5292:
9747
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'basis', 'preferred-size') + value
9748
+ // flex-grow
9749
+ case 6060:
9750
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, '-grow', '') + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'grow', 'positive') + value
9751
+ // transition
9752
+ case 4554:
9753
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /([^-])(transform)/g, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2') + value
9754
+ // cursor
9755
+ case 6187:
9756
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(zoom-|grab)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), /(image-set)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), value, '') + value
9757
+ // background, background-image
9758
+ case 5495: case 3959:
9759
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(image-set\([^]*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1' + '$`$1')
9760
+ // justify-content
9761
+ case 4968:
9762
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+:)(flex-)?(.*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-pack:$3' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value
9763
+ // (margin|padding)-inline-(start|end)
9764
+ case 4095: case 3583: case 4068: case 2532:
9765
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+)-inline(.+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1$2') + value
9766
+ // (min|max)?(width|height|inline-size|block-size)
9767
+ case 8116: case 7059: case 5753: case 5535:
9768
+ case 5445: case 5701: case 4933: case 4677:
9769
+ case 5533: case 5789: case 5021: case 4765:
9770
+ // stretch, max-content, min-content, fill-available
9771
+ if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(value) - 1 - length > 6)
9772
+ switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 1)) {
9773
+ // (m)ax-content, (m)in-content
9774
+ case 109:
9775
+ // -
9776
+ if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 4) !== 45)
9777
+ break
9778
+ // (f)ill-available, (f)it-content
9779
+ case 102:
9780
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2-$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
9781
+ // (s)tretch
9782
+ case 115:
9783
+ return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.indexof)(value, 'stretch') ? prefix((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'stretch', 'fill-available'), length) + value : value
9784
+ }
9785
+ break
9786
+ // position: sticky
9787
+ case 4949:
9788
+ // (s)ticky?
9789
+ if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 1) !== 115)
9790
+ break
9791
+ // display: (flex|inline-flex)
9792
+ case 6444:
9793
+ switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(value) - 3 - (~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.indexof)(value, '!important') && 10))) {
9794
+ // stic(k)y
9795
+ case 107:
9796
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT) + value
9797
+ // (inline-)?fl(e)x
9798
+ case 101:
9799
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + '$2box$3') + value
9800
+ }
9801
+ break
9802
+ // writing-mode
9803
+ case 5936:
9804
+ switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 11)) {
9805
+ // vertical-l(r)
9806
+ case 114:
9807
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
9808
+ // vertical-r(l)
9809
+ case 108:
9810
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
9811
+ // horizontal(-)tb
9812
+ case 45:
9813
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
9814
+ }
9815
+
9816
+ return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + value + value
9817
+ }
9818
+
9819
+ return value
9820
+ }
9821
+
9822
+
9823
+ /***/ }),
9824
+
9825
+ /***/ "./node_modules/stylis/src/Serializer.js":
9826
+ /*!***********************************************!*\
9827
+ !*** ./node_modules/stylis/src/Serializer.js ***!
9828
+ \***********************************************/
9829
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9830
+
9831
+ "use strict";
9832
+ __webpack_require__.r(__webpack_exports__);
9833
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9834
+ /* harmony export */ "serialize": () => (/* binding */ serialize),
9835
+ /* harmony export */ "stringify": () => (/* binding */ stringify)
9836
+ /* harmony export */ });
9837
+ /* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Enum.js */ "./node_modules/stylis/src/Enum.js");
9838
+ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
9839
+
9840
+
9841
+
9842
+ /**
9843
+ * @param {object[]} children
9844
+ * @param {function} callback
9845
+ * @return {string}
9846
+ */
9847
+ function serialize (children, callback) {
9848
+ var output = ''
9849
+ var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(children)
9850
+
9851
+ for (var i = 0; i < length; i++)
9852
+ output += callback(children[i], i, children, callback) || ''
9853
+
9854
+ return output
9855
+ }
9856
+
9857
+ /**
9858
+ * @param {object} element
9859
+ * @param {number} index
9860
+ * @param {object[]} children
9861
+ * @param {function} callback
9862
+ * @return {string}
9863
+ */
9864
+ function stringify (element, index, children, callback) {
9865
+ switch (element.type) {
9866
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.IMPORT: case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.DECLARATION: return element.return = element.return || element.value
9867
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.COMMENT: return ''
9868
+ case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.RULESET: element.value = element.props.join(',')
9869
+ }
9870
+
9871
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
9872
+ }
9873
+
9874
+
9875
+ /***/ }),
9876
+
9877
+ /***/ "./node_modules/stylis/src/Tokenizer.js":
9878
+ /*!**********************************************!*\
9879
+ !*** ./node_modules/stylis/src/Tokenizer.js ***!
9880
+ \**********************************************/
9881
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9882
+
9883
+ "use strict";
9884
+ __webpack_require__.r(__webpack_exports__);
9885
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9886
+ /* harmony export */ "line": () => (/* binding */ line),
9887
+ /* harmony export */ "column": () => (/* binding */ column),
9888
+ /* harmony export */ "length": () => (/* binding */ length),
9889
+ /* harmony export */ "position": () => (/* binding */ position),
9890
+ /* harmony export */ "character": () => (/* binding */ character),
9891
+ /* harmony export */ "characters": () => (/* binding */ characters),
9892
+ /* harmony export */ "node": () => (/* binding */ node),
9893
+ /* harmony export */ "copy": () => (/* binding */ copy),
9894
+ /* harmony export */ "char": () => (/* binding */ char),
9895
+ /* harmony export */ "prev": () => (/* binding */ prev),
9896
+ /* harmony export */ "next": () => (/* binding */ next),
9897
+ /* harmony export */ "peek": () => (/* binding */ peek),
9898
+ /* harmony export */ "caret": () => (/* binding */ caret),
9899
+ /* harmony export */ "slice": () => (/* binding */ slice),
9900
+ /* harmony export */ "token": () => (/* binding */ token),
9901
+ /* harmony export */ "alloc": () => (/* binding */ alloc),
9902
+ /* harmony export */ "dealloc": () => (/* binding */ dealloc),
9903
+ /* harmony export */ "delimit": () => (/* binding */ delimit),
9904
+ /* harmony export */ "tokenize": () => (/* binding */ tokenize),
9905
+ /* harmony export */ "whitespace": () => (/* binding */ whitespace),
9906
+ /* harmony export */ "tokenizer": () => (/* binding */ tokenizer),
9907
+ /* harmony export */ "escaping": () => (/* binding */ escaping),
9908
+ /* harmony export */ "delimiter": () => (/* binding */ delimiter),
9909
+ /* harmony export */ "commenter": () => (/* binding */ commenter),
9910
+ /* harmony export */ "identifier": () => (/* binding */ identifier)
9911
+ /* harmony export */ });
9912
+ /* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "./node_modules/stylis/src/Utility.js");
9913
+
9914
+
9915
+ var line = 1
9916
+ var column = 1
9917
+ var length = 0
9918
+ var position = 0
9919
+ var character = 0
9920
+ var characters = ''
9921
+
9922
+ /**
9923
+ * @param {string} value
9924
+ * @param {object} root
9925
+ * @param {object?} parent
9926
+ * @param {string} type
9927
+ * @param {string[]} props
9928
+ * @param {object[]} children
9929
+ * @param {number} length
9930
+ */
9931
+ function node (value, root, parent, type, props, children, length) {
9932
+ return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}
9933
+ }
9934
+
9935
+ /**
9936
+ * @param {string} value
9937
+ * @param {object} root
9938
+ * @param {string} type
9939
+ */
9940
+ function copy (value, root, type) {
9941
+ return node(value, root.root, root.parent, type, root.props, root.children, 0)
9942
+ }
9943
+
9944
+ /**
9945
+ * @return {number}
9946
+ */
9947
+ function char () {
9948
+ return character
9949
+ }
9950
+
9951
+ /**
9952
+ * @return {number}
9953
+ */
9954
+ function prev () {
9955
+ character = position > 0 ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, --position) : 0
9956
+
9957
+ if (column--, character === 10)
9958
+ column = 1, line--
9959
+
9960
+ return character
9961
+ }
9962
+
9963
+ /**
9964
+ * @return {number}
9965
+ */
9966
+ function next () {
9967
+ character = position < length ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position++) : 0
9968
+
9969
+ if (column++, character === 10)
9970
+ column = 1, line++
9971
+
9972
+ return character
9973
+ }
9974
+
9975
+ /**
9976
+ * @return {number}
9977
+ */
9978
+ function peek () {
9979
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position)
9980
+ }
9981
+
9982
+ /**
9983
+ * @return {number}
9984
+ */
9985
+ function caret () {
9986
+ return position
9987
+ }
9988
+
9989
+ /**
9990
+ * @param {number} begin
9991
+ * @param {number} end
9992
+ * @return {string}
9993
+ */
9994
+ function slice (begin, end) {
9995
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(characters, begin, end)
9996
+ }
9997
+
9998
+ /**
9999
+ * @param {number} type
10000
+ * @return {number}
10001
+ */
10002
+ function token (type) {
10003
+ switch (type) {
10004
+ // \0 \t \n \r \s whitespace token
10005
+ case 0: case 9: case 10: case 13: case 32:
10006
+ return 5
10007
+ // ! + , / > @ ~ isolate token
10008
+ case 33: case 43: case 44: case 47: case 62: case 64: case 126:
10009
+ // ; { } breakpoint token
10010
+ case 59: case 123: case 125:
10011
+ return 4
10012
+ // : accompanied token
10013
+ case 58:
10014
+ return 3
10015
+ // " ' ( [ opening delimit token
10016
+ case 34: case 39: case 40: case 91:
10017
+ return 2
10018
+ // ) ] closing delimit token
10019
+ case 41: case 93:
10020
+ return 1
10021
+ }
10022
+
10023
+ return 0
10024
+ }
10025
+
10026
+ /**
10027
+ * @param {string} value
10028
+ * @return {any[]}
10029
+ */
10030
+ function alloc (value) {
10031
+ return line = column = 1, length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(characters = value), position = 0, []
10032
+ }
10033
+
10034
+ /**
10035
+ * @param {any} value
10036
+ * @return {any}
10037
+ */
10038
+ function dealloc (value) {
10039
+ return characters = '', value
10040
+ }
10041
+
10042
+ /**
10043
+ * @param {number} type
10044
+ * @return {string}
10045
+ */
10046
+ function delimit (type) {
10047
+ return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.trim)(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
10048
+ }
10049
+
10050
+ /**
10051
+ * @param {string} value
10052
+ * @return {string[]}
10053
+ */
10054
+ function tokenize (value) {
10055
+ return dealloc(tokenizer(alloc(value)))
10056
+ }
10057
+
10058
+ /**
10059
+ * @param {number} type
10060
+ * @return {string}
10061
+ */
10062
+ function whitespace (type) {
10063
+ while (character = peek())
10064
+ if (character < 33)
10065
+ next()
10066
+ else
10067
+ break
10068
+
10069
+ return token(type) > 2 || token(character) > 3 ? '' : ' '
10070
+ }
10071
+
10072
+ /**
10073
+ * @param {string[]} children
10074
+ * @return {string[]}
10075
+ */
10076
+ function tokenizer (children) {
10077
+ while (next())
10078
+ switch (token(character)) {
10079
+ case 0: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(identifier(position - 1), children)
10080
+ break
10081
+ case 2: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(delimit(character), children)
10082
+ break
10083
+ default: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(character), children)
10084
+ }
10085
+
10086
+ return children
10087
+ }
10088
+
10089
+ /**
10090
+ * @param {number} index
10091
+ * @param {number} count
10092
+ * @return {string}
10093
+ */
10094
+ function escaping (index, count) {
10095
+ while (--count && next())
10096
+ // not 0-9 A-F a-f
10097
+ if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
10098
+ break
10099
+
10100
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))
10101
+ }
10102
+
10103
+ /**
10104
+ * @param {number} type
10105
+ * @return {number}
10106
+ */
10107
+ function delimiter (type) {
10108
+ while (next())
10109
+ switch (character) {
10110
+ // ] ) " '
10111
+ case type:
10112
+ return position
10113
+ // " '
10114
+ case 34: case 39:
10115
+ return delimiter(type === 34 || type === 39 ? type : character)
10116
+ // (
10117
+ case 40:
10118
+ if (type === 41)
10119
+ delimiter(type)
10120
+ break
10121
+ // \
10122
+ case 92:
10123
+ next()
10124
+ break
10125
+ }
10126
+
10127
+ return position
10128
+ }
10129
+
10130
+ /**
10131
+ * @param {number} type
10132
+ * @param {number} index
10133
+ * @return {number}
10134
+ */
10135
+ function commenter (type, index) {
10136
+ while (next())
10137
+ // //
10138
+ if (type + character === 47 + 10)
10139
+ break
10140
+ // /*
10141
+ else if (type + character === 42 + 42 && peek() === 47)
10142
+ break
10143
+
10144
+ return '/*' + slice(index, position - 1) + '*' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(type === 47 ? type : next())
10145
+ }
10146
+
10147
+ /**
10148
+ * @param {number} index
10149
+ * @return {string}
10150
+ */
10151
+ function identifier (index) {
10152
+ while (!token(peek()))
10153
+ next()
10154
+
10155
+ return slice(index, position)
10156
+ }
10157
+
10158
+
10159
+ /***/ }),
10160
+
10161
+ /***/ "./node_modules/stylis/src/Utility.js":
10162
+ /*!********************************************!*\
10163
+ !*** ./node_modules/stylis/src/Utility.js ***!
10164
+ \********************************************/
10165
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10166
+
10167
+ "use strict";
10168
+ __webpack_require__.r(__webpack_exports__);
10169
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10170
+ /* harmony export */ "abs": () => (/* binding */ abs),
10171
+ /* harmony export */ "from": () => (/* binding */ from),
10172
+ /* harmony export */ "hash": () => (/* binding */ hash),
10173
+ /* harmony export */ "trim": () => (/* binding */ trim),
10174
+ /* harmony export */ "match": () => (/* binding */ match),
10175
+ /* harmony export */ "replace": () => (/* binding */ replace),
10176
+ /* harmony export */ "indexof": () => (/* binding */ indexof),
10177
+ /* harmony export */ "charat": () => (/* binding */ charat),
10178
+ /* harmony export */ "substr": () => (/* binding */ substr),
10179
+ /* harmony export */ "strlen": () => (/* binding */ strlen),
10180
+ /* harmony export */ "sizeof": () => (/* binding */ sizeof),
10181
+ /* harmony export */ "append": () => (/* binding */ append),
10182
+ /* harmony export */ "combine": () => (/* binding */ combine)
10183
+ /* harmony export */ });
10184
+ /**
10185
+ * @param {number}
10186
+ * @return {number}
10187
+ */
10188
+ var abs = Math.abs
10189
+
10190
+ /**
10191
+ * @param {number}
10192
+ * @return {string}
10193
+ */
10194
+ var from = String.fromCharCode
10195
+
10196
+ /**
10197
+ * @param {string} value
10198
+ * @param {number} length
10199
+ * @return {number}
10200
+ */
10201
+ function hash (value, length) {
10202
+ return (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3)
10203
+ }
10204
+
10205
+ /**
10206
+ * @param {string} value
10207
+ * @return {string}
10208
+ */
10209
+ function trim (value) {
10210
+ return value.trim()
10211
+ }
10212
+
10213
+ /**
10214
+ * @param {string} value
10215
+ * @param {RegExp} pattern
10216
+ * @return {string?}
10217
+ */
10218
+ function match (value, pattern) {
10219
+ return (value = pattern.exec(value)) ? value[0] : value
10220
+ }
10221
+
10222
+ /**
10223
+ * @param {string} value
10224
+ * @param {(string|RegExp)} pattern
10225
+ * @param {string} replacement
10226
+ * @return {string}
10227
+ */
10228
+ function replace (value, pattern, replacement) {
10229
+ return value.replace(pattern, replacement)
10230
+ }
10231
+
10232
+ /**
10233
+ * @param {string} value
10234
+ * @param {string} value
10235
+ * @return {number}
10236
+ */
10237
+ function indexof (value, search) {
10238
+ return value.indexOf(search)
10239
+ }
10240
+
10241
+ /**
10242
+ * @param {string} value
10243
+ * @param {number} index
10244
+ * @return {number}
10245
+ */
10246
+ function charat (value, index) {
10247
+ return value.charCodeAt(index) | 0
10248
+ }
10249
+
10250
+ /**
10251
+ * @param {string} value
10252
+ * @param {number} begin
10253
+ * @param {number} end
10254
+ * @return {string}
10255
+ */
10256
+ function substr (value, begin, end) {
10257
+ return value.slice(begin, end)
10258
+ }
10259
+
10260
+ /**
10261
+ * @param {string} value
10262
+ * @return {number}
10263
+ */
10264
+ function strlen (value) {
10265
+ return value.length
10266
+ }
10267
+
10268
+ /**
10269
+ * @param {any[]} value
10270
+ * @return {number}
10271
+ */
10272
+ function sizeof (value) {
10273
+ return value.length
10274
+ }
10275
+
10276
+ /**
10277
+ * @param {any} value
10278
+ * @param {any[]} array
10279
+ * @return {any}
10280
+ */
10281
+ function append (value, array) {
10282
+ return array.push(value), value
10283
+ }
10284
+
10285
+ /**
10286
+ * @param {string[]} array
10287
+ * @param {function} callback
10288
+ * @return {string}
10289
+ */
10290
+ function combine (array, callback) {
10291
+ return array.map(callback).join('')
10292
+ }
10293
+
10294
+
10295
+ /***/ }),
10296
+
10297
+ /***/ "react":
10298
+ /*!************************!*\
10299
+ !*** external "React" ***!
10300
+ \************************/
10301
+ /***/ ((module) => {
10302
+
10303
+ "use strict";
10304
+ module.exports = React;
10305
+
10306
+ /***/ }),
10307
+
10308
+ /***/ "react-dom":
10309
+ /*!***************************!*\
10310
+ !*** external "ReactDOM" ***!
10311
+ \***************************/
10312
+ /***/ ((module) => {
10313
+
10314
+ "use strict";
10315
+ module.exports = ReactDOM;
10316
+
10317
+ /***/ }),
10318
+
10319
+ /***/ "lodash":
10320
+ /*!*************************!*\
10321
+ !*** external "lodash" ***!
10322
+ \*************************/
10323
+ /***/ ((module) => {
10324
+
10325
+ "use strict";
10326
+ module.exports = lodash;
10327
+
10328
+ /***/ })
10329
+
10330
+ /******/ });
10331
+ /************************************************************************/
10332
+ /******/ // The module cache
10333
+ /******/ var __webpack_module_cache__ = {};
10334
+ /******/
10335
+ /******/ // The require function
10336
+ /******/ function __webpack_require__(moduleId) {
10337
+ /******/ // Check if module is in cache
10338
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
10339
+ /******/ if (cachedModule !== undefined) {
10340
+ /******/ return cachedModule.exports;
10341
+ /******/ }
10342
+ /******/ // Create a new module (and put it into the cache)
10343
+ /******/ var module = __webpack_module_cache__[moduleId] = {
10344
+ /******/ // no module.id needed
10345
+ /******/ // no module.loaded needed
10346
+ /******/ exports: {}
10347
+ /******/ };
10348
+ /******/
10349
+ /******/ // Execute the module function
10350
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
10351
+ /******/
10352
+ /******/ // Return the exports of the module
10353
+ /******/ return module.exports;
10354
+ /******/ }
10355
+ /******/
10356
+ /************************************************************************/
10357
+ /******/ /* webpack/runtime/compat get default export */
10358
+ /******/ (() => {
10359
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
10360
+ /******/ __webpack_require__.n = (module) => {
10361
+ /******/ var getter = module && module.__esModule ?
10362
+ /******/ () => (module['default']) :
10363
+ /******/ () => (module);
10364
+ /******/ __webpack_require__.d(getter, { a: getter });
10365
+ /******/ return getter;
10366
+ /******/ };
10367
+ /******/ })();
10368
+ /******/
10369
+ /******/ /* webpack/runtime/define property getters */
10370
+ /******/ (() => {
10371
+ /******/ // define getter functions for harmony exports
10372
+ /******/ __webpack_require__.d = (exports, definition) => {
10373
+ /******/ for(var key in definition) {
10374
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
10375
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
10376
+ /******/ }
10377
+ /******/ }
10378
+ /******/ };
10379
+ /******/ })();
10380
+ /******/
10381
+ /******/ /* webpack/runtime/global */
10382
+ /******/ (() => {
10383
+ /******/ __webpack_require__.g = (function() {
10384
+ /******/ if (typeof globalThis === 'object') return globalThis;
10385
+ /******/ try {
10386
+ /******/ return this || new Function('return this')();
10387
+ /******/ } catch (e) {
10388
+ /******/ if (typeof window === 'object') return window;
10389
+ /******/ }
10390
+ /******/ })();
10391
+ /******/ })();
10392
+ /******/
10393
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
10394
+ /******/ (() => {
10395
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
10396
+ /******/ })();
10397
+ /******/
10398
+ /******/ /* webpack/runtime/make namespace object */
10399
+ /******/ (() => {
10400
+ /******/ // define __esModule on exports
10401
+ /******/ __webpack_require__.r = (exports) => {
10402
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
10403
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
10404
+ /******/ }
10405
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
10406
+ /******/ };
10407
+ /******/ })();
10408
+ /******/
10409
+ /************************************************************************/
10410
+ var __webpack_exports__ = {};
10411
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
10412
+ (() => {
10413
+ "use strict";
10414
+ /*!*********************************!*\
10415
+ !*** ./lib/src/blocks/index.js ***!
10416
+ \*********************************/
10417
+ __webpack_require__.r(__webpack_exports__);
10418
+ /* harmony import */ var _simple_sitemap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./simple-sitemap */ "./lib/src/blocks/simple-sitemap/index.js");
10419
+ /* harmony import */ var _simple_sitemap_group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./simple-sitemap-group */ "./lib/src/blocks/simple-sitemap-group/index.js");
10420
+ /**
10421
+ * Import blocks
10422
+ */
10423
+
10424
+
10425
+ })();
10426
+
10427
+ /******/ })()
10428
+ ;
10429
  //# sourceMappingURL=blocks.editor.js.map
lib/block_assets/js/blocks.editor.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"./lib/block_assets/js/blocks.editor.js","sources":["webpack://wpgo-simple-sitemap/./lib/block_assets/js/blocks.editor.js"],"mappings":";AAAA","sourceRoot":""}
1
+ {"version":3,"file":"./lib/block_assets/js/blocks.editor.js","sources":["webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://wpgo-simple-sitemap/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/hash/dist/hash.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/react/dist/emotion-element-4fbd89c5.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/react/dist/emotion-react.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/unitless/dist/unitless.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","webpack://wpgo-simple-sitemap/./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js","webpack://wpgo-simple-sitemap/./lib/src/blocks/_components/checkbox.js","webpack://wpgo-simple-sitemap/./lib/src/blocks/_components/select-cpt-taxonomy.js","webpack://wpgo-simple-sitemap/./lib/src/blocks/_components/server-side-render-x.js","webpack://wpgo-simple-sitemap/./lib/src/blocks/simple-sitemap-group/index.js","webpack://wpgo-simple-sitemap/./lib/src/blocks/simple-sitemap/index.js","webpack://wpgo-simple-sitemap/./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://wpgo-simple-sitemap/./node_modules/memoize-one/dist/memoize-one.esm.js","webpack://wpgo-simple-sitemap/./node_modules/object-assign/index.js","webpack://wpgo-simple-sitemap/./node_modules/prop-types/checkPropTypes.js","webpack://wpgo-simple-sitemap/./node_modules/prop-types/factoryWithTypeCheckers.js","webpack://wpgo-simple-sitemap/./node_modules/prop-types/index.js","webpack://wpgo-simple-sitemap/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://wpgo-simple-sitemap/./node_modules/react-input-autosize/lib/AutosizeInput.js","webpack://wpgo-simple-sitemap/./node_modules/react-is/cjs/react-is.development.js","webpack://wpgo-simple-sitemap/./node_modules/react-is/index.js","webpack://wpgo-simple-sitemap/./node_modules/react-select/dist/Select-dbb12e54.esm.js","webpack://wpgo-simple-sitemap/./node_modules/react-select/dist/index-4bd03571.esm.js","webpack://wpgo-simple-sitemap/./node_modules/react-select/dist/react-select.esm.js","webpack://wpgo-simple-sitemap/./node_modules/react-select/dist/stateManager-845a3300.esm.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Enum.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Middleware.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Parser.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Prefixer.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Serializer.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Tokenizer.js","webpack://wpgo-simple-sitemap/./node_modules/stylis/src/Utility.js","webpack://wpgo-simple-sitemap/external \"React\"","webpack://wpgo-simple-sitemap/external \"ReactDOM\"","webpack://wpgo-simple-sitemap/external \"lodash\"","webpack://wpgo-simple-sitemap/webpack/bootstrap","webpack://wpgo-simple-sitemap/webpack/runtime/compat get default export","webpack://wpgo-simple-sitemap/webpack/runtime/define property getters","webpack://wpgo-simple-sitemap/webpack/runtime/global","webpack://wpgo-simple-sitemap/webpack/runtime/hasOwnProperty shorthand","webpack://wpgo-simple-sitemap/webpack/runtime/make namespace object","webpack://wpgo-simple-sitemap/./lib/src/blocks/index.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}","export default function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _objectDestructuringEmpty(obj) {\n if (obj == null) throw new TypeError(\"Cannot destructure undefined\");\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import _typeof from \"@babel/runtime/helpers/typeof\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, identifier, position, stringify, COMMENT, rulesheet, middleware, prefixer, serialize, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar last = function last(arr) {\n return arr.length ? arr[arr.length - 1] : null;\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifier(position - 1);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // .length indicates if this rule contains pseudo or not\n !element.length) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\nvar ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';\n\nvar isIgnoringComment = function isIgnoringComment(element) {\n return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;\n};\n\nvar createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {\n return function (element, index, children) {\n if (element.type !== 'rule') return;\n var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);\n\n if (unsafePseudoClasses && cache.compat !== true) {\n var prevElement = index > 0 ? children[index - 1] : null;\n\n if (prevElement && isIgnoringComment(last(prevElement.children))) {\n return;\n }\n\n unsafePseudoClasses.forEach(function (unsafePseudoClass) {\n console.error(\"The pseudo class \\\"\" + unsafePseudoClass + \"\\\" is potentially unsafe when doing server-side rendering. Try changing it to \\\"\" + unsafePseudoClass.split('-child')[0] + \"-of-type\\\".\");\n });\n }\n };\n};\n\nvar isImportRule = function isImportRule(element) {\n return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;\n};\n\nvar isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {\n for (var i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true;\n }\n }\n\n return false;\n}; // use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\n\n\nvar nullifyElement = function nullifyElement(element) {\n element.type = '';\n element.value = '';\n element[\"return\"] = '';\n element.children = '';\n element.props = '';\n};\n\nvar incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {\n if (!isImportRule(element)) {\n return;\n }\n\n if (element.parent) {\n console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\");\n nullifyElement(element);\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\");\n nullifyElement(element);\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" + \"If multiple caches share the same key they might \\\"fight\\\" for each other's style elements.\");\n }\n\n if ( key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\"Emotion key must only contain lower case alphabetical characters and - but \\\"\" + key + \"\\\" was passed\");\n }\n }\n\n var inserted = {}; // $FlowFixMe\n\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call(document.querySelectorAll(\"style[data-emotion]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n if (attrib[0] !== key) {\n return;\n } // $FlowFixMe\n\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat;\n }\n\n }), incorrectImportAlarm);\n }\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {\n if (!element.root) {\n if (element[\"return\"]) {\n currentSheet.insert(element[\"return\"]);\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(element.value + \"{}\");\n }\n }\n } : rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {\n currentSheet = {\n insert: function insert(rule) {\n sheet.insert(rule + serialized.map);\n }\n };\n }\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport default createCache;\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport default murmur2;\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport default memoize;\n","import { createContext, forwardRef, useContext, createElement } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js';\nimport { getRegisteredStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\nvar CacheProvider = EmotionCacheContext.Provider;\n\nvar withEmotionCache = function withEmotionCache(func) {\n // $FlowFixMe\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */createContext({});\nvar useTheme = function useTheme() {\n return useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {\n throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');\n }\n\n return mergedTheme;\n }\n\n if (process.env.NODE_ENV !== 'production' && (theme == null || typeof theme !== 'object' || Array.isArray(theme))) {\n throw new Error('[ThemeProvider] Please make your theme prop a plain object');\n }\n\n return _extends({}, outerTheme, {}, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = useContext(ThemeContext);\n return /*#__PURE__*/createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n }; // $FlowFixMe\n\n\n var WithTheme = /*#__PURE__*/forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\n// thus we only need to replace what is a valid character for JS, but not for CSS\n\nvar sanitizeIdentifier = function sanitizeIdentifier(identifier) {\n return identifier.replace(/\\$/g, '-');\n};\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration\n props.css.indexOf(':') !== -1) {\n throw new Error(\"Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`\" + props.css + \"`\");\n }\n\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type;\n\n if (process.env.NODE_ENV !== 'production') {\n var error = new Error();\n\n if (error.stack) {\n // chrome\n var match = error.stack.match(/at (?:Object\\.|Module\\.|)(?:jsx|createEmotionProps).*\\n\\s+at (?:Object\\.|)([A-Z][A-Za-z0-9$]+) /);\n\n if (!match) {\n // safari and firefox\n match = error.stack.match(/.*\\n([A-Z][A-Za-z0-9$]+)@/);\n }\n\n if (match) {\n newProps[labelPropName] = sanitizeIdentifier(match[1]);\n }\n }\n }\n\n return newProps;\n};\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var type = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, typeof cssProp === 'function' || Array.isArray(cssProp) ? useContext(ThemeContext) : undefined);\n\n if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {\n var labelFromStack = props[labelPropName];\n\n if (labelFromStack) {\n serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);\n }\n }\n\n var rules = insertStyles(cache, serialized, typeof type === 'string');\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {\n newProps[key] = props[key];\n }\n }\n\n newProps.ref = ref;\n newProps.className = className;\n var ele = /*#__PURE__*/createElement(type, newProps);\n\n return ele;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal';\n}\n\nexport { CacheProvider as C, Emotion as E, ThemeContext as T, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwnProperty as h, useTheme as u, withEmotionCache as w };\n","import { createElement, useContext, useRef, useLayoutEffect } from 'react';\nimport '@emotion/cache';\nimport { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext } from './emotion-element-4fbd89c5.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-4fbd89c5.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport 'hoist-non-react-statics';\nimport '../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js';\nimport { insertStyles, getRegisteredStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { StyleSheet } from '@emotion/sheet';\n\nvar pkg = {\n\tname: \"@emotion/react\",\n\tversion: \"11.1.5\",\n\tmain: \"dist/emotion-react.cjs.js\",\n\tmodule: \"dist/emotion-react.esm.js\",\n\tbrowser: {\n\t\t\"./dist/emotion-react.cjs.js\": \"./dist/emotion-react.browser.cjs.js\",\n\t\t\"./dist/emotion-react.esm.js\": \"./dist/emotion-react.browser.esm.js\"\n\t},\n\ttypes: \"types/index.d.ts\",\n\tfiles: [\n\t\t\"src\",\n\t\t\"dist\",\n\t\t\"jsx-runtime\",\n\t\t\"jsx-dev-runtime\",\n\t\t\"isolated-hoist-non-react-statics-do-not-use-this-in-your-code\",\n\t\t\"types/*.d.ts\",\n\t\t\"macro.js\",\n\t\t\"macro.d.ts\",\n\t\t\"macro.js.flow\"\n\t],\n\tsideEffects: false,\n\tauthor: \"mitchellhamilton <mitchell@mitchellhamilton.me>\",\n\tlicense: \"MIT\",\n\tscripts: {\n\t\t\"test:typescript\": \"dtslint types\"\n\t},\n\tdependencies: {\n\t\t\"@babel/runtime\": \"^7.7.2\",\n\t\t\"@emotion/cache\": \"^11.1.3\",\n\t\t\"@emotion/serialize\": \"^1.0.0\",\n\t\t\"@emotion/sheet\": \"^1.0.1\",\n\t\t\"@emotion/utils\": \"^1.0.0\",\n\t\t\"@emotion/weak-memoize\": \"^0.2.5\",\n\t\t\"hoist-non-react-statics\": \"^3.3.1\"\n\t},\n\tpeerDependencies: {\n\t\t\"@babel/core\": \"^7.0.0\",\n\t\treact: \">=16.8.0\"\n\t},\n\tpeerDependenciesMeta: {\n\t\t\"@babel/core\": {\n\t\t\toptional: true\n\t\t},\n\t\t\"@types/react\": {\n\t\t\toptional: true\n\t\t}\n\t},\n\tdevDependencies: {\n\t\t\"@babel/core\": \"^7.7.2\",\n\t\t\"@emotion/css\": \"11.1.3\",\n\t\t\"@emotion/css-prettifier\": \"1.0.0\",\n\t\t\"@emotion/server\": \"11.0.0\",\n\t\t\"@emotion/styled\": \"11.1.5\",\n\t\t\"@types/react\": \"^16.9.11\",\n\t\tdtslint: \"^0.3.0\",\n\t\t\"html-tag-names\": \"^1.1.2\",\n\t\treact: \"16.14.0\",\n\t\t\"svg-tag-names\": \"^1.1.1\"\n\t},\n\trepository: \"https://github.com/emotion-js/emotion/tree/master/packages/react\",\n\tpublishConfig: {\n\t\taccess: \"public\"\n\t},\n\t\"umd:main\": \"dist/emotion-react.umd.min.js\",\n\tpreconstruct: {\n\t\tentrypoints: [\n\t\t\t\"./index.js\",\n\t\t\t\"./jsx-runtime.js\",\n\t\t\t\"./jsx-dev-runtime.js\",\n\t\t\t\"./isolated-hoist-non-react-statics-do-not-use-this-in-your-code.js\"\n\t\t],\n\t\tumdName: \"emotionReact\"\n\t}\n};\n\nvar jsx = function jsx(type, props) {\n var args = arguments;\n\n if (props == null || !hasOwnProperty.call(props, 'css')) {\n // $FlowFixMe\n return createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n } // $FlowFixMe\n\n\n return createElement.apply(null, createElementArgArray);\n};\n\nvar warnedAboutCssPropForGlobal = false; // maintain place over rerenders.\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is\n // probably using the custom createElement which\n // means it will be turned into a className prop\n // $FlowFixMe I don't really want to add it to the type since it shouldn't be used\n props.className || props.css)) {\n console.error(\"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?\");\n warnedAboutCssPropForGlobal = true;\n }\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, typeof styles === 'function' || Array.isArray(styles) ? useContext(ThemeContext) : undefined);\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = useRef();\n useLayoutEffect(function () {\n var key = cache.key + \"-global\";\n var sheet = new StyleSheet({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n }); // $FlowFixMe\n\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n sheet.hydrate([node]);\n }\n\n sheetRef.current = sheet;\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useLayoutEffect(function () {\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n var sheet = sheetRef.current;\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Global.displayName = 'EmotionGlobal';\n}\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nvar keyframes = function keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name; // $FlowFixMe\n\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {\n console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.');\n }\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n\n var css = function css() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n\n {\n insertStyles(cache, serialized, false);\n }\n\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n\n return ele;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n ClassNames.displayName = 'EmotionClassNames';\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var isBrowser = \"object\" !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock\n\n var isJest = typeof jest !== 'undefined';\n\n if (isBrowser && !isJest) {\n var globalContext = isBrowser ? window : global;\n var globalKey = \"__EMOTION_REACT_\" + pkg.version.split('.')[0] + \"__\";\n\n if (globalContext[globalKey]) {\n console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');\n }\n\n globalContext[globalKey] = true;\n }\n}\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","import hoistNonReactStatics$1 from 'hoist-non-react-statics';\n\n// this file isolates this package that is not tree-shakeable\n// and if this module doesn't actually contain any logic of its own\n// then Rollup just use 'hoist-non-react-statics' directly in other chunks\n\nvar hoistNonReactStatics = (function (targetComponent, sourceComponent) {\n return hoistNonReactStatics$1(targetComponent, sourceComponent);\n});\n\nexport default hoistNonReactStatics;\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');\n }\n\n return interpolation;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };\n","/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n before = _this.prepend ? _this.container.firstChild : _this.before;\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-ms-input-placeholder|-moz-read-write|-moz-read-only){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport default unitlessKeys;\n","var isBrowser = \"object\" !== 'undefined';\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n var maybeStyles = cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles };\n","var weakMemoize = function weakMemoize(func) {\n // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps\n var cache = new WeakMap();\n return function (arg) {\n if (cache.has(arg)) {\n // $FlowFixMe\n return cache.get(arg);\n }\n\n var ret = func(arg);\n cache.set(arg, ret);\n return ret;\n };\n};\n\nexport default weakMemoize;\n","const { CheckboxControl } = wp.components;\n\nexport const SitemapCheckboxControl = ( props ) => {\n\tconst { help, disabled, label, updateCheckbox, value } = props;\n\n\treturn (\n\t\t<CheckboxControl\n\t\t\thelp={ help }\n\t\t\tdisabled={ disabled }\n\t\t\tlabel={ label }\n\t\t\tchecked={ value }\n\t\t\tonChange={ ( isChecked ) => updateCheckbox( isChecked ) }\n\t\t/>\n\t);\n};\n","// Import core block libraries\n//const { __ } = wp.i18n;\n//const { InspectorControls } = wp.blockEditor;\nconst {\n\t// PanelBody,\n\tPanelRow,\n\t// ServerSideRender,\n\t// TextControl,\n\t// RadioControl,\n\tSelectControl,\n\tButton,\n} = wp.components;\n//const { registerBlockType } = wp.blocks;\nconst { Fragment, Component } = wp.element;\nconst { applyFilters, addAction, addFilter } = wp.hooks;\nexport class SelectCptTaxonomy extends Component {\n\tconstructor( props ) {\n\t\tsuper(); // or super(props); ??\n\n\t\tthis.state = {\n\t\t\ttypes: [],\n\t\t\ttaxonomies: [],\n\t\t\ttaxonomy_select_disabled_status: true,\n\t\t\ttaxonomy_select_disabled_help: '',\n\t\t\twrapperClass: '',\n\t\t};\n\t\tthis.props = props;\n\t\tthis.updatePostTypeValues = this.updatePostTypeValues.bind( this );\n\t}\n\n\tcomponentDidUpdate() {\n\t\t//console.log(\"UPDATE\");\n\t}\n\n\t// get post types to populate select box\n\tcomponentDidMount() {\n\n\t\t//console.log(\"MOUNT\");\n\n\t\t// Render drop downs.\n\n\t\tconst fetchCPTs = wp.hooks.applyFilters( 'fetch-sitemap-cpts', null );\n\t\tif ( typeof fetchCPTs === 'function' ) {\n\t\t\tfetchCPTs( this.props ).then( ( post_types ) => {\n\t\t\t\tthis.setState( {\n\t\t\t\t\ttypes: post_types,\n\t\t\t\t} );\n\t\t\t} );\n\t\t}\n\n\t\tthis.fetchTaxonomies( null ); // null is important here\n\t}\n\n\t// set the taxonomy dropdown options\n\tfetchTaxonomies( newCPT = null ) {\n\t\tconst { setAttributes, block_post_type, block_taxonomy } = this.props;\n\n\t\t// use the cpt from attribute (component did mount) or from new value when cpt drop down changed\n\t\tlet current_post_type_arr;\n\t\tif ( newCPT ) {\n\t\t\tcurrent_post_type_arr = newCPT;\n\t\t} else {\n\t\t\tcurrent_post_type_arr = block_post_type;\n\t\t}\n\t\t\n\t\tconst taxonomy_url = `simple-sitemap/v1/post-type-taxonomies/${ current_post_type_arr }`;\n\n\t\twp.apiFetch( { path: taxonomy_url, method: 'GET' } ).then(\n\t\t\t( data ) => {\n\t\t\t\tlet msg = '';\n\t\t\t\tlet disabled_status = false;\n\t\t\t\tlet wrapperClass = '';\n\t\t\t\tconst taxonomies = [];\n\t\t\t\tlet tax_flag = true;\n\n\t\t\t\tif ( data.length === 0 ) {\n\t\t\t\t\tmsg = 'No taxonomies found for this post type';\n\t\t\t\t\tdisabled_status = true;\n\t\t\t\t\twrapperClass = 'disabled';\n\t\t\t\t\tsetAttributes( { block_taxonomy: '' } );\n\t\t\t\t} else {\n\t\t\t\t\tconst entries = Object.entries( data );\n\t\t\t\t\tfor ( const [ key, value ] of entries ) {\n\t\t\t\t\t\tconst tmp = {\n\t\t\t\t\t\t\tvalue: key,\n\t\t\t\t\t\t\tlabel: value,\n\t\t\t\t\t\t};\n\t\t\t\t\t\ttaxonomies.push( tmp );\n\n\t\t\t\t\t\t// use attribute value?\n\t\t\t\t\t\tif ( tmp.value === block_taxonomy ) {\n\t\t\t\t\t\t\ttax_flag = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// update attribute with first found taxonomy unless current taxonomy attr. is found in taxonomy array\n\n\t\t\t\t\t// only update tax attr. if current value not found in updated taxonomies array in which case just set to first taxonomy in array\n\t\t\t\t\tif ( tax_flag ) {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\tblock_taxonomy: taxonomies[ 0 ].value,\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.setState( {\n\t\t\t\t\ttaxonomy_select_disabled_status: disabled_status,\n\t\t\t\t\ttaxonomy_select_disabled_help: msg,\n\t\t\t\t\ttaxonomies,\n\t\t\t\t\twrapperClass,\n\t\t\t\t} );\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t( err ) => {\n\t\t\t\treturn err;\n\t\t\t}\n\t\t);\n\t}\n\n\tupdatePostTypeValues( val ) {\n\t\tconst { setAttributes } = this.props;\n\t\tsetAttributes( { block_post_type: val } );\n\t\tthis.fetchTaxonomies( val );\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tsetAttributes,\n\t\t\tblock_post_type,\n\t\t\tblock_taxonomy,\n\t\t\tmulti = true,\n\t\t\tclassName,\n\t\t} = this.props;\n\n\t\tconst sitemap_post_types = applyFilters(\n\t\t\t'sitemap-group-post-types-select',\n\t\t\t'',\n\t\t\tthis.props,\n\t\t\tthis.state,\n\t\t\tthis.updatePostTypeValues\n\t\t);\n\n\t\tconst sitemap_list_more_taxonomies = applyFilters(\n\t\t\t'sitemap-list-more-taxonomies',\n\t\t\t<PanelRow>\n\t\t\t\t<p\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\tmarginTop: '-24px',\n\t\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\t\tfontStyle: 'italic',\n\t\t\t\t\t\tmarginLeft: '2px',\n\t\t\t\t\t} }\n\t\t\t\t>\n\t\t\t\t\tList&nbsp;\n\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"https://wpgoplugins.com/plugins/simple-sitemap-pro/#taxonomies-for-any-post-type\"\n\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\trel=\"noreferrer\"\n\t\t\t\t\t>\n\t\t\t\t\t\ttaxonomies\n\t\t\t\t\t</a>\n\t\t\t\t\t&nbsp;for any post type\n\t\t\t\t</p>\n\t\t\t</PanelRow>\n\t\t);\n\n\t\treturn (\n\t\t\t<div className={ `ss-taxonomy-select ${this.state.wrapperClass}` }>\n\t\t\t\t{sitemap_post_types}\n\t\t\t\t<SelectControl\n\t\t\t\t\tlabel=\"Select taxonomy\"\n\t\t\t\t\tvalue={ block_taxonomy }\n\t\t\t\t\toptions={ this.state.taxonomies }\n\t\t\t\t\tonChange={ ( val ) => {\n\t\t\t\t\t\tconst { setAttributes } = this.props;\n\t\t\t\t\t\tsetAttributes( { block_taxonomy: val } );\n\t\t\t\t\t} }\n\t\t\t\t\tdisabled={ this.state.taxonomy_select_disabled_status }\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n}\n","/**\n * External dependencies\n */\nimport { isEqual, debounce } from 'lodash';\n\n/**\n * WordPress dependencies\n */\nconst { Component, RawHTML, Fragment } = wp.element;\nconst { __, sprintf } = wp.i18n;\nconst apiFetch = wp.apiFetch;\nconst { addQueryArgs } = wp.url;\nconst { Placeholder, Spinner } = wp.components;\n\nexport function rendererPath(block, attributes = null, urlQueryArgs = {}) {\n\treturn addQueryArgs(`/wp/v2/block-renderer/${block}`, {\n\t\tcontext: 'edit',\n\t\t...(null !== attributes ? { attributes } : {}),\n\t\t...urlQueryArgs,\n\t});\n}\n\nexport class ServerSideRenderX extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tresponse: null,\n\t\t\tprevResponse: null,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.isStillMounted = true;\n\t\tthis.fetch(this.props);\n\t\t// Only debounce once the initial fetch occurs to ensure that the first\n\t\t// renders show data as soon as possible.\n\t\tthis.fetch = debounce(this.fetch, 500);\n\t}\n\n\tcomponentWillUnmount() {\n\t\tthis.isStillMounted = false;\n\t}\n\n\tcomponentDidUpdate(prevProps) {\n\t\tif (!isEqual(prevProps, this.props)) {\n\t\t\tthis.fetch(this.props);\n\t\t}\n\t}\n\n\tfetch(props) {\n\t\tif (!this.isStillMounted) {\n\t\t\treturn;\n\t\t}\n\t\tif (null !== this.state.response) {\n\t\t\t//this.setState({ response: null, prevResponse: this.state.response });\n\t\t\tthis.setState((state) => ({\n\t\t\t\tresponse: null,\n\t\t\t\tprevResponse: state.response,\n\t\t\t}));\n\t\t}\n\t\tconst { block, attributes = null, urlQueryArgs = {} } = props;\n\n\t\t// Store the latest fetch request so that when we process it, we can\n\t\t// check if it is the current request, to avoid race conditions on slow networks.\n\t\tconst fetchRequest = (this.currentFetchRequest = apiFetch({\n\t\t\tpath: `/wp/v2/block-renderer/${block}`,\n\t\t\tmethod: 'POST',\n\t\t\tdata: {\n\t\t\t\tcontext: 'edit',\n\t\t\t\t...(null !== attributes ? { attributes } : {}),\n\t\t\t\t...urlQueryArgs,\n\t\t\t},\n\t\t})\n\t\t\t.then((response) => {\n\t\t\t\tif (\n\t\t\t\t\tthis.isStillMounted &&\n\t\t\t\t\tfetchRequest === this.currentFetchRequest &&\n\t\t\t\t\tresponse\n\t\t\t\t) {\n\t\t\t\t\tthis.setState({ response: response.rendered });\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch((error) => {\n\t\t\t\tif (\n\t\t\t\t\tthis.isStillMounted &&\n\t\t\t\t\tfetchRequest === this.currentFetchRequest\n\t\t\t\t) {\n\t\t\t\t\tthis.setState({\n\t\t\t\t\t\tresponse: {\n\t\t\t\t\t\t\terror: true,\n\t\t\t\t\t\t\terrorMsg: error.message,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}));\n\t\treturn fetchRequest;\n\t}\n\n\trender() {\n\t\tconst { right, top, unit } = this.props.spinnerLocation;\n\t\tconst response = this.state.response;\n\t\t//let response = this.state.response;\n\t\t//response = `<div style=\"position:relative;\"><div style=\"position:absolute;right:0;top:10px\"><span class=\"components-spinner\"></span></div>${response}</div>`;\n\t\tconst prevResponse = this.state.prevResponse;\n\t\tlet prevResponseHTML = '';\n\t\tif (prevResponse !== null) {\n\t\t\tprevResponseHTML = `<div style=\"position:relative;\"><div style=\"position:absolute;left:-45px;bottom:50%;\"><span class=\"spinner\" style=\"visibility: visible;></span><span class=\"components-spinner\"></span></div>${prevResponse}</div>`;\n\t\t\t//response = `<div style=\"position:relative;\"><div style=\"position:absolute;right:0;top:10px\"><span class=\"components-spinner\"></span></div>${response}</div>`;\n\t\t}\n\n\t\tconst {\n\t\t\tclassName,\n\t\t\tEmptyResponsePlaceholder,\n\t\t\tErrorResponsePlaceholder,\n\t\t\tLoadingResponsePlaceholder,\n\t\t} = this.props;\n\n\t\tif (response === '') {\n\t\t\treturn (\n\t\t\t\t<EmptyResponsePlaceholder response={response} {...this.props} />\n\t\t\t);\n\t\t} else if (!response) {\n\t\t\treturn (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<RawHTML key=\"html\" className={className}>\n\t\t\t\t\t\t{prevResponseHTML}\n\t\t\t\t\t</RawHTML>\n\t\t\t\t</Fragment>\n\t\t\t);\n\t\t} else if (response.error) {\n\t\t\treturn (\n\t\t\t\t<ErrorResponsePlaceholder response={response} {...this.props} />\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<RawHTML key=\"html\" className={className}>\n\t\t\t\t{response}\n\t\t\t</RawHTML>\n\t\t);\n\t}\n}\n\nServerSideRenderX.defaultProps = {\n\tspinnerLocation: { right: 0, top: 10, unit: 'px' },\n\tEmptyResponsePlaceholder: ({ className }) => (\n\t\t<Placeholder className={className}>\n\t\t\t{__('Block rendered as empty.')}\n\t\t</Placeholder>\n\t),\n\tErrorResponsePlaceholder: ({ response, className }) => {\n\t\tconst errorMessage = sprintf(\n\t\t\t// translators: %s: error message describing the problem\n\t\t\t__('Error loading block: %s'),\n\t\t\tresponse.errorMsg\n\t\t);\n\t\treturn <Placeholder className={className}>{errorMessage}</Placeholder>;\n\t},\n\tLoadingResponsePlaceholder: ({ className }) => {\n\t\treturn (\n\t\t\t<Placeholder className={className}>\n\t\t\t\t<Spinner />\n\t\t\t</Placeholder>\n\t\t);\n\t},\n};\n\nexport default ServerSideRenderX;\n","import { SelectCptTaxonomy } from '../_components/select-cpt-taxonomy';\nimport { SitemapCheckboxControl } from '../_components/checkbox';\nimport { ServerSideRenderX } from '../_components/server-side-render-x';\n\n// Import core block libraries\nconst { __ } = wp.i18n;\nconst { InspectorControls } = wp.blockEditor;\nconst {\n\tPanelBody,\n\tPanelRow,\n\tTextControl,\n\t//RadioControl,\n\tSelectControl,\n\t//ColorPicker\n} = wp.components;\nconst { registerBlockType } = wp.blocks;\nconst {\n\t//Fragment\n} = wp.element;\nconst ServerSideRender = wp.serverSideRender;\nconst { applyFilters, addAction, addFilter } = wp.hooks;\n\n/**\n * Register block\n */\nexport default registerBlockType( 'wpgoplugins/simple-sitemap-group-block', {\n\ttitle: 'Simple Sitemap Group',\n\ticon: 'networking',\n\tkeywords: [ \n\t\t__( 'Sitemap', 'simple-sitemap' ), \n\t\t__( 'Group', 'simple-sitemap' ), \n\t\t__( 'HTML Sitemap', 'simple-sitemap' ) \n\t],\n\tcategory: 'simple-sitemap',\n\texample: {\n\t\tattributes: {\n\t\t\t\tnum_posts: 5,\n\t\t\t\tnum_terms: 5,\n\t\t},\n\t},\n\tedit: ( props ) => {\n\t\tconst {\n\t\t\tattributes: {\n\t\t\t\tshow_excerpt,\n\t\t\t\tshow_label,\n\t\t\t\tlinks,\n\t\t\t\tblock_taxonomy,\n\t\t\t\tblock_post_type,\n\t\t\t\torder,\n\t\t\t\torderby,\n\t\t\t},\n\t\t\tclassName,\n\t\t\tsetAttributes,\n\t\t\tisSelected,\n\t\t\tattributes\n\t\t} = props;\n\n\t\tfunction updateShowExcerpt( isChecked ) {\n\t\t\tsetAttributes( { show_excerpt: isChecked } );\n\t\t}\n\n\t\tfunction updateShowLabel( isChecked ) {\n\t\t\tsetAttributes( { show_label: isChecked } );\n\t\t}\n\n\t\tfunction updateLinks( isChecked ) {\n\t\t\tsetAttributes( { links: isChecked } );\n\t\t}\n\n\t\tconst sitemapGroupGeneralSettings = applyFilters( 'sitemap-group-general-settings', '', props );\n\t\tconst sitemapGroupGeneralStyles = applyFilters( 'sitemap-group-general-styles', '', props );\n\t\tconst sitemapGroupFeaturedImage = applyFilters( 'sitemap-group-featured-image', '', props );\n\n\t\treturn [\n\t\t\t<InspectorControls key=\"simple-sitemap-group-block-controls\">\n\t\t\t\t<PanelBody title={ __( 'General Settings', 'simple-sitemap' ) }>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap\">\n\t\t\t\t\t\t<SelectCptTaxonomy\n\t\t\t\t\t\t\tsetAttributes={ setAttributes }\n\t\t\t\t\t\t\tmulti={ false }\n\t\t\t\t\t\t\tblock_post_type={ block_post_type }\n\t\t\t\t\t\t\tblock_taxonomy={ block_taxonomy }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap order-label\">\n\t\t\t\t\t\t<h3 style={ { marginBottom: '-12px' } }>\n\t\t\t\t\t\t\tPost ordering\n\t\t\t\t\t\t</h3>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap order\">\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\tlabel=\"Orderby\"\n\t\t\t\t\t\t\tvalue={orderby}\n\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t{ label: 'Title', value: 'title' },\n\t\t\t\t\t\t\t\t{ label: 'Date', value: 'date' },\n\t\t\t\t\t\t\t\t{ label: 'ID', value: 'ID' },\n\t\t\t\t\t\t\t\t{ label: 'Author', value: 'author' },\n\t\t\t\t\t\t\t\t{ label: 'Name', value: 'name' },\n\t\t\t\t\t\t\t\t{ label: 'Modified', value: 'modified' }\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\tonChange={ ( value ) => {\n\t\t\t\t\t\t\t\tsetAttributes( { orderby: value } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\tlabel=\"Order\"\n\t\t\t\t\t\t\tvalue={ order }\n\t\t\t\t\t\t\toptions={ [\n\t\t\t\t\t\t\t\t{ label: 'Ascending', value: 'asc' },\n\t\t\t\t\t\t\t\t{ label: 'Descending', value: 'desc' }\n\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\tonChange={ ( value ) => {\n\t\t\t\t\t\t\t\tsetAttributes( { order: value } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap general-chk\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ show_label }\n\t\t\t\t\t\t\tlabel=\"Display post type label\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateShowLabel }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap general-chk\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ show_excerpt }\n\t\t\t\t\t\t\tlabel=\"Display post excerpt\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateShowExcerpt }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap general-chk\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ links }\n\t\t\t\t\t\t\tlabel=\"Display sitemap links\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateLinks }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t{ sitemapGroupGeneralSettings }\n\t\t\t\t</PanelBody>\n\t\t\t\t{ sitemapGroupGeneralStyles }\n\t\t\t\t{ sitemapGroupFeaturedImage }\n\t\t\t</InspectorControls>,\n\t\t\t<ServerSideRenderX\n\t\t\tkey=\"simple-sitemap-server-side-render-component\"\n\t\t\tblock=\"wpgoplugins/simple-sitemap-group-block\"\n\t\t\tattributes={attributes}\n\t\t/>,\n\t\t\t// <ServerSideRender\n\t\t\t// \tkey=\"simple-sitemap-group-server-side-render-component\"\n\t\t\t// \tblock=\"wpgoplugins/simple-sitemap-group-block\"\n\t\t\t// \tattributes={ attributes }\n\t\t\t// />,\n\t\t];\n\t},\n\tsave() {\n\t\treturn null;\n\t},\n} );\n","import Select from 'react-select';\nimport { SitemapCheckboxControl } from '../_components/checkbox';\nimport { ServerSideRenderX } from '../_components/server-side-render-x';\n\n// Import core block libraries\nconst { __ } = wp.i18n;\nconst { InspectorControls } = wp.blockEditor;\nconst {\n\tPanelBody,\n\tPanelRow,\n\tTextControl,\n\t//RadioControl,\n\tSelectControl,\n\t//ServerSideRender\n} = wp.components;\nconst { registerBlockType } = wp.blocks;\nconst {\n\t//Fragment\n} = wp.element;\nconst ServerSideRender = wp.serverSideRender;\nconst { applyFilters, addAction, addFilter } = wp.hooks;\n\n/**\n * Register block\n */\nexport default registerBlockType( 'wpgoplugins/simple-sitemap-block', {\n\ttitle: 'Simple Sitemap',\n\ticon: 'editor-ul',\n\tkeywords: [ \n\t\t__( 'Sitemap', 'simple-sitemap' ), \n\t\t__( 'Single', 'simple-sitemap' ), \n\t\t__( 'HTML Sitemap', 'simple-sitemap' ) \n\t],\n\tcategory: 'simple-sitemap',\n\texample: {\n\t\tattributes: {\n\t\t\t\tnum_posts: 20,\n\t\t},\n\t},\n\tedit: ( props ) => {\n\t\tconst {\n\t\t\tattributes: {\n\t\t\t\tshow_excerpt,\n\t\t\t\tshow_label,\n\t\t\t\tlinks,\n\t\t\t\tpage_depth,\n\t\t\t\tnofollow,\n\t\t\t\timage,\n\t\t\t\tlist_icon,\n\t\t\t\tmax_width,\n\t\t\t\tresponsive_breakpoint,\n\t\t\t\tsitemap_container_margin,\n\t\t\t\tsitemap_item_line_height,\n\t\t\t\ttab_color,\n\t\t\t\ttab_header_bg,\n\t\t\t\tpost_type_label_padding,\n\t\t\t\tpost_type_label_font_size,\n\t\t\t\trender_tab,\n\t\t\t\tblock_post_types,\n\t\t\t\texclude,\n\t\t\t\tinclude,\n\t\t\t\torder,\n\t\t\t\torderby,\n\t\t\t},\n\t\t\t//className,\n\t\t\tsetAttributes,\n\t\t\t//isSelected,\n\t\t\tattributes,\n\t\t} = props;\n\n\t\t//const defaultValue = JSON.parse(attributes.block_post_types);\n\t\t//console.log(defaultValue);\n\t\t//console.log(typeof attributes.block_post_types, attributes.block_post_types);\n\t\t//console.log(JSON.parse(attributes.block_post_types));\n\n\t\tfunction updateToggleTabs( isChecked ) {\n\t\t\tsetAttributes( { render_tab: isChecked } );\n\t\t}\n\n\t\tfunction updateExcerpt( isChecked ) {\n\t\t\tsetAttributes( { show_excerpt: isChecked } );\n\t\t}\n\n\t\tfunction updateShowLabel( isChecked ) {\n\t\t\tsetAttributes( { show_label: isChecked } );\n\t\t}\n\n\t\tfunction updateLinks( isChecked ) {\n\t\t\tsetAttributes( { links: isChecked } );\n\t\t}\n\n\t\tconst selectStyles = {\n\t\t\tcontainer: ( styles ) => ( {\n\t\t\t\t...styles,\n\t\t\t\tmarginBottom: \"5px\",\n\t\t\t\t'& div[class$=\"-Input\"]': {\n\t\t\t\t\t'& input:focus': {\n\t\t\t\t\t\tboxShadow: 'none',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t} ),\n\t\t};\n\n\t\tconst selectPostTypes = applyFilters(\n\t\t\t'sitemap-post-types-select',\n\t\t\t<Select\n\t\t\t\ttitle=\"Title\"\n\t\t\t\tdefaultValue={ JSON.parse( block_post_types ) }\n\t\t\t\tisMulti\n\t\t\t\tonChange={ ( value ) => {\n\t\t\t\t\treturn setAttributes( {\n\t\t\t\t\t\tblock_post_types: JSON.stringify( value ),\n\t\t\t\t\t} );\n\t\t\t\t} }\n\t\t\t\toptions={ [\n\t\t\t\t\t{ value: 'post', label: 'Post' },\n\t\t\t\t\t{ value: 'page', label: 'Page' },\n\t\t\t\t] }\n\t\t\t\tstyles={ selectStyles }\n\t\t\t/>,\n\t\t\tprops\n\t\t);\n\n\t\tconst postTypesHelpLabel = applyFilters(\n\t\t\t'post-types-help-label',\n\t\t\t<PanelRow className=\"panel-row-help-label\">\n\t\t\t\t<p\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\tmarginTop: '-20px',\n\t\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\t\tfontStyle: 'italic',\n\t\t\t\t\t\tmarginLeft: '2px',\n\t\t\t\t\t} }\n\t\t\t\t>\n\t\t\t\t\tList{ ' ' }\n\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"https://wpgoplugins.com/plugins/simple-sitemap-pro/#post-types\"\n\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\trel=\"noreferrer\"\n\t\t\t\t\t>\n\t\t\t\t\t\tmore\n\t\t\t\t\t</a>{ ' ' }\n\t\t\t\t\tpost types\n\t\t\t\t</p>\n\t\t\t</PanelRow>,\n\t\t\tprops\n\t\t);\n\n\t\tconst sitemapGeneralSettings = applyFilters( 'sitemap-general-settings', '', props );\n\t\tconst sitemapGeneralStyles = applyFilters( 'sitemap-general-styles', '', props );\n\t\tconst sitemapFeaturedImage = applyFilters( 'sitemap-featured-image', '', props );\n\t\tconst sitemapTabControls = applyFilters( 'sitemap-tab-controls', '', props );\n\n\t\treturn [\n\t\t\t<InspectorControls key=\"simple-sitemap-block-controls\">\n\t\t\t\t<PanelBody title={ __( 'General Settings', 'simple-sitemap' ) }>\n\t\t\t\t\t<PanelRow className=\"panel-row-label\">\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\tstyle={ { marginBottom: '-14px' } }\n\t\t\t\t\t\t\tclassName=\"components-base-control__label\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tSelect post types to display\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow>\n\t\t\t\t\t\t{selectPostTypes}\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t{postTypesHelpLabel}\n\t\t\t\t\t<PanelRow className=\"simple-sitemap order\">\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\tlabel=\"Orderby\"\n\t\t\t\t\t\t\tvalue={ orderby }\n\t\t\t\t\t\t\toptions={ [\n\t\t\t\t\t\t\t\t{ label: 'Title', value: 'title' },\n\t\t\t\t\t\t\t\t{ label: 'Date', value: 'date' },\n\t\t\t\t\t\t\t\t{ label: 'ID', value: 'ID' },\n\t\t\t\t\t\t\t\t{ label: 'Author', value: 'author' },\n\t\t\t\t\t\t\t\t{ label: 'Name', value: 'name' },\n\t\t\t\t\t\t\t\t{ label: 'Modified', value: 'modified' },\n\t\t\t\t\t\t\t\t{ label: 'Menu Order', value: 'menu_order' },\n\t\t\t\t\t\t\t\t{ label: 'Random Order', value: 'rand' },\n\t\t\t\t\t\t\t\t{ label: 'Comment Count', value: 'comment_count' },\n\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\tonChange={ ( value ) => {\n\t\t\t\t\t\t\t\tsetAttributes( { orderby: value } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\tlabel=\"Order\"\n\t\t\t\t\t\t\tvalue={ order }\n\t\t\t\t\t\t\toptions={ [\n\t\t\t\t\t\t\t\t{ label: 'Ascending', value: 'asc' },\n\t\t\t\t\t\t\t\t{ label: 'Descending', value: 'desc' },\n\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\tonChange={ ( value ) => {\n\t\t\t\t\t\t\t\tsetAttributes( { order: value } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap general-chk\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ show_label }\n\t\t\t\t\t\t\tlabel=\"Show post type label\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateShowLabel }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap general-chk\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ show_excerpt }\n\t\t\t\t\t\t\tlabel=\"Show excerpt\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateExcerpt }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap general-chk\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ links }\n\t\t\t\t\t\t\tlabel=\"Enable sitemap links\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateLinks }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t{ sitemapGeneralSettings }\n\t\t\t\t</PanelBody>\n\t\t\t\t{ sitemapGeneralStyles }\n\t\t\t\t{ sitemapFeaturedImage }\n\t\t\t\t<PanelBody\n\t\t\t\t\ttitle={ __( 'Tab Settings', 'simple-sitemap' ) }\n\t\t\t\t\tinitialOpen={ false }\n\t\t\t\t>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap\">\n\t\t\t\t\t\t<SitemapCheckboxControl\n\t\t\t\t\t\t\tvalue={ render_tab }\n\t\t\t\t\t\t\tlabel=\"Enable tabs\"\n\t\t\t\t\t\t\tupdateCheckbox={ updateToggleTabs }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t{ sitemapTabControls }\n\t\t\t\t</PanelBody>\n\t\t\t\t<PanelBody\n\t\t\t\t\ttitle={ __( 'Page Settings', 'simple-sitemap' ) }\n\t\t\t\t\tinitialOpen={ false }\n\t\t\t\t>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap\">\n\t\t\t\t\t\t<p>Affects sitemap pages only.</p>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t\t<PanelRow className=\"simple-sitemap\">\n\t\t\t\t\t\t<TextControl\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tlabel=\"Page indentation\"\n\t\t\t\t\t\t\tmin=\"0\"\n\t\t\t\t\t\t\tmax=\"5\"\n\t\t\t\t\t\t\thelp=\"Leave at zero for auto-depth\"\n\t\t\t\t\t\t\tvalue={ page_depth }\n\t\t\t\t\t\t\tonChange={ ( value ) => {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tpage_depth: parseInt( value ),\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</PanelRow>\n\t\t\t\t</PanelBody>\n\t\t\t</InspectorControls>,\n\t\t\t<ServerSideRenderX\n\t\t\t\tkey=\"simple-sitemap-server-side-render-component\"\n\t\t\t\tblock=\"wpgoplugins/simple-sitemap-block\"\n\t\t\t\tattributes={attributes}\n\t\t\t/>,\n\t\t\t// <ServerSideRender\n\t\t\t// \tkey=\"simple-sitemap-server-side-render-component\"\n\t\t\t// \tblock=\"wpgoplugins/simple-sitemap-block\"\n\t\t\t// \tattributes={ attributes }\n\t\t\t// />,\n\t\t];\n\t},\n\tsave() {\n\t\treturn null;\n\t},\n} );\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","function areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (newInputs[i] !== lastInputs[i]) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nexport default memoizeOne;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar sizerStyle = {\n\tposition: 'absolute',\n\ttop: 0,\n\tleft: 0,\n\tvisibility: 'hidden',\n\theight: 0,\n\toverflow: 'scroll',\n\twhiteSpace: 'pre'\n};\n\nvar INPUT_PROPS_BLACKLIST = ['extraWidth', 'injectStyles', 'inputClassName', 'inputRef', 'inputStyle', 'minWidth', 'onAutosize', 'placeholderIsMinWidth'];\n\nvar cleanInputProps = function cleanInputProps(inputProps) {\n\tINPUT_PROPS_BLACKLIST.forEach(function (field) {\n\t\treturn delete inputProps[field];\n\t});\n\treturn inputProps;\n};\n\nvar copyStyles = function copyStyles(styles, node) {\n\tnode.style.fontSize = styles.fontSize;\n\tnode.style.fontFamily = styles.fontFamily;\n\tnode.style.fontWeight = styles.fontWeight;\n\tnode.style.fontStyle = styles.fontStyle;\n\tnode.style.letterSpacing = styles.letterSpacing;\n\tnode.style.textTransform = styles.textTransform;\n};\n\nvar isIE = typeof window !== 'undefined' && window.navigator ? /MSIE |Trident\\/|Edge\\//.test(window.navigator.userAgent) : false;\n\nvar generateId = function generateId() {\n\t// we only need an auto-generated ID for stylesheet injection, which is only\n\t// used for IE. so if the browser is not IE, this should return undefined.\n\treturn isIE ? '_' + Math.random().toString(36).substr(2, 12) : undefined;\n};\n\nvar AutosizeInput = function (_Component) {\n\t_inherits(AutosizeInput, _Component);\n\n\t_createClass(AutosizeInput, null, [{\n\t\tkey: 'getDerivedStateFromProps',\n\t\tvalue: function getDerivedStateFromProps(props, state) {\n\t\t\tvar id = props.id;\n\n\t\t\treturn id !== state.prevId ? { inputId: id || generateId(), prevId: id } : null;\n\t\t}\n\t}]);\n\n\tfunction AutosizeInput(props) {\n\t\t_classCallCheck(this, AutosizeInput);\n\n\t\tvar _this = _possibleConstructorReturn(this, (AutosizeInput.__proto__ || Object.getPrototypeOf(AutosizeInput)).call(this, props));\n\n\t\t_this.inputRef = function (el) {\n\t\t\t_this.input = el;\n\t\t\tif (typeof _this.props.inputRef === 'function') {\n\t\t\t\t_this.props.inputRef(el);\n\t\t\t}\n\t\t};\n\n\t\t_this.placeHolderSizerRef = function (el) {\n\t\t\t_this.placeHolderSizer = el;\n\t\t};\n\n\t\t_this.sizerRef = function (el) {\n\t\t\t_this.sizer = el;\n\t\t};\n\n\t\t_this.state = {\n\t\t\tinputWidth: props.minWidth,\n\t\t\tinputId: props.id || generateId(),\n\t\t\tprevId: props.id\n\t\t};\n\t\treturn _this;\n\t}\n\n\t_createClass(AutosizeInput, [{\n\t\tkey: 'componentDidMount',\n\t\tvalue: function componentDidMount() {\n\t\t\tthis.mounted = true;\n\t\t\tthis.copyInputStyles();\n\t\t\tthis.updateInputWidth();\n\t\t}\n\t}, {\n\t\tkey: 'componentDidUpdate',\n\t\tvalue: function componentDidUpdate(prevProps, prevState) {\n\t\t\tif (prevState.inputWidth !== this.state.inputWidth) {\n\t\t\t\tif (typeof this.props.onAutosize === 'function') {\n\t\t\t\t\tthis.props.onAutosize(this.state.inputWidth);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.updateInputWidth();\n\t\t}\n\t}, {\n\t\tkey: 'componentWillUnmount',\n\t\tvalue: function componentWillUnmount() {\n\t\t\tthis.mounted = false;\n\t\t}\n\t}, {\n\t\tkey: 'copyInputStyles',\n\t\tvalue: function copyInputStyles() {\n\t\t\tif (!this.mounted || !window.getComputedStyle) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar inputStyles = this.input && window.getComputedStyle(this.input);\n\t\t\tif (!inputStyles) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcopyStyles(inputStyles, this.sizer);\n\t\t\tif (this.placeHolderSizer) {\n\t\t\t\tcopyStyles(inputStyles, this.placeHolderSizer);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'updateInputWidth',\n\t\tvalue: function updateInputWidth() {\n\t\t\tif (!this.mounted || !this.sizer || typeof this.sizer.scrollWidth === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar newInputWidth = void 0;\n\t\t\tif (this.props.placeholder && (!this.props.value || this.props.value && this.props.placeholderIsMinWidth)) {\n\t\t\t\tnewInputWidth = Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2;\n\t\t\t} else {\n\t\t\t\tnewInputWidth = this.sizer.scrollWidth + 2;\n\t\t\t}\n\t\t\t// add extraWidth to the detected width. for number types, this defaults to 16 to allow for the stepper UI\n\t\t\tvar extraWidth = this.props.type === 'number' && this.props.extraWidth === undefined ? 16 : parseInt(this.props.extraWidth) || 0;\n\t\t\tnewInputWidth += extraWidth;\n\t\t\tif (newInputWidth < this.props.minWidth) {\n\t\t\t\tnewInputWidth = this.props.minWidth;\n\t\t\t}\n\t\t\tif (newInputWidth !== this.state.inputWidth) {\n\t\t\t\tthis.setState({\n\t\t\t\t\tinputWidth: newInputWidth\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'getInput',\n\t\tvalue: function getInput() {\n\t\t\treturn this.input;\n\t\t}\n\t}, {\n\t\tkey: 'focus',\n\t\tvalue: function focus() {\n\t\t\tthis.input.focus();\n\t\t}\n\t}, {\n\t\tkey: 'blur',\n\t\tvalue: function blur() {\n\t\t\tthis.input.blur();\n\t\t}\n\t}, {\n\t\tkey: 'select',\n\t\tvalue: function select() {\n\t\t\tthis.input.select();\n\t\t}\n\t}, {\n\t\tkey: 'renderStyles',\n\t\tvalue: function renderStyles() {\n\t\t\t// this method injects styles to hide IE's clear indicator, which messes\n\t\t\t// with input size detection. the stylesheet is only injected when the\n\t\t\t// browser is IE, and can also be disabled by the `injectStyles` prop.\n\t\t\tvar injectStyles = this.props.injectStyles;\n\n\t\t\treturn isIE && injectStyles ? _react2.default.createElement('style', { dangerouslySetInnerHTML: {\n\t\t\t\t\t__html: 'input#' + this.state.inputId + '::-ms-clear {display: none;}'\n\t\t\t\t} }) : null;\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar sizerValue = [this.props.defaultValue, this.props.value, ''].reduce(function (previousValue, currentValue) {\n\t\t\t\tif (previousValue !== null && previousValue !== undefined) {\n\t\t\t\t\treturn previousValue;\n\t\t\t\t}\n\t\t\t\treturn currentValue;\n\t\t\t});\n\n\t\t\tvar wrapperStyle = _extends({}, this.props.style);\n\t\t\tif (!wrapperStyle.display) wrapperStyle.display = 'inline-block';\n\n\t\t\tvar inputStyle = _extends({\n\t\t\t\tboxSizing: 'content-box',\n\t\t\t\twidth: this.state.inputWidth + 'px'\n\t\t\t}, this.props.inputStyle);\n\n\t\t\tvar inputProps = _objectWithoutProperties(this.props, []);\n\n\t\t\tcleanInputProps(inputProps);\n\t\t\tinputProps.className = this.props.inputClassName;\n\t\t\tinputProps.id = this.state.inputId;\n\t\t\tinputProps.style = inputStyle;\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: this.props.className, style: wrapperStyle },\n\t\t\t\tthis.renderStyles(),\n\t\t\t\t_react2.default.createElement('input', _extends({}, inputProps, { ref: this.inputRef })),\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ ref: this.sizerRef, style: sizerStyle },\n\t\t\t\t\tsizerValue\n\t\t\t\t),\n\t\t\t\tthis.props.placeholder ? _react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ ref: this.placeHolderSizerRef, style: sizerStyle },\n\t\t\t\t\tthis.props.placeholder\n\t\t\t\t) : null\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn AutosizeInput;\n}(_react.Component);\n\nAutosizeInput.propTypes = {\n\tclassName: _propTypes2.default.string, // className for the outer element\n\tdefaultValue: _propTypes2.default.any, // default field value\n\textraWidth: _propTypes2.default.oneOfType([// additional width for input element\n\t_propTypes2.default.number, _propTypes2.default.string]),\n\tid: _propTypes2.default.string, // id to use for the input, can be set for consistent snapshots\n\tinjectStyles: _propTypes2.default.bool, // inject the custom stylesheet to hide clear UI, defaults to true\n\tinputClassName: _propTypes2.default.string, // className for the input element\n\tinputRef: _propTypes2.default.func, // ref callback for the input element\n\tinputStyle: _propTypes2.default.object, // css styles for the input element\n\tminWidth: _propTypes2.default.oneOfType([// minimum width for input element\n\t_propTypes2.default.number, _propTypes2.default.string]),\n\tonAutosize: _propTypes2.default.func, // onAutosize handler: function(newWidth) {}\n\tonChange: _propTypes2.default.func, // onChange handler: function(event) {}\n\tplaceholder: _propTypes2.default.string, // placeholder text\n\tplaceholderIsMinWidth: _propTypes2.default.bool, // don't collapse size to less than the placeholder\n\tstyle: _propTypes2.default.object, // css styles for the outer element\n\tvalue: _propTypes2.default.any // field value\n};\nAutosizeInput.defaultProps = {\n\tminWidth: 1,\n\tinjectStyles: true\n};\n\nexports.default = AutosizeInput;","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport { a as _objectSpread2, s as supportsPassiveEvents, b as clearIndicatorCSS, d as containerCSS, e as css$1, f as dropdownIndicatorCSS, g as groupCSS, h as groupHeadingCSS, i as indicatorsContainerCSS, j as indicatorSeparatorCSS, k as inputCSS, l as loadingIndicatorCSS, m as loadingMessageCSS, n as menuCSS, o as menuListCSS, p as menuPortalCSS, q as multiValueCSS, r as multiValueLabelCSS, t as multiValueRemoveCSS, u as noOptionsMessageCSS, v as optionCSS, w as placeholderCSS, x as css$2, y as valueContainerCSS, z as isTouchCapable, A as isMobileDevice, _ as _createSuper, B as classNames, C as defaultComponents, D as isDocumentElement, E as cleanValue, F as scrollIntoView, G as noop, M as MenuPlacer } from './index-4bd03571.esm.js';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';\nimport React, { useMemo, useRef, useCallback, useEffect, Component } from 'react';\nimport { jsx, css } from '@emotion/react';\nimport memoizeOne from 'memoize-one';\nimport _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__() { return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\"; }\n\nvar _ref = process.env.NODE_ENV === \"production\" ? {\n name: \"7pg0cj-a11yText\",\n styles: \"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap\"\n} : {\n name: \"1f43avz-a11yText-A11yText\",\n styles: \"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFJIiwiZmlsZSI6IkExMXlUZXh0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgdHlwZSBFbGVtZW50Q29uZmlnIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG4vLyBBc3Npc3RpdmUgdGV4dCB0byBkZXNjcmliZSB2aXN1YWwgZWxlbWVudHMuIEhpZGRlbiBmb3Igc2lnaHRlZCB1c2Vycy5cbmNvbnN0IEExMXlUZXh0ID0gKHByb3BzOiBFbGVtZW50Q29uZmlnPCdzcGFuJz4pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\n\nvar A11yText = function A11yText(props) {\n return jsx(\"span\", _extends({\n css: _ref\n }, props));\n};\n\nvar defaultAriaLiveMessages = {\n guidance: function guidance(props) {\n var isSearchable = props.isSearchable,\n isMulti = props.isMulti,\n isDisabled = props.isDisabled,\n tabSelectsValue = props.tabSelectsValue,\n context = props.context;\n\n switch (context) {\n case 'menu':\n return \"Use Up and Down to choose options\".concat(isDisabled ? '' : ', press Enter to select the currently focused option', \", press Escape to exit the menu\").concat(tabSelectsValue ? ', press Tab to select the option and exit the menu' : '', \".\");\n\n case 'input':\n return \"\".concat(props['aria-label'] || 'Select', \" is focused \").concat(isSearchable ? ',type to refine list' : '', \", press Down to open the menu, \").concat(isMulti ? ' press left to focus selected values' : '');\n\n case 'value':\n return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';\n\n default:\n return '';\n }\n },\n onChange: function onChange(props) {\n var action = props.action,\n _props$label = props.label,\n label = _props$label === void 0 ? '' : _props$label,\n isDisabled = props.isDisabled;\n\n switch (action) {\n case 'deselect-option':\n case 'pop-value':\n case 'remove-value':\n return \"option \".concat(label, \", deselected.\");\n\n case 'select-option':\n return isDisabled ? \"option \".concat(label, \" is disabled. Select another option.\") : \"option \".concat(label, \", selected.\");\n\n default:\n return '';\n }\n },\n onFocus: function onFocus(props) {\n var context = props.context,\n _props$focused = props.focused,\n focused = _props$focused === void 0 ? {} : _props$focused,\n options = props.options,\n _props$label2 = props.label,\n label = _props$label2 === void 0 ? '' : _props$label2,\n selectValue = props.selectValue,\n isDisabled = props.isDisabled,\n isSelected = props.isSelected;\n\n var getArrayIndex = function getArrayIndex(arr, item) {\n return arr && arr.length ? \"\".concat(arr.indexOf(item) + 1, \" of \").concat(arr.length) : '';\n };\n\n if (context === 'value' && selectValue) {\n return \"value \".concat(label, \" focused, \").concat(getArrayIndex(selectValue, focused), \".\");\n }\n\n if (context === 'menu') {\n var disabled = isDisabled ? ' disabled' : '';\n var status = \"\".concat(isSelected ? 'selected' : 'focused').concat(disabled);\n return \"option \".concat(label, \" \").concat(status, \", \").concat(getArrayIndex(options, focused), \".\");\n }\n\n return '';\n },\n onFilter: function onFilter(props) {\n var inputValue = props.inputValue,\n resultsMessage = props.resultsMessage;\n return \"\".concat(resultsMessage).concat(inputValue ? ' for search term ' + inputValue : '', \".\");\n }\n};\n\nvar LiveRegion = function LiveRegion(props) {\n var ariaSelection = props.ariaSelection,\n focusedOption = props.focusedOption,\n focusedValue = props.focusedValue,\n focusableOptions = props.focusableOptions,\n isFocused = props.isFocused,\n selectValue = props.selectValue,\n selectProps = props.selectProps;\n var ariaLiveMessages = selectProps.ariaLiveMessages,\n getOptionLabel = selectProps.getOptionLabel,\n inputValue = selectProps.inputValue,\n isMulti = selectProps.isMulti,\n isOptionDisabled = selectProps.isOptionDisabled,\n isSearchable = selectProps.isSearchable,\n menuIsOpen = selectProps.menuIsOpen,\n options = selectProps.options,\n screenReaderStatus = selectProps.screenReaderStatus,\n tabSelectsValue = selectProps.tabSelectsValue;\n var ariaLabel = selectProps['aria-label'];\n var ariaLive = selectProps['aria-live']; // Update aria live message configuration when prop changes\n\n var messages = useMemo(function () {\n return _objectSpread2(_objectSpread2({}, defaultAriaLiveMessages), ariaLiveMessages || {});\n }, [ariaLiveMessages]); // Update aria live selected option when prop changes\n\n var ariaSelected = useMemo(function () {\n var message = '';\n\n if (ariaSelection && messages.onChange) {\n var option = ariaSelection.option,\n removedValue = ariaSelection.removedValue,\n value = ariaSelection.value; // select-option when !isMulti does not return option so we assume selected option is value\n\n var asOption = function asOption(val) {\n return !Array.isArray(val) ? val : null;\n };\n\n var selected = removedValue || option || asOption(value);\n\n var onChangeProps = _objectSpread2({\n isDisabled: selected && isOptionDisabled(selected),\n label: selected ? getOptionLabel(selected) : ''\n }, ariaSelection);\n\n message = messages.onChange(onChangeProps);\n }\n\n return message;\n }, [ariaSelection, isOptionDisabled, getOptionLabel, messages]);\n var ariaFocused = useMemo(function () {\n var focusMsg = '';\n var focused = focusedOption || focusedValue;\n var isSelected = !!(focusedOption && selectValue && selectValue.includes(focusedOption));\n\n if (focused && messages.onFocus) {\n var onFocusProps = {\n focused: focused,\n label: getOptionLabel(focused),\n isDisabled: isOptionDisabled(focused),\n isSelected: isSelected,\n options: options,\n context: focused === focusedOption ? 'menu' : 'value',\n selectValue: selectValue\n };\n focusMsg = messages.onFocus(onFocusProps);\n }\n\n return focusMsg;\n }, [focusedOption, focusedValue, getOptionLabel, isOptionDisabled, messages, options, selectValue]);\n var ariaResults = useMemo(function () {\n var resultsMsg = '';\n\n if (menuIsOpen && options.length && messages.onFilter) {\n var resultsMessage = screenReaderStatus({\n count: focusableOptions.length\n });\n resultsMsg = messages.onFilter({\n inputValue: inputValue,\n resultsMessage: resultsMessage\n });\n }\n\n return resultsMsg;\n }, [focusableOptions, inputValue, menuIsOpen, messages, options, screenReaderStatus]);\n var ariaGuidance = useMemo(function () {\n var guidanceMsg = '';\n\n if (messages.guidance) {\n var context = focusedValue ? 'value' : menuIsOpen ? 'menu' : 'input';\n guidanceMsg = messages.guidance({\n 'aria-label': ariaLabel,\n context: context,\n isDisabled: focusedOption && isOptionDisabled(focusedOption),\n isMulti: isMulti,\n isSearchable: isSearchable,\n tabSelectsValue: tabSelectsValue\n });\n }\n\n return guidanceMsg;\n }, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, tabSelectsValue]);\n var ariaContext = \"\".concat(ariaFocused, \" \").concat(ariaResults, \" \").concat(ariaGuidance);\n return jsx(A11yText, {\n \"aria-live\": ariaLive,\n \"aria-atomic\": \"false\",\n \"aria-relevant\": \"additions text\"\n }, isFocused && jsx(React.Fragment, null, jsx(\"span\", {\n id: \"aria-selection\"\n }, ariaSelected), jsx(\"span\", {\n id: \"aria-context\"\n }, ariaContext)));\n};\n\nvar diacritics = [{\n base: 'A',\n letters: \"A\\u24B6\\uFF21\\xC0\\xC1\\xC2\\u1EA6\\u1EA4\\u1EAA\\u1EA8\\xC3\\u0100\\u0102\\u1EB0\\u1EAE\\u1EB4\\u1EB2\\u0226\\u01E0\\xC4\\u01DE\\u1EA2\\xC5\\u01FA\\u01CD\\u0200\\u0202\\u1EA0\\u1EAC\\u1EB6\\u1E00\\u0104\\u023A\\u2C6F\"\n}, {\n base: 'AA',\n letters: \"\\uA732\"\n}, {\n base: 'AE',\n letters: \"\\xC6\\u01FC\\u01E2\"\n}, {\n base: 'AO',\n letters: \"\\uA734\"\n}, {\n base: 'AU',\n letters: \"\\uA736\"\n}, {\n base: 'AV',\n letters: \"\\uA738\\uA73A\"\n}, {\n base: 'AY',\n letters: \"\\uA73C\"\n}, {\n base: 'B',\n letters: \"B\\u24B7\\uFF22\\u1E02\\u1E04\\u1E06\\u0243\\u0182\\u0181\"\n}, {\n base: 'C',\n letters: \"C\\u24B8\\uFF23\\u0106\\u0108\\u010A\\u010C\\xC7\\u1E08\\u0187\\u023B\\uA73E\"\n}, {\n base: 'D',\n letters: \"D\\u24B9\\uFF24\\u1E0A\\u010E\\u1E0C\\u1E10\\u1E12\\u1E0E\\u0110\\u018B\\u018A\\u0189\\uA779\"\n}, {\n base: 'DZ',\n letters: \"\\u01F1\\u01C4\"\n}, {\n base: 'Dz',\n letters: \"\\u01F2\\u01C5\"\n}, {\n base: 'E',\n letters: \"E\\u24BA\\uFF25\\xC8\\xC9\\xCA\\u1EC0\\u1EBE\\u1EC4\\u1EC2\\u1EBC\\u0112\\u1E14\\u1E16\\u0114\\u0116\\xCB\\u1EBA\\u011A\\u0204\\u0206\\u1EB8\\u1EC6\\u0228\\u1E1C\\u0118\\u1E18\\u1E1A\\u0190\\u018E\"\n}, {\n base: 'F',\n letters: \"F\\u24BB\\uFF26\\u1E1E\\u0191\\uA77B\"\n}, {\n base: 'G',\n letters: \"G\\u24BC\\uFF27\\u01F4\\u011C\\u1E20\\u011E\\u0120\\u01E6\\u0122\\u01E4\\u0193\\uA7A0\\uA77D\\uA77E\"\n}, {\n base: 'H',\n letters: \"H\\u24BD\\uFF28\\u0124\\u1E22\\u1E26\\u021E\\u1E24\\u1E28\\u1E2A\\u0126\\u2C67\\u2C75\\uA78D\"\n}, {\n base: 'I',\n letters: \"I\\u24BE\\uFF29\\xCC\\xCD\\xCE\\u0128\\u012A\\u012C\\u0130\\xCF\\u1E2E\\u1EC8\\u01CF\\u0208\\u020A\\u1ECA\\u012E\\u1E2C\\u0197\"\n}, {\n base: 'J',\n letters: \"J\\u24BF\\uFF2A\\u0134\\u0248\"\n}, {\n base: 'K',\n letters: \"K\\u24C0\\uFF2B\\u1E30\\u01E8\\u1E32\\u0136\\u1E34\\u0198\\u2C69\\uA740\\uA742\\uA744\\uA7A2\"\n}, {\n base: 'L',\n letters: \"L\\u24C1\\uFF2C\\u013F\\u0139\\u013D\\u1E36\\u1E38\\u013B\\u1E3C\\u1E3A\\u0141\\u023D\\u2C62\\u2C60\\uA748\\uA746\\uA780\"\n}, {\n base: 'LJ',\n letters: \"\\u01C7\"\n}, {\n base: 'Lj',\n letters: \"\\u01C8\"\n}, {\n base: 'M',\n letters: \"M\\u24C2\\uFF2D\\u1E3E\\u1E40\\u1E42\\u2C6E\\u019C\"\n}, {\n base: 'N',\n letters: \"N\\u24C3\\uFF2E\\u01F8\\u0143\\xD1\\u1E44\\u0147\\u1E46\\u0145\\u1E4A\\u1E48\\u0220\\u019D\\uA790\\uA7A4\"\n}, {\n base: 'NJ',\n letters: \"\\u01CA\"\n}, {\n base: 'Nj',\n letters: \"\\u01CB\"\n}, {\n base: 'O',\n letters: \"O\\u24C4\\uFF2F\\xD2\\xD3\\xD4\\u1ED2\\u1ED0\\u1ED6\\u1ED4\\xD5\\u1E4C\\u022C\\u1E4E\\u014C\\u1E50\\u1E52\\u014E\\u022E\\u0230\\xD6\\u022A\\u1ECE\\u0150\\u01D1\\u020C\\u020E\\u01A0\\u1EDC\\u1EDA\\u1EE0\\u1EDE\\u1EE2\\u1ECC\\u1ED8\\u01EA\\u01EC\\xD8\\u01FE\\u0186\\u019F\\uA74A\\uA74C\"\n}, {\n base: 'OI',\n letters: \"\\u01A2\"\n}, {\n base: 'OO',\n letters: \"\\uA74E\"\n}, {\n base: 'OU',\n letters: \"\\u0222\"\n}, {\n base: 'P',\n letters: \"P\\u24C5\\uFF30\\u1E54\\u1E56\\u01A4\\u2C63\\uA750\\uA752\\uA754\"\n}, {\n base: 'Q',\n letters: \"Q\\u24C6\\uFF31\\uA756\\uA758\\u024A\"\n}, {\n base: 'R',\n letters: \"R\\u24C7\\uFF32\\u0154\\u1E58\\u0158\\u0210\\u0212\\u1E5A\\u1E5C\\u0156\\u1E5E\\u024C\\u2C64\\uA75A\\uA7A6\\uA782\"\n}, {\n base: 'S',\n letters: \"S\\u24C8\\uFF33\\u1E9E\\u015A\\u1E64\\u015C\\u1E60\\u0160\\u1E66\\u1E62\\u1E68\\u0218\\u015E\\u2C7E\\uA7A8\\uA784\"\n}, {\n base: 'T',\n letters: \"T\\u24C9\\uFF34\\u1E6A\\u0164\\u1E6C\\u021A\\u0162\\u1E70\\u1E6E\\u0166\\u01AC\\u01AE\\u023E\\uA786\"\n}, {\n base: 'TZ',\n letters: \"\\uA728\"\n}, {\n base: 'U',\n letters: \"U\\u24CA\\uFF35\\xD9\\xDA\\xDB\\u0168\\u1E78\\u016A\\u1E7A\\u016C\\xDC\\u01DB\\u01D7\\u01D5\\u01D9\\u1EE6\\u016E\\u0170\\u01D3\\u0214\\u0216\\u01AF\\u1EEA\\u1EE8\\u1EEE\\u1EEC\\u1EF0\\u1EE4\\u1E72\\u0172\\u1E76\\u1E74\\u0244\"\n}, {\n base: 'V',\n letters: \"V\\u24CB\\uFF36\\u1E7C\\u1E7E\\u01B2\\uA75E\\u0245\"\n}, {\n base: 'VY',\n letters: \"\\uA760\"\n}, {\n base: 'W',\n letters: \"W\\u24CC\\uFF37\\u1E80\\u1E82\\u0174\\u1E86\\u1E84\\u1E88\\u2C72\"\n}, {\n base: 'X',\n letters: \"X\\u24CD\\uFF38\\u1E8A\\u1E8C\"\n}, {\n base: 'Y',\n letters: \"Y\\u24CE\\uFF39\\u1EF2\\xDD\\u0176\\u1EF8\\u0232\\u1E8E\\u0178\\u1EF6\\u1EF4\\u01B3\\u024E\\u1EFE\"\n}, {\n base: 'Z',\n letters: \"Z\\u24CF\\uFF3A\\u0179\\u1E90\\u017B\\u017D\\u1E92\\u1E94\\u01B5\\u0224\\u2C7F\\u2C6B\\uA762\"\n}, {\n base: 'a',\n letters: \"a\\u24D0\\uFF41\\u1E9A\\xE0\\xE1\\xE2\\u1EA7\\u1EA5\\u1EAB\\u1EA9\\xE3\\u0101\\u0103\\u1EB1\\u1EAF\\u1EB5\\u1EB3\\u0227\\u01E1\\xE4\\u01DF\\u1EA3\\xE5\\u01FB\\u01CE\\u0201\\u0203\\u1EA1\\u1EAD\\u1EB7\\u1E01\\u0105\\u2C65\\u0250\"\n}, {\n base: 'aa',\n letters: \"\\uA733\"\n}, {\n base: 'ae',\n letters: \"\\xE6\\u01FD\\u01E3\"\n}, {\n base: 'ao',\n letters: \"\\uA735\"\n}, {\n base: 'au',\n letters: \"\\uA737\"\n}, {\n base: 'av',\n letters: \"\\uA739\\uA73B\"\n}, {\n base: 'ay',\n letters: \"\\uA73D\"\n}, {\n base: 'b',\n letters: \"b\\u24D1\\uFF42\\u1E03\\u1E05\\u1E07\\u0180\\u0183\\u0253\"\n}, {\n base: 'c',\n letters: \"c\\u24D2\\uFF43\\u0107\\u0109\\u010B\\u010D\\xE7\\u1E09\\u0188\\u023C\\uA73F\\u2184\"\n}, {\n base: 'd',\n letters: \"d\\u24D3\\uFF44\\u1E0B\\u010F\\u1E0D\\u1E11\\u1E13\\u1E0F\\u0111\\u018C\\u0256\\u0257\\uA77A\"\n}, {\n base: 'dz',\n letters: \"\\u01F3\\u01C6\"\n}, {\n base: 'e',\n letters: \"e\\u24D4\\uFF45\\xE8\\xE9\\xEA\\u1EC1\\u1EBF\\u1EC5\\u1EC3\\u1EBD\\u0113\\u1E15\\u1E17\\u0115\\u0117\\xEB\\u1EBB\\u011B\\u0205\\u0207\\u1EB9\\u1EC7\\u0229\\u1E1D\\u0119\\u1E19\\u1E1B\\u0247\\u025B\\u01DD\"\n}, {\n base: 'f',\n letters: \"f\\u24D5\\uFF46\\u1E1F\\u0192\\uA77C\"\n}, {\n base: 'g',\n letters: \"g\\u24D6\\uFF47\\u01F5\\u011D\\u1E21\\u011F\\u0121\\u01E7\\u0123\\u01E5\\u0260\\uA7A1\\u1D79\\uA77F\"\n}, {\n base: 'h',\n letters: \"h\\u24D7\\uFF48\\u0125\\u1E23\\u1E27\\u021F\\u1E25\\u1E29\\u1E2B\\u1E96\\u0127\\u2C68\\u2C76\\u0265\"\n}, {\n base: 'hv',\n letters: \"\\u0195\"\n}, {\n base: 'i',\n letters: \"i\\u24D8\\uFF49\\xEC\\xED\\xEE\\u0129\\u012B\\u012D\\xEF\\u1E2F\\u1EC9\\u01D0\\u0209\\u020B\\u1ECB\\u012F\\u1E2D\\u0268\\u0131\"\n}, {\n base: 'j',\n letters: \"j\\u24D9\\uFF4A\\u0135\\u01F0\\u0249\"\n}, {\n base: 'k',\n letters: \"k\\u24DA\\uFF4B\\u1E31\\u01E9\\u1E33\\u0137\\u1E35\\u0199\\u2C6A\\uA741\\uA743\\uA745\\uA7A3\"\n}, {\n base: 'l',\n letters: \"l\\u24DB\\uFF4C\\u0140\\u013A\\u013E\\u1E37\\u1E39\\u013C\\u1E3D\\u1E3B\\u017F\\u0142\\u019A\\u026B\\u2C61\\uA749\\uA781\\uA747\"\n}, {\n base: 'lj',\n letters: \"\\u01C9\"\n}, {\n base: 'm',\n letters: \"m\\u24DC\\uFF4D\\u1E3F\\u1E41\\u1E43\\u0271\\u026F\"\n}, {\n base: 'n',\n letters: \"n\\u24DD\\uFF4E\\u01F9\\u0144\\xF1\\u1E45\\u0148\\u1E47\\u0146\\u1E4B\\u1E49\\u019E\\u0272\\u0149\\uA791\\uA7A5\"\n}, {\n base: 'nj',\n letters: \"\\u01CC\"\n}, {\n base: 'o',\n letters: \"o\\u24DE\\uFF4F\\xF2\\xF3\\xF4\\u1ED3\\u1ED1\\u1ED7\\u1ED5\\xF5\\u1E4D\\u022D\\u1E4F\\u014D\\u1E51\\u1E53\\u014F\\u022F\\u0231\\xF6\\u022B\\u1ECF\\u0151\\u01D2\\u020D\\u020F\\u01A1\\u1EDD\\u1EDB\\u1EE1\\u1EDF\\u1EE3\\u1ECD\\u1ED9\\u01EB\\u01ED\\xF8\\u01FF\\u0254\\uA74B\\uA74D\\u0275\"\n}, {\n base: 'oi',\n letters: \"\\u01A3\"\n}, {\n base: 'ou',\n letters: \"\\u0223\"\n}, {\n base: 'oo',\n letters: \"\\uA74F\"\n}, {\n base: 'p',\n letters: \"p\\u24DF\\uFF50\\u1E55\\u1E57\\u01A5\\u1D7D\\uA751\\uA753\\uA755\"\n}, {\n base: 'q',\n letters: \"q\\u24E0\\uFF51\\u024B\\uA757\\uA759\"\n}, {\n base: 'r',\n letters: \"r\\u24E1\\uFF52\\u0155\\u1E59\\u0159\\u0211\\u0213\\u1E5B\\u1E5D\\u0157\\u1E5F\\u024D\\u027D\\uA75B\\uA7A7\\uA783\"\n}, {\n base: 's',\n letters: \"s\\u24E2\\uFF53\\xDF\\u015B\\u1E65\\u015D\\u1E61\\u0161\\u1E67\\u1E63\\u1E69\\u0219\\u015F\\u023F\\uA7A9\\uA785\\u1E9B\"\n}, {\n base: 't',\n letters: \"t\\u24E3\\uFF54\\u1E6B\\u1E97\\u0165\\u1E6D\\u021B\\u0163\\u1E71\\u1E6F\\u0167\\u01AD\\u0288\\u2C66\\uA787\"\n}, {\n base: 'tz',\n letters: \"\\uA729\"\n}, {\n base: 'u',\n letters: \"u\\u24E4\\uFF55\\xF9\\xFA\\xFB\\u0169\\u1E79\\u016B\\u1E7B\\u016D\\xFC\\u01DC\\u01D8\\u01D6\\u01DA\\u1EE7\\u016F\\u0171\\u01D4\\u0215\\u0217\\u01B0\\u1EEB\\u1EE9\\u1EEF\\u1EED\\u1EF1\\u1EE5\\u1E73\\u0173\\u1E77\\u1E75\\u0289\"\n}, {\n base: 'v',\n letters: \"v\\u24E5\\uFF56\\u1E7D\\u1E7F\\u028B\\uA75F\\u028C\"\n}, {\n base: 'vy',\n letters: \"\\uA761\"\n}, {\n base: 'w',\n letters: \"w\\u24E6\\uFF57\\u1E81\\u1E83\\u0175\\u1E87\\u1E85\\u1E98\\u1E89\\u2C73\"\n}, {\n base: 'x',\n letters: \"x\\u24E7\\uFF58\\u1E8B\\u1E8D\"\n}, {\n base: 'y',\n letters: \"y\\u24E8\\uFF59\\u1EF3\\xFD\\u0177\\u1EF9\\u0233\\u1E8F\\xFF\\u1EF7\\u1E99\\u1EF5\\u01B4\\u024F\\u1EFF\"\n}, {\n base: 'z',\n letters: \"z\\u24E9\\uFF5A\\u017A\\u1E91\\u017C\\u017E\\u1E93\\u1E95\\u01B6\\u0225\\u0240\\u2C6C\\uA763\"\n}];\nvar anyDiacritic = new RegExp('[' + diacritics.map(function (d) {\n return d.letters;\n}).join('') + ']', 'g');\nvar diacriticToBase = {};\n\nfor (var i = 0; i < diacritics.length; i++) {\n var diacritic = diacritics[i];\n\n for (var j = 0; j < diacritic.letters.length; j++) {\n diacriticToBase[diacritic.letters[j]] = diacritic.base;\n }\n}\n\nvar stripDiacritics = function stripDiacritics(str) {\n return str.replace(anyDiacritic, function (match) {\n return diacriticToBase[match];\n });\n};\n\nvar memoizedStripDiacriticsForInput = memoizeOne(stripDiacritics);\n\nvar trimString = function trimString(str) {\n return str.replace(/^\\s+|\\s+$/g, '');\n};\n\nvar defaultStringify = function defaultStringify(option) {\n return \"\".concat(option.label, \" \").concat(option.value);\n};\n\nvar createFilter = function createFilter(config) {\n return function (option, rawInput) {\n var _ignoreCase$ignoreAcc = _objectSpread2({\n ignoreCase: true,\n ignoreAccents: true,\n stringify: defaultStringify,\n trim: true,\n matchFrom: 'any'\n }, config),\n ignoreCase = _ignoreCase$ignoreAcc.ignoreCase,\n ignoreAccents = _ignoreCase$ignoreAcc.ignoreAccents,\n stringify = _ignoreCase$ignoreAcc.stringify,\n trim = _ignoreCase$ignoreAcc.trim,\n matchFrom = _ignoreCase$ignoreAcc.matchFrom;\n\n var input = trim ? trimString(rawInput) : rawInput;\n var candidate = trim ? trimString(stringify(option)) : stringify(option);\n\n if (ignoreCase) {\n input = input.toLowerCase();\n candidate = candidate.toLowerCase();\n }\n\n if (ignoreAccents) {\n input = memoizedStripDiacriticsForInput(input);\n candidate = stripDiacritics(candidate);\n }\n\n return matchFrom === 'start' ? candidate.substr(0, input.length) === input : candidate.indexOf(input) > -1;\n };\n};\n\nfunction DummyInput(_ref) {\n _ref.in;\n _ref.out;\n _ref.onExited;\n _ref.appear;\n _ref.enter;\n _ref.exit;\n var innerRef = _ref.innerRef;\n _ref.emotion;\n var props = _objectWithoutProperties(_ref, [\"in\", \"out\", \"onExited\", \"appear\", \"enter\", \"exit\", \"innerRef\", \"emotion\"]);\n\n return jsx(\"input\", _extends({\n ref: innerRef\n }, props, {\n css: /*#__PURE__*/css({\n label: 'dummyInput',\n // get rid of any default styles\n background: 0,\n border: 0,\n fontSize: 'inherit',\n outline: 0,\n padding: 0,\n // important! without `width` browsers won't allow focus\n width: 1,\n // remove cursor on desktop\n color: 'transparent',\n // remove cursor on mobile whilst maintaining \"scroll into view\" behaviour\n left: -100,\n opacity: 0,\n position: 'relative',\n transform: 'scale(0)'\n }, process.env.NODE_ENV === \"production\" ? \"\" : \";label:DummyInput;\", process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUJNIiwiZmlsZSI6IkR1bW15SW5wdXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbjogaW5Qcm9wLFxuICBvdXQsXG4gIG9uRXhpdGVkLFxuICBhcHBlYXIsXG4gIGVudGVyLFxuICBleGl0LFxuICBpbm5lclJlZixcbiAgZW1vdGlvbixcbiAgLi4ucHJvcHNcbn06IGFueSkge1xuICByZXR1cm4gKFxuICAgIDxpbnB1dFxuICAgICAgcmVmPXtpbm5lclJlZn1cbiAgICAgIHsuLi5wcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSgwKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */\")\n }));\n}\n\nvar cancelScroll = function cancelScroll(event) {\n event.preventDefault();\n event.stopPropagation();\n};\n\nfunction useScrollCapture(_ref) {\n var isEnabled = _ref.isEnabled,\n onBottomArrive = _ref.onBottomArrive,\n onBottomLeave = _ref.onBottomLeave,\n onTopArrive = _ref.onTopArrive,\n onTopLeave = _ref.onTopLeave;\n var isBottom = useRef(false);\n var isTop = useRef(false);\n var touchStart = useRef(0);\n var scrollTarget = useRef(null);\n var handleEventDelta = useCallback(function (event, delta) {\n // Reference should never be `null` at this point, but flow complains otherwise\n if (scrollTarget.current === null) return;\n var _scrollTarget$current = scrollTarget.current,\n scrollTop = _scrollTarget$current.scrollTop,\n scrollHeight = _scrollTarget$current.scrollHeight,\n clientHeight = _scrollTarget$current.clientHeight;\n var target = scrollTarget.current;\n var isDeltaPositive = delta > 0;\n var availableScroll = scrollHeight - clientHeight - scrollTop;\n var shouldCancelScroll = false; // reset bottom/top flags\n\n if (availableScroll > delta && isBottom.current) {\n if (onBottomLeave) onBottomLeave(event);\n isBottom.current = false;\n }\n\n if (isDeltaPositive && isTop.current) {\n if (onTopLeave) onTopLeave(event);\n isTop.current = false;\n } // bottom limit\n\n\n if (isDeltaPositive && delta > availableScroll) {\n if (onBottomArrive && !isBottom.current) {\n onBottomArrive(event);\n }\n\n target.scrollTop = scrollHeight;\n shouldCancelScroll = true;\n isBottom.current = true; // top limit\n } else if (!isDeltaPositive && -delta > scrollTop) {\n if (onTopArrive && !isTop.current) {\n onTopArrive(event);\n }\n\n target.scrollTop = 0;\n shouldCancelScroll = true;\n isTop.current = true;\n } // cancel scroll\n\n\n if (shouldCancelScroll) {\n cancelScroll(event);\n }\n }, []);\n var onWheel = useCallback(function (event) {\n handleEventDelta(event, event.deltaY);\n }, [handleEventDelta]);\n var onTouchStart = useCallback(function (event) {\n // set touch start so we can calculate touchmove delta\n touchStart.current = event.changedTouches[0].clientY;\n }, []);\n var onTouchMove = useCallback(function (event) {\n var deltaY = touchStart.current - event.changedTouches[0].clientY;\n handleEventDelta(event, deltaY);\n }, [handleEventDelta]);\n var startListening = useCallback(function (el) {\n // bail early if no element is available to attach to\n if (!el) return;\n var notPassive = supportsPassiveEvents ? {\n passive: false\n } : false; // all the if statements are to appease Flow 😢\n\n if (typeof el.addEventListener === 'function') {\n el.addEventListener('wheel', onWheel, notPassive);\n }\n\n if (typeof el.addEventListener === 'function') {\n el.addEventListener('touchstart', onTouchStart, notPassive);\n }\n\n if (typeof el.addEventListener === 'function') {\n el.addEventListener('touchmove', onTouchMove, notPassive);\n }\n }, [onTouchMove, onTouchStart, onWheel]);\n var stopListening = useCallback(function (el) {\n // bail early if no element is available to detach from\n if (!el) return; // all the if statements are to appease Flow 😢\n\n if (typeof el.removeEventListener === 'function') {\n el.removeEventListener('wheel', onWheel, false);\n }\n\n if (typeof el.removeEventListener === 'function') {\n el.removeEventListener('touchstart', onTouchStart, false);\n }\n\n if (typeof el.removeEventListener === 'function') {\n el.removeEventListener('touchmove', onTouchMove, false);\n }\n }, [onTouchMove, onTouchStart, onWheel]);\n useEffect(function () {\n if (!isEnabled) return;\n var element = scrollTarget.current;\n startListening(element);\n return function () {\n stopListening(element);\n };\n }, [isEnabled, startListening, stopListening]);\n return function (element) {\n scrollTarget.current = element;\n };\n}\n\nvar STYLE_KEYS = ['boxSizing', 'height', 'overflow', 'paddingRight', 'position'];\nvar LOCK_STYLES = {\n boxSizing: 'border-box',\n // account for possible declaration `width: 100%;` on body\n overflow: 'hidden',\n position: 'relative',\n height: '100%'\n};\n\nfunction preventTouchMove(e) {\n e.preventDefault();\n}\n\nfunction allowTouchMove(e) {\n e.stopPropagation();\n}\n\nfunction preventInertiaScroll() {\n var top = this.scrollTop;\n var totalScroll = this.scrollHeight;\n var currentScroll = top + this.offsetHeight;\n\n if (top === 0) {\n this.scrollTop = 1;\n } else if (currentScroll === totalScroll) {\n this.scrollTop = top - 1;\n }\n} // `ontouchstart` check works on most browsers\n// `maxTouchPoints` works on IE10/11 and Surface\n\n\nfunction isTouchDevice() {\n return 'ontouchstart' in window || navigator.maxTouchPoints;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nvar activeScrollLocks = 0;\nvar listenerOptions = {\n capture: false,\n passive: false\n};\nfunction useScrollLock(_ref) {\n var isEnabled = _ref.isEnabled,\n _ref$accountForScroll = _ref.accountForScrollbars,\n accountForScrollbars = _ref$accountForScroll === void 0 ? true : _ref$accountForScroll;\n var originalStyles = useRef({});\n var scrollTarget = useRef(null);\n var addScrollLock = useCallback(function (touchScrollTarget) {\n if (!canUseDOM) return;\n var target = document.body;\n var targetStyle = target && target.style;\n\n if (accountForScrollbars) {\n // store any styles already applied to the body\n STYLE_KEYS.forEach(function (key) {\n var val = targetStyle && targetStyle[key];\n originalStyles.current[key] = val;\n });\n } // apply the lock styles and padding if this is the first scroll lock\n\n\n if (accountForScrollbars && activeScrollLocks < 1) {\n var currentPadding = parseInt(originalStyles.current.paddingRight, 10) || 0;\n var clientWidth = document.body ? document.body.clientWidth : 0;\n var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;\n Object.keys(LOCK_STYLES).forEach(function (key) {\n var val = LOCK_STYLES[key];\n\n if (targetStyle) {\n targetStyle[key] = val;\n }\n });\n\n if (targetStyle) {\n targetStyle.paddingRight = \"\".concat(adjustedPadding, \"px\");\n }\n } // account for touch devices\n\n\n if (target && isTouchDevice()) {\n // Mobile Safari ignores { overflow: hidden } declaration on the body.\n target.addEventListener('touchmove', preventTouchMove, listenerOptions); // Allow scroll on provided target\n\n if (touchScrollTarget) {\n touchScrollTarget.addEventListener('touchstart', preventInertiaScroll, listenerOptions);\n touchScrollTarget.addEventListener('touchmove', allowTouchMove, listenerOptions);\n }\n } // increment active scroll locks\n\n\n activeScrollLocks += 1;\n }, []);\n var removeScrollLock = useCallback(function (touchScrollTarget) {\n if (!canUseDOM) return;\n var target = document.body;\n var targetStyle = target && target.style; // safely decrement active scroll locks\n\n activeScrollLocks = Math.max(activeScrollLocks - 1, 0); // reapply original body styles, if any\n\n if (accountForScrollbars && activeScrollLocks < 1) {\n STYLE_KEYS.forEach(function (key) {\n var val = originalStyles.current[key];\n\n if (targetStyle) {\n targetStyle[key] = val;\n }\n });\n } // remove touch listeners\n\n\n if (target && isTouchDevice()) {\n target.removeEventListener('touchmove', preventTouchMove, listenerOptions);\n\n if (touchScrollTarget) {\n touchScrollTarget.removeEventListener('touchstart', preventInertiaScroll, listenerOptions);\n touchScrollTarget.removeEventListener('touchmove', allowTouchMove, listenerOptions);\n }\n }\n }, []);\n useEffect(function () {\n if (!isEnabled) return;\n var element = scrollTarget.current;\n addScrollLock(element);\n return function () {\n removeScrollLock(element);\n };\n }, [isEnabled, addScrollLock, removeScrollLock]);\n return function (element) {\n scrollTarget.current = element;\n };\n}\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\"; }\n\nvar blurSelectInput = function blurSelectInput() {\n return document.activeElement && document.activeElement.blur();\n};\n\nvar _ref2 = process.env.NODE_ENV === \"production\" ? {\n name: \"1kfdb0e\",\n styles: \"position:fixed;left:0;bottom:0;right:0;top:0\"\n} : {\n name: \"bp8cua-ScrollManager\",\n styles: \"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0RVIiwiZmlsZSI6IlNjcm9sbE1hbmFnZXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QsIHsgdHlwZSBFbGVtZW50IH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHVzZVNjcm9sbENhcHR1cmUgZnJvbSAnLi91c2VTY3JvbGxDYXB0dXJlJztcbmltcG9ydCB1c2VTY3JvbGxMb2NrIGZyb20gJy4vdXNlU2Nyb2xsTG9jayc7XG5cbnR5cGUgUmVmQ2FsbGJhY2s8VD4gPSAoVCB8IG51bGwpID0+IHZvaWQ7XG5cbnR5cGUgUHJvcHMgPSB7XG4gIGNoaWxkcmVuOiAoUmVmQ2FsbGJhY2s8SFRNTEVsZW1lbnQ+KSA9PiBFbGVtZW50PCo+LFxuICBsb2NrRW5hYmxlZDogYm9vbGVhbixcbiAgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW4sXG4gIG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBTeW50aGV0aWNFdmVudDxIVE1MRWxlbWVudD4pID0+IHZvaWQsXG4gIG9uQm90dG9tTGVhdmU/OiAoZXZlbnQ6IFN5bnRoZXRpY0V2ZW50PEhUTUxFbGVtZW50PikgPT4gdm9pZCxcbiAgb25Ub3BBcnJpdmU/OiAoZXZlbnQ6IFN5bnRoZXRpY0V2ZW50PEhUTUxFbGVtZW50PikgPT4gdm9pZCxcbiAgb25Ub3BMZWF2ZT86IChldmVudDogU3ludGhldGljRXZlbnQ8SFRNTEVsZW1lbnQ+KSA9PiB2b2lkLFxufTtcblxuY29uc3QgYmx1clNlbGVjdElucHV0ID0gKCkgPT5cbiAgZG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJiBkb2N1bWVudC5hY3RpdmVFbGVtZW50LmJsdXIoKTtcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gU2Nyb2xsTWFuYWdlcih7XG4gIGNoaWxkcmVuLFxuICBsb2NrRW5hYmxlZCxcbiAgY2FwdHVyZUVuYWJsZWQgPSB0cnVlLFxuICBvbkJvdHRvbUFycml2ZSxcbiAgb25Cb3R0b21MZWF2ZSxcbiAgb25Ub3BBcnJpdmUsXG4gIG9uVG9wTGVhdmUsXG59OiBQcm9wcykge1xuICBjb25zdCBzZXRTY3JvbGxDYXB0dXJlVGFyZ2V0ID0gdXNlU2Nyb2xsQ2FwdHVyZSh7XG4gICAgaXNFbmFibGVkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmID0gZWxlbWVudCA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPFJlYWN0LkZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvUmVhY3QuRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1\n};\n\nfunction ScrollManager(_ref) {\n var children = _ref.children,\n lockEnabled = _ref.lockEnabled,\n _ref$captureEnabled = _ref.captureEnabled,\n captureEnabled = _ref$captureEnabled === void 0 ? true : _ref$captureEnabled,\n onBottomArrive = _ref.onBottomArrive,\n onBottomLeave = _ref.onBottomLeave,\n onTopArrive = _ref.onTopArrive,\n onTopLeave = _ref.onTopLeave;\n var setScrollCaptureTarget = useScrollCapture({\n isEnabled: captureEnabled,\n onBottomArrive: onBottomArrive,\n onBottomLeave: onBottomLeave,\n onTopArrive: onTopArrive,\n onTopLeave: onTopLeave\n });\n var setScrollLockTarget = useScrollLock({\n isEnabled: lockEnabled\n });\n\n var targetRef = function targetRef(element) {\n setScrollCaptureTarget(element);\n setScrollLockTarget(element);\n };\n\n return jsx(React.Fragment, null, lockEnabled && jsx(\"div\", {\n onClick: blurSelectInput,\n css: _ref2\n }), children(targetRef));\n}\n\nvar formatGroupLabel = function formatGroupLabel(group) {\n return group.label;\n};\nvar getOptionLabel = function getOptionLabel(option) {\n return option.label;\n};\nvar getOptionValue = function getOptionValue(option) {\n return option.value;\n};\nvar isOptionDisabled = function isOptionDisabled(option) {\n return !!option.isDisabled;\n};\n\nvar defaultStyles = {\n clearIndicator: clearIndicatorCSS,\n container: containerCSS,\n control: css$1,\n dropdownIndicator: dropdownIndicatorCSS,\n group: groupCSS,\n groupHeading: groupHeadingCSS,\n indicatorsContainer: indicatorsContainerCSS,\n indicatorSeparator: indicatorSeparatorCSS,\n input: inputCSS,\n loadingIndicator: loadingIndicatorCSS,\n loadingMessage: loadingMessageCSS,\n menu: menuCSS,\n menuList: menuListCSS,\n menuPortal: menuPortalCSS,\n multiValue: multiValueCSS,\n multiValueLabel: multiValueLabelCSS,\n multiValueRemove: multiValueRemoveCSS,\n noOptionsMessage: noOptionsMessageCSS,\n option: optionCSS,\n placeholder: placeholderCSS,\n singleValue: css$2,\n valueContainer: valueContainerCSS\n}; // Merge Utility\n// Allows consumers to extend a base Select with additional styles\n\nfunction mergeStyles(source) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n // initialize with source styles\n var styles = _objectSpread2({}, source); // massage in target styles\n\n\n Object.keys(target).forEach(function (key) {\n if (source[key]) {\n styles[key] = function (rsCss, props) {\n return target[key](source[key](rsCss, props), props);\n };\n } else {\n styles[key] = target[key];\n }\n });\n return styles;\n}\n\nvar colors = {\n primary: '#2684FF',\n primary75: '#4C9AFF',\n primary50: '#B2D4FF',\n primary25: '#DEEBFF',\n danger: '#DE350B',\n dangerLight: '#FFBDAD',\n neutral0: 'hsl(0, 0%, 100%)',\n neutral5: 'hsl(0, 0%, 95%)',\n neutral10: 'hsl(0, 0%, 90%)',\n neutral20: 'hsl(0, 0%, 80%)',\n neutral30: 'hsl(0, 0%, 70%)',\n neutral40: 'hsl(0, 0%, 60%)',\n neutral50: 'hsl(0, 0%, 50%)',\n neutral60: 'hsl(0, 0%, 40%)',\n neutral70: 'hsl(0, 0%, 30%)',\n neutral80: 'hsl(0, 0%, 20%)',\n neutral90: 'hsl(0, 0%, 10%)'\n};\nvar borderRadius = 4; // Used to calculate consistent margin/padding on elements\n\nvar baseUnit = 4; // The minimum height of the control\n\nvar controlHeight = 38; // The amount of space between the control and menu */\n\nvar menuGutter = baseUnit * 2;\nvar spacing = {\n baseUnit: baseUnit,\n controlHeight: controlHeight,\n menuGutter: menuGutter\n};\nvar defaultTheme = {\n borderRadius: borderRadius,\n colors: colors,\n spacing: spacing\n};\n\nvar defaultProps = {\n 'aria-live': 'polite',\n backspaceRemovesValue: true,\n blurInputOnSelect: isTouchCapable(),\n captureMenuScroll: !isTouchCapable(),\n closeMenuOnSelect: true,\n closeMenuOnScroll: false,\n components: {},\n controlShouldRenderValue: true,\n escapeClearsValue: false,\n filterOption: createFilter(),\n formatGroupLabel: formatGroupLabel,\n getOptionLabel: getOptionLabel,\n getOptionValue: getOptionValue,\n isDisabled: false,\n isLoading: false,\n isMulti: false,\n isRtl: false,\n isSearchable: true,\n isOptionDisabled: isOptionDisabled,\n loadingMessage: function loadingMessage() {\n return 'Loading...';\n },\n maxMenuHeight: 300,\n minMenuHeight: 140,\n menuIsOpen: false,\n menuPlacement: 'bottom',\n menuPosition: 'absolute',\n menuShouldBlockScroll: false,\n menuShouldScrollIntoView: !isMobileDevice(),\n noOptionsMessage: function noOptionsMessage() {\n return 'No options';\n },\n openMenuOnFocus: false,\n openMenuOnClick: true,\n options: [],\n pageSize: 5,\n placeholder: 'Select...',\n screenReaderStatus: function screenReaderStatus(_ref) {\n var count = _ref.count;\n return \"\".concat(count, \" result\").concat(count !== 1 ? 's' : '', \" available\");\n },\n styles: {},\n tabIndex: '0',\n tabSelectsValue: true\n};\n\nfunction toCategorizedOption(props, option, selectValue, index) {\n var isDisabled = _isOptionDisabled(props, option, selectValue);\n\n var isSelected = _isOptionSelected(props, option, selectValue);\n\n var label = getOptionLabel$1(props, option);\n var value = getOptionValue$1(props, option);\n return {\n type: 'option',\n data: option,\n isDisabled: isDisabled,\n isSelected: isSelected,\n label: label,\n value: value,\n index: index\n };\n}\n\nfunction buildCategorizedOptions(props, selectValue) {\n return props.options.map(function (groupOrOption, groupOrOptionIndex) {\n if (groupOrOption.options) {\n var categorizedOptions = groupOrOption.options.map(function (option, optionIndex) {\n return toCategorizedOption(props, option, selectValue, optionIndex);\n }).filter(function (categorizedOption) {\n return isFocusable(props, categorizedOption);\n });\n return categorizedOptions.length > 0 ? {\n type: 'group',\n data: groupOrOption,\n options: categorizedOptions,\n index: groupOrOptionIndex\n } : undefined;\n }\n\n var categorizedOption = toCategorizedOption(props, groupOrOption, selectValue, groupOrOptionIndex);\n return isFocusable(props, categorizedOption) ? categorizedOption : undefined;\n }) // Flow limitation (see https://github.com/facebook/flow/issues/1414)\n .filter(function (categorizedOption) {\n return !!categorizedOption;\n });\n}\n\nfunction buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {\n return categorizedOptions.reduce(function (optionsAccumulator, categorizedOption) {\n if (categorizedOption.type === 'group') {\n optionsAccumulator.push.apply(optionsAccumulator, _toConsumableArray(categorizedOption.options.map(function (option) {\n return option.data;\n })));\n } else {\n optionsAccumulator.push(categorizedOption.data);\n }\n\n return optionsAccumulator;\n }, []);\n}\n\nfunction buildFocusableOptions(props, selectValue) {\n return buildFocusableOptionsFromCategorizedOptions(buildCategorizedOptions(props, selectValue));\n}\n\nfunction isFocusable(props, categorizedOption) {\n var _props$inputValue = props.inputValue,\n inputValue = _props$inputValue === void 0 ? '' : _props$inputValue;\n var data = categorizedOption.data,\n isSelected = categorizedOption.isSelected,\n label = categorizedOption.label,\n value = categorizedOption.value;\n return (!shouldHideSelectedOptions(props) || !isSelected) && _filterOption(props, {\n label: label,\n value: value,\n data: data\n }, inputValue);\n}\n\nfunction getNextFocusedValue(state, nextSelectValue) {\n var focusedValue = state.focusedValue,\n lastSelectValue = state.selectValue;\n var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);\n\n if (lastFocusedIndex > -1) {\n var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);\n\n if (nextFocusedIndex > -1) {\n // the focused value is still in the selectValue, return it\n return focusedValue;\n } else if (lastFocusedIndex < nextSelectValue.length) {\n // the focusedValue is not present in the next selectValue array by\n // reference, so return the new value at the same index\n return nextSelectValue[lastFocusedIndex];\n }\n }\n\n return null;\n}\n\nfunction getNextFocusedOption(state, options) {\n var lastFocusedOption = state.focusedOption;\n return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];\n}\n\nvar getOptionLabel$1 = function getOptionLabel(props, data) {\n return props.getOptionLabel(data);\n};\n\nvar getOptionValue$1 = function getOptionValue(props, data) {\n return props.getOptionValue(data);\n};\n\nfunction _isOptionDisabled(props, option, selectValue) {\n return typeof props.isOptionDisabled === 'function' ? props.isOptionDisabled(option, selectValue) : false;\n}\n\nfunction _isOptionSelected(props, option, selectValue) {\n if (selectValue.indexOf(option) > -1) return true;\n\n if (typeof props.isOptionSelected === 'function') {\n return props.isOptionSelected(option, selectValue);\n }\n\n var candidate = getOptionValue$1(props, option);\n return selectValue.some(function (i) {\n return getOptionValue$1(props, i) === candidate;\n });\n}\n\nfunction _filterOption(props, option, inputValue) {\n return props.filterOption ? props.filterOption(option, inputValue) : true;\n}\n\nvar shouldHideSelectedOptions = function shouldHideSelectedOptions(props) {\n var hideSelectedOptions = props.hideSelectedOptions,\n isMulti = props.isMulti;\n if (hideSelectedOptions === undefined) return isMulti;\n return hideSelectedOptions;\n};\n\nvar instanceId = 1;\n\nvar Select = /*#__PURE__*/function (_Component) {\n _inherits(Select, _Component);\n\n var _super = _createSuper(Select);\n\n // Misc. Instance Properties\n // ------------------------------\n // TODO\n // Refs\n // ------------------------------\n // Lifecycle\n // ------------------------------\n function Select(_props) {\n var _this;\n\n _classCallCheck(this, Select);\n\n _this = _super.call(this, _props);\n _this.state = {\n ariaSelection: null,\n focusedOption: null,\n focusedValue: null,\n inputIsHidden: false,\n isFocused: false,\n selectValue: [],\n clearFocusValueOnUpdate: false,\n inputIsHiddenAfterUpdate: undefined,\n prevProps: undefined\n };\n _this.blockOptionHover = false;\n _this.isComposing = false;\n _this.commonProps = void 0;\n _this.initialTouchX = 0;\n _this.initialTouchY = 0;\n _this.instancePrefix = '';\n _this.openAfterFocus = false;\n _this.scrollToFocusedOptionOnUpdate = false;\n _this.userIsDragging = void 0;\n _this.controlRef = null;\n\n _this.getControlRef = function (ref) {\n _this.controlRef = ref;\n };\n\n _this.focusedOptionRef = null;\n\n _this.getFocusedOptionRef = function (ref) {\n _this.focusedOptionRef = ref;\n };\n\n _this.menuListRef = null;\n\n _this.getMenuListRef = function (ref) {\n _this.menuListRef = ref;\n };\n\n _this.inputRef = null;\n\n _this.getInputRef = function (ref) {\n _this.inputRef = ref;\n };\n\n _this.focus = _this.focusInput;\n _this.blur = _this.blurInput;\n\n _this.onChange = function (newValue, actionMeta) {\n var _this$props = _this.props,\n onChange = _this$props.onChange,\n name = _this$props.name;\n actionMeta.name = name;\n\n _this.ariaOnChange(newValue, actionMeta);\n\n onChange(newValue, actionMeta);\n };\n\n _this.setValue = function (newValue) {\n var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'set-value';\n var option = arguments.length > 2 ? arguments[2] : undefined;\n var _this$props2 = _this.props,\n closeMenuOnSelect = _this$props2.closeMenuOnSelect,\n isMulti = _this$props2.isMulti;\n\n _this.onInputChange('', {\n action: 'set-value'\n });\n\n if (closeMenuOnSelect) {\n _this.setState({\n inputIsHiddenAfterUpdate: !isMulti\n });\n\n _this.onMenuClose();\n } // when the select value should change, we should reset focusedValue\n\n\n _this.setState({\n clearFocusValueOnUpdate: true\n });\n\n _this.onChange(newValue, {\n action: action,\n option: option\n });\n };\n\n _this.selectOption = function (newValue) {\n var _this$props3 = _this.props,\n blurInputOnSelect = _this$props3.blurInputOnSelect,\n isMulti = _this$props3.isMulti,\n name = _this$props3.name;\n var selectValue = _this.state.selectValue;\n\n var deselected = isMulti && _this.isOptionSelected(newValue, selectValue);\n\n var isDisabled = _this.isOptionDisabled(newValue, selectValue);\n\n if (deselected) {\n var candidate = _this.getOptionValue(newValue);\n\n _this.setValue(selectValue.filter(function (i) {\n return _this.getOptionValue(i) !== candidate;\n }), 'deselect-option', newValue);\n } else if (!isDisabled) {\n // Select option if option is not disabled\n if (isMulti) {\n _this.setValue([].concat(_toConsumableArray(selectValue), [newValue]), 'select-option', newValue);\n } else {\n _this.setValue(newValue, 'select-option');\n }\n } else {\n _this.ariaOnChange(newValue, {\n action: 'select-option',\n name: name\n });\n\n return;\n }\n\n if (blurInputOnSelect) {\n _this.blurInput();\n }\n };\n\n _this.removeValue = function (removedValue) {\n var isMulti = _this.props.isMulti;\n var selectValue = _this.state.selectValue;\n\n var candidate = _this.getOptionValue(removedValue);\n\n var newValueArray = selectValue.filter(function (i) {\n return _this.getOptionValue(i) !== candidate;\n });\n var newValue = isMulti ? newValueArray : newValueArray[0] || null;\n\n _this.onChange(newValue, {\n action: 'remove-value',\n removedValue: removedValue\n });\n\n _this.focusInput();\n };\n\n _this.clearValue = function () {\n var selectValue = _this.state.selectValue;\n\n _this.onChange(_this.props.isMulti ? [] : null, {\n action: 'clear',\n removedValues: selectValue\n });\n };\n\n _this.popValue = function () {\n var isMulti = _this.props.isMulti;\n var selectValue = _this.state.selectValue;\n var lastSelectedValue = selectValue[selectValue.length - 1];\n var newValueArray = selectValue.slice(0, selectValue.length - 1);\n var newValue = isMulti ? newValueArray : newValueArray[0] || null;\n\n _this.onChange(newValue, {\n action: 'pop-value',\n removedValue: lastSelectedValue\n });\n };\n\n _this.getValue = function () {\n return _this.state.selectValue;\n };\n\n _this.cx = function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return classNames.apply(void 0, [_this.props.classNamePrefix].concat(args));\n };\n\n _this.getOptionLabel = function (data) {\n return getOptionLabel$1(_this.props, data);\n };\n\n _this.getOptionValue = function (data) {\n return getOptionValue$1(_this.props, data);\n };\n\n _this.getStyles = function (key, props) {\n var base = defaultStyles[key](props);\n base.boxSizing = 'border-box';\n var custom = _this.props.styles[key];\n return custom ? custom(base, props) : base;\n };\n\n _this.getElementId = function (element) {\n return \"\".concat(_this.instancePrefix, \"-\").concat(element);\n };\n\n _this.getComponents = function () {\n return defaultComponents(_this.props);\n };\n\n _this.buildCategorizedOptions = function () {\n return buildCategorizedOptions(_this.props, _this.state.selectValue);\n };\n\n _this.getCategorizedOptions = function () {\n return _this.props.menuIsOpen ? _this.buildCategorizedOptions() : [];\n };\n\n _this.buildFocusableOptions = function () {\n return buildFocusableOptionsFromCategorizedOptions(_this.buildCategorizedOptions());\n };\n\n _this.getFocusableOptions = function () {\n return _this.props.menuIsOpen ? _this.buildFocusableOptions() : [];\n };\n\n _this.ariaOnChange = function (value, actionMeta) {\n _this.setState({\n ariaSelection: _objectSpread2({\n value: value\n }, actionMeta)\n });\n };\n\n _this.onMenuMouseDown = function (event) {\n if (event.button !== 0) {\n return;\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n _this.focusInput();\n };\n\n _this.onMenuMouseMove = function (event) {\n _this.blockOptionHover = false;\n };\n\n _this.onControlMouseDown = function (event) {\n var openMenuOnClick = _this.props.openMenuOnClick;\n\n if (!_this.state.isFocused) {\n if (openMenuOnClick) {\n _this.openAfterFocus = true;\n }\n\n _this.focusInput();\n } else if (!_this.props.menuIsOpen) {\n if (openMenuOnClick) {\n _this.openMenu('first');\n }\n } else {\n if ( // $FlowFixMe\n event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {\n _this.onMenuClose();\n }\n }\n\n if ( // $FlowFixMe\n event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {\n event.preventDefault();\n }\n };\n\n _this.onDropdownIndicatorMouseDown = function (event) {\n // ignore mouse events that weren't triggered by the primary button\n if (event && event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n\n if (_this.props.isDisabled) return;\n var _this$props4 = _this.props,\n isMulti = _this$props4.isMulti,\n menuIsOpen = _this$props4.menuIsOpen;\n\n _this.focusInput();\n\n if (menuIsOpen) {\n _this.setState({\n inputIsHiddenAfterUpdate: !isMulti\n });\n\n _this.onMenuClose();\n } else {\n _this.openMenu('first');\n }\n\n event.preventDefault();\n event.stopPropagation();\n };\n\n _this.onClearIndicatorMouseDown = function (event) {\n // ignore mouse events that weren't triggered by the primary button\n if (event && event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n\n _this.clearValue();\n\n event.stopPropagation();\n _this.openAfterFocus = false;\n\n if (event.type === 'touchend') {\n _this.focusInput();\n } else {\n setTimeout(function () {\n return _this.focusInput();\n });\n }\n };\n\n _this.onScroll = function (event) {\n if (typeof _this.props.closeMenuOnScroll === 'boolean') {\n if (event.target instanceof HTMLElement && isDocumentElement(event.target)) {\n _this.props.onMenuClose();\n }\n } else if (typeof _this.props.closeMenuOnScroll === 'function') {\n if (_this.props.closeMenuOnScroll(event)) {\n _this.props.onMenuClose();\n }\n }\n };\n\n _this.onCompositionStart = function () {\n _this.isComposing = true;\n };\n\n _this.onCompositionEnd = function () {\n _this.isComposing = false;\n };\n\n _this.onTouchStart = function (_ref2) {\n var touches = _ref2.touches;\n var touch = touches && touches.item(0);\n\n if (!touch) {\n return;\n }\n\n _this.initialTouchX = touch.clientX;\n _this.initialTouchY = touch.clientY;\n _this.userIsDragging = false;\n };\n\n _this.onTouchMove = function (_ref3) {\n var touches = _ref3.touches;\n var touch = touches && touches.item(0);\n\n if (!touch) {\n return;\n }\n\n var deltaX = Math.abs(touch.clientX - _this.initialTouchX);\n var deltaY = Math.abs(touch.clientY - _this.initialTouchY);\n var moveThreshold = 5;\n _this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;\n };\n\n _this.onTouchEnd = function (event) {\n if (_this.userIsDragging) return; // close the menu if the user taps outside\n // we're checking on event.target here instead of event.currentTarget, because we want to assert information\n // on events on child elements, not the document (which we've attached this handler to).\n\n if (_this.controlRef && !_this.controlRef.contains(event.target) && _this.menuListRef && !_this.menuListRef.contains(event.target)) {\n _this.blurInput();\n } // reset move vars\n\n\n _this.initialTouchX = 0;\n _this.initialTouchY = 0;\n };\n\n _this.onControlTouchEnd = function (event) {\n if (_this.userIsDragging) return;\n\n _this.onControlMouseDown(event);\n };\n\n _this.onClearIndicatorTouchEnd = function (event) {\n if (_this.userIsDragging) return;\n\n _this.onClearIndicatorMouseDown(event);\n };\n\n _this.onDropdownIndicatorTouchEnd = function (event) {\n if (_this.userIsDragging) return;\n\n _this.onDropdownIndicatorMouseDown(event);\n };\n\n _this.handleInputChange = function (event) {\n var inputValue = event.currentTarget.value;\n\n _this.setState({\n inputIsHiddenAfterUpdate: false\n });\n\n _this.onInputChange(inputValue, {\n action: 'input-change'\n });\n\n if (!_this.props.menuIsOpen) {\n _this.onMenuOpen();\n }\n };\n\n _this.onInputFocus = function (event) {\n if (_this.props.onFocus) {\n _this.props.onFocus(event);\n }\n\n _this.setState({\n inputIsHiddenAfterUpdate: false,\n isFocused: true\n });\n\n if (_this.openAfterFocus || _this.props.openMenuOnFocus) {\n _this.openMenu('first');\n }\n\n _this.openAfterFocus = false;\n };\n\n _this.onInputBlur = function (event) {\n if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {\n _this.inputRef.focus();\n\n return;\n }\n\n if (_this.props.onBlur) {\n _this.props.onBlur(event);\n }\n\n _this.onInputChange('', {\n action: 'input-blur'\n });\n\n _this.onMenuClose();\n\n _this.setState({\n focusedValue: null,\n isFocused: false\n });\n };\n\n _this.onOptionHover = function (focusedOption) {\n if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {\n return;\n }\n\n _this.setState({\n focusedOption: focusedOption\n });\n };\n\n _this.shouldHideSelectedOptions = function () {\n return shouldHideSelectedOptions(_this.props);\n };\n\n _this.onKeyDown = function (event) {\n var _this$props5 = _this.props,\n isMulti = _this$props5.isMulti,\n backspaceRemovesValue = _this$props5.backspaceRemovesValue,\n escapeClearsValue = _this$props5.escapeClearsValue,\n inputValue = _this$props5.inputValue,\n isClearable = _this$props5.isClearable,\n isDisabled = _this$props5.isDisabled,\n menuIsOpen = _this$props5.menuIsOpen,\n onKeyDown = _this$props5.onKeyDown,\n tabSelectsValue = _this$props5.tabSelectsValue,\n openMenuOnFocus = _this$props5.openMenuOnFocus;\n var _this$state = _this.state,\n focusedOption = _this$state.focusedOption,\n focusedValue = _this$state.focusedValue,\n selectValue = _this$state.selectValue;\n if (isDisabled) return;\n\n if (typeof onKeyDown === 'function') {\n onKeyDown(event);\n\n if (event.defaultPrevented) {\n return;\n }\n } // Block option hover events when the user has just pressed a key\n\n\n _this.blockOptionHover = true;\n\n switch (event.key) {\n case 'ArrowLeft':\n if (!isMulti || inputValue) return;\n\n _this.focusValue('previous');\n\n break;\n\n case 'ArrowRight':\n if (!isMulti || inputValue) return;\n\n _this.focusValue('next');\n\n break;\n\n case 'Delete':\n case 'Backspace':\n if (inputValue) return;\n\n if (focusedValue) {\n _this.removeValue(focusedValue);\n } else {\n if (!backspaceRemovesValue) return;\n\n if (isMulti) {\n _this.popValue();\n } else if (isClearable) {\n _this.clearValue();\n }\n }\n\n break;\n\n case 'Tab':\n if (_this.isComposing) return;\n\n if (event.shiftKey || !menuIsOpen || !tabSelectsValue || !focusedOption || // don't capture the event if the menu opens on focus and the focused\n // option is already selected; it breaks the flow of navigation\n openMenuOnFocus && _this.isOptionSelected(focusedOption, selectValue)) {\n return;\n }\n\n _this.selectOption(focusedOption);\n\n break;\n\n case 'Enter':\n if (event.keyCode === 229) {\n // ignore the keydown event from an Input Method Editor(IME)\n // ref. https://www.w3.org/TR/uievents/#determine-keydown-keyup-keyCode\n break;\n }\n\n if (menuIsOpen) {\n if (!focusedOption) return;\n if (_this.isComposing) return;\n\n _this.selectOption(focusedOption);\n\n break;\n }\n\n return;\n\n case 'Escape':\n if (menuIsOpen) {\n _this.setState({\n inputIsHiddenAfterUpdate: false\n });\n\n _this.onInputChange('', {\n action: 'menu-close'\n });\n\n _this.onMenuClose();\n } else if (isClearable && escapeClearsValue) {\n _this.clearValue();\n }\n\n break;\n\n case ' ':\n // space\n if (inputValue) {\n return;\n }\n\n if (!menuIsOpen) {\n _this.openMenu('first');\n\n break;\n }\n\n if (!focusedOption) return;\n\n _this.selectOption(focusedOption);\n\n break;\n\n case 'ArrowUp':\n if (menuIsOpen) {\n _this.focusOption('up');\n } else {\n _this.openMenu('last');\n }\n\n break;\n\n case 'ArrowDown':\n if (menuIsOpen) {\n _this.focusOption('down');\n } else {\n _this.openMenu('first');\n }\n\n break;\n\n case 'PageUp':\n if (!menuIsOpen) return;\n\n _this.focusOption('pageup');\n\n break;\n\n case 'PageDown':\n if (!menuIsOpen) return;\n\n _this.focusOption('pagedown');\n\n break;\n\n case 'Home':\n if (!menuIsOpen) return;\n\n _this.focusOption('first');\n\n break;\n\n case 'End':\n if (!menuIsOpen) return;\n\n _this.focusOption('last');\n\n break;\n\n default:\n return;\n }\n\n event.preventDefault();\n };\n\n _this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);\n _this.state.selectValue = cleanValue(_props.value);\n return _this;\n }\n\n _createClass(Select, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.startListeningComposition();\n this.startListeningToTouch();\n\n if (this.props.closeMenuOnScroll && document && document.addEventListener) {\n // Listen to all scroll events, and filter them out inside of 'onScroll'\n document.addEventListener('scroll', this.onScroll, true);\n }\n\n if (this.props.autoFocus) {\n this.focusInput();\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var _this$props6 = this.props,\n isDisabled = _this$props6.isDisabled,\n menuIsOpen = _this$props6.menuIsOpen;\n var isFocused = this.state.isFocused;\n\n if ( // ensure focus is restored correctly when the control becomes enabled\n isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens\n isFocused && menuIsOpen && !prevProps.menuIsOpen) {\n this.focusInput();\n }\n\n if (isFocused && isDisabled && !prevProps.isDisabled) {\n // ensure select state gets blurred in case Select is programatically disabled while focused\n this.setState({\n isFocused: false\n }, this.onMenuClose);\n } // scroll the focused option into view if necessary\n\n\n if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {\n scrollIntoView(this.menuListRef, this.focusedOptionRef);\n this.scrollToFocusedOptionOnUpdate = false;\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.stopListeningComposition();\n this.stopListeningToTouch();\n document.removeEventListener('scroll', this.onScroll, true);\n } // ==============================\n // Consumer Handlers\n // ==============================\n\n }, {\n key: \"onMenuOpen\",\n value: function onMenuOpen() {\n this.props.onMenuOpen();\n }\n }, {\n key: \"onMenuClose\",\n value: function onMenuClose() {\n this.onInputChange('', {\n action: 'menu-close'\n });\n this.props.onMenuClose();\n }\n }, {\n key: \"onInputChange\",\n value: function onInputChange(newValue, actionMeta) {\n this.props.onInputChange(newValue, actionMeta);\n } // ==============================\n // Methods\n // ==============================\n\n }, {\n key: \"focusInput\",\n value: function focusInput() {\n if (!this.inputRef) return;\n this.inputRef.focus();\n }\n }, {\n key: \"blurInput\",\n value: function blurInput() {\n if (!this.inputRef) return;\n this.inputRef.blur();\n } // aliased for consumers\n\n }, {\n key: \"openMenu\",\n value: function openMenu(focusOption) {\n var _this2 = this;\n\n var _this$state2 = this.state,\n selectValue = _this$state2.selectValue,\n isFocused = _this$state2.isFocused;\n var focusableOptions = this.buildFocusableOptions();\n var openAtIndex = focusOption === 'first' ? 0 : focusableOptions.length - 1;\n\n if (!this.props.isMulti) {\n var selectedIndex = focusableOptions.indexOf(selectValue[0]);\n\n if (selectedIndex > -1) {\n openAtIndex = selectedIndex;\n }\n } // only scroll if the menu isn't already open\n\n\n this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);\n this.setState({\n inputIsHiddenAfterUpdate: false,\n focusedValue: null,\n focusedOption: focusableOptions[openAtIndex]\n }, function () {\n return _this2.onMenuOpen();\n });\n }\n }, {\n key: \"focusValue\",\n value: function focusValue(direction) {\n var _this$state3 = this.state,\n selectValue = _this$state3.selectValue,\n focusedValue = _this$state3.focusedValue; // Only multiselects support value focusing\n\n if (!this.props.isMulti) return;\n this.setState({\n focusedOption: null\n });\n var focusedIndex = selectValue.indexOf(focusedValue);\n\n if (!focusedValue) {\n focusedIndex = -1;\n }\n\n var lastIndex = selectValue.length - 1;\n var nextFocus = -1;\n if (!selectValue.length) return;\n\n switch (direction) {\n case 'previous':\n if (focusedIndex === 0) {\n // don't cycle from the start to the end\n nextFocus = 0;\n } else if (focusedIndex === -1) {\n // if nothing is focused, focus the last value first\n nextFocus = lastIndex;\n } else {\n nextFocus = focusedIndex - 1;\n }\n\n break;\n\n case 'next':\n if (focusedIndex > -1 && focusedIndex < lastIndex) {\n nextFocus = focusedIndex + 1;\n }\n\n break;\n }\n\n this.setState({\n inputIsHidden: nextFocus !== -1,\n focusedValue: selectValue[nextFocus]\n });\n }\n }, {\n key: \"focusOption\",\n value: function focusOption() {\n var direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'first';\n var pageSize = this.props.pageSize;\n var focusedOption = this.state.focusedOption;\n var options = this.getFocusableOptions();\n if (!options.length) return;\n var nextFocus = 0; // handles 'first'\n\n var focusedIndex = options.indexOf(focusedOption);\n\n if (!focusedOption) {\n focusedIndex = -1;\n }\n\n if (direction === 'up') {\n nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options.length - 1;\n } else if (direction === 'down') {\n nextFocus = (focusedIndex + 1) % options.length;\n } else if (direction === 'pageup') {\n nextFocus = focusedIndex - pageSize;\n if (nextFocus < 0) nextFocus = 0;\n } else if (direction === 'pagedown') {\n nextFocus = focusedIndex + pageSize;\n if (nextFocus > options.length - 1) nextFocus = options.length - 1;\n } else if (direction === 'last') {\n nextFocus = options.length - 1;\n }\n\n this.scrollToFocusedOptionOnUpdate = true;\n this.setState({\n focusedOption: options[nextFocus],\n focusedValue: null\n });\n }\n }, {\n key: \"getTheme\",\n value: // ==============================\n // Getters\n // ==============================\n function getTheme() {\n // Use the default theme if there are no customizations.\n if (!this.props.theme) {\n return defaultTheme;\n } // If the theme prop is a function, assume the function\n // knows how to merge the passed-in default theme with\n // its own modifications.\n\n\n if (typeof this.props.theme === 'function') {\n return this.props.theme(defaultTheme);\n } // Otherwise, if a plain theme object was passed in,\n // overlay it with the default theme.\n\n\n return _objectSpread2(_objectSpread2({}, defaultTheme), this.props.theme);\n }\n }, {\n key: \"getCommonProps\",\n value: function getCommonProps() {\n var clearValue = this.clearValue,\n cx = this.cx,\n getStyles = this.getStyles,\n getValue = this.getValue,\n selectOption = this.selectOption,\n setValue = this.setValue,\n props = this.props;\n var isMulti = props.isMulti,\n isRtl = props.isRtl,\n options = props.options;\n var hasValue = this.hasValue();\n return {\n clearValue: clearValue,\n cx: cx,\n getStyles: getStyles,\n getValue: getValue,\n hasValue: hasValue,\n isMulti: isMulti,\n isRtl: isRtl,\n options: options,\n selectOption: selectOption,\n selectProps: props,\n setValue: setValue,\n theme: this.getTheme()\n };\n }\n }, {\n key: \"hasValue\",\n value: function hasValue() {\n var selectValue = this.state.selectValue;\n return selectValue.length > 0;\n }\n }, {\n key: \"hasOptions\",\n value: function hasOptions() {\n return !!this.getFocusableOptions().length;\n }\n }, {\n key: \"isClearable\",\n value: function isClearable() {\n var _this$props7 = this.props,\n isClearable = _this$props7.isClearable,\n isMulti = _this$props7.isMulti; // single select, by default, IS NOT clearable\n // multi select, by default, IS clearable\n\n if (isClearable === undefined) return isMulti;\n return isClearable;\n }\n }, {\n key: \"isOptionDisabled\",\n value: function isOptionDisabled(option, selectValue) {\n return _isOptionDisabled(this.props, option, selectValue);\n }\n }, {\n key: \"isOptionSelected\",\n value: function isOptionSelected(option, selectValue) {\n return _isOptionSelected(this.props, option, selectValue);\n }\n }, {\n key: \"filterOption\",\n value: function filterOption(option, inputValue) {\n return _filterOption(this.props, option, inputValue);\n }\n }, {\n key: \"formatOptionLabel\",\n value: function formatOptionLabel(data, context) {\n if (typeof this.props.formatOptionLabel === 'function') {\n var inputValue = this.props.inputValue;\n var selectValue = this.state.selectValue;\n return this.props.formatOptionLabel(data, {\n context: context,\n inputValue: inputValue,\n selectValue: selectValue\n });\n } else {\n return this.getOptionLabel(data);\n }\n }\n }, {\n key: \"formatGroupLabel\",\n value: function formatGroupLabel(data) {\n return this.props.formatGroupLabel(data);\n } // ==============================\n // Mouse Handlers\n // ==============================\n\n }, {\n key: \"startListeningComposition\",\n value: // ==============================\n // Composition Handlers\n // ==============================\n function startListeningComposition() {\n if (document && document.addEventListener) {\n document.addEventListener('compositionstart', this.onCompositionStart, false);\n document.addEventListener('compositionend', this.onCompositionEnd, false);\n }\n }\n }, {\n key: \"stopListeningComposition\",\n value: function stopListeningComposition() {\n if (document && document.removeEventListener) {\n document.removeEventListener('compositionstart', this.onCompositionStart);\n document.removeEventListener('compositionend', this.onCompositionEnd);\n }\n }\n }, {\n key: \"startListeningToTouch\",\n value: // ==============================\n // Touch Handlers\n // ==============================\n function startListeningToTouch() {\n if (document && document.addEventListener) {\n document.addEventListener('touchstart', this.onTouchStart, false);\n document.addEventListener('touchmove', this.onTouchMove, false);\n document.addEventListener('touchend', this.onTouchEnd, false);\n }\n }\n }, {\n key: \"stopListeningToTouch\",\n value: function stopListeningToTouch() {\n if (document && document.removeEventListener) {\n document.removeEventListener('touchstart', this.onTouchStart);\n document.removeEventListener('touchmove', this.onTouchMove);\n document.removeEventListener('touchend', this.onTouchEnd);\n }\n }\n }, {\n key: \"renderInput\",\n value: // ==============================\n // Renderers\n // ==============================\n function renderInput() {\n var _this$props8 = this.props,\n isDisabled = _this$props8.isDisabled,\n isSearchable = _this$props8.isSearchable,\n inputId = _this$props8.inputId,\n inputValue = _this$props8.inputValue,\n tabIndex = _this$props8.tabIndex,\n form = _this$props8.form;\n\n var _this$getComponents = this.getComponents(),\n Input = _this$getComponents.Input;\n\n var inputIsHidden = this.state.inputIsHidden;\n var commonProps = this.commonProps;\n var id = inputId || this.getElementId('input'); // aria attributes makes the JSX \"noisy\", separated for clarity\n\n var ariaAttributes = {\n 'aria-autocomplete': 'list',\n 'aria-label': this.props['aria-label'],\n 'aria-labelledby': this.props['aria-labelledby']\n };\n\n if (!isSearchable) {\n // use a dummy input to maintain focus/blur functionality\n return /*#__PURE__*/React.createElement(DummyInput, _extends({\n id: id,\n innerRef: this.getInputRef,\n onBlur: this.onInputBlur,\n onChange: noop,\n onFocus: this.onInputFocus,\n readOnly: true,\n disabled: isDisabled,\n tabIndex: tabIndex,\n form: form,\n value: \"\"\n }, ariaAttributes));\n }\n\n return /*#__PURE__*/React.createElement(Input, _extends({}, commonProps, {\n autoCapitalize: \"none\",\n autoComplete: \"off\",\n autoCorrect: \"off\",\n id: id,\n innerRef: this.getInputRef,\n isDisabled: isDisabled,\n isHidden: inputIsHidden,\n onBlur: this.onInputBlur,\n onChange: this.handleInputChange,\n onFocus: this.onInputFocus,\n spellCheck: \"false\",\n tabIndex: tabIndex,\n form: form,\n type: \"text\",\n value: inputValue\n }, ariaAttributes));\n }\n }, {\n key: \"renderPlaceholderOrValue\",\n value: function renderPlaceholderOrValue() {\n var _this3 = this;\n\n var _this$getComponents2 = this.getComponents(),\n MultiValue = _this$getComponents2.MultiValue,\n MultiValueContainer = _this$getComponents2.MultiValueContainer,\n MultiValueLabel = _this$getComponents2.MultiValueLabel,\n MultiValueRemove = _this$getComponents2.MultiValueRemove,\n SingleValue = _this$getComponents2.SingleValue,\n Placeholder = _this$getComponents2.Placeholder;\n\n var commonProps = this.commonProps;\n var _this$props9 = this.props,\n controlShouldRenderValue = _this$props9.controlShouldRenderValue,\n isDisabled = _this$props9.isDisabled,\n isMulti = _this$props9.isMulti,\n inputValue = _this$props9.inputValue,\n placeholder = _this$props9.placeholder;\n var _this$state4 = this.state,\n selectValue = _this$state4.selectValue,\n focusedValue = _this$state4.focusedValue,\n isFocused = _this$state4.isFocused;\n\n if (!this.hasValue() || !controlShouldRenderValue) {\n return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends({}, commonProps, {\n key: \"placeholder\",\n isDisabled: isDisabled,\n isFocused: isFocused\n }), placeholder);\n }\n\n if (isMulti) {\n var selectValues = selectValue.map(function (opt, index) {\n var isOptionFocused = opt === focusedValue;\n return /*#__PURE__*/React.createElement(MultiValue, _extends({}, commonProps, {\n components: {\n Container: MultiValueContainer,\n Label: MultiValueLabel,\n Remove: MultiValueRemove\n },\n isFocused: isOptionFocused,\n isDisabled: isDisabled,\n key: \"\".concat(_this3.getOptionValue(opt)).concat(index),\n index: index,\n removeProps: {\n onClick: function onClick() {\n return _this3.removeValue(opt);\n },\n onTouchEnd: function onTouchEnd() {\n return _this3.removeValue(opt);\n },\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n e.stopPropagation();\n }\n },\n data: opt\n }), _this3.formatOptionLabel(opt, 'value'));\n });\n return selectValues;\n }\n\n if (inputValue) {\n return null;\n }\n\n var singleValue = selectValue[0];\n return /*#__PURE__*/React.createElement(SingleValue, _extends({}, commonProps, {\n data: singleValue,\n isDisabled: isDisabled\n }), this.formatOptionLabel(singleValue, 'value'));\n }\n }, {\n key: \"renderClearIndicator\",\n value: function renderClearIndicator() {\n var _this$getComponents3 = this.getComponents(),\n ClearIndicator = _this$getComponents3.ClearIndicator;\n\n var commonProps = this.commonProps;\n var _this$props10 = this.props,\n isDisabled = _this$props10.isDisabled,\n isLoading = _this$props10.isLoading;\n var isFocused = this.state.isFocused;\n\n if (!this.isClearable() || !ClearIndicator || isDisabled || !this.hasValue() || isLoading) {\n return null;\n }\n\n var innerProps = {\n onMouseDown: this.onClearIndicatorMouseDown,\n onTouchEnd: this.onClearIndicatorTouchEnd,\n 'aria-hidden': 'true'\n };\n return /*#__PURE__*/React.createElement(ClearIndicator, _extends({}, commonProps, {\n innerProps: innerProps,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderLoadingIndicator\",\n value: function renderLoadingIndicator() {\n var _this$getComponents4 = this.getComponents(),\n LoadingIndicator = _this$getComponents4.LoadingIndicator;\n\n var commonProps = this.commonProps;\n var _this$props11 = this.props,\n isDisabled = _this$props11.isDisabled,\n isLoading = _this$props11.isLoading;\n var isFocused = this.state.isFocused;\n if (!LoadingIndicator || !isLoading) return null;\n var innerProps = {\n 'aria-hidden': 'true'\n };\n return /*#__PURE__*/React.createElement(LoadingIndicator, _extends({}, commonProps, {\n innerProps: innerProps,\n isDisabled: isDisabled,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderIndicatorSeparator\",\n value: function renderIndicatorSeparator() {\n var _this$getComponents5 = this.getComponents(),\n DropdownIndicator = _this$getComponents5.DropdownIndicator,\n IndicatorSeparator = _this$getComponents5.IndicatorSeparator; // separator doesn't make sense without the dropdown indicator\n\n\n if (!DropdownIndicator || !IndicatorSeparator) return null;\n var commonProps = this.commonProps;\n var isDisabled = this.props.isDisabled;\n var isFocused = this.state.isFocused;\n return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends({}, commonProps, {\n isDisabled: isDisabled,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderDropdownIndicator\",\n value: function renderDropdownIndicator() {\n var _this$getComponents6 = this.getComponents(),\n DropdownIndicator = _this$getComponents6.DropdownIndicator;\n\n if (!DropdownIndicator) return null;\n var commonProps = this.commonProps;\n var isDisabled = this.props.isDisabled;\n var isFocused = this.state.isFocused;\n var innerProps = {\n onMouseDown: this.onDropdownIndicatorMouseDown,\n onTouchEnd: this.onDropdownIndicatorTouchEnd,\n 'aria-hidden': 'true'\n };\n return /*#__PURE__*/React.createElement(DropdownIndicator, _extends({}, commonProps, {\n innerProps: innerProps,\n isDisabled: isDisabled,\n isFocused: isFocused\n }));\n }\n }, {\n key: \"renderMenu\",\n value: function renderMenu() {\n var _this4 = this;\n\n var _this$getComponents7 = this.getComponents(),\n Group = _this$getComponents7.Group,\n GroupHeading = _this$getComponents7.GroupHeading,\n Menu = _this$getComponents7.Menu,\n MenuList = _this$getComponents7.MenuList,\n MenuPortal = _this$getComponents7.MenuPortal,\n LoadingMessage = _this$getComponents7.LoadingMessage,\n NoOptionsMessage = _this$getComponents7.NoOptionsMessage,\n Option = _this$getComponents7.Option;\n\n var commonProps = this.commonProps;\n var focusedOption = this.state.focusedOption;\n var _this$props12 = this.props,\n captureMenuScroll = _this$props12.captureMenuScroll,\n inputValue = _this$props12.inputValue,\n isLoading = _this$props12.isLoading,\n loadingMessage = _this$props12.loadingMessage,\n minMenuHeight = _this$props12.minMenuHeight,\n maxMenuHeight = _this$props12.maxMenuHeight,\n menuIsOpen = _this$props12.menuIsOpen,\n menuPlacement = _this$props12.menuPlacement,\n menuPosition = _this$props12.menuPosition,\n menuPortalTarget = _this$props12.menuPortalTarget,\n menuShouldBlockScroll = _this$props12.menuShouldBlockScroll,\n menuShouldScrollIntoView = _this$props12.menuShouldScrollIntoView,\n noOptionsMessage = _this$props12.noOptionsMessage,\n onMenuScrollToTop = _this$props12.onMenuScrollToTop,\n onMenuScrollToBottom = _this$props12.onMenuScrollToBottom;\n if (!menuIsOpen) return null; // TODO: Internal Option Type here\n\n var render = function render(props, id) {\n var type = props.type,\n data = props.data,\n isDisabled = props.isDisabled,\n isSelected = props.isSelected,\n label = props.label,\n value = props.value;\n var isFocused = focusedOption === data;\n var onHover = isDisabled ? undefined : function () {\n return _this4.onOptionHover(data);\n };\n var onSelect = isDisabled ? undefined : function () {\n return _this4.selectOption(data);\n };\n var optionId = \"\".concat(_this4.getElementId('option'), \"-\").concat(id);\n var innerProps = {\n id: optionId,\n onClick: onSelect,\n onMouseMove: onHover,\n onMouseOver: onHover,\n tabIndex: -1\n };\n return /*#__PURE__*/React.createElement(Option, _extends({}, commonProps, {\n innerProps: innerProps,\n data: data,\n isDisabled: isDisabled,\n isSelected: isSelected,\n key: optionId,\n label: label,\n type: type,\n value: value,\n isFocused: isFocused,\n innerRef: isFocused ? _this4.getFocusedOptionRef : undefined\n }), _this4.formatOptionLabel(props.data, 'menu'));\n };\n\n var menuUI;\n\n if (this.hasOptions()) {\n menuUI = this.getCategorizedOptions().map(function (item) {\n if (item.type === 'group') {\n var data = item.data,\n options = item.options,\n groupIndex = item.index;\n var groupId = \"\".concat(_this4.getElementId('group'), \"-\").concat(groupIndex);\n var headingId = \"\".concat(groupId, \"-heading\");\n return /*#__PURE__*/React.createElement(Group, _extends({}, commonProps, {\n key: groupId,\n data: data,\n options: options,\n Heading: GroupHeading,\n headingProps: {\n id: headingId,\n data: item.data\n },\n label: _this4.formatGroupLabel(item.data)\n }), item.options.map(function (option) {\n return render(option, \"\".concat(groupIndex, \"-\").concat(option.index));\n }));\n } else if (item.type === 'option') {\n return render(item, \"\".concat(item.index));\n }\n });\n } else if (isLoading) {\n var message = loadingMessage({\n inputValue: inputValue\n });\n if (message === null) return null;\n menuUI = /*#__PURE__*/React.createElement(LoadingMessage, commonProps, message);\n } else {\n var _message = noOptionsMessage({\n inputValue: inputValue\n });\n\n if (_message === null) return null;\n menuUI = /*#__PURE__*/React.createElement(NoOptionsMessage, commonProps, _message);\n }\n\n var menuPlacementProps = {\n minMenuHeight: minMenuHeight,\n maxMenuHeight: maxMenuHeight,\n menuPlacement: menuPlacement,\n menuPosition: menuPosition,\n menuShouldScrollIntoView: menuShouldScrollIntoView\n };\n var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends({}, commonProps, menuPlacementProps), function (_ref4) {\n var ref = _ref4.ref,\n _ref4$placerProps = _ref4.placerProps,\n placement = _ref4$placerProps.placement,\n maxHeight = _ref4$placerProps.maxHeight;\n return /*#__PURE__*/React.createElement(Menu, _extends({}, commonProps, menuPlacementProps, {\n innerRef: ref,\n innerProps: {\n onMouseDown: _this4.onMenuMouseDown,\n onMouseMove: _this4.onMenuMouseMove\n },\n isLoading: isLoading,\n placement: placement\n }), /*#__PURE__*/React.createElement(ScrollManager, {\n captureEnabled: captureMenuScroll,\n onTopArrive: onMenuScrollToTop,\n onBottomArrive: onMenuScrollToBottom,\n lockEnabled: menuShouldBlockScroll\n }, function (scrollTargetRef) {\n return /*#__PURE__*/React.createElement(MenuList, _extends({}, commonProps, {\n innerRef: function innerRef(instance) {\n _this4.getMenuListRef(instance);\n\n scrollTargetRef(instance);\n },\n isLoading: isLoading,\n maxHeight: maxHeight,\n focusedOption: focusedOption\n }), menuUI);\n }));\n }); // positioning behaviour is almost identical for portalled and fixed,\n // so we use the same component. the actual portalling logic is forked\n // within the component based on `menuPosition`\n\n return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends({}, commonProps, {\n appendTo: menuPortalTarget,\n controlElement: this.controlRef,\n menuPlacement: menuPlacement,\n menuPosition: menuPosition\n }), menuElement) : menuElement;\n }\n }, {\n key: \"renderFormField\",\n value: function renderFormField() {\n var _this5 = this;\n\n var _this$props13 = this.props,\n delimiter = _this$props13.delimiter,\n isDisabled = _this$props13.isDisabled,\n isMulti = _this$props13.isMulti,\n name = _this$props13.name;\n var selectValue = this.state.selectValue;\n if (!name || isDisabled) return;\n\n if (isMulti) {\n if (delimiter) {\n var value = selectValue.map(function (opt) {\n return _this5.getOptionValue(opt);\n }).join(delimiter);\n return /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\",\n value: value\n });\n } else {\n var input = selectValue.length > 0 ? selectValue.map(function (opt, i) {\n return /*#__PURE__*/React.createElement(\"input\", {\n key: \"i-\".concat(i),\n name: name,\n type: \"hidden\",\n value: _this5.getOptionValue(opt)\n });\n }) : /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\"\n });\n return /*#__PURE__*/React.createElement(\"div\", null, input);\n }\n } else {\n var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : '';\n\n return /*#__PURE__*/React.createElement(\"input\", {\n name: name,\n type: \"hidden\",\n value: _value\n });\n }\n }\n }, {\n key: \"renderLiveRegion\",\n value: function renderLiveRegion() {\n var commonProps = this.commonProps;\n var _this$state5 = this.state,\n ariaSelection = _this$state5.ariaSelection,\n focusedOption = _this$state5.focusedOption,\n focusedValue = _this$state5.focusedValue,\n isFocused = _this$state5.isFocused,\n selectValue = _this$state5.selectValue;\n var focusableOptions = this.getFocusableOptions();\n return /*#__PURE__*/React.createElement(LiveRegion, _extends({}, commonProps, {\n ariaSelection: ariaSelection,\n focusedOption: focusedOption,\n focusedValue: focusedValue,\n isFocused: isFocused,\n selectValue: selectValue,\n focusableOptions: focusableOptions\n }));\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$getComponents8 = this.getComponents(),\n Control = _this$getComponents8.Control,\n IndicatorsContainer = _this$getComponents8.IndicatorsContainer,\n SelectContainer = _this$getComponents8.SelectContainer,\n ValueContainer = _this$getComponents8.ValueContainer;\n\n var _this$props14 = this.props,\n className = _this$props14.className,\n id = _this$props14.id,\n isDisabled = _this$props14.isDisabled,\n menuIsOpen = _this$props14.menuIsOpen;\n var isFocused = this.state.isFocused;\n var commonProps = this.commonProps = this.getCommonProps();\n return /*#__PURE__*/React.createElement(SelectContainer, _extends({}, commonProps, {\n className: className,\n innerProps: {\n id: id,\n onKeyDown: this.onKeyDown\n },\n isDisabled: isDisabled,\n isFocused: isFocused\n }), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {\n innerRef: this.getControlRef,\n innerProps: {\n onMouseDown: this.onControlMouseDown,\n onTouchEnd: this.onControlTouchEnd\n },\n isDisabled: isDisabled,\n isFocused: isFocused,\n menuIsOpen: menuIsOpen\n }), /*#__PURE__*/React.createElement(ValueContainer, _extends({}, commonProps, {\n isDisabled: isDisabled\n }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends({}, commonProps, {\n isDisabled: isDisabled\n }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n var prevProps = state.prevProps,\n clearFocusValueOnUpdate = state.clearFocusValueOnUpdate,\n inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate;\n var options = props.options,\n value = props.value,\n menuIsOpen = props.menuIsOpen,\n inputValue = props.inputValue;\n var newMenuOptionsState = {};\n\n if (prevProps && (value !== prevProps.value || options !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {\n var selectValue = cleanValue(value);\n var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];\n var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;\n var focusedOption = getNextFocusedOption(state, focusableOptions);\n newMenuOptionsState = {\n selectValue: selectValue,\n focusedOption: focusedOption,\n focusedValue: focusedValue,\n clearFocusValueOnUpdate: false\n };\n } // some updates should toggle the state of the input visibility\n\n\n var newInputIsHiddenState = inputIsHiddenAfterUpdate != null && props !== prevProps ? {\n inputIsHidden: inputIsHiddenAfterUpdate,\n inputIsHiddenAfterUpdate: undefined\n } : {};\n return _objectSpread2(_objectSpread2(_objectSpread2({}, newMenuOptionsState), newInputIsHiddenState), {}, {\n prevProps: props\n });\n }\n }]);\n\n return Select;\n}(Component);\n\nSelect.defaultProps = defaultProps;\n\nexport { Select as S, getOptionLabel as a, defaultProps as b, createFilter as c, defaultTheme as d, getOptionValue as g, mergeStyles as m };\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport { jsx, keyframes, css as css$2, ClassNames } from '@emotion/react';\nimport _taggedTemplateLiteral from '@babel/runtime/helpers/esm/taggedTemplateLiteral';\nimport _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';\nimport _typeof from '@babel/runtime/helpers/esm/typeof';\nimport AutosizeInput from 'react-input-autosize';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport _defineProperty$1 from '@babel/runtime/helpers/esm/defineProperty';\nimport { createContext, Component } from 'react';\nimport { createPortal } from 'react-dom';\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\n// ==============================\n// NO OP\n// ==============================\nvar noop = function noop() {};\n// Class Name Prefixer\n// ==============================\n\n/**\n String representation of component state for styling with class names.\n\n Expects an array of strings OR a string/object pair:\n - className(['comp', 'comp-arg', 'comp-arg-2'])\n @returns 'react-select__comp react-select__comp-arg react-select__comp-arg-2'\n - className('comp', { some: true, state: false })\n @returns 'react-select__comp react-select__comp--some'\n*/\n\nfunction applyPrefixToName(prefix, name) {\n if (!name) {\n return prefix;\n } else if (name[0] === '-') {\n return prefix + name;\n } else {\n return prefix + '__' + name;\n }\n}\n\nfunction classNames(prefix, state, className) {\n var arr = [className];\n\n if (state && prefix) {\n for (var key in state) {\n if (state.hasOwnProperty(key) && state[key]) {\n arr.push(\"\".concat(applyPrefixToName(prefix, key)));\n }\n }\n }\n\n return arr.filter(function (i) {\n return i;\n }).map(function (i) {\n return String(i).trim();\n }).join(' ');\n} // ==============================\n// Clean Value\n// ==============================\n\nvar cleanValue = function cleanValue(value) {\n if (Array.isArray(value)) return value.filter(Boolean);\n if (_typeof(value) === 'object' && value !== null) return [value];\n return [];\n}; // ==============================\n// Clean Common Props\n// ==============================\n\nvar cleanCommonProps = function cleanCommonProps(props) {\n //className\n props.className;\n props.clearValue;\n props.cx;\n props.getStyles;\n props.getValue;\n props.hasValue;\n props.isMulti;\n props.isRtl;\n props.options;\n props.selectOption;\n props.selectProps;\n props.setValue;\n props.theme;\n var innerProps = _objectWithoutProperties(props, [\"className\", \"clearValue\", \"cx\", \"getStyles\", \"getValue\", \"hasValue\", \"isMulti\", \"isRtl\", \"options\", \"selectOption\", \"selectProps\", \"setValue\", \"theme\"]);\n\n return _objectSpread2({}, innerProps);\n}; // ==============================\n// Handle Input Change\n// ==============================\n\nfunction handleInputChange(inputValue, actionMeta, onInputChange) {\n if (onInputChange) {\n var newValue = onInputChange(inputValue, actionMeta);\n if (typeof newValue === 'string') return newValue;\n }\n\n return inputValue;\n} // ==============================\n// Scroll Helpers\n// ==============================\n\nfunction isDocumentElement(el) {\n return [document.documentElement, document.body, window].indexOf(el) > -1;\n} // Normalized Scroll Top\n// ------------------------------\n\nfunction getScrollTop(el) {\n if (isDocumentElement(el)) {\n return window.pageYOffset;\n }\n\n return el.scrollTop;\n}\nfunction scrollTo(el, top) {\n // with a scroll distance, we perform scroll on the element\n if (isDocumentElement(el)) {\n window.scrollTo(0, top);\n return;\n }\n\n el.scrollTop = top;\n} // Get Scroll Parent\n// ------------------------------\n\nfunction getScrollParent(element) {\n var style = getComputedStyle(element);\n var excludeStaticParent = style.position === 'absolute';\n var overflowRx = /(auto|scroll)/;\n var docEl = document.documentElement; // suck it, flow...\n\n if (style.position === 'fixed') return docEl;\n\n for (var parent = element; parent = parent.parentElement;) {\n style = getComputedStyle(parent);\n\n if (excludeStaticParent && style.position === 'static') {\n continue;\n }\n\n if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {\n return parent;\n }\n }\n\n return docEl;\n} // Animated Scroll To\n// ------------------------------\n\n/**\n @param t: time (elapsed)\n @param b: initial value\n @param c: amount of change\n @param d: duration\n*/\n\nfunction easeOutCubic(t, b, c, d) {\n return c * ((t = t / d - 1) * t * t + 1) + b;\n}\n\nfunction animatedScrollTo(element, to) {\n var duration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;\n var callback = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : noop;\n var start = getScrollTop(element);\n var change = to - start;\n var increment = 10;\n var currentTime = 0;\n\n function animateScroll() {\n currentTime += increment;\n var val = easeOutCubic(currentTime, start, change, duration);\n scrollTo(element, val);\n\n if (currentTime < duration) {\n window.requestAnimationFrame(animateScroll);\n } else {\n callback(element);\n }\n }\n\n animateScroll();\n} // Scroll Into View\n// ------------------------------\n\nfunction scrollIntoView(menuEl, focusedEl) {\n var menuRect = menuEl.getBoundingClientRect();\n var focusedRect = focusedEl.getBoundingClientRect();\n var overScroll = focusedEl.offsetHeight / 3;\n\n if (focusedRect.bottom + overScroll > menuRect.bottom) {\n scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));\n } else if (focusedRect.top - overScroll < menuRect.top) {\n scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));\n }\n} // ==============================\n// Get bounding client object\n// ==============================\n// cannot get keys using array notation with DOMRect\n\nfunction getBoundingClientObj(element) {\n var rect = element.getBoundingClientRect();\n return {\n bottom: rect.bottom,\n height: rect.height,\n left: rect.left,\n right: rect.right,\n top: rect.top,\n width: rect.width\n };\n}\n// Touch Capability Detector\n// ==============================\n\nfunction isTouchCapable() {\n try {\n document.createEvent('TouchEvent');\n return true;\n } catch (e) {\n return false;\n }\n} // ==============================\n// Mobile Device Detector\n// ==============================\n\nfunction isMobileDevice() {\n try {\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n } catch (e) {\n return false;\n }\n} // ==============================\n// Passive Event Detector\n// ==============================\n// https://github.com/rafgraph/detect-it/blob/main/src/index.ts#L19-L36\n\nvar passiveOptionAccessed = false;\nvar options = {\n get passive() {\n return passiveOptionAccessed = true;\n }\n\n}; // check for SSR\n\nvar w = typeof window !== 'undefined' ? window : {};\n\nif (w.addEventListener && w.removeEventListener) {\n w.addEventListener('p', noop, options);\n w.removeEventListener('p', noop, false);\n}\n\nvar supportsPassiveEvents = passiveOptionAccessed;\n\nfunction getMenuPlacement(_ref) {\n var maxHeight = _ref.maxHeight,\n menuEl = _ref.menuEl,\n minHeight = _ref.minHeight,\n placement = _ref.placement,\n shouldScroll = _ref.shouldScroll,\n isFixedPosition = _ref.isFixedPosition,\n theme = _ref.theme;\n var spacing = theme.spacing;\n var scrollParent = getScrollParent(menuEl);\n var defaultState = {\n placement: 'bottom',\n maxHeight: maxHeight\n }; // something went wrong, return default state\n\n if (!menuEl || !menuEl.offsetParent) return defaultState; // we can't trust `scrollParent.scrollHeight` --> it may increase when\n // the menu is rendered\n\n var _scrollParent$getBoun = scrollParent.getBoundingClientRect(),\n scrollHeight = _scrollParent$getBoun.height;\n\n var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(),\n menuBottom = _menuEl$getBoundingCl.bottom,\n menuHeight = _menuEl$getBoundingCl.height,\n menuTop = _menuEl$getBoundingCl.top;\n\n var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(),\n containerTop = _menuEl$offsetParent$.top;\n\n var viewHeight = window.innerHeight;\n var scrollTop = getScrollTop(scrollParent);\n var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);\n var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);\n var viewSpaceAbove = containerTop - marginTop;\n var viewSpaceBelow = viewHeight - menuTop;\n var scrollSpaceAbove = viewSpaceAbove + scrollTop;\n var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;\n var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;\n var scrollUp = scrollTop + menuTop - marginTop;\n var scrollDuration = 160;\n\n switch (placement) {\n case 'auto':\n case 'bottom':\n // 1: the menu will fit, do nothing\n if (viewSpaceBelow >= menuHeight) {\n return {\n placement: 'bottom',\n maxHeight: maxHeight\n };\n } // 2: the menu will fit, if scrolled\n\n\n if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollDown, scrollDuration);\n }\n\n return {\n placement: 'bottom',\n maxHeight: maxHeight\n };\n } // 3: the menu will fit, if constrained\n\n\n if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollDown, scrollDuration);\n } // we want to provide as much of the menu as possible to the user,\n // so give them whatever is available below rather than the minHeight.\n\n\n var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;\n return {\n placement: 'bottom',\n maxHeight: constrainedHeight\n };\n } // 4. Forked beviour when there isn't enough space below\n // AUTO: flip the menu, render above\n\n\n if (placement === 'auto' || isFixedPosition) {\n // may need to be constrained after flipping\n var _constrainedHeight = maxHeight;\n var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;\n\n if (spaceAbove >= minHeight) {\n _constrainedHeight = Math.min(spaceAbove - marginBottom - spacing.controlHeight, maxHeight);\n }\n\n return {\n placement: 'top',\n maxHeight: _constrainedHeight\n };\n } // BOTTOM: allow browser to increase scrollable area and immediately set scroll\n\n\n if (placement === 'bottom') {\n if (shouldScroll) {\n scrollTo(scrollParent, scrollDown);\n }\n\n return {\n placement: 'bottom',\n maxHeight: maxHeight\n };\n }\n\n break;\n\n case 'top':\n // 1: the menu will fit, do nothing\n if (viewSpaceAbove >= menuHeight) {\n return {\n placement: 'top',\n maxHeight: maxHeight\n };\n } // 2: the menu will fit, if scrolled\n\n\n if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollUp, scrollDuration);\n }\n\n return {\n placement: 'top',\n maxHeight: maxHeight\n };\n } // 3: the menu will fit, if constrained\n\n\n if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {\n var _constrainedHeight2 = maxHeight; // we want to provide as much of the menu as possible to the user,\n // so give them whatever is available below rather than the minHeight.\n\n if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {\n _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;\n }\n\n if (shouldScroll) {\n animatedScrollTo(scrollParent, scrollUp, scrollDuration);\n }\n\n return {\n placement: 'top',\n maxHeight: _constrainedHeight2\n };\n } // 4. not enough space, the browser WILL NOT increase scrollable area when\n // absolutely positioned element rendered above the viewport (only below).\n // Flip the menu, render below\n\n\n return {\n placement: 'bottom',\n maxHeight: maxHeight\n };\n\n default:\n throw new Error(\"Invalid placement provided \\\"\".concat(placement, \"\\\".\"));\n } // fulfil contract with flow: implicit return value of undefined\n\n\n return defaultState;\n} // Menu Component\n// ------------------------------\n\nfunction alignToControl(placement) {\n var placementToCSSProp = {\n bottom: 'top',\n top: 'bottom'\n };\n return placement ? placementToCSSProp[placement] : 'bottom';\n}\n\nvar coercePlacement = function coercePlacement(p) {\n return p === 'auto' ? 'bottom' : p;\n};\n\nvar menuCSS = function menuCSS(_ref2) {\n var _ref3;\n\n var placement = _ref2.placement,\n _ref2$theme = _ref2.theme,\n borderRadius = _ref2$theme.borderRadius,\n spacing = _ref2$theme.spacing,\n colors = _ref2$theme.colors;\n return _ref3 = {\n label: 'menu'\n }, _defineProperty$1(_ref3, alignToControl(placement), '100%'), _defineProperty$1(_ref3, \"backgroundColor\", colors.neutral0), _defineProperty$1(_ref3, \"borderRadius\", borderRadius), _defineProperty$1(_ref3, \"boxShadow\", '0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)'), _defineProperty$1(_ref3, \"marginBottom\", spacing.menuGutter), _defineProperty$1(_ref3, \"marginTop\", spacing.menuGutter), _defineProperty$1(_ref3, \"position\", 'absolute'), _defineProperty$1(_ref3, \"width\", '100%'), _defineProperty$1(_ref3, \"zIndex\", 1), _ref3;\n};\nvar PortalPlacementContext = /*#__PURE__*/createContext({\n getPortalPlacement: null\n}); // NOTE: internal only\n\nvar MenuPlacer = /*#__PURE__*/function (_Component) {\n _inherits(MenuPlacer, _Component);\n\n var _super = _createSuper(MenuPlacer);\n\n function MenuPlacer() {\n var _this;\n\n _classCallCheck(this, MenuPlacer);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n maxHeight: _this.props.maxMenuHeight,\n placement: null\n };\n\n _this.getPlacement = function (ref) {\n var _this$props = _this.props,\n minMenuHeight = _this$props.minMenuHeight,\n maxMenuHeight = _this$props.maxMenuHeight,\n menuPlacement = _this$props.menuPlacement,\n menuPosition = _this$props.menuPosition,\n menuShouldScrollIntoView = _this$props.menuShouldScrollIntoView,\n theme = _this$props.theme;\n if (!ref) return; // DO NOT scroll if position is fixed\n\n var isFixedPosition = menuPosition === 'fixed';\n var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;\n var state = getMenuPlacement({\n maxHeight: maxMenuHeight,\n menuEl: ref,\n minHeight: minMenuHeight,\n placement: menuPlacement,\n shouldScroll: shouldScroll,\n isFixedPosition: isFixedPosition,\n theme: theme\n });\n var getPortalPlacement = _this.context.getPortalPlacement;\n if (getPortalPlacement) getPortalPlacement(state);\n\n _this.setState(state);\n };\n\n _this.getUpdatedProps = function () {\n var menuPlacement = _this.props.menuPlacement;\n var placement = _this.state.placement || coercePlacement(menuPlacement);\n return _objectSpread2(_objectSpread2({}, _this.props), {}, {\n placement: placement,\n maxHeight: _this.state.maxHeight\n });\n };\n\n return _this;\n }\n\n _createClass(MenuPlacer, [{\n key: \"render\",\n value: function render() {\n var children = this.props.children;\n return children({\n ref: this.getPlacement,\n placerProps: this.getUpdatedProps()\n });\n }\n }]);\n\n return MenuPlacer;\n}(Component);\nMenuPlacer.contextType = PortalPlacementContext;\n\nvar Menu = function Menu(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerRef = props.innerRef,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('menu', props),\n className: cx({\n menu: true\n }, className),\n ref: innerRef\n }, innerProps), children);\n};\n// Menu List\n// ==============================\n\nvar menuListCSS = function menuListCSS(_ref4) {\n var maxHeight = _ref4.maxHeight,\n baseUnit = _ref4.theme.spacing.baseUnit;\n return {\n maxHeight: maxHeight,\n overflowY: 'auto',\n paddingBottom: baseUnit,\n paddingTop: baseUnit,\n position: 'relative',\n // required for offset[Height, Top] > keyboard scroll\n WebkitOverflowScrolling: 'touch'\n };\n};\nvar MenuList = function MenuList(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n innerRef = props.innerRef,\n isMulti = props.isMulti;\n return jsx(\"div\", _extends({\n css: getStyles('menuList', props),\n className: cx({\n 'menu-list': true,\n 'menu-list--is-multi': isMulti\n }, className),\n ref: innerRef\n }, innerProps), children);\n}; // ==============================\n// Menu Notices\n// ==============================\n\nvar noticeCSS = function noticeCSS(_ref5) {\n var _ref5$theme = _ref5.theme,\n baseUnit = _ref5$theme.spacing.baseUnit,\n colors = _ref5$theme.colors;\n return {\n color: colors.neutral40,\n padding: \"\".concat(baseUnit * 2, \"px \").concat(baseUnit * 3, \"px\"),\n textAlign: 'center'\n };\n};\n\nvar noOptionsMessageCSS = noticeCSS;\nvar loadingMessageCSS = noticeCSS;\nvar NoOptionsMessage = function NoOptionsMessage(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('noOptionsMessage', props),\n className: cx({\n 'menu-notice': true,\n 'menu-notice--no-options': true\n }, className)\n }, innerProps), children);\n};\nNoOptionsMessage.defaultProps = {\n children: 'No options'\n};\nvar LoadingMessage = function LoadingMessage(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('loadingMessage', props),\n className: cx({\n 'menu-notice': true,\n 'menu-notice--loading': true\n }, className)\n }, innerProps), children);\n};\nLoadingMessage.defaultProps = {\n children: 'Loading...'\n}; // ==============================\n// Menu Portal\n// ==============================\n\nvar menuPortalCSS = function menuPortalCSS(_ref6) {\n var rect = _ref6.rect,\n offset = _ref6.offset,\n position = _ref6.position;\n return {\n left: rect.left,\n position: position,\n top: offset,\n width: rect.width,\n zIndex: 1\n };\n};\nvar MenuPortal = /*#__PURE__*/function (_Component2) {\n _inherits(MenuPortal, _Component2);\n\n var _super2 = _createSuper(MenuPortal);\n\n function MenuPortal() {\n var _this2;\n\n _classCallCheck(this, MenuPortal);\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n _this2 = _super2.call.apply(_super2, [this].concat(args));\n _this2.state = {\n placement: null\n };\n\n _this2.getPortalPlacement = function (_ref7) {\n var placement = _ref7.placement;\n var initialPlacement = coercePlacement(_this2.props.menuPlacement); // avoid re-renders if the placement has not changed\n\n if (placement !== initialPlacement) {\n _this2.setState({\n placement: placement\n });\n }\n };\n\n return _this2;\n }\n\n _createClass(MenuPortal, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n appendTo = _this$props2.appendTo,\n children = _this$props2.children,\n className = _this$props2.className,\n controlElement = _this$props2.controlElement,\n cx = _this$props2.cx,\n innerProps = _this$props2.innerProps,\n menuPlacement = _this$props2.menuPlacement,\n position = _this$props2.menuPosition,\n getStyles = _this$props2.getStyles;\n var isFixed = position === 'fixed'; // bail early if required elements aren't present\n\n if (!appendTo && !isFixed || !controlElement) {\n return null;\n }\n\n var placement = this.state.placement || coercePlacement(menuPlacement);\n var rect = getBoundingClientObj(controlElement);\n var scrollDistance = isFixed ? 0 : window.pageYOffset;\n var offset = rect[placement] + scrollDistance;\n var state = {\n offset: offset,\n position: position,\n rect: rect\n }; // same wrapper element whether fixed or portalled\n\n var menuWrapper = jsx(\"div\", _extends({\n css: getStyles('menuPortal', state),\n className: cx({\n 'menu-portal': true\n }, className)\n }, innerProps), children);\n return jsx(PortalPlacementContext.Provider, {\n value: {\n getPortalPlacement: this.getPortalPlacement\n }\n }, appendTo ? /*#__PURE__*/createPortal(menuWrapper, appendTo) : menuWrapper);\n }\n }]);\n\n return MenuPortal;\n}(Component);\n\nvar containerCSS = function containerCSS(_ref) {\n var isDisabled = _ref.isDisabled,\n isRtl = _ref.isRtl;\n return {\n label: 'container',\n direction: isRtl ? 'rtl' : null,\n pointerEvents: isDisabled ? 'none' : null,\n // cancel mouse events when disabled\n position: 'relative'\n };\n};\nvar SelectContainer = function SelectContainer(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n isDisabled = props.isDisabled,\n isRtl = props.isRtl;\n return jsx(\"div\", _extends({\n css: getStyles('container', props),\n className: cx({\n '--is-disabled': isDisabled,\n '--is-rtl': isRtl\n }, className)\n }, innerProps), children);\n}; // ==============================\n// Value Container\n// ==============================\n\nvar valueContainerCSS = function valueContainerCSS(_ref2) {\n var spacing = _ref2.theme.spacing;\n return {\n alignItems: 'center',\n display: 'flex',\n flex: 1,\n flexWrap: 'wrap',\n padding: \"\".concat(spacing.baseUnit / 2, \"px \").concat(spacing.baseUnit * 2, \"px\"),\n WebkitOverflowScrolling: 'touch',\n position: 'relative',\n overflow: 'hidden'\n };\n};\nvar ValueContainer = function ValueContainer(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n innerProps = props.innerProps,\n isMulti = props.isMulti,\n getStyles = props.getStyles,\n hasValue = props.hasValue;\n return jsx(\"div\", _extends({\n css: getStyles('valueContainer', props),\n className: cx({\n 'value-container': true,\n 'value-container--is-multi': isMulti,\n 'value-container--has-value': hasValue\n }, className)\n }, innerProps), children);\n}; // ==============================\n// Indicator Container\n// ==============================\n\nvar indicatorsContainerCSS = function indicatorsContainerCSS() {\n return {\n alignItems: 'center',\n alignSelf: 'stretch',\n display: 'flex',\n flexShrink: 0\n };\n};\nvar IndicatorsContainer = function IndicatorsContainer(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n innerProps = props.innerProps,\n getStyles = props.getStyles;\n return jsx(\"div\", _extends({\n css: getStyles('indicatorsContainer', props),\n className: cx({\n indicators: true\n }, className)\n }, innerProps), children);\n};\n\nvar _templateObject;\n\nfunction _EMOTION_STRINGIFIED_CSS_ERROR__() { return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\"; }\n\nvar _ref2 = process.env.NODE_ENV === \"production\" ? {\n name: \"8mmkcg\",\n styles: \"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0\"\n} : {\n name: \"tj5bde-Svg\",\n styles: \"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;\",\n map: \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBDb21tb25Qcm9wcywgVGhlbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJiBDbGVhciBJY29uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IFN2ZyA9ICh7IHNpemUsIC4uLnByb3BzIH06IHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogYW55KSA9PiAoXG4gIDxTdmcgc2l6ZT17MjB9IHsuLi5wcm9wc30+XG4gICAgPHBhdGggZD1cIk0xNC4zNDggMTQuODQ5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwbC0yLjY1MS0zLjAzMC0yLjY1MSAzLjAyOWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMC0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOSAwLTEuNjk3bDIuNzU4LTMuMTUtMi43NTktMy4xNTJjLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI4IDAtMS42OTdzMS4yMjgtMC40NjkgMS42OTcgMGwyLjY1MiAzLjAzMSAyLjY1MS0zLjAzMWMwLjQ2OS0wLjQ2OSAxLjIyOC0wLjQ2OSAxLjY5NyAwczAuNDY5IDEuMjI5IDAgMS42OTdsLTIuNzU4IDMuMTUyIDIuNzU4IDMuMTVjMC40NjkgMC40NjkgMC40NjkgMS4yMjkgMCAxLjY5OHpcIiAvPlxuICA8L1N2Zz5cbik7XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IGFueSkgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCB0eXBlIEluZGljYXRvclByb3BzID0gQ29tbW9uUHJvcHMgJiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuOiBOb2RlLFxuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn07XG5cbmNvbnN0IGJhc2VDU1MgPSAoe1xuICBpc0ZvY3VzZWQsXG4gIHRoZW1lOiB7XG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIGNvbG9ycyxcbiAgfSxcbn06IEluZGljYXRvclByb3BzKSA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG5cbiAgJzpob3Zlcic6IHtcbiAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gIH0sXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnZHJvcGRvd25JbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnY2xlYXJJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxudHlwZSBTZXBhcmF0b3JTdGF0ZSA9IHsgaXNEaXNhYmxlZDogYm9vbGVhbiB9O1xuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gKHtcbiAgaXNEaXNhYmxlZCxcbiAgdGhlbWU6IHtcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgY29sb3JzLFxuICB9LFxufTogQ29tbW9uUHJvcHMgJiBTZXBhcmF0b3JTdGF0ZSkgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgd2lkdGg6IDEsXG59KTtcblxuZXhwb3J0IGNvbnN0IEluZGljYXRvclNlcGFyYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdpbmRpY2F0b3JTZXBhcmF0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KHsgJ2luZGljYXRvci1zZXBhcmF0b3InOiB0cnVlIH0sIGNsYXNzTmFtZSl9XG4gICAgLz5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gTG9hZGluZ1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IGxvYWRpbmdEb3RBbmltYXRpb25zID0ga2V5ZnJhbWVzYFxuICAwJSwgODAlLCAxMDAlIHsgb3BhY2l0eTogMDsgfVxuICA0MCUgeyBvcGFjaXR5OiAxOyB9XG5gO1xuXG5leHBvcnQgY29uc3QgbG9hZGluZ0luZGljYXRvckNTUyA9ICh7XG4gIGlzRm9jdXNlZCxcbiAgc2l6ZSxcbiAgdGhlbWU6IHtcbiAgICBjb2xvcnMsXG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICB9LFxufToge1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW4sXG4gIHNpemU6IG51bWJlcixcbiAgdGhlbWU6IFRoZW1lLFxufSkgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgYWxpZ25TZWxmOiAnY2VudGVyJyxcbiAgZm9udFNpemU6IHNpemUsXG4gIGxpbmVIZWlnaHQ6IDEsXG4gIG1hcmdpblJpZ2h0OiBzaXplLFxuICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICB2ZXJ0aWNhbEFsaWduOiAnbWlkZGxlJyxcbn0pO1xuXG50eXBlIERvdFByb3BzID0geyBkZWxheTogbnVtYmVyLCBvZmZzZXQ6IGJvb2xlYW4gfTtcbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IERvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiBudWxsLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgdHlwZSBMb2FkaW5nSWNvblByb3BzID0ge1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn0gJiBDb21tb25Qcm9wcyAmIHtcbiAgICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgICBzaXplOiBudW1iZXIsXG4gIH07XG5leHBvcnQgY29uc3QgTG9hZGluZ0luZGljYXRvciA9IChwcm9wczogTG9hZGluZ0ljb25Qcm9wcykgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\n\n// ==============================\n// Dropdown & Clear Icons\n// ==============================\nvar Svg = function Svg(_ref) {\n var size = _ref.size,\n props = _objectWithoutProperties(_ref, [\"size\"]);\n\n return jsx(\"svg\", _extends({\n height: size,\n width: size,\n viewBox: \"0 0 20 20\",\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n css: _ref2\n }, props));\n};\n\nvar CrossIcon = function CrossIcon(props) {\n return jsx(Svg, _extends({\n size: 20\n }, props), jsx(\"path\", {\n d: \"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z\"\n }));\n};\nvar DownChevron = function DownChevron(props) {\n return jsx(Svg, _extends({\n size: 20\n }, props), jsx(\"path\", {\n d: \"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z\"\n }));\n}; // ==============================\n// Dropdown & Clear Buttons\n// ==============================\n\nvar baseCSS = function baseCSS(_ref3) {\n var isFocused = _ref3.isFocused,\n _ref3$theme = _ref3.theme,\n baseUnit = _ref3$theme.spacing.baseUnit,\n colors = _ref3$theme.colors;\n return {\n label: 'indicatorContainer',\n color: isFocused ? colors.neutral60 : colors.neutral20,\n display: 'flex',\n padding: baseUnit * 2,\n transition: 'color 150ms',\n ':hover': {\n color: isFocused ? colors.neutral80 : colors.neutral40\n }\n };\n};\n\nvar dropdownIndicatorCSS = baseCSS;\nvar DropdownIndicator = function DropdownIndicator(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('dropdownIndicator', props),\n className: cx({\n indicator: true,\n 'dropdown-indicator': true\n }, className)\n }, innerProps), children || jsx(DownChevron, null));\n};\nvar clearIndicatorCSS = baseCSS;\nvar ClearIndicator = function ClearIndicator(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('clearIndicator', props),\n className: cx({\n indicator: true,\n 'clear-indicator': true\n }, className)\n }, innerProps), children || jsx(CrossIcon, null));\n}; // ==============================\n// Separator\n// ==============================\n\nvar indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4) {\n var isDisabled = _ref4.isDisabled,\n _ref4$theme = _ref4.theme,\n baseUnit = _ref4$theme.spacing.baseUnit,\n colors = _ref4$theme.colors;\n return {\n label: 'indicatorSeparator',\n alignSelf: 'stretch',\n backgroundColor: isDisabled ? colors.neutral10 : colors.neutral20,\n marginBottom: baseUnit * 2,\n marginTop: baseUnit * 2,\n width: 1\n };\n};\nvar IndicatorSeparator = function IndicatorSeparator(props) {\n var className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"span\", _extends({}, innerProps, {\n css: getStyles('indicatorSeparator', props),\n className: cx({\n 'indicator-separator': true\n }, className)\n }));\n}; // ==============================\n// Loading\n// ==============================\n\nvar loadingDotAnimations = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral([\"\\n 0%, 80%, 100% { opacity: 0; }\\n 40% { opacity: 1; }\\n\"])));\nvar loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {\n var isFocused = _ref5.isFocused,\n size = _ref5.size,\n _ref5$theme = _ref5.theme,\n colors = _ref5$theme.colors,\n baseUnit = _ref5$theme.spacing.baseUnit;\n return {\n label: 'loadingIndicator',\n color: isFocused ? colors.neutral60 : colors.neutral20,\n display: 'flex',\n padding: baseUnit * 2,\n transition: 'color 150ms',\n alignSelf: 'center',\n fontSize: size,\n lineHeight: 1,\n marginRight: size,\n textAlign: 'center',\n verticalAlign: 'middle'\n };\n};\n\nvar LoadingDot = function LoadingDot(_ref6) {\n var delay = _ref6.delay,\n offset = _ref6.offset;\n return jsx(\"span\", {\n css: /*#__PURE__*/css$2({\n animation: \"\".concat(loadingDotAnimations, \" 1s ease-in-out \").concat(delay, \"ms infinite;\"),\n backgroundColor: 'currentColor',\n borderRadius: '1em',\n display: 'inline-block',\n marginLeft: offset ? '1em' : null,\n height: '1em',\n verticalAlign: 'top',\n width: '1em'\n }, process.env.NODE_ENV === \"production\" ? \"\" : \";label:LoadingDot;\", process.env.NODE_ENV === \"production\" ? \"\" : \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0xJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBDb21tb25Qcm9wcywgVGhlbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJiBDbGVhciBJY29uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IFN2ZyA9ICh7IHNpemUsIC4uLnByb3BzIH06IHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogYW55KSA9PiAoXG4gIDxTdmcgc2l6ZT17MjB9IHsuLi5wcm9wc30+XG4gICAgPHBhdGggZD1cIk0xNC4zNDggMTQuODQ5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwbC0yLjY1MS0zLjAzMC0yLjY1MSAzLjAyOWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMC0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOSAwLTEuNjk3bDIuNzU4LTMuMTUtMi43NTktMy4xNTJjLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI4IDAtMS42OTdzMS4yMjgtMC40NjkgMS42OTcgMGwyLjY1MiAzLjAzMSAyLjY1MS0zLjAzMWMwLjQ2OS0wLjQ2OSAxLjIyOC0wLjQ2OSAxLjY5NyAwczAuNDY5IDEuMjI5IDAgMS42OTdsLTIuNzU4IDMuMTUyIDIuNzU4IDMuMTVjMC40NjkgMC40NjkgMC40NjkgMS4yMjkgMCAxLjY5OHpcIiAvPlxuICA8L1N2Zz5cbik7XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IGFueSkgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCB0eXBlIEluZGljYXRvclByb3BzID0gQ29tbW9uUHJvcHMgJiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuOiBOb2RlLFxuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn07XG5cbmNvbnN0IGJhc2VDU1MgPSAoe1xuICBpc0ZvY3VzZWQsXG4gIHRoZW1lOiB7XG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIGNvbG9ycyxcbiAgfSxcbn06IEluZGljYXRvclByb3BzKSA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG5cbiAgJzpob3Zlcic6IHtcbiAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gIH0sXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnZHJvcGRvd25JbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjaGlsZHJlbiwgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBjc3M9e2dldFN0eWxlcygnY2xlYXJJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxudHlwZSBTZXBhcmF0b3JTdGF0ZSA9IHsgaXNEaXNhYmxlZDogYm9vbGVhbiB9O1xuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gKHtcbiAgaXNEaXNhYmxlZCxcbiAgdGhlbWU6IHtcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgY29sb3JzLFxuICB9LFxufTogQ29tbW9uUHJvcHMgJiBTZXBhcmF0b3JTdGF0ZSkgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgd2lkdGg6IDEsXG59KTtcblxuZXhwb3J0IGNvbnN0IEluZGljYXRvclNlcGFyYXRvciA9IChwcm9wczogSW5kaWNhdG9yUHJvcHMpID0+IHtcbiAgY29uc3QgeyBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdpbmRpY2F0b3JTZXBhcmF0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KHsgJ2luZGljYXRvci1zZXBhcmF0b3InOiB0cnVlIH0sIGNsYXNzTmFtZSl9XG4gICAgLz5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gTG9hZGluZ1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmNvbnN0IGxvYWRpbmdEb3RBbmltYXRpb25zID0ga2V5ZnJhbWVzYFxuICAwJSwgODAlLCAxMDAlIHsgb3BhY2l0eTogMDsgfVxuICA0MCUgeyBvcGFjaXR5OiAxOyB9XG5gO1xuXG5leHBvcnQgY29uc3QgbG9hZGluZ0luZGljYXRvckNTUyA9ICh7XG4gIGlzRm9jdXNlZCxcbiAgc2l6ZSxcbiAgdGhlbWU6IHtcbiAgICBjb2xvcnMsXG4gICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICB9LFxufToge1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW4sXG4gIHNpemU6IG51bWJlcixcbiAgdGhlbWU6IFRoZW1lLFxufSkgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgYWxpZ25TZWxmOiAnY2VudGVyJyxcbiAgZm9udFNpemU6IHNpemUsXG4gIGxpbmVIZWlnaHQ6IDEsXG4gIG1hcmdpblJpZ2h0OiBzaXplLFxuICB0ZXh0QWxpZ246ICdjZW50ZXInLFxuICB2ZXJ0aWNhbEFsaWduOiAnbWlkZGxlJyxcbn0pO1xuXG50eXBlIERvdFByb3BzID0geyBkZWxheTogbnVtYmVyLCBvZmZzZXQ6IGJvb2xlYW4gfTtcbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IERvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiBudWxsLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgdHlwZSBMb2FkaW5nSWNvblByb3BzID0ge1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IGFueSxcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgLyoqIFdoZXRoZXIgdGhlIHRleHQgaXMgcmlnaHQgdG8gbGVmdCAqL1xuICBpc1J0bDogYm9vbGVhbixcbn0gJiBDb21tb25Qcm9wcyAmIHtcbiAgICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgICBzaXplOiBudW1iZXIsXG4gIH07XG5leHBvcnQgY29uc3QgTG9hZGluZ0luZGljYXRvciA9IChwcm9wczogTG9hZGluZ0ljb25Qcm9wcykgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcywgaXNSdGwgfSA9IHByb3BzO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2xvYWRpbmdJbmRpY2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */\")\n });\n};\n\nvar LoadingIndicator = function LoadingIndicator(props) {\n var className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n isRtl = props.isRtl;\n return jsx(\"div\", _extends({\n css: getStyles('loadingIndicator', props),\n className: cx({\n indicator: true,\n 'loading-indicator': true\n }, className)\n }, innerProps), jsx(LoadingDot, {\n delay: 0,\n offset: isRtl\n }), jsx(LoadingDot, {\n delay: 160,\n offset: true\n }), jsx(LoadingDot, {\n delay: 320,\n offset: !isRtl\n }));\n};\nLoadingIndicator.defaultProps = {\n size: 4\n};\n\nvar css = function css(_ref) {\n var isDisabled = _ref.isDisabled,\n isFocused = _ref.isFocused,\n _ref$theme = _ref.theme,\n colors = _ref$theme.colors,\n borderRadius = _ref$theme.borderRadius,\n spacing = _ref$theme.spacing;\n return {\n label: 'control',\n alignItems: 'center',\n backgroundColor: isDisabled ? colors.neutral5 : colors.neutral0,\n borderColor: isDisabled ? colors.neutral10 : isFocused ? colors.primary : colors.neutral20,\n borderRadius: borderRadius,\n borderStyle: 'solid',\n borderWidth: 1,\n boxShadow: isFocused ? \"0 0 0 1px \".concat(colors.primary) : null,\n cursor: 'default',\n display: 'flex',\n flexWrap: 'wrap',\n justifyContent: 'space-between',\n minHeight: spacing.controlHeight,\n outline: '0 !important',\n position: 'relative',\n transition: 'all 100ms',\n '&:hover': {\n borderColor: isFocused ? colors.primary : colors.neutral30\n }\n };\n};\n\nvar Control = function Control(props) {\n var children = props.children,\n cx = props.cx,\n getStyles = props.getStyles,\n className = props.className,\n isDisabled = props.isDisabled,\n isFocused = props.isFocused,\n innerRef = props.innerRef,\n innerProps = props.innerProps,\n menuIsOpen = props.menuIsOpen;\n return jsx(\"div\", _extends({\n ref: innerRef,\n css: getStyles('control', props),\n className: cx({\n control: true,\n 'control--is-disabled': isDisabled,\n 'control--is-focused': isFocused,\n 'control--menu-is-open': menuIsOpen\n }, className)\n }, innerProps), children);\n};\n\nvar groupCSS = function groupCSS(_ref) {\n var spacing = _ref.theme.spacing;\n return {\n paddingBottom: spacing.baseUnit * 2,\n paddingTop: spacing.baseUnit * 2\n };\n};\n\nvar Group = function Group(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n Heading = props.Heading,\n headingProps = props.headingProps,\n innerProps = props.innerProps,\n label = props.label,\n theme = props.theme,\n selectProps = props.selectProps;\n return jsx(\"div\", _extends({\n css: getStyles('group', props),\n className: cx({\n group: true\n }, className)\n }, innerProps), jsx(Heading, _extends({}, headingProps, {\n selectProps: selectProps,\n theme: theme,\n getStyles: getStyles,\n cx: cx\n }), label), jsx(\"div\", null, children));\n};\n\nvar groupHeadingCSS = function groupHeadingCSS(_ref2) {\n var spacing = _ref2.theme.spacing;\n return {\n label: 'group',\n color: '#999',\n cursor: 'default',\n display: 'block',\n fontSize: '75%',\n fontWeight: '500',\n marginBottom: '0.25em',\n paddingLeft: spacing.baseUnit * 3,\n paddingRight: spacing.baseUnit * 3,\n textTransform: 'uppercase'\n };\n};\nvar GroupHeading = function GroupHeading(props) {\n var getStyles = props.getStyles,\n cx = props.cx,\n className = props.className;\n\n var _cleanCommonProps = cleanCommonProps(props);\n _cleanCommonProps.data;\n var innerProps = _objectWithoutProperties(_cleanCommonProps, [\"data\"]);\n\n return jsx(\"div\", _extends({\n css: getStyles('groupHeading', props),\n className: cx({\n 'group-heading': true\n }, className)\n }, innerProps));\n};\n\nvar inputCSS = function inputCSS(_ref) {\n var isDisabled = _ref.isDisabled,\n _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n margin: spacing.baseUnit / 2,\n paddingBottom: spacing.baseUnit / 2,\n paddingTop: spacing.baseUnit / 2,\n visibility: isDisabled ? 'hidden' : 'visible',\n color: colors.neutral80\n };\n};\n\nvar inputStyle = function inputStyle(isHidden) {\n return {\n label: 'input',\n background: 0,\n border: 0,\n fontSize: 'inherit',\n opacity: isHidden ? 0 : 1,\n outline: 0,\n padding: 0,\n color: 'inherit'\n };\n};\n\nvar Input = function Input(props) {\n var className = props.className,\n cx = props.cx,\n getStyles = props.getStyles;\n\n var _cleanCommonProps = cleanCommonProps(props),\n innerRef = _cleanCommonProps.innerRef,\n isDisabled = _cleanCommonProps.isDisabled,\n isHidden = _cleanCommonProps.isHidden,\n innerProps = _objectWithoutProperties(_cleanCommonProps, [\"innerRef\", \"isDisabled\", \"isHidden\"]);\n\n return jsx(\"div\", {\n css: getStyles('input', props)\n }, jsx(AutosizeInput, _extends({\n className: cx({\n input: true\n }, className),\n inputRef: innerRef,\n inputStyle: inputStyle(isHidden),\n disabled: isDisabled\n }, innerProps)));\n};\n\nvar multiValueCSS = function multiValueCSS(_ref) {\n var _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n borderRadius = _ref$theme.borderRadius,\n colors = _ref$theme.colors;\n return {\n label: 'multiValue',\n backgroundColor: colors.neutral10,\n borderRadius: borderRadius / 2,\n display: 'flex',\n margin: spacing.baseUnit / 2,\n minWidth: 0 // resolves flex/text-overflow bug\n\n };\n};\nvar multiValueLabelCSS = function multiValueLabelCSS(_ref2) {\n var _ref2$theme = _ref2.theme,\n borderRadius = _ref2$theme.borderRadius,\n colors = _ref2$theme.colors,\n cropWithEllipsis = _ref2.cropWithEllipsis;\n return {\n borderRadius: borderRadius / 2,\n color: colors.neutral80,\n fontSize: '85%',\n overflow: 'hidden',\n padding: 3,\n paddingLeft: 6,\n textOverflow: cropWithEllipsis ? 'ellipsis' : null,\n whiteSpace: 'nowrap'\n };\n};\nvar multiValueRemoveCSS = function multiValueRemoveCSS(_ref3) {\n var _ref3$theme = _ref3.theme,\n spacing = _ref3$theme.spacing,\n borderRadius = _ref3$theme.borderRadius,\n colors = _ref3$theme.colors,\n isFocused = _ref3.isFocused;\n return {\n alignItems: 'center',\n borderRadius: borderRadius / 2,\n backgroundColor: isFocused && colors.dangerLight,\n display: 'flex',\n paddingLeft: spacing.baseUnit,\n paddingRight: spacing.baseUnit,\n ':hover': {\n backgroundColor: colors.dangerLight,\n color: colors.danger\n }\n };\n};\nvar MultiValueGeneric = function MultiValueGeneric(_ref4) {\n var children = _ref4.children,\n innerProps = _ref4.innerProps;\n return jsx(\"div\", innerProps, children);\n};\nvar MultiValueContainer = MultiValueGeneric;\nvar MultiValueLabel = MultiValueGeneric;\nfunction MultiValueRemove(_ref5) {\n var children = _ref5.children,\n innerProps = _ref5.innerProps;\n return jsx(\"div\", innerProps, children || jsx(CrossIcon, {\n size: 14\n }));\n}\n\nvar MultiValue = function MultiValue(props) {\n var children = props.children,\n className = props.className,\n components = props.components,\n cx = props.cx,\n data = props.data,\n getStyles = props.getStyles,\n innerProps = props.innerProps,\n isDisabled = props.isDisabled,\n removeProps = props.removeProps,\n selectProps = props.selectProps;\n var Container = components.Container,\n Label = components.Label,\n Remove = components.Remove;\n return jsx(ClassNames, null, function (_ref6) {\n var css = _ref6.css,\n emotionCx = _ref6.cx;\n return jsx(Container, {\n data: data,\n innerProps: _objectSpread2({\n className: emotionCx(css(getStyles('multiValue', props)), cx({\n 'multi-value': true,\n 'multi-value--is-disabled': isDisabled\n }, className))\n }, innerProps),\n selectProps: selectProps\n }, jsx(Label, {\n data: data,\n innerProps: {\n className: emotionCx(css(getStyles('multiValueLabel', props)), cx({\n 'multi-value__label': true\n }, className))\n },\n selectProps: selectProps\n }, children), jsx(Remove, {\n data: data,\n innerProps: _objectSpread2({\n className: emotionCx(css(getStyles('multiValueRemove', props)), cx({\n 'multi-value__remove': true\n }, className))\n }, removeProps),\n selectProps: selectProps\n }));\n });\n};\n\nMultiValue.defaultProps = {\n cropWithEllipsis: true\n};\n\nvar optionCSS = function optionCSS(_ref) {\n var isDisabled = _ref.isDisabled,\n isFocused = _ref.isFocused,\n isSelected = _ref.isSelected,\n _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n label: 'option',\n backgroundColor: isSelected ? colors.primary : isFocused ? colors.primary25 : 'transparent',\n color: isDisabled ? colors.neutral20 : isSelected ? colors.neutral0 : 'inherit',\n cursor: 'default',\n display: 'block',\n fontSize: 'inherit',\n padding: \"\".concat(spacing.baseUnit * 2, \"px \").concat(spacing.baseUnit * 3, \"px\"),\n width: '100%',\n userSelect: 'none',\n WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',\n // provide some affordance on touch devices\n ':active': {\n backgroundColor: !isDisabled && (isSelected ? colors.primary : colors.primary50)\n }\n };\n};\n\nvar Option = function Option(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n isDisabled = props.isDisabled,\n isFocused = props.isFocused,\n isSelected = props.isSelected,\n innerRef = props.innerRef,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('option', props),\n className: cx({\n option: true,\n 'option--is-disabled': isDisabled,\n 'option--is-focused': isFocused,\n 'option--is-selected': isSelected\n }, className),\n ref: innerRef\n }, innerProps), children);\n};\n\nvar placeholderCSS = function placeholderCSS(_ref) {\n var _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n label: 'placeholder',\n color: colors.neutral50,\n marginLeft: spacing.baseUnit / 2,\n marginRight: spacing.baseUnit / 2,\n position: 'absolute',\n top: '50%',\n transform: 'translateY(-50%)'\n };\n};\n\nvar Placeholder = function Placeholder(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('placeholder', props),\n className: cx({\n placeholder: true\n }, className)\n }, innerProps), children);\n};\n\nvar css$1 = function css(_ref) {\n var isDisabled = _ref.isDisabled,\n _ref$theme = _ref.theme,\n spacing = _ref$theme.spacing,\n colors = _ref$theme.colors;\n return {\n label: 'singleValue',\n color: isDisabled ? colors.neutral40 : colors.neutral80,\n marginLeft: spacing.baseUnit / 2,\n marginRight: spacing.baseUnit / 2,\n maxWidth: \"calc(100% - \".concat(spacing.baseUnit * 2, \"px)\"),\n overflow: 'hidden',\n position: 'absolute',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n top: '50%',\n transform: 'translateY(-50%)'\n };\n};\n\nvar SingleValue = function SingleValue(props) {\n var children = props.children,\n className = props.className,\n cx = props.cx,\n getStyles = props.getStyles,\n isDisabled = props.isDisabled,\n innerProps = props.innerProps;\n return jsx(\"div\", _extends({\n css: getStyles('singleValue', props),\n className: cx({\n 'single-value': true,\n 'single-value--is-disabled': isDisabled\n }, className)\n }, innerProps), children);\n};\n\nvar components = {\n ClearIndicator: ClearIndicator,\n Control: Control,\n DropdownIndicator: DropdownIndicator,\n DownChevron: DownChevron,\n CrossIcon: CrossIcon,\n Group: Group,\n GroupHeading: GroupHeading,\n IndicatorsContainer: IndicatorsContainer,\n IndicatorSeparator: IndicatorSeparator,\n Input: Input,\n LoadingIndicator: LoadingIndicator,\n Menu: Menu,\n MenuList: MenuList,\n MenuPortal: MenuPortal,\n LoadingMessage: LoadingMessage,\n NoOptionsMessage: NoOptionsMessage,\n MultiValue: MultiValue,\n MultiValueContainer: MultiValueContainer,\n MultiValueLabel: MultiValueLabel,\n MultiValueRemove: MultiValueRemove,\n Option: Option,\n Placeholder: Placeholder,\n SelectContainer: SelectContainer,\n SingleValue: SingleValue,\n ValueContainer: ValueContainer\n};\nvar defaultComponents = function defaultComponents(props) {\n return _objectSpread2(_objectSpread2({}, components), props.components);\n};\n\nexport { isMobileDevice as A, classNames as B, defaultComponents as C, isDocumentElement as D, cleanValue as E, scrollIntoView as F, noop as G, handleInputChange as H, MenuPlacer as M, _createSuper as _, _objectSpread2 as a, clearIndicatorCSS as b, components as c, containerCSS as d, css as e, dropdownIndicatorCSS as f, groupCSS as g, groupHeadingCSS as h, indicatorsContainerCSS as i, indicatorSeparatorCSS as j, inputCSS as k, loadingIndicatorCSS as l, loadingMessageCSS as m, menuCSS as n, menuListCSS as o, menuPortalCSS as p, multiValueCSS as q, multiValueLabelCSS as r, supportsPassiveEvents as s, multiValueRemoveCSS as t, noOptionsMessageCSS as u, optionCSS as v, placeholderCSS as w, css$1 as x, valueContainerCSS as y, isTouchCapable as z };\n","import { S as Select } from './Select-dbb12e54.esm.js';\nexport { c as createFilter, d as defaultTheme, m as mergeStyles } from './Select-dbb12e54.esm.js';\nimport { m as manageState } from './stateManager-845a3300.esm.js';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport { _ as _createSuper } from './index-4bd03571.esm.js';\nexport { c as components } from './index-4bd03571.esm.js';\nimport React, { Component } from 'react';\nimport { CacheProvider } from '@emotion/react';\nimport createCache from '@emotion/cache';\nimport memoizeOne from 'memoize-one';\nimport '@babel/runtime/helpers/extends';\nimport '@babel/runtime/helpers/toConsumableArray';\nimport '@babel/runtime/helpers/objectWithoutProperties';\nimport '@babel/runtime/helpers/taggedTemplateLiteral';\nimport '@babel/runtime/helpers/typeof';\nimport 'react-input-autosize';\nimport '@babel/runtime/helpers/defineProperty';\nimport 'react-dom';\n\nvar NonceProvider = /*#__PURE__*/function (_Component) {\n _inherits(NonceProvider, _Component);\n\n var _super = _createSuper(NonceProvider);\n\n function NonceProvider(props) {\n var _this;\n\n _classCallCheck(this, NonceProvider);\n\n _this = _super.call(this, props);\n\n _this.createEmotionCache = function (nonce, key) {\n return createCache({\n nonce: nonce,\n key: key\n });\n };\n\n _this.createEmotionCache = memoizeOne(_this.createEmotionCache);\n return _this;\n }\n\n _createClass(NonceProvider, [{\n key: \"render\",\n value: function render() {\n var emotionCache = this.createEmotionCache(this.props.nonce, this.props.cacheKey);\n return /*#__PURE__*/React.createElement(CacheProvider, {\n value: emotionCache\n }, this.props.children);\n }\n }]);\n\n return NonceProvider;\n}(Component);\n\nvar index = manageState(Select);\n\nexport default index;\nexport { NonceProvider };\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport { _ as _createSuper } from './index-4bd03571.esm.js';\nimport React, { Component } from 'react';\n\nvar defaultProps = {\n defaultInputValue: '',\n defaultMenuIsOpen: false,\n defaultValue: null\n};\n\nvar manageState = function manageState(SelectComponent) {\n var _class, _temp;\n\n return _temp = _class = /*#__PURE__*/function (_Component) {\n _inherits(StateManager, _Component);\n\n var _super = _createSuper(StateManager);\n\n function StateManager() {\n var _this;\n\n _classCallCheck(this, StateManager);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n _this.select = void 0;\n _this.state = {\n inputValue: _this.props.inputValue !== undefined ? _this.props.inputValue : _this.props.defaultInputValue,\n menuIsOpen: _this.props.menuIsOpen !== undefined ? _this.props.menuIsOpen : _this.props.defaultMenuIsOpen,\n value: _this.props.value !== undefined ? _this.props.value : _this.props.defaultValue\n };\n\n _this.onChange = function (value, actionMeta) {\n _this.callProp('onChange', value, actionMeta);\n\n _this.setState({\n value: value\n });\n };\n\n _this.onInputChange = function (value, actionMeta) {\n // TODO: for backwards compatibility, we allow the prop to return a new\n // value, but now inputValue is a controllable prop we probably shouldn't\n var newValue = _this.callProp('onInputChange', value, actionMeta);\n\n _this.setState({\n inputValue: newValue !== undefined ? newValue : value\n });\n };\n\n _this.onMenuOpen = function () {\n _this.callProp('onMenuOpen');\n\n _this.setState({\n menuIsOpen: true\n });\n };\n\n _this.onMenuClose = function () {\n _this.callProp('onMenuClose');\n\n _this.setState({\n menuIsOpen: false\n });\n };\n\n return _this;\n }\n\n _createClass(StateManager, [{\n key: \"focus\",\n value: function focus() {\n this.select.focus();\n }\n }, {\n key: \"blur\",\n value: function blur() {\n this.select.blur();\n } // FIXME: untyped flow code, return any\n\n }, {\n key: \"getProp\",\n value: function getProp(key) {\n return this.props[key] !== undefined ? this.props[key] : this.state[key];\n } // FIXME: untyped flow code, return any\n\n }, {\n key: \"callProp\",\n value: function callProp(name) {\n if (typeof this.props[name] === 'function') {\n var _this$props;\n\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n return (_this$props = this.props)[name].apply(_this$props, args);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _this$props2 = this.props;\n _this$props2.defaultInputValue;\n _this$props2.defaultMenuIsOpen;\n _this$props2.defaultValue;\n var props = _objectWithoutProperties(_this$props2, [\"defaultInputValue\", \"defaultMenuIsOpen\", \"defaultValue\"]);\n\n return /*#__PURE__*/React.createElement(SelectComponent, _extends({}, props, {\n ref: function ref(_ref) {\n _this2.select = _ref;\n },\n inputValue: this.getProp('inputValue'),\n menuIsOpen: this.getProp('menuIsOpen'),\n onChange: this.onChange,\n onInputChange: this.onInputChange,\n onMenuClose: this.onMenuClose,\n onMenuOpen: this.onMenuOpen,\n value: this.getProp('value')\n }));\n }\n }]);\n\n return StateManager;\n }(Component), _class.defaultProps = defaultProps, _temp;\n};\n\nexport { manageState as m };\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (!element.return)\n\t\tswitch (element.type) {\n\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length)\n\t\t\t\tbreak\n\t\t\tcase KEYFRAMES:\n\t\t\t\treturn serialize([copy(replace(element.value, '@', '@' + WEBKIT), element, '')], callback)\n\t\t\tcase RULESET:\n\t\t\t\tif (element.length)\n\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\treturn serialize([copy(replace(value, /:(read-\\w+)/, ':' + MOZ + '$1'), element, '')], callback)\n\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\tcopy(replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1'), element, ''),\n\t\t\t\t\t\t\t\t\tcopy(replace(value, /:(plac\\w+)/, ':' + MOZ + '$1'), element, ''),\n\t\t\t\t\t\t\t\t\tcopy(replace(value, /:(plac\\w+)/, MS + 'input-$1'), element, '')\n\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn ''\n\t\t\t\t\t})\n\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, trim, from, sizeof, strlen, substr, append, replace} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// \" ' [ (\n\t\t\tcase 34: case 39: case 91: case 40:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset:\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule) {\n\t\t\t\t\t\t\t\t\t// d m s\n\t\t\t\t\t\t\t\t\tcase 100: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, length, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {string}\n */\nexport function prefix (value, length) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// flex, flex-direction\n\t\tcase 6828: case 4268:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// (s)ticky?\n\t\t\tif (charat(value, length + 1) !== 115)\n\t\t\t\tbreak\n\t\t// display: (flex|inline-flex)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n\t\t\t\t// stic(k)y\n\t\t\t\tcase 107:\n\t\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\t\t// (inline-)?fl(e)x\n\t\t\t\tcase 101:\n\t\t\t\t\treturn replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t}\n\t\t\tbreak\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t}\n\n\t\t\treturn WEBKIT + value + MS + value + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string} type\n * @param {string[]} props\n * @param {object[]} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {string} type\n */\nexport function copy (value, root, type) {\n\treturn node(value, root.root, root.parent, type, root.props, root.children, 0)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\treturn delimiter(type === 34 || type === 39 ? type : character)\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3)\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} value\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","module.exports = React;","module.exports = ReactDOM;","module.exports = lodash;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * Import blocks\n */\n\nimport './simple-sitemap';\nimport './simple-sitemap-group';\n"],"mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACTA;AACA;AACA;AACA;A;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;AC1BA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;A;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;AC1SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;AC1UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;AC3TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;ACjBA;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AAEA;AACA;AACA;AACA;AACA;AAAA;AAAA;AALA;AAQA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACfA;AACA;AACA;AASA;AANA;AAIA;AACA;AACA;AAEA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AACA;AAAA;AACA;AADA;AACA;AAAA;AAAA;AACA;AADA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AALA;AAOA;AACA;AAXA;AAYA;AACA;AAdA;AAAA;AAAA;AAiBA;AACA;AAlBA;AAAA;AAAA;AAoBA;AACA;AACA;AAEA;AAEA;AACA;AAAA;AACA;AACA;AACA;AADA;AAGA;AACA;AACA;AACA;AACA;AACA;AArCA;AAAA;AAAA;AAuCA;AACA;AADA;AAAA;AAAA;AAAA;AAAA;AACA;AAGA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AACA;AACA;AAFA;AAIA;AACA;AAEA;AACA;AACA;AACA;AAGA;AACA;AACA;AADA;AACA;AACA;AADA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAJA;AACA;AAKA;AACA;AAEA;AACA;AAEA;AArGA;AAAA;AAAA;AAuGA;AAEA;AAAA;AAAA;AACA;AACA;AA3GA;AAAA;AAAA;AA6GA;AACA;AADA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA;AAQA;AAIA;AACA;AACA;AACA;AACA;AAJA;AADA;AAUA;AACA;AACA;AAHA;AAYA;AACA;AAAA;AAGA;AACA;AACA;AACA;AAAA;AAEA;AAAA;AAAA;AACA;AACA;AARA;AAYA;AArKA;AACA;AADA;AAAA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AAEA;AAAA;AAAA;AACA;AACA;AADA;AAEA;AAAA;AAGA;AAEA;AAAA;AACA;AADA;AACA;AAAA;AAAA;AACA;AADA;AACA;AAAA;AACA;AACA;AACA;AAFA;AAFA;AAMA;AACA;AARA;AAAA;AAAA;AAUA;AACA;AAEA;AACA;AAAA;AACA;AAfA;AAAA;AAAA;AAkBA;AACA;AAnBA;AAAA;AAAA;AAsBA;AACA;AACA;AACA;AAzBA;AAAA;AAAA;AA2BA;AACA;AAAA;AACA;AACA;AACA;AAAA;AACA;AACA;AAAA;AACA;AACA;AAFA;AAAA;AAIA;AACA;AAXA;AAAA;AAAA;AAAA;AAAA;AAcA;AACA;AAAA;AACA;AACA;AACA;AACA;AADA;AAEA;AAAA;AALA;AAUA;AAKA;AAAA;AAAA;AACA;AACA;AAEA;AAIA;AACA;AACA;AACA;AAFA;AADA;AAMA;AACA;AACA;AACA;AA1EA;AAAA;AAAA;AA4EA;AAAA;AAAA;AAAA;AAEA;AAEA;AACA;AAAA;AACA;AACA;AAAA;AACA;AAEA;AACA;AAXA;AAAA;AAAA;AAAA;AAAA;AACA;AAkBA;AACA;AACA;AAAA;AAEA;AACA;AAEA;AAAA;AAAA;AAKA;AACA;AACA;AAAA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAIA;AAtHA;AACA;AADA;AAAA;AAyHA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AADA;AAKA;AAAA;AAAA;AACA;AAEA;AAGA;AAAA;AAAA;AACA;AACA;AAAA;AACA;AACA;AAAA;AAIA;AArBA;AAwBA;AACA;A;;;;;;;;;;;;;;;;;;;;;ACxKA;AACA;AACA;AACA;AAEA;AACA;AAQA;AANA;AACA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AAFA;AADA;AAMA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAgBA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AAEA;AACA;AACA;AACA;AAJA;AAOA;AAAA;AACA;AAAA;AAAA;AAAA;AAIA;AAAA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAEA;AACA;AAAA;AAAA;AACA;AAbA;AAgBA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAEA;AACA;AAAA;AAAA;AACA;AATA;AAYA;AAAA;AAEA;AACA;AACA;AAHA;AAMA;AAAA;AAEA;AACA;AACA;AAHA;AAMA;AAAA;AAEA;AACA;AACA;AAHA;AAYA;AACA;AACA;AAHA;AAMA;AACA;AACA;AACA;AA/EA;AAiFA;AACA;AACA;AACA;AApIA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1BA;AACA;AACA;AACA;AAEA;AACA;AAQA;AANA;AACA;AACA;AAEA;AAGA;AACA;AAEA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AADA;AADA;AAKA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgCA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAEA;AACA;AACA;AACA;AADA;AADA;AAHA;AAAA;AADA;AAYA;AAGA;AACA;AACA;AACA;AACA;AACA;AADA;AAGA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAEA;AAbA;AAkBA;AAEA;AAAA;AAEA;AACA;AACA;AACA;AACA;AAJA;AADA;AAUA;AACA;AACA;AAHA;AAaA;AACA;AACA;AACA;AAEA;AACA;AAAA;AACA;AAAA;AACA;AAAA;AAEA;AAAA;AAAA;AACA;AAFA;AAWA;AAAA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAEA;AACA;AAAA;AAAA;AACA;AAhBA;AAmBA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AAEA;AACA;AAAA;AAAA;AACA;AATA;AAYA;AAAA;AAEA;AACA;AACA;AAHA;AAMA;AAAA;AAEA;AACA;AACA;AAHA;AAMA;AAAA;AAEA;AACA;AACA;AAHA;AAWA;AACA;AAFA;AAIA;AAAA;AAEA;AACA;AACA;AAHA;AASA;AACA;AAFA;AAIA;AAAA;AAGA;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AADA;AAGA;AAXA;AAiBA;AACA;AACA;AAHA;AAMA;AACA;AACA;AACA;AArHA;AAuHA;AACA;AACA;AACA;AA1PA;AACA;A;;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;AChlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;AC7QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;ACtLA;AACA;AACA;AAGA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACpoFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9+CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;ACxHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;;;;;;;;;;;;;;;;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A;;;;;;;;;AC9GA;AACA;A;;;;;;;;;ACDA;AACA;A;;;;;;;;;ACDA;AACA;A;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACPA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA;AAEA;;;;;A","sourceRoot":""}
lib/classes/shortcodes/simple-sitemap-group-shortcode.php CHANGED
@@ -125,6 +125,8 @@ class Simple_Sitemap_Group_Shortcode {
125
 
126
  $args['attr_source'] = 'shortcode';
127
 
 
 
128
  } else {
129
 
130
  // Attributes come from the block.
125
 
126
  $args['attr_source'] = 'shortcode';
127
 
128
+ // Manually enqueue styles if using the sitemap shortcode.
129
+ wp_enqueue_style( 'simple-sitemap-css');
130
  } else {
131
 
132
  // Attributes come from the block.
lib/classes/shortcodes/simple-sitemap-shortcode.php CHANGED
@@ -123,6 +123,8 @@ class Simple_Sitemap_Shortcode {
123
 
124
  $args['attr_source'] = 'shortcode';
125
 
 
 
126
  } else {
127
  // Attributes come from the block.
128
  $args = $attributes;
123
 
124
  $args['attr_source'] = 'shortcode';
125
 
126
+ // Manually enqueue styles if using the sitemap shortcode.
127
+ wp_enqueue_style( 'simple-sitemap-css');
128
  } else {
129
  // Attributes come from the block.
130
  $args = $attributes;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dgwyer, wpgoplugins
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FBAG4ZHA4TTUC
4
  Tags: seo sitemap, html, sitemap, html sitemap, responsive sitemap
5
  Requires at least: 5.0
6
- Tested up to: 5.9
7
- Stable tag: 3.5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,6 +159,11 @@ No. This plugin is for generating an HTML sitemap only.
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
162
  = 3.5.6 - July 12, 2022 =
163
 
164
  * You can now override the dynamically generated sitemap ID with a static ID of your choosing.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FBAG4ZHA4TTUC
4
  Tags: seo sitemap, html, sitemap, html sitemap, responsive sitemap
5
  Requires at least: 5.0
6
+ Tested up to: 6.0
7
+ Stable tag: 3.5.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 3.5.7 - July 15, 2022 =
163
+
164
+ * [fix] Styles not enqueued for sitemap shortcodes.
165
+ * [update] Added compatibility with WP 6.x.
166
+
167
  = 3.5.6 - July 12, 2022 =
168
 
169
  * You can now override the dynamically generated sitemap ID with a static ID of your choosing.
simple-sitemap.php CHANGED
@@ -4,13 +4,13 @@
4
  Plugin Name: Simple Sitemap
5
  Plugin URI: http://wordpress.org/plugins/simple-sitemap/
6
  Description: HTML sitemap to display content as a single linked list of posts, pages, or custom post types. You can even display posts in groups sorted by taxonomy!
7
- Version: 3.5.6
8
  Author: David Gwyer
9
  Author URI: http://www.wpgoplugins.com
10
  Text Domain: simple-sitemap
11
  */
12
  /*
13
- Copyright 2019 David Gwyer (email : david@wpgoplugins.com)
14
 
15
  This program is free software; you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by
4
  Plugin Name: Simple Sitemap
5
  Plugin URI: http://wordpress.org/plugins/simple-sitemap/
6
  Description: HTML sitemap to display content as a single linked list of posts, pages, or custom post types. You can even display posts in groups sorted by taxonomy!
7
+ Version: 3.5.7
8
  Author: David Gwyer
9
  Author URI: http://www.wpgoplugins.com
10
  Text Domain: simple-sitemap
11
  */
12
  /*
13
+ Copyright 2019 David Gwyer (email: david@wpgoplugins.com)
14
 
15
  This program is free software; you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by