tocco-widget-bundle 0.1.49 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +3 -0
- package/dist/address-update.js +1 -1
- package/dist/chunk-code-editor.1c0dae5df1ebd3c3ff8f.js +1 -0
- package/dist/{chunk-html-editor.4d47141a6f7634cd344a.js → chunk-html-editor.d8b3d3576ffd7652f206.js} +1 -1
- package/dist/docs-browser.js +2 -2
- package/dist/entity-browser.js +1 -1
- package/dist/mailing-list.js +1 -1
- package/dist/personal-dms.js +59 -0
- package/dist/stint-auction.js +1 -1
- package/dist/user-availability.js +1 -1
- package/dist/user-grades.js +1 -1
- package/dist/wage-view.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-code-editor.08a2a02d9c0db83fa698.js +0 -1
package/dist/address-update.js
CHANGED
|
@@ -61,4 +61,4 @@ object-assign
|
|
|
61
61
|
* LICENSE file in the root directory of this source tree.
|
|
62
62
|
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case d:case a:case c:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case m:case s:return e;default:return t}}case o:return t}}}function O(e){return x(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return O(e)||x(e)===l},t.isConcurrentMode=O,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===c||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},51976:(e,t,n)=>{"use strict";e.exports=n(9734)},2393:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(1024),o=n.n(r);function a(){}function i(e){return!!(e||"").match(/\d/)}function c(e){return null==e}function s(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function u(e,t){void 0===t&&(t=!0);var n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNagation:n,addNegation:r}}function l(e,t,n){for(var r="",o=n?"0":"",a=0;a<=t-1;a++)r+=e[a]||o;return r}function d(e,t){return Array(t+1).join(e)}function p(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}function f(e,t,n){return Math.min(Math.max(e,t),n)}function h(e){return Math.max(e.selectionStart,e.selectionEnd)}var m={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:a,onChange:a,onKeyDown:a,onMouseUp:a,onFocus:a,onBlur:a,isAllowed:function(){return!0}},g=function(e){function t(t){e.call(this,t);var n=t.defaultValue;this.validateProps();var r=this.formatValueProp(n);this.state={value:r,numAsString:this.removeFormatting(r),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.setState({mounted:!0})},t.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},t.prototype.updateValueIfRequired=function(e){var t=this,n=t.props,r=t.state,o=t.focusedElm,a=r.value,i=r.numAsString;if(void 0===i&&(i=""),e!==n){this.validateProps();var s=this.formatNumString(i),u=c(n.value)?s:this.formatValueProp(),l=this.removeFormatting(u),d=parseFloat(l),p=parseFloat(i);(isNaN(d)&&isNaN(p)||d===p)&&s===a&&(null!==o||u===a)||this.updateValue({formattedValue:u,numAsString:l,input:o,source:"prop",event:null})}},t.prototype.getFloatString=function(e){void 0===e&&(e="");var t=this.props.decimalScale,n=this.getSeparators().decimalSeparator,r=this.getNumberRegex(!0),o="-"===e[0];o&&(e=e.replace("-","")),n&&0===t&&(e=e.split(n)[0]);var a=(e=(e.match(r)||[]).join("").replace(n,".")).indexOf(".");return-1!==a&&(e=e.substring(0,a)+"."+e.substring(a+1,e.length).replace(new RegExp(s(n),"g"),"")),o&&(e="-"+e),e},t.prototype.getNumberRegex=function(e,t){var n=this.props,r=n.format,o=n.decimalScale,a=n.customNumerals,i=this.getSeparators().decimalSeparator;return new RegExp("[0-9"+(a?a.join(""):"")+"]"+(!i||0===o||t||r?"":"|"+s(i)),e?"g":void 0)},t.prototype.getSeparators=function(){var e=this.props.decimalSeparator,t=this.props,n=t.thousandSeparator,r=t.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[e,"."]),{decimalSeparator:e,thousandSeparator:n,allowedDecimalSeparators:r}},t.prototype.getMaskAtIndex=function(e){var t=this.props.mask;return void 0===t&&(t=" "),"string"==typeof t?t:t[e]||" "},t.prototype.getValueObject=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},t.prototype.validateProps=function(){var e=this.props.mask,t=this.getSeparators(),n=t.decimalSeparator,r=t.thousandSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+n+" (default value for decimalSeparator is .)\n ");if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n Mask "+e+" should not contain numeric character;\n ")},t.prototype.setPatchedCaretPosition=function(e,t,n){p(e,t),this.caretPositionTimeout=setTimeout((function(){e.value===n&&p(e,t)}),0)},t.prototype.correctCaretPosition=function(e,t,n){var r=this.props,o=r.prefix,a=r.suffix,c=r.format;if(""===e)return 0;if(t=f(t,0,e.length),!c){var s="-"===e[0];return f(t,o.length+(s?1:0),e.length-a.length)}if("function"==typeof c)return t;if("#"===c[t]&&i(e[t]))return t;if("#"===c[t-1]&&i(e[t-1]))return t;var u=c.indexOf("#");t=f(t,u,c.lastIndexOf("#")+1);for(var l=c.substring(t,c.length).indexOf("#"),d=t,p=t+(-1===l?0:l);d>u&&("#"!==c[d]||!i(e[d]));)d-=1;return!i(e[p])||"left"===n&&t!==u||t-d<p-t?i(e[d])?d+1:d:p},t.prototype.getCaretPosition=function(e,t,n){var r,o,a=this.props.format,i=this.state.value,c=this.getNumberRegex(!0),s=(e.match(c)||[]).join(""),u=(t.match(c)||[]).join("");for(r=0,o=0;o<n;o++){var l=e[o]||"",d=t[r]||"";if((l.match(c)||l===d)&&("0"!==l||!d.match(c)||"0"===d||s.length===u.length)){for(;l!==t[r]&&r<t.length;)r++;r++}}return"string"!=typeof a||i||(r=t.length),r=this.correctCaretPosition(t,r)},t.prototype.removePrefixAndSuffix=function(e){var t=this.props,n=t.format,r=t.prefix,o=t.suffix;if(!n&&e){var a="-"===e[0];a&&(e=e.substring(1,e.length));var i=(e=r&&0===e.indexOf(r)?e.substring(r.length,e.length):e).lastIndexOf(o);e=o&&-1!==i&&i===e.length-o.length?e.substring(0,i):e,a&&(e="-"+e)}return e},t.prototype.removePatternFormatting=function(e){for(var t=this.props.format.split("#").filter((function(e){return""!==e})),n=0,r="",o=0,a=t.length;o<=a;o++){var i=t[o]||"",c=o===a?e.length:e.indexOf(i,n);if(-1===c){r=e;break}r+=e.substring(n,c),n=c+i.length}return(r.match(this.getNumberRegex(!0))||[]).join("")},t.prototype.removeFormatting=function(e){var t=this.props,n=t.format,r=t.removeFormatting;return e?(n?e="string"==typeof n?this.removePatternFormatting(e):"function"==typeof r?r(e):(e.match(this.getNumberRegex(!0))||[]).join(""):(e=this.removePrefixAndSuffix(e),e=this.getFloatString(e)),e):e},t.prototype.formatWithPattern=function(e){for(var t=this.props.format,n=0,r=t.split(""),o=0,a=t.length;o<a;o++)"#"===t[o]&&(r[o]=e[n]||this.getMaskAtIndex(n),n+=1);return r.join("")},t.prototype.formatAsNumber=function(e){var t=this.props,n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix,a=t.suffix,i=t.allowNegative,c=t.thousandsGroupStyle,s=this.getSeparators(),d=s.thousandSeparator,p=s.decimalSeparator,f=-1!==e.indexOf(".")||n&&r,h=u(e,i),m=h.beforeDecimal,g=h.afterDecimal,y=h.addNegation;return void 0!==n&&(g=l(g,n,r)),d&&(m=function(e,t,n){var r=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(n),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}(m,d,c)),o&&(m=o+m),a&&(g+=a),y&&(m="-"+m),e=m+(f&&p||"")+g},t.prototype.formatNumString=function(e){void 0===e&&(e="");var t=this.props,n=t.format,r=t.allowEmptyFormatting,o=t.customNumerals,a=e;if(o&&10===o.length){var i=new RegExp("["+o.join("")+"]","g");a=e.replace(i,(function(e){return o.indexOf(e).toString()}))}return a=""!==e||r?"-"!==e||n?"string"==typeof n?this.formatWithPattern(a):"function"==typeof n?n(a):this.formatAsNumber(a):"-":""},t.prototype.formatValueProp=function(e){var t=this.props,n=t.format,r=t.decimalScale,o=t.fixedDecimalScale,a=t.allowEmptyFormatting,i=this.props,s=i.value,p=i.isNumericString,f=!(s=c(s)?e:s)&&0!==s;return f&&a&&(s=""),f&&!a?"":("number"==typeof s&&(s=function(e){var t="-"===(e+="")[0]?"-":"";t&&(e=e.substring(1));var n=e.split(/[eE]/g),r=n[0],o=n[1];if(!(o=Number(o)))return t+r;var a=1+o,i=(r=r.replace(".","")).length;return a<0?r="0."+d("0",Math.abs(a))+r:a>=i?r+=d("0",a-i):r=(r.substring(0,a)||"0")+"."+r.substring(a),t+r}(s),p=!0),"Infinity"===s&&p&&(s=""),p&&!n&&"number"==typeof r&&(s=function(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=-1!==e.indexOf(".")&&t,o=u(e),a=o.beforeDecimal,i=o.afterDecimal,c=o.hasNagation,s=parseFloat("0."+(i||"0")),d=(i.length<=t?"0."+i:s.toFixed(t)).split(".");return(c?"-":"")+a.split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),d[0])+(r?".":"")+l(d[1]||"",Math.min(t,i.length),n)}(s,r,o)),p?this.formatNumString(s):this.formatInput(s))},t.prototype.formatNegation=function(e){void 0===e&&(e="");var t=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),a=r.test(e);return e=e.replace(/-/g,""),o&&!a&&t&&(e="-"+e),e},t.prototype.formatInput=function(e){return void 0===e&&(e=""),this.props.format||(e=this.removePrefixAndSuffix(e),e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)},t.prototype.isCharacterAFormat=function(e,t){var n=this.props,r=n.format,o=n.prefix,a=n.suffix,i=n.decimalScale,c=n.fixedDecimalScale,s=this.getSeparators().decimalSeparator;return"string"==typeof r&&"#"!==r[e]||!(r||!(e<o.length||e>=t.length-a.length||i&&c&&t[e]===s))},t.prototype.correctInputValue=function(e,t,n){var r=this,o=this.props,a=o.format,i=o.allowNegative,c=o.prefix,s=o.suffix,l=o.decimalScale,d=this.getSeparators(),p=d.allowedDecimalSeparators,f=d.decimalSeparator,h=this.state.numAsString||"",m=this.selectionBeforeInput,g=m.selectionStart,y=m.selectionEnd,v=function(e,t){for(var n=0,r=0,o=e.length,a=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[a-1-r]&&a-r>n&&o-r>n;)r++;return{start:n,end:o-r}}(t,n),b=v.start,w=v.end;if(!a&&b===w&&-1!==p.indexOf(n[g])){var x=0===l?"":f;return n.substr(0,g)+x+n.substr(g+1,n.length)}var O=a?0:c.length,k=t.length-(a?0:s.length);if(n.length>t.length||!n.length||b===w||0===g&&y===t.length||0===b&&w===t.length||g===O&&y===k)return n;var E=t.substr(b,w-b);if(!![].concat(E).find((function(e,n){return r.isCharacterAFormat(n+b,t)}))){var S=t.substr(b),_={},P=[];[].concat(S).forEach((function(e,n){r.isCharacterAFormat(n+b,t)?_[n]=e:n>E.length-1&&P.push(e)})),Object.keys(_).forEach((function(e){P.length>e?P.splice(e,0,_[e]):P.push(_[e])})),n=t.substr(0,b)+P.join("")}if(!a){var j=this.removeFormatting(n),C=u(j,i),A=C.beforeDecimal,D=C.afterDecimal,T=C.addNegation,Z=e<n.indexOf(f)+1;if(j.length<h.length&&Z&&""===A&&!parseFloat(D))return T?"-":""}return n},t.prototype.updateValue=function(e){var t=e.formattedValue,n=e.input,r=e.setCaretPosition;void 0===r&&(r=!0);var o=e.source,a=e.event,i=e.numAsString,c=e.caretPos,s=this.props.onValueChange,u=this.state.value;if(n){if(void 0===c&&r){var l=e.inputValue||n.value,d=h(n);n.value=t,c=this.getCaretPosition(l,t,d)}n.value=t,r&&this.setPatchedCaretPosition(n,c,t)}void 0===i&&(i=this.removeFormatting(t)),t!==u&&(this.setState({value:t,numAsString:i}),s(this.getValueObject(t,i),{event:a,source:o}))},t.prototype.onChange=function(e){var t=e.target,n=t.value,r=this.state,o=this.props,a=o.isAllowed,i=r.value||"",c=h(t);n=this.correctInputValue(c,i,n);var s=this.formatInput(n)||"",u=this.removeFormatting(s),l=a(this.getValueObject(s,u));l||(s=i),this.updateValue({formattedValue:s,numAsString:u,inputValue:n,input:t,event:e,source:"event"}),l&&o.onChange(e)},t.prototype.onBlur=function(e){var t=this.props,n=this.state,r=t.format,o=t.onBlur,a=t.allowLeadingZeros,i=n.numAsString,c=n.value;if(this.focusedElm=null,clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout),!r){isNaN(parseFloat(i))&&(i=""),a||(i=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}(i));var s=this.formatNumString(i);if(s!==c)return this.updateValue({formattedValue:s,numAsString:i,input:e.target,setCaretPosition:!1,event:e,source:"event"}),void o(e)}o(e)},t.prototype.onKeyDown=function(e){var t,n=e.target,r=e.key,o=n.selectionStart,a=n.selectionEnd,i=n.value;void 0===i&&(i="");var c=this.props,s=c.decimalScale,u=c.fixedDecimalScale,l=c.prefix,d=c.suffix,p=c.format,f=c.onKeyDown,h=void 0!==s&&u,m=this.getNumberRegex(!1,h),g=new RegExp("-"),y="string"==typeof p;if(this.selectionBeforeInput={selectionStart:o,selectionEnd:a},"ArrowLeft"===r||"Backspace"===r?t=o-1:"ArrowRight"===r?t=o+1:"Delete"===r&&(t=o),void 0!==t&&o===a){var v=t,b=y?p.indexOf("#"):l.length,w=y?p.lastIndexOf("#")+1:i.length-d.length;if("ArrowLeft"===r||"ArrowRight"===r){var x="ArrowLeft"===r?"left":"right";v=this.correctCaretPosition(i,t,x)}else if("Delete"!==r||m.test(i[t])||g.test(i[t])){if("Backspace"===r&&!m.test(i[t]))if(o<=b+1&&"-"===i[0]&&void 0===p){var O=i.substring(1);this.updateValue({formattedValue:O,caretPos:v,input:n,event:e,source:"event"})}else if(!g.test(i[t])){for(;!m.test(i[v-1])&&v>b;)v--;v=this.correctCaretPosition(i,v,"left")}}else for(;!m.test(i[v])&&v<w;)v++;(v!==t||t<b||t>w)&&(e.preventDefault(),this.setPatchedCaretPosition(n,v,i)),e.isUnitTestRun&&this.setPatchedCaretPosition(n,v,i),f(e)}else f(e)},t.prototype.onMouseUp=function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value;if(void 0===o&&(o=""),n===r){var a=this.correctCaretPosition(o,n);a!==n&&this.setPatchedCaretPosition(t,a,o)}this.props.onMouseUp(e)},t.prototype.onFocus=function(e){var t=this;e.persist(),this.focusedElm=e.target,this.focusTimeout=setTimeout((function(){var n=e.target,r=n.selectionStart,o=n.selectionEnd,a=n.value;void 0===a&&(a="");var i=t.correctCaretPosition(a,r);i===r||0===r&&o===a.length||t.setPatchedCaretPosition(n,i,a),t.props.onFocus(e)}),0)},t.prototype.render=function(){var e=this.props,t=e.type,n=e.displayType,r=e.customInput,a=e.renderText,i=e.getInputRef,c=e.format,s=(e.thousandSeparator,e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle,e.decimalScale,e.fixedDecimalScale,e.prefix,e.suffix,e.removeFormatting,e.mask,e.defaultValue,e.isNumericString,e.allowNegative,e.allowEmptyFormatting,e.allowLeadingZeros,e.onValueChange,e.isAllowed,e.customNumerals,e.onChange,e.onKeyDown,e.onMouseUp,e.onFocus,e.onBlur,e.value,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["type","displayType","customInput","renderText","getInputRef","format","thousandSeparator","decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","decimalScale","fixedDecimalScale","prefix","suffix","removeFormatting","mask","defaultValue","isNumericString","allowNegative","allowEmptyFormatting","allowLeadingZeros","onValueChange","isAllowed","customNumerals","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value"])),u=this.state,l=u.value,d=u.mounted&&function(e){return e||"undefined"!=typeof navigator&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}(c)?"numeric":void 0,p=Object.assign({inputMode:d},s,{type:t,value:l,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return a?a(l,s)||null:o().createElement("span",Object.assign({},s,{ref:i}),l);if(r){var f=r;return o().createElement(f,Object.assign({},p,{ref:i}))}return o().createElement("input",Object.assign({},p,{ref:i}))},t}(o().Component);g.defaultProps=m;const y=g},94842:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:()=>h,default:()=>g});var r=n(1024),o=n(30314);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var s,u,l=(void 0===s&&(s=0),function(){return++s}),d={},p={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n=null;return-1!==f.indexOf(t)&&u&&(n={passive:!e.props.preventDefault}),n}const g=function(e,t){var n,s,f=e.displayName||e.name||"Component";return s=n=function(n){var s,h;function g(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,o.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[r._uid]){void 0===u&&(u=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),d[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&c(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,d[r._uid],m(i(r),e))}))}},r.disableOnClickOutside=function(){delete p[r._uid];var e=d[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(i(r),t))})),delete d[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r}h=n,(s=g).prototype=Object.create(h.prototype),s.prototype.constructor=s,a(s,h);var y=g.prototype;return y.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},y.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},y.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},y.componentWillUnmount=function(){this.disableOnClickOutside()},y.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},g}(r.Component),n.displayName="OnClickOutside("+f+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},s}},28384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Manager:()=>i,Popper:()=>p,Reference:()=>m,usePopper:()=>s.D});var r=n(1024),o=r.createContext(),a=r.createContext();function i(e){var t=e.children,n=r.useState(null),i=n[0],c=n[1],s=r.useRef(!1);r.useEffect((function(){return function(){s.current=!0}}),[]);var u=r.useCallback((function(e){s.current||c(e)}),[]);return r.createElement(o.Provider,{value:i},r.createElement(a.Provider,{value:u},t))}var c=n(87568),s=n(32654),u=function(){},l=function(){return Promise.resolve(null)},d=[];function p(e){var t=e.placement,n=void 0===t?"bottom":t,a=e.strategy,i=void 0===a?"absolute":a,p=e.modifiers,f=void 0===p?d:p,h=e.referenceElement,m=e.onFirstUpdate,g=e.innerRef,y=e.children,v=r.useContext(o),b=r.useState(null),w=b[0],x=b[1],O=r.useState(null),k=O[0],E=O[1];r.useEffect((function(){(0,c.k$)(g,w)}),[g,w]);var S=r.useMemo((function(){return{placement:n,strategy:i,onFirstUpdate:m,modifiers:[].concat(f,[{name:"arrow",enabled:null!=k,options:{element:k}}])}}),[n,i,m,f,k]),_=(0,s.D)(h||v,w,S),P=_.state,j=_.styles,C=_.forceUpdate,A=_.update,D=r.useMemo((function(){return{ref:x,style:j.popper,placement:P?P.placement:n,hasPopperEscaped:P&&P.modifiersData.hide?P.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:P&&P.modifiersData.hide?P.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:j.arrow,ref:E},forceUpdate:C||u,update:A||l}}),[x,E,n,P,j,A,C]);return(0,c.$p)(y)(D)}var f=n(99874),h=n.n(f);function m(e){var t=e.children,n=e.innerRef,o=r.useContext(a),i=r.useCallback((function(e){(0,c.k$)(n,e),(0,c.DL)(o,e)}),[n,o]);return r.useEffect((function(){return function(){return(0,c.k$)(n,null)}}),[]),r.useEffect((function(){h()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),(0,c.$p)(t)({ref:i})}},32654:(e,t,n)=>{"use strict";n.d(t,{D:()=>be});var r=n(1024),o=n(30314);function a(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof a(e).Element||e instanceof Element}function c(e){return e instanceof a(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof a(e).ShadowRoot||e instanceof ShadowRoot)}var u=Math.max,l=Math.min,d=Math.round;function p(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(c(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=d(n.width)/i||1),a>0&&(o=d(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function f(e){var t=a(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return p(m(e)).left+f(e).scrollLeft}function y(e){return a(e).getComputedStyle(e)}function v(e){var t=y(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var r,o,i=c(t),s=c(t)&&function(e){var t=e.getBoundingClientRect(),n=d(t.width)/e.offsetWidth||1,r=d(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=m(t),l=p(e,s),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(i||!i&&!n)&&(("body"!==h(t)||v(u))&&(y=(r=t)!==a(r)&&c(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:f(r)),c(t)?((b=p(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=g(u))),{x:l.left+y.scrollLeft-b.x,y:l.top+y.scrollTop-b.y,width:l.width,height:l.height}}function w(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function x(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||m(e)}function O(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:c(e)&&v(e)?e:O(x(e))}function k(e,t){var n;void 0===t&&(t=[]);var r=O(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=a(r),c=o?[i].concat(i.visualViewport||[],v(r)?r:[]):r,s=t.concat(c);return o?s:s.concat(k(x(c)))}function E(e){return["table","td","th"].indexOf(h(e))>=0}function S(e){return c(e)&&"fixed"!==y(e).position?e.offsetParent:null}function _(e){for(var t=a(e),n=S(e);n&&E(n)&&"static"===y(n).position;)n=S(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===y(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&c(e)&&"fixed"===y(e).position)return null;var n=x(e);for(s(n)&&(n=n.host);c(n)&&["html","body"].indexOf(h(n))<0;){var r=y(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var P="top",j="bottom",C="right",A="left",D="auto",T=[P,j,C,A],Z="start",R="end",M="viewport",N="popper",I=T.reduce((function(e,t){return e.concat([t+"-"+Z,t+"-"+R])}),[]),F=[].concat(T,[D]).reduce((function(e,t){return e.concat([t,t+"-"+Z,t+"-"+R])}),[]),L=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function H(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function W(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?U:o;return function(e,t,n){void 0===n&&(n=a);var o,c,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],l=!1,d={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:i(e)?k(e):e.contextElement?k(e.contextElement):[],popper:k(t)};var c=function(e){var t=B(e);return L.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=c.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:d,options:r}),i=function(){};u.push(a||i)}})),d.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(H(t,n)){s.rects={reference:b(t,_(n),"fixed"===s.options.strategy),popper:w(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],a=o.fn,i=o.options,c=void 0===i?{}:i,u=o.name;"function"==typeof a&&(s=a({state:s,options:c,name:u,instance:d})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(s)}))},function(){return c||(c=new Promise((function(e){Promise.resolve().then((function(){c=void 0,e(o())}))}))),c}),destroy:function(){p(),l=!0}};if(!H(e,t))return d;function p(){u.forEach((function(e){return e()})),u=[]}return d.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var z={passive:!0};function V(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?V(o):null,i=o?Y(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case P:t={x:c,y:n.y-r.height};break;case j:t={x:c,y:n.y+n.height};break;case C:t={x:n.x+n.width,y:s};break;case A:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?q(a):null;if(null!=u){var l="y"===u?"height":"width";switch(i){case Z:t[u]=t[u]-(n[l]/2-r[l]/2);break;case R:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var $={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,c=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,p=e.roundOffsets,f=e.isFixed,h=c.x,g=void 0===h?0:h,v=c.y,b=void 0===v?0:v,w="function"==typeof p?p({x:g,y:b}):{x:g,y:b};g=w.x,b=w.y;var x=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),k=A,E=P,S=window;if(l){var D=_(n),T="clientHeight",Z="clientWidth";if(D===a(n)&&"static"!==y(D=m(n)).position&&"absolute"===s&&(T="scrollHeight",Z="scrollWidth"),D=D,o===P||(o===A||o===C)&&i===R)E=j,b-=(f&&D===S&&S.visualViewport?S.visualViewport.height:D[T])-r.height,b*=u?1:-1;if(o===A||(o===P||o===j)&&i===R)k=C,g-=(f&&D===S&&S.visualViewport?S.visualViewport.width:D[Z])-r.width,g*=u?1:-1}var M,N=Object.assign({position:s},l&&$),I=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:d(t*r)/r||0,y:d(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=I.x,b=I.y,u?Object.assign({},N,((M={})[E]=O?"0":"",M[k]=x?"0":"",M.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",M)):Object.assign({},N,((t={})[E]=O?b+"px":"",t[k]=x?g+"px":"",t.transform="",t))}const X={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=F.reduce((function(e,n){return e[n]=function(e,t,n){var r=V(e),o=[A,P].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[A,C].indexOf(r)>=0?{x:c,y:i}:{x:i,y:c}}(n,t.rects,a),e}),{}),c=i[t.placement],s=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,(function(e){return Q[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t){return t===M?re(function(e){var t=a(e),n=m(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,c=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:c+g(e),y:s}}(e)):i(t)?function(e){var t=p(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t,n=m(e),r=f(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=u(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=u(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+g(e),s=-r.scrollTop;return"rtl"===y(o||n).direction&&(c+=u(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:s}}(m(e)))}function ae(e,t,n){var r="clippingParents"===t?function(e){var t=k(x(e)),n=["absolute","fixed"].indexOf(y(e).position)>=0&&c(e)?_(e):e;return i(n)?t.filter((function(e){return i(e)&&ne(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(t,n){var r=oe(e,n);return t.top=u(r.top,t.top),t.right=l(r.right,t.right),t.bottom=l(r.bottom,t.bottom),t.left=u(r.left,t.left),t}),oe(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ce(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,c=void 0===a?"clippingParents":a,s=n.rootBoundary,u=void 0===s?M:s,l=n.elementContext,d=void 0===l?N:l,f=n.altBoundary,h=void 0!==f&&f,g=n.padding,y=void 0===g?0:g,v=ie("number"!=typeof y?y:ce(y,T)),b=d===N?"reference":N,w=e.rects.popper,x=e.elements[h?b:d],O=ae(i(x)?x:x.contextElement||m(e.elements.popper),c,u),k=p(e.elements.reference),E=G({reference:k,element:w,strategy:"absolute",placement:o}),S=re(Object.assign({},w,E)),_=d===N?S:k,A={top:O.top-_.top+v.top,bottom:_.bottom-O.bottom+v.bottom,left:O.left-_.left+v.left,right:_.right-O.right+v.right},D=e.modifiersData.offset;if(d===N&&D){var Z=D[o];Object.keys(A).forEach((function(e){var t=[C,j].indexOf(e)>=0?1:-1,n=[P,j].indexOf(e)>=0?"y":"x";A[e]+=Z[n]*t}))}return A}function ue(e,t,n){return u(e,l(t,n))}const le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0!==i&&i,s=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,y=void 0===g?0:g,v=se(t,{boundary:s,rootBoundary:d,padding:f,altBoundary:p}),b=V(t.placement),x=Y(t.placement),O=!x,k=q(b),E="x"===k?"y":"x",S=t.modifiersData.popperOffsets,D=t.rects.reference,T=t.rects.popper,R="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,M="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(S){if(a){var F,L="y"===k?P:A,B="y"===k?j:C,U="y"===k?"height":"width",H=S[k],W=H+v[L],z=H-v[B],G=m?-T[U]/2:0,$=x===Z?D[U]:T[U],K=x===Z?-T[U]:-D[U],X=t.elements.arrow,Q=m&&X?w(X):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[L],te=J[B],ne=ue(0,D[U],Q[U]),re=O?D[U]/2-G-ne-ee-M.mainAxis:$-ne-ee-M.mainAxis,oe=O?-D[U]/2+G+ne+te+M.mainAxis:K+ne+te+M.mainAxis,ae=t.elements.arrow&&_(t.elements.arrow),ie=ae?"y"===k?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(F=null==N?void 0:N[k])?F:0,le=H+oe-ce,de=ue(m?l(W,H+re-ce-ie):W,H,m?u(z,le):z);S[k]=de,I[k]=de-H}if(c){var pe,fe="x"===k?P:A,he="x"===k?j:C,me=S[E],ge="y"===E?"height":"width",ye=me+v[fe],ve=me-v[he],be=-1!==[P,A].indexOf(b),we=null!=(pe=null==N?void 0:N[E])?pe:0,xe=be?ye:me-D[ge]-T[ge]-we+M.altAxis,Oe=be?me+D[ge]+T[ge]-we-M.altAxis:ve,ke=m&&be?function(e,t,n){var r=ue(e,t,n);return r>n?n:r}(xe,me,Oe):ue(m?xe:ye,me,m?Oe:ve);S[E]=ke,I[E]=ke-me}t.modifiersData[r]=I}},requiresIfExists:["offset"]};const de={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,c=V(n.placement),s=q(c),u=[A,C].indexOf(c)>=0?"height":"width";if(a&&i){var l=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ce(e,T))}(o.padding,n),d=w(a),p="y"===s?P:A,f="y"===s?j:C,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=_(a),y=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=l[p],x=y-d[u]-l[f],O=y/2-d[u]/2+v,k=ue(b,O,x),E=s;n.modifiersData[r]=((t={})[E]=k,t.centerOffset=k-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ne(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[P,C,j,A].some((function(t){return e[t]>=0}))}var he=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,c=r.resize,s=void 0===c||c,u=a(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",n.update,z)})),s&&u.addEventListener("resize",n.update,z),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",n.update,z)})),s&&u.removeEventListener("resize",n.update,z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,c=n.roundOffsets,s=void 0===c||c,u={placement:V(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];c(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});c(r)&&h(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},X,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0===i||i,s=n.fallbackPlacements,u=n.padding,l=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,y=V(g),v=s||(y===g||!h?[J(g)]:function(e){if(V(e)===D)return[];var t=J(e);return[te(e),t,te(t)]}(g)),b=[g].concat(v).reduce((function(e,n){return e.concat(V(n)===D?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?F:s,l=Y(r),d=l?c?I:I.filter((function(e){return Y(e)===l})):T,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[V(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:l,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,k=!0,E=b[0],S=0;S<b.length;S++){var _=b[S],R=V(_),M=Y(_)===Z,N=[P,j].indexOf(R)>=0,L=N?"width":"height",B=se(t,{placement:_,boundary:l,rootBoundary:d,altBoundary:p,padding:u}),U=N?M?C:A:M?j:P;w[L]>x[L]&&(U=J(U));var H=J(U),W=[];if(a&&W.push(B[R]<=0),c&&W.push(B[U]<=0,B[H]<=0),W.every((function(e){return e}))){E=_,k=!1;break}O.set(_,W)}if(k)for(var z=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},q=h?3:1;q>0;q--){if("break"===z(q))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},le,de,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=se(t,{elementContext:"reference"}),c=se(t,{altBoundary:!0}),s=pe(i,r),u=pe(c,o,a),l=fe(s),d=fe(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}}]}),me=n(98836),ge=n.n(me),ye=n(87568),ve=[],be=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ve},c=r.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=c[0],u=c[1],l=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);o.flushSync((function(){u({styles:(0,ye.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,ye.sq)(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=r.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[l,{name:"applyStyles",enabled:!1}])};return ge()(a.current,e)?a.current||e:(a.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,l]),p=r.useRef();return(0,ye.LI)((function(){p.current&&p.current.setOptions(d)}),[d]),(0,ye.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||he)(e,t,d);return p.current=r,function(){r.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:s.styles,attributes:s.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}},87568:(e,t,n)=>{"use strict";n.d(t,{$p:()=>o,DL:()=>a,LI:()=>s,k$:()=>i,sq:()=>c});var r=n(1024),o=function(e){return Array.isArray(e)?e[0]:e},a=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},i=function(e,t){if("function"==typeof e)return a(e,t);null!=e&&(e.current=t)},c=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},s="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},12864:(e,t,n)=>{"use strict";n.d(t,{A:()=>Z,B:()=>R,C:()=>H,D:()=>U,E:()=>B,F:()=>E,G:()=>Ie,H:()=>L,I:()=>P,J:()=>S,K:()=>T,L:()=>O,M:()=>G,_:()=>w,a:()=>y,b:()=>he,c:()=>Ne,d:()=>oe,e:()=>we,f:()=>fe,g:()=>Oe,h:()=>ke,i:()=>ie,j:()=>me,k:()=>Se,l:()=>ye,m:()=>Q,n:()=>Y,o:()=>$,p:()=>ne,q:()=>Ce,r:()=>W,s:()=>F,t:()=>Ae,u:()=>De,v:()=>X,w:()=>Ze,x:()=>Re,y:()=>Me,z:()=>ae});var r=n(3640),o=n(82765),a=n(91411),i=n(56315),c=n(68957),s=n(73891),u=n(11259),l=n(44822),d=n(32208),p=n(46927),f=n(1024),h=n(30314);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(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,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}var x=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],O=function(){};function k(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function E(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(k(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var S=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,s.Z)(e)&&null!==e?[e]:[];var t},_=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,y({},(0,i.Z)(e,x))};function P(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function j(e){return P(e)?window.pageYOffset:e.scrollTop}function C(e,t){P(e)?window.scrollTo(0,t):e.scrollTop=t}function A(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O,o=j(e),a=t-o,i=10,c=0;function s(){var t=A(c+=i,o,a,n);C(e,t),c<n?window.requestAnimationFrame(s):r(e)}s()}function T(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?C(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&C(e,Math.max(t.offsetTop-o,0))}function Z(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function R(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var M=!1,N={get passive(){return M=!0}},I="undefined"!=typeof window?window:{};I.addEventListener&&I.removeEventListener&&(I.addEventListener("p",O,N),I.removeEventListener("p",O,!1));var F=M;function L(e){return null!=e}function B(e,t,n){return e?t:n}function U(e){return e}function H(e){return e}var W=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=(0,c.Z)(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=(0,c.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})};function z(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,c=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var l,d=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,y=i?window.innerHeight:P(l=s)?window.innerHeight:l.clientHeight,v=j(s),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=g-w,O=y-m,k=x+v,E=d-v-m,S=f-y+v+b,_=v+m-w,A=160;switch(o){case"auto":case"bottom":if(O>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!i)return a&&D(s,S,A),{placement:"bottom",maxHeight:t};if(!i&&E>=r||i&&O>=r)return a&&D(s,S,A),{placement:"bottom",maxHeight:i?O-b:E-b};if("auto"===o||i){var T=t,Z=i?x:k;return Z>=r&&(T=Math.min(Z-b-c.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===o)return a&&C(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(k>=h&&!i)return a&&D(s,_,A),{placement:"top",maxHeight:t};if(!i&&k>=r||i&&x>=r){var R=t;return(!i&&k>=r||i&&x>=r)&&(R=i?x-w:k-w),a&&D(s,_,A),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var V=function(e){return"auto"===e?"bottom":e},Y=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,i=r.colors;return t={label:"menu"},(0,p.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,p.Z)(t,"backgroundColor",i.neutral0),(0,p.Z)(t,"borderRadius",o),(0,p.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,p.Z)(t,"marginBottom",a.menuGutter),(0,p.Z)(t,"marginTop",a.menuGutter),(0,p.Z)(t,"position","absolute"),(0,p.Z)(t,"width","100%"),(0,p.Z)(t,"zIndex",1),t},q=(0,f.createContext)({getPortalPlacement:null}),G=function(e){(0,d.Z)(n,e);var t=w(n);function n(){var e;(0,u.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,a=n.menuPlacement,i=n.menuPosition,c=n.menuShouldScrollIntoView,s=n.theme;if(t){var u="fixed"===i,l=z({maxHeight:o,menuEl:t,minHeight:r,placement:a,shouldScroll:c&&!u,isFixedPosition:u,theme:s}),d=e.context.getPortalPlacement;d&&d(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||V(t);return y(y({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return(0,l.Z)(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(f.Component);G.contextType=q;var $=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},K=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},X=K,Q=K,J=function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},c),t)};J.defaultProps={children:"No options"};var ee=function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},c),t)};ee.defaultProps={children:"Loading..."};var te,ne=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},re=function(e){(0,d.Z)(n,e);var t=w(n);function n(){var e;(0,u.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==V(e.props.menuPlacement)&&e.setState({placement:n})},e}return(0,l.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,a=e.className,i=e.controlElement,c=e.cx,s=e.innerProps,u=e.menuPlacement,l=e.menuPosition,d=e.getStyles,p="fixed"===l;if(!t&&!p||!i)return null;var f=this.state.placement||V(u),m=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}}(i),g=p?0:window.pageYOffset,y={offset:m[f]+g,position:l,rect:m},v=(0,o.tZ)("div",(0,r.Z)({css:d("menuPortal",y),className:c({"menu-portal":!0},a)},s),n);return(0,o.tZ)(q.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,h.createPortal)(v,t):v)}}]),n}(f.Component),oe=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},ae=function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},ie=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ce=["size"];var se={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ue=function(e){var t=e.size,n=(0,i.Z)(e,ce);return(0,o.tZ)("svg",(0,r.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:se},n))},le=function(e){return(0,o.tZ)(ue,(0,r.Z)({size:20},e),(0,o.tZ)("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"}))},de=function(e){return(0,o.tZ)(ue,(0,r.Z)({size:20},e),(0,o.tZ)("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"}))},pe=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},fe=pe,he=pe,me=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},ge=(0,o.F4)(te||(te=(0,a.Z)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),ye=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},ve=function(e){var t=e.delay,n=e.offset;return(0,o.tZ)("span",{css:(0,o.iv)({animation:"".concat(ge," 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"},"","")})},be=function(e){var t=e.className,n=e.cx,a=e.getStyles,i=e.innerProps,c=e.isRtl;return(0,o.tZ)("div",(0,r.Z)({css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},i),(0,o.tZ)(ve,{delay:0,offset:c}),(0,o.tZ)(ve,{delay:160,offset:!0}),(0,o.tZ)(ve,{delay:320,offset:!c}))};be.defaultProps={size:4};var we=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},xe=["data"],Oe=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},ke=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},Ee=["innerRef","isDisabled","isHidden","inputClassName"],Se=function(e){var t=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,a=r.colors;return y({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:a.neutral80,transform:n?"translateZ(0)":""},Pe)},_e={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Pe={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":y({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},_e)},je=function(e){return y({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},_e)},Ce=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},Ae=function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},De=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},Te=function(e){var t=e.children,n=e.innerProps;return(0,o.tZ)("div",n,t)};var Ze=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?i.primary:i.primary50}}},Re=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},Me=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Ne={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)},c),t||(0,o.tZ)(le,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,i=e.className,c=e.isDisabled,s=e.isFocused,u=e.innerRef,l=e.innerProps,d=e.menuIsOpen;return(0,o.tZ)("div",(0,r.Z)({ref:u,css:a("control",e),className:n({control:!0,"control--is-disabled":c,"control--is-focused":s,"control--menu-is-open":d},i)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)},c),t||(0,o.tZ)(de,null))},DownChevron:de,CrossIcon:le,Group:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.Heading,s=e.headingProps,u=e.innerProps,l=e.label,d=e.theme,p=e.selectProps;return(0,o.tZ)("div",(0,r.Z)({css:i("group",e),className:a({group:!0},n)},u),(0,o.tZ)(c,(0,r.Z)({},s,{selectProps:p,theme:d,getStyles:i,cx:a}),l),(0,o.tZ)("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,a=e.className,c=_(e);c.data;var s=(0,i.Z)(c,xe);return(0,o.tZ)("div",(0,r.Z)({css:t("groupHeading",e),className:n({"group-heading":!0},a)},s))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,i=e.innerProps,c=e.getStyles;return(0,o.tZ)("div",(0,r.Z)({css:c("indicatorsContainer",e),className:a({indicators:!0},n)},i),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,i=e.innerProps;return(0,o.tZ)("span",(0,r.Z)({},i,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,a=e.getStyles,c=e.value,s=_(e),u=s.innerRef,l=s.isDisabled,d=s.isHidden,p=s.inputClassName,f=(0,i.Z)(s,Ee);return(0,o.tZ)("div",{className:n({"input-container":!0},t),css:a("input",e),"data-value":c||""},(0,o.tZ)("input",(0,r.Z)({className:n({input:!0},p),ref:u,style:je(d),disabled:l},f)))},LoadingIndicator:be,Menu:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerRef,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("menu",e),className:a({menu:!0},n),ref:c},s),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps,s=e.innerRef,u=e.isMulti;return(0,o.tZ)("div",(0,r.Z)({css:i("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":u},n),ref:s},c),t)},MenuPortal:re,LoadingMessage:ee,NoOptionsMessage:J,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,a=e.cx,i=e.data,c=e.getStyles,s=e.innerProps,u=e.isDisabled,l=e.removeProps,d=e.selectProps,p=r.Container,f=r.Label,h=r.Remove;return(0,o.tZ)(o.ms,null,(function(r){var m=r.css,g=r.cx;return(0,o.tZ)(p,{data:i,innerProps:y({className:g(m(c("multiValue",e)),a({"multi-value":!0,"multi-value--is-disabled":u},n))},s),selectProps:d},(0,o.tZ)(f,{data:i,innerProps:{className:g(m(c("multiValueLabel",e)),a({"multi-value__label":!0},n))},selectProps:d},t),(0,o.tZ)(h,{data:i,innerProps:y({className:g(m(c("multiValueRemove",e)),a({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},l),selectProps:d}))}))},MultiValueContainer:Te,MultiValueLabel:Te,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({role:"button"},n),t||(0,o.tZ)(le,{size:14}))},Option:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.isDisabled,s=e.isFocused,u=e.isSelected,l=e.innerRef,d=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("option",e),className:a({option:!0,"option--is-disabled":c,"option--is-focused":s,"option--is-selected":u},n),ref:l,"aria-disabled":c},d),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("placeholder",e),className:a({placeholder:!0},n)},c),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.innerProps,s=e.isDisabled,u=e.isRtl;return(0,o.tZ)("div",(0,r.Z)({css:i("container",e),className:a({"--is-disabled":s,"--is-rtl":u},n)},c),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,c=e.isDisabled,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:i("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":c},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,a=e.cx,i=e.innerProps,c=e.isMulti,s=e.getStyles,u=e.hasValue;return(0,o.tZ)("div",(0,r.Z)({css:s("valueContainer",e),className:a({"value-container":!0,"value-container--is-multi":c,"value-container--has-value":u},n)},i),t)}},Ie=function(e){return y(y({},Ne),e.components)}},74863:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>ct});var r=n(12864),o=n(68957),a=n(56315),i=n(1024),c=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var s=n(3640),u=n(11259),l=n(44822),d=n(32208),p=n(45915),f=n(82765);function h(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const m=function(e,t){var n;void 0===t&&(t=h);var r,o=[],a=!1;return function(){for(var i=[],c=0;c<arguments.length;c++)i[c]=arguments[c];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};for(var g={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"},y=function(e){return(0,f.tZ)("span",(0,s.Z)({css:g},e))},v={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,a=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,c=e.isDisabled,s=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(u(i,n),".");if("menu"===t){var l=c?" disabled":"",d="".concat(s?"selected":"focused").concat(l);return"option ".concat(a," ").concat(d,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},b=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,a=e.focusableOptions,c=e.isFocused,s=e.selectValue,u=e.selectProps,l=e.id,d=u.ariaLiveMessages,p=u.getOptionLabel,h=u.inputValue,m=u.isMulti,g=u.isOptionDisabled,b=u.isSearchable,w=u.menuIsOpen,x=u.options,O=u.screenReaderStatus,k=u.tabSelectsValue,E=u["aria-label"],S=u["aria-live"],_=(0,i.useMemo)((function(){return(0,r.a)((0,r.a)({},v),d||{})}),[d]),P=(0,i.useMemo)((function(){var e,n="";if(t&&_.onChange){var o=t.option,a=t.options,i=t.removedValue,c=t.removedValues,u=t.value,l=i||o||(e=u,Array.isArray(e)?null:e),d=l?p(l):"",f=a||c||void 0,h=f?f.map(p):[],m=(0,r.a)({isDisabled:l&&g(l,s),label:d,labels:h},t);n=_.onChange(m)}return n}),[t,_,g,s,p]),j=(0,i.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&_.onFocus){var a={focused:t,label:p(t),isDisabled:g(t,s),isSelected:r,options:x,context:t===n?"menu":"value",selectValue:s};e=_.onFocus(a)}return e}),[n,o,p,g,_,x,s]),C=(0,i.useMemo)((function(){var e="";if(w&&x.length&&_.onFilter){var t=O({count:a.length});e=_.onFilter({inputValue:h,resultsMessage:t})}return e}),[a,h,w,_,x,O]),A=(0,i.useMemo)((function(){var e="";if(_.guidance){var t=o?"value":w?"menu":"input";e=_.guidance({"aria-label":E,context:t,isDisabled:n&&g(n,s),isMulti:m,isSearchable:b,tabSelectsValue:k})}return e}),[E,n,o,m,g,b,w,_,s,k]),D="".concat(j," ").concat(C," ").concat(A),T=(0,f.tZ)(i.Fragment,null,(0,f.tZ)("span",{id:"aria-selection"},P),(0,f.tZ)("span",{id:"aria-context"},D)),Z="initial-input-focus"===(null==t?void 0:t.action);return(0,f.tZ)(i.Fragment,null,(0,f.tZ)(y,{id:l},Z&&T),(0,f.tZ)(y,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text"},c&&!Z&&T))},w=[{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źẑżžẓẕƶȥɀⱬꝣ"}],x=new RegExp("["+w.map((function(e){return e.letters})).join("")+"]","g"),O={},k=0;k<w.length;k++)for(var E=w[k],S=0;S<E.letters.length;S++)O[E.letters[S]]=E.base;var _=function(e){return e.replace(x,(function(e){return O[e]}))},P=m(_),j=function(e){return e.replace(/^\s+|\s+$/g,"")},C=function(e){return"".concat(e.label," ").concat(e.value)},A=["innerRef"];function D(e){var t=e.innerRef,n=(0,a.Z)(e,A),o=(0,r.r)(n,"onExited","in","enter","exit","appear");return(0,f.tZ)("input",(0,s.Z)({ref:t},o,{css:(0,f.iv)({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 T=["boxSizing","height","overflow","paddingRight","position"],Z={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function R(e){e.preventDefault()}function M(e){e.stopPropagation()}function N(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function I(){return"ontouchstart"in window||navigator.maxTouchPoints}var F=!("undefined"==typeof window||!window.document||!window.document.createElement),L=0,B={capture:!1,passive:!1};var U=function(){return document.activeElement&&document.activeElement.blur()},H={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function W(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,a=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,a=e.onTopArrive,c=e.onTopLeave,s=(0,i.useRef)(!1),u=(0,i.useRef)(!1),l=(0,i.useRef)(0),d=(0,i.useRef)(null),p=(0,i.useCallback)((function(e,t){if(null!==d.current){var r=d.current,i=r.scrollTop,l=r.scrollHeight,p=r.clientHeight,f=d.current,h=t>0,m=l-p-i,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),h&&u.current&&(c&&c(e),u.current=!1),h&&t>m?(n&&!s.current&&n(e),f.scrollTop=l,g=!0,s.current=!0):!h&&-t>i&&(a&&!u.current&&a(e),f.scrollTop=0,g=!0,u.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,a,c]),f=(0,i.useCallback)((function(e){p(e,e.deltaY)}),[p]),h=(0,i.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,i.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),g=(0,i.useCallback)((function(e){if(e){var t=!!r.s&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,f]),y=(0,i.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,f]);return(0,i.useEffect)((function(){if(t){var e=d.current;return g(e),function(){y(e)}}}),[t,g,y]),function(e){d.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),c=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,i.useRef)({}),a=(0,i.useRef)(null),c=(0,i.useCallback)((function(e){if(F){var t=document.body,n=t&&t.style;if(r&&T.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&L<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,c=window.innerWidth-i+a||0;Object.keys(Z).forEach((function(e){var t=Z[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(c,"px"))}t&&I()&&(t.addEventListener("touchmove",R,B),e&&(e.addEventListener("touchstart",N,B),e.addEventListener("touchmove",M,B))),L+=1}}),[r]),s=(0,i.useCallback)((function(e){if(F){var t=document.body,n=t&&t.style;L=Math.max(L-1,0),r&&L<1&&T.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&I()&&(t.removeEventListener("touchmove",R,B),e&&(e.removeEventListener("touchstart",N,B),e.removeEventListener("touchmove",M,B)))}}),[r]);return(0,i.useEffect)((function(){if(t){var e=a.current;return c(e),function(){s(e)}}}),[t,c,s]),function(e){a.current=e}}({isEnabled:n});return(0,f.tZ)(i.Fragment,null,n&&(0,f.tZ)("div",{onClick:U,css:H}),t((function(e){a(e),c(e)})))}var z={clearIndicator:r.b,container:r.d,control:r.e,dropdownIndicator:r.f,group:r.g,groupHeading:r.h,indicatorsContainer:r.i,indicatorSeparator:r.j,input:r.k,loadingIndicator:r.l,loadingMessage:r.m,menu:r.n,menuList:r.o,menuPortal:r.p,multiValue:r.q,multiValueLabel:r.t,multiValueRemove:r.u,noOptionsMessage:r.v,option:r.w,placeholder:r.x,singleValue:r.y,valueContainer:r.z};var V,Y={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}},q={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,r.A)(),captureMenuScroll:!(0,r.A)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,r.a)({ignoreCase:!0,ignoreAccents:!0,stringify:C,trim:!0,matchFrom:"any"},V),o=n.ignoreCase,a=n.ignoreAccents,i=n.stringify,c=n.trim,s=n.matchFrom,u=c?j(t):t,l=c?j(i(e)):i(e);return o&&(u=u.toLowerCase(),l=l.toLowerCase()),a&&(u=P(u),l=_(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:!(0,r.B)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function G(e,t,n,r){return{type:"option",data:t,isDisabled:ee(e,t,n),isSelected:te(e,t,n),label:Q(e,t),value:J(e,t),index:r}}function $(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return G(e,n,t,r)})).filter((function(t){return X(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=G(e,n,t,r);return X(e,a)?a:void 0})).filter(r.H)}function K(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,p.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function X(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,c=t.value;return(!re(e)||!a)&&ne(e,{label:i,value:c,data:o},r)}var Q=function(e,t){return e.getOptionLabel(t)},J=function(e,t){return e.getOptionValue(t)};function ee(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function te(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=J(e,t);return n.some((function(t){return J(e,t)===r}))}function ne(e,t,n){return!e.filterOption||e.filterOption(t,n)}var re=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},oe=1,ae=function(e){(0,d.Z)(n,e);var t=(0,r._)(n);function n(e){var o;return(0,u.Z)(this,n),(o=t.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},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.instancePrefix="",o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,a=n.name;t.name=a,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,a=r.closeMenuOnSelect,i=r.isMulti,c=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:c}),a&&(o.setState({inputIsHiddenAfterUpdate:!i}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,a=t.isMulti,i=t.name,c=o.state.selectValue,s=a&&o.isOptionSelected(e,c),u=o.isOptionDisabled(e,c);if(s){var l=o.getOptionValue(e);o.setValue((0,r.C)(c.filter((function(e){return o.getOptionValue(e)!==l}))),"deselect-option",e)}else{if(u)return void o.ariaOnChange((0,r.D)(e),{action:"select-option",option:e,name:i});a?o.setValue((0,r.C)([].concat((0,p.Z)(c),[e])),"select-option",e):o.setValue((0,r.D)(e),"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,a=o.getOptionValue(e),i=n.filter((function(e){return o.getOptionValue(e)!==a})),c=(0,r.E)(t,i,i[0]||null);o.onChange(c,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange((0,r.E)(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],a=t.slice(0,t.length-1),i=(0,r.E)(e,a,a[0]||null);o.onChange(i,{action:"pop-value",removedValue:n})},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.F.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Q(o.props,e)},o.getOptionValue=function(e){return J(o.props,e)},o.getStyles=function(e,t){var n=z[e](t);n.boxSizing="border-box";var r=o.props.styles[e];return r?r(n,t):n},o.getElementId=function(e){return"".concat(o.instancePrefix,"-").concat(e)},o.getComponents=function(){return(0,r.G)(o.props)},o.buildCategorizedOptions=function(){return $(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return K(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,r.a)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout((function(){return o.focusInput()})))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,r.I)(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),a=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||a>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){o.blockOptionHover||o.state.focusedOption===e||o.setState({focusedOption:e})},o.shouldHideSelectedOptions=function(){return re(o.props)},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,c=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(s||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;o.focusValue("previous");break;case"ArrowRight":if(!n||i)return;o.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():c&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!u||!d||!h||p&&o.isOptionSelected(h,g))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(o.isComposing)return;o.selectOption(h);break}return;case"Escape":u?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:i}),o.onMenuClose()):c&&a&&o.clearValue();break;case" ":if(i)return;if(!u){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":u?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":u?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!u)return;o.focusOption("pageup");break;case"PageDown":if(!u)return;o.focusOption("pagedown");break;case"Home":if(!u)return;o.focusOption("first");break;case"End":if(!u)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.instancePrefix="react-select-"+(o.props.instanceId||++oe),o.state.selectValue=(0,r.J)(e.value),o}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,a=this.state.isFocused;(a&&!n&&e.isDisabled||a&&o&&!e.menuIsOpen)&&this.focusInput(),a&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,r.K)(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,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var c=a.indexOf(r[0]);c>-1&&(i=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(i=o+1)}this.setState({inputIsHidden:-1!==i,focusedValue:n[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Y):(0,r.a)((0,r.a)({},Y),this.props.theme):Y}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,a=this.setValue,i=this.props,c=i.isMulti,s=i.isRtl,u=i.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:c,isRtl:s,options:u,selectOption:o,selectProps:i,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ee(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return te(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ne(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,a=e.inputValue,c=e.tabIndex,u=e.form,l=e.menuIsOpen,d=this.getComponents().Input,p=this.state,f=p.inputIsHidden,h=p.ariaSelection,m=this.commonProps,g=o||this.getElementId("input"),y=(0,r.a)((0,r.a)((0,r.a)({"aria-autocomplete":"list","aria-expanded":l,"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"],role:"combobox"},l&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(d,(0,s.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:u,type:"text",value:a},y)):i.createElement(D,(0,s.Z)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:r.L,onFocus:this.onInputFocus,disabled:t,tabIndex:c,inputMode:"none",form:u,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,c=t.SingleValue,u=t.Placeholder,l=this.commonProps,d=this.props,p=d.controlShouldRenderValue,f=d.isDisabled,h=d.isMulti,m=d.inputValue,g=d.placeholder,y=this.state,v=y.selectValue,b=y.focusedValue,w=y.isFocused;if(!this.hasValue()||!p)return m?null:i.createElement(u,(0,s.Z)({},l,{key:"placeholder",isDisabled:f,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return v.map((function(t,c){var u=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,(0,s.Z)({},l,{components:{Container:r,Label:o,Remove:a},isFocused:u,isDisabled:f,key:d,index:c,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(m)return null;var x=v[0];return i.createElement(c,(0,s.Z)({},l,{data:x,isDisabled:f}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,(0,s.Z)({},t,{innerProps:c,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return i.createElement(e,(0,s.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,(0,s.Z)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,(0,s.Z)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,a=t.Menu,c=t.MenuList,u=t.MenuPortal,l=t.LoadingMessage,d=t.NoOptionsMessage,p=t.Option,f=this.commonProps,h=this.state.focusedOption,m=this.props,g=m.captureMenuScroll,y=m.inputValue,v=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,x=m.maxMenuHeight,O=m.menuIsOpen,k=m.menuPlacement,E=m.menuPosition,S=m.menuPortalTarget,_=m.menuShouldBlockScroll,P=m.menuShouldScrollIntoView,j=m.noOptionsMessage,C=m.onMenuScrollToTop,A=m.onMenuScrollToBottom;if(!O)return null;var D,T=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,c=t.isSelected,u=t.label,l=t.value,d=h===o,m=a?void 0:function(){return e.onOptionHover(o)},g=a?void 0:function(){return e.selectOption(o)},y="".concat(e.getElementId("option"),"-").concat(n),v={id:y,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return i.createElement(p,(0,s.Z)({},f,{innerProps:v,data:o,isDisabled:a,isSelected:c,key:y,label:u,type:r,value:l,isFocused:d,innerRef:d?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map((function(t){if("group"===t.type){var r=t.data,a=t.options,c=t.index,u="".concat(e.getElementId("group"),"-").concat(c),l="".concat(u,"-heading");return i.createElement(n,(0,s.Z)({},f,{key:u,data:r,options:a,Heading:o,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(c,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(v){var Z=b({inputValue:y});if(null===Z)return null;D=i.createElement(l,f,Z)}else{var R=j({inputValue:y});if(null===R)return null;D=i.createElement(d,f,R)}var M={minMenuHeight:w,maxMenuHeight:x,menuPlacement:k,menuPosition:E,menuShouldScrollIntoView:P},N=i.createElement(r.M,(0,s.Z)({},f,M),(function(t){var n=t.ref,r=t.placerProps,o=r.placement,u=r.maxHeight;return i.createElement(a,(0,s.Z)({},f,M,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:v,placement:o}),i.createElement(W,{captureEnabled:g,onTopArrive:C,onBottomArrive:A,lockEnabled:_},(function(t){return i.createElement(c,(0,s.Z)({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:v,maxHeight:u,focusedOption:h}),D)})))}));return S||"fixed"===E?i.createElement(u,(0,s.Z)({},f,{appendTo:S,controlElement:this.controlRef,menuPlacement:k,menuPosition:E}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,c=this.state.selectValue;if(a&&!r){if(o){if(n){var s=c.map((function(t){return e.getOptionValue(t)})).join(n);return i.createElement("input",{name:a,type:"hidden",value:s})}var u=c.length>0?c.map((function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.createElement("input",{name:a,type:"hidden"});return i.createElement("div",null,u)}var l=c[0]?this.getOptionValue(c[0]):"";return i.createElement("input",{name:a,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,c=t.selectValue,u=this.getFocusableOptions();return i.createElement(b,(0,s.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:c,focusableOptions:u}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,c=a.className,u=a.id,l=a.isDisabled,d=a.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return i.createElement(r,(0,s.Z)({},f,{className:c,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:p}),this.renderLiveRegion(),i.createElement(t,(0,s.Z)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:p,menuIsOpen:d}),i.createElement(o,(0,s.Z)({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,(0,s.Z)({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,c=t.isFocused,s=t.prevWasFocused,u=e.options,l=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=(0,r.J)(l),m={};if(n&&(l!==n.value||u!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return K($(e,t))}(e,h):[],y=o?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,v=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var b=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},w=i,x=c&&s;return c&&!x&&(w={value:(0,r.E)(f,h,h[0]||null),options:h,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),(0,r.a)((0,r.a)((0,r.a)({},m),b),{},{prevProps:e,ariaSelection:w,prevWasFocused:x})}}]),n}(i.Component);ae.defaultProps=q;var ie=n(4692);var ce=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),se=Math.abs,ue=String.fromCharCode;function le(e){return e.trim()}function de(e,t,n){return e.replace(t,n)}function pe(e,t){return e.indexOf(t)}function fe(e,t){return 0|e.charCodeAt(t)}function he(e,t,n){return e.slice(t,n)}function me(e){return e.length}function ge(e){return e.length}function ye(e,t){return t.push(e),e}var ve=1,be=1,we=0,xe=0,Oe=0,ke="";function Ee(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:ve,column:be,length:i,return:""}}function Se(e,t,n){return Ee(e,t.root,t.parent,n,t.props,t.children,0)}function _e(){return Oe=xe>0?fe(ke,--xe):0,be--,10===Oe&&(be=1,ve--),Oe}function Pe(){return Oe=xe<we?fe(ke,xe++):0,be++,10===Oe&&(be=1,ve++),Oe}function je(){return fe(ke,xe)}function Ce(){return xe}function Ae(e,t){return he(ke,e,t)}function De(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 Te(e){return ve=be=1,we=me(ke=e),xe=0,[]}function Ze(e){return ke="",e}function Re(e){return le(Ae(xe-1,Ie(91===e?e+2:40===e?e+1:e)))}function Me(e){for(;(Oe=je())&&Oe<33;)Pe();return De(e)>2||De(Oe)>3?"":" "}function Ne(e,t){for(;--t&&Pe()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Ae(e,Ce()+(t<6&&32==je()&&32==Pe()))}function Ie(e){for(;Pe();)switch(Oe){case e:return xe;case 34:case 39:return Ie(34===e||39===e?e:Oe);case 40:41===e&&Ie(e);break;case 92:Pe()}return xe}function Fe(e,t){for(;Pe()&&e+Oe!==57&&(e+Oe!==84||47!==je()););return"/*"+Ae(t,xe-1)+"*"+ue(47===e?e:Pe())}function Le(e){for(;!De(je());)Pe();return Ae(e,xe)}var Be="-ms-",Ue="-moz-",He="-webkit-",We="comm",ze="rule",Ve="decl";function Ye(e,t){for(var n="",r=ge(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function qe(e,t,n,r){switch(e.type){case"@import":case Ve:return e.return=e.return||e.value;case We:return"";case ze:e.value=e.props.join(",")}return me(n=Ye(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ge(e,t){switch(function(e,t){return(((t<<2^fe(e,0))<<2^fe(e,1))<<2^fe(e,2))<<2^fe(e,3)}(e,t)){case 5103:return He+"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 He+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return He+e+Ue+e+Be+e+e;case 6828:case 4268:return He+e+Be+e+e;case 6165:return He+e+Be+"flex-"+e+e;case 5187:return He+e+de(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return He+e+Be+"flex-item-"+de(e,/flex-|-self/,"")+e;case 4675:return He+e+Be+"flex-line-pack"+de(e,/align-content|flex-|-self/,"")+e;case 5548:return He+e+Be+de(e,"shrink","negative")+e;case 5292:return He+e+Be+de(e,"basis","preferred-size")+e;case 6060:return He+"box-"+de(e,"-grow","")+He+e+Be+de(e,"grow","positive")+e;case 4554:return He+de(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,He+"$1"),/(image-set)/,He+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,He+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+He+e+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,He+"$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(me(e)-1-t>6)switch(fe(e,t+1)){case 109:if(45!==fe(e,t+4))break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+Ue+(108==fe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~pe(e,"stretch")?Ge(de(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==fe(e,t+1))break;case 6444:switch(fe(e,me(e)-3-(~pe(e,"!important")&&10))){case 107:return de(e,":",":"+He)+e;case 101:return de(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+He+(45===fe(e,14)?"inline-":"")+"box$3$1"+He+"$2$3$1"+Be+"$2box$3")+e}break;case 5936:switch(fe(e,t+11)){case 114:return He+e+Be+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return He+e+Be+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return He+e+Be+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return He+e+Be+e+e}return e}function $e(e){return Ze(Ke("",null,null,null,[""],e=Te(e),0,[0],e))}function Ke(e,t,n,r,o,a,i,c,s){for(var u=0,l=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,b="",w=o,x=a,O=r,k=b;g;)switch(h=v,v=Pe()){case 34:case 39:case 91:case 40:k+=Re(v);break;case 9:case 10:case 13:case 32:k+=Me(h);break;case 92:k+=Ne(Ce()-1,7);continue;case 47:switch(je()){case 42:case 47:ye(Qe(Fe(Pe(),Ce()),t,n),s);break;default:k+="/"}break;case 123*m:c[u++]=me(k)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+l:f>0&&me(k)-d&&ye(f>32?Je(k+";",r,n,d-1):Je(de(k," ","")+";",r,n,d-2),s);break;case 59:k+=";";default:if(ye(O=Xe(k,t,n,u,l,o,c,b,w=[],x=[],d),a),123===v)if(0===l)Ke(k,t,O,O,w,a,d,c,x);else switch(p){case 100:case 109:case 115:Ke(e,O,O,r&&ye(Xe(e,O,O,0,0,o,c,b,o,w=[],d),x),o,x,d,c,r?w:x);break;default:Ke(k,O,O,O,[""],x,d,c,x)}}u=l=f=0,m=y=1,b=k="",d=i;break;case 58:d=1+me(k),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==_e())continue;switch(k+=ue(v),v*m){case 38:y=l>0?1:(k+="\f",-1);break;case 44:c[u++]=(me(k)-1)*y,y=1;break;case 64:45===je()&&(k+=Re(Pe())),p=je(),l=me(b=k+=Le(Ce())),v++;break;case 45:45===h&&2==me(k)&&(m=0)}}return a}function Xe(e,t,n,r,o,a,i,c,s,u,l){for(var d=o-1,p=0===o?a:[""],f=ge(p),h=0,m=0,g=0;h<r;++h)for(var y=0,v=he(e,d+1,d=se(m=i[h])),b=e;y<f;++y)(b=le(m>0?p[y]+" "+v:de(v,/&\f/g,p[y])))&&(s[g++]=b);return Ee(e,t,n,0===o?ze:c,s,u,l)}function Qe(e,t,n){return Ee(e,t,n,We,ue(Oe),he(e,2,-2),0)}function Je(e,t,n,r){return Ee(e,t,n,Ve,he(e,0,r),he(e,r+1,-1),r)}var et=function(e,t){return Ze(function(e,t){var n=-1,r=44;do{switch(De(r)){case 0:38===r&&12===je()&&(t[n]=1),e[n]+=Le(xe-1);break;case 2:e[n]+=Re(r);break;case 4:if(44===r){e[++n]=58===je()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ue(r)}}while(r=Pe());return e}(Te(e),t))},tt=new WeakMap,nt=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||tt.get(n))&&!r){tt.set(e,!0);for(var o=[],a=et(t,o),i=n.props,c=0,s=0;c<a.length;c++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[c]?a[c].replace(/&\f/g,i[u]):i[u]+" "+a[c]}}},rt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ot=[function(e,t,n,r){if(!e.return)switch(e.type){case Ve:e.return=Ge(e.value,e.length);break;case"@keyframes":return Ye([Se(de(e.value,"@","@"+He),e,"")],r);case ze:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ye([Se(de(t,/:(read-\w+)/,":-moz-$1"),e,"")],r);case"::placeholder":return Ye([Se(de(t,/:(plac\w+)/,":-webkit-input-$1"),e,""),Se(de(t,/:(plac\w+)/,":-moz-$1"),e,""),Se(de(t,/:(plac\w+)/,Be+"input-$1"),e,"")],r)}return""}))}}];const at=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 r=e.stylisPlugins||ot;var o,a,i={},c=[];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++)i[t[n]]=!0;c.push(e)}));var s,u,l,d,p=[qe,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(u=[nt,rt].concat(r,p),l=ge(u),function(e,t,n,r){for(var o="",a=0;a<l;a++)o+=u[a](e,t,n,r)||"";return o});a=function(e,t,n,r){s=n,Ye($e(e?e+"{"+t.styles+"}":t.styles),f),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new ce({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:i,registered:{},insert:a};return h.sheet.hydrate(c),h};n(30314);var it=(0,i.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,s=e.defaultMenuIsOpen,u=void 0!==s&&s,l=e.defaultValue,d=void 0===l?null:l,p=e.inputValue,f=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,y=e.onMenuOpen,v=e.value,b=(0,a.Z)(e,c),w=(0,i.useState)(void 0!==p?p:n),x=(0,o.Z)(w,2),O=x[0],k=x[1],E=(0,i.useState)(void 0!==f?f:u),S=(0,o.Z)(E,2),_=S[0],P=S[1],j=(0,i.useState)(void 0!==v?v:d),C=(0,o.Z)(j,2),A=C[0],D=C[1],T=(0,i.useCallback)((function(e,t){"function"==typeof h&&h(e,t),D(e)}),[h]),Z=(0,i.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),k(void 0!==n?n:e)}),[m]),R=(0,i.useCallback)((function(){"function"==typeof y&&y(),P(!0)}),[y]),M=(0,i.useCallback)((function(){"function"==typeof g&&g(),P(!1)}),[g]),N=void 0!==p?p:O,I=void 0!==f?f:_,F=void 0!==v?v:A;return(0,r.a)((0,r.a)({},b),{},{inputValue:N,menuIsOpen:I,onChange:T,onInputChange:Z,onMenuClose:M,onMenuOpen:R,value:F})}(e);return i.createElement(ae,(0,s.Z)({ref:t},n))}));i.Component;const ct=it},44066:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(1024),o=n.n(r),a=n(46444),i=n.n(a),c=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},l={outline:"none"},d=function(e){function t(){var n,r;c(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=u(this,e.call.apply(e,[this].concat(i))),r.state={focused:!1},r._isMounted=!1,r._lastBlurEvent=null,r.ref=o().createRef(),r._onFocusIn=function(){r._isMounted&&r._lastBlurEvent&&r.isInsideNode(r.ref.current,r._lastBlurEvent.target)&&!r.isInsideNode(r.ref.current,document.activeElement)&&r.setState({focused:!1},(function(){document.removeEventListener("focusin",r._onFocusIn),r.props.onBlur(r._lastBlurEvent)}))},r.onFocus=function(e){var t=r.props.onFocus;r.state.focused||r.setState({focused:!0},(function(){document.addEventListener("focusin",r._onFocusIn),t(e)}))},r.onBlur=function(e){e.persist(),r._lastBlurEvent=e},r.isInsideNode=function(e,t){return null!=e&&e.contains(t)},u(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){null!=document&&document.querySelector("body").setAttribute("tabindex","-1"),this._isMounted=!0},t.prototype.componentWillUnmount=function(){this._isMounted=!1,document.removeEventListener("focusin",this._onFocusIn)},t.prototype.focus=function(){var e=this.ref.current;null!=e&&"function"==typeof e.focus&&e.focus()},t.prototype.render=function(){var e=this.props.children,t=this.state.focused,n={onFocus:this.onFocus,onBlur:this.onBlur};return"function"==typeof e?o().cloneElement(e({focused:t,getRef:this.ref}),n):o().createElement("div",s({ref:this.ref,style:l},n),e)},t}(o().Component);d.propTypes={children:i().oneOfType([i().node,i().func]).isRequired,onBlur:i().func,onFocus:i().func},d.defaultProps={onBlur:function(){},onFocus:function(){}};const p=d},99430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1024)),o=c(n(46444)),a=c(n(30314)),i=c(n(83109));function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}i.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var v=[o.default.string,o.default.shape({appendChild:o.default.func.isRequired})],b=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],w=function(e){function t(){var e,n;d(this,t);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return y(g(g(n=f(this,(e=h(t)).call.apply(e,[this].concat(a))))),"_targetNode",r.default.createRef()),y(g(g(n)),"_elementNode",r.default.createRef()),y(g(g(n)),"_elementParentNode",null),y(g(g(n)),"_tetherInstance",null),n}var n,o,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,o=[{key:"componentDidMount",value:function(){this._createContainer(),this.forceUpdate()}},{key:"componentDidUpdate",value:function(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){var t,n,r=(e.className||"").split(" ").filter((function(e){return e.length>0})),o=(this.props.className||"").split(" ").filter((function(e){return e.length>0}));(t=this._elementParentNode.classList).remove.apply(t,l(r)),(n=this._elementParentNode.classList).add.apply(n,l(o))}this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tetherInstance}},{key:"disable",value:function(){this._tetherInstance.disable()}},{key:"enable",value:function(){this._tetherInstance.enable()}},{key:"on",value:function(e,t,n){this._tetherInstance.on(e,t,n)}},{key:"once",value:function(e,t,n){this._tetherInstance.once(e,t,n)}},{key:"off",value:function(e,t){this._tetherInstance.off(e,t)}},{key:"position",value:function(){this._tetherInstance.position()}},{key:"_runRenders",value:function(){var e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}},{key:"_createTetherInstance",value:function(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i.default(e),this._registerEventListeners()}},{key:"_destroyTetherInstance",value:function(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.props.onUpdate&&e.props.onUpdate.apply(e,n)})),this.on("repositioned",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,n)}))}},{key:"_destroy",value:function(){this._destroyTetherInstance(),this._removeContainer()}},{key:"_createContainer",value:function(){this._removeContainer();var e=this.props,t=e.renderElementTag,n=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=n||""}},{key:"_addContainerToDOM",value:function(){this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.appendChild(this._elementParentNode)}},{key:"_removeContainer",value:function(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.parentNode.removeChild(this._elementParentNode)}},{key:"_update",value:function(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),n=(e.className,e.style),r=(e.renderTarget,e.renderElement,u(e,["children","renderElementTag","renderElementTo","id","className","style","renderTarget","renderElement"])),o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){y(e,t,n[t])}))}return e}({target:this._targetNode.current,element:this._elementParentNode},r),a=t||"";if(this._elementParentNode.id!==a&&(this._elementParentNode.id=a),n){var i=this._elementParentNode.style;Object.keys(n).forEach((function(e){i[e]!==n[e]&&(i[e]=n[e])}))}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(o):this._createTetherInstance(o),this._tetherInstance.position()}},{key:"render",value:function(){var e=this._runRenders(),t=e.targetComponent,n=e.elementComponent;return t?r.default.createElement(r.default.Fragment,null,t,n&&this._elementParentNode&&a.default.createPortal(n,this._elementParentNode)):null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],o&&p(n.prototype,o),c&&p(n,c),t}(r.Component);y(w,"propTypes",{renderElementTag:o.default.string,renderElementTo:o.default.oneOfType(v),attachment:o.default.oneOf(b).isRequired,targetAttachment:o.default.oneOf(b),offset:o.default.string,targetOffset:o.default.string,targetModifier:o.default.string,enabled:o.default.bool,classes:o.default.object,classPrefix:o.default.string,optimizations:o.default.object,constraints:o.default.array,id:o.default.string,className:o.default.string,style:o.default.object,onUpdate:o.default.func,onRepositioned:o.default.func,renderTarget:o.default.func,renderElement:o.default.func,children:function(e,t,n){var o=e.children;if(r.Children.count(o)>0)return new Error("".concat(n," no longer uses children to render components. Please use renderTarget and renderElement instead."))}}),y(w,"defaultProps",{renderElementTag:"div",renderElementTo:null});var x=w;t.default=x},50855:(e,t,n)=>{"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(99430))&&r.__esModule?r:{default:r}},77208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var a,i=n(6663),c=(a=i)&&a.__esModule?a:{default:a},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),a=n[0],i=n[1];return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var u=n.map((function(e){return a[e]})).filter(s);return"string"==typeof u[0]||"function"==typeof i?{key:e,className:i?i.apply(void 0,o(u)):u.join(" ")}:{key:e,style:c.default.apply(void 0,[{}].concat(o(u)))}}},e.exports=t.default},6663:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(e){var n=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e))),n.filter((function(n){return t.call(e,n)}))}e.exports=Object.assign||function(e,t){for(var o,a,i=n(e),c=1;c<arguments.length;c++){o=arguments[c],a=r(Object(o));for(var s=0;s<a.length;s++)i[a[s]]=o[a[s]]}return i}},59211:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),i=new j(r||[]);return a._invoke=function(e,t,n){var r=d;return function(o,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return A()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=S(i,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?h:p,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,i),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",m={};function g(){}function y(){}function v(){}var b={};b[a]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(C([])));x&&x!==n&&r.call(x,a)&&(b=x);var O=v.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,i,c){var s=l(e[o],e,a);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(s.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function C(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:A}}function A(){return{value:t,done:!0}}return y.prototype=O.constructor=v,v.constructor=y,y.displayName=s(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},k(E.prototype),E.prototype[i]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new E(u(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(O),s(O,c,"Generator"),O[a]=function(){return this},O.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},53090:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var n=e.data,r=e.multiSection;function o(e){var o=t(e,2),a=o[0],i=o[1];return r?null===i||i===n[a]-1?null===(a=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(a))?[null,null]:[a,0]:[a,i+1]:0===n||i===n-1?[null,null]:null===i?[null,0]:[null,i+1]}return{next:o,prev:function(e){var o=t(e,2),a=o[0],i=o[1];return r?null===i||0===i?null===(a=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(a))?[null,null]:[a,n[a]-1]:[a,i-1]:0===n||0===i?[null,null]:null===i?[null,n-1]:[null,i-1]},isLast:function(e){return null===o(e)[1]}}}},78858:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},83109:function(e,t){var n,r,o;/*! tether 1.4.7 */r=[],n=function(){"use strict";var e=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var r=null;function o(e){var t=e.getBoundingClientRect(),n={};for(var r in t)n[r]=t[r];try{if(e.ownerDocument!==document){var a=e.ownerDocument.defaultView.frameElement;if(a){var i=o(a);n.top+=i.top,n.bottom+=i.top,n.left+=i.left,n.right+=i.left}}}catch(e){}return n}function a(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var r=e;(r=r.parentNode)&&r&&1===r.nodeType;){var o=void 0;try{o=getComputedStyle(r)}catch(e){}if(null==o)return n.push(r),n;var a=o,i=a.overflow,c=a.overflowX,s=a.overflowY;/(auto|scroll|overlay)/.test(i+s+c)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(o.position)>=0)&&n.push(r)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}var i,c=(i=0,function(){return++i}),s={},u=function(){var e=r;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",c()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),r=e);var t=e.getAttribute("data-tether-id");return void 0===s[t]&&(s[t]=o(e),k((function(){delete s[t]}))),s[t]};function l(){r&&document.body.removeChild(r),r=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var n=t.documentElement,r=o(e),a=u();return r.top-=a.top,r.left-=a.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-n.clientTop,r.left=r.left-n.clientLeft,r.right=t.body.clientWidth-r.width-r.left,r.bottom=t.body.clientHeight-r.height-r.top,r}function p(e){return e.offsetParent||document.documentElement}var f=null;function h(){if(f)return f;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;n===r&&(r=t.clientWidth),document.body.removeChild(t);var o=n-r;return f={width:o,height:o}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),r=b(e).replace(n," ");w(e,r)}}function y(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{g(e,t);var n=b(e)+" "+t;w(e,n)}}function v(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=b(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function b(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function x(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&v(e,n)&&g(e,n)})),t.forEach((function(t){v(e,t)||y(e,t)}))}var O=[],k=function(e){O.push(e)},E=function(){for(var e=void 0;e=O.pop();)e()},S=function(){function n(){t(this,n)}return e(n,[{key:"on",value:function(e,t,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var n=0;n<this.bindings[e].length;)this.bindings[e][n].handler===t?this.bindings[e].splice(n,1):++n}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(;t<this.bindings[e].length;){var a=this.bindings[e][t],i=a.handler,c=a.ctx,s=a.once,u=c;void 0===u&&(u=this),i.apply(u,r),s?this.bindings[e].splice(t,1):++t}}}}]),n}();n.Utils={getActualBoundingClientRect:o,getScrollParents:a,getBounds:d,getOffsetParent:p,extend:m,addClass:y,removeClass:g,hasClass:v,updateClasses:x,defer:k,flush:E,uniqueId:c,Evented:S,getScrollBarSize:h,removeUtilElements:l};var _=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P=(e=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;r=!1,null===o&&(o=Function.prototype);var c=Object.getOwnPropertyDescriptor(o,a);if(void 0!==c){if("value"in c)return c.value;var s=c.get;if(void 0===s)return;return s.call(i)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=a,n=i,r=!0,c=u=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}if(void 0===n)throw new Error("You must include the utils.js file before tether.js");var a=(X=n.Utils).getScrollParents,p=(d=X.getBounds,X.getOffsetParent),y=(m=X.extend,X.addClass),g=X.removeClass,h=(x=X.updateClasses,k=X.defer,E=X.flush,X.getScrollBarSize),l=X.removeUtilElements;function C(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var A,D,T,Z,R=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<t.length;++n){var r=t[n];if(void 0!==e.style[r])return r}}(),M=[],N=function(){M.forEach((function(e){e.position(!1)})),E()};function I(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}A=null,D=null,T=null,Z=function e(){if(void 0!==D&&D>16)return D=Math.min(D-16,250),void(T=setTimeout(e,250));void 0!==A&&I()-A<10||(null!=T&&(clearTimeout(T),T=null),A=I(),N(),D=I()-A)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,Z)}));var F={center:"center",left:"right",right:"left"},L={middle:"middle",top:"bottom",bottom:"top"},B={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},U=function(e,t){var n=e.left,r=e.top;return"auto"===n&&(n=F[t.left]),"auto"===r&&(r=L[t.top]),{left:n,top:r}},H=function(e){var t=e.left,n=e.top;return void 0!==B[e.left]&&(t=B[e.left]),void 0!==B[e.top]&&(n=B[e.top]),{left:t,top:n}};function W(){for(var e={top:0,left:0},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){var n=t.top,r=t.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),e.top+=n,e.left+=r})),e}function z(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var V=function(e){var t=e.split(" "),n=_(t,2);return{top:n[0],left:n[1]}},Y=V,q=function(r){function o(e){var r=this;t(this,o),P(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),M.push(this),this.history=[],this.setOptions(e,!1),n.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(r)})),this.position()}return j(o,r),e(o,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(r,e);var o=this.options,i=o.element,c=o.target,s=o.targetModifier;if(this.element=i,this.target=c,this.targetModifier=s,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),y(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&y(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=Y(this.options.targetAttachment),this.attachment=Y(this.options.attachment),this.offset=V(this.options.offset),this.targetOffset=V(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=a(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((a={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(a.height,e.height-(pageYOffset-e.top)),a.height=Math.min(a.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),a.height=Math.min(innerHeight,a.height),a.height-=2,a.width=Math.min(a.width,e.width-(pageXOffset-e.left)),a.width=Math.min(a.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),a.width=Math.min(innerWidth,a.width),a.width-=2,a.top<pageYOffset&&(a.top=pageYOffset),a.left<pageXOffset&&(a.left=pageXOffset),a);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var n=getComputedStyle(t),r=0;(t.scrollWidth>t.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(r=15);var o=e.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-r,a={width:15,height:.975*o*(o/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15},i=0;o<408&&this.target===document.body&&(i=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(a.height=Math.max(a.height,24));var c=this.target.scrollTop/(t.scrollHeight-o);return a.top=c*(o-a.height-i)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(a.height=Math.max(a.height,24)),a}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&y(this.target,this.getClass("enabled")),y(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),M.forEach((function(t,n){t===e&&M.splice(n,1)})),0===M.length&&l()}},{key:"updateAttachClasses",value:function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;e.top&&o.push(this.getClass("element-attached")+"-"+e.top),e.left&&o.push(this.getClass("element-attached")+"-"+e.left),t.top&&o.push(this.getClass("target-attached")+"-"+t.top),t.left&&o.push(this.getClass("target-attached")+"-"+t.left);var a=[];r.forEach((function(e){a.push(n.getClass("element-attached")+"-"+e),a.push(n.getClass("target-attached")+"-"+e)})),k((function(){void 0!==n._addAttachClasses&&(x(n.element,n._addAttachClasses,a),!1!==n.options.addTargetClasses&&x(n.target,n._addAttachClasses,a),delete n._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var r=U(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,r);var o=this.cache("element-bounds",(function(){return d(e.element)})),a=o.width,i=o.height;if(0===a&&0===i&&void 0!==this.lastSize){var c=this.lastSize;a=c.width,i=c.height}else this.lastSize={width:a,height:i};var s=this.cache("target-bounds",(function(){return e.getTargetBounds()})),u=s,l=z(H(this.attachment),{width:a,height:i}),f=z(H(r),u),m=z(this.offset,{width:a,height:i}),g=z(this.targetOffset,u);l=W(l,m),f=W(f,g);for(var y=s.left+f.left-l.left,v=s.top+f.top-l.top,b=0;b<n.modules.length;++b){var w=n.modules[b].position.call(this,{left:y,top:v,targetAttachment:r,targetPos:s,elementPos:o,offset:l,targetOffset:f,manualOffset:m,manualTargetOffset:g,scrollbarSize:S,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(v=w.top,y=w.left)}var x={page:{top:v,left:y},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-i+innerHeight,left:y-pageXOffset,right:pageXOffset-y-a+innerWidth}},O=this.target.ownerDocument,k=O.defaultView,S=void 0;return k.innerHeight>O.documentElement.clientHeight&&(S=this.cache("scrollbar-size",h),x.viewport.bottom-=S.height),k.innerWidth>O.documentElement.clientWidth&&(S=this.cache("scrollbar-size",h),x.viewport.right-=S.width),-1!==["","static"].indexOf(O.body.style.position)&&-1!==["","static"].indexOf(O.body.parentElement.style.position)||(x.page.bottom=O.body.scrollHeight-v-i,x.page.right=O.body.scrollWidth-y-a),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return p(e.target)})),n=e.cache("target-offsetparent-bounds",(function(){return d(t)})),r=getComputedStyle(t),o=n,a={};if(["Top","Left","Bottom","Right"].forEach((function(e){a[e.toLowerCase()]=parseFloat(r["border"+e+"Width"])})),n.right=O.body.scrollWidth-n.left-o.width+a.right,n.bottom=O.body.scrollHeight-n.top-o.height+a.bottom,x.page.top>=n.top+a.top&&x.page.bottom>=n.bottom&&x.page.left>=n.left+a.left&&x.page.right>=n.right){var i=t.scrollTop,c=t.scrollLeft;x.offset={top:x.page.top-n.top+i-a.top,left:x.page.left-n.left+c-a.left}}}(),this.move(x),this.history.unshift(x),this.history.length>3&&this.history.pop(),t&&E(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var n={};for(var r in e)for(var o in n[r]={},e[r]){for(var a=!1,i=0;i<this.history.length;++i){var c=this.history[i];if(void 0!==c[r]&&!C(c[r][o],e[r][o])){a=!0;break}}a||(n[r][o]=!0)}var s={top:"",left:"",right:"",bottom:""},u=function(e,n){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var r=void 0,o=void 0;e.top?(s.top=0,r=n.top):(s.bottom=0,r=-n.bottom),e.left?(s.left=0,o=n.left):(s.right=0,o=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(o=Math.round(o*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),s[R]="translateX("+o+"px) translateY("+r+"px)","msTransform"!==R&&(s[R]+=" translateZ(0)")}else e.top?s.top=n.top+"px":s.bottom=n.bottom+"px",e.left?s.left=n.left+"px":s.right=n.right+"px"},l=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(s.position="absolute",u(n.page,e.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(s.position="fixed",u(n.viewport,e.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){s.position="absolute";var r=t.cache("target-offsetparent",(function(){return p(t.target)}));p(t.element)!==r&&k((function(){t.element.parentNode.removeChild(t.element),r.appendChild(t.element)})),u(n.offset,e.offset),l=!0}():(s.position="absolute",u({top:!0,left:!0},e.page)),!l)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var d=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},f=!0,h=this.element.parentNode;h&&1===h.nodeType&&"BODY"!==h.tagName&&!d(h);){if("static"!==getComputedStyle(h).position){f=!1;break}h=h.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},y=!1;for(var o in s){var v=s[o];this.element.style[o]!==v&&(y=!0,g[o]=v)}y&&k((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),o}(S);q.modules=[],n.position=N;var G=m(q,n);_=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=(X=n.Utils).getBounds;var m=X.extend,$=(x=X.updateClasses,k=X.defer,["left","top","right","bottom"]);function K(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,n=d(t),r=n,o=getComputedStyle(t);if(t=[r.left,r.top,n.width+r.left,n.height+r.top],e.ownerDocument!==document){var a=e.ownerDocument.defaultView;t[0]+=a.pageXOffset,t[1]+=a.pageYOffset,t[2]+=a.pageXOffset,t[3]+=a.pageYOffset}$.forEach((function(e,n){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[n]+=parseFloat(o["border"+e+"Width"]):t[n]-=parseFloat(o["border"+e+"Width"])}))}(),t}n.modules.push({position:function(e){var t=this,n=e.top,r=e.left,o=e.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",(function(){return d(t.element)})),i=a.height,c=a.width;if(0===c&&0===i&&void 0!==this.lastSize){var s=this.lastSize;c=s.width,i=s.height}var u=this.cache("target-bounds",(function(){return t.getTargetBounds()})),l=u.height,p=u.width,f=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&f.push(t),n&&f.push(n)})),f.forEach((function(e){["left","top","right","bottom"].forEach((function(t){f.push(e+"-"+t)}))}));var h=[],g=m({},o),y=m({},this.attachment);return this.options.constraints.forEach((function(e){var a=e.to,s=e.attachment,u=e.pin;void 0===s&&(s="");var d=void 0,f=void 0;if(s.indexOf(" ")>=0){var m=s.split(" "),v=_(m,2);f=v[0],d=v[1]}else d=f=s;var b=K(t,a);"target"!==f&&"both"!==f||(n<b[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+i>b[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===f&&("top"===g.top&&("bottom"===y.top&&n<b[1]?(n+=l,g.top="bottom",n+=i,y.top="top"):"top"===y.top&&n+i>b[3]&&n-(i-l)>=b[1]&&(n-=i-l,g.top="bottom",y.top="bottom")),"bottom"===g.top&&("top"===y.top&&n+i>b[3]?(n-=l,g.top="top",n-=i,y.top="bottom"):"bottom"===y.top&&n<b[1]&&n+(2*i-l)<=b[3]&&(n+=i-l,g.top="top",y.top="top")),"middle"===g.top&&(n+i>b[3]&&"top"===y.top?(n-=i,y.top="bottom"):n<b[1]&&"bottom"===y.top&&(n+=i,y.top="top"))),"target"!==d&&"both"!==d||(r<b[0]&&"left"===g.left&&(r+=p,g.left="right"),r+c>b[2]&&"right"===g.left&&(r-=p,g.left="left")),"together"===d&&(r<b[0]&&"left"===g.left?"right"===y.left?(r+=p,g.left="right",r+=c,y.left="left"):"left"===y.left&&(r+=p,g.left="right",r-=c,y.left="right"):r+c>b[2]&&"right"===g.left?"left"===y.left?(r-=p,g.left="left",r-=c,y.left="right"):"right"===y.left&&(r-=p,g.left="left",r+=c,y.left="left"):"center"===g.left&&(r+c>b[2]&&"left"===y.left?(r-=c,y.left="right"):r<b[0]&&"right"===y.left&&(r+=c,y.left="left"))),"element"!==f&&"both"!==f||(n<b[1]&&"bottom"===y.top&&(n+=i,y.top="top"),n+i>b[3]&&"top"===y.top&&(n-=i,y.top="bottom")),"element"!==d&&"both"!==d||(r<b[0]&&("right"===y.left?(r+=c,y.left="left"):"center"===y.left&&(r+=c/2,y.left="left")),r+c>b[2]&&("left"===y.left?(r-=c,y.left="right"):"center"===y.left&&(r-=c/2,y.left="right"))),"string"==typeof u?u=u.split(",").map((function(e){return e.trim()})):!0===u&&(u=["top","left","right","bottom"]),u=u||[];var w,x,O=[],k=[];n<b[1]&&(u.indexOf("top")>=0?(n=b[1],O.push("top")):k.push("top")),n+i>b[3]&&(u.indexOf("bottom")>=0?(n=b[3]-i,O.push("bottom")):k.push("bottom")),r<b[0]&&(u.indexOf("left")>=0?(r=b[0],O.push("left")):k.push("left")),r+c>b[2]&&(u.indexOf("right")>=0?(r=b[2]-c,O.push("right")):k.push("right")),O.length&&(w=void 0,w=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),h.push(w),O.forEach((function(e){h.push(w+"-"+e)}))),k.length&&(x=void 0,x=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),h.push(x),k.forEach((function(e){h.push(x+"-"+e)}))),(O.indexOf("left")>=0||O.indexOf("right")>=0)&&(y.left=g.left=!1),(O.indexOf("top")>=0||O.indexOf("bottom")>=0)&&(y.top=g.top=!1),g.top===o.top&&g.left===o.left&&y.top===t.attachment.top&&y.left===t.attachment.left||(t.updateAttachClasses(y,g),t.trigger("update",{attachment:y,targetAttachment:g}))})),k((function(){!1!==t.options.addTargetClasses&&x(t.target,h,f),x(t.element,h,f)})),{top:n,left:r}}});var X,d=(X=n.Utils).getBounds,x=X.updateClasses;return k=X.defer,n.modules.push({position:function(e){var t=this,n=e.top,r=e.left,o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,i=o.width,c=this.getTargetBounds(),s=n+a,u=r+i,l=[];n<=c.bottom&&s>=c.top&&["left","right"].forEach((function(e){var t=c[e];t!==r&&t!==u||l.push(e)})),r<=c.right&&u>=c.left&&["top","bottom"].forEach((function(e){var t=c[e];t!==n&&t!==s||l.push(e)}));var p=[],f=[],h=["left","top","right","bottom"];return p.push(this.getClass("abutted")),h.forEach((function(e){p.push(t.getClass("abutted")+"-"+e)})),l.length&&f.push(this.getClass("abutted")),l.forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),k((function(){!1!==t.options.addTargetClasses&&x(t.target,f,p),x(t.element,f,p)})),!0}}),_=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n.modules.push({position:function(e){var t=e.top,n=e.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:t,left:n}));var o=void 0,a=void 0;if("string"==typeof r){(r=r.split(" "))[1]=r[1]||r[0];var i=_(r,2);o=i[0],a=i[1],o=parseFloat(o,10),a=parseFloat(a,10)}else o=r.top,a=r.left;return{top:t+=o,left:n+=a}}}}),G},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},99874:e=>{"use strict";var t=function(){};e.exports=t},13615:function(e){
|
|
63
63
|
/*! @license DOMPurify 2.3.10 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.10/LICENSE */
|
|
64
|
-
e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a},r.apply(null,arguments)}function o(e){return a(e)||i(e)||c(e)||u()}function a(e){if(Array.isArray(e))return s(e)}function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(){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 l=Object.hasOwnProperty,d=Object.setPrototypeOf,p=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,y=Object.create,v="undefined"!=typeof Reflect&&Reflect,b=v.apply,w=v.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var x=D(Array.prototype.forEach),O=D(Array.prototype.pop),k=D(Array.prototype.push),E=D(String.prototype.toLowerCase),S=D(String.prototype.match),_=D(String.prototype.replace),P=D(String.prototype.indexOf),j=D(String.prototype.trim),C=D(RegExp.prototype.test),A=T(TypeError);function D(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function T(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function Z(e,t,n){n=n||E,d&&d(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var a=n(o);a!==o&&(p(t)||(t[r]=a),o=a)}e[o]=!0}return e}function R(e){var t,n=y(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function M(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return D(n.get);if("function"==typeof n.value)return D(n.value)}e=f(e)}function r(e){return console.warn("fallback value for",e),null}return r}var N=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),B=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),U=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Y=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=g(/<%[\w\W]*|[\w\W]*%>/gm),$=g(/^data-[\-\w.\u00B7-\uFFFF]/),K=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),J=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,a=t.document,i=t.DocumentFragment,c=t.HTMLTemplateElement,s=t.Node,u=t.Element,l=t.NodeFilter,d=t.NamedNodeMap,p=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,f=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,y=u.prototype,v=M(y,"cloneNode"),b=M(y,"nextSibling"),w=M(y,"childNodes"),D=M(y,"parentNode");if("function"==typeof c){var T=a.createElement("template");T.content&&T.content.ownerDocument&&(a=T.content.ownerDocument)}var oe=ne(g,r),ae=oe?oe.createHTML(""):"",ie=a,ce=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,le=ie.getElementsByTagName,de=r.importNode,pe={};try{pe=R(a).documentMode?a.documentMode:{}}catch(e){}var fe={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var he,me,ge=q,ye=G,ve=$,be=K,we=Q,xe=J,Oe=X,ke=null,Ee=Z({},[].concat(o(N),o(I),o(F),o(B),o(H))),Se=null,_e=Z({},[].concat(o(W),o(z),o(V),o(Y))),Pe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,Ce=null,Ae=!0,De=!0,Te=!1,Ze=!1,Re=!1,Me=!1,Ne=!1,Ie=!1,Fe=!1,Le=!1,Be=!0,Ue=!0,He=!1,We={},ze=null,Ve=Z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,qe=Z({},["audio","video","img","source","image","track"]),Ge=null,$e=Z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Qe="http://www.w3.org/1999/xhtml",Je=Qe,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=a.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},it=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=R(t),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:E,ke="ALLOWED_TAGS"in t?Z({},t.ALLOWED_TAGS,me):Ee,Se="ALLOWED_ATTR"in t?Z({},t.ALLOWED_ATTR,me):_e,Ge="ADD_URI_SAFE_ATTR"in t?Z(R($e),t.ADD_URI_SAFE_ATTR,me):$e,Ye="ADD_DATA_URI_TAGS"in t?Z(R(qe),t.ADD_DATA_URI_TAGS,me):qe,ze="FORBID_CONTENTS"in t?Z({},t.FORBID_CONTENTS,me):Ve,je="FORBID_TAGS"in t?Z({},t.FORBID_TAGS,me):{},Ce="FORBID_ATTR"in t?Z({},t.FORBID_ATTR,me):{},We="USE_PROFILES"in t&&t.USE_PROFILES,Ae=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ie=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Le=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,Be=!1!==t.SANITIZE_DOM,Ue=!1!==t.KEEP_CONTENT,He=t.IN_PLACE||!1,Oe=t.ALLOWED_URI_REGEXP||Oe,Je=t.NAMESPACE||Qe,t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Pe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Pe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Pe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(De=!1),Fe&&(Ie=!0),We&&(ke=Z({},o(H)),Se=[],!0===We.html&&(Z(ke,N),Z(Se,W)),!0===We.svg&&(Z(ke,I),Z(Se,z),Z(Se,Y)),!0===We.svgFilters&&(Z(ke,F),Z(Se,z),Z(Se,Y)),!0===We.mathMl&&(Z(ke,B),Z(Se,V),Z(Se,Y))),t.ADD_TAGS&&(ke===Ee&&(ke=R(ke)),Z(ke,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===_e&&(Se=R(Se)),Z(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&Z(Ge,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(ze===Ve&&(ze=R(ze)),Z(ze,t.FORBID_CONTENTS,me)),Ue&&(ke["#text"]=!0),Re&&Z(ke,["html","head","body"]),ke.table&&(Z(ke,["tbody"]),delete je.tbody),m&&m(t),rt=t)},ct=Z({},["mi","mo","mn","ms","mtext"]),st=Z({},["foreignobject","desc","title","annotation-xml"]),ut=Z({},["title","style","font","a","script"]),lt=Z({},I);Z(lt,F),Z(lt,L);var dt=Z({},B);Z(dt,U);var pt=function(e){var t=D(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});var n=E(e.tagName),r=E(t.tagName);return e.namespaceURI===Xe?t.namespaceURI===Qe?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(lt[n]):e.namespaceURI===Ke?t.namespaceURI===Qe?"math"===n:t.namespaceURI===Xe?"math"===n&&st[r]:Boolean(dt[n]):e.namespaceURI===Qe&&!(t.namespaceURI===Xe&&!st[r])&&!(t.namespaceURI===Ke&&!ct[r])&&!dt[n]&&(ut[n]||!lt[n])},ft=function(e){k(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},ht=function(e,t){try{k(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){k(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Ie||Fe)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Ne)e="<remove></remove>"+e;else{var r=S(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(Je===Qe)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(Je,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),Je===Qe?le.call(t,Re?"html":"body")[0]:Re?t.documentElement:i},gt=function(e){return se.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},yt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},vt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},bt=function(e,t,r){fe[e]&&x(fe[e],(function(e){e.call(n,t,r,rt)}))},wt=function(e){var t;if(bt("beforeSanitizeElements",e,null),yt(e))return ft(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return ft(e),!0;var r=me(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return ft(e),!0;if("select"===r&&C(/<template/i,e.innerHTML))return ft(e),!0;if(!ke[r]||je[r]){if(!je[r]&&Ot(r)){if(Pe.tagNameCheck instanceof RegExp&&C(Pe.tagNameCheck,r))return!1;if(Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(r))return!1}if(Ue&&!ze[r]){var o=D(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&o)for(var i=a.length-1;i>=0;--i)o.insertBefore(v(a[i],!0),b(e))}return ft(e),!0}return e instanceof u&&!pt(e)?(ft(e),!0):"noscript"!==r&&"noembed"!==r||!C(/<\/no(script|embed)/i,e.innerHTML)?(Ze&&3===e.nodeType&&(t=e.textContent,t=_(t,ge," "),t=_(t,ye," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(ft(e),!0)},xt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in a||n in ot))return!1;if(De&&!Ce[t]&&C(ve,t));else if(Ae&&C(be,t));else if(!Se[t]||Ce[t]){if(!(Ot(e)&&(Pe.tagNameCheck instanceof RegExp&&C(Pe.tagNameCheck,e)||Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(e))&&(Pe.attributeNameCheck instanceof RegExp&&C(Pe.attributeNameCheck,t)||Pe.attributeNameCheck instanceof Function&&Pe.attributeNameCheck(t))||"is"===t&&Pe.allowCustomizedBuiltInElements&&(Pe.tagNameCheck instanceof RegExp&&C(Pe.tagNameCheck,n)||Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(n))))return!1}else if(Ge[t]);else if(C(Oe,_(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==P(n,"data:")||!Ye[e])if(Te&&!C(we,_(n,xe,"")));else if(n)return!1;return!0},Ot=function(e){return e.indexOf("-")>0},kt=function(t){var r,o,a,i;bt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(i=c.length;i--;){var u=r=c[i],l=u.name,d=u.namespaceURI;if(o="value"===l?r.value:j(r.value),a=me(l),s.attrName=a,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,bt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(ht(l,t),s.keepAttr))if(C(/\/>/i,o))ht(l,t);else{Ze&&(o=_(o,ge," "),o=_(o,ye," "));var p=me(t.nodeName);if(xt(p,a,o)){if(oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(d);else switch(g.getAttributeType(p,a)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{d?t.setAttributeNS(d,l,o):t.setAttribute(l,o),O(n.removed)}catch(e){}}}}bt("afterSanitizeAttributes",t,null)}},Et=function e(t){var n,r=gt(t);for(bt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)bt("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof i&&e(n.content),kt(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,a){var c,u,l,d,p;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!vt(o)){if("function"!=typeof o.toString)throw A("toString is not a function");if("string"!=typeof(o=o.toString()))throw A("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(vt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Me||it(a),n.removed=[],"string"==typeof o&&(He=!1),He){if(o.nodeName){var f=me(o.nodeName);if(!ke[f]||je[f])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(u=(c=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?c=u:c.appendChild(u);else{if(!Ie&&!Ze&&!Re&&-1===o.indexOf("<"))return oe&&Le?oe.createHTML(o):o;if(!(c=mt(o)))return Ie?null:Le?ae:""}c&&Ne&&ft(c.firstChild);for(var h=gt(He?o:c);l=h.nextNode();)3===l.nodeType&&l===d||wt(l)||(l.content instanceof i&&Et(l.content),kt(l),d=l);if(d=null,He)return o;if(Ie){if(Fe)for(p=ue.call(c.ownerDocument);c.firstChild;)p.appendChild(c.firstChild);else p=c;return Se.shadowroot&&(p=de.call(r,p,!0)),p}var m=Re?c.outerHTML:c.innerHTML;return Re&&ke["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&C(ee,c.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+c.ownerDocument.doctype.name+">\n"+m),Ze&&(m=_(m,ge," "),m=_(m,ye," ")),oe&&Le?oe.createHTML(m):m},n.setConfig=function(e){it(e),Me=!0},n.clearConfig=function(){rt=null,Me=!1},n.isValidAttribute=function(e,t,n){rt||it({});var r=me(e),o=me(t);return xt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],k(fe[e],t))},n.removeHook=function(e){if(fe[e])return O(fe[e])},n.removeHooks=function(e){fe[e]&&(fe[e]=[])},n.removeAllHooks=function(){fe={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},55721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o,a,i){var c=new Date(0);return c.setUTCFullYear(e,t,n),c.setUTCHours(r,o,a,i),c},e.exports=t.default},25855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){var n=e.formatToParts(t);return n[n.length-1].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)},e.exports=t.default},32734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,a,d;if(""===e)return 0;if(r=c.timezoneZ.exec(e))return 0;if(r=c.timezoneHH.exec(e))return u(d=parseInt(r[1],10))?-d*i:NaN;if(r=c.timezoneHHMM.exec(e)){d=parseInt(r[1],10);var p=parseInt(r[2],10);return u(d,p)?(a=Math.abs(d)*i+6e4*p,d>0?-a:a):NaN}if(function(e){if(l[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),l[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var f=n?t:function(e){return(0,o.default)(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),h=s(f,e),m=n?h:function(e,t,n){var r=e.getTime()-t,o=s(new Date(r),n);if(t===o)return t;r-=o-t;var a=s(new Date(r),n);if(o===a)return o;return Math.max(o,a)}(t,h,e);return-m}return NaN};var r=a(n(2712)),o=a(n(55721));function a(e){return e&&e.__esModule?e:{default:e}}var i=36e5,c={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function s(e,t){var n=(0,r.default)(e,t),a=(0,o.default)(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),c=i%1e3;return a-(i-=c>=0?c:1e3+c)}function u(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var l={};e.exports=t.default},7048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;t.default=n,e.exports=t.default},2712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=function(e){if(!r[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"06/25/2014 00:00:00"===t;r[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return r[e]}(t);return o.formatToParts?function(e,t){try{for(var r=e.formatToParts(t),o=[],a=0;a<r.length;a++){var i=n[r[a].type];i>=0&&(o[i]=parseInt(r[a].value,10))}return o}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(o,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(o,e)};var n={year:0,month:1,day:2,hour:3,minute:4,second:5};var r={};e.exports=t.default},33826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(25855)),o=a(n(32734));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e?(0,o.default)(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function c(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function s(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+c(Math.floor(o/60),2)+n+c(Math.floor(o%60),2)}function u(e,t){return e%60==0?(e>0?"-":"+")+c(Math.abs(e)/60,2):s(e,t)}var l={X:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);if(0===o)return"Z";switch(t){case"X":return u(o);case"XXXX":case"XX":return s(o);default:return s(o,":")}},x:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"x":return u(o);case"xxxx":case"xx":return s(o);default:return s(o,":")}},O:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+c(a,2)}(o,":");default:return"GMT"+s(o,":")}},z:function(e,t,n,o){var a=o._originalDate||e;switch(t){case"z":case"zz":case"zzz":return(0,r.default)("short",a,o);default:return(0,r.default)("long",a,o)}}};t.default=l,e.exports=t.default},56558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=String(t),s=n||{},u=i.match(c);if(u){var l=(0,a.default)(e,s);i=u.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],a=e.replace(t,"'"+o.default[t[0]](l,t,null,s)+"'");return r?a.substring(0,n-1)+a.substring(n+1):a}),i)}return(0,r.default)(e,i,s)};var r=i(n(15616)),o=i(n(33826)),a=i(n(21476));function i(e){return e&&e.__esModule?e:{default:e}}var c=/([xXOz]+)|''|'(''|[^'])+('|$)/g;e.exports=t.default},26645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var c=(0,r.default)(i);return c.timeZone=t,(0,o.default)((0,a.default)(e,t),n,c)};var r=i(n(46420)),o=i(n(56558)),a=i(n(1132));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},24992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return-(0,o.default)(e,t)};var r,o=(r=n(32734))&&r.__esModule?r:{default:r};e.exports=t.default},70722:(e,t,n)=>{"use strict";e.exports={format:n(56558),formatInTimeZone:n(26645),getTimezoneOffset:n(24992),toDate:n(21476),utcToZonedTime:n(1132),zonedTimeToUtc:n(68516)}},21476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},i=null==n.additionalDigits?2:(0,r.default)(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var c=l(e),s=d(c.date,i),u=s.year,h=s.restDateString,m=p(h,u);if(isNaN(m))return new Date(NaN);if(m){var g,y=m.getTime(),v=0;if(c.time&&(v=f(c.time),isNaN(v)))return new Date(NaN);if(c.timeZone||n.timeZone){if(g=(0,a.default)(c.timeZone||n.timeZone,new Date(y+v)),isNaN(g))return new Date(NaN)}else g=(0,o.default)(new Date(y+v)),g=(0,o.default)(new Date(y+v+g));return new Date(y+v+g)}return new Date(NaN)};var r=c(n(82084)),o=c(n(93561)),a=c(n(32734)),i=c(n(7048));function c(e){return e&&e.__esModule?e:{default:e}}var s=36e5,u={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:i.default};function l(e){var t,n={},r=u.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=u.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){var o=u.timeZone.exec(t);o?(n.time=t.replace(o[1],""),n.timeZone=o[1].trim()):n.time=t}return n}function d(e,t){var n,r=u.YYY[t],o=u.YYYYY[t];if(n=u.YYYY.exec(e)||o.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=u.YY.exec(e)||r.exec(e)){var i=n[1];return{year:100*parseInt(i,10),restDateString:e.slice(i.length)}}return{year:null}}function p(e,t){if(null===t)return null;var n,r,o,a;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=u.MM.exec(e))return r=new Date(0),v(t,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=u.DDD.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=y(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,i)?(r.setUTCFullYear(t,0,i),r):new Date(NaN)}if(n=u.MMDD.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var c=parseInt(n[2],10);return v(t,o,c)?(r.setUTCFullYear(t,o,c),r):new Date(NaN)}if(n=u.Www.exec(e))return b(t,a=parseInt(n[1],10)-1)?h(t,a):new Date(NaN);if(n=u.WwwD.exec(e)){a=parseInt(n[1],10)-1;var s=parseInt(n[2],10)-1;return b(t,a,s)?h(t,a,s):new Date(NaN)}return null}function f(e){var t,n,r;if(t=u.HH.exec(e))return w(n=parseFloat(t[1].replace(",",".")))?n%24*s:NaN;if(t=u.HHMM.exec(e))return w(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*s+6e4*r:NaN;if(t=u.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return w(n,r,o)?n%24*s+6e4*r+1e3*o:NaN}return null}function h(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var m=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}function v(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=y(e);if(r&&n>g[t])return!1;if(!r&&n>m[t])return!1}return!0}function b(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function w(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}e.exports=t.default},1132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=(0,o.default)(e,n),i=(0,r.default)(t,a,!0),c=new Date(a.getTime()-i),s=new Date(0);return s.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),s.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),s};var r=a(n(32734)),o=a(n(21476));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},68516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("string"==typeof e&&!e.match(a.default)){var s=(0,r.default)(n);return s.timeZone=t,(0,o.default)(e,s)}var u=(0,o.default)(e,n),l=(0,c.default)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),d=(0,i.default)(t,new Date(l));return new Date(l+d)};var r=s(n(46420)),o=s(n(21476)),a=s(n(7048)),i=s(n(32734)),c=s(n(55721));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},61086:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},11259:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},44822:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>o})},46927:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},3640:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},32208:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,{Z:()=>o})},72753:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},56265:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},56315:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(83029);var o=n(61917),a=n(56265);function i(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},91411:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},45915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(88911);var o=n(72753),a=n(61917);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(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.")}()}},73891:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},61917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>323===e?"chunk-ckeditor.0daca490d0c15d54cad6.js":"chunk-"+({85:"code-editor",198:"vendor-fontawesome",614:"vendor-icons",802:"html-editor",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"08a2a02d9c0db83fa698",198:"d704ec46678f581983ea",200:"52e32c3f09bdced3ade7",594:"0f8853377ce7623bcbe9",611:"baffe880b59110d7742b",614:"a816a8531b51bfa5c6b4",701:"88ca86abd92e4e3adde7",802:"4d47141a6f7634cd344a",817:"46c1d0c36174f8e60a28",877:"3df783c1b2350c047b5d"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-widget-bundle:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+o){c=d;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.j=377,i.p="/",(()=>{var e={377:0,718:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,c,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)s(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_widget_bundle=self.webpackChunktocco_widget_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0;var c={};return(()=>{"use strict";i.r(c);var e,t,n=i(45697),r=i.n(n),o=i(50600),a=i(55954),s=i(22731),u=i(19743),l=i(45430),d=i(47490),p=i(67787),f=i(67909),h=i(14218),m=i(91411),g=i(76538),y=i(58804),v=i(24875),b=i(30759),w=i(7281),x=v.FS.color("secondaryLight"),O=v.FS.color("paper"),k=v.FS.color("secondary"),E=(0,y.vJ)(e||(e=(0,m.Z)(["\n .react-datepicker-popper {\n && {\n z-index: 5;\n margin: 0;\n }\n }\n\n .react-datepicker {\n && {\n * {\n box-sizing: content-box; // prevent box-sizing problems in widgets\n }\n border-radius: 0;\n border: 1px solid ",";\n ","\n\n .react-datepicker__header {\n ","\n border-radius: 0;\n background-color: ",";\n padding-bottom: 0;\n }\n\n .react-datepicker__navigation {\n top: 3px;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n margin-top: ",";\n }\n ","\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon:before {\n border-color: "," !important;\n border-width: 1.5px 1.5px 0 0;\n }\n\n .react-datepicker__header__dropdown {\n font-size: ",";\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n font-size: ",";\n }\n }\n\n .react-datepicker__current-month {\n ","\n }\n\n .react-datepicker__day-name {\n color: ",";\n font-size: ",";\n }\n\n .react-datepicker__day,\n .react-datepicker__day-name {\n border: 1px solid transparent;\n padding: ",";\n outline: none;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n padding: ",";\n }\n }\n\n .react-datepicker__day--selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n\n &:focus {\n border-color: ",";\n background-color: ",";\n }\n }\n\n .react-datepicker__day--keyboard-selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n }\n\n .react-datepicker__day--today,\n .react-datepicker__month-text--today,\n .react-datepicker__quarter-text--today,\n .react-datepicker__year-text--today {\n border-radius: 50%;\n border-color: ",";\n }\n\n .react-datepicker__today-button {\n ","\n background-color: ",";\n border-top: 0;\n padding-bottom: ",";\n padding-top: 0;\n\n &:hover > button {\n background-color: ",";\n }\n }\n\n .react-datepicker__input-time-container {\n display: flex;\n justify-content: center;\n margin: 5px 0;\n\n .react-datepicker-time__input {\n margin: 0;\n\n input {\n text-align: center;\n }\n }\n }\n\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {\n width: 190px;\n margin: 8px auto 0;\n display: grid;\n grid-template-columns: 100px 85px;\n }\n\n .react-datepicker__month-read-view,\n .react-datepicker__year-read-view {\n color: ",";\n visibility: visible !important;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n font-size: ",";\n }\n\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type,\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n border-radius: 0;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n top: 6px;\n right: -10px;\n width: 5px;\n height: 5px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: -8px;\n }\n }\n\n .react-datepicker__year-read-view--down-arrow {\n right: -4px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: 3px;\n }\n }\n\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-color: ",";\n background-color: ",";\n border-radius: 50%;\n color: ",";\n }\n\n .react-datepicker__year-dropdown {\n left: 40%;\n top: 45px;\n }\n\n .react-datepicker__navigation--years-upcoming:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 8px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(-45deg);\n }\n\n .react-datepicker__navigation--years-previous:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 6px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(135deg);\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ",";\n border-radius: 0;\n border-color: ",";\n box-shadow: 0 0 5px rgb(0 0 0 / 30%);\n }\n\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: ",";\n }\n\n .react-datepicker__month-option--selected {\n left: 10px;\n }\n\n .react-datepicker__day--outside-month {\n color: ",";\n }\n }\n }\n"])),x,(0,b.Z)(),(0,b.Z)(),x,w.Z.space(-.6),"\n .react-datepicker__current-month.react-datepicker__current-month--hasYearDropdown.react-datepicker__current-month--hasMonthDropdown {\n // Avoid showing the month and year a second time when it has month and year dropdowns.\n display: none;\n }\n",O,w.Z.font(2.85),w.Z.font(1.8),(0,b.Z)({fontWeight:v.FS.fontWeight("bold")}),O,w.Z.font(-2),w.Z.space(-.6),w.Z.space(-1.2),k,k,k,x,x,x,k,(0,b.Z)(),O,w.Z.space(-.5),(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),O,w.Z.font(0),x,x,O,v.FS.color("text"),v.FS.color("text"),O,x,(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),(function(e){var t=e.theme;return(0,g.$n)(.7,t.colors.text)})),S=i(85893);const _=function(){return(0,S.jsx)(S.Fragment,{children:t||(t=(0,S.jsx)(E,{}))})};var P=i(23369),j=i(98773);const C={propTypes:r().shape({embedType:r().oneOf(j.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})};var A=i(74806),D=i(50558),T=i(44049),Z="addressUpdate/SET_FORM_DEFINITION",R="addressUpdate/LOAD_VIEW",M="addressUpdate/SET_ENTITY",N="addressUpdate/SUBMIT_FORM",I="addressUpdate/UNLOAD_VIEW",F="addressUpdate/FIRE_TOUCHED",L="addressUpdate/SET_TOUCHED",B="addressUpdate/SET_FORM_NAME",U="addressUpdate/TOCH_ALL_FIELDS",H="addressUpdate/SET_FIELD_DEFINITIONS",W=function(e){return{type:Z,payload:{formDefinition:e}}},z=function(e){return{type:M,payload:{entity:e}}},V=function(e){return{type:H,payload:{fieldDefinitions:e}}},Y=i(1024),q=i(50258),G=i(85208),$=i(59713),K=i.n($),X=i(86386),Q=i(65275),J=i(35997);function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){K()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ne=(0,X.Z)({form:"addressForm",destroyOnUnmount:!1})((function(e){var t=e.entity,n=e.formDefinition,r=e.formValues,o=e.submitForm,a=e.intl,i=e.submitting,c=e.valid,s=e.anyTouched,u=e.fireTouched,l=e.dirty,d=e.formErrors,p=e.form,h=e.mode,m=!(null!=t&&t.editable),g=(0,Y.useRef)(null);J.Z.useAutofocus(g);var y=f.Z.hooks.useFormEvents({submitForm:o});(0,Y.useEffect)((function(){u(l&&s)}),[l,s,u]);var v={save:function(e){return m?null:(0,S.jsx)(Q.Z,te({intl:a,submitting:i,mode:h,hasErrors:!c&&s,formErrors:d},e))}};return(0,S.jsx)("form",te(te({},y),{},{ref:g,children:(0,S.jsx)(f.Z.FormBuilder,{entity:t,formName:p,formDefinition:n,formValues:r,fieldMappingType:"editable",mode:h,readonly:m,customRenderedActions:v})}))}));var re={submitForm:function(){return{type:N}},fireTouched:function(e){return{type:F,payload:{touched:e}}}};const oe=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,entity:e.addressUpdate.entity,formValues:(0,G.Z)("addressForm")(e),formErrors:f.Z.selectors.getFormErrors("addressForm")(e)}}),re)((0,A.ZP)(ne));var ae;const ie=function(e){var t=e.formDefinition,n=e.formInitialValues,r=e.fieldDefinitions,o=e.mode,a=e.unloadView;(0,Y.useEffect)((function(){return function(){a()}}),[a]);var i=f.Z.hooks.useAsyncValidation({formInitialValues:n,fieldDefinitions:r,formDefinition:t,mode:o}),c=f.Z.hooks.useSyncValidation({fieldDefinitions:r,formDefinition:t}),s=r.map((function(e){return e.path}));return(0,S.jsxs)(S.Fragment,{children:[ae||(ae=(0,S.jsx)(d.Z.Notifications,{})),(0,S.jsx)(q.Z,{required:[n],children:(0,S.jsx)(oe,{validate:c,asyncValidate:i,asyncBlurFields:s})})]})};var ce={unloadView:function(){return{type:I}}};const se=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,formInitialValues:(0,T.Z)("addressForm")(e),fieldDefinitions:e.addressUpdate.fieldDefinitions}}),ce)((0,A.ZP)(ie));var ue,le=i(30496),de=i(81770),pe=(ue={},K()(ue,B,de.Z.singleTransferReducer("formName")),K()(ue,Z,de.Z.singleTransferReducer("formDefinition")),K()(ue,M,de.Z.singleTransferReducer("entity")),K()(ue,L,de.Z.singleTransferReducer("touched")),K()(ue,H,de.Z.singleTransferReducer("fieldDefinitions")),ue),fe={formName:"",formDefinition:{},entity:{},touched:!1,fieldDefinitions:[],mode:"update"};const he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0,n=pe[t.type];return n?n(e,t):e};var me=i(87757),ge=i.n(me),ye=i(64738),ve=i(92708),be=i(34857),we=i(63094),xe=i(1084),Oe=i(92745),ke=i(91755);function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){K()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=ge().mark(je),Pe=ge().mark(Ce);function je(e,t,n){var r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r={method:"PATCH",queryParams:{_widget_key:e},body:t,acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[409]},a.next=3,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 3:if("VALIDATION_FAILED"!==(o=a.sent).body.errorCode){a.next=6;break}throw new ke.t(f.Z.validationErrorToFormError(t,n,o.body.errors));case 6:if(409!==o.status||!o.body.information){a.next=8;break}throw new we.Z.InformationError(o.body.information);case 8:return a.abrupt("return",o.body);case 9:case"end":return a.stop()}}),_e)}function Ce(e,t){var n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,be.RE)(we.Z.buildRequestQuery,t);case 2:return n=a.sent,r={method:"GET",queryParams:Se(Se({},we.Z.requestQueryToUrlParams(n)),{},{_permissions:!0,_omitLinks:!0,_widget_key:e})},a.next=6,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 6:return o=a.sent,a.abrupt("return",o.body);case 8:case"end":return a.stop()}}),Pe)}var Ae=ge().mark(ze),De=ge().mark(Ve),Te=ge().mark(Ye),Ze=ge().mark(qe),Re=ge().mark(Ge),Me=ge().mark($e),Ne=ge().mark(Ke),Ie=ge().mark(Xe),Fe=ge().mark(Qe),Le=ge().mark(Je),Be=function(e){return e.addressUpdate},Ue=function(e){return e.input},He="addressForm",We={formId:He,stateSelector:Be};function ze(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.$6)([(0,be.Fm)(R,Ge),(0,be.Fm)(I,qe),(0,be.Fm)(U,f.Z.sagasUtils.touchAllFields,We),(0,be.ib)(N,Xe),(0,be.ib)(F,Qe)]);case 2:case"end":return e.stop()}}),Ae)}function Ve(e,t){var n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,be.RE)(we.Z.fetchForm,e,t);case 2:return n=o.sent,o.next=5,(0,be.gz)(W(n));case 5:return o.next=7,(0,be.RE)(f.Z.getFieldDefinitions,n);case 7:return r=o.sent,o.next=10,(0,be.gz)(V(r));case 10:return o.abrupt("return",{formDefinition:n,fieldDefinitions:r});case 11:case"end":return o.stop()}}),De)}function Ye(e){var t,n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=P.Z.getWidgetConfigKey(),o.next=3,(0,be.RE)(f.Z.getUsedPaths,e);case 3:return n=o.sent,o.next=6,(0,be.RE)(Ce,t,{paths:n});case 6:return r=o.sent,o.next=9,(0,be.gz)(z(r));case 9:return o.abrupt("return",r);case 10:case"end":return o.stop()}}),Te)}function qe(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.gz)(z(null));case 2:return e.next=4,(0,be.gz)(ye.Z.destroy(He));case 4:case"end":return e.stop()}}),Ze)}function Ge(){var e,t;return ge().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,be.Ys)(Ue);case 2:return e=n.sent,t=e.formName,n.next=6,(0,be.RE)(Ve,t,"detail");case 6:return n.next=8,(0,be.RE)(Je);case 8:case"end":return n.stop()}}),Re)}function $e(e,t){var n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=P.Z.getWidgetConfigKey(),r.next=3,(0,be.RE)(je,n,e,t);case 3:return r.next=5,(0,be.RE)(Je);case 5:return r.next=7,(0,be.gz)(d.Z.toaster({type:"success",title:"client.address-update.saveSuccessfulTitle",body:"client.address-update.saveSuccessfulMessage"}));case 7:return r.next=9,(0,be.gz)(ye.Z.stopSubmit(He));case 9:case"end":return r.stop()}}),Me)}function Ke(){var e,t,n,r,o,a;return ge().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,be.RE)(f.Z.sagasUtils.getCurrentEntityState,We);case 2:return e=i.sent,t=e.formValues,n=e.initialValues,r=e.mode,o=e.fieldDefinitions,a=e.formDefinition,i.next=10,(0,be.RE)(f.Z.submitValidation,t,n,o,a,r);case 10:case"end":return i.stop()}}),Ne)}function Xe(){var e,t,n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,(0,be.Ys)((0,ve.Z)(He));case 3:if(r.sent){r.next=9;break}return r.next=7,(0,be.RE)(f.Z.sagasUtils.handleInvalidForm,We);case 7:r.next=22;break;case 9:return r.next=11,(0,be.gz)(ye.Z.startSubmit(He));case 11:return r.next=13,(0,be.Ys)(Be);case 13:return e=r.sent,t=e.fieldDefinitions,r.next=17,(0,be.RE)(Ke);case 17:return r.next=19,(0,be.RE)(f.Z.sagasUtils.getEntityForSubmit,We);case 19:return n=r.sent,r.next=22,(0,be.RE)($e,n,t);case 22:r.next=28;break;case 24:return r.prev=24,r.t0=r.catch(0),r.next=28,(0,be.RE)(f.Z.sagasUtils.handleSubmitError,We,r.t0);case 28:case"end":return r.stop()}}),Ie,null,[[0,24]])}function Qe(e){var t,n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.touched,a.next=4,(0,be.Ys)(Be);case 4:if(r=a.sent,o=r.touched,n===o){a.next=9;break}return a.next=9,(0,be.gz)({type:L,payload:{touched:n}});case 9:case"end":return a.stop()}}),Fe)}function Je(){var e,t,n,r,o,a,i,c,s,u=arguments;return ge().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return e=!(u.length>0&&void 0!==u[0])||u[0],l.next=3,(0,be.Ys)(Be);case 3:return t=l.sent,n=t.fieldDefinitions,r=t.formName,o=t.mode,l.next=9,(0,be.RE)(Ye,n);case 9:return a=l.sent,l.next=12,(0,be.RE)(Oe.Z.getFlattenEntity,a);case 12:return i=l.sent,l.next=15,(0,be.RE)(xe.Z.enhanceEntityWithDisplayExpressions,i,r,n,o);case 15:return l.next=17,(0,be.RE)(xe.Z.enhanceEntityWithDisplays,i,n);case 17:return l.next=19,(0,be.RE)(f.Z.entityToFormValues,i,n);case 19:return c=l.sent,s=e?{}:{keepDirty:!0,keepValues:!1},l.next=23,(0,be.gz)(ye.Z.initialize(He,c,s));case 23:case"end":return l.stop()}}),Le)}const et={addressUpdate:he,form:le.Z};var tt,nt,rt=[ze],ot="address-update",at=function(e,t,n,r){P.Z.setInputEnvs(t);var i=(0,S.jsxs)(S.Fragment,{children:[tt||(tt=(0,S.jsx)(_,{})),nt||(nt=(0,S.jsx)(se,{}))]}),c=a.Z.createStore(et,rt,t,ot);return l.Z.addToStore(c,(function(){return{}})),o.Z.addToStore(c),d.Z.addToStore(c,!0),u.Z.addToStore(c,!0,["console","remote","notification"]),f.Z.addToStore(c,We),p.Z.addToStore(c,(function(){return{listApp:h.ZP}})),s.Z.addToStore(c),a.Z.createApp(ot,i,c,{input:t,events:n,actions:[{type:R}],publicPath:r,textResourceModules:["component","common","docs-browser","entity-detail",ot]})},it=function(e){return a.Z.useApp({initApp:at,props:e,packageName:ot}).component};it.propTypes={formName:r().string.isRequired,businessUnit:r().string,appContext:C.propTypes.isRequired,backendUrl:r().string};var ct=a.Z.createBundleableApp(ot,at,it);a.Z.registerAppInRegistry(ct.name,ct.init)})(),c})()));
|
|
64
|
+
e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,a){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var a=new(Function.bind.apply(e,o));return r&&t(a,r.prototype),a},r.apply(null,arguments)}function o(e){return a(e)||i(e)||c(e)||u()}function a(e){if(Array.isArray(e))return s(e)}function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(){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 l=Object.hasOwnProperty,d=Object.setPrototypeOf,p=Object.isFrozen,f=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,y=Object.create,v="undefined"!=typeof Reflect&&Reflect,b=v.apply,w=v.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var x=D(Array.prototype.forEach),O=D(Array.prototype.pop),k=D(Array.prototype.push),E=D(String.prototype.toLowerCase),S=D(String.prototype.match),_=D(String.prototype.replace),P=D(String.prototype.indexOf),j=D(String.prototype.trim),C=D(RegExp.prototype.test),A=T(TypeError);function D(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function T(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function Z(e,t,n){n=n||E,d&&d(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var a=n(o);a!==o&&(p(t)||(t[r]=a),o=a)}e[o]=!0}return e}function R(e){var t,n=y(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function M(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return D(n.get);if("function"==typeof n.value)return D(n.value)}e=f(e)}function r(e){return console.warn("fallback value for",e),null}return r}var N=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),B=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),U=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Y=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=g(/<%[\w\W]*|[\w\W]*%>/gm),$=g(/^data-[\-\w.\u00B7-\uFFFF]/),K=g(/^aria-[\-\w]+$/),X=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=g(/^(?:\w+script|data):/i),J=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,a=t.document,i=t.DocumentFragment,c=t.HTMLTemplateElement,s=t.Node,u=t.Element,l=t.NodeFilter,d=t.NamedNodeMap,p=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,f=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,y=u.prototype,v=M(y,"cloneNode"),b=M(y,"nextSibling"),w=M(y,"childNodes"),D=M(y,"parentNode");if("function"==typeof c){var T=a.createElement("template");T.content&&T.content.ownerDocument&&(a=T.content.ownerDocument)}var oe=ne(g,r),ae=oe?oe.createHTML(""):"",ie=a,ce=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,le=ie.getElementsByTagName,de=r.importNode,pe={};try{pe=R(a).documentMode?a.documentMode:{}}catch(e){}var fe={};n.isSupported="function"==typeof D&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var he,me,ge=q,ye=G,ve=$,be=K,we=Q,xe=J,Oe=X,ke=null,Ee=Z({},[].concat(o(N),o(I),o(F),o(B),o(H))),Se=null,_e=Z({},[].concat(o(W),o(z),o(V),o(Y))),Pe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,Ce=null,Ae=!0,De=!0,Te=!1,Ze=!1,Re=!1,Me=!1,Ne=!1,Ie=!1,Fe=!1,Le=!1,Be=!0,Ue=!0,He=!1,We={},ze=null,Ve=Z({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,qe=Z({},["audio","video","img","source","image","track"]),Ge=null,$e=Z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Qe="http://www.w3.org/1999/xhtml",Je=Qe,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=a.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},it=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=R(t),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:E,ke="ALLOWED_TAGS"in t?Z({},t.ALLOWED_TAGS,me):Ee,Se="ALLOWED_ATTR"in t?Z({},t.ALLOWED_ATTR,me):_e,Ge="ADD_URI_SAFE_ATTR"in t?Z(R($e),t.ADD_URI_SAFE_ATTR,me):$e,Ye="ADD_DATA_URI_TAGS"in t?Z(R(qe),t.ADD_DATA_URI_TAGS,me):qe,ze="FORBID_CONTENTS"in t?Z({},t.FORBID_CONTENTS,me):Ve,je="FORBID_TAGS"in t?Z({},t.FORBID_TAGS,me):{},Ce="FORBID_ATTR"in t?Z({},t.FORBID_ATTR,me):{},We="USE_PROFILES"in t&&t.USE_PROFILES,Ae=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ie=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Le=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,Be=!1!==t.SANITIZE_DOM,Ue=!1!==t.KEEP_CONTENT,He=t.IN_PLACE||!1,Oe=t.ALLOWED_URI_REGEXP||Oe,Je=t.NAMESPACE||Qe,t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Pe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Pe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Pe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze&&(De=!1),Fe&&(Ie=!0),We&&(ke=Z({},o(H)),Se=[],!0===We.html&&(Z(ke,N),Z(Se,W)),!0===We.svg&&(Z(ke,I),Z(Se,z),Z(Se,Y)),!0===We.svgFilters&&(Z(ke,F),Z(Se,z),Z(Se,Y)),!0===We.mathMl&&(Z(ke,B),Z(Se,V),Z(Se,Y))),t.ADD_TAGS&&(ke===Ee&&(ke=R(ke)),Z(ke,t.ADD_TAGS,me)),t.ADD_ATTR&&(Se===_e&&(Se=R(Se)),Z(Se,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&Z(Ge,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(ze===Ve&&(ze=R(ze)),Z(ze,t.FORBID_CONTENTS,me)),Ue&&(ke["#text"]=!0),Re&&Z(ke,["html","head","body"]),ke.table&&(Z(ke,["tbody"]),delete je.tbody),m&&m(t),rt=t)},ct=Z({},["mi","mo","mn","ms","mtext"]),st=Z({},["foreignobject","desc","title","annotation-xml"]),ut=Z({},["title","style","font","a","script"]),lt=Z({},I);Z(lt,F),Z(lt,L);var dt=Z({},B);Z(dt,U);var pt=function(e){var t=D(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});var n=E(e.tagName),r=E(t.tagName);return e.namespaceURI===Xe?t.namespaceURI===Qe?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(lt[n]):e.namespaceURI===Ke?t.namespaceURI===Qe?"math"===n:t.namespaceURI===Xe?"math"===n&&st[r]:Boolean(dt[n]):e.namespaceURI===Qe&&!(t.namespaceURI===Xe&&!st[r])&&!(t.namespaceURI===Ke&&!ct[r])&&!dt[n]&&(ut[n]||!lt[n])},ft=function(e){k(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},ht=function(e,t){try{k(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){k(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Ie||Fe)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Ne)e="<remove></remove>"+e;else{var r=S(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(Je===Qe)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(Je,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),Je===Qe?le.call(t,Re?"html":"body")[0]:Re?t.documentElement:i},gt=function(e){return se.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},yt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},vt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},bt=function(e,t,r){fe[e]&&x(fe[e],(function(e){e.call(n,t,r,rt)}))},wt=function(e){var t;if(bt("beforeSanitizeElements",e,null),yt(e))return ft(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return ft(e),!0;var r=me(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return ft(e),!0;if("select"===r&&C(/<template/i,e.innerHTML))return ft(e),!0;if(!ke[r]||je[r]){if(!je[r]&&Ot(r)){if(Pe.tagNameCheck instanceof RegExp&&C(Pe.tagNameCheck,r))return!1;if(Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(r))return!1}if(Ue&&!ze[r]){var o=D(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&o)for(var i=a.length-1;i>=0;--i)o.insertBefore(v(a[i],!0),b(e))}return ft(e),!0}return e instanceof u&&!pt(e)?(ft(e),!0):"noscript"!==r&&"noembed"!==r||!C(/<\/no(script|embed)/i,e.innerHTML)?(Ze&&3===e.nodeType&&(t=e.textContent,t=_(t,ge," "),t=_(t,ye," "),e.textContent!==t&&(k(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(ft(e),!0)},xt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in a||n in ot))return!1;if(De&&!Ce[t]&&C(ve,t));else if(Ae&&C(be,t));else if(!Se[t]||Ce[t]){if(!(Ot(e)&&(Pe.tagNameCheck instanceof RegExp&&C(Pe.tagNameCheck,e)||Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(e))&&(Pe.attributeNameCheck instanceof RegExp&&C(Pe.attributeNameCheck,t)||Pe.attributeNameCheck instanceof Function&&Pe.attributeNameCheck(t))||"is"===t&&Pe.allowCustomizedBuiltInElements&&(Pe.tagNameCheck instanceof RegExp&&C(Pe.tagNameCheck,n)||Pe.tagNameCheck instanceof Function&&Pe.tagNameCheck(n))))return!1}else if(Ge[t]);else if(C(Oe,_(n,xe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==P(n,"data:")||!Ye[e])if(Te&&!C(we,_(n,xe,"")));else if(n)return!1;return!0},Ot=function(e){return e.indexOf("-")>0},kt=function(t){var r,o,a,i;bt("beforeSanitizeAttributes",t,null);var c=t.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(i=c.length;i--;){var u=r=c[i],l=u.name,d=u.namespaceURI;if(o="value"===l?r.value:j(r.value),a=me(l),s.attrName=a,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,bt("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(ht(l,t),s.keepAttr))if(C(/\/>/i,o))ht(l,t);else{Ze&&(o=_(o,ge," "),o=_(o,ye," "));var p=me(t.nodeName);if(xt(p,a,o)){if(oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(d);else switch(g.getAttributeType(p,a)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{d?t.setAttributeNS(d,l,o):t.setAttribute(l,o),O(n.removed)}catch(e){}}}}bt("afterSanitizeAttributes",t,null)}},Et=function e(t){var n,r=gt(t);for(bt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)bt("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof i&&e(n.content),kt(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,a){var c,u,l,d,p;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!vt(o)){if("function"!=typeof o.toString)throw A("toString is not a function");if("string"!=typeof(o=o.toString()))throw A("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(vt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Me||it(a),n.removed=[],"string"==typeof o&&(He=!1),He){if(o.nodeName){var f=me(o.nodeName);if(!ke[f]||je[f])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof s)1===(u=(c=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?c=u:c.appendChild(u);else{if(!Ie&&!Ze&&!Re&&-1===o.indexOf("<"))return oe&&Le?oe.createHTML(o):o;if(!(c=mt(o)))return Ie?null:Le?ae:""}c&&Ne&&ft(c.firstChild);for(var h=gt(He?o:c);l=h.nextNode();)3===l.nodeType&&l===d||wt(l)||(l.content instanceof i&&Et(l.content),kt(l),d=l);if(d=null,He)return o;if(Ie){if(Fe)for(p=ue.call(c.ownerDocument);c.firstChild;)p.appendChild(c.firstChild);else p=c;return Se.shadowroot&&(p=de.call(r,p,!0)),p}var m=Re?c.outerHTML:c.innerHTML;return Re&&ke["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&C(ee,c.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+c.ownerDocument.doctype.name+">\n"+m),Ze&&(m=_(m,ge," "),m=_(m,ye," ")),oe&&Le?oe.createHTML(m):m},n.setConfig=function(e){it(e),Me=!0},n.clearConfig=function(){rt=null,Me=!1},n.isValidAttribute=function(e,t,n){rt||it({});var r=me(e),o=me(t);return xt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],k(fe[e],t))},n.removeHook=function(e){if(fe[e])return O(fe[e])},n.removeHooks=function(e){fe[e]&&(fe[e]=[])},n.removeAllHooks=function(){fe={}},n}return re()}()},1024:e=>{"use strict";e.exports=t},30314:t=>{"use strict";t.exports=e},55721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o,a,i){var c=new Date(0);return c.setUTCFullYear(e,t,n),c.setUTCHours(r,o,a,i),c},e.exports=t.default},25855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){var n=e.formatToParts(t);return n[n.length-1].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)},e.exports=t.default},32734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r,a,d;if(""===e)return 0;if(r=c.timezoneZ.exec(e))return 0;if(r=c.timezoneHH.exec(e))return u(d=parseInt(r[1],10))?-d*i:NaN;if(r=c.timezoneHHMM.exec(e)){d=parseInt(r[1],10);var p=parseInt(r[2],10);return u(d,p)?(a=Math.abs(d)*i+6e4*p,d>0?-a:a):NaN}if(function(e){if(l[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),l[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var f=n?t:function(e){return(0,o.default)(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),h=s(f,e),m=n?h:function(e,t,n){var r=e.getTime()-t,o=s(new Date(r),n);if(t===o)return t;r-=o-t;var a=s(new Date(r),n);if(o===a)return o;return Math.max(o,a)}(t,h,e);return-m}return NaN};var r=a(n(2712)),o=a(n(55721));function a(e){return e&&e.__esModule?e:{default:e}}var i=36e5,c={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function s(e,t){var n=(0,r.default)(e,t),a=(0,o.default)(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),c=i%1e3;return a-(i-=c>=0?c:1e3+c)}function u(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var l={};e.exports=t.default},7048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;t.default=n,e.exports=t.default},2712:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=function(e){if(!r[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"06/25/2014 00:00:00"===t;r[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return r[e]}(t);return o.formatToParts?function(e,t){try{for(var r=e.formatToParts(t),o=[],a=0;a<r.length;a++){var i=n[r[a].type];i>=0&&(o[i]=parseInt(r[a].value,10))}return o}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(o,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(o,e)};var n={year:0,month:1,day:2,hour:3,minute:4,second:5};var r={};e.exports=t.default},33826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(25855)),o=a(n(32734));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=e?(0,o.default)(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function c(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function s(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+c(Math.floor(o/60),2)+n+c(Math.floor(o%60),2)}function u(e,t){return e%60==0?(e>0?"-":"+")+c(Math.abs(e)/60,2):s(e,t)}var l={X:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);if(0===o)return"Z";switch(t){case"X":return u(o);case"XXXX":case"XX":return s(o);default:return s(o,":")}},x:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"x":return u(o);case"xxxx":case"xx":return s(o);default:return s(o,":")}},O:function(e,t,n,r){var o=i(r.timeZone,r._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+c(a,2)}(o,":");default:return"GMT"+s(o,":")}},z:function(e,t,n,o){var a=o._originalDate||e;switch(t){case"z":case"zz":case"zzz":return(0,r.default)("short",a,o);default:return(0,r.default)("long",a,o)}}};t.default=l,e.exports=t.default},56558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=String(t),s=n||{},u=i.match(c);if(u){var l=(0,a.default)(e,s);i=u.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],a=e.replace(t,"'"+o.default[t[0]](l,t,null,s)+"'");return r?a.substring(0,n-1)+a.substring(n+1):a}),i)}return(0,r.default)(e,i,s)};var r=i(n(15616)),o=i(n(33826)),a=i(n(21476));function i(e){return e&&e.__esModule?e:{default:e}}var c=/([xXOz]+)|''|'(''|[^'])+('|$)/g;e.exports=t.default},26645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var c=(0,r.default)(i);return c.timeZone=t,(0,o.default)((0,a.default)(e,t),n,c)};var r=i(n(46420)),o=i(n(56558)),a=i(n(1132));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},24992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return-(0,o.default)(e,t)};var r,o=(r=n(32734))&&r.__esModule?r:{default:r};e.exports=t.default},70722:(e,t,n)=>{"use strict";e.exports={format:n(56558),formatInTimeZone:n(26645),getTimezoneOffset:n(24992),toDate:n(21476),utcToZonedTime:n(1132),zonedTimeToUtc:n(68516)}},21476:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},i=null==n.additionalDigits?2:(0,r.default)(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var c=l(e),s=d(c.date,i),u=s.year,h=s.restDateString,m=p(h,u);if(isNaN(m))return new Date(NaN);if(m){var g,y=m.getTime(),v=0;if(c.time&&(v=f(c.time),isNaN(v)))return new Date(NaN);if(c.timeZone||n.timeZone){if(g=(0,a.default)(c.timeZone||n.timeZone,new Date(y+v)),isNaN(g))return new Date(NaN)}else g=(0,o.default)(new Date(y+v)),g=(0,o.default)(new Date(y+v+g));return new Date(y+v+g)}return new Date(NaN)};var r=c(n(82084)),o=c(n(93561)),a=c(n(32734)),i=c(n(7048));function c(e){return e&&e.__esModule?e:{default:e}}var s=36e5,u={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:i.default};function l(e){var t,n={},r=u.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=u.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){var o=u.timeZone.exec(t);o?(n.time=t.replace(o[1],""),n.timeZone=o[1].trim()):n.time=t}return n}function d(e,t){var n,r=u.YYY[t],o=u.YYYYY[t];if(n=u.YYYY.exec(e)||o.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=u.YY.exec(e)||r.exec(e)){var i=n[1];return{year:100*parseInt(i,10),restDateString:e.slice(i.length)}}return{year:null}}function p(e,t){if(null===t)return null;var n,r,o,a;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=u.MM.exec(e))return r=new Date(0),v(t,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=u.DDD.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=y(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,i)?(r.setUTCFullYear(t,0,i),r):new Date(NaN)}if(n=u.MMDD.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var c=parseInt(n[2],10);return v(t,o,c)?(r.setUTCFullYear(t,o,c),r):new Date(NaN)}if(n=u.Www.exec(e))return b(t,a=parseInt(n[1],10)-1)?h(t,a):new Date(NaN);if(n=u.WwwD.exec(e)){a=parseInt(n[1],10)-1;var s=parseInt(n[2],10)-1;return b(t,a,s)?h(t,a,s):new Date(NaN)}return null}function f(e){var t,n,r;if(t=u.HH.exec(e))return w(n=parseFloat(t[1].replace(",",".")))?n%24*s:NaN;if(t=u.HHMM.exec(e))return w(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*s+6e4*r:NaN;if(t=u.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return w(n,r,o)?n%24*s+6e4*r+1e3*o:NaN}return null}function h(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var m=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}function v(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=y(e);if(r&&n>g[t])return!1;if(!r&&n>m[t])return!1}return!0}function b(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function w(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}e.exports=t.default},1132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=(0,o.default)(e,n),i=(0,r.default)(t,a,!0),c=new Date(a.getTime()-i),s=new Date(0);return s.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),s.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),s};var r=a(n(32734)),o=a(n(21476));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},68516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("string"==typeof e&&!e.match(a.default)){var s=(0,r.default)(n);return s.timeZone=t,(0,o.default)(e,s)}var u=(0,o.default)(e,n),l=(0,c.default)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),d=(0,i.default)(t,new Date(l));return new Date(l+d)};var r=s(n(46420)),o=s(n(21476)),a=s(n(7048)),i=s(n(32734)),c=s(n(55721));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},61086:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,s,"next",e)}function s(e){r(i,o,a,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},11259:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},44822:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>o})},46927:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},3640:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},32208:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,{Z:()=>o})},72753:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},56265:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},56315:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>r})},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(83029);var o=n(61917),a=n(56265);function i(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},91411:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},45915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(88911);var o=n(72753),a=n(61917);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,a.Z)(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.")}()}},73891:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},61917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,n)=>(i.f[n](e,t),t)),[])),i.u=e=>323===e?"chunk-ckeditor.0daca490d0c15d54cad6.js":"chunk-"+({85:"code-editor",198:"vendor-fontawesome",614:"vendor-icons",802:"html-editor",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"1c0dae5df1ebd3c3ff8f",198:"d704ec46678f581983ea",200:"52e32c3f09bdced3ade7",594:"0f8853377ce7623bcbe9",611:"baffe880b59110d7742b",614:"a816a8531b51bfa5c6b4",701:"88ca86abd92e4e3adde7",802:"d8b3d3576ffd7652f206",817:"46c1d0c36174f8e60a28",877:"3df783c1b2350c047b5d"}[e]+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-widget-bundle:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+o){c=d;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.setAttribute("data-webpack",r+o),c.src=e),n[e]=[t];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.j=377,i.p="/",(()=>{var e={377:0,718:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var a=i.p+i.u(t),c=new Error;i.l(a,(n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,c,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(s)s(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_widget_bundle=self.webpackChunktocco_widget_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0;var c={};return(()=>{"use strict";i.r(c);var e,t,n=i(45697),r=i.n(n),o=i(50600),a=i(55954),s=i(22731),u=i(19743),l=i(45430),d=i(47490),p=i(67787),f=i(67909),h=i(14218),m=i(91411),g=i(76538),y=i(58804),v=i(24875),b=i(30759),w=i(7281),x=v.FS.color("secondaryLight"),O=v.FS.color("paper"),k=v.FS.color("secondary"),E=(0,y.vJ)(e||(e=(0,m.Z)(["\n .react-datepicker-popper {\n && {\n z-index: 5;\n margin: 0;\n }\n }\n\n .react-datepicker {\n && {\n * {\n box-sizing: content-box; // prevent box-sizing problems in widgets\n }\n border-radius: 0;\n border: 1px solid ",";\n ","\n\n .react-datepicker__header {\n ","\n border-radius: 0;\n background-color: ",";\n padding-bottom: 0;\n }\n\n .react-datepicker__navigation {\n top: 3px;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n margin-top: ",";\n }\n ","\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon:before {\n border-color: "," !important;\n border-width: 1.5px 1.5px 0 0;\n }\n\n .react-datepicker__header__dropdown {\n font-size: ",";\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n font-size: ",";\n }\n }\n\n .react-datepicker__current-month {\n ","\n }\n\n .react-datepicker__day-name {\n color: ",";\n font-size: ",";\n }\n\n .react-datepicker__day,\n .react-datepicker__day-name {\n border: 1px solid transparent;\n padding: ",";\n outline: none;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n padding: ",";\n }\n }\n\n .react-datepicker__day--selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n\n &:focus {\n border-color: ",";\n background-color: ",";\n }\n }\n\n .react-datepicker__day--keyboard-selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n }\n\n .react-datepicker__day--today,\n .react-datepicker__month-text--today,\n .react-datepicker__quarter-text--today,\n .react-datepicker__year-text--today {\n border-radius: 50%;\n border-color: ",";\n }\n\n .react-datepicker__today-button {\n ","\n background-color: ",";\n border-top: 0;\n padding-bottom: ",";\n padding-top: 0;\n\n &:hover > button {\n background-color: ",";\n }\n }\n\n .react-datepicker__input-time-container {\n display: flex;\n justify-content: center;\n margin: 5px 0;\n\n .react-datepicker-time__input {\n margin: 0;\n\n input {\n text-align: center;\n }\n }\n }\n\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {\n width: 190px;\n margin: 8px auto 0;\n display: grid;\n grid-template-columns: 100px 85px;\n }\n\n .react-datepicker__month-read-view,\n .react-datepicker__year-read-view {\n color: ",";\n visibility: visible !important;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n font-size: ",";\n }\n\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type,\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n border-radius: 0;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n top: 6px;\n right: -10px;\n width: 5px;\n height: 5px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: -8px;\n }\n }\n\n .react-datepicker__year-read-view--down-arrow {\n right: -4px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: 3px;\n }\n }\n\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-color: ",";\n background-color: ",";\n border-radius: 50%;\n color: ",";\n }\n\n .react-datepicker__year-dropdown {\n left: 40%;\n top: 45px;\n }\n\n .react-datepicker__navigation--years-upcoming:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 8px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(-45deg);\n }\n\n .react-datepicker__navigation--years-previous:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 6px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(135deg);\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ",";\n border-radius: 0;\n border-color: ",";\n box-shadow: 0 0 5px rgb(0 0 0 / 30%);\n }\n\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: ",";\n }\n\n .react-datepicker__month-option--selected {\n left: 10px;\n }\n\n .react-datepicker__day--outside-month {\n color: ",";\n }\n }\n }\n"])),x,(0,b.Z)(),(0,b.Z)(),x,w.Z.space(-.6),"\n .react-datepicker__current-month.react-datepicker__current-month--hasYearDropdown.react-datepicker__current-month--hasMonthDropdown {\n // Avoid showing the month and year a second time when it has month and year dropdowns.\n display: none;\n }\n",O,w.Z.font(2.85),w.Z.font(1.8),(0,b.Z)({fontWeight:v.FS.fontWeight("bold")}),O,w.Z.font(-2),w.Z.space(-.6),w.Z.space(-1.2),k,k,k,x,x,x,k,(0,b.Z)(),O,w.Z.space(-.5),(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),O,w.Z.font(0),x,x,O,v.FS.color("text"),v.FS.color("text"),O,x,(function(e){var t=e.theme;return(0,g._j)(.1,t.colors.paper)}),(function(e){var t=e.theme;return(0,g.$n)(.7,t.colors.text)})),S=i(85893);const _=function(){return(0,S.jsx)(S.Fragment,{children:t||(t=(0,S.jsx)(E,{}))})};var P=i(23369),j=i(98773);const C={propTypes:r().shape({embedType:r().oneOf(j.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})};var A=i(74806),D=i(50558),T=i(44049),Z="addressUpdate/SET_FORM_DEFINITION",R="addressUpdate/LOAD_VIEW",M="addressUpdate/SET_ENTITY",N="addressUpdate/SUBMIT_FORM",I="addressUpdate/UNLOAD_VIEW",F="addressUpdate/FIRE_TOUCHED",L="addressUpdate/SET_TOUCHED",B="addressUpdate/SET_FORM_NAME",U="addressUpdate/TOCH_ALL_FIELDS",H="addressUpdate/SET_FIELD_DEFINITIONS",W=function(e){return{type:Z,payload:{formDefinition:e}}},z=function(e){return{type:M,payload:{entity:e}}},V=function(e){return{type:H,payload:{fieldDefinitions:e}}},Y=i(1024),q=i(50258),G=i(85208),$=i(59713),K=i.n($),X=i(86386),Q=i(65275),J=i(35997);function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){K()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ne=(0,X.Z)({form:"addressForm",destroyOnUnmount:!1})((function(e){var t=e.entity,n=e.formDefinition,r=e.formValues,o=e.submitForm,a=e.intl,i=e.submitting,c=e.valid,s=e.anyTouched,u=e.fireTouched,l=e.dirty,d=e.formErrors,p=e.form,h=e.mode,m=!(null!=t&&t.editable),g=(0,Y.useRef)(null);J.Z.useAutofocus(g);var y=f.Z.hooks.useFormEvents({submitForm:o});(0,Y.useEffect)((function(){u(l&&s)}),[l,s,u]);var v={save:function(e){return m?null:(0,S.jsx)(Q.Z,te({intl:a,submitting:i,mode:h,hasErrors:!c&&s,formErrors:d},e))}};return(0,S.jsx)("form",te(te({},y),{},{ref:g,children:(0,S.jsx)(f.Z.FormBuilder,{entity:t,formName:p,formDefinition:n,formValues:r,fieldMappingType:"editable",mode:h,readonly:m,customRenderedActions:v})}))}));var re={submitForm:function(){return{type:N}},fireTouched:function(e){return{type:F,payload:{touched:e}}}};const oe=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,entity:e.addressUpdate.entity,formValues:(0,G.Z)("addressForm")(e),formErrors:f.Z.selectors.getFormErrors("addressForm")(e)}}),re)((0,A.ZP)(ne));var ae;const ie=function(e){var t=e.formDefinition,n=e.formInitialValues,r=e.fieldDefinitions,o=e.mode,a=e.unloadView;(0,Y.useEffect)((function(){return function(){a()}}),[a]);var i=f.Z.hooks.useAsyncValidation({formInitialValues:n,fieldDefinitions:r,formDefinition:t,mode:o}),c=f.Z.hooks.useSyncValidation({fieldDefinitions:r,formDefinition:t}),s=r.map((function(e){return e.path}));return(0,S.jsxs)(S.Fragment,{children:[ae||(ae=(0,S.jsx)(d.Z.Notifications,{})),(0,S.jsx)(q.Z,{required:[n],children:(0,S.jsx)(oe,{validate:c,asyncValidate:i,asyncBlurFields:s})})]})};var ce={unloadView:function(){return{type:I}}};const se=(0,D.connect)((function(e){return{mode:e.addressUpdate.mode,formDefinition:e.addressUpdate.formDefinition,formInitialValues:(0,T.Z)("addressForm")(e),fieldDefinitions:e.addressUpdate.fieldDefinitions}}),ce)((0,A.ZP)(ie));var ue,le=i(30496),de=i(81770),pe=(ue={},K()(ue,B,de.Z.singleTransferReducer("formName")),K()(ue,Z,de.Z.singleTransferReducer("formDefinition")),K()(ue,M,de.Z.singleTransferReducer("entity")),K()(ue,L,de.Z.singleTransferReducer("touched")),K()(ue,H,de.Z.singleTransferReducer("fieldDefinitions")),ue),fe={formName:"",formDefinition:{},entity:{},touched:!1,fieldDefinitions:[],mode:"update"};const he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0,n=pe[t.type];return n?n(e,t):e};var me=i(87757),ge=i.n(me),ye=i(64738),ve=i(92708),be=i(34857),we=i(63094),xe=i(1084),Oe=i(92745),ke=i(91755);function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){K()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=ge().mark(je),Pe=ge().mark(Ce);function je(e,t,n){var r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r={method:"PATCH",queryParams:{_widget_key:e},body:t,acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[409]},a.next=3,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 3:if("VALIDATION_FAILED"!==(o=a.sent).body.errorCode){a.next=6;break}throw new ke.t(f.Z.validationErrorToFormError(t,n,o.body.errors));case 6:if(409!==o.status||!o.body.information){a.next=8;break}throw new we.Z.InformationError(o.body.information);case 8:return a.abrupt("return",o.body);case 9:case"end":return a.stop()}}),_e)}function Ce(e,t){var n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,be.RE)(we.Z.buildRequestQuery,t);case 2:return n=a.sent,r={method:"GET",queryParams:Se(Se({},we.Z.requestQueryToUrlParams(n)),{},{_permissions:!0,_omitLinks:!0,_widget_key:e})},a.next=6,(0,be.RE)(we.Z.requestSaga,"widget/addressUpdate",r);case 6:return o=a.sent,a.abrupt("return",o.body);case 8:case"end":return a.stop()}}),Pe)}var Ae=ge().mark(ze),De=ge().mark(Ve),Te=ge().mark(Ye),Ze=ge().mark(qe),Re=ge().mark(Ge),Me=ge().mark($e),Ne=ge().mark(Ke),Ie=ge().mark(Xe),Fe=ge().mark(Qe),Le=ge().mark(Je),Be=function(e){return e.addressUpdate},Ue=function(e){return e.input},He="addressForm",We={formId:He,stateSelector:Be};function ze(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.$6)([(0,be.Fm)(R,Ge),(0,be.Fm)(I,qe),(0,be.Fm)(U,f.Z.sagasUtils.touchAllFields,We),(0,be.ib)(N,Xe),(0,be.ib)(F,Qe)]);case 2:case"end":return e.stop()}}),Ae)}function Ve(e,t){var n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,be.RE)(we.Z.fetchForm,e,t);case 2:return n=o.sent,o.next=5,(0,be.gz)(W(n));case 5:return o.next=7,(0,be.RE)(f.Z.getFieldDefinitions,n);case 7:return r=o.sent,o.next=10,(0,be.gz)(V(r));case 10:return o.abrupt("return",{formDefinition:n,fieldDefinitions:r});case 11:case"end":return o.stop()}}),De)}function Ye(e){var t,n,r;return ge().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=P.Z.getWidgetConfigKey(),o.next=3,(0,be.RE)(f.Z.getUsedPaths,e);case 3:return n=o.sent,o.next=6,(0,be.RE)(Ce,t,{paths:n});case 6:return r=o.sent,o.next=9,(0,be.gz)(z(r));case 9:return o.abrupt("return",r);case 10:case"end":return o.stop()}}),Te)}function qe(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.gz)(z(null));case 2:return e.next=4,(0,be.gz)(ye.Z.destroy(He));case 4:case"end":return e.stop()}}),Ze)}function Ge(){var e,t;return ge().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,be.Ys)(Ue);case 2:return e=n.sent,t=e.formName,n.next=6,(0,be.RE)(Ve,t,"detail");case 6:return n.next=8,(0,be.RE)(Je);case 8:case"end":return n.stop()}}),Re)}function $e(e,t){var n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=P.Z.getWidgetConfigKey(),r.next=3,(0,be.RE)(je,n,e,t);case 3:return r.next=5,(0,be.RE)(Je);case 5:return r.next=7,(0,be.gz)(d.Z.toaster({type:"success",title:"client.address-update.saveSuccessfulTitle",body:"client.address-update.saveSuccessfulMessage"}));case 7:return r.next=9,(0,be.gz)(ye.Z.stopSubmit(He));case 9:case"end":return r.stop()}}),Me)}function Ke(){var e,t,n,r,o,a;return ge().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,be.RE)(f.Z.sagasUtils.getCurrentEntityState,We);case 2:return e=i.sent,t=e.formValues,n=e.initialValues,r=e.mode,o=e.fieldDefinitions,a=e.formDefinition,i.next=10,(0,be.RE)(f.Z.submitValidation,t,n,o,a,r);case 10:case"end":return i.stop()}}),Ne)}function Xe(){var e,t,n;return ge().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,(0,be.Ys)((0,ve.Z)(He));case 3:if(r.sent){r.next=9;break}return r.next=7,(0,be.RE)(f.Z.sagasUtils.handleInvalidForm,We);case 7:r.next=22;break;case 9:return r.next=11,(0,be.gz)(ye.Z.startSubmit(He));case 11:return r.next=13,(0,be.Ys)(Be);case 13:return e=r.sent,t=e.fieldDefinitions,r.next=17,(0,be.RE)(Ke);case 17:return r.next=19,(0,be.RE)(f.Z.sagasUtils.getEntityForSubmit,We);case 19:return n=r.sent,r.next=22,(0,be.RE)($e,n,t);case 22:r.next=28;break;case 24:return r.prev=24,r.t0=r.catch(0),r.next=28,(0,be.RE)(f.Z.sagasUtils.handleSubmitError,We,r.t0);case 28:case"end":return r.stop()}}),Ie,null,[[0,24]])}function Qe(e){var t,n,r,o;return ge().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.touched,a.next=4,(0,be.Ys)(Be);case 4:if(r=a.sent,o=r.touched,n===o){a.next=9;break}return a.next=9,(0,be.gz)({type:L,payload:{touched:n}});case 9:case"end":return a.stop()}}),Fe)}function Je(){var e,t,n,r,o,a,i,c,s,u=arguments;return ge().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return e=!(u.length>0&&void 0!==u[0])||u[0],l.next=3,(0,be.Ys)(Be);case 3:return t=l.sent,n=t.fieldDefinitions,r=t.formName,o=t.mode,l.next=9,(0,be.RE)(Ye,n);case 9:return a=l.sent,l.next=12,(0,be.RE)(Oe.Z.getFlattenEntity,a);case 12:return i=l.sent,l.next=15,(0,be.RE)(xe.Z.enhanceEntityWithDisplayExpressions,i,r,n,o);case 15:return l.next=17,(0,be.RE)(xe.Z.enhanceEntityWithDisplays,i,n);case 17:return l.next=19,(0,be.RE)(f.Z.entityToFormValues,i,n);case 19:return c=l.sent,s=e?{}:{keepDirty:!0,keepValues:!1},l.next=23,(0,be.gz)(ye.Z.initialize(He,c,s));case 23:case"end":return l.stop()}}),Le)}const et={addressUpdate:he,form:le.Z};var tt,nt,rt=[ze],ot="address-update",at=function(e,t,n,r){P.Z.setInputEnvs(t);var i=(0,S.jsxs)(S.Fragment,{children:[tt||(tt=(0,S.jsx)(_,{})),nt||(nt=(0,S.jsx)(se,{}))]}),c=a.Z.createStore(et,rt,t,ot);return l.Z.addToStore(c,(function(){return{}})),o.Z.addToStore(c),d.Z.addToStore(c,!0),u.Z.addToStore(c,!0,["console","remote","notification"]),f.Z.addToStore(c,We),p.Z.addToStore(c,(function(){return{listApp:h.ZP}})),s.Z.addToStore(c),a.Z.createApp(ot,i,c,{input:t,events:n,actions:[{type:R}],publicPath:r,textResourceModules:["component","common","docs-browser","entity-detail",ot]})},it=function(e){return a.Z.useApp({initApp:at,props:e,packageName:ot}).component};it.propTypes={formName:r().string.isRequired,businessUnit:r().string,appContext:C.propTypes.isRequired,backendUrl:r().string};var ct=a.Z.createBundleableApp(ot,at,it);a.Z.registerAppInRegistry(ct.name,ct.init)})(),c})()));
|