HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/f/r/e/frenchy/refonte2023/wordpress/wp-content/plugins/give/build/donationFormBlock.js
!function(){var e={8679:function(e,t,n){"use strict";var o=n(1296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return o.isMemo(e)?a:s[e.$$typeof]||i}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(g){var i=p(n);i&&i!==g&&e(t,i,o)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),m=u(n),h=0;h<a.length;++h){var v=a[h];if(!(r[v]||o&&o[v]||m&&m[v]||s&&s[v])){var b=f(n,v);try{l(t,v,b)}catch(e){}}}}return t}},6103:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,I=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function M(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case c:case d:case r:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case h:case m:case u:return e;default:return t}}case i:return t}}}function C(e){return M(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=f,t.Fragment=r,t.Lazy=h,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||M(e)===c},t.isConcurrentMode=C,t.isContextConsumer=function(e){return M(e)===l},t.isContextProvider=function(e){return M(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return M(e)===f},t.isFragment=function(e){return M(e)===r},t.isLazy=function(e){return M(e)===h},t.isMemo=function(e){return M(e)===m},t.isPortal=function(e){return M(e)===i},t.isProfiler=function(e){return M(e)===s},t.isStrictMode=function(e){return M(e)===a},t.isSuspense=function(e){return M(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===d||e===s||e===a||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===I||e.$$typeof===y||e.$$typeof===v)},t.typeOf=M},1296:function(e,t,n){"use strict";e.exports=n(6103)},2703:function(e,t,n){"use strict";var o=n(414);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,r,a){if(a!==o){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,bigint: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:r,resetWarningCache:i};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=JSON.parse('{"$schema":"https://json.schemastore.org/block.json","apiVersion":2,"name":"givewp/donation-form","version":"1.0.0","title":"Donation Form","category":"give","icon":"superhero","description":"The GiveWP Donation Form block inserts an existing donation form into the page.","supports":{"html":false,"inserter":false},"attributes":{"formId":{"type":"string"},"blockId":{"type":"string"},"formFormat":{"type":"string","default":"full"},"openFormButton":{"type":"string","default":"Donate now"}},"textdomain":"give","editorStyle":"file:../../../../build/donationFormBlock.css","editorScript":"file:../../../../build/donationFormBlock.js"}'),t=window.wp.blocks,o=window.wp.element,i=window.wp.i18n,r=window.wp.blockEditor,a=window.wp.components,s=window.wp.data;function u({formId:e,enablePreview:t}){const{isSaving:n,isDisabled:r}={isSaving:(0,s.useSelect)((e=>e("core/editor").isSavingPost()),[]),isDisabled:(0,s.useSelect)((e=>!e("core/editor").isEditedPostPublishable()),[])};return(0,o.createElement)("div",{className:"givewp-form-block__submit-button--container"},(0,o.createElement)("button",{className:"givewp-form-block__submit-button",type:"button",disabled:n||r||!e,onClick:()=>(t(),(0,s.dispatch)("core/editor").savePost())},(0,i.__)("Confirm","give")))}var l=window.React,c=n.n(l);function d(){return(0,o.createElement)("div",{className:"givewp-form-block__logo--container"},(0,o.createElement)("img",{className:"givewp-form-block__logo",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ4IiBoZWlnaHQ9IjQ5IiB2aWV3Qm94PSIwIDAgMTQ4IDQ5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNDAuOTQ3IDI0LjcyaC41NDNzNi40MDEuMTExIDYuNTEgOC40OThjMCA4LjA1Ny03LjkyMSAxNC45LTE3LjI1MiAxNC45LTEuNTE5IDAtMTQuMTA2LS40NDItMTUuMDgyLTE1Ljc4Mi0yLjQ5Ni0uMTEtNi43MjgtLjU1Mi0xMC4zMDgtMi4wOTctMy41ODEgOC45MzktOS4xMTUgMTYuMDAyLTEyLjQ3OCAxNi4wMDItMy4zNjQgMC02LjE4NS00LjQxNC04LjQ2NC0xMi45MTJsLS4yMTctLjg4M0M3OS44NiAzOS45NSA3My44OTEgNDYuMTMgNzAuOTYyIDQ2LjEzYy0zLjQ3MiAwLTcuNzA0LTQuMDg0LTcuNzA0LTcuOTQ2IDAtMy44NjMgMS4xOTQtMTMuMTMzIDEuMTk0LTEzLjEzM3MtMy4xNDcuNjYyLTcuNzA0IDEuMzI0QzU1Ljg4IDMwLjc5MSA1MS4xMDYgNDkgMzIuNDQzIDQ5IDEwLjE5OSA0OSAwIDI0LjUgMCAyNC41YzIuNDY4LTEuNTUgNS41MzItNC44MDUgOC45NjItOC40NTFDMTUuNzg3IDguNzk3IDI0LjA2NiAwIDMyLjAxIDBjMTEuOTM1IDAgMTYuMTY3IDE1LjAwOSAxNi4xNjcgMTUuMDA5bC0uOTc3IDEuNjU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t:"givewp-logo"}))}function f(e){return f="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},f(e)}function p(e){var t=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===f(t)?t:String(t)}function g(e,t,n){return(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function b(e,t){if(e){if("string"==typeof e)return v(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)?v(e,t):void 0}}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,_x,r,a=[],_n=!0,s=!1;try{if(_x=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;_n=!1}else for(;!(_n=(o=_x.call(n)).done)&&(a.push(o.value),a.length!==t);_n=!0);}catch(e){s=!0,i=e}finally{try{if(!_n&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(s)throw i}}return a}}(e,t)||b(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.")}()}function y(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var M=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},C.apply(this,arguments)}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,p(o.key),o)}}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function S(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function j(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(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.")}()}var O=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling: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.insertionPoint=e.insertionPoint,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&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),L=Math.abs,A=String.fromCharCode,E=Object.assign;function T(e){return e.trim()}function D(e,t,n){return e.replace(t,n)}function k(e,t){return e.indexOf(t)}function z(e,t){return 0|e.charCodeAt(t)}function P(e,t,n){return e.slice(t,n)}function R(e){return e.length}function V(e){return e.length}function F(e,t){return t.push(e),e}var Z=1,Y=1,H=0,B=0,W=0,G="";function U(e,t,n,o,i,r,a){return{value:e,root:t,parent:n,type:o,props:i,children:r,line:Z,column:Y,length:a,return:""}}function Q(e,t){return E(U("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return W=B>0?z(G,--B):0,Y--,10===W&&(Y=1,Z--),W}function X(){return W=B<H?z(G,B++):0,Y++,10===W&&(Y=1,Z++),W}function $(){return z(G,B)}function J(){return B}function K(e,t){return P(G,e,t)}function q(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 ee(e){return Z=Y=1,H=R(G=e),B=0,[]}function te(e){return G="",e}function ne(e){return T(K(B-1,re(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(W=$())&&W<33;)X();return q(e)>2||q(W)>3?"":" "}function ie(e,t){for(;--t&&X()&&!(W<48||W>102||W>57&&W<65||W>70&&W<97););return K(e,J()+(t<6&&32==$()&&32==X()))}function re(e){for(;X();)switch(W){case e:return B;case 34:case 39:34!==e&&39!==e&&re(W);break;case 40:41===e&&re(e);break;case 92:X()}return B}function ae(e,t){for(;X()&&e+W!==57&&(e+W!==84||47!==$()););return"/*"+K(t,B-1)+"*"+A(47===e?e:X())}function se(e){for(;!q($());)X();return K(e,B)}var ue="-ms-",le="-moz-",ce="-webkit-",de="comm",fe="rule",pe="decl",ge="@keyframes";function me(e,t){for(var n="",o=V(e),i=0;i<o;i++)n+=t(e[i],i,e,t)||"";return n}function he(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case pe:return e.return=e.return||e.value;case de:return"";case ge:return e.return=e.value+"{"+me(e.children,o)+"}";case fe:e.value=e.props.join(",")}return R(n=me(e.children,o))?e.return=e.value+"{"+n+"}":""}function ve(e){return te(be("",null,null,null,[""],e=ee(e),0,[0],e))}function be(e,t,n,o,i,r,a,s,u){for(var l=0,c=0,d=a,f=0,p=0,g=0,m=1,h=1,v=1,b=0,I="",y=i,M=r,C=o,w=I;h;)switch(g=b,b=X()){case 40:if(108!=g&&58==z(w,d-1)){-1!=k(w+=D(ne(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:w+=ne(b);break;case 9:case 10:case 13:case 32:w+=oe(g);break;case 92:w+=ie(J()-1,7);continue;case 47:switch($()){case 42:case 47:F(ye(ae(X(),J()),t,n),u);break;default:w+="/"}break;case 123*m:s[l++]=R(w)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+c:-1==v&&(w=D(w,/\f/g,"")),p>0&&R(w)-d&&F(p>32?Me(w+";",o,n,d-1):Me(D(w," ","")+";",o,n,d-2),u);break;case 59:w+=";";default:if(F(C=Ie(w,t,n,l,c,i,s,I,y=[],M=[],d),r),123===b)if(0===c)be(w,t,C,C,y,r,d,s,M);else switch(99===f&&110===z(w,3)?100:f){case 100:case 108:case 109:case 115:be(e,C,C,o&&F(Ie(e,C,C,0,0,i,s,I,i,y=[],d),M),i,M,d,s,o?y:M);break;default:be(w,C,C,C,[""],M,0,s,M)}}l=c=p=0,m=v=1,I=w="",d=a;break;case 58:d=1+R(w),p=g;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==_())continue;switch(w+=A(b),b*m){case 38:v=c>0?1:(w+="\f",-1);break;case 44:s[l++]=(R(w)-1)*v,v=1;break;case 64:45===$()&&(w+=ne(X())),f=$(),c=d=R(I=w+=se(J())),b++;break;case 45:45===g&&2==R(w)&&(m=0)}}return r}function Ie(e,t,n,o,i,r,a,s,u,l,c){for(var d=i-1,f=0===i?r:[""],p=V(f),g=0,m=0,h=0;g<o;++g)for(var v=0,b=P(e,d+1,d=L(m=a[g])),I=e;v<p;++v)(I=T(m>0?f[v]+" "+b:D(b,/&\f/g,f[v])))&&(u[h++]=I);return U(e,t,n,0===i?fe:s,u,l,c)}function ye(e,t,n){return U(e,t,n,de,A(W),P(e,2,-2),0)}function Me(e,t,n,o){return U(e,t,n,pe,P(e,0,o),P(e,o+1,-1),o)}var Ce=function(e,t,n){for(var o=0,i=0;o=i,i=$(),38===o&&12===i&&(t[n]=1),!q(i);)X();return K(e,B)},we=new WeakMap,Ne=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=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)||we.get(n))&&!o){we.set(e,!0);for(var i=[],r=function(e,t){return te(function(e,t){var n=-1,o=44;do{switch(q(o)){case 0:38===o&&12===$()&&(t[n]=1),e[n]+=Ce(B-1,t,n);break;case 2:e[n]+=ne(o);break;case 4:if(44===o){e[++n]=58===$()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=A(o)}}while(o=X());return e}(ee(e),t))}(t,i),a=n.props,s=0,u=0;s<r.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=i[s]?r[s].replace(/&\f/g,a[l]):a[l]+" "+r[s]}}},xe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Se(e,t){switch(function(e,t){return 45^z(e,0)?(((t<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3):0}(e,t)){case 5103:return ce+"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 ce+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ce+e+le+e+ue+e+e;case 6828:case 4268:return ce+e+ue+e+e;case 6165:return ce+e+ue+"flex-"+e+e;case 5187:return ce+e+D(e,/(\w+).+(:[^]+)/,ce+"box-$1$2"+ue+"flex-$1$2")+e;case 5443:return ce+e+ue+"flex-item-"+D(e,/flex-|-self/,"")+e;case 4675:return ce+e+ue+"flex-line-pack"+D(e,/align-content|flex-|-self/,"")+e;case 5548:return ce+e+ue+D(e,"shrink","negative")+e;case 5292:return ce+e+ue+D(e,"basis","preferred-size")+e;case 6060:return ce+"box-"+D(e,"-grow","")+ce+e+ue+D(e,"grow","positive")+e;case 4554:return ce+D(e,/([^-])(transform)/g,"$1"+ce+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,ce+"$1"),/(image-set)/,ce+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,ce+"$1$`$1");case 4968:return D(D(e,/(.+:)(flex-)?(.*)/,ce+"box-pack:$3"+ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ce+e+e;case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,ce+"$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(R(e)-1-t>6)switch(z(e,t+1)){case 109:if(45!==z(e,t+4))break;case 102:return D(e,/(.+:)(.+)-([^]+)/,"$1"+ce+"$2-$3$1"+le+(108==z(e,t+3)?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch")?Se(D(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==z(e,t+1))break;case 6444:switch(z(e,R(e)-3-(~k(e,"!important")&&10))){case 107:return D(e,":",":"+ce)+e;case 101:return D(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ce+(45===z(e,14)?"inline-":"")+"box$3$1"+ce+"$2$3$1"+ue+"$2box$3")+e}break;case 5936:switch(z(e,t+11)){case 114:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ce+e+ue+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ce+e+ue+e+e}return e}var je=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case pe:e.return=Se(e.value,e.length);break;case ge:return me([Q(e,{value:D(e.value,"@","@"+ce)})],o);case fe: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 me([Q(e,{props:[D(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return me([Q(e,{props:[D(t,/:(plac\w+)/,":"+ce+"input-$1")]}),Q(e,{props:[D(t,/:(plac\w+)/,":-moz-$1")]}),Q(e,{props:[D(t,/:(plac\w+)/,ue+"input-$1")]})],o)}return""}))}}],Oe=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){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,r=e.stylisPlugins||je,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var u,l,c,d,f=[he,(d=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(l=[Ne,xe].concat(r,f),c=V(l),function(e,t,n,o){for(var i="",r=0;r<c;r++)i+=l[r](e,t,n,o)||"";return i});i=function(e,t,n,o){u=n,me(ve(e?e+"{"+t.styles+"}":t.styles),p),o&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new O({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return g.sheet.hydrate(s),g},Le=function(e,t,n){var o=e.key+"-"+t.name;!1===n&&void 0===e.registered[o]&&(e.registered[o]=t.styles)},Ae={animationIterationCount:1,aspectRatio: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};function Ee(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Te=/[A-Z]|^ms/g,De=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ke=function(e){return 45===e.charCodeAt(1)},ze=function(e){return null!=e&&"boolean"!=typeof e},Pe=Ee((function(e){return ke(e)?e:e.replace(Te,"-$&").toLowerCase()})),Re=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(De,(function(e,t,n){return Fe={name:t,styles:n,next:Fe},t}))}return 1===Ae[e]||ke(e)||"number"!=typeof t||0===t?t:t+"px"};function Ve(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 Fe={name:n.name,styles:n.styles,next:Fe},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)Fe={name:o.name,styles:o.styles,next:Fe},o=o.next;return n.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var i=0;i<n.length;i++)o+=Ve(e,t,n[i])+";";else for(var r in n){var a=n[r];if("object"!=typeof a)null!=t&&void 0!==t[a]?o+=r+"{"+t[a]+"}":ze(a)&&(o+=Pe(r)+":"+Re(r,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ve(e,t,a);switch(r){case"animation":case"animationName":o+=Pe(r)+":"+s+";";break;default:o+=r+"{"+s+"}"}}else for(var u=0;u<a.length;u++)ze(a[u])&&(o+=Pe(r)+":"+Re(r,a[u])+";")}return o}(e,t,n);case"function":if(void 0!==e){var i=Fe,r=n(e);return Fe=i,Ve(e,t,r)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Fe,Ze=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ye=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";Fe=void 0;var r=e[0];null==r||void 0===r.raw?(o=!1,i+=Ve(n,t,r)):i+=r[0];for(var a=1;a<e.length;a++)i+=Ve(n,t,e[a]),o&&(i+=r[a]);Ze.lastIndex=0;for(var s,u="";null!==(s=Ze.exec(i));)u+="-"+s[1];var l=function(e){for(var t,n=0,o=0,i=e.length;i>=4;++o,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+u;return{name:l,styles:i,next:Fe}},He={}.hasOwnProperty,Be=(0,l.createContext)("undefined"!=typeof HTMLElement?Oe({key:"css"}):null);Be.Provider;var We=function(e){return(0,l.forwardRef)((function(t,n){var o=(0,l.useContext)(Be);return e(t,o,n)}))},Ge=(0,l.createContext)({}),Ue=l.useInsertionEffect?l.useInsertionEffect:function(e){e()},Qe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_e=function(e){var t,n=e.cache,o=e.serialized,i=e.isStringTag;return Le(n,o,i),t=function(){return function(e,t,n){Le(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+o:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(n,o,i)},Ue(t),null},Xe=We((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[Qe],r=[o],a="";"string"==typeof e.className?a=function(e,t,n){var o="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):o+=n+" "})),o}(t.registered,r,e.className):null!=e.className&&(a=e.className+" ");var s=Ye(r,void 0,(0,l.useContext)(Ge));a+=t.key+"-"+s.name;var u={};for(var c in e)He.call(e,c)&&"css"!==c&&c!==Qe&&(u[c]=e[c]);return u.ref=n,u.className=a,(0,l.createElement)(l.Fragment,null,(0,l.createElement)(_e,{cache:t,serialized:s,isStringTag:"string"==typeof i}),(0,l.createElement)(i,u))}));n(8679);var $e=function(e,t){var n=arguments;if(null==t||!He.call(t,"css"))return l.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Xe,i[1]=function(e,t){var n={};for(var o in t)He.call(t,o)&&(n[o]=t[o]);return n[Qe]=e,n}(e,t);for(var r=2;r<o;r++)i[r]=n[r];return l.createElement.apply(null,i)};function Je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ye(t)}l.useInsertionEffect?l.useInsertionEffect:l.useLayoutEffect;var Ke=window.ReactDOM;const qe=Math.min,et=Math.max,tt=Math.round,nt=Math.floor,ot=e=>({x:e,y:e});function it(e){return st(e)?(e.nodeName||"").toLowerCase():"#document"}function rt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function at(e){var t;return null==(t=(st(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function st(e){return e instanceof Node||e instanceof rt(e).Node}function ut(e){return e instanceof Element||e instanceof rt(e).Element}function lt(e){return e instanceof HTMLElement||e instanceof rt(e).HTMLElement}function ct(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof rt(e).ShadowRoot)}function dt(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function ft(e){return rt(e).getComputedStyle(e)}function pt(e){const t=function(e){if("html"===it(e))return e;const t=e.assignedSlot||e.parentNode||ct(e)&&e.host||at(e);return ct(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(it(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:lt(t)&&dt(t)?t:pt(t)}function gt(e,t){var n;void 0===t&&(t=[]);const o=pt(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),r=rt(o);return i?t.concat(r,r.visualViewport||[],dt(o)?o:[]):t.concat(o,gt(o))}function mt(e){return ut(e)?e:e.contextElement}function ht(e){const t=mt(e);if(!lt(t))return ot(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=function(e){const t=ft(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=lt(e),r=i?e.offsetWidth:n,a=i?e.offsetHeight:o,s=tt(n)!==r||tt(o)!==a;return s&&(n=r,o=a),{width:n,height:o,$:s}}(t);let a=(r?tt(n.width):n.width)/o,s=(r?tt(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vt=ot(0);function bt(e){const t=rt(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:vt}function It(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),r=mt(e);let a=ot(1);t&&(o?ut(o)&&(a=ht(o)):a=ht(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==rt(e))&&t}(r,n,o)?bt(r):ot(0);let u=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(r){const e=rt(r),t=o&&ut(o)?rt(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=ht(n),t=n.getBoundingClientRect(),o=ft(n),i=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,r=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,l*=e.y,c*=e.x,d*=e.y,u+=i,l+=r,n=rt(n).frameElement}}return f={width:c,height:d,x:u,y:l},{...f,top:f.y,left:f.x,right:f.x+f.width,bottom:f.y+f.height};var f}var yt=l.useLayoutEffect,Mt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ct=function(){};function wt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Nt(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var r=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(wt(e,a)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var xt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===f(e)&&null!==e?[e]:[];var t},St=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,h({},y(e,Mt))},jt=function(e,t,n){var o=e.cx,i=e.getStyles,r=e.getClassNames,a=e.className;return{css:i(t,e),className:o(null!=n?n:{},r(t,e),a)}};function Ot(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Lt(e){return Ot(e)?window.pageYOffset:e.scrollTop}function At(e,t){Ot(e)?window.scrollTo(0,t):e.scrollTop=t}function Et(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ct,i=Lt(e),r=t-i,a=0;!function t(){var s,u=r*((s=(s=a+=10)/n-1)*s*s+1)+i;At(e,u),a<n?window.requestAnimationFrame(t):o(e)}()}function Tt(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),i=t.offsetHeight/3;o.bottom+i>n.bottom?At(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i<n.top&&At(e,Math.max(t.offsetTop-i,0))}function Dt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var kt=!1,zt={get passive(){return kt=!0}},Pt="undefined"!=typeof window?window:{};Pt.addEventListener&&Pt.removeEventListener&&(Pt.addEventListener("p",Ct,zt),Pt.removeEventListener("p",Ct,!1));var Rt=kt;function Vt(e){return null!=e}function Ft(e,t,n){return e?t:n}var Zt=["children","innerProps"],Yt=["children","innerProps"];var Ht,Bt,Wt,Gt=function(e){return"auto"===e?"bottom":e},Ut=(0,l.createContext)(null),Qt=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,r=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=((0,l.useContext)(Ut)||{}).setPortalPlacement,c=(0,l.useRef)(null),d=I((0,l.useState)(o),2),f=d[0],p=d[1],g=I((0,l.useState)(null),2),m=g[0],v=g[1],b=s.spacing.controlHeight;return yt((function(){var e=c.current;if(e){var t="fixed"===r,s=function(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,i=e.placement,r=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c,d=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,g=f.height,m=f.top,h=n.offsetParent.getBoundingClientRect().top,v=a||Ot(c=u)?window.innerHeight:c.clientHeight,b=Lt(u),I=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),M=h-y,C=v-m,w=M+b,N=d-b-m,x=p-v+b+I,S=b+m-y,j=160;switch(i){case"auto":case"bottom":if(C>=g)return{placement:"bottom",maxHeight:t};if(N>=g&&!a)return r&&Et(u,x,j),{placement:"bottom",maxHeight:t};if(!a&&N>=o||a&&C>=o)return r&&Et(u,x,j),{placement:"bottom",maxHeight:a?C-I:N-I};if("auto"===i||a){var O=t,L=a?M:w;return L>=o&&(O=Math.min(L-I-s,t)),{placement:"top",maxHeight:O}}if("bottom"===i)return r&&At(u,x),{placement:"bottom",maxHeight:t};break;case"top":if(M>=g)return{placement:"top",maxHeight:t};if(w>=g&&!a)return r&&Et(u,S,j),{placement:"top",maxHeight:t};if(!a&&w>=o||a&&M>=o){var A=t;return(!a&&w>=o||a&&M>=o)&&(A=a?M-y:w-y),r&&Et(u,S,j),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});p(s.maxHeight),v(s.placement),null==u||u(s.placement)}}),[o,i,r,a,n,u,b]),t({ref:c,placerProps:h(h({},e),{},{placement:m||Gt(i),maxHeight:f})})},_t=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return h({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Xt=_t,$t=_t,Jt=["size"],Kt=["innerProps","isRtl","size"],qt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},en=function(e){var t=e.size,n=y(e,Jt);return $e("svg",C({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:qt},n))},tn=function(e){return $e(en,C({size:20},e),$e("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"}))},nn=function(e){return $e(en,C({size:20},e),$e("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"}))},on=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return h({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*i,":hover":{color:n?r.neutral80:r.neutral40}})},rn=on,an=on,sn=function(){var e=Je.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||(Bt=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],Wt||(Wt=Bt.slice(0)),Ht=Object.freeze(Object.defineProperties(Bt,{raw:{value:Object.freeze(Wt)}})))),un=function(e){var t=e.delay,n=e.offset;return $e("span",{css:Je({animation:"".concat(sn," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},ln=["data"],cn=["innerRef","isDisabled","isHidden","inputClassName"],dn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},fn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":h({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},dn)},pn=function(e){return h({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},dn)},gn=function(e){var t=e.children,n=e.innerProps;return $e("div",n,t)},mn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return $e("div",C({},jt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||$e(tn,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return $e("div",C({ref:i},jt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),r),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return $e("div",C({},jt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||$e(nn,null))},DownChevron:nn,CrossIcon:tn,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,i=e.getClassNames,r=e.Heading,a=e.headingProps,s=e.innerProps,u=e.label,l=e.theme,c=e.selectProps;return $e("div",C({},jt(e,"group",{group:!0}),s),$e(r,C({},a,{selectProps:c,theme:l,getStyles:o,getClassNames:i,cx:n}),u),$e("div",null,t))},GroupHeading:function(e){var t=St(e);t.data;var n=y(t,ln);return $e("div",C({},jt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return $e("div",C({},jt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return $e("span",C({},t,jt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=St(e),i=o.innerRef,r=o.isDisabled,a=o.isHidden,s=o.inputClassName,u=y(o,cn);return $e("div",C({},jt(e,"input",{"input-container":!0}),{"data-value":n||""}),$e("input",C({className:t({input:!0},s),ref:i,style:pn(a),disabled:r},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,i=void 0===o?4:o,r=y(e,Kt);return $e("div",C({},jt(h(h({},r),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),$e(un,{delay:0,offset:n}),$e(un,{delay:160,offset:!0}),$e(un,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return $e("div",C({},jt(e,"menu",{menu:!0}),{ref:n},o),t)},MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,i=e.isMulti;return $e("div",C({},jt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,r=e.menuPlacement,a=e.menuPosition,s=(0,l.useRef)(null),u=(0,l.useRef)(null),c=I((0,l.useState)(Gt(r)),2),d=c[0],f=c[1],p=(0,l.useMemo)((function(){return{setPortalPlacement:f}}),[]),g=I((0,l.useState)(null),2),m=g[0],v=g[1],b=(0,l.useCallback)((function(){if(o){var e=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),t="fixed"===a?0:window.pageYOffset,n=e[d]+t;n===(null==m?void 0:m.offset)&&e.left===(null==m?void 0:m.rect.left)&&e.width===(null==m?void 0:m.rect.width)||v({offset:n,rect:e})}}),[o,a,d,null==m?void 0:m.offset,null==m?void 0:m.rect.left,null==m?void 0:m.rect.width]);yt((function(){b()}),[b]);var y=(0,l.useCallback)((function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&s.current&&(u.current=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,l=mt(e),c=i||r?[...l?gt(l):[],...gt(t)]:[];c.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)}));const d=l&&s?function(e,t){let n,o=null;const i=at(e);function r(){clearTimeout(n),o&&o.disconnect(),o=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),r();const{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-nt(c)+"px "+-nt(i.clientWidth-(l+d))+"px "+-nt(i.clientHeight-(c+f))+"px "+-nt(l)+"px",threshold:et(0,qe(1,u))||1};let g=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!g)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}g=!1}try{o=new IntersectionObserver(m,{...p,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(m,p)}o.observe(e)}(!0),r}(l,n):null;let f,p=-1,g=null;a&&(g=new ResizeObserver((e=>{let[o]=e;o&&o.target===l&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{g&&g.observe(t)}))),n()})),l&&!u&&g.observe(l),g.observe(t));let m=u?It(e):null;return u&&function t(){const o=It(e);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||n(),m=o,f=requestAnimationFrame(t)}(),n(),()=>{c.forEach((e=>{i&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)})),d&&d(),g&&g.disconnect(),g=null,u&&cancelAnimationFrame(f)}}(o,s.current,b,{elementResize:"ResizeObserver"in window}))}),[o,b]);yt((function(){y()}),[y]);var M=(0,l.useCallback)((function(e){s.current=e,y()}),[y]);if(!t&&"fixed"!==a||!m)return null;var w=$e("div",C({ref:M},jt(h(h({},e),{},{offset:m.offset,position:a,rect:m.rect}),"menuPortal",{"menu-portal":!0}),i),n);return $e(Ut.Provider,{value:p},t?(0,Ke.createPortal)(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,i=y(e,Yt);return $e("div",C({},jt(h(h({},i),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,i=y(e,Zt);return $e("div",C({},jt(h(h({},i),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,r=e.isDisabled,a=e.removeProps,s=e.selectProps,u=n.Container,l=n.Label,c=n.Remove;return $e(u,{data:o,innerProps:h(h({},jt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),i),selectProps:s},$e(l,{data:o,innerProps:h({},jt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),$e(c,{data:o,innerProps:h(h({},jt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:gn,MultiValueLabel:gn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return $e("div",C({role:"button"},n),t||$e(tn,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.innerRef,a=e.innerProps;return $e("div",C({},jt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":i}),{ref:r,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return $e("div",C({},jt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,i=e.isRtl;return $e("div",C({},jt(e,"container",{"--is-disabled":o,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return $e("div",C({},jt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,i=e.hasValue;return $e("div",C({},jt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),n),t)}},hn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function vn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((o=e[n])===(i=t[n])||hn(o)&&hn(i)))return!1;var o,i;return!0}for(var bn={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"},In=function(e){return $e("span",C({css:bn},e))},yn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.isDisabled,i=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", 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,o=void 0===n?"":n,i=e.labels,r=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(o,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,i=e.label,r=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,u=e.isSelected,l=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(r," focused, ").concat(l(a,n),".");if("menu"===t){var c=s?" disabled":"",d="".concat(u?"selected":"focused").concat(c);return"option ".concat(r," ").concat(d,", ").concat(l(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Mn=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,r=e.isFocused,a=e.selectValue,s=e.selectProps,u=e.id,c=s.ariaLiveMessages,d=s.getOptionLabel,f=s.inputValue,p=s.isMulti,g=s.isOptionDisabled,m=s.isSearchable,v=s.menuIsOpen,b=s.options,I=s.screenReaderStatus,y=s.tabSelectsValue,M=s["aria-label"],C=s["aria-live"],w=(0,l.useMemo)((function(){return h(h({},yn),c||{})}),[c]),N=(0,l.useMemo)((function(){var e,n="";if(t&&w.onChange){var o=t.option,i=t.options,r=t.removedValue,s=t.removedValues,u=t.value,l=r||o||(e=u,Array.isArray(e)?null:e),c=l?d(l):"",f=i||s||void 0,p=f?f.map(d):[],m=h({isDisabled:l&&g(l,a),label:c,labels:p},t);n=w.onChange(m)}return n}),[t,w,g,a,d]),x=(0,l.useMemo)((function(){var e="",t=n||o,r=!!(n&&a&&a.includes(n));if(t&&w.onFocus){var s={focused:t,label:d(t),isDisabled:g(t,a),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:a};e=w.onFocus(s)}return e}),[n,o,d,g,w,i,a]),S=(0,l.useMemo)((function(){var e="";if(v&&b.length&&w.onFilter){var t=I({count:i.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e}),[i,f,v,w,b,I]),j=(0,l.useMemo)((function(){var e="";if(w.guidance){var t=o?"value":v?"menu":"input";e=w.guidance({"aria-label":M,context:t,isDisabled:n&&g(n,a),isMulti:p,isSearchable:m,tabSelectsValue:y})}return e}),[M,n,o,p,g,m,v,w,a,y]),O="".concat(x," ").concat(S," ").concat(j),L=$e(l.Fragment,null,$e("span",{id:"aria-selection"},N),$e("span",{id:"aria-context"},O)),A="initial-input-focus"===(null==t?void 0:t.action);return $e(l.Fragment,null,$e(In,{id:u},A&&L),$e(In,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text"},r&&!A&&L))},Cn=[{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źẑżžẓẕƶȥɀⱬꝣ"}],wn=new RegExp("["+Cn.map((function(e){return e.letters})).join("")+"]","g"),Nn={},xn=0;xn<Cn.length;xn++)for(var Sn=Cn[xn],jn=0;jn<Sn.letters.length;jn++)Nn[Sn.letters[jn]]=Sn.base;var On=function(e){return e.replace(wn,(function(e){return Nn[e]}))},Ln=function(e,t){void 0===t&&(t=vn);var n=null;function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var r=e.apply(this,o);return n={lastResult:r,lastArgs:o,lastThis:this},r}return o.clear=function(){n=null},o}(On),An=function(e){return e.replace(/^\s+|\s+$/g,"")},En=function(e){return"".concat(e.label," ").concat(e.value)},Tn=["innerRef"];function Dn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=Object.entries(e).filter((function(e){var t=I(e,1)[0];return!n.includes(t)}));return i.reduce((function(e,t){var n=I(t,2),o=n[0],i=n[1];return e[o]=i,e}),{})}(y(e,Tn),"onExited","in","enter","exit","appear");return $e("input",C({ref:t},n,{css:Je({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var kn=["boxSizing","height","overflow","paddingRight","position"],zn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Pn(e){e.preventDefault()}function Rn(e){e.stopPropagation()}function Vn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Fn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Zn=!("undefined"==typeof window||!window.document||!window.document.createElement),Yn=0,Hn={capture:!1,passive:!1},Bn=function(){return document.activeElement&&document.activeElement.blur()},Wn={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Gn(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,r=e.onTopLeave,a=(0,l.useRef)(!1),s=(0,l.useRef)(!1),u=(0,l.useRef)(0),c=(0,l.useRef)(null),d=(0,l.useCallback)((function(e,t){if(null!==c.current){var u=c.current,l=u.scrollTop,d=u.scrollHeight,f=u.clientHeight,p=c.current,g=t>0,m=d-f-l,h=!1;m>t&&a.current&&(o&&o(e),a.current=!1),g&&s.current&&(r&&r(e),s.current=!1),g&&t>m?(n&&!a.current&&n(e),p.scrollTop=d,h=!0,a.current=!0):!g&&-t>l&&(i&&!s.current&&i(e),p.scrollTop=0,h=!0,s.current=!0),h&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,i,r]),f=(0,l.useCallback)((function(e){d(e,e.deltaY)}),[d]),p=(0,l.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),g=(0,l.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,l.useCallback)((function(e){if(e){var t=!!Rt&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",g,t)}}),[g,p,f]),h=(0,l.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",g,!1))}),[g,p,f]);return(0,l.useEffect)((function(){if(t){var e=c.current;return m(e),function(){h(e)}}}),[t,m,h]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=(0,l.useRef)({}),r=(0,l.useRef)(null),a=(0,l.useCallback)((function(e){if(Zn){var t=document.body,n=t&&t.style;if(o&&kn.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&Yn<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(zn).forEach((function(e){var t=zn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Fn()&&(t.addEventListener("touchmove",Pn,Hn),e&&(e.addEventListener("touchstart",Vn,Hn),e.addEventListener("touchmove",Rn,Hn))),Yn+=1}}),[o]),s=(0,l.useCallback)((function(e){if(Zn){var t=document.body,n=t&&t.style;Yn=Math.max(Yn-1,0),o&&Yn<1&&kn.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&Fn()&&(t.removeEventListener("touchmove",Pn,Hn),e&&(e.removeEventListener("touchstart",Vn,Hn),e.removeEventListener("touchmove",Rn,Hn)))}}),[o]);return(0,l.useEffect)((function(){if(t){var e=r.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){r.current=e}}({isEnabled:n});return $e(l.Fragment,null,n&&$e("div",{onClick:Bn,css:Wn}),t((function(e){i(e),r(e)})))}var Un={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Qn=function(e){var t=e.name,n=e.onFocus;return $e("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Un,value:"",onChange:function(){}})},Xn={clearIndicator:an,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,r=i.colors,a=i.borderRadius;return h({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:o?r.primary:r.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:o?r.primary:r.neutral30}})},dropdownIndicator:rn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return h({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return h({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,r=i.spacing,a=i.colors;return h(h({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},fn),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,i=e.theme,r=i.colors,a=i.spacing.baseUnit;return h({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*a})},loadingMessage:$t,menu:function(e,t){var n,o=e.placement,i=e.theme,r=i.borderRadius,a=i.spacing,s=i.colors;return h((g(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),g(n,"position","absolute"),g(n,"width","100%"),g(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return h({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors;return h({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,r=e.cropWithEllipsis;return h({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors,a=e.isFocused;return h({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?r.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:Xt,option:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.theme,a=r.spacing,s=r.colors;return h({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return h({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,r=o.colors;return h({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,r=e.selectProps.controlShouldRenderValue;return h({alignItems:"center",display:o&&i&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},$n={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}},Jn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Dt(),captureMenuScroll:!Dt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=h({ignoreCase:!0,ignoreAccents:!0,stringify:En,trim:!0,matchFrom:"any"},undefined),o=n.ignoreCase,i=n.ignoreAccents,r=n.stringify,a=n.trim,s=n.matchFrom,u=a?An(t):t,l=a?An(r(e)):r(e);return o&&(u=u.toLowerCase(),l=l.toLowerCase()),i&&(u=Ln(u),l=On(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-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,unstyled:!1};function Kn(e,t,n,o){return{type:"option",data:t,isDisabled:io(e,t,n),isSelected:ro(e,t,n),label:no(e,t),value:oo(e,t),index:o}}function qn(e,t){return e.options.map((function(n,o){if("options"in n){var i=n.options.map((function(n,o){return Kn(e,n,t,o)})).filter((function(t){return to(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:o}:void 0}var r=Kn(e,n,t,o);return to(e,r)?r:void 0})).filter(Vt)}function eo(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,j(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function to(e,t){var n=e.inputValue,o=void 0===n?"":n,i=t.data,r=t.isSelected,a=t.label,s=t.value;return(!so(e)||!r)&&ao(e,{label:a,value:s,data:i},o)}var no=function(e,t){return e.getOptionLabel(t)},oo=function(e,t){return e.getOptionValue(t)};function io(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ro(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=oo(e,t);return n.some((function(t){return oo(e,t)===o}))}function ao(e,t,n){return!e.filterOption||e.filterOption(t,n)}var so=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},uo=1,lo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(r,e);var t,n,o,i=S(r);function r(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=i.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var o=t.props,i=o.onChange,r=o.name;n.name=r,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,o){var i=t.props,r=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),r&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:o})},t.selectOption=function(e){var n=t.props,o=n.blurInputOnSelect,i=n.isMulti,r=n.name,a=t.state.selectValue,s=i&&t.isOptionSelected(e,a),u=t.isOptionDisabled(e,a);if(s){var l=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==l})),"deselect-option",e)}else{if(u)return void t.ariaOnChange(e,{action:"select-option",option:e,name:r});i?t.setValue([].concat(j(a),[e]),"select-option",e):t.setValue(e,"select-option")}o&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,o=t.state.selectValue,i=t.getOptionValue(e),r=o.filter((function(e){return t.getOptionValue(e)!==i})),a=Ft(n,r,r[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Ft(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,o=n[n.length-1],i=n.slice(0,n.length-1),r=Ft(e,i,i[0]||null);t.onChange(r,{action:"pop-value",removedValue:o})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return Nt.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return no(t.props,e)},t.getOptionValue=function(e){return oo(t.props,e)},t.getStyles=function(e,n){var o=t.props.unstyled,i=Xn[e](n,o);i.boxSizing="border-box";var r=t.props.styles[e];return r?r(i,n):i},t.getClassNames=function(e,n){var o,i;return null===(o=(i=t.props.classNames)[e])||void 0===o?void 0:o.call(i,n)},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,h(h({},mn),e.components);var e},t.buildCategorizedOptions=function(){return qn(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return eo(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:h({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,o=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ot(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,o=n&&n.item(0);o&&(t.initialTouchX=o.clientX,t.initialTouchY=o.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,o=n&&n.item(0);if(o){var i=Math.abs(o.clientX-t.initialTouchX),r=Math.abs(o.clientY-t.initialTouchY);t.userIsDragging=i>5||r>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,o=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(o,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return so(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,o=n.isMulti,i=n.backspaceRemovesValue,r=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,u=n.isDisabled,l=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,p=t.state,g=p.focusedOption,m=p.focusedValue,h=p.selectValue;if(!(u||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||a)return;t.focusValue("previous");break;case"ArrowRight":if(!o||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!i)return;o?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!d||!g||f&&t.isOptionSelected(g,h))return;t.selectOption(g);break;case"Enter":if(229===e.keyCode)break;if(l){if(!g)return;if(t.isComposing)return;t.selectOption(g);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&r&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!g)return;t.selectOption(g);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++uo),t.state.selectValue=xt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.buildFocusableOptions(),o=n.indexOf(t.state.selectValue[0]);t.state.focusedOption=n[o]}return t}return t=r,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(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Tt(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&o&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Tt(this.menuListRef,this.focusedOptionRef),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",prevInputValue:this.props.inputValue}),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,o=n.selectValue,i=n.isFocused,r=this.buildFocusableOptions(),a="first"===e?0:r.length-1;if(!this.props.isMulti){var s=r.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(o);o||(i=-1);var r=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?r:i-1;break;case"next":i>-1&&i<r&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var i=0,r=o.indexOf(n);n||(r=-1),"up"===e?i=r>0?r-1:o.length-1:"down"===e?i=(r+1)%o.length:"pageup"===e?(i=r-t)<0&&(i=0):"pagedown"===e?(i=r+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($n):h(h({},$n),this.props.theme):$n}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,i=this.getValue,r=this.selectOption,a=this.setValue,s=this.props,u=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:i,hasValue:this.hasValue(),isMulti:u,isRtl:l,options:c,selectOption:r,selectProps:s,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 io(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ro(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ao(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}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,o=e.inputId,i=e.inputValue,r=e.tabIndex,a=e.form,s=e.menuIsOpen,u=e.required,c=this.getComponents().Input,d=this.state,f=d.inputIsHidden,p=d.ariaSelection,g=this.commonProps,m=o||this.getElementId("input"),v=h(h(h({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(c,C({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:r,form:a,type:"text",value:i},v)):l.createElement(Dn,C({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ct,onFocus:this.onInputFocus,disabled:t,tabIndex:r,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,r=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,c=this.props,d=c.controlShouldRenderValue,f=c.isDisabled,p=c.isMulti,g=c.inputValue,m=c.placeholder,h=this.state,v=h.selectValue,b=h.focusedValue,I=h.isFocused;if(!this.hasValue()||!d)return g?null:l.createElement(s,C({},u,{key:"placeholder",isDisabled:f,isFocused:I,innerProps:{id:this.getElementId("placeholder")}}),m);if(p)return v.map((function(t,a){var s=t===b,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,C({},u,{components:{Container:o,Label:i,Remove:r},isFocused:s,isDisabled:f,key:c,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(g)return null;var y=v[0];return l.createElement(a,C({},u,{data:y,isDisabled:f}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,C({},t,{innerProps:a,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,r=this.state.isFocused;return e&&i?l.createElement(e,C({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:r})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,r=this.state.isFocused;return l.createElement(n,C({},o,{isDisabled:i,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,C({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,r=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,d=this.commonProps,f=this.state.focusedOption,p=this.props,g=p.captureMenuScroll,m=p.inputValue,h=p.isLoading,v=p.loadingMessage,b=p.minMenuHeight,I=p.maxMenuHeight,y=p.menuIsOpen,M=p.menuPlacement,w=p.menuPosition,N=p.menuPortalTarget,x=p.menuShouldBlockScroll,S=p.menuShouldScrollIntoView,j=p.noOptionsMessage,O=p.onMenuScrollToTop,L=p.onMenuScrollToBottom;if(!y)return null;var A,E=function(t,n){var o=t.type,i=t.data,r=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,p=f===i,g=r?void 0:function(){return e.onOptionHover(i)},m=r?void 0:function(){return e.selectOption(i)},h="".concat(e.getElementId("option"),"-").concat(n),v={id:h,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1};return l.createElement(c,C({},d,{innerProps:v,data:i,isDisabled:r,isSelected:a,key:h,label:s,type:o,value:u,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())A=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,r=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return l.createElement(n,C({},d,{key:s,data:i,options:r,Heading:o,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return E(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return E(t,"".concat(t.index))}));else if(h){var T=v({inputValue:m});if(null===T)return null;A=l.createElement(s,d,T)}else{var D=j({inputValue:m});if(null===D)return null;A=l.createElement(u,d,D)}var k={minMenuHeight:b,maxMenuHeight:I,menuPlacement:M,menuPosition:w,menuShouldScrollIntoView:S},z=l.createElement(Qt,C({},d,k),(function(t){var n=t.ref,o=t.placerProps,a=o.placement,s=o.maxHeight;return l.createElement(i,C({},d,k,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:h,placement:a}),l.createElement(Gn,{captureEnabled:g,onTopArrive:O,onBottomArrive:L,lockEnabled:x},(function(t){return l.createElement(r,C({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:h,maxHeight:s,focusedOption:f}),A)})))}));return N||"fixed"===w?l.createElement(a,C({},d,{appendTo:N,controlElement:this.controlRef,menuPlacement:M,menuPosition:w}),z):z}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,r=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!o)return l.createElement(Qn,{name:r,onFocus:this.onValueInputFocus});if(r&&!o){if(i){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return l.createElement("input",{name:r,type:"hidden",value:u})}var c=s.length>0?s.map((function(t,n){return l.createElement("input",{key:"i-".concat(n),name:r,type:"hidden",value:e.getOptionValue(t)})})):l.createElement("input",{name:r,type:"hidden",value:""});return l.createElement("div",null,c)}var d=s[0]?this.getOptionValue(s[0]):"";return l.createElement("input",{name:r,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,r=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return l.createElement(Mn,C({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:r,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,r=this.props,a=r.className,s=r.id,u=r.isDisabled,c=r.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return l.createElement(o,C({},f,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),l.createElement(t,C({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:c}),l.createElement(i,C({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,C({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,u=e.options,l=e.value,c=e.menuIsOpen,d=e.inputValue,f=e.isMulti,p=xt(l),g={};if(n&&(l!==n.value||u!==n.options||c!==n.menuIsOpen||d!==n.inputValue)){var m=c?function(e,t){return eo(qn(e,t))}(e,p):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,p):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,m);g={selectValue:p,focusedOption:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},y=r,M=a&&s;return a&&!M&&(y={value:Ft(f,p,p[0]||null),options:p,action:"initial-input-focus"},M=!s),"initial-input-focus"===(null==r?void 0:r.action)&&(y=null),h(h(h({},g),I),{},{prevProps:e,ariaSelection:y,prevWasFocused:M})}}],n&&w(t.prototype,n),o&&w(t,o),Object.defineProperty(t,"prototype",{writable:!1}),r}(l.Component);lo.defaultProps=Jn;var co=(0,l.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,r=e.defaultValue,a=void 0===r?null:r,s=e.inputValue,u=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,g=e.value,m=y(e,M),v=I((0,l.useState)(void 0!==s?s:n),2),b=v[0],C=v[1],w=I((0,l.useState)(void 0!==u?u:i),2),N=w[0],x=w[1],S=I((0,l.useState)(void 0!==g?g:a),2),j=S[0],O=S[1],L=(0,l.useCallback)((function(e,t){"function"==typeof c&&c(e,t),O(e)}),[c]),A=(0,l.useCallback)((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),C(void 0!==n?n:e)}),[d]),E=(0,l.useCallback)((function(){"function"==typeof p&&p(),x(!0)}),[p]),T=(0,l.useCallback)((function(){"function"==typeof f&&f(),x(!1)}),[f]),D=void 0!==s?s:b,k=void 0!==u?u:N,z=void 0!==g?g:j;return h(h({},m),{},{inputValue:D,menuIsOpen:k,onChange:L,onInputChange:A,onMenuClose:T,onMenuOpen:E,value:z})}(e);return l.createElement(lo,C({ref:t},n))})),fo=co,po=n(5697),go=n.n(po);function mo(){return mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},mo.apply(this,arguments)}function ho(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}var vo,bo,Io=(vo=function(e){!function(t){if("undefined"!=typeof window){var n,o=0,i=!1,r=!1,a=7,s="[iFrameSizer]",u=s.length,l=null,c=window.requestAnimationFrame,d={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},f={},p=null,g={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){C("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},m={};window.jQuery&&((n=window.jQuery).fn?n.fn.iFrameResize||(n.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){P(n,e)})).end()}):M("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof t&&t.amd?t([],Z):e.exports=Z(),window.iFrameResize=window.iFrameResize||Z()}function h(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function v(e,t,n){e.addEventListener(t,n,!1)}function b(e,t,n){e.removeEventListener(t,n,!1)}function I(e){return f[e]?f[e].log:i}function y(e,t){w("log",e,t,I(e))}function M(e,t){w("info",e,t,I(e))}function C(e,t){w("warn",e,t,!0)}function w(e,t,n,o){!0===o&&"object"==typeof window.console&&console[e](function(e){return s+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}(t),n)}function N(e){function t(){n("Height"),n("Width"),D((function(){T(V),L(F),g("onResized",V)}),V,"init")}function n(e){var t=Number(f[F]["max"+e]),n=Number(f[F]["min"+e]),o=e.toLowerCase(),i=Number(V[o]);y(F,"Checking "+o+" is in range "+n+"-"+t),i<n&&(i=n,y(F,"Set "+o+" to min value")),i>t&&(i=t,y(F,"Set "+o+" to max value")),V[o]=""+i}function o(e){return R.substr(R.indexOf(":")+a+e)}function i(e,t){var n,o;n=function(){var n,o;k("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),o=V.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:o.height,iframeWidth:o.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(o.top-n.top,10),offsetLeft:parseInt(o.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},m[o=t]||(m[o]=setTimeout((function(){m[o]=null,n()}),32))}function r(e){var t=e.getBoundingClientRect();return O(F),{x:Math.floor(Number(t.left)+Number(l.x)),y:Math.floor(Number(t.top)+Number(l.y))}}function c(e){var t=e?r(V.iframe):{x:0,y:0},n={x:Number(V.width)+t.x,y:Number(V.height)+t.y};y(F,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):C(F,"Unable to scroll to requested position, window.parentIFrame not found"):(l=n,d(),y(F,"--"))}function d(){!1!==g("onScroll",l)?L(F):A()}function p(e){g(e,{iframe:V.iframe,screenX:V.width,screenY:V.height,type:V.type})}function g(e,t){return x(F,e,t)}var h,I,w,N,S,P,R=e.data,V={},F=null;"[iFrameResizerChild]Ready"===R?function(){for(var e in f)k("iFrame requested init",z(e),f[e].iframe,e)}():s===(""+R).substr(0,u)&&R.substr(u).split(":")[0]in f?(N=(w=R.substr(u).split(":"))[1]?parseInt(w[1],10):0,S=f[w[0]]&&f[w[0]].iframe,P=getComputedStyle(S),V={iframe:S,id:w[0],height:N+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(P)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(P),width:w[2],type:w[3]},F=V.id,f[F]&&(f[F].loaded=!0),(I=V.type in{true:1,false:1,undefined:1})&&y(F,"Ignoring init message from meta parent page"),!I&&function(e){var t=!0;return f[e]||(t=!1,C(V.type+" No settings for "+e+". Message was: "+R)),t}(F)&&(y(F,"Received: "+R),h=!0,null===V.iframe&&(C(F,"IFrame ("+V.id+") not found"),h=!1),h&&function(){var t,n=e.origin,o=f[F]&&f[F].checkOrigin;if(o&&""+n!="null"&&!(o.constructor===Array?function(){var e=0,t=!1;for(y(F,"Checking connection is from allowed list of origins: "+o);e<o.length;e++)if(o[e]===n){t=!0;break}return t}():(t=f[F]&&f[F].remoteHost,y(F,"Checking connection is from: "+t),n===t)))throw new Error("Unexpected message received from: "+n+" for "+V.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(f[F]&&f[F].firstRun&&f[F]&&(f[F].firstRun=!1),V.type){case"close":j(V.iframe);break;case"message":m=o(6),y(F,"onMessage passed: {iframe: "+V.iframe.id+", message: "+m+"}"),g("onMessage",{iframe:V.iframe,message:JSON.parse(m)}),y(F,"--");break;case"mouseenter":p("onMouseEnter");break;case"mouseleave":p("onMouseLeave");break;case"autoResize":f[F].autoResize=JSON.parse(o(9));break;case"scrollTo":c(!1);break;case"scrollToOffset":c(!0);break;case"pageInfo":i(f[F]&&f[F].iframe,F),function(){function e(e,o){function r(){f[n]?i(f[n].iframe,n):t()}["scroll","resize"].forEach((function(t){y(n,e+t+" listener for sendPageInfo"),o(window,t,r)}))}function t(){e("Remove ",b)}var n=F;e("Add ",v),f[n]&&(f[n].stopPageInfo=t)}();break;case"pageInfoStop":f[F]&&f[F].stopPageInfo&&(f[F].stopPageInfo(),delete f[F].stopPageInfo);break;case"inPageLink":e=o(9),a=e.split("#")[1]||"",s=decodeURIComponent(a),(u=document.getElementById(s)||document.getElementsByName(s)[0])?(n=r(u),y(F,"Moving to in page link (#"+a+") at x: "+n.x+" y: "+n.y),l={x:n.x,y:n.y},d(),y(F,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(a):y(F,"In page link #"+a+" not found and window.parentIFrame not found"):y(F,"In page link #"+a+" not found");break;case"reset":E(V);break;case"init":t(),g("onInit",V.iframe);break;default:t()}var e,n,a,s,u,m}())):M(F,"Ignored: "+R)}function x(e,t,n){var o=null,i=null;if(f[e]){if("function"!=typeof(o=f[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");i=o(n)}return i}function S(e){var t=e.id;delete f[t]}function j(e){var t=e.id;if(!1!==x(t,"onClose",t)){y(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){C(e)}x(t,"onClosed",t),y(t,"--"),S(e)}else y(t,"Close iframe cancelled by onClose event")}function O(e){null===l&&y(e,"Get page position: "+(l={x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop}).x+","+l.y)}function L(e){null!==l&&(window.scrollTo(l.x,l.y),y(e,"Set page position: "+l.x+","+l.y),A())}function A(){l=null}function E(e){y(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),O(e.id),D((function(){T(e),k("reset","reset",e.iframe,e.id)}),e,"reset")}function T(e){function t(t){r||"0"!==e[t]||(r=!0,y(o,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(f).forEach((function(e){!function(e){function t(t){return"0px"===(f[e]&&f[e].iframe.style[t])}f[e]&&null!==f[e].iframe.offsetParent&&(t("height")||t("width"))&&k("Visibility change","resize",f[e].iframe,e)}(e)}))}function t(t){y("window","Mutation observed: "+t[0].target+" "+t[0].type),R(e,16)}var n,o=h();o&&(n=document.querySelector("body"),new o(t).observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}function n(n){!function(t){e.id?(e.iframe.style[t]=e[t]+"px",y(e.id,"IFrame ("+o+") "+t+" set to "+e[t]+"px")):y("undefined","messageData id not set")}(n),t(n)}var o=e.iframe.id;f[o]&&(f[o].sizeHeight&&n("height"),f[o].sizeWidth&&n("width"))}function D(e,t,n){n!==t.type&&c&&!window.jasmine?(y(t.id,"Requesting animation frame"),c(e)):e()}function k(e,t,n,o,i){var r,a=!1;o=o||n.id,f[o]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(r=f[o]&&f[o].targetOrigin,y(o,"["+e+"] Sending msg to iframe["+o+"] ("+t+") targetOrigin: "+r),n.contentWindow.postMessage(s+t,r)):C(o,"["+e+"] IFrame("+o+") not found"),i&&f[o]&&f[o].warningTimeout&&(f[o].msgTimeout=setTimeout((function(){!f[o]||f[o].loaded||a||(a=!0,C(o,"IFrame has not responded within "+f[o].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),f[o].warningTimeout)))}function z(e){return e+":"+f[e].bodyMarginV1+":"+f[e].sizeWidth+":"+f[e].log+":"+f[e].interval+":"+f[e].enablePublicMethods+":"+f[e].autoResize+":"+f[e].bodyMargin+":"+f[e].heightCalculationMethod+":"+f[e].bodyBackground+":"+f[e].bodyPadding+":"+f[e].tolerance+":"+f[e].inPageLinks+":"+f[e].resizeFrom+":"+f[e].widthCalculationMethod}function P(e,n){function r(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],C(u,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var a,s,u=function(t){var r;return""===t&&(e.id=(r=n&&n.id||g.id+o++,null!==document.getElementById(r)&&(r+=o++),t=r),i=(n||{}).log,y(t,"Added missing iframe ID: "+t+" ("+e.src+")")),t}(e.id);u in f&&"iFrameResizer"in e?C(u,"Ignored iFrame, already setup."):(function(t){var n;t=t||{},f[u]={firstRun:!0,iframe:e,remoteHost:e.src&&e.src.split("/").slice(0,3).join("/")},function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(r,t),function(e){for(var t in g)Object.prototype.hasOwnProperty.call(g,t)&&(f[u][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:g[t])}(t),f[u]&&(f[u].targetOrigin=!0===f[u].checkOrigin?""===(n=f[u].remoteHost)||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n:"*")}(n),function(){switch(y(u,"IFrame scrolling "+(f[u]&&f[u].scrolling?"enabled":"disabled")+" for "+u),e.style.overflow=!1===(f[u]&&f[u].scrolling)?"hidden":"auto",f[u]&&f[u].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=f[u]?f[u].scrolling:"no"}}(),function(){function t(t){1/0!==f[u][t]&&0!==f[u][t]&&(e.style[t]=f[u][t]+"px",y(u,"Set "+t+" = "+f[u][t]+"px"))}function n(e){if(f[u]["min"+e]>f[u]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(f[u]&&f[u].bodyMargin)&&"0"!==(f[u]&&f[u].bodyMargin)||(f[u].bodyMarginV1=f[u].bodyMargin,f[u].bodyMargin=f[u].bodyMargin+"px"),a=z(u),(s=h())&&function(t){e.parentNode&&new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&j(e)}))}))})).observe(e.parentNode,{childList:!0})}(s),v(e,"load",(function(){var n,o;k("iFrame.onload",a,e,t,!0),n=f[u]&&f[u].firstRun,o=f[u]&&f[u].heightCalculationMethod in d,!n&&o&&E({iframe:e,height:0,width:0,type:"init"})})),k("init",a,e,t,!0),f[u]&&(f[u].iframe.iFrameResizer={close:j.bind(null,f[u].iframe),removeListeners:S.bind(null,f[u].iframe),resize:k.bind(null,"Window resize","resize",f[u].iframe),moveToAnchor:function(e){k("Move to anchor","moveToAnchor:"+e,f[u].iframe,u)},sendMessage:function(e){k("Send Message","message:"+(e=JSON.stringify(e)),f[u].iframe,u)}}))}function R(e,t){null===p&&(p=setTimeout((function(){p=null,e()}),t))}function V(){"hidden"!==document.visibilityState&&(y("document","Trigger event: Visiblity change"),R((function(){F("Tab Visable","resize")}),16))}function F(e,t){Object.keys(f).forEach((function(n){(function(e){return f[e]&&"parent"===f[e].resizeFrom&&f[e].autoResize&&!f[e].firstRun})(n)&&k(e,t,f[n].iframe,n)}))}function Z(){function e(e,t){t&&(function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}(),P(t,e),n.push(t))}var n;return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!c;e+=1)c=window[t[e]+"RequestAnimationFrame"];c?c=c.bind(window):y("setup","RequestAnimationFrame not supported")}(),v(window,"message",N),v(window,"resize",(function(){y("window","Trigger event: resize"),R((function(){F("Window resize","resize")}),16)})),v(document,"visibilitychange",V),v(document,"-webkit-visibilitychange",V),function(o,i){switch(n=[],function(e){e&&e.enablePublicMethods&&C("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(o),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(t,o));break;case"object":e(o,i);break;default:throw new TypeError("Unexpected data type ("+typeof i+")")}return n}}}()},vo(bo={exports:{}}),bo.exports),yo=function(){},Mo=function(e){var t=e.title,n=e.forwardRef,o=ho(e,["title","forwardRef"]),i=function(e){return e.autoResize,e.bodyBackground,e.bodyMargin,e.bodyPadding,e.checkOrigin,e.inPageLinks,e.heightCalculationMethod,e.interval,e.log,e.maxHeight,e.maxWidth,e.minHeight,e.minWidth,e.resizeFrom,e.scrolling,e.sizeHeight,e.sizeWidth,e.warningTimeout,e.tolerance,e.widthCalculationMethod,e.onClosed,e.onInit,e.onMessage,e.onMouseEnter,e.onMouseLeave,e.onResized,ho(e,["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onMouseEnter","onMouseLeave","onResized"])}(o),r=(0,l.useRef)(null),a=function(){return yo(!r.current,"[iframeSizerReact]["+(r&&r.current&&r.current.id)+"] Close event ignored, to remove the iframe update your React component"),!r.current};return(0,l.useEffect)((function(){var e=r.current;return Io(mo({},o,{onClose:a}),e),function(){return e.iFrameResizer&&e.iFrameResizer.removeListeners()}}),[]),(0,l.useImperativeHandle)(n,(function(){return{resize:function(){return r.current.iFrameResizer.resize()},moveToAnchor:function(e){return r.current.iFrameResizer.moveToAnchor(e)},sendMessage:function(e,t){r.current.iFrameResizer.sendMessage(e,t)}}})),c().createElement("iframe",mo({title:t},i,{ref:r}))};Mo.defaultProps={title:"iframe"},Mo.propTypes={title:go().string};var Co=Mo;function wo({enableIframe:e,formId:t,openFormButton:n}){const[i,r]=(0,o.useState)(!1),a=()=>{r(!i)};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("button",{onClick:a,className:"givewp-form-block__display-button"},n),i&&(0,Ke.createPortal)((0,o.createElement)("dialog",{className:"givewp-donation-form-modal",open:!0},(0,o.createElement)("div",{className:"givewp-donation-form-modal__close",onClick:a},(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},(0,o.createElement)("path",{d:"M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z",fill:"black"}))),(0,o.createElement)(Co,{src:`/?givewp-route=donation-form-view&form-id=${t}`,checkOrigin:!1,style:{width:"1px",minWidth:"100%",border:"none",overflowY:"scroll",background:"none !important",pointerEvents:e}})),document.body))}function No({enableIframe:e,formId:t,openFormButton:n}){const[i,r]=(0,o.useState)(!1);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("button",{onClick:()=>{r(!i)},className:"givewp-form-block__display-button"},n),i&&(0,o.createElement)(Co,{src:`/?givewp-route=donation-form-view&form-id=${t}`,checkOrigin:!1,style:{width:"1px",minWidth:"100%",border:"0",pointerEvents:e}}))}function xo({clientId:e,formId:t,formFormat:n,openFormButton:i}){const r=(0,s.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),a=r?.clientId===e?"auto":"none",u="reveal"===n;return"modal"===n?(0,o.createElement)(wo,{enableIframe:a,formId:t,openFormButton:i}):u?(0,o.createElement)(No,{enableIframe:a,formId:t,openFormButton:i}):(0,o.createElement)(Co,{src:`/?givewp-route=donation-form-view&form-id=${t}`,checkOrigin:!1,style:{width:"1px",minWidth:"100%",border:"0",pointerEvents:a}})}const So={white:"#fff",grey:"#555d66",give:"#66bb6a"};(0,t.registerBlockType)(e,{icon:function({color:e="grey",size:t="24px",...n}){return(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 157.2 157.2",width:t,height:t,...n},(0,o.createElement)("circle",{fill:So[e],cx:"78.6",cy:"78.6",r:"78.6"}),(0,o.createElement)("path",{fill:"#fff",d:"M89.8 84.2c.3.7 1 1.3 1 1.3 13.9 1.7 33.6-.2 48.6-2.2-8.6 18.5-24 30.8-38.1 30.8-26.5 0-46.9-32.1-46.9-32.1 8.2-7.2 21.7-30.8 41.2-30.8s28 10.7 28 10.7l2.2-3.5s-9.1-31.9-34.9-31.9-53.2 42.3-69.2 52c0 0 22 52.2 70.2 52.2 40.4 0 50.6-38.6 52.5-48.2 5.4-.8 9.9-1.6 12.8-2.1 1-2.2 2.1-6.1 1.3-11.3-16.1 6.2-40.5 13.2-69.1 13.2-.1 0 0 1 .4 1.9z"}))},edit:function({clientId:e,attributes:t,setAttributes:n}){const{formId:l,blockId:c,formFormat:f,openFormButton:p}=t,{formOptions:g,isResolving:m}=function(){const{forms:e,isResolving:t}=(0,s.useSelect)((e=>({forms:e("core").getEntityRecords("postType","give_forms")?.filter((({excerpt:e})=>"<p>[]</p>\n"===e.rendered)),isResolving:e("core/data").getIsResolving("core","getEntityRecords",["postType","give_forms"])})),[]);return{isResolving:t,formOptions:e&&e.length>0?e.map((({id:e,title:t})=>({label:(0,i.__)(t.rendered,"give"),value:String(e)}))):[]}}(),[h,v]=(0,o.useState)(!!l),b="reveal"===f||"modal"===f;(0,o.useEffect)((()=>{c||n({blockId:e})}),[]);const I=(0,o.useCallback)((()=>{if(!m&&g.length>0)return l&&g?.find((({value:e})=>e===l))}),[m,l,JSON.stringify(g)]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(r.InspectorControls,null,(0,o.createElement)(a.PanelBody,{title:(0,i.__)("Form Settings","give"),initialOpen:!0},(0,o.createElement)(a.PanelRow,null,m||0!==g.length?(0,o.createElement)(a.SelectControl,{label:(0,i.__)("Choose a donation form","give"),value:null!=l?l:"",options:[{value:"",label:(0,i.__)("Select...","give"),disabled:!0},...g],onChange:e=>{n({formId:e})}}):(0,o.createElement)("p",null,(0,i.__)("No forms were found using the GiveWP form builder.","give"))),(0,o.createElement)(a.PanelRow,null,(0,o.createElement)(a.SelectControl,{label:(0,i.__)("Form Format","give"),value:f,options:[{label:(0,i.__)("Full Form","give"),value:"full"},{label:(0,i.__)("Reveal","give"),value:"reveal"},{label:(0,i.__)("Modal","give"),value:"modal"}],onChange:e=>{n({formFormat:e})}})),b&&(0,o.createElement)(a.PanelRow,null,(0,o.createElement)(a.TextControl,{label:(0,i.__)("Open Form Button","give"),value:p,onChange:e=>{n({openFormButton:e})}})),(0,o.createElement)(a.PanelRow,null,l&&(0,o.createElement)(a.ExternalLink,{href:`/wp-admin/edit.php?post_type=give_forms&page=givewp-form-builder&donationFormID=${l}`},(0,i.__)("Edit donation form","give"))))),(0,o.createElement)("div",{...(0,r.useBlockProps)()},l&&h?(0,o.createElement)(xo,{clientId:e,formId:l,formFormat:f,openFormButton:p}):(0,o.createElement)("div",{className:"givewp-form-block--container"},(0,o.createElement)(d,null),(0,o.createElement)("div",{className:"givewp-form-block__select--container"},(0,o.createElement)("label",{htmlFor:"formId",className:"givewp-form-block__select--label"},(0,i.__)("Choose a donation form","give")),(0,o.createElement)(fo,{classNamePrefix:"givewp-form-block__select",name:"formId",inputId:"formId",value:I(),placeholder:m?(0,i.__)("Loading Donation Forms...","give"):(0,i.__)("Select...","give"),onChange:e=>{e&&n({formId:e.value})},noOptionsMessage:()=>(0,o.createElement)("p",null,(0,i.__)("No forms were found using the GiveWP form builder.","give")),options:g,loadingMessage:()=>(0,o.createElement)(o.Fragment,null,(0,i.__)("Loading Donation Forms...","give")),isLoading:m,theme:e=>({...e,colors:{...e.colors,primary:"#27ae60"}}),styles:{input:(e,t)=>({...e,height:"3rem"}),option:(e,t)=>({...e,paddingTop:"0.8rem",paddingBottom:"0.8rem",fontSize:"1rem"}),control:(e,t)=>({...e,fontSize:"1rem"})}})),(0,o.createElement)(u,{formId:l,enablePreview:()=>v(!0)}))))}})}()}();