tocco-widget-showcase 3.14.40 → 3.14.41

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 CHANGED
@@ -1,3 +1,6 @@
1
+ 3.14.41
2
+ - improve link visibility in Typography
3
+
1
4
  3.14.40
2
5
  - fix zindex of tether by increasing speficity to prevent overwites
3
6
  - fix description formatter positioning
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@
48
48
  object-assign
49
49
  (c) Sindre Sorhus
50
50
  @license MIT
51
- */var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var l in i=Object(arguments[s]))n.call(i,l)&&(c[l]=i[l]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(c[a[u]]=i[a[u]])}}return c}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),i=n(56449),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},46005:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(58156),o=n.n(r),i=n(26166),a=n(47616),c=function(e,t){var n="\n color: ".concat(a.A.color("text")(e),";\n font-family: ").concat(a.A.fontFamily("regular")(e),";\n font-size: ").concat(i.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(a.A.fontWeight("regular")(e),";\n line-height: ").concat(a.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(a.A.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(a.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(i.A.font(5)(e),";}\n h2 {font-size: ").concat(i.A.font(4)(e),";}\n h3 {font-size: ").concat(i.A.font(3)(e),";}\n h4 {font-size: ").concat(i.A.font(2)(e),";}\n h5 {font-size: ").concat(i.A.font(1)(e),";}\n h6 {font-size: ").concat(i.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(a.A.fontWeight("bold")(e),";\n margin-top: ").concat(i.A.space(0)(e),";\n margin-bottom: ").concat(i.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(i.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(i.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},46079:(e,t,n)=>{"use strict";var r=n(83752);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},46255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i;(0,r.default)(e),"object"===o(t)?(n=t.min||0,i=t.max):(n=arguments[1],i=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===i||a<=i)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(83399));function o(e){return o="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},o(e)}e.exports=t.default,e.exports.default=t.default},46703:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(36376),s=n(7315),l=n(34743),u=n(4883),d=n(81845),p=n(50098),f=n(99978),m=n(74848);function h(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const y=function(e){var t=e.buttonProps,n=e.onOpen,r=e.children,o=e.isTransparent,i=(0,u.useState)(null),h=a()(i,2),y=h[0],v=h[1],b=(0,u.useState)(!1),w=a()(b,2),x=w[0],O=w[1],k=(0,u.useState)(!1),S=a()(k,2),A=S[0],E=S[1],j=(0,c.we)({open:x,onOpenChange:O,placement:"bottom-start",middleware:[(0,l.cY)(7),(0,l.UU)(),(0,l.Ej)({apply:function(e){var t=e.availableHeight;(0,d.flushSync)((function(){return v(t-15)}))}})],whileElementsMounted:s.ll}),P=j.refs,T=j.floatingStyles,C=j.context,D=(0,c.kp)(C),_=(0,c.s9)(C),N=(0,c.bv)([D,_]),I=N.getReferenceProps,R=N.getFloatingProps;return(0,m.jsxs)("span",g(g({ref:P.setReference},I()),{},{children:[(0,m.jsx)(p.A,g(g({},t),{},{onClick:function(e){O(!x),e.stopPropagation(),n&&!A&&(n(),E(!0))},isTransparent:o})),x&&(0,m.jsx)(f.A,{floatingStyles:g(g({},T),{},{maxHeight:y}),getFloatingProps:R,refs:P,isOpen:x,onClose:function(){O(!1)},children:r})]}))}},46937:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={isSafari:function(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(t)},isPrimaryTouchDevice:n(81570).i}},47029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88097);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},47616:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58156),o=n.n(r),i=n(28114),a=function(e){return 0===Object.keys(e).length?i.A:e};const c={color:function(e){return function(t){var n=t.theme;return o()(a(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(a(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(a(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(a(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(a(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(a(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(a(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(a(n),"specificProperties.".concat(e))}}}},48067:(e,t)=>{"use strict";t.YW=function(e,t={}){const{decode:o=decodeURIComponent,loose:i=!0,delimiter:a=n}=t,c=y(e,t),s=p(i,a),l=c.keys.map((e=>{if(o&&("+"===e.modifier||"*"===e.modifier)){const{prefix:t="",suffix:n="",separator:r=n+t}=e,i=new RegExp(s(r),"g");return e=>e.split(i).map(o)}return o||r}));return function(e){const t=c.exec(e);if(!t)return!1;const{0:n,index:r}=t,o=Object.create(null);for(let e=1;e<t.length;e++){if(void 0===t[e])continue;const n=c.keys[e-1],r=l[e-1];o[n.name]=r(t[e])}return{path:n,index:r,params:o}}};const n="/",r=e=>e,o=/^\p{XID_Continue}$/u,i="https://git.new/pathToRegexpError",a={"!":"!","@":"@",";":";",",":",","*":"*","+":"+","?":"?","{":"{","}":"}"};class c{constructor(e){this.tokens=e,this.index=0}peek(){return this.tokens[this.index]}tryConsume(e){const t=this.peek();if(t.type===e)return this.index++,t.value}consume(e){const t=this.tryConsume(e);if(void 0!==t)return t;const{type:n,index:r}=this.peek();throw new TypeError(`Unexpected ${n} at ${r}, expected ${e}: ${i}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}modifier(){return this.tryConsume("?")||this.tryConsume("*")||this.tryConsume("+")}}class s{constructor(e,t){this.tokens=e,this.delimiter=t}}function l(e,t={}){const{encodePath:l=r,delimiter:d=l(n)}=t,p=[],f=function(e){const t=[...e],n=[];let r=0;for(;r<t.length;){const e=t[r],i=a[e];if(i)n.push({type:i,index:r++,value:e});else if("\\"!==e)if(":"!==e)if("("!==e)n.push({type:"CHAR",index:r,value:t[r++]});else{const e=r++;let o=1,i="";if("?"===t[r])throw new TypeError(`Pattern cannot start with "?" at ${r}`);for(;r<t.length;)if("\\"!==t[r]){if(")"===t[r]){if(o--,0===o){r++;break}}else if("("===t[r]&&(o++,"?"!==t[r+1]))throw new TypeError(`Capturing groups are not allowed at ${r}`);i+=t[r++]}else i+=t[r++]+t[r++];if(o)throw new TypeError(`Unbalanced pattern at ${e}`);if(!i)throw new TypeError(`Missing pattern at ${e}`);n.push({type:"PATTERN",index:r,value:i})}else{let e="";for(;o.test(t[++r]);)e+=t[r];if(!e)throw new TypeError(`Missing parameter name at ${r}`);n.push({type:"NAME",index:r,value:e})}else n.push({type:"ESCAPED",index:r++,value:t[r++]})}return n.push({type:"END",index:r,value:""}),new c(n)}(e);let m=0;for(;;){const e=f.text();e&&p.push(l(e));const t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN");if(t||n){p.push({name:t||String(m++),pattern:n});const e=f.peek();if("*"===e.type)throw new TypeError(`Unexpected * at ${e.index}, you probably want \`/*\` or \`{/:foo}*\`: ${i}`);continue}if(f.tryConsume("*")){p.push({name:String(m++),pattern:`(?:(?!${u(d)}).)*`,modifier:"*",separator:d});continue}if(!f.tryConsume("{")){f.consume("END");break}{const e=f.text(),t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN"),r=f.text(),o=f.tryConsume(";")&&f.text();f.consume("}");const i=f.modifier();p.push({name:t||(n?String(m++):""),prefix:l(e),suffix:l(r),pattern:n,modifier:i,separator:o})}}return new s(p,d)}function u(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function d(e,t){const n=u(e);return t?`(?:${n})+(?!${n})`:n}function p(e,t){if(!e)return u;const n=new RegExp(`(?:(?!${u(t)}).)+|(.)`,"g");return e=>e.replace(n,d)}function f(e){return e.sensitive?"":"i"}function m(e,t,n,r){const o=e instanceof s?e:l(e,r),{trailing:i=!0,loose:a=!0,start:c=!0,end:d=!0,strict:f=!1}=r,m=p(a,o.delimiter);let g=c?"^":"";return g+=h(o,m,t,n,f).join(""),i&&(g+=`(?:${m(o.delimiter)}$)?`),g+=d?"$":`(?=${u(o.delimiter)}|$)`,g}function h(e,t,n,r,o){const a=`(?:(?!${u(e.delimiter)}).)+?`;let c="",s=!0;return e.tokens.map((e=>{if("string"==typeof e)return c=e,t(e);const{prefix:l="",suffix:u="",separator:d=u+l,modifier:p=""}=e,f=t(l),m=t(u);if(e.name){const h=e.pattern?`(?:${e.pattern})`:a,y=function(e,t,n){try{return new RegExp(`^${e}$`,n)}catch(e){throw new TypeError(`Invalid pattern for "${t}": ${e.message}`)}}(h,e.name,r);if(s||(s=g(y,l||c)),!s)throw new TypeError(`Ambiguous pattern for "${e.name}": ${i}`);if(s=!o||g(y,u),c="",n.push(e),"+"===p||"*"===p){const n="*"===p?"?":"",r=t(d);if(!r)throw new TypeError(`Missing separator for "${e.name}": ${i}`);if(s||(s=!o||g(y,d)),!s)throw new TypeError(`Ambiguous pattern for "${e.name}" separator: ${i}`);return s=!o,`(?:${f}(${h}(?:${r}${h})*)${m})${n}`}return`(?:${f}(${h})${m})${p}`}return`(?:${f}${m})${p}`}))}function g(e,t){return!!t&&!e.test(t)}function y(e,t={}){const n=[],r=f(t);if(Array.isArray(e)){const o=e.map((e=>m(e,n,r,t)));return Object.assign(new RegExp(o.join("|")),{keys:n})}const o=m(e,n,r,t);return Object.assign(new RegExp(o),{keys:n})}},48268:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4883),o=n.n(r),i=n(36193),a=n.n(i),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=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"},u=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];return n=r=s(this,e.call.apply(e,[this].concat(a))),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)},s(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",c({ref:this.ref,style:l},n),e)},t}(o().Component);u.propTypes={children:a().oneOfType([a().node,a().func]).isRequired,onBlur:a().func,onFocus:a().func},u.defaultProps={onBlur:function(){},onFocus:function(){}};const d=u},48648:(e,t,n)=>{"use strict";function r(e){var t=e.deepEqual,n=e.empty,r=e.getIn;return function(e,o){return function(i){for(var a=o||function(e){return r(e,"form")},c=a(i),s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];if(l&&l.length)return l.every((function(n){var o=r(c,e+".initial."+n),i=r(c,e+".values."+n);return t(o,i)}));var d=r(c,e+".initial")||n,p=r(c,e+".values")||d;return t(d,p)}}}n.d(t,{A:()=>r})},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},48673:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r,o,i,a=n(4883),c=n.n(a),s=n(72189),l=n.n(s),u=n(26396),d=n.n(u),p=n(51510),f=n(69684),m=n(77271),h=n(57488),g=n(26166),y=d()(d()(d()(d()(d()({},m.A.condition.BASE,h.t7.color("text")),m.A.condition.DANGER,h.t7.color("signal.danger")),m.A.condition.SUCCESS,h.t7.color("signal.success")),m.A.condition.WARNING,h.t7.color("signal.warning")),m.A.condition.INFO,h.t7.color("signal.info")),v=(0,p.Ay)(f.dV).withConfig({displayName:"StyledSignalList"})(r||(r=l()(["\n && {\n list-style-type: none;\n margin-left: 0;\n }\n"]))),b=p.Ay.span.withConfig({displayName:"StyledSignalListIcon"})(o||(o=l()(["\n margin-left: -1px;\n margin-right: ",";\n"])),g.A.space(-2)),w=(0,p.Ay)(f.vx).withConfig({displayName:"StyledSignalListItem"})(i||(i=l()(["\n && {\n color: ",";\n position: relative;\n padding: 0;\n }\n"])),(function(e){return t=e.condition,y[t];var t})),x=n(74848);const O=function(e){return(0,x.jsx)(v,{as:"ul",children:c().Children.map(e.children,(function(e){return c().cloneElement(e)}))})};var k,S=n(39892),A=n.n(S),E=n(64116),j=["condition","label","children"],P=d()(d()(d()(d()(d()({},m.A.condition.BASE,!1),m.A.condition.DANGER,"times"),m.A.condition.SUCCESS,"check"),m.A.condition.WARNING,"exclamation-triangle"),m.A.condition.INFO,"info"),T=function(e){var t=P[e];return t?(0,x.jsx)(E.A,{icon:t,position:m.A.position.SOLE,hasFixedWidth:!1}):k||(k=(0,x.jsx)("i",{children:"•"}))};const C={List:O,Item:function(e){var t=e.condition,n=void 0===t?m.A.condition.BASE:t,r=e.label,o=e.children,i=A()(e,j);return(0,x.jsxs)(w,{condition:n,"data-cy":i["data-cy"],children:[(0,x.jsx)(b,{children:T(n)}),r,c().Children.map(o,(function(e){return c().cloneElement(e)}))]})}}},48854:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ge});var r=n(9946),o=n(78668),i=n(3265),a=n(43329),c=n(58161),s=n(29407);function l(e,t){const n=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):(0,a.w)(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}class u{subPriority=0;validate(e,t){return!0}}class d extends u{constructor(e,t,n,r,o){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class p extends u{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>(0,a.w)(t,e))}set(e,t){return t.timestampIsSet?e:(0,a.w)(e,l(e,this.context))}}class f{run(e,t,n,r){const o=this.parse(e,t,n,r);return o?{setter:new d(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}var m=n(61501);const h=/^(1[0-2]|0?\d)/,g=/^(3[0-1]|[0-2]?\d)/,y=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,v=/^(5[0-3]|[0-4]?\d)/,b=/^(2[0-3]|[0-1]?\d)/,w=/^(2[0-4]|[0-1]?\d)/,x=/^(1[0-1]|0?\d)/,O=/^(1[0-2]|0?\d)/,k=/^[0-5]?\d/,S=/^[0-5]?\d/,A=/^\d/,E=/^\d{1,2}/,j=/^\d{1,3}/,P=/^\d{1,4}/,T=/^-?\d+/,C=/^-?\d/,D=/^-?\d{1,2}/,_=/^-?\d{1,3}/,N=/^-?\d{1,4}/,I=/^([+-])(\d{2})(\d{2})?|Z/,R=/^([+-])(\d{2})(\d{2})|Z/,M=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,L=/^([+-])(\d{2}):(\d{2})|Z/,F=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function H(e,t){return e?{value:t(e.value),rest:e.rest}:e}function z(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function B(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*m.s0+i*m.Cg+a*m._m),rest:t.slice(n[0].length)}}function U(e){return z(T,e)}function W(e,t){switch(e){case 1:return z(A,t);case 2:return z(E,t);case 3:return z(j,t);case 4:return z(P,t);default:return z(new RegExp("^\\d{1,"+e+"}"),t)}}function V(e,t){switch(e){case 1:return z(C,t);case 2:return z(D,t);case 3:return z(_,t);case 4:return z(N,t);default:return z(new RegExp("^-?\\d{1,"+e+"}"),t)}}function q(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Y(e,t){const n=t>0,r=n?t:1-t;let o;if(r<=50)o=e||100;else{const t=r+50;o=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?o:1-o}function $(e){return e%400==0||e%4==0&&e%100!=0}var J=n(84485),G=n(80337);var K=n(22008);var Q=n(65456);function X(e,t,n){const r=(0,s.a)(e,n?.in),o=(0,Q.N)(r,n)-t;return r.setDate(r.getDate()-7*o),(0,s.a)(r,n?.in)}var Z=n(72794);function ee(e,t,n){const r=(0,s.a)(e,n?.in),o=(0,Z.s)(r,n)-t;return r.setDate(r.getDate()-7*o),r}const te=[31,28,31,30,31,30,31,31,30,31,30,31],ne=[31,29,31,30,31,30,31,31,30,31,30,31];var re=n(92516),oe=n(16172);function ie(e,t,n){const r=(0,re.q)(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=(0,s.a)(e,n?.in),a=i.getDay(),c=7-o,l=t<0||t>6?t-(a+c)%7:((t%7+7)%7+c)%7-(a+c)%7;return(0,oe.f)(i,l,n)}function ae(e,t){const n=(0,s.a)(e,t?.in).getDay();return 0===n?7:n}function ce(e,t,n){const r=(0,s.a)(e,n?.in),o=t-ae(r,n);return(0,oe.f)(r,o,n)}var se=n(1108);const le={G:new class extends f{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends f{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return H(W(4,e),r);case"yo":return H(n.ordinalNumber(e,{unit:"year"}),r);default:return H(W(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=Y(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}},Y:new class extends f{priority=130;parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return H(W(4,e),r);case"Yo":return H(n.ordinalNumber(e,{unit:"year"}),r);default:return H(W(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){const o=(0,J.h)(e,r);if(n.isTwoDigitYear){const t=Y(n.year,o);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,G.k)(e,r)}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,G.k)(e,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends f{priority=130;parse(e,t){return V("R"===t?4:t.length,e)}set(e,t,n){const r=(0,a.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,K.b)(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends f{priority=130;parse(e,t){return V("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends f{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return W(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends f{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return W(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends f{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const r=e=>e-1;switch(t){case"M":return H(z(h,e),r);case"MM":return H(W(2,e),r);case"Mo":return H(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends f{priority=110;parse(e,t,n){const r=e=>e-1;switch(t){case"L":return H(z(h,e),r);case"LL":return H(W(2,e),r);case"Lo":return H(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends f{priority=100;parse(e,t,n){switch(t){case"w":return z(v,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return(0,G.k)(X(e,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends f{priority=100;parse(e,t,n){switch(t){case"I":return z(v,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,K.b)(ee(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends f{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return z(g,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return W(t.length,e)}}validate(e,t){const n=$(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=ne[r]:t>=1&&t<=te[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends f{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return z(y,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return W(t.length,e)}}validate(e,t){return $(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends f{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=ie(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends f{priority=90;parse(e,t,n,r){const o=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return H(W(t.length,e),o);case"eo":return H(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=ie(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends f{priority=90;parse(e,t,n,r){const o=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return H(W(t.length,e),o);case"co":return H(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=ie(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends f{priority=90;parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return W(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return H(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return H(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return H(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return H(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=ce(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends f{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends f{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends f{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends f{priority=70;parse(e,t,n){switch(t){case"h":return z(O,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends f{priority=70;parse(e,t,n){switch(t){case"H":return z(b,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends f{priority=70;parse(e,t,n){switch(t){case"K":return z(x,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends f{priority=70;parse(e,t,n){switch(t){case"k":return z(w,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends f{priority=60;parse(e,t,n){switch(t){case"m":return z(k,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]},s:new class extends f{priority=50;parse(e,t,n){switch(t){case"s":return z(S,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]},S:new class extends f{priority=30;parse(e,t){return H(W(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]},X:new class extends f{priority=10;parse(e,t){switch(t){case"X":return B(I,e);case"XX":return B(R,e);case"XXXX":return B(M,e);case"XXXXX":return B(F,e);default:return B(L,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,se.G)(e)-n)}incompatibleTokens=["t","T","x"]},x:new class extends f{priority=10;parse(e,t){switch(t){case"x":return B(I,e);case"xx":return B(R,e);case"xxxx":return B(M,e);case"xxxxx":return B(F,e);default:return B(L,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,se.G)(e)-n)}incompatibleTokens=["t","T","X"]},t:new class extends f{priority=40;parse(e){return U(e)}set(e,t,n){return[(0,a.w)(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends f{priority=20;parse(e){return U(e)}set(e,t,n){return[(0,a.w)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},ue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,de=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pe=/^'([^]*?)'?$/,fe=/''/g,me=/\S/,he=/[a-zA-Z]/;function ge(e,t,n,l){const u=()=>(0,a.w)(l?.in||n,NaN),d=(0,c.q)(),f=l?.locale??d.locale??r.c,m=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,h=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0;if(!t)return e?u():(0,s.a)(n,l?.in);const g={firstWeekContainsDate:m,weekStartsOn:h,locale:f},y=[new p(l?.in,n)],v=t.match(de).map((e=>{const t=e[0];if(t in o.m){return(0,o.m[t])(e,f.formatLong)}return e})).join("").match(ue),b=[];for(let n of v){!l?.useAdditionalWeekYearTokens&&(0,i.xM)(n)&&(0,i.Ss)(n,t,e),!l?.useAdditionalDayOfYearTokens&&(0,i.ef)(n)&&(0,i.Ss)(n,t,e);const r=n[0],o=le[r];if(o){const{incompatibleTokens:t}=o;if(Array.isArray(t)){const e=b.find((e=>t.includes(e.token)||e.token===r));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if("*"===o.incompatibleTokens&&b.length>0)throw new RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);b.push({token:r,fullToken:n});const i=o.run(e,n,f.match,g);if(!i)return u();y.push(i.setter),e=i.rest}else{if(r.match(he))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=n.match(pe)[1].replace(fe,"'")),0!==e.indexOf(n))return u();e=e.slice(n.length)}}if(e.length>0&&me.test(e))return u();const w=y.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>y.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let x=(0,s.a)(n,l?.in);if(isNaN(+x))return u();const O={};for(const e of w){if(!e.validate(x,g))return u();const t=e.set(x,O,g);Array.isArray(t)?(x=t[0],Object.assign(O,t[1])):x=t}return x}},48948:(e,t,n)=>{var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),i=n(56449),a=n(30361),c=n(30294),s=n(77797);e.exports=function(e,t,n){for(var l=-1,u=(t=r(t,e)).length,d=!1;++l<u;){var p=s(t[l]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&c(u)&&a(p,u)&&(i(e)||o(e))}},49374:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},49653:(e,t,n)=>{var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},49859:(e,t,n)=>{e.exports=n(46079)()},50002:(e,t,n)=>{var r=n(82199),o=n(4664),i=n(95950);e.exports=function(e){return r(e,i,o)}},50083:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={name:"widget",colors:{paper:"#FFFFFF",primary:"#000000",primaryLight:"#424242",secondary:"#333",secondaryLight:"#7c7c7c",secondaryLighter:"#bababa",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#EDF1F5",backgroundBreadcrumbs:"#DEE6ED",backgroundPopover:"#424242",backgroundItemHover:"#E6E6E6",backgroundItemSelected:"#CCC",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundMultiValue:"#e6e6e6",loadingSpinner:"#000",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#CECECE"}},fontFamily:{monospace:"inherit",regular:"inherit"},fontSize:{base:1,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"2px",buttonLarge:"4px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0},space:{base:1,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1}},50098:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(5556),s=n.n(c),l=n(4883),u=n.n(l),d=n(64116),p=n(77271),f=n(67821),m=n(74848),h=["isTransparent","isVisible"];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){o()(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}var v=u().forwardRef((function(e,t){var n=e.isTransparent,r=void 0!==n&&n,o=e.isVisible,i=void 0===o||o,c=a()(e,h);return(0,m.jsx)(f.Ay,y(y({ref:t,type:"button",isTransparent:r,isVisible:i},c),{},{children:(0,m.jsx)(d.A,{icon:c.icon})}))}));v.propTypes={disabled:s().bool,icon:s().string.isRequired,ink:p.A.inkPropTypes,look:s().oneOf([p.A.look.FLAT,p.A.look.RAISED]),onClick:s().func,title:s().string,tabIndex:s().number,"data-cy":s().string,isTransparent:s().bool,isVisible:s().bool};const b=v},50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},50583:(e,t,n)=>{var r=n(47237),o=n(17255),i=n(28586),a=n(77797);e.exports=function(e){return i(e)?r(a(e)):o(e)}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,c){var s=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!s)return!1;for(var d=u;d--;){var p=l[d];if(!(s?p in t:o.call(t,p)))return!1}var f=c.get(e),m=c.get(t);if(f&&m)return f==t&&m==e;var h=!0;c.set(e,t),c.set(t,e);for(var g=s;++d<u;){var y=e[p=l[d]],v=t[p];if(i)var b=s?i(v,y,p,t,e,c):i(y,v,p,e,t,c);if(!(void 0===b?y===v||a(y,v,n,i,c):b)){h=!1;break}g||(g="constructor"==p)}if(h&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(h=!1)}return c.delete(e),c.delete(t),h}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},51510:(e,t,n)=>{"use strict";n.d(t,{ID:()=>Nt,NP:()=>Vt,DU:()=>en,AH:()=>Gt,Ay:()=>Xt,i7:()=>tn,SL:()=>nn});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;function o(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var i=n(4883),a=n.n(i),c=n(2833),s=n.n(c),l="-ms-",u="-moz-",d="-webkit-",p="comm",f="rule",m="decl",h="@import",g="@keyframes",y="@layer",v=Math.abs,b=String.fromCharCode,w=Object.assign;function x(e){return e.trim()}function O(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,n){return e.replace(t,n)}function S(e,t,n){return e.indexOf(t,n)}function A(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function j(e){return e.length}function P(e){return e.length}function T(e,t){return t.push(e),e}function C(e,t){return e.filter((function(e){return!O(e,t)}))}var D=1,_=1,N=0,I=0,R=0,M="";function L(e,t,n,r,o,i,a,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:D,column:_,length:a,return:"",siblings:c}}function F(e,t){return w(L("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function H(e){for(;e.root;)e=F(e.root,{children:[e]});T(e,e.siblings)}function z(){return R=I>0?A(M,--I):0,_--,10===R&&(_=1,D--),R}function B(){return R=I<N?A(M,I++):0,_++,10===R&&(_=1,D++),R}function U(){return A(M,I)}function W(){return I}function V(e,t){return E(M,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return D=_=1,N=j(M=e),I=0,[]}function $(e){return M="",e}function J(e){return x(V(I-1,Q(91===e?e+2:40===e?e+1:e)))}function G(e){for(;(R=U())&&R<33;)B();return q(e)>2||q(R)>3?"":" "}function K(e,t){for(;--t&&B()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return V(e,W()+(t<6&&32==U()&&32==B()))}function Q(e){for(;B();)switch(R){case e:return I;case 34:case 39:34!==e&&39!==e&&Q(R);break;case 40:41===e&&Q(e);break;case 92:B()}return I}function X(e,t){for(;B()&&e+R!==57&&(e+R!==84||47!==U()););return"/*"+V(t,I-1)+"*"+b(47===e?e:B())}function Z(e){for(;!q(U());)B();return V(e,I)}function ee(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function te(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case h:case m:return e.return=e.return||e.value;case p:return"";case g:return e.return=e.value+"{"+ee(e.children,r)+"}";case f:if(!j(e.value=e.props.join(",")))return""}return j(n=ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function ne(e,t,n){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return d+"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 d+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+u+e+l+e+e;case 5936:switch(A(e,t+11)){case 114:return d+e+l+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+l+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+l+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return d+e+l+e+e;case 6165:return d+e+l+"flex-"+e+e;case 5187:return d+e+k(e,/(\w+).+(:[^]+)/,d+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return d+e+l+"flex-item-"+k(e,/flex-|-self/g,"")+(O(e,/flex-|baseline/)?"":l+"grid-row-"+k(e,/flex-|-self/g,""))+e;case 4675:return d+e+l+"flex-line-pack"+k(e,/align-content|flex-|-self/g,"")+e;case 5548:return d+e+l+k(e,"shrink","negative")+e;case 5292:return d+e+l+k(e,"basis","preferred-size")+e;case 6060:return d+"box-"+k(e,"-grow","")+d+e+l+k(e,"grow","positive")+e;case 4554:return d+k(e,/([^-])(transform)/g,"$1"+d+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+e+e;case 4200:if(!O(e,/flex-|baseline/))return l+"grid-column-align"+E(e,t)+e;break;case 2592:case 3360:return l+k(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,O(e.props,/grid-\w+-end/)}))?~S(e+(n=n[t].value),"span",0)?e:l+k(e,"-start","")+e+l+"grid-row-span:"+(~S(n,"span",0)?O(n,/\d+/):+O(n,/\d+/)-+O(e,/\d+/))+";":l+k(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return O(e.props,/grid-\w+-start/)}))?e:l+k(k(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,d+"$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(j(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~S(e,"stretch",0)?ne(k(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return k(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,c){return l+n+":"+r+c+(o?l+n+"-span:"+(i?a:+a-+r)+c:"")+e}));case 4949:if(121===A(e,t+6))return k(e,":",":"+d)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return k(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===A(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+l+"$2box$3")+e;case 100:return k(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return k(e,"scroll-","scroll-snap-")+e}return e}function re(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case m:return void(e.return=ne(e.value,e.length,n));case g:return ee([F(e,{value:k(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(O(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":H(F(e,{props:[k(t,/:(read-\w+)/,":"+u+"$1")]})),H(F(e,{props:[t]})),w(e,{props:C(n,r)});break;case"::placeholder":H(F(e,{props:[k(t,/:(plac\w+)/,":"+d+"input-$1")]})),H(F(e,{props:[k(t,/:(plac\w+)/,":"+u+"$1")]})),H(F(e,{props:[k(t,/:(plac\w+)/,l+"input-$1")]})),H(F(e,{props:[t]})),w(e,{props:C(n,r)})}return""}))}}function oe(e){return $(ie("",null,null,null,[""],e=Y(e),0,[0],e))}function ie(e,t,n,r,o,i,a,c,s){for(var l=0,u=0,d=a,p=0,f=0,m=0,h=1,g=1,y=1,w=0,x="",O=o,E=i,P=r,C=x;g;)switch(m=w,w=B()){case 40:if(108!=m&&58==A(C,d-1)){-1!=S(C+=k(J(w),"&","&\f"),"&\f",v(l?c[l-1]:0))&&(y=-1);break}case 34:case 39:case 91:C+=J(w);break;case 9:case 10:case 13:case 32:C+=G(m);break;case 92:C+=K(W()-1,7);continue;case 47:switch(U()){case 42:case 47:T(ce(X(B(),W()),t,n,s),s);break;default:C+="/"}break;case 123*h:c[l++]=j(C)*y;case 125*h:case 59:case 0:switch(w){case 0:case 125:g=0;case 59+u:-1==y&&(C=k(C,/\f/g,"")),f>0&&j(C)-d&&T(f>32?se(C+";",r,n,d-1,s):se(k(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(T(P=ae(C,t,n,l,u,o,c,x,O=[],E=[],d,i),i),123===w)if(0===u)ie(C,t,P,P,O,i,d,c,E);else switch(99===p&&110===A(C,3)?100:p){case 100:case 108:case 109:case 115:ie(e,P,P,r&&T(ae(e,P,P,0,0,o,c,x,o,O=[],d,E),E),o,E,d,c,r?O:E);break;default:ie(C,P,P,P,[""],E,0,c,E)}}l=u=f=0,h=y=1,x=C="",d=a;break;case 58:d=1+j(C),f=m;default:if(h<1)if(123==w)--h;else if(125==w&&0==h++&&125==z())continue;switch(C+=b(w),w*h){case 38:y=u>0?1:(C+="\f",-1);break;case 44:c[l++]=(j(C)-1)*y,y=1;break;case 64:45===U()&&(C+=J(B())),p=U(),u=d=j(x=C+=Z(W())),w++;break;case 45:45===m&&2==j(C)&&(h=0)}}return i}function ae(e,t,n,r,o,i,a,c,s,l,u,d){for(var p=o-1,m=0===o?i:[""],h=P(m),g=0,y=0,b=0;g<r;++g)for(var w=0,O=E(e,p+1,p=v(y=a[g])),S=e;w<h;++w)(S=x(y>0?m[w]+" "+O:k(O,/&\f/g,m[w])))&&(s[b++]=S);return L(e,t,n,0===o?f:c,s,l,u,d)}function ce(e,t,n,r){return L(e,t,n,p,b(R),E(e,2,-2),0,r)}function se(e,t,n,r,o){return L(e,t,n,m,E(e,0,r),E(e,r+1,-1),r,o)}var le={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ue="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",de="active",pe="data-styled-version",fe="6.1.19",me="/*!sc*/\n",he="undefined"!=typeof window&&"undefined"!=typeof document,ge=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),ye={},ve=(new Set,Object.freeze([])),be=Object.freeze({});function we(e,t,n){return void 0===n&&(n=be),e.theme!==n.theme&&e.theme||t||n.theme}var xe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Oe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Se(e){return e.replace(Oe,"-").replace(ke,"")}var Ae=/(a)(d)/gi,Ee=52,je=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t,n="";for(t=Math.abs(e);t>Ee;t=t/Ee|0)n=je(t%Ee)+n;return(je(t%Ee)+n).replace(Ae,"$1-$2")}var Te,Ce=5381,De=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return De(Ce,e)};function Ne(e){return Pe(_e(e)>>>0)}function Ie(e){return e.displayName||e.name||"Component"}function Re(e){return"string"==typeof e&&!0}var Me="function"==typeof Symbol&&Symbol.for,Le=Me?Symbol.for("react.memo"):60115,Fe=Me?Symbol.for("react.forward_ref"):60112,He={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ze={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Be={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ue=((Te={})[Fe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Te[Le]=Be,Te);function We(e){return("type"in(t=e)&&t.type.$$typeof)===Le?Be:"$$typeof"in e?Ue[e.$$typeof]:He;var t}var Ve=Object.defineProperty,qe=Object.getOwnPropertyNames,Ye=Object.getOwnPropertySymbols,$e=Object.getOwnPropertyDescriptor,Je=Object.getPrototypeOf,Ge=Object.prototype;function Ke(e,t,n){if("string"!=typeof t){if(Ge){var r=Je(t);r&&r!==Ge&&Ke(e,r,n)}var o=qe(t);Ye&&(o=o.concat(Ye(t)));for(var i=We(e),a=We(t),c=0;c<o.length;++c){var s=o[c];if(!(s in ze||n&&n[s]||a&&s in a||i&&s in i)){var l=$e(t,s);try{Ve(e,s,l)}catch(e){}}}}return e}function Qe(e){return"function"==typeof e}function Xe(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function et(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function tt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nt(e,t,n){if(void 0===n&&(n=!1),!n&&!tt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=nt(e[r],t[r]);else if(tt(t))for(var r in t)e[r]=nt(e[r],t[r]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}function ot(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var it=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw ot(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),c=(i=0,t.length);i<c;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(me);return t},e}(),at=new Map,ct=new Map,st=1,lt=function(e){if(at.has(e))return at.get(e);for(;ct.has(st);)st++;var t=st++;return at.set(e,t),ct.set(t,e),t},ut=function(e,t){st=t+1,at.set(e,t),ct.set(t,e)},dt="style[".concat(ue,"][").concat(pe,'="').concat(fe,'"]'),pt=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ft=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},mt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(me),o=[],i=0,a=r.length;i<a;i++){var c=r[i].trim();if(c){var s=c.match(pt);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(ut(u,l),ft(e,u,s[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(c)}}},ht=function(e){for(var t=document.querySelectorAll(dt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==de&&(mt(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function gt(){return n.nc}var yt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(ue,de),r.setAttribute(pe,fe);var a=gt();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},vt=function(){function e(e){this.element=yt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw ot(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),bt=function(){function e(e){this.element=yt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),xt=he,Ot={isServer:!he,useCSSOMInjection:!ge},kt=function(){function e(e,t,n){void 0===e&&(e=be),void 0===t&&(t={});var o=this;this.options=r(r({},Ot),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&he&&xt&&(xt=!1,ht(this)),rt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return ct.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||!i.size||0===a.length)return"continue";var c="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(a).concat(c,'{content:"').concat(s,'"}').concat(me)},i=0;i<n;i++)o(i);return r}(o)}))}return e.registerId=function(e){return lt(e)},e.prototype.rehydrate=function(){!this.server&&he&&ht(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new wt(n):t?new vt(n):new bt(n)}(this.options),new it(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(lt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(lt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(lt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,At=/^\s*\/\/.*$/gm;function Et(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Et(e.children,t)),e}))}function jt(e){var t,n,r,o=void 0===e?be:e,i=o.options,a=void 0===i?be:i,c=o.plugins,s=void 0===c?ve:c,l=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,n).replace(r,l))})),a.prefix&&u.push(re),u.push(te);var d=function(e,o,i,c){void 0===o&&(o=""),void 0===i&&(i=""),void 0===c&&(c="&"),t=c,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(At,""),l=oe(i||o?"".concat(i," ").concat(o," { ").concat(s," }"):s);a.namespace&&(l=Et(l,a.namespace));var d,p,f,m=[];return ee(l,(d=u.concat((f=function(e){return m.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=P(d),function(e,t,n,r){for(var o="",i=0;i<p;i++)o+=d[i](e,t,n,r)||"";return o})),m};return d.hash=s.length?s.reduce((function(e,t){return t.name||ot(15),De(e,t.name)}),Ce).toString():"",d}var Pt=new kt,Tt=jt(),Ct=a().createContext({shouldForwardProp:void 0,styleSheet:Pt,stylis:Tt}),Dt=(Ct.Consumer,a().createContext(void 0));function _t(){return(0,i.useContext)(Ct)}function Nt(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=_t().styleSheet,c=(0,i.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),l=(0,i.useMemo)((function(){return jt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)((function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,i.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:c,stylis:l}}),[e.shouldForwardProp,c,l]);return a().createElement(Ct.Provider,{value:u},a().createElement(Dt.Provider,{value:l},e.children))}var It=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Tt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rt(this,(function(){throw ot(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Tt),this.name+e.hash},e}(),Rt=function(e){return e>="A"&&e<="Z"};function Mt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Rt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Lt=function(e){return null==e||!1===e||""===e},Ft=function(e){var t,n,r=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!Lt(a)&&(Array.isArray(a)&&a.isCss||Qe(a)?r.push("".concat(Mt(i),":"),a,";"):tt(a)?r.push.apply(r,o(o(["".concat(i," {")],Ft(a),!1),["}"],!1)):r.push("".concat(Mt(i),": ").concat((t=i,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in le||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ht(e,t,n,r){return Lt(e)?[]:Xe(e)?[".".concat(e.styledComponentId)]:Qe(e)?!Qe(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ht(e(t),t,n,r):e instanceof It?n?(e.inject(n,r),[e.getName(r)]):[e]:tt(e)?Ft(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map((function(e){return Ht(e,t,n,r)}))):[e.toString()];var o}function zt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qe(n)&&!Xe(n))return!1}return!0}var Bt=_e(fe),Ut=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&zt(e),this.componentId=t,this.baseHash=De(Bt,t),this.baseStyle=n,kt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ze(r,this.staticRulesId);else{var o=et(Ht(this.rules,e,t,n)),i=Pe(De(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Ze(r,i),this.staticRulesId=i}else{for(var c=De(this.baseHash,n.hash),s="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)s+=u;else if(u){var d=et(Ht(u,e,t,n));c=De(c,d+l),s+=d}}if(s){var p=Pe(c>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=Ze(r,p)}}return r},e}(),Wt=a().createContext(void 0);Wt.Consumer;function Vt(e){var t=a().useContext(Wt),n=(0,i.useMemo)((function(){return function(e,t){if(!e)throw ot(14);if(Qe(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw ot(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?a().createElement(Wt.Provider,{value:n},e.children):null}var qt={};new Set;function Yt(e,t,n){var o=Xe(e),c=e,s=!Re(e),l=t.attrs,u=void 0===l?ve:l,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Se(e);qt[n]=(qt[n]||0)+1;var r="".concat(n,"-").concat(Ne(fe+n+qt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,m=void 0===f?function(e){return Re(e)?"styled.".concat(e):"Styled(".concat(Ie(e),")")}(e):f,h=t.displayName&&t.componentId?"".concat(Se(t.displayName),"-").concat(t.componentId):t.componentId||p,g=o&&c.attrs?c.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(o&&c.shouldForwardProp){var v=c.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var w=new Ut(n,h,o?c.componentStyle:void 0);function x(e,t){return function(e,t,n){var o=e.attrs,c=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=a().useContext(Wt),f=_t(),m=e.shouldForwardProp||f.shouldForwardProp,h=we(t,p,s)||be,g=function(e,t,n){for(var o,i=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var c=Qe(o=e[a])?o(i):o;for(var s in c)i[s]="className"===s?Ze(i[s],c[s]):"style"===s?r(r({},i[s]),c[s]):c[s]}return t.className&&(i.className=Ze(i.className,t.className)),i}(o,t,h),y=g.as||d,v={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===h||("forwardedAs"===b?v.as=g.forwardedAs:m&&!m(b,y)||(v[b]=g[b]));var w=function(e,t){var n=_t();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(c,g),x=Ze(l,u);return w&&(x+=" "+w),g.className&&(x+=" "+g.className),v[Re(y)&&!xe.has(y)?"class":"className"]=x,n&&(v.ref=n),(0,i.createElement)(y,v)}(O,e,t)}x.displayName=m;var O=a().forwardRef(x);return O.attrs=g,O.componentStyle=w,O.displayName=m,O.shouldForwardProp=y,O.foldedComponentIds=o?Ze(c.foldedComponentIds,c.styledComponentId):"",O.styledComponentId=h,O.target=o?c.target:e,Object.defineProperty(O,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)nt(e,o[r],!0);return e}({},c.defaultProps,e):e}}),rt(O,(function(){return".".concat(O.styledComponentId)})),s&&Ke(O,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),O}function $t(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Jt=function(e){return Object.assign(e,{isCss:!0})};function Gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Qe(e)||tt(e))return Jt(Ht($t(ve,o([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ht(r):Jt(Ht($t(r,t)))}function Kt(e,t,n){if(void 0===n&&(n=be),!t)throw ot(1,t);var i=function(r){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,n,Gt.apply(void 0,o([r],i,!1)))};return i.attrs=function(o){return Kt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},i.withConfig=function(o){return Kt(e,t,r(r({},n),o))},i}var Qt=function(e){return Kt(Yt,e)},Xt=Qt;xe.forEach((function(e){Xt[e]=Qt(e)}));var Zt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=zt(e),kt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(et(Ht(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&kt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function en(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Gt.apply(void 0,o([e],t,!1)),c="sc-global-".concat(Ne(JSON.stringify(i))),s=new Zt(i,c),l=function(e){var t=_t(),n=a().useContext(Wt),r=a().useRef(t.styleSheet.allocateGSInstance(c)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),a().useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return s.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,i){if(s.isStatic)s.renderStyles(e,ye,n,i);else{var a=r(r({},t),{theme:we(t,o,l.defaultProps)});s.renderStyles(e,a,n,i)}}return a().memo(l)}function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=et(Gt.apply(void 0,o([e],t,!1))),i=Ne(r);return new It(i,r)}function nn(e){var t=a().forwardRef((function(t,n){var o=we(t,a().useContext(Wt),e.defaultProps);return a().createElement(e,r({},t,{theme:o,ref:n}))}));return t.displayName="WithTheme(".concat(Ie(e),")"),Ke(t,e)}(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=gt(),r=et([n&&'nonce="'.concat(n,'"'),"".concat(ue,'="true"'),"".concat(pe,'="').concat(fe,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw ot(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw ot(2);var n=e.instance.toString();if(!n)return[];var o=((t={})[ue]="",t[pe]=fe,t.dangerouslySetInnerHTML={__html:n},t),i=gt();return i&&(o.nonce=i),[a().createElement("style",r({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new kt({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw ot(2);return a().createElement(Nt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw ot(3)}})(),"__sc-".concat(ue,"__")},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},51898:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(43329),o=n(22008),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in),a=n.getFullYear(),c=(0,r.w)(n,0);c.setFullYear(a+1,0,4),c.setHours(0,0,0,0);const s=(0,o.b)(c),l=(0,r.w)(n,0);l.setFullYear(a,0,4),l.setHours(0,0,0,0);const u=(0,o.b)(l);return n.getTime()>=s.getTime()?a+1:n.getTime()>=u.getTime()?a:a-1}},52098:(e,t,n)=>{"use strict";var r,o=n(4883),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,l=[];function u(){s=e(l.map((function(e){return e.props}))),d.canUseDOM?t(s):n&&(s=n(s))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return s},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,l=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){l.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),u()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",c),d}}},52381:(e,t,n)=>{"use strict";n.d(t,{MW:()=>i,Yz:()=>s,at:()=>c,dT:()=>a,de:()=>r,vc:()=>o});var r="showcaseActions/EDIT_WIDGET_CONFIG",o="showcaseActions/EDIT_THEME",i="showcaseActions/VIEW_WIDGET_INPUT",a=function(){return{type:r}},c=function(){return{type:o}},s=function(e){return{type:i,payload:{input:e}}}},53138:(e,t,n)=>{var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},53661:(e,t,n)=>{var r=n(63040),o=n(17670),i=n(90289),a=n(4509),c=n(72949);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,e.exports=s},53971:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(58156),s=n.n(c),l=n(63560),u=n.n(l);function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=n(2404),m=n.n(f),h=n(23805),g=n.n(h),y=n(90179),v=n.n(y),b=n(44383),w=n.n(b),x=n(40860),O=n.n(x),k=n(31444),S=n.n(k);function A(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j={KEY:"__key",MODEL:"__model",VERSION:"__version"},P=["key","display","model","version"],T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return O()(e,(function(e,n,r){var i=[].concat(a()(t),[r]),c={};n.value&&(c=Array.isArray(n.value)?n.value.reduce((function(e,t){return function(e,t){return O()(t,(function(e,t,n){var r=(Array.isArray(t)?t:[t]).filter((function(e){return null!==e}));return E(E({},e),{},o()({},n,S()([].concat(a()(e[n]||[]),a()(r)),m())))}),e)}(e,T(t.paths,i))}),{}):T(n.value.paths,i));var l=o()({},i.join("."),function(e,t){switch(e){case"entity":return t?w()(t,P):null;case"entity-list":return t.length>0?t.map((function(e){return w()(e,P)})):null;case"login":return s()(t,"username");case"longitude":case"latitude":return s()(t,"value");default:return t}}(n.type,n.value));return E(E(E({},e),l),c)}),{})};function C(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){return!e.hidden},N=function(e,t){var n=null==t?void 0:t.findIndex((function(t){return t.field===e.id}));return n>=0?{sortRank:n+1,order:t[n].order}:{}},I=["counter","decimal","double","integer","latitude","long","longitude","moneyamount","percent","serial","sorting","version","number"],R=function(e){var t;return null!=e&&e.alignment?e.alignment.toLowerCase():1===(null==e||null===(t=e.children)||void 0===t?void 0:t.length)?I.includes(e.children[0].dataType)?"right":"left":null!=e&&e.dataType&&I.includes(e.dataType)?"right":"left"};const M={metaFields:j,relationFieldTypes:["single-select-box","multi-select-box","single-remote-field","multi-remote-field","availability"],relevantRelationAttributes:P,getFlattenEntity:function(e){return E(o()(o()(o()({},j.KEY,e.key),j.MODEL,e.model),j.VERSION,e.version),T(e.paths))},flattenPaths:T,toEntity:function(e){var t=function(e){return Array.isArray(e)?e.map((function(e){return t(e)})):g()(e)?function(e){return e.pickAllProperties?v()(e,["pickAllProperties"]):w()(e,["key","version","id","resourceKey"])}(e):e},n=Object.keys(e).reduce((function(n,r){if(i=r,!Object.values(j).includes(i)){var o=r.split(".").join(".paths.").split(".");return u()(n,o,t(e[r]))}var i;return n}),{});return{model:e[j.MODEL],key:e[j.KEY],version:e[j.VERSION],paths:n}},getPathDisplayRequest:function(e,t,n){var r={};return e.forEach((function(e){t.forEach((function(t){if(e[t]){var o=e[t];(Array.isArray(o)?o:[o]).filter((function(e){return null!==e})).forEach((function(e){var t=e.model,o=e.key;(function(e,t,n){return!!s()(n,["defaultDisplays",e,t],"")})(t,o,n)||function(e,t,n){return s()(n,[e],[]).includes(t)}(t,o,r)||u()(r,[t],[].concat(a()(s()(r,[t],[])),[o]))}))}}))})),r},getDisplayRequest:function(e){return e.reduce((function(e,t){return p(p({},e),{},o()({},t.model,[].concat(a()(e[t.model]||[]),[t.key])))}),{})},getColumnDefinition:function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e?e.filter((function(e){return!e.hidden&&e.children.filter(_).length>0})).map((function(e,r){return{idx:r,id:e.id,label:e.label,sorting:D({sortable:e.sortable},N(e,t)),children:e.children.filter(_),resizable:!e.widthFixed,alignment:R(e),shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,CellRenderer:function(e){var t=e.rowData;return e.column.children.map((function(e){return n.apply(void 0,[e,t].concat(o))}))}}})):[]},getColumnAlignment:R,splitFormId:function(e){var t=e.lastIndexOf("_");return{formName:e.substring(0,t),scope:e.substring(t+1)}},eventRegistration:{getEventRelationshipModulesQuery:function(e){return{query:{where:"relModule.pk == ".concat(e,' and relEvent_relationship_registration.unique_id == "show"'),paths:["relCourse","relEvent_relationship_type.unique_id","sorting"],sort:"sorting desc"},entityName:"Event_relationship"}}},getSortingAttributes:N}},54525:(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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}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 i,a=n(3675),c=(i=a)&&i.__esModule?i:{default:i},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),i=n[0],a=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 l=n.map((function(e){return i[e]})).filter(s);return"string"==typeof l[0]||"function"==typeof a?{key:e,className:a?a.apply(void 0,o(l)):l.join(" ")}:{key:e,style:c.default.apply(void 0,[{}].concat(o(l)))}}},e.exports=t.default},54819:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:u,r=t&&t.serializer?t.serializer:s;return(t&&t.strategy?t.strategy:c)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function i(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function a(e,t,n,r,o){return n.bind(t,e,r,o)}function c(e,t){return a(e,this,1===e.length?o:i,t.cache.create(),t.serializer)}n.d(t,{B:()=>r,W:()=>d});var s=function(){return JSON.stringify(arguments)},l=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),u={create:function(){return new l}},d={variadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},55056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},55364:(e,t,n)=>{var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},55765:(e,t,n)=>{var r=n(38859),o=n(15325),i=n(29905),a=n(19219),c=n(44517),s=n(84247);e.exports=function(e,t,n){var l=-1,u=o,d=e.length,p=!0,f=[],m=f;if(n)p=!1,u=i;else if(d>=200){var h=t?null:c(e);if(h)return s(h);p=!1,u=a,m=new r}else m=t?[]:f;e:for(;++l<d;){var g=e[l],y=t?t(g):g;if(g=n||0!==g?g:0,p&&y==y){for(var v=m.length;v--;)if(m[v]===y)continue e;t&&m.push(y),f.push(g)}else u(m,y,n)||(m!==f&&m.push(y),f.push(g))}return f}},56014:(e,t,n)=>{"use strict";n.d(t,{A:()=>Kd});var r,o,i,a=n(26396),c=n.n(a),s=n(90179),l=n.n(s),u=n(62193),d=n.n(u),p=n(3634),f=n(62243),m=n.n(f),h=n(48268),g=n(44905),y=n(69556),v=n(56375),b=n(40443),w=n(85735),x=n.n(w),O=function(e){return-1*Math.abs(e)},k=function(e){var t=[e.street,e.postcode,e.city,e.country].filter(Boolean).map((function(e){var t="object"===x()(e)&&e.display?e.display:e;return encodeURIComponent(t)})).join("+");return"".concat("https://www.google.com/maps/search/?api=1&query=").concat(t)},S=n(72189),A=n.n(S),E=n(58156),j=n.n(E),P=n(51510),T=n(26166),C=n(57488),D=P.Ay.div.withConfig({displayName:"StyledLocationEdit"})(r||(r=A()(["\n && {\n ","\n position: relative;\n\n & > div {\n &:nth-of-type(1) {\n flex: 0 0 13ch;\n margin-right: ",";\n }\n\n &:nth-of-type(2) {\n flex: 1 1 auto;\n }\n }\n\n > span {\n flex: 0 0 auto;\n margin-right: ",";\n color: ",";\n }\n\n "," {\n margin-left: auto;\n }\n\n .react-autosuggest__input {\n ","\n width: 100%;\n }\n\n .react-autosuggest__container {\n width: 100%;\n }\n\n .react-autosuggest__suggestions-container--open {\n width: calc(100% + 17.5px);\n background-color: ",";\n box-shadow: 0 0 6px ",";\n border: 1px solid ",";\n bottom: -9px;\n left: -10px;\n max-height: 300px;\n overflow-y: auto;\n position: absolute;\n transform: translateY(100%);\n z-index: 2; /* higher than StyledIndicatorsContainerWrapper */\n }\n\n .react-autosuggest__suggestions-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .react-autosuggest__suggestion {\n cursor: pointer;\n padding: 8px 12px;\n }\n\n .react-autosuggest__suggestion--highlighted {\n background-color: ",";\n }\n }\n"])),b.oX,T.A.space(-2),T.A.space(-2),(function(e){var t=e.immutable,n=e.theme;return t?j()(n,"colors.textDisabled"):j()(n,"colors.text")}),b.PG,b.jx,C.t7.color("paper"),C.t7.color("signal.info"),C.t7.color("secondaryLight"),C.t7.color("backgroundItemHover")),_=(0,P.Ay)(D).withConfig({displayName:"StyledAddressEdit"})(o||(o=A()(["\n && {\n & > div:nth-of-type(1) {\n flex: auto;\n width: 100%;\n }\n }\n"]))),N=n(74848);function I(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 R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const M=function(e){var t,n=e.onChange,r=e.options,o=e.value,a=e.id,s=e.immutable,l=e.name,u=function(e){return function(t){return t[e]}},d=function(e){var t=e.street,n=e.houseNr;return n?"".concat(t," ").concat(n):t},p=function(e){var t=e.street,n=e.state,r=e.country,o=e.postcode,i=e.city;if(!t)return null;var a=d(e),c=n?"- ".concat(n):"",s=r?"/ ".concat(r.display):"";return(0,N.jsxs)(v.Ay.Span,{children:[a,", ",o," ",i," ",c," ",s]})},f=function(e,t){var o=t.suggestion;!0===o.validationRequired?r.validateLocation(o,n):n(o)},w=function(e){var t=e.value,n=r.locationValues.country,o={street:t};r.fetchSuggestions(o,n)},x={id:a,value:o&&o.street?d(o):"",onChange:(t="street",function(e,r){var i=r.newValue;n(R(R({},o),{},c()({},t,i)))}),disabled:s,name:"address-line1",autocomplete:"street-address"};return(0,N.jsx)(h.A,{children:function(e){var t,n,o,a,c=e.getRef;return(0,N.jsxs)(_,{immutable:s,name:l,ref:c,children:[(0,N.jsx)(m(),{suggestions:r.suggestions||[],onSuggestionsFetchRequested:w,getSuggestionValue:u("street"),renderSuggestion:p,onSuggestionsClearRequested:function(){},inputProps:x,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(e){return e&&!s}}),(0,N.jsxs)(b.PG,{children:[r.isLoading&&(i||(i=(0,N.jsx)(y.A,{size:"1.8rem"}))),(t=r.locationValues,n=t.street,o=t.city,a=t.postcode,Boolean(n&&(o||a))&&(0,N.jsx)(g.A,{href:k(r.locationValues),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:r.mapButtonTitle||"Show on map",neutral:!0}))]})]})}})};var L=n(69843),F=n.n(L),H=n(21259),z=n.n(H),B=n(22056),U=n.n(B),W=n(7350),V=n.n(W),q=n(4883),Y=n.t(q,2),$=n.n(q),J=n(47029),G=n(2482),K=n(35412),Q=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var X=n(65166);function Z(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 ee(e,t){return ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ee(e,t)}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}var ne=n(65710);function re(e,t){if(t&&("object"===(0,ne.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function oe(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=te(e);if(t){var o=te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return re(this,n)}}var ie=n(77987);var ae=n(25134);function ce(e){return function(e){if(Array.isArray(e))return(0,ie.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,ae.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var se=n(60355),le=n(3834),ue=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function de(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||ue(r)&&ue(o)))return!1;var r,o;return!0}for(var pe={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"},fe=function(e){return(0,le.Y)("span",(0,X.A)({css:pe},e))},me={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".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,i=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,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,c=e.isDisabled,s=e.isSelected,l=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&l){var d=c?" disabled":"",p="".concat(s?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},he=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,c=e.selectProps,s=e.id,l=e.isAppleDevice,u=c.ariaLiveMessages,d=c.getOptionLabel,p=c.inputValue,f=c.isMulti,m=c.isOptionDisabled,h=c.isSearchable,g=c.menuIsOpen,y=c.options,v=c.screenReaderStatus,b=c.tabSelectsValue,w=c.isLoading,x=c["aria-label"],O=c["aria-live"],k=(0,q.useMemo)((function(){return(0,J.A)((0,J.A)({},me),u||{})}),[u]),S=(0,q.useMemo)((function(){var e,n="";if(t&&k.onChange){var r=t.option,o=t.options,i=t.removedValue,c=t.removedValues,s=t.value,l=i||r||(e=s,Array.isArray(e)?null:e),u=l?d(l):"",p=o||c||void 0,f=p?p.map(d):[],h=(0,J.A)({isDisabled:l&&m(l,a),label:u,labels:f},t);n=k.onChange(h)}return n}),[t,k,m,a,d]),A=(0,q.useMemo)((function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&k.onFocus){var c={focused:t,label:d(t),isDisabled:m(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=k.onFocus(c)}return e}),[n,r,d,m,k,o,a,l]),E=(0,q.useMemo)((function(){var e="";if(g&&y.length&&!w&&k.onFilter){var t=v({count:o.length});e=k.onFilter({inputValue:p,resultsMessage:t})}return e}),[o,p,g,k,y,v,w]),j="initial-input-focus"===(null==t?void 0:t.action),P=(0,q.useMemo)((function(){var e="";if(k.guidance){var t=r?"value":g?"menu":"input";e=k.guidance({"aria-label":x,context:t,isDisabled:n&&m(n,a),isMulti:f,isSearchable:h,tabSelectsValue:b,isInitialFocus:j})}return e}),[x,n,r,f,m,h,g,k,a,b,j]),T=(0,le.Y)(q.Fragment,null,(0,le.Y)("span",{id:"aria-selection"},S),(0,le.Y)("span",{id:"aria-focused"},A),(0,le.Y)("span",{id:"aria-results"},E),(0,le.Y)("span",{id:"aria-guidance"},P));return(0,le.Y)(q.Fragment,null,(0,le.Y)(fe,{id:s},j&&T),(0,le.Y)(fe,{"aria-live":O,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!j&&T))},ge=[{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źẑżžẓẕƶȥɀⱬꝣ"}],ye=new RegExp("["+ge.map((function(e){return e.letters})).join("")+"]","g"),ve={},be=0;be<ge.length;be++)for(var we=ge[be],xe=0;xe<we.letters.length;xe++)ve[we.letters[xe]]=we.base;var Oe=function(e){return e.replace(ye,(function(e){return ve[e]}))},ke=function(e,t){void 0===t&&(t=de);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Oe),Se=function(e){return e.replace(/^\s+|\s+$/g,"")},Ae=function(e){return"".concat(e.label," ").concat(e.value)},Ee=["innerRef"];function je(e){var t=e.innerRef,n=(0,K.A)(e,Ee),r=(0,se.r)(n,"onExited","in","enter","exit","appear");return(0,le.Y)("input",(0,X.A)({ref:t},r,{css:(0,le.AH)({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 Pe=["boxSizing","height","overflow","paddingRight","position"],Te={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ce(e){e.cancelable&&e.preventDefault()}function De(e){e.stopPropagation()}function _e(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ne(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ie=!("undefined"==typeof window||!window.document||!window.document.createElement),Re=0,Me={capture:!1,passive:!1};var Le=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Fe={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function He(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,q.useRef)(!1),c=(0,q.useRef)(!1),s=(0,q.useRef)(0),l=(0,q.useRef)(null),u=(0,q.useCallback)((function(e,t){if(null!==l.current){var s=l.current,u=s.scrollTop,d=s.scrollHeight,p=s.clientHeight,f=l.current,m=t>0,h=d-p-u,g=!1;h>t&&a.current&&(r&&r(e),a.current=!1),m&&c.current&&(i&&i(e),c.current=!1),m&&t>h?(n&&!a.current&&n(e),f.scrollTop=d,g=!0,a.current=!0):!m&&-t>u&&(o&&!c.current&&o(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),d=(0,q.useCallback)((function(e){u(e,e.deltaY)}),[u]),p=(0,q.useCallback)((function(e){s.current=e.changedTouches[0].clientY}),[]),f=(0,q.useCallback)((function(e){var t=s.current-e.changedTouches[0].clientY;u(e,t)}),[u]),m=(0,q.useCallback)((function(e){if(e){var t=!!se.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",f,t)}}),[f,p,d]),h=(0,q.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",f,!1))}),[f,p,d]);return(0,q.useEffect)((function(){if(t){var e=l.current;return m(e),function(){h(e)}}}),[t,m,h]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,q.useRef)({}),i=(0,q.useRef)(null),a=(0,q.useCallback)((function(e){if(Ie){var t=document.body,n=t&&t.style;if(r&&Pe.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Re<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,c=window.innerWidth-a+i||0;Object.keys(Te).forEach((function(e){var t=Te[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(c,"px"))}t&&Ne()&&(t.addEventListener("touchmove",Ce,Me),e&&(e.addEventListener("touchstart",_e,Me),e.addEventListener("touchmove",De,Me))),Re+=1}}),[r]),c=(0,q.useCallback)((function(e){if(Ie){var t=document.body,n=t&&t.style;Re=Math.max(Re-1,0),r&&Re<1&&Pe.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Ne()&&(t.removeEventListener("touchmove",Ce,Me),e&&(e.removeEventListener("touchstart",_e,Me),e.removeEventListener("touchmove",De,Me)))}}),[r]);return(0,q.useEffect)((function(){if(t){var e=i.current;return a(e),function(){c(e)}}}),[t,a,c]),function(e){i.current=e}}({isEnabled:n});return(0,le.Y)(q.Fragment,null,n&&(0,le.Y)("div",{onClick:Le,css:Fe}),t((function(e){o(e),i(e)})))}var ze={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Be=function(e){var t=e.name,n=e.onFocus;return(0,le.Y)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:ze,value:"",onChange:function(){}})};function Ue(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function We(){return Ue(/^Mac/i)}function Ve(){return Ue(/^iPhone/i)||Ue(/^iPad/i)||We()&&navigator.maxTouchPoints>1}var qe={clearIndicator:se.a,container:se.b,control:se.d,dropdownIndicator:se.e,group:se.g,groupHeading:se.f,indicatorsContainer:se.i,indicatorSeparator:se.h,input:se.j,loadingIndicator:se.l,loadingMessage:se.k,menu:se.m,menuList:se.n,menuPortal:se.o,multiValue:se.p,multiValueLabel:se.q,multiValueRemove:se.t,noOptionsMessage:se.u,option:se.v,placeholder:se.w,singleValue:se.x,valueContainer:se.y};var Ye,$e={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}},Je={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,se.z)(),captureMenuScroll:!(0,se.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,J.A)({ignoreCase:!0,ignoreAccents:!0,stringify:Ae,trim:!0,matchFrom:"any"},Ye),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,c=n.matchFrom,s=a?Se(t):t,l=a?Se(i(e)):i(e);return r&&(s=s.toLowerCase(),l=l.toLowerCase()),o&&(s=ke(s),l=Oe(l)),"start"===c?l.substr(0,s.length)===s:l.indexOf(s)>-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,se.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Ge(e,t,n,r){return{type:"option",data:t,isDisabled:rt(e,t,n),isSelected:ot(e,t,n),label:tt(e,t),value:nt(e,t),index:r}}function Ke(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Ge(e,n,t,r)})).filter((function(t){return Ze(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Ge(e,n,t,r);return Ze(e,i)?i:void 0})).filter(se.K)}function Qe(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,ce(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Xe(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,ce(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function Ze(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,c=t.value;return(!at(e)||!i)&&it(e,{label:a,value:c,data:o},r)}var et=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},tt=function(e,t){return e.getOptionLabel(t)},nt=function(e,t){return e.getOptionValue(t)};function rt(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ot(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=nt(e,t);return n.some((function(t){return nt(e,t)===r}))}function it(e,t,n){return!e.filterOption||e.filterOption(t,n)}var at=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ct=1,st=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ee(e,t)}(i,e);var t,n,r,o=oe(i);function i(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,c=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:c}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,c=o&&t.isOptionSelected(e,a),s=t.isOptionDisabled(e,a);if(c){var l=t.getOptionValue(e);t.setValue((0,se.B)(a.filter((function(e){return t.getOptionValue(e)!==l}))),"deselect-option",e)}else{if(s)return void t.ariaOnChange((0,se.C)(e),{action:"select-option",option:e,name:i});o?t.setValue((0,se.B)([].concat(ce(a),[e])),"select-option",e):t.setValue((0,se.C)(e),"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=(0,se.D)(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,se.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=(0,se.D)(e,o,o[0]||null);r&&t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return et(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Xe(Ke(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return se.E.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return tt(t.props,e)},t.getOptionValue=function(e){return nt(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=qe[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,se.F)(t.props)},t.buildCategorizedOptions=function(){return Ke(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return Qe(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:(0,J.A)({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,se.G)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return at(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,c=n.isClearable,s=n.isDisabled,l=n.menuIsOpen,u=n.onKeyDown,d=n.tabSelectsValue,p=n.openMenuOnFocus,f=t.state,m=f.focusedOption,h=f.focusedValue,g=f.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)t.removeValue(h);else{if(!o)return;r?t.popValue():c&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!d||!m||p&&t.isOptionSelected(m,g))return;t.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(l){if(!m)return;if(t.isComposing)return;t.selectOption(m);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):c&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!m)return;t.selectOption(m);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++ct),t.state.selectValue=(0,se.H)(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),a=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[a],t.state.focusedOptionId=et(n,r[a])}return t}return t=i,n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,se.I)(this.menuListRef,this.focusedOptionRef),(We()||Ve())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,se.I)(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,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var c=i.indexOf(r[0]);c>-1&&(a=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(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 i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($e):(0,J.A)((0,J.A)({},$e),this.props.theme):$e}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,c=this.props,s=c.isMulti,l=c.isRtl,u=c.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:u,selectOption:i,selectProps:c,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 rt(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ot(this.props,e,t)}},{key:"filterOption",value:function(e,t){return it(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,c=e.menuIsOpen,s=e.required,l=this.getComponents().Input,u=this.state,d=u.inputIsHidden,p=u.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),h=(0,J.A)((0,J.A)((0,J.A)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":s,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?q.createElement(l,(0,X.A)({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},h)):q.createElement(je,(0,X.A)({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:se.J,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},h))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,c=t.Placeholder,s=this.commonProps,l=this.props,u=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,f=l.inputValue,m=l.placeholder,h=this.state,g=h.selectValue,y=h.focusedValue,v=h.isFocused;if(!this.hasValue()||!u)return f?null:q.createElement(c,(0,X.A)({},s,{key:"placeholder",isDisabled:d,isFocused:v,innerProps:{id:this.getElementId("placeholder")}}),m);if(p)return g.map((function(t,a){var c=t===y,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return q.createElement(n,(0,X.A)({},s,{components:{Container:r,Label:o,Remove:i},isFocused:c,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var b=g[0];return q.createElement(a,(0,X.A)({},s,{data:b,isDisabled:d}),this.formatOptionLabel(b,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return q.createElement(e,(0,X.A)({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?q.createElement(e,(0,X.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{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,i=this.state.isFocused;return q.createElement(n,(0,X.A)({},r,{isDisabled:o,isFocused:i}))}},{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 q.createElement(e,(0,X.A)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,c=t.LoadingMessage,s=t.NoOptionsMessage,l=t.Option,u=this.commonProps,d=this.state.focusedOption,p=this.props,f=p.captureMenuScroll,m=p.inputValue,h=p.isLoading,g=p.loadingMessage,y=p.minMenuHeight,v=p.maxMenuHeight,b=p.menuIsOpen,w=p.menuPlacement,x=p.menuPosition,O=p.menuPortalTarget,k=p.menuShouldBlockScroll,S=p.menuShouldScrollIntoView,A=p.noOptionsMessage,E=p.onMenuScrollToTop,j=p.onMenuScrollToBottom;if(!b)return null;var P,T=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,c=t.label,s=t.value,p=d===o,f=i?void 0:function(){return e.onOptionHover(o)},m=i?void 0:function(){return e.selectOption(o)},h="".concat(e.getElementId("option"),"-").concat(n),g={id:h,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return q.createElement(l,(0,X.A)({},u,{innerProps:g,data:o,isDisabled:i,isSelected:a,key:h,label:c,type:r,value:s,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,c="".concat(e.getElementId("group"),"-").concat(a),s="".concat(c,"-heading");return q.createElement(n,(0,X.A)({},u,{key:c,data:o,options:i,Heading:r,headingProps:{id:s,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(h){var C=g({inputValue:m});if(null===C)return null;P=q.createElement(c,u,C)}else{var D=A({inputValue:m});if(null===D)return null;P=q.createElement(s,u,D)}var _={minMenuHeight:y,maxMenuHeight:v,menuPlacement:w,menuPosition:x,menuShouldScrollIntoView:S},N=q.createElement(se.M,(0,X.A)({},u,_),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,c=r.maxHeight;return q.createElement(o,(0,X.A)({},u,_,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:a}),q.createElement(He,{captureEnabled:f,onTopArrive:E,onBottomArrive:j,lockEnabled:k},(function(t){return q.createElement(i,(0,X.A)({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:h,maxHeight:c,focusedOption:d}),P)})))}));return O||"fixed"===x?q.createElement(a,(0,X.A)({},u,{appendTo:O,controlElement:this.controlRef,menuPlacement:w,menuPosition:x}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,c=this.state.selectValue;if(a&&!this.hasValue()&&!r)return q.createElement(Be,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var s=c.map((function(t){return e.getOptionValue(t)})).join(n);return q.createElement("input",{name:i,type:"hidden",value:s})}var l=c.length>0?c.map((function(t,n){return q.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):q.createElement("input",{name:i,type:"hidden",value:""});return q.createElement("div",null,l)}var u=c[0]?this.getOptionValue(c[0]):"";return q.createElement("input",{name:i,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,c=this.getFocusableOptions();return q.createElement(he,(0,X.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:c,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,c=i.id,s=i.isDisabled,l=i.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return q.createElement(r,(0,X.A)({},d,{className:a,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),q.createElement(t,(0,X.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:l}),q.createElement(o,(0,X.A)({},d,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),q.createElement(n,(0,X.A)({},d,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,c=t.prevWasFocused,s=t.instancePrefix,l=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,m=(0,se.H)(u),h={};if(n&&(u!==n.value||l!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Qe(Ke(e,t))}(e,m):[],y=d?Xe(Ke(e,m),"".concat(s,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);h={selectValue:m,focusedOption:b,focusedOptionId:et(y,b),focusableOptionsWithIds:y,focusedValue:v,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,O=a&&c;return a&&!O&&(x={value:(0,se.D)(f,m,m[0]||null),options:m,action:"initial-input-focus"},O=!c),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),(0,J.A)((0,J.A)((0,J.A)({},h),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:O})}}],n&&Z(t.prototype,n),r&&Z(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(q.Component);st.defaultProps=Je;n(22900);var lt=n(81845),ut=n.n(lt),dt=(n(27003),(0,q.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,c=e.inputValue,s=e.menuIsOpen,l=e.onChange,u=e.onInputChange,d=e.onMenuClose,p=e.onMenuOpen,f=e.value,m=(0,K.A)(e,Q),h=(0,q.useState)(void 0!==c?c:n),g=(0,G.A)(h,2),y=g[0],v=g[1],b=(0,q.useState)(void 0!==s?s:o),w=(0,G.A)(b,2),x=w[0],O=w[1],k=(0,q.useState)(void 0!==f?f:a),S=(0,G.A)(k,2),A=S[0],E=S[1],j=(0,q.useCallback)((function(e,t){"function"==typeof l&&l(e,t),E(e)}),[l]),P=(0,q.useCallback)((function(e,t){var n;"function"==typeof u&&(n=u(e,t)),v(void 0!==n?n:e)}),[u]),T=(0,q.useCallback)((function(){"function"==typeof p&&p(),O(!0)}),[p]),C=(0,q.useCallback)((function(){"function"==typeof d&&d(),O(!1)}),[d]),D=void 0!==c?c:y,_=void 0!==s?s:x,N=void 0!==f?f:A;return(0,J.A)((0,J.A)({},m),{},{inputValue:D,menuIsOpen:_,onChange:j,onInputChange:P,onMenuClose:C,onMenuOpen:T,value:N})}(e);return q.createElement(st,(0,X.A)({ref:t},n))}))),pt=dt,ft=n(46937),mt=n(38798),ht=n(50098);function gt(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 yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const vt=(0,mt.Ay)((function(e){var t;return(0,N.jsx)("span",yt(yt({},e.innerProps),{},{children:(0,N.jsx)(ht.A,{icon:"times",tabIndex:-1,"aria-label":(t="client.component.select.clearFieldLabel",e.intl.formatMessage({id:t})),"data-cy":"btn-clear"})}))}));var bt=n(1671);function wt(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 xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ot=function(e){var t=e.selectProps,n=t.isDisabled,r=t.menuIsOpen;return n?null:(0,N.jsx)(se.c.DropdownIndicator,xt(xt({},e),{},{children:(0,N.jsx)(bt.Jd,{children:(0,N.jsx)(ht.A,{icon:r?"chevron-up":"chevron-down",visible:!0,tabIndex:-1})})}))};var kt,St,At;function Et(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 jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pt=function(e,t,n){return function(r){r.stopPropagation(),e(t,n)}},Tt=function(e,t){return function(n){n.stopPropagation(),e(t)}},Ct=function(e,t){return function(n){n.stopPropagation(),e(t)}},Dt=function(e){e.stopPropagation()};const _t=function(e){var t=e.selectProps,n=t.openDocsTreeSearch,r=t.openAdvancedSearch,o=t.openRemoteCreate,i=t.isDisabled,a=t.hasDocsTreeSearch,c=t.hasAdvancedSearch,s=t.createPermission,l=t.value,u=t.isMulti,d=t.inputValue,p=u&&(c||a);return(0,N.jsx)(bt.qV,{isTopAligned:p,children:(0,N.jsxs)(se.c.IndicatorsContainer,jt(jt({},e),{},{children:[e.children,n&&!i&&(0,N.jsx)("span",{onTouchEnd:Dt,onMouseDown:Tt(n,l),children:kt||(kt=(0,N.jsx)(ht.A,{icon:"folder",tabIndex:-1,"data-cy":"btn-docsTreeSearch"}))}),r&&!i&&(0,N.jsx)("span",{onTouchEnd:Dt,onMouseDown:Pt(r,d,l),children:St||(St=(0,N.jsx)(ht.A,{icon:"search",tabIndex:-1,"data-cy":"btn-advancedSearch"}))}),s&&!i&&(0,N.jsx)("span",{onTouchEnd:Dt,onMouseDown:Ct(o,l),children:At||(At=(0,N.jsx)(ht.A,{icon:"plus",tabIndex:-1,"data-cy":"btn-remoteCreate"}))})]}))})};var Nt;const It=function(){return Nt||(Nt=(0,N.jsx)("span",{children:(0,N.jsx)(y.A,{size:"1.8rem"})}))};var Rt=n(44518);function Mt(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 Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ft=function(e){var t=e.selectProps,n=e.children,r=e.theme;return(0,N.jsx)(bt.Ec,{attachment:"top left",targetAttachment:"bottom left",constraints:[{to:"window",attachment:"together"}],renderTarget:function(e){return(0,N.jsx)("div",{ref:e})},renderElement:function(o){return(0,N.jsx)("div",{ref:o,className:Rt.e,children:(0,N.jsx)(bt.jl,Lt(Lt({},l()(e,["innerRef","theme"])),{},{wrapperWidth:t.wrapperWidth,wrapperHeight:t.wrapperHeight,selectTheme:r,children:n}))})}})};function Ht(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 zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Bt=function(e){var t=e.selectProps,n=e.children,r=t.moreOptionsAvailable,o=t.moreOptionsAvailableText;return(0,N.jsxs)(se.c.MenuList,zt(zt({},e),{},{className:"MenuList",children:[n,r&&(0,N.jsx)(bt.iX,{children:o})]}))};var Ut=n(66779);const Wt=function(e){var t=e.data,n=e.innerProps,r=e.children,o=e.selectProps,i=o.tooltips,a=o.loadTooltip,c=o.DetailLink,s=j()(i,t.key,null),l=(0,N.jsx)("span",{style:n.css,children:r}),u=c?(0,N.jsx)(bt.PD,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,N.jsx)(c,{entityKey:t.key,tabIndex:-1,children:(0,N.jsx)(p.A,{content:s?(0,N.jsx)("div",{dangerouslySetInnerHTML:{__html:Ut.A.sanitizeHtml(s)}}):null,children:(0,N.jsx)("span",{onMouseOver:function(){return a&&!s&&a(t.key)},children:l})})})}):l;return(0,N.jsx)(bt.fp,{children:u})};var Vt=n(85015),qt=n.n(Vt),Yt=n(42194),$t=n.n(Yt),Jt=n(5556),Gt=n.n(Jt),Kt=n(23076);function Qt(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 Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zt=["linkComp"],en=function(e,t){var n=Kt.A.difference(e,t),r=$t()(l()(n,Zt),(function(e){return 0===Object.keys(e).length}));return 0===Object.entries(r).length},tn=(0,q.memo)((function(e){var t=e.linkComp,n=e.entityKey,r=e.children;return t&&qt()(n)?(0,N.jsx)(bt.PD,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,N.jsx)(t,{entityKey:n,children:r})}):r}),en);tn.propTypes={children:Gt().node,entityKey:Gt().any,linkComp:Gt().func};const nn=function(e){var t=e.data,n=e.selectProps,r=e.isDisabled,o=e.children,i=n.tooltips,a=n.loadTooltip,c=n.DetailLink,s=j()(i,t.key,null);return(0,N.jsx)(se.c.SingleValue,Xt(Xt({},e),{},{children:(0,N.jsx)(bt.EM,{onMouseOver:function(){return a&&!s&&a(t.key)},isDisabled:r,children:(0,N.jsx)(p.A,{content:s?(0,N.jsx)("div",{dangerouslySetInnerHTML:{__html:Ut.A.sanitizeHtml(s)}}):null,children:(0,N.jsx)(tn,{linkComp:c,entityKey:t.key,children:o})})})}))};function rn(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}var on=function(e){var t;return"Input"===(null==e||null===(t=e.type)||void 0===t?void 0:t.name)};const an=function(e){var t=e.selectProps,n=e.hasValue,r=e.children,o=t.isMulti,i=t.hasAdvancedSearch,a=t.hasDocsTreeSearch,s=t.isDisabled;if(!(o&&(i||a)))return(0,N.jsx)(se.c.ValueContainer,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e));var l=q.Children.map(r,(function(e){return on(e)?e:null})),u=q.Children.map(r,(function(e){return on(e)?null:e})),d=s&&n;return(0,N.jsxs)(N.Fragment,{children:[!d&&(0,N.jsx)(N.Fragment,{children:l}),(0,N.jsx)(bt.NL,{children:u})]})};function cn(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 sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ln=(0,P.SL)((function(e){var t=e.fetchOptions,n=e.id,r=e.immutable,o=e.isLoading,i=e.isMulti,a=e.loadTooltip,c=e.moreOptionsAvailable,s=e.moreOptionsAvailableText,l=e.noResultsText,u=e.noResultsComp,d=e.onChange,p=e.openDocsTreeSearch,f=e.openAdvancedSearch,m=e.options,h=e.searchOptions,g=e.theme,y=e.tooltips,v=e.value,b=e.DetailLink,w=e.createPermission,x=e.openRemoteCreate,O=(0,q.useRef)(null),k=(0,q.useRef)(null),S=function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.clientWidth)||300},A=function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.clientHeight)||35},E=(0,q.useState)(S()),j=U()(E,2),P=j[0],T=j[1],C=(0,q.useState)(A()),D=U()(C,2),_=D[0],I=D[1],R=(0,q.useState)(!1),M=U()(R,2),L=M[0],F=M[1],H=function(e){t&&t(e)},B=(0,q.useCallback)(h||function(){},[]),W=(0,q.useCallback)(V()(B,800,{trailing:!0}),[]),Y=Boolean(f),$=Boolean(p),J=Boolean(w),G=Boolean(h)||!ft.A.isPrimaryTouchDevice();return(0,N.jsx)(bt.NR,{tabIndex:"-1",id:n,onFocus:function(){O.current.focus(),setTimeout((function(){T(S()),I(A())}),0)},children:(0,N.jsx)(bt.wO,{ref:k,children:(0,N.jsx)(pt,sn(sn({getOptionLabel:function(e){return e.display},getOptionValue:function(e){return e.key},wrapperWidth:P,wrapperHeight:_,components:{ClearIndicator:vt,LoadingIndicator:It,DropdownIndicator:Ot,IndicatorsContainer:_t,IndicatorSeparator:null,Menu:Ft,MenuList:Bt,MultiValueLabel:Wt,SingleValue:nn,ValueContainer:an},noOptionsMessage:function(e){return l||("function"==typeof u?(0,N.jsx)(u,sn({},e)):" - ")},isMulti:i,closeMenuOnSelect:!i,isSearchable:G},h?{filterOption:function(){return!0}}:{}),{},{isClearable:!0,loadingMessage:function(){return null},placeholder:"",menuShouldScrollIntoView:!1,autoFocus:!1,tabSelectsValue:!1,value:v||null,onChange:function(e){d(e),H(e)},onInputChange:function(e,t){var n=t.action;h&&e&&W(e,v),""===e&&"input-change"===n&&H(v)},options:z()(m||[]),onKeyDown:function(e){"Enter"===e.key&&L&&(e.stopPropagation(),O.current&&null===O.current.focusedOptionRef&&e.preventDefault())},isLoading:o,isDisabled:r,ref:O,onMenuOpen:function(){H(v),F(!0)},onMenuClose:function(){F(!1)},styles:(0,bt.YC)(g),loadTooltip:a,tooltips:y,DetailLink:b,hasDocsTreeSearch:$,openDocsTreeSearch:p,hasAdvancedSearch:Y,openAdvancedSearch:f,moreOptionsAvailable:c,moreOptionsAvailableText:s,blurInputOnSelect:!1,hasCreatePermission:J,createPermission:w,openRemoteCreate:x,closeMenuOnScroll:function(e){var t;return!(null!==(t=e.target.classList)&&void 0!==t&&t.contains("MenuList"))}}))})})}));const un=function(e){var t=e.id,n=e.immutable,r=e.value,o=e.options,i=o.trueLabel,a=o.falseLabel,c=e.onChange;return(0,N.jsx)(ln,{id:t,immutable:n,isMulti:!1,onChange:function(e){return c(e?e.key:null)},value:F()(r)?r:{key:r,display:r?i:a},openMenuOnClick:!0,options:[{key:!0,display:i},{key:!1,display:a}]})};var dn,pn=P.Ay.div.withConfig({displayName:"StyledBoolEdit"})(dn||(dn=A()(["\n margin: 5px 0;\n"])));const fn=function(e){return(0,N.jsx)(pn,{children:(0,N.jsx)("input",{type:"checkbox",checked:e.value||!1,name:e.name,onChange:function(t){e.onChange&&e.onChange(t.target.checked)},id:e.id,disabled:e.immutable})})};var mn,hn,gn=n(59182),yn=n(85431),vn=P.Ay.div.withConfig({displayName:"StyledOption"})(mn||(mn=A()(["\n display: flex;\n align-items: baseline;\n gap: ",";\n margin-block: ",";\n\n input {\n margin: 0;\n }\n"])),T.A.space(-1.5),T.A.space(-1)),bn=P.Ay.span.withConfig({displayName:"StyledLabel"})(hn||(hn=A()(["\n ","\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n align-items: center;\n"])),(0,yn.A)(),T.A.space(-1));function wn(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 xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var On={single:"radio",multiple:"checkbox"},kn={single:{checked:!1},multiple:{}},Sn=function(e,t){return t?(0,N.jsx)(gn.A,{value:e}):e},An=function(e){var t=e.groupName,n=e.id,r=e.label,o=e.labelComponent,i=e.checked,a=e.immutable,c=e.hideCheckbox,s=e.selectionType,l=e.renderHtmlInOptions,u=e.handleChange;return(0,N.jsxs)(vn,{children:[!c&&(0,N.jsx)("input",{name:t,type:On[s],checked:i||!1,onChange:u,id:n,disabled:a,"data-cy":"choice-answer-option-".concat(n)}),(0,N.jsx)(bn,{children:o||Sn(r,l)})]})};const En=function(e){var t=e.onChange,n=e.value,r=e.options,o=e.id,i=e.immutable,a=function(e){if(t){var o=n.options.map((function(t){return xn(xn({},t),t.id===e.target.id?{checked:e.target.checked}:kn[r.selectionType])}));t({options:o})}};return(0,N.jsx)(N.Fragment,{children:n.options.map((function(e){return(0,N.jsx)(An,{groupName:o,id:e.id,label:e.label,labelComponent:e.labelComponent,checked:e.checked,immutable:i||e.immutable,hideCheckbox:e.hideCheckbox,selectionType:r.selectionType,renderHtmlInOptions:r.renderHtmlInOptions,handleChange:a},e.id)}))})};var jn=n(96424);function Pn(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 Tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Cn=(0,q.lazy)((function(){return Promise.all([n.e(6528),n.e(3722)]).then(n.bind(n,65066))}));const Dn=function(e){return(0,N.jsx)(q.Suspense,{fallback:(t=e.value,(0,N.jsx)("div",{children:(0,N.jsx)("p",{children:t})})),children:(0,N.jsx)(Cn,Tn({},e))});var t};var _n,Nn=P.Ay.div.withConfig({displayName:"StyledEditorWrapper"})(_n||(_n=A()(["\n margin-top: ",";\n"])),T.A.space(-1.5));const In=(0,P.SL)(jn.A.Debouncer((function(e){var t=e.value,n=e.onChange,r=e.immutable,o=e.options,i=e.id,a=e.theme;return(0,N.jsx)(Nn,{children:(0,N.jsx)(Dn,{value:t,id:i,onChange:n,autoFocusOnMount:o.autoFocusOnMount,mode:o.mode,theme:a.codeEditorTheme,showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:r,wrap:!0,indentedSoftWrap:!1},implicitModel:o.implicitModel})})})));var Rn=n(6442),Mn=n(81792),Ln=n(39892),Fn=n.n(Ln),Hn=n(85072),zn=n.n(Hn),Bn=n(97825),Un=n.n(Bn),Wn=n(77659),Vn=n.n(Wn),qn=n(55056),Yn=n.n(qn),$n=n(10540),Jn=n.n($n),Gn=n(41113),Kn=n.n(Gn),Qn=n(2063),Xn={};Xn.styleTagTransform=Kn(),Xn.setAttributes=Yn(),Xn.insert=Vn().bind(null,"head"),Xn.domAPI=Un(),Xn.insertStyleElement=Jn();zn()(Qn.A,Xn);Qn.A&&Qn.A.locals&&Qn.A.locals;function Zn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Zn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function er(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Zn(e))&&(r&&(r+=" "),r+=t);return r}var tr=n(61501),nr=n(43329),rr=n(29407);function or(e,t){const n=()=>(0,nr.w)(t?.in,NaN),r=t?.additionalDigits??2,o=function(e){const t={},n=e.split(ir.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],ir.timeZoneDelimiter.test(t.date)&&(t.date=e.split(ir.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=ir.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let i;if(o.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,r);i=function(e,t){if(null===t)return new Date(NaN);const n=e.match(ar);if(!n)return new Date(NaN);const r=!!n[4],o=lr(n[1]),i=lr(n[2])-1,a=lr(n[3]),c=lr(n[4]),s=lr(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,c,s)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,c,s):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(dr[t]||(pr(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(pr(e)?366:365)}(t,o)?(e.setUTCFullYear(t,i,Math.max(o,a)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!i||isNaN(+i))return n();const a=+i;let c,s=0;if(o.time&&(s=function(e){const t=e.match(cr);if(!t)return NaN;const n=ur(t[1]),r=ur(t[2]),o=ur(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*tr.s0+r*tr.Cg+1e3*o}(o.time),isNaN(s)))return n();if(!o.timezone){const e=new Date(a+s),n=(0,rr.a)(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return c=function(e){if("Z"===e)return 0;const t=e.match(sr);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*tr.s0+o*tr.Cg)}(o.timezone),isNaN(c)?n():(0,rr.a)(a+s+c,t?.in)}const ir={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ar=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,cr=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,sr=/^([+-])(\d{2})(?::?(\d{2}))?$/;function lr(e){return e?parseInt(e):1}function ur(e){return e&&parseFloat(e.replace(",","."))||0}const dr=[31,null,31,30,31,30,31,31,30,31,30,31];function pr(e){return e%400==0||e%4==0&&e%100!=0}var fr=n(48854),mr=n(32370);function hr(e,t){return+(0,rr.a)(e)<+(0,rr.a)(t)}var gr=n(85577),yr=n(14533),vr=n(74279),br=n(81007),wr=n(72794),xr=n(6463),Or=n(80337);function kr(e,t){const n=(0,rr.a)(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}var Sr=n(70228);function Ar(e,t){const n=(0,rr.a)(e,t?.in),r=n.getMonth(),o=r-r%3;return n.setMonth(o,1),n.setHours(0,0,0,0),n}function Er(e,t){const n=(0,rr.a)(e,t?.in);return n.setHours(23,59,59,999),n}var jr=n(92516);function Pr(e,t){const n=(0,jr.q)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,rr.a)(e,t?.in),i=o.getDay(),a=6+(i<r?-7:0)-(i-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}function Tr(e,t){const n=(0,rr.a)(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}var Cr=n(5305);function Dr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return r.getFullYear()===o.getFullYear()}function _r(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function Nr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return+Ar(r)==+Ar(o)}function Ir(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return+(0,xr.o)(r)==+(0,xr.o)(o)}function Rr(e,t){return+(0,rr.a)(e)==+(0,rr.a)(t)}function Mr(e,t,n){const r=+(0,rr.a)(e,n?.in),[o,i]=[+(0,rr.a)(t.start,n?.in),+(0,rr.a)(t.end,n?.in)].sort(((e,t)=>e-t));return r>=o&&r<=i}function Lr(e,t){const n=(0,rr.a)(e,t?.in),r=n.getFullYear(),o=n.getMonth(),i=(0,nr.w)(n,0);return i.setFullYear(r,o+1,0),i.setHours(0,0,0,0),i.getDate()}function Fr(e,t,n){const r=(0,rr.a)(e,n?.in),o=r.getFullYear(),i=r.getDate(),a=(0,nr.w)(n?.in||e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const c=Lr(a);return r.setMonth(t,Math.min(i,c)),r}function Hr(e,t,n){const r=(0,rr.a)(e,n?.in),o=t-(Math.trunc(r.getMonth()/3)+1);return Fr(r,r.getMonth()+3*o)}function zr(e,t){return(0,rr.a)(e,t?.in).getFullYear()}function Br(e,t){return(0,rr.a)(e,t?.in).getMonth()}function Ur(e,t){const n=(0,rr.a)(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Wr(e,t){const n=(0,rr.a)(e,t?.in);return Math.trunc(n.getMonth()/3)+1}var Vr=n(2831),qr=n(40337),Yr=n(4155);function $r(e){return(0,rr.a)(e).getSeconds()}function Jr(e,t,n){const r=(0,rr.a)(e,n?.in);if(isNaN(t))return(0,nr.w)(n?.in||e,NaN);if(!t)return r;const o=r.getDate(),i=(0,nr.w)(n?.in||e,r.getTime());i.setMonth(r.getMonth()+t+1,0);return o>=i.getDate()?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}function Gr(e,t,n){return Jr(e,-t,n)}function Kr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}function Qr(e,t,n){return Jr(e,3*t,n)}function Xr(e,t,n){return Qr(e,-t,n)}function Zr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return 4*(r.getFullYear()-o.getFullYear())+(Wr(r)-Wr(o))}function eo(e,t,n){return Jr(e,12*t,n)}function to(e,t,n){return eo(e,-t,n)}function no(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return r.getFullYear()-o.getFullYear()}function ro(e,t){let n,r=t?.in;return e.forEach((e=>{r||"object"!=typeof e||(r=nr.w.bind(null,e));const t=(0,rr.a)(e,r);(!n||n>t||isNaN(+t))&&(n=t)})),(0,nr.w)(r,n||NaN)}function oo(e,t){let n,r=t?.in;return e.forEach((e=>{r||"object"!=typeof e||(r=nr.w.bind(null,e));const t=(0,rr.a)(e,r);(!n||n<t||isNaN(+t))&&(n=t)})),(0,nr.w)(r,n||NaN)}var io=n(80658);function ao(e,t,n){return(0,nr.w)(n?.in||e,+(0,rr.a)(e)+t)}function co(e,t,n){return ao(e,t*tr.s0,n)}function so(e,t,n){const r=(0,rr.a)(e,n?.in);return r.setTime(r.getTime()+t*tr.Cg),r}function lo(e,t,n){return ao(e,1e3*t,n)}function uo(e,t){return+(0,rr.a)(e)>+(0,rr.a)(t)}function po(e,t){return(0,rr.a)(e,t?.in).getDay()}function fo(e,t){return(0,rr.a)(e,t?.in).getDate()}var mo=n(16172);function ho(e,t,n){return(0,mo.f)(e,7*t,n)}function go(e){return+(0,rr.a)(e)}function yo(e,t,n){const r=(0,rr.a)(e,n?.in);return isNaN(+r)?(0,nr.w)(n?.in||e,NaN):(r.setFullYear(t),r)}function vo(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t),i=bo(r,o),a=Math.abs((0,Vr.m)(r,o));r.setDate(r.getDate()-i*a);const c=i*(a-Number(bo(r,o)===-i));return 0===c?0:c}function bo(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function wo(e,t,n){return ho(e,-t,n)}function xo(e,t,n){return(0,mo.f)(e,-t,n)}function Oo(){return"undefined"!=typeof window}function ko(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function So(e){return!!Oo()&&(e instanceof Element||e instanceof ko(e).Element)}function Ao(e){return ko(e).getComputedStyle(e)}const Eo=Math.min,jo=Math.max,Po=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),To={start:"end",end:"start"};function Co(e,t){return"function"==typeof e?e(t):e}function Do(e){return e.split("-")[0]}function _o(e){return e.split("-")[1]}function No(e){return"y"===e?"height":"width"}function Io(e){return["top","bottom"].includes(Do(e))?"y":"x"}function Ro(e){return"x"===Io(e)?"y":"x"}function Mo(e){return e.replace(/start|end/g,(e=>To[e]))}function Lo(e){return e.replace(/left|right|bottom|top/g,(e=>Po[e]))}function Fo(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Ho(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function zo(e,t,n){let{reference:r,floating:o}=e;const i=Io(t),a=Ro(t),c=No(a),s=Do(t),l="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[c]/2-o[c]/2;let f;switch(s){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(_o(t)){case"start":f[a]-=p*(n&&l?-1:1);break;case"end":f[a]+=p*(n&&l?-1:1)}return f}async function Bo(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Co(t,e),m=Fo(f),h=c[p?"floating"===d?"reference":"floating":d],g=Ho(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:l,rootBoundary:u,strategy:s})),y="floating"===d?{...a.floating,x:r,y:o}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=Ho(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:s}):y);return{top:(g.top-w.top+m.top)/b.y,bottom:(w.bottom-g.bottom+m.bottom)/b.y,left:(g.left-w.left+m.left)/b.x,right:(w.right-g.right+m.right)/b.x}}const Uo=Math.min,Wo=Math.max,Vo=Math.round,qo=Math.floor,Yo=e=>({x:e,y:e});function $o(e){return Ko(e)?(e.nodeName||"").toLowerCase():"#document"}function Jo(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Go(e){var t;return null==(t=(Ko(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ko(e){return e instanceof Node||e instanceof Jo(e).Node}function Qo(e){return e instanceof Element||e instanceof Jo(e).Element}function Xo(e){return e instanceof HTMLElement||e instanceof Jo(e).HTMLElement}function Zo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Jo(e).ShadowRoot)}function ei(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ai(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ti(e){return["table","td","th"].includes($o(e))}function ni(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function ri(e){const t=oi(),n=Qo(e)?ai(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function oi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ii(e){return["html","body","#document"].includes($o(e))}function ai(e){return Jo(e).getComputedStyle(e)}function ci(e){return Qo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function si(e){if("html"===$o(e))return e;const t=e.assignedSlot||e.parentNode||Zo(e)&&e.host||Go(e);return Zo(t)?t.host:t}function li(e){const t=si(e);return ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xo(t)&&ei(t)?t:li(t)}function ui(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=li(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Jo(o);return i?t.concat(a,a.visualViewport||[],ei(o)?o:[],a.frameElement&&n?ui(a.frameElement):[]):t.concat(o,ui(o,[],n))}function di(e){const t=ai(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Xo(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=Vo(n)!==i||Vo(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function pi(e){return Qo(e)?e:e.contextElement}function fi(e){const t=pi(e);if(!Xo(t))return Yo(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=di(t);let a=(i?Vo(n.width):n.width)/r,c=(i?Vo(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const mi=Yo(0);function hi(e){const t=Jo(e);return oi()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:mi}function gi(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=pi(e);let a=Yo(1);t&&(r?Qo(r)&&(a=fi(r)):a=fi(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Jo(e))&&t}(i,n,r)?hi(i):Yo(0);let s=(o.left+c.x)/a.x,l=(o.top+c.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Jo(i),t=r&&Qo(r)?Jo(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=fi(o),t=o.getBoundingClientRect(),r=ai(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,l*=e.y,u*=e.x,d*=e.y,s+=i,l+=a,n=Jo(o),o=n.frameElement}}return Ho({width:u,height:d,x:s,y:l})}function yi(e){return gi(Go(e)).left+ci(e).scrollLeft}function vi(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Jo(e),r=Go(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,s=0;if(o){i=o.width,a=o.height;const e=oi();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:c,y:s}}(e,n);else if("document"===t)r=function(e){const t=Go(e),n=ci(e),r=e.ownerDocument.body,o=Wo(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Wo(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+yi(e);const c=-n.scrollTop;return"rtl"===ai(r).direction&&(a+=Wo(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}(Go(e));else if(Qo(t))r=function(e,t){const n=gi(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Xo(e)?fi(e):Yo(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=hi(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Ho(r)}function bi(e,t){const n=si(e);return!(n===t||!Qo(n)||ii(n))&&("fixed"===ai(n).position||bi(n,t))}function wi(e,t,n){const r=Xo(t),o=Go(t),i="fixed"===n,a=gi(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const s=Yo(0);if(r||!r&&!i)if(("body"!==$o(t)||ei(o))&&(c=ci(t)),r){const e=gi(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=yi(o));return{x:a.left+c.scrollLeft-s.x,y:a.top+c.scrollTop-s.y,width:a.width,height:a.height}}function xi(e){return"static"===ai(e).position}function Oi(e,t){return Xo(e)&&"fixed"!==ai(e).position?t?t(e):e.offsetParent:null}function ki(e,t){const n=Jo(e);if(ni(e))return n;if(!Xo(e)){let t=si(e);for(;t&&!ii(t);){if(Qo(t)&&!xi(t))return t;t=si(t)}return n}let r=Oi(e,t);for(;r&&ti(r)&&xi(r);)r=Oi(r,t);return r&&ii(r)&&xi(r)&&!ri(r)?n:r||function(e){let t=si(e);for(;Xo(t)&&!ii(t);){if(ri(t))return t;if(ni(t))return null;t=si(t)}return null}(e)||n}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=Go(r),c=!!t&&ni(t.floating);if(r===a||c&&i)return n;let s={scrollLeft:0,scrollTop:0},l=Yo(1);const u=Yo(0),d=Xo(r);if((d||!d&&!i)&&(("body"!==$o(r)||ei(a))&&(s=ci(r)),Xo(r))){const e=gi(r);l=fi(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-s.scrollLeft*l.x+u.x,y:n.y*l.y-s.scrollTop*l.y+u.y}},getDocumentElement:Go,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ni(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ui(e,[],!1).filter((e=>Qo(e)&&"body"!==$o(e))),o=null;const i="fixed"===ai(e).position;let a=i?si(e):e;for(;Qo(a)&&!ii(a);){const t=ai(a),n=ri(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ei(a)&&!n&&bi(e,a))?r=r.filter((e=>e!==a)):o=t,a=si(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],c=i.reduce(((e,n)=>{const r=vi(t,n,o);return e.top=Wo(r.top,e.top),e.right=Uo(r.right,e.right),e.bottom=Uo(r.bottom,e.bottom),e.left=Wo(r.left,e.left),e}),vi(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ki,getElementRects:async function(e){const t=this.getOffsetParent||ki,n=this.getDimensions,r=await n(e.floating);return{reference:wi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=di(e);return{width:t,height:n}},getScale:fi,isElement:Qo,isRTL:function(e){return"rtl"===ai(e).direction}};function Ai(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,l=pi(e),u=o||i?[...l?ui(l):[],...ui(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=l&&c?function(e,t){let n,r=null;const o=Go(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),i();const{left:l,top:u,width:d,height:p}=e.getBoundingClientRect();if(c||t(),!d||!p)return;const f={rootMargin:-qo(u)+"px "+-qo(o.clientWidth-(l+d))+"px "+-qo(o.clientHeight-(u+p))+"px "+-qo(l)+"px",threshold:Wo(0,Uo(1,s))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==s){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(h,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,f)}r.observe(e)}(!0),i}(l,n):null;let p,f=-1,m=null;a&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),l&&!s&&m.observe(l),m.observe(t));let h=s?gi(e):null;return s&&function t(){const r=gi(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(p)}}const Ei=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:c}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Do(n),c=_o(n),s="y"===Io(n),l=["left","top"].includes(a)?-1:1,u=i&&s?-1:1,d=Co(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return c&&"number"==typeof m&&(f="end"===c?-1*m:m),s?{x:f*u,y:p*l}:{x:p*l,y:f*u}}(t,e);return a===(null==(n=c.offset)?void 0:n.placement)&&null!=(r=c.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},ji=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=Co(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=Do(o),v=Do(c)===c,b=await(null==s.isRTL?void 0:s.isRTL(l.floating)),w=p||(v||!h?[Lo(c)]:function(e){const t=Lo(e);return[Mo(e),t,Mo(t)]}(c));p||"none"===m||w.push(...function(e,t,n,r){const o=_o(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Do(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Mo)))),i}(c,h,m,b));const x=[c,...w],O=await Bo(t,g),k=[];let S=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&k.push(O[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=_o(e),o=Ro(e),i=No(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Lo(a)),[a,Lo(a)]}(o,a,b);k.push(O[e[0]],O[e[1]])}if(S=[...S,{placement:o,overflows:k}],!k.every((e=>e<=0))){var A,E;const e=((null==(A=i.flip)?void 0:A.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(E=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement;if(!n)switch(f){case"bestFit":{var j;const e=null==(j=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:j[0];e&&(n=e);break}case"initialPlacement":n=c}if(o!==n)return{reset:{placement:n}}}return{}}}},Pi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:c,middlewareData:s}=t,{element:l,padding:u=0}=Co(e,t)||{};if(null==l)return{};const d=Fo(u),p={x:n,y:r},f=Ro(o),m=No(f),h=await a.getDimensions(l),g="y"===f,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[f]-p[f]-i.floating[m],x=p[f]-i.reference[f],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l));let k=O?O[b]:0;k&&await(null==a.isElement?void 0:a.isElement(O))||(k=c.floating[b]||i.floating[m]);const S=w/2-x/2,A=k/2-h[m]/2-1,E=Eo(d[y],A),j=Eo(d[v],A),P=E,T=k-h[m]-j,C=k/2-h[m]/2+S,D=jo(P,Eo(C,T));const _=!s.arrow&&null!=_o(o)&&C!==D&&i.reference[m]/2-(C<P?E:j)-h[m]/2<0,N=_?C<P?C-P:C-T:0;return{[f]:p[f]+N,data:{[f]:D,centerOffset:C-D-N,..._&&{alignmentOffset:N}},reset:_}}}),Ti=(e,t,n)=>{const r=new Map,o={platform:Si,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=i.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=zo(l,r,s),p=r,f={},m=0;for(let n=0;n<c.length;n++){const{name:i,fn:h}=c[n],{x:g,y,data:v,reset:b}=await h({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,f={...f,[i]:{...f[i],...v}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=zo(l,p,s))),n=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:i})};var Ci="undefined"!=typeof document?q.useLayoutEffect:q.useEffect;function Di(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Di(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Di(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function _i(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ni(e,t){const n=_i(e);return Math.round(t*n)/n}function Ii(e){const t=q.useRef(e);return Ci((()=>{t.current=e})),t}const Ri=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Pi({element:n.current,padding:r}).fn(t):{}:n?Pi({element:n,padding:r}).fn(t):{};var o}}),Mi=(e,t)=>({...Ei(e),options:[e,t]}),Li=(e,t)=>({...ji(e),options:[e,t]}),Fi=(e,t)=>({...Ri(e),options:[e,t]});const Hi={...Y},zi=Hi.useInsertionEffect||(e=>e());function Bi(e){const t=q.useRef((()=>{0}));return zi((()=>{t.current=e})),q.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const Ui="ArrowUp",Wi="ArrowDown",Vi="ArrowLeft",qi="ArrowRight";var Yi="undefined"!=typeof document?q.useLayoutEffect:q.useEffect;const $i=[Vi,qi],Ji=[Ui,Wi];let Gi=!1,Ki=0;const Qi=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ki++;const Xi=Hi.useId||function(){const[e,t]=q.useState((()=>Gi?Qi():void 0));return Yi((()=>{null==e&&t(Qi())}),[]),q.useEffect((()=>{Gi=!0}),[]),e};const Zi=q.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:r},middlewareData:{arrow:o,shift:i}},width:a=14,height:c=7,tipRadius:s=0,strokeWidth:l=0,staticOffset:u,stroke:d,d:p,style:{transform:f,...m}={},...h}=e;const g=Xi(),[y,v]=q.useState(!1);if(Yi((()=>{if(!r)return;"rtl"===Ao(r).direction&&v(!0)}),[r]),!r)return null;const[b,w]=n.split("-"),x="top"===b||"bottom"===b;let O=u;(x&&null!=i&&i.x||!x&&null!=i&&i.y)&&(O=null);const k=2*l,S=k/2,A=a/2*(s/-8+1),E=c/2*s/4,j=!!p,P=O&&"end"===w?"bottom":"top";let T=O&&"end"===w?"right":"left";O&&y&&(T="end"===w?"left":"right");const C=null!=(null==o?void 0:o.x)?O||o.x:"",D=null!=(null==o?void 0:o.y)?O||o.y:"",_=p||"M0,0 H"+a+" L"+(a-A)+","+(c-E)+" Q"+a/2+","+c+" "+A+","+(c-E)+" Z",I={top:j?"rotate(180deg)":"",left:j?"rotate(90deg)":"rotate(-90deg)",bottom:j?"":"rotate(180deg)",right:j?"rotate(-90deg)":"rotate(90deg)"}[b];return(0,N.jsxs)("svg",{...h,"aria-hidden":!0,ref:t,width:j?a:a+k,height:a,viewBox:"0 0 "+a+" "+(c>a?c:a),style:{position:"absolute",pointerEvents:"none",[T]:C,[P]:D,[b]:x||j?"100%":"calc(100% - "+k/2+"px)",transform:[I,f].filter((e=>!!e)).join(" "),...m},children:[k>0&&(0,N.jsx)("path",{clipPath:"url(#"+g+")",fill:"none",stroke:d,strokeWidth:k+(p?0:1),d:_}),(0,N.jsx)("path",{stroke:k&&!p?h.fill:"none",d:_}),(0,N.jsx)("clipPath",{id:g,children:(0,N.jsx)("rect",{x:-S,y:S*(j?-1:1),width:a+k,height:a})})]})}));function ea(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const ta=q.createContext(null),na=q.createContext(null),ra=()=>{var e;return(null==(e=q.useContext(ta))?void 0:e.id)||null},oa=()=>q.useContext(na);function ia(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Xi(),i=q.useRef({}),[a]=q.useState((()=>ea())),c=null!=ra(),[s,l]=q.useState(r.reference),u=Bi(((e,t,r)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)})),d=q.useMemo((()=>({setPositionReference:l})),[]),p=q.useMemo((()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference})),[s,r.reference,r.floating]);return q.useMemo((()=>({dataRef:i,open:t,onOpenChange:u,elements:p,events:a,floatingId:o,refs:d})),[t,u,p,a,o,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=q.useState(null),[c,s]=q.useState(null),l=(null==o?void 0:o.domReference)||i,u=q.useRef(null),d=oa();Yi((()=>{l&&(u.current=l)}),[l]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:c=!0,whileElementsMounted:s,open:l}=e,[u,d]=q.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=q.useState(r);Di(p,r)||f(r);const[m,h]=q.useState(null),[g,y]=q.useState(null),v=q.useCallback((e=>{e!==O.current&&(O.current=e,h(e))}),[]),b=q.useCallback((e=>{e!==k.current&&(k.current=e,y(e))}),[]),w=i||m,x=a||g,O=q.useRef(null),k=q.useRef(null),S=q.useRef(u),A=null!=s,E=Ii(s),j=Ii(o),P=Ii(l),T=q.useCallback((()=>{if(!O.current||!k.current)return;const e={placement:t,strategy:n,middleware:p};j.current&&(e.platform=j.current),Ti(O.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};C.current&&!Di(S.current,t)&&(S.current=t,lt.flushSync((()=>{d(t)})))}))}),[p,t,n,j,P]);Ci((()=>{!1===l&&S.current.isPositioned&&(S.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[l]);const C=q.useRef(!1);Ci((()=>(C.current=!0,()=>{C.current=!1})),[]),Ci((()=>{if(w&&(O.current=w),x&&(k.current=x),w&&x){if(E.current)return E.current(w,x,T);T()}}),[w,x,T,E,A]);const D=q.useMemo((()=>({reference:O,floating:k,setReference:v,setFloating:b})),[v,b]),_=q.useMemo((()=>({reference:w,floating:x})),[w,x]),N=q.useMemo((()=>{const e={position:n,left:0,top:0};if(!_.floating)return e;const t=Ni(_.floating,u.x),r=Ni(_.floating,u.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",..._i(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,c,_.floating,u.x,u.y]);return q.useMemo((()=>({...u,update:T,refs:D,elements:_,floatingStyles:N})),[u,T,D,_,N])}({...e,elements:{...o,...c&&{reference:c}}}),f=q.useCallback((e=>{const t=So(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),p.refs.setReference(t)}),[p.refs]),m=q.useCallback((e=>{(So(e)||null===e)&&(u.current=e,a(e)),(So(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!So(e))&&p.refs.setReference(e)}),[p.refs]),h=q.useMemo((()=>({...p.refs,setReference:m,setPositionReference:f,domReference:u})),[p.refs,m,f]),g=q.useMemo((()=>({...p.elements,domReference:l})),[p.elements,l]),y=q.useMemo((()=>({...p,...r,refs:h,elements:g,nodeId:t})),[p,h,g,t,r]);return Yi((()=>{r.dataRef.current.floatingContext=y;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=y)})),q.useMemo((()=>({...p,context:y,refs:h,elements:g})),[p,h,g,y])}
51
+ */var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var l in i=Object(arguments[s]))n.call(i,l)&&(c[l]=i[l]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(c[a[u]]=i[a[u]])}}return c}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),i=n(56449),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},46005:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(58156),o=n.n(r),i=n(26166),a=n(47616),c=function(e,t){var n="\n color: ".concat(a.A.color("text")(e),";\n font-family: ").concat(a.A.fontFamily("regular")(e),";\n font-size: ").concat(i.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(a.A.fontWeight("regular")(e),";\n line-height: ").concat(a.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(a.A.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(a.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(i.A.font(5)(e),";}\n h2 {font-size: ").concat(i.A.font(4)(e),";}\n h3 {font-size: ").concat(i.A.font(3)(e),";}\n h4 {font-size: ").concat(i.A.font(2)(e),";}\n h5 {font-size: ").concat(i.A.font(1)(e),";}\n h6 {font-size: ").concat(i.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(a.A.fontWeight("bold")(e),";\n margin-top: ").concat(i.A.space(0)(e),";\n margin-bottom: ").concat(i.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(i.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(i.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},46079:(e,t,n)=>{"use strict";var r=n(83752);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},46255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i;(0,r.default)(e),"object"===o(t)?(n=t.min||0,i=t.max):(n=arguments[1],i=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===i||a<=i)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(83399));function o(e){return o="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},o(e)}e.exports=t.default,e.exports.default=t.default},46703:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(36376),s=n(7315),l=n(34743),u=n(4883),d=n(81845),p=n(50098),f=n(99978),m=n(74848);function h(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const y=function(e){var t=e.buttonProps,n=e.onOpen,r=e.children,o=e.isTransparent,i=(0,u.useState)(null),h=a()(i,2),y=h[0],v=h[1],b=(0,u.useState)(!1),w=a()(b,2),x=w[0],O=w[1],k=(0,u.useState)(!1),S=a()(k,2),A=S[0],E=S[1],j=(0,c.we)({open:x,onOpenChange:O,placement:"bottom-start",middleware:[(0,l.cY)(7),(0,l.UU)(),(0,l.Ej)({apply:function(e){var t=e.availableHeight;(0,d.flushSync)((function(){return v(t-15)}))}})],whileElementsMounted:s.ll}),P=j.refs,T=j.floatingStyles,C=j.context,D=(0,c.kp)(C),_=(0,c.s9)(C),N=(0,c.bv)([D,_]),I=N.getReferenceProps,R=N.getFloatingProps;return(0,m.jsxs)("span",g(g({ref:P.setReference},I()),{},{children:[(0,m.jsx)(p.A,g(g({},t),{},{onClick:function(e){O(!x),e.stopPropagation(),n&&!A&&(n(),E(!0))},isTransparent:o})),x&&(0,m.jsx)(f.A,{floatingStyles:g(g({},T),{},{maxHeight:y}),getFloatingProps:R,refs:P,isOpen:x,onClose:function(){O(!1)},children:r})]}))}},46937:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={isSafari:function(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(t)},isPrimaryTouchDevice:n(81570).i}},47029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88097);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},47616:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58156),o=n.n(r),i=n(28114),a=function(e){return 0===Object.keys(e).length?i.A:e};const c={color:function(e){return function(t){var n=t.theme;return o()(a(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(a(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(a(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(a(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(a(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(a(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(a(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(a(n),"specificProperties.".concat(e))}}}},48067:(e,t)=>{"use strict";t.YW=function(e,t={}){const{decode:o=decodeURIComponent,loose:i=!0,delimiter:a=n}=t,c=y(e,t),s=p(i,a),l=c.keys.map((e=>{if(o&&("+"===e.modifier||"*"===e.modifier)){const{prefix:t="",suffix:n="",separator:r=n+t}=e,i=new RegExp(s(r),"g");return e=>e.split(i).map(o)}return o||r}));return function(e){const t=c.exec(e);if(!t)return!1;const{0:n,index:r}=t,o=Object.create(null);for(let e=1;e<t.length;e++){if(void 0===t[e])continue;const n=c.keys[e-1],r=l[e-1];o[n.name]=r(t[e])}return{path:n,index:r,params:o}}};const n="/",r=e=>e,o=/^\p{XID_Continue}$/u,i="https://git.new/pathToRegexpError",a={"!":"!","@":"@",";":";",",":",","*":"*","+":"+","?":"?","{":"{","}":"}"};class c{constructor(e){this.tokens=e,this.index=0}peek(){return this.tokens[this.index]}tryConsume(e){const t=this.peek();if(t.type===e)return this.index++,t.value}consume(e){const t=this.tryConsume(e);if(void 0!==t)return t;const{type:n,index:r}=this.peek();throw new TypeError(`Unexpected ${n} at ${r}, expected ${e}: ${i}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}modifier(){return this.tryConsume("?")||this.tryConsume("*")||this.tryConsume("+")}}class s{constructor(e,t){this.tokens=e,this.delimiter=t}}function l(e,t={}){const{encodePath:l=r,delimiter:d=l(n)}=t,p=[],f=function(e){const t=[...e],n=[];let r=0;for(;r<t.length;){const e=t[r],i=a[e];if(i)n.push({type:i,index:r++,value:e});else if("\\"!==e)if(":"!==e)if("("!==e)n.push({type:"CHAR",index:r,value:t[r++]});else{const e=r++;let o=1,i="";if("?"===t[r])throw new TypeError(`Pattern cannot start with "?" at ${r}`);for(;r<t.length;)if("\\"!==t[r]){if(")"===t[r]){if(o--,0===o){r++;break}}else if("("===t[r]&&(o++,"?"!==t[r+1]))throw new TypeError(`Capturing groups are not allowed at ${r}`);i+=t[r++]}else i+=t[r++]+t[r++];if(o)throw new TypeError(`Unbalanced pattern at ${e}`);if(!i)throw new TypeError(`Missing pattern at ${e}`);n.push({type:"PATTERN",index:r,value:i})}else{let e="";for(;o.test(t[++r]);)e+=t[r];if(!e)throw new TypeError(`Missing parameter name at ${r}`);n.push({type:"NAME",index:r,value:e})}else n.push({type:"ESCAPED",index:r++,value:t[r++]})}return n.push({type:"END",index:r,value:""}),new c(n)}(e);let m=0;for(;;){const e=f.text();e&&p.push(l(e));const t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN");if(t||n){p.push({name:t||String(m++),pattern:n});const e=f.peek();if("*"===e.type)throw new TypeError(`Unexpected * at ${e.index}, you probably want \`/*\` or \`{/:foo}*\`: ${i}`);continue}if(f.tryConsume("*")){p.push({name:String(m++),pattern:`(?:(?!${u(d)}).)*`,modifier:"*",separator:d});continue}if(!f.tryConsume("{")){f.consume("END");break}{const e=f.text(),t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN"),r=f.text(),o=f.tryConsume(";")&&f.text();f.consume("}");const i=f.modifier();p.push({name:t||(n?String(m++):""),prefix:l(e),suffix:l(r),pattern:n,modifier:i,separator:o})}}return new s(p,d)}function u(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function d(e,t){const n=u(e);return t?`(?:${n})+(?!${n})`:n}function p(e,t){if(!e)return u;const n=new RegExp(`(?:(?!${u(t)}).)+|(.)`,"g");return e=>e.replace(n,d)}function f(e){return e.sensitive?"":"i"}function m(e,t,n,r){const o=e instanceof s?e:l(e,r),{trailing:i=!0,loose:a=!0,start:c=!0,end:d=!0,strict:f=!1}=r,m=p(a,o.delimiter);let g=c?"^":"";return g+=h(o,m,t,n,f).join(""),i&&(g+=`(?:${m(o.delimiter)}$)?`),g+=d?"$":`(?=${u(o.delimiter)}|$)`,g}function h(e,t,n,r,o){const a=`(?:(?!${u(e.delimiter)}).)+?`;let c="",s=!0;return e.tokens.map((e=>{if("string"==typeof e)return c=e,t(e);const{prefix:l="",suffix:u="",separator:d=u+l,modifier:p=""}=e,f=t(l),m=t(u);if(e.name){const h=e.pattern?`(?:${e.pattern})`:a,y=function(e,t,n){try{return new RegExp(`^${e}$`,n)}catch(e){throw new TypeError(`Invalid pattern for "${t}": ${e.message}`)}}(h,e.name,r);if(s||(s=g(y,l||c)),!s)throw new TypeError(`Ambiguous pattern for "${e.name}": ${i}`);if(s=!o||g(y,u),c="",n.push(e),"+"===p||"*"===p){const n="*"===p?"?":"",r=t(d);if(!r)throw new TypeError(`Missing separator for "${e.name}": ${i}`);if(s||(s=!o||g(y,d)),!s)throw new TypeError(`Ambiguous pattern for "${e.name}" separator: ${i}`);return s=!o,`(?:${f}(${h}(?:${r}${h})*)${m})${n}`}return`(?:${f}(${h})${m})${p}`}return`(?:${f}${m})${p}`}))}function g(e,t){return!!t&&!e.test(t)}function y(e,t={}){const n=[],r=f(t);if(Array.isArray(e)){const o=e.map((e=>m(e,n,r,t)));return Object.assign(new RegExp(o.join("|")),{keys:n})}const o=m(e,n,r,t);return Object.assign(new RegExp(o),{keys:n})}},48268:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4883),o=n.n(r),i=n(36193),a=n.n(i),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=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"},u=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];return n=r=s(this,e.call.apply(e,[this].concat(a))),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)},s(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",c({ref:this.ref,style:l},n),e)},t}(o().Component);u.propTypes={children:a().oneOfType([a().node,a().func]).isRequired,onBlur:a().func,onFocus:a().func},u.defaultProps={onBlur:function(){},onFocus:function(){}};const d=u},48648:(e,t,n)=>{"use strict";function r(e){var t=e.deepEqual,n=e.empty,r=e.getIn;return function(e,o){return function(i){for(var a=o||function(e){return r(e,"form")},c=a(i),s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];if(l&&l.length)return l.every((function(n){var o=r(c,e+".initial."+n),i=r(c,e+".values."+n);return t(o,i)}));var d=r(c,e+".initial")||n,p=r(c,e+".values")||d;return t(d,p)}}}n.d(t,{A:()=>r})},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},48673:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r,o,i,a=n(4883),c=n.n(a),s=n(72189),l=n.n(s),u=n(26396),d=n.n(u),p=n(51510),f=n(69684),m=n(77271),h=n(57488),g=n(26166),y=d()(d()(d()(d()(d()({},m.A.condition.BASE,h.t7.color("text")),m.A.condition.DANGER,h.t7.color("signal.danger")),m.A.condition.SUCCESS,h.t7.color("signal.success")),m.A.condition.WARNING,h.t7.color("signal.warning")),m.A.condition.INFO,h.t7.color("signal.info")),v=(0,p.Ay)(f.dV).withConfig({displayName:"StyledSignalList"})(r||(r=l()(["\n && {\n list-style-type: none;\n margin-left: 0;\n }\n"]))),b=p.Ay.span.withConfig({displayName:"StyledSignalListIcon"})(o||(o=l()(["\n margin-left: -1px;\n margin-right: ",";\n"])),g.A.space(-2)),w=(0,p.Ay)(f.vx).withConfig({displayName:"StyledSignalListItem"})(i||(i=l()(["\n && {\n color: ",";\n position: relative;\n padding: 0;\n }\n"])),(function(e){return t=e.condition,y[t];var t})),x=n(74848);const O=function(e){return(0,x.jsx)(v,{as:"ul",children:c().Children.map(e.children,(function(e){return c().cloneElement(e)}))})};var k,S=n(39892),A=n.n(S),E=n(64116),j=["condition","label","children"],P=d()(d()(d()(d()(d()({},m.A.condition.BASE,!1),m.A.condition.DANGER,"times"),m.A.condition.SUCCESS,"check"),m.A.condition.WARNING,"exclamation-triangle"),m.A.condition.INFO,"info"),T=function(e){var t=P[e];return t?(0,x.jsx)(E.A,{icon:t,position:m.A.position.SOLE,hasFixedWidth:!1}):k||(k=(0,x.jsx)("i",{children:"•"}))};const C={List:O,Item:function(e){var t=e.condition,n=void 0===t?m.A.condition.BASE:t,r=e.label,o=e.children,i=A()(e,j);return(0,x.jsxs)(w,{condition:n,"data-cy":i["data-cy"],children:[(0,x.jsx)(b,{children:T(n)}),r,c().Children.map(o,(function(e){return c().cloneElement(e)}))]})}}},48854:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ge});var r=n(9946),o=n(78668),i=n(3265),a=n(43329),c=n(58161),s=n(29407);function l(e,t){const n=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):(0,a.w)(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}class u{subPriority=0;validate(e,t){return!0}}class d extends u{constructor(e,t,n,r,o){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class p extends u{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>(0,a.w)(t,e))}set(e,t){return t.timestampIsSet?e:(0,a.w)(e,l(e,this.context))}}class f{run(e,t,n,r){const o=this.parse(e,t,n,r);return o?{setter:new d(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}var m=n(61501);const h=/^(1[0-2]|0?\d)/,g=/^(3[0-1]|[0-2]?\d)/,y=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,v=/^(5[0-3]|[0-4]?\d)/,b=/^(2[0-3]|[0-1]?\d)/,w=/^(2[0-4]|[0-1]?\d)/,x=/^(1[0-1]|0?\d)/,O=/^(1[0-2]|0?\d)/,k=/^[0-5]?\d/,S=/^[0-5]?\d/,A=/^\d/,E=/^\d{1,2}/,j=/^\d{1,3}/,P=/^\d{1,4}/,T=/^-?\d+/,C=/^-?\d/,D=/^-?\d{1,2}/,_=/^-?\d{1,3}/,N=/^-?\d{1,4}/,I=/^([+-])(\d{2})(\d{2})?|Z/,R=/^([+-])(\d{2})(\d{2})|Z/,M=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,L=/^([+-])(\d{2}):(\d{2})|Z/,F=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function H(e,t){return e?{value:t(e.value),rest:e.rest}:e}function z(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function B(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*m.s0+i*m.Cg+a*m._m),rest:t.slice(n[0].length)}}function U(e){return z(T,e)}function W(e,t){switch(e){case 1:return z(A,t);case 2:return z(E,t);case 3:return z(j,t);case 4:return z(P,t);default:return z(new RegExp("^\\d{1,"+e+"}"),t)}}function V(e,t){switch(e){case 1:return z(C,t);case 2:return z(D,t);case 3:return z(_,t);case 4:return z(N,t);default:return z(new RegExp("^-?\\d{1,"+e+"}"),t)}}function q(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Y(e,t){const n=t>0,r=n?t:1-t;let o;if(r<=50)o=e||100;else{const t=r+50;o=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?o:1-o}function $(e){return e%400==0||e%4==0&&e%100!=0}var J=n(84485),G=n(80337);var K=n(22008);var Q=n(65456);function X(e,t,n){const r=(0,s.a)(e,n?.in),o=(0,Q.N)(r,n)-t;return r.setDate(r.getDate()-7*o),(0,s.a)(r,n?.in)}var Z=n(72794);function ee(e,t,n){const r=(0,s.a)(e,n?.in),o=(0,Z.s)(r,n)-t;return r.setDate(r.getDate()-7*o),r}const te=[31,28,31,30,31,30,31,31,30,31,30,31],ne=[31,29,31,30,31,30,31,31,30,31,30,31];var re=n(92516),oe=n(16172);function ie(e,t,n){const r=(0,re.q)(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=(0,s.a)(e,n?.in),a=i.getDay(),c=7-o,l=t<0||t>6?t-(a+c)%7:((t%7+7)%7+c)%7-(a+c)%7;return(0,oe.f)(i,l,n)}function ae(e,t){const n=(0,s.a)(e,t?.in).getDay();return 0===n?7:n}function ce(e,t,n){const r=(0,s.a)(e,n?.in),o=t-ae(r,n);return(0,oe.f)(r,o,n)}var se=n(1108);const le={G:new class extends f{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends f{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return H(W(4,e),r);case"yo":return H(n.ordinalNumber(e,{unit:"year"}),r);default:return H(W(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=Y(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}},Y:new class extends f{priority=130;parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return H(W(4,e),r);case"Yo":return H(n.ordinalNumber(e,{unit:"year"}),r);default:return H(W(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){const o=(0,J.h)(e,r);if(n.isTwoDigitYear){const t=Y(n.year,o);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,G.k)(e,r)}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,G.k)(e,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends f{priority=130;parse(e,t){return V("R"===t?4:t.length,e)}set(e,t,n){const r=(0,a.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,K.b)(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends f{priority=130;parse(e,t){return V("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends f{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return W(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends f{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return W(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends f{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const r=e=>e-1;switch(t){case"M":return H(z(h,e),r);case"MM":return H(W(2,e),r);case"Mo":return H(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends f{priority=110;parse(e,t,n){const r=e=>e-1;switch(t){case"L":return H(z(h,e),r);case"LL":return H(W(2,e),r);case"Lo":return H(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends f{priority=100;parse(e,t,n){switch(t){case"w":return z(v,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return(0,G.k)(X(e,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends f{priority=100;parse(e,t,n){switch(t){case"I":return z(v,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,K.b)(ee(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends f{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return z(g,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return W(t.length,e)}}validate(e,t){const n=$(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=ne[r]:t>=1&&t<=te[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends f{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return z(y,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return W(t.length,e)}}validate(e,t){return $(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends f{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=ie(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends f{priority=90;parse(e,t,n,r){const o=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return H(W(t.length,e),o);case"eo":return H(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=ie(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends f{priority=90;parse(e,t,n,r){const o=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return H(W(t.length,e),o);case"co":return H(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=ie(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends f{priority=90;parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return W(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return H(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return H(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return H(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return H(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=ce(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends f{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends f{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends f{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends f{priority=70;parse(e,t,n){switch(t){case"h":return z(O,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends f{priority=70;parse(e,t,n){switch(t){case"H":return z(b,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends f{priority=70;parse(e,t,n){switch(t){case"K":return z(x,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends f{priority=70;parse(e,t,n){switch(t){case"k":return z(w,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return W(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends f{priority=60;parse(e,t,n){switch(t){case"m":return z(k,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]},s:new class extends f{priority=50;parse(e,t,n){switch(t){case"s":return z(S,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return W(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]},S:new class extends f{priority=30;parse(e,t){return H(W(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]},X:new class extends f{priority=10;parse(e,t){switch(t){case"X":return B(I,e);case"XX":return B(R,e);case"XXXX":return B(M,e);case"XXXXX":return B(F,e);default:return B(L,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,se.G)(e)-n)}incompatibleTokens=["t","T","x"]},x:new class extends f{priority=10;parse(e,t){switch(t){case"x":return B(I,e);case"xx":return B(R,e);case"xxxx":return B(M,e);case"xxxxx":return B(F,e);default:return B(L,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,se.G)(e)-n)}incompatibleTokens=["t","T","X"]},t:new class extends f{priority=40;parse(e){return U(e)}set(e,t,n){return[(0,a.w)(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends f{priority=20;parse(e){return U(e)}set(e,t,n){return[(0,a.w)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},ue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,de=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pe=/^'([^]*?)'?$/,fe=/''/g,me=/\S/,he=/[a-zA-Z]/;function ge(e,t,n,l){const u=()=>(0,a.w)(l?.in||n,NaN),d=(0,c.q)(),f=l?.locale??d.locale??r.c,m=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,h=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0;if(!t)return e?u():(0,s.a)(n,l?.in);const g={firstWeekContainsDate:m,weekStartsOn:h,locale:f},y=[new p(l?.in,n)],v=t.match(de).map((e=>{const t=e[0];if(t in o.m){return(0,o.m[t])(e,f.formatLong)}return e})).join("").match(ue),b=[];for(let n of v){!l?.useAdditionalWeekYearTokens&&(0,i.xM)(n)&&(0,i.Ss)(n,t,e),!l?.useAdditionalDayOfYearTokens&&(0,i.ef)(n)&&(0,i.Ss)(n,t,e);const r=n[0],o=le[r];if(o){const{incompatibleTokens:t}=o;if(Array.isArray(t)){const e=b.find((e=>t.includes(e.token)||e.token===r));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if("*"===o.incompatibleTokens&&b.length>0)throw new RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);b.push({token:r,fullToken:n});const i=o.run(e,n,f.match,g);if(!i)return u();y.push(i.setter),e=i.rest}else{if(r.match(he))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=n.match(pe)[1].replace(fe,"'")),0!==e.indexOf(n))return u();e=e.slice(n.length)}}if(e.length>0&&me.test(e))return u();const w=y.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>y.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let x=(0,s.a)(n,l?.in);if(isNaN(+x))return u();const O={};for(const e of w){if(!e.validate(x,g))return u();const t=e.set(x,O,g);Array.isArray(t)?(x=t[0],Object.assign(O,t[1])):x=t}return x}},48948:(e,t,n)=>{var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),i=n(56449),a=n(30361),c=n(30294),s=n(77797);e.exports=function(e,t,n){for(var l=-1,u=(t=r(t,e)).length,d=!1;++l<u;){var p=s(t[l]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&c(u)&&a(p,u)&&(i(e)||o(e))}},49374:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},49653:(e,t,n)=>{var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},49859:(e,t,n)=>{e.exports=n(46079)()},50002:(e,t,n)=>{var r=n(82199),o=n(4664),i=n(95950);e.exports=function(e){return r(e,i,o)}},50083:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={name:"widget",colors:{paper:"#FFFFFF",primary:"#000000",primaryLight:"#424242",secondary:"#333",secondaryLight:"#7c7c7c",secondaryLighter:"#bababa",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#EDF1F5",backgroundBreadcrumbs:"#DEE6ED",backgroundPopover:"#424242",backgroundItemHover:"#E6E6E6",backgroundItemSelected:"#CCC",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundMultiValue:"#e6e6e6",loadingSpinner:"#000",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#CECECE"}},fontFamily:{monospace:"inherit",regular:"inherit"},fontSize:{base:1,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"2px",buttonLarge:"4px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0},space:{base:1,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1}},50098:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(5556),s=n.n(c),l=n(4883),u=n.n(l),d=n(64116),p=n(77271),f=n(67821),m=n(74848),h=["isTransparent","isVisible"];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){o()(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}var v=u().forwardRef((function(e,t){var n=e.isTransparent,r=void 0!==n&&n,o=e.isVisible,i=void 0===o||o,c=a()(e,h);return(0,m.jsx)(f.Ay,y(y({ref:t,type:"button",isTransparent:r,isVisible:i},c),{},{children:(0,m.jsx)(d.A,{icon:c.icon})}))}));v.propTypes={disabled:s().bool,icon:s().string.isRequired,ink:p.A.inkPropTypes,look:s().oneOf([p.A.look.FLAT,p.A.look.RAISED]),onClick:s().func,title:s().string,tabIndex:s().number,"data-cy":s().string,isTransparent:s().bool,isVisible:s().bool};const b=v},50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},50583:(e,t,n)=>{var r=n(47237),o=n(17255),i=n(28586),a=n(77797);e.exports=function(e){return i(e)?r(a(e)):o(e)}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,c){var s=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!s)return!1;for(var d=u;d--;){var p=l[d];if(!(s?p in t:o.call(t,p)))return!1}var f=c.get(e),m=c.get(t);if(f&&m)return f==t&&m==e;var h=!0;c.set(e,t),c.set(t,e);for(var g=s;++d<u;){var y=e[p=l[d]],v=t[p];if(i)var b=s?i(v,y,p,t,e,c):i(y,v,p,e,t,c);if(!(void 0===b?y===v||a(y,v,n,i,c):b)){h=!1;break}g||(g="constructor"==p)}if(h&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(h=!1)}return c.delete(e),c.delete(t),h}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},51510:(e,t,n)=>{"use strict";n.d(t,{ID:()=>Nt,NP:()=>Vt,DU:()=>en,AH:()=>Gt,Ay:()=>Xt,i7:()=>tn,SL:()=>nn});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;function o(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var i=n(4883),a=n.n(i),c=n(2833),s=n.n(c),l="-ms-",u="-moz-",d="-webkit-",p="comm",f="rule",m="decl",h="@import",g="@keyframes",y="@layer",v=Math.abs,b=String.fromCharCode,w=Object.assign;function x(e){return e.trim()}function O(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,n){return e.replace(t,n)}function S(e,t,n){return e.indexOf(t,n)}function A(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function j(e){return e.length}function P(e){return e.length}function T(e,t){return t.push(e),e}function C(e,t){return e.filter((function(e){return!O(e,t)}))}var D=1,_=1,N=0,I=0,R=0,M="";function L(e,t,n,r,o,i,a,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:D,column:_,length:a,return:"",siblings:c}}function F(e,t){return w(L("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function H(e){for(;e.root;)e=F(e.root,{children:[e]});T(e,e.siblings)}function z(){return R=I>0?A(M,--I):0,_--,10===R&&(_=1,D--),R}function B(){return R=I<N?A(M,I++):0,_++,10===R&&(_=1,D++),R}function U(){return A(M,I)}function W(){return I}function V(e,t){return E(M,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return D=_=1,N=j(M=e),I=0,[]}function $(e){return M="",e}function J(e){return x(V(I-1,Q(91===e?e+2:40===e?e+1:e)))}function G(e){for(;(R=U())&&R<33;)B();return q(e)>2||q(R)>3?"":" "}function K(e,t){for(;--t&&B()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return V(e,W()+(t<6&&32==U()&&32==B()))}function Q(e){for(;B();)switch(R){case e:return I;case 34:case 39:34!==e&&39!==e&&Q(R);break;case 40:41===e&&Q(e);break;case 92:B()}return I}function X(e,t){for(;B()&&e+R!==57&&(e+R!==84||47!==U()););return"/*"+V(t,I-1)+"*"+b(47===e?e:B())}function Z(e){for(;!q(U());)B();return V(e,I)}function ee(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function te(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case h:case m:return e.return=e.return||e.value;case p:return"";case g:return e.return=e.value+"{"+ee(e.children,r)+"}";case f:if(!j(e.value=e.props.join(",")))return""}return j(n=ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function ne(e,t,n){switch(function(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}(e,t)){case 5103:return d+"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 d+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+u+e+l+e+e;case 5936:switch(A(e,t+11)){case 114:return d+e+l+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+l+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+l+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return d+e+l+e+e;case 6165:return d+e+l+"flex-"+e+e;case 5187:return d+e+k(e,/(\w+).+(:[^]+)/,d+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return d+e+l+"flex-item-"+k(e,/flex-|-self/g,"")+(O(e,/flex-|baseline/)?"":l+"grid-row-"+k(e,/flex-|-self/g,""))+e;case 4675:return d+e+l+"flex-line-pack"+k(e,/align-content|flex-|-self/g,"")+e;case 5548:return d+e+l+k(e,"shrink","negative")+e;case 5292:return d+e+l+k(e,"basis","preferred-size")+e;case 6060:return d+"box-"+k(e,"-grow","")+d+e+l+k(e,"grow","positive")+e;case 4554:return d+k(e,/([^-])(transform)/g,"$1"+d+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+e+e;case 4200:if(!O(e,/flex-|baseline/))return l+"grid-column-align"+E(e,t)+e;break;case 2592:case 3360:return l+k(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,O(e.props,/grid-\w+-end/)}))?~S(e+(n=n[t].value),"span",0)?e:l+k(e,"-start","")+e+l+"grid-row-span:"+(~S(n,"span",0)?O(n,/\d+/):+O(n,/\d+/)-+O(e,/\d+/))+";":l+k(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return O(e.props,/grid-\w+-start/)}))?e:l+k(k(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,d+"$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(j(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~S(e,"stretch",0)?ne(k(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return k(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,c){return l+n+":"+r+c+(o?l+n+"-span:"+(i?a:+a-+r)+c:"")+e}));case 4949:if(121===A(e,t+6))return k(e,":",":"+d)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return k(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===A(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+l+"$2box$3")+e;case 100:return k(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return k(e,"scroll-","scroll-snap-")+e}return e}function re(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case m:return void(e.return=ne(e.value,e.length,n));case g:return ee([F(e,{value:k(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(O(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":H(F(e,{props:[k(t,/:(read-\w+)/,":"+u+"$1")]})),H(F(e,{props:[t]})),w(e,{props:C(n,r)});break;case"::placeholder":H(F(e,{props:[k(t,/:(plac\w+)/,":"+d+"input-$1")]})),H(F(e,{props:[k(t,/:(plac\w+)/,":"+u+"$1")]})),H(F(e,{props:[k(t,/:(plac\w+)/,l+"input-$1")]})),H(F(e,{props:[t]})),w(e,{props:C(n,r)})}return""}))}}function oe(e){return $(ie("",null,null,null,[""],e=Y(e),0,[0],e))}function ie(e,t,n,r,o,i,a,c,s){for(var l=0,u=0,d=a,p=0,f=0,m=0,h=1,g=1,y=1,w=0,x="",O=o,E=i,P=r,C=x;g;)switch(m=w,w=B()){case 40:if(108!=m&&58==A(C,d-1)){-1!=S(C+=k(J(w),"&","&\f"),"&\f",v(l?c[l-1]:0))&&(y=-1);break}case 34:case 39:case 91:C+=J(w);break;case 9:case 10:case 13:case 32:C+=G(m);break;case 92:C+=K(W()-1,7);continue;case 47:switch(U()){case 42:case 47:T(ce(X(B(),W()),t,n,s),s);break;default:C+="/"}break;case 123*h:c[l++]=j(C)*y;case 125*h:case 59:case 0:switch(w){case 0:case 125:g=0;case 59+u:-1==y&&(C=k(C,/\f/g,"")),f>0&&j(C)-d&&T(f>32?se(C+";",r,n,d-1,s):se(k(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(T(P=ae(C,t,n,l,u,o,c,x,O=[],E=[],d,i),i),123===w)if(0===u)ie(C,t,P,P,O,i,d,c,E);else switch(99===p&&110===A(C,3)?100:p){case 100:case 108:case 109:case 115:ie(e,P,P,r&&T(ae(e,P,P,0,0,o,c,x,o,O=[],d,E),E),o,E,d,c,r?O:E);break;default:ie(C,P,P,P,[""],E,0,c,E)}}l=u=f=0,h=y=1,x=C="",d=a;break;case 58:d=1+j(C),f=m;default:if(h<1)if(123==w)--h;else if(125==w&&0==h++&&125==z())continue;switch(C+=b(w),w*h){case 38:y=u>0?1:(C+="\f",-1);break;case 44:c[l++]=(j(C)-1)*y,y=1;break;case 64:45===U()&&(C+=J(B())),p=U(),u=d=j(x=C+=Z(W())),w++;break;case 45:45===m&&2==j(C)&&(h=0)}}return i}function ae(e,t,n,r,o,i,a,c,s,l,u,d){for(var p=o-1,m=0===o?i:[""],h=P(m),g=0,y=0,b=0;g<r;++g)for(var w=0,O=E(e,p+1,p=v(y=a[g])),S=e;w<h;++w)(S=x(y>0?m[w]+" "+O:k(O,/&\f/g,m[w])))&&(s[b++]=S);return L(e,t,n,0===o?f:c,s,l,u,d)}function ce(e,t,n,r){return L(e,t,n,p,b(R),E(e,2,-2),0,r)}function se(e,t,n,r,o){return L(e,t,n,m,E(e,0,r),E(e,r+1,-1),r,o)}var le={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ue="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",de="active",pe="data-styled-version",fe="6.1.19",me="/*!sc*/\n",he="undefined"!=typeof window&&"undefined"!=typeof document,ge=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),ye={},ve=(new Set,Object.freeze([])),be=Object.freeze({});function we(e,t,n){return void 0===n&&(n=be),e.theme!==n.theme&&e.theme||t||n.theme}var xe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Oe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Se(e){return e.replace(Oe,"-").replace(ke,"")}var Ae=/(a)(d)/gi,Ee=52,je=function(e){return String.fromCharCode(e+(e>25?39:97))};function Pe(e){var t,n="";for(t=Math.abs(e);t>Ee;t=t/Ee|0)n=je(t%Ee)+n;return(je(t%Ee)+n).replace(Ae,"$1-$2")}var Te,Ce=5381,De=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return De(Ce,e)};function Ne(e){return Pe(_e(e)>>>0)}function Ie(e){return e.displayName||e.name||"Component"}function Re(e){return"string"==typeof e&&!0}var Me="function"==typeof Symbol&&Symbol.for,Le=Me?Symbol.for("react.memo"):60115,Fe=Me?Symbol.for("react.forward_ref"):60112,He={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ze={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Be={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ue=((Te={})[Fe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Te[Le]=Be,Te);function We(e){return("type"in(t=e)&&t.type.$$typeof)===Le?Be:"$$typeof"in e?Ue[e.$$typeof]:He;var t}var Ve=Object.defineProperty,qe=Object.getOwnPropertyNames,Ye=Object.getOwnPropertySymbols,$e=Object.getOwnPropertyDescriptor,Je=Object.getPrototypeOf,Ge=Object.prototype;function Ke(e,t,n){if("string"!=typeof t){if(Ge){var r=Je(t);r&&r!==Ge&&Ke(e,r,n)}var o=qe(t);Ye&&(o=o.concat(Ye(t)));for(var i=We(e),a=We(t),c=0;c<o.length;++c){var s=o[c];if(!(s in ze||n&&n[s]||a&&s in a||i&&s in i)){var l=$e(t,s);try{Ve(e,s,l)}catch(e){}}}}return e}function Qe(e){return"function"==typeof e}function Xe(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function et(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function tt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nt(e,t,n){if(void 0===n&&(n=!1),!n&&!tt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=nt(e[r],t[r]);else if(tt(t))for(var r in t)e[r]=nt(e[r],t[r]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}function ot(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var it=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw ot(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),c=(i=0,t.length);i<c;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(me);return t},e}(),at=new Map,ct=new Map,st=1,lt=function(e){if(at.has(e))return at.get(e);for(;ct.has(st);)st++;var t=st++;return at.set(e,t),ct.set(t,e),t},ut=function(e,t){st=t+1,at.set(e,t),ct.set(t,e)},dt="style[".concat(ue,"][").concat(pe,'="').concat(fe,'"]'),pt=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ft=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},mt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(me),o=[],i=0,a=r.length;i<a;i++){var c=r[i].trim();if(c){var s=c.match(pt);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(ut(u,l),ft(e,u,s[3]),e.getTag().insertRules(l,o)),o.length=0}else o.push(c)}}},ht=function(e){for(var t=document.querySelectorAll(dt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==de&&(mt(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function gt(){return n.nc}var yt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(ue,de),r.setAttribute(pe,fe);var a=gt();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},vt=function(){function e(e){this.element=yt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw ot(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),bt=function(){function e(e){this.element=yt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),xt=he,Ot={isServer:!he,useCSSOMInjection:!ge},kt=function(){function e(e,t,n){void 0===e&&(e=be),void 0===t&&(t={});var o=this;this.options=r(r({},Ot),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&he&&xt&&(xt=!1,ht(this)),rt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return ct.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||!i.size||0===a.length)return"continue";var c="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(a).concat(c,'{content:"').concat(s,'"}').concat(me)},i=0;i<n;i++)o(i);return r}(o)}))}return e.registerId=function(e){return lt(e)},e.prototype.rehydrate=function(){!this.server&&he&&ht(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new wt(n):t?new vt(n):new bt(n)}(this.options),new it(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(lt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(lt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(lt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,At=/^\s*\/\/.*$/gm;function Et(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Et(e.children,t)),e}))}function jt(e){var t,n,r,o=void 0===e?be:e,i=o.options,a=void 0===i?be:i,c=o.plugins,s=void 0===c?ve:c,l=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,n).replace(r,l))})),a.prefix&&u.push(re),u.push(te);var d=function(e,o,i,c){void 0===o&&(o=""),void 0===i&&(i=""),void 0===c&&(c="&"),t=c,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(At,""),l=oe(i||o?"".concat(i," ").concat(o," { ").concat(s," }"):s);a.namespace&&(l=Et(l,a.namespace));var d,p,f,m=[];return ee(l,(d=u.concat((f=function(e){return m.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=P(d),function(e,t,n,r){for(var o="",i=0;i<p;i++)o+=d[i](e,t,n,r)||"";return o})),m};return d.hash=s.length?s.reduce((function(e,t){return t.name||ot(15),De(e,t.name)}),Ce).toString():"",d}var Pt=new kt,Tt=jt(),Ct=a().createContext({shouldForwardProp:void 0,styleSheet:Pt,stylis:Tt}),Dt=(Ct.Consumer,a().createContext(void 0));function _t(){return(0,i.useContext)(Ct)}function Nt(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=_t().styleSheet,c=(0,i.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),l=(0,i.useMemo)((function(){return jt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)((function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,i.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:c,stylis:l}}),[e.shouldForwardProp,c,l]);return a().createElement(Ct.Provider,{value:u},a().createElement(Dt.Provider,{value:l},e.children))}var It=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Tt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rt(this,(function(){throw ot(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Tt),this.name+e.hash},e}(),Rt=function(e){return e>="A"&&e<="Z"};function Mt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Rt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Lt=function(e){return null==e||!1===e||""===e},Ft=function(e){var t,n,r=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!Lt(a)&&(Array.isArray(a)&&a.isCss||Qe(a)?r.push("".concat(Mt(i),":"),a,";"):tt(a)?r.push.apply(r,o(o(["".concat(i," {")],Ft(a),!1),["}"],!1)):r.push("".concat(Mt(i),": ").concat((t=i,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in le||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ht(e,t,n,r){return Lt(e)?[]:Xe(e)?[".".concat(e.styledComponentId)]:Qe(e)?!Qe(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ht(e(t),t,n,r):e instanceof It?n?(e.inject(n,r),[e.getName(r)]):[e]:tt(e)?Ft(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map((function(e){return Ht(e,t,n,r)}))):[e.toString()];var o}function zt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qe(n)&&!Xe(n))return!1}return!0}var Bt=_e(fe),Ut=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&zt(e),this.componentId=t,this.baseHash=De(Bt,t),this.baseStyle=n,kt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ze(r,this.staticRulesId);else{var o=et(Ht(this.rules,e,t,n)),i=Pe(De(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Ze(r,i),this.staticRulesId=i}else{for(var c=De(this.baseHash,n.hash),s="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)s+=u;else if(u){var d=et(Ht(u,e,t,n));c=De(c,d+l),s+=d}}if(s){var p=Pe(c>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=Ze(r,p)}}return r},e}(),Wt=a().createContext(void 0);Wt.Consumer;function Vt(e){var t=a().useContext(Wt),n=(0,i.useMemo)((function(){return function(e,t){if(!e)throw ot(14);if(Qe(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw ot(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?a().createElement(Wt.Provider,{value:n},e.children):null}var qt={};new Set;function Yt(e,t,n){var o=Xe(e),c=e,s=!Re(e),l=t.attrs,u=void 0===l?ve:l,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Se(e);qt[n]=(qt[n]||0)+1;var r="".concat(n,"-").concat(Ne(fe+n+qt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,m=void 0===f?function(e){return Re(e)?"styled.".concat(e):"Styled(".concat(Ie(e),")")}(e):f,h=t.displayName&&t.componentId?"".concat(Se(t.displayName),"-").concat(t.componentId):t.componentId||p,g=o&&c.attrs?c.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(o&&c.shouldForwardProp){var v=c.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var w=new Ut(n,h,o?c.componentStyle:void 0);function x(e,t){return function(e,t,n){var o=e.attrs,c=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=a().useContext(Wt),f=_t(),m=e.shouldForwardProp||f.shouldForwardProp,h=we(t,p,s)||be,g=function(e,t,n){for(var o,i=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var c=Qe(o=e[a])?o(i):o;for(var s in c)i[s]="className"===s?Ze(i[s],c[s]):"style"===s?r(r({},i[s]),c[s]):c[s]}return t.className&&(i.className=Ze(i.className,t.className)),i}(o,t,h),y=g.as||d,v={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===h||("forwardedAs"===b?v.as=g.forwardedAs:m&&!m(b,y)||(v[b]=g[b]));var w=function(e,t){var n=_t();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(c,g),x=Ze(l,u);return w&&(x+=" "+w),g.className&&(x+=" "+g.className),v[Re(y)&&!xe.has(y)?"class":"className"]=x,n&&(v.ref=n),(0,i.createElement)(y,v)}(O,e,t)}x.displayName=m;var O=a().forwardRef(x);return O.attrs=g,O.componentStyle=w,O.displayName=m,O.shouldForwardProp=y,O.foldedComponentIds=o?Ze(c.foldedComponentIds,c.styledComponentId):"",O.styledComponentId=h,O.target=o?c.target:e,Object.defineProperty(O,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)nt(e,o[r],!0);return e}({},c.defaultProps,e):e}}),rt(O,(function(){return".".concat(O.styledComponentId)})),s&&Ke(O,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),O}function $t(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Jt=function(e){return Object.assign(e,{isCss:!0})};function Gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Qe(e)||tt(e))return Jt(Ht($t(ve,o([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ht(r):Jt(Ht($t(r,t)))}function Kt(e,t,n){if(void 0===n&&(n=be),!t)throw ot(1,t);var i=function(r){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,n,Gt.apply(void 0,o([r],i,!1)))};return i.attrs=function(o){return Kt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},i.withConfig=function(o){return Kt(e,t,r(r({},n),o))},i}var Qt=function(e){return Kt(Yt,e)},Xt=Qt;xe.forEach((function(e){Xt[e]=Qt(e)}));var Zt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=zt(e),kt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(et(Ht(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&kt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function en(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Gt.apply(void 0,o([e],t,!1)),c="sc-global-".concat(Ne(JSON.stringify(i))),s=new Zt(i,c),l=function(e){var t=_t(),n=a().useContext(Wt),r=a().useRef(t.styleSheet.allocateGSInstance(c)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),a().useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return s.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,i){if(s.isStatic)s.renderStyles(e,ye,n,i);else{var a=r(r({},t),{theme:we(t,o,l.defaultProps)});s.renderStyles(e,a,n,i)}}return a().memo(l)}function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=et(Gt.apply(void 0,o([e],t,!1))),i=Ne(r);return new It(i,r)}function nn(e){var t=a().forwardRef((function(t,n){var o=we(t,a().useContext(Wt),e.defaultProps);return a().createElement(e,r({},t,{theme:o,ref:n}))}));return t.displayName="WithTheme(".concat(Ie(e),")"),Ke(t,e)}(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=gt(),r=et([n&&'nonce="'.concat(n,'"'),"".concat(ue,'="true"'),"".concat(pe,'="').concat(fe,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw ot(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw ot(2);var n=e.instance.toString();if(!n)return[];var o=((t={})[ue]="",t[pe]=fe,t.dangerouslySetInnerHTML={__html:n},t),i=gt();return i&&(o.nonce=i),[a().createElement("style",r({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new kt({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw ot(2);return a().createElement(Nt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw ot(3)}})(),"__sc-".concat(ue,"__")},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},51898:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(43329),o=n(22008),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in),a=n.getFullYear(),c=(0,r.w)(n,0);c.setFullYear(a+1,0,4),c.setHours(0,0,0,0);const s=(0,o.b)(c),l=(0,r.w)(n,0);l.setFullYear(a,0,4),l.setHours(0,0,0,0);const u=(0,o.b)(l);return n.getTime()>=s.getTime()?a+1:n.getTime()>=u.getTime()?a:a-1}},52098:(e,t,n)=>{"use strict";var r,o=n(4883),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,l=[];function u(){s=e(l.map((function(e){return e.props}))),d.canUseDOM?t(s):n&&(s=n(s))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return s},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,l=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){l.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),u()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",c),d}}},52381:(e,t,n)=>{"use strict";n.d(t,{MW:()=>i,Yz:()=>s,at:()=>c,dT:()=>a,de:()=>r,vc:()=>o});var r="showcaseActions/EDIT_WIDGET_CONFIG",o="showcaseActions/EDIT_THEME",i="showcaseActions/VIEW_WIDGET_INPUT",a=function(){return{type:r}},c=function(){return{type:o}},s=function(e){return{type:i,payload:{input:e}}}},53138:(e,t,n)=>{var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},53661:(e,t,n)=>{var r=n(63040),o=n(17670),i=n(90289),a=n(4509),c=n(72949);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,e.exports=s},53971:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(58156),s=n.n(c),l=n(63560),u=n.n(l);function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=n(2404),m=n.n(f),h=n(23805),g=n.n(h),y=n(90179),v=n.n(y),b=n(44383),w=n.n(b),x=n(40860),O=n.n(x),k=n(31444),S=n.n(k);function A(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j={KEY:"__key",MODEL:"__model",VERSION:"__version"},P=["key","display","model","version"],T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return O()(e,(function(e,n,r){var i=[].concat(a()(t),[r]),c={};n.value&&(c=Array.isArray(n.value)?n.value.reduce((function(e,t){return function(e,t){return O()(t,(function(e,t,n){var r=(Array.isArray(t)?t:[t]).filter((function(e){return null!==e}));return E(E({},e),{},o()({},n,S()([].concat(a()(e[n]||[]),a()(r)),m())))}),e)}(e,T(t.paths,i))}),{}):T(n.value.paths,i));var l=o()({},i.join("."),function(e,t){switch(e){case"entity":return t?w()(t,P):null;case"entity-list":return t.length>0?t.map((function(e){return w()(e,P)})):null;case"login":return s()(t,"username");case"longitude":case"latitude":return s()(t,"value");default:return t}}(n.type,n.value));return E(E(E({},e),l),c)}),{})};function C(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){return!e.hidden},N=function(e,t){var n=null==t?void 0:t.findIndex((function(t){return t.field===e.id}));return n>=0?{sortRank:n+1,order:t[n].order}:{}},I=["counter","decimal","double","integer","latitude","long","longitude","moneyamount","percent","serial","sorting","version","number"],R=function(e){var t;return null!=e&&e.alignment?e.alignment.toLowerCase():1===(null==e||null===(t=e.children)||void 0===t?void 0:t.length)?I.includes(e.children[0].dataType)?"right":"left":null!=e&&e.dataType&&I.includes(e.dataType)?"right":"left"};const M={metaFields:j,relationFieldTypes:["single-select-box","multi-select-box","single-remote-field","multi-remote-field","availability"],relevantRelationAttributes:P,getFlattenEntity:function(e){return E(o()(o()(o()({},j.KEY,e.key),j.MODEL,e.model),j.VERSION,e.version),T(e.paths))},flattenPaths:T,toEntity:function(e){var t=function(e){return Array.isArray(e)?e.map((function(e){return t(e)})):g()(e)?function(e){return e.pickAllProperties?v()(e,["pickAllProperties"]):w()(e,["key","version","id","resourceKey"])}(e):e},n=Object.keys(e).reduce((function(n,r){if(i=r,!Object.values(j).includes(i)){var o=r.split(".").join(".paths.").split(".");return u()(n,o,t(e[r]))}var i;return n}),{});return{model:e[j.MODEL],key:e[j.KEY],version:e[j.VERSION],paths:n}},getPathDisplayRequest:function(e,t,n){var r={};return e.forEach((function(e){t.forEach((function(t){if(e[t]){var o=e[t];(Array.isArray(o)?o:[o]).filter((function(e){return null!==e})).forEach((function(e){var t=e.model,o=e.key;(function(e,t,n){return!!s()(n,["defaultDisplays",e,t],"")})(t,o,n)||function(e,t,n){return s()(n,[e],[]).includes(t)}(t,o,r)||u()(r,[t],[].concat(a()(s()(r,[t],[])),[o]))}))}}))})),r},getDisplayRequest:function(e){return e.reduce((function(e,t){return p(p({},e),{},o()({},t.model,[].concat(a()(e[t.model]||[]),[t.key])))}),{})},getColumnDefinition:function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e?e.filter((function(e){return!e.hidden&&e.children.filter(_).length>0})).map((function(e,r){return{idx:r,id:e.id,label:e.label,sorting:D({sortable:e.sortable},N(e,t)),children:e.children.filter(_),resizable:!e.widthFixed,alignment:R(e),shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,CellRenderer:function(e){var t=e.rowData;return e.column.children.map((function(e){return n.apply(void 0,[e,t].concat(o))}))}}})):[]},getColumnAlignment:R,splitFormId:function(e){var t=e.lastIndexOf("_");return{formName:e.substring(0,t),scope:e.substring(t+1)}},eventRegistration:{getEventRelationshipModulesQuery:function(e){return{query:{where:"relModule.pk == ".concat(e,' and relEvent_relationship_registration.unique_id == "show"'),paths:["relCourse","relEvent_relationship_type.unique_id","sorting"],sort:"sorting desc"},entityName:"Event_relationship"}}},getSortingAttributes:N}},54525:(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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}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 i,a=n(3675),c=(i=a)&&i.__esModule?i:{default:i},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),i=n[0],a=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 l=n.map((function(e){return i[e]})).filter(s);return"string"==typeof l[0]||"function"==typeof a?{key:e,className:a?a.apply(void 0,o(l)):l.join(" ")}:{key:e,style:c.default.apply(void 0,[{}].concat(o(l)))}}},e.exports=t.default},54819:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:u,r=t&&t.serializer?t.serializer:s;return(t&&t.strategy?t.strategy:c)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function i(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function a(e,t,n,r,o){return n.bind(t,e,r,o)}function c(e,t){return a(e,this,1===e.length?o:i,t.cache.create(),t.serializer)}n.d(t,{B:()=>r,W:()=>d});var s=function(){return JSON.stringify(arguments)},l=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),u={create:function(){return new l}},d={variadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},55056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},55364:(e,t,n)=>{var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},55765:(e,t,n)=>{var r=n(38859),o=n(15325),i=n(29905),a=n(19219),c=n(44517),s=n(84247);e.exports=function(e,t,n){var l=-1,u=o,d=e.length,p=!0,f=[],m=f;if(n)p=!1,u=i;else if(d>=200){var h=t?null:c(e);if(h)return s(h);p=!1,u=a,m=new r}else m=t?[]:f;e:for(;++l<d;){var g=e[l],y=t?t(g):g;if(g=n||0!==g?g:0,p&&y==y){for(var v=m.length;v--;)if(m[v]===y)continue e;t&&m.push(y),f.push(g)}else u(m,y,n)||(m!==f&&m.push(y),f.push(g))}return f}},56014:(e,t,n)=>{"use strict";n.d(t,{A:()=>Kd});var r,o,i,a=n(26396),c=n.n(a),s=n(90179),l=n.n(s),u=n(62193),d=n.n(u),p=n(3634),f=n(62243),m=n.n(f),h=n(48268),g=n(44905),y=n(69556),v=n(56375),b=n(40443),w=n(85735),x=n.n(w),O=function(e){return-1*Math.abs(e)},k=function(e){var t=[e.street,e.postcode,e.city,e.country].filter(Boolean).map((function(e){var t="object"===x()(e)&&e.display?e.display:e;return encodeURIComponent(t)})).join("+");return"".concat("https://www.google.com/maps/search/?api=1&query=").concat(t)},S=n(72189),A=n.n(S),E=n(58156),j=n.n(E),P=n(51510),T=n(26166),C=n(57488),D=P.Ay.div.withConfig({displayName:"StyledLocationEdit"})(r||(r=A()(["\n && {\n ","\n position: relative;\n\n & > div {\n &:nth-of-type(1) {\n flex: 0 0 13ch;\n margin-right: ",";\n }\n\n &:nth-of-type(2) {\n flex: 1 1 auto;\n }\n }\n\n > span {\n flex: 0 0 auto;\n margin-right: ",";\n color: ",";\n }\n\n "," {\n margin-left: auto;\n }\n\n .react-autosuggest__input {\n ","\n width: 100%;\n }\n\n .react-autosuggest__container {\n width: 100%;\n }\n\n .react-autosuggest__suggestions-container--open {\n width: calc(100% + 17.5px);\n background-color: ",";\n box-shadow: 0 0 6px ",";\n border: 1px solid ",";\n bottom: -9px;\n left: -10px;\n max-height: 300px;\n overflow-y: auto;\n position: absolute;\n transform: translateY(100%);\n z-index: 2; /* higher than StyledIndicatorsContainerWrapper */\n }\n\n .react-autosuggest__suggestions-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .react-autosuggest__suggestion {\n cursor: pointer;\n padding: 8px 12px;\n }\n\n .react-autosuggest__suggestion--highlighted {\n background-color: ",";\n }\n }\n"])),b.oX,T.A.space(-2),T.A.space(-2),(function(e){var t=e.immutable,n=e.theme;return t?j()(n,"colors.textDisabled"):j()(n,"colors.text")}),b.PG,b.jx,C.t7.color("paper"),C.t7.color("signal.info"),C.t7.color("secondaryLight"),C.t7.color("backgroundItemHover")),_=(0,P.Ay)(D).withConfig({displayName:"StyledAddressEdit"})(o||(o=A()(["\n && {\n & > div:nth-of-type(1) {\n flex: auto;\n width: 100%;\n }\n }\n"]))),N=n(74848);function I(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 R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const M=function(e){var t,n=e.onChange,r=e.options,o=e.value,a=e.id,s=e.immutable,l=e.name,u=function(e){return function(t){return t[e]}},d=function(e){var t=e.street,n=e.houseNr;return n?"".concat(t," ").concat(n):t},p=function(e){var t=e.street,n=e.state,r=e.country,o=e.postcode,i=e.city;if(!t)return null;var a=d(e),c=n?"- ".concat(n):"",s=r?"/ ".concat(r.display):"";return(0,N.jsxs)(v.Ay.Span,{children:[a,", ",o," ",i," ",c," ",s]})},f=function(e,t){var o=t.suggestion;!0===o.validationRequired?r.validateLocation(o,n):n(o)},w=function(e){var t=e.value,n=r.locationValues.country,o={street:t};r.fetchSuggestions(o,n)},x={id:a,value:o&&o.street?d(o):"",onChange:(t="street",function(e,r){var i=r.newValue;n(R(R({},o),{},c()({},t,i)))}),disabled:s,name:"address-line1",autocomplete:"street-address"};return(0,N.jsx)(h.A,{children:function(e){var t,n,o,a,c=e.getRef;return(0,N.jsxs)(_,{immutable:s,name:l,ref:c,children:[(0,N.jsx)(m(),{suggestions:r.suggestions||[],onSuggestionsFetchRequested:w,getSuggestionValue:u("street"),renderSuggestion:p,onSuggestionsClearRequested:function(){},inputProps:x,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(e){return e&&!s}}),(0,N.jsxs)(b.PG,{children:[r.isLoading&&(i||(i=(0,N.jsx)(y.A,{size:"1.8rem"}))),(t=r.locationValues,n=t.street,o=t.city,a=t.postcode,Boolean(n&&(o||a))&&(0,N.jsx)(g.A,{href:k(r.locationValues),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:r.mapButtonTitle||"Show on map",neutral:!0}))]})]})}})};var L=n(69843),F=n.n(L),H=n(21259),z=n.n(H),B=n(22056),U=n.n(B),W=n(7350),V=n.n(W),q=n(4883),Y=n.t(q,2),$=n.n(q),J=n(47029),G=n(2482),K=n(35412),Q=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var X=n(65166);function Z(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 ee(e,t){return ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ee(e,t)}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}var ne=n(65710);function re(e,t){if(t&&("object"===(0,ne.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function oe(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=te(e);if(t){var o=te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return re(this,n)}}var ie=n(77987);var ae=n(25134);function ce(e){return function(e){if(Array.isArray(e))return(0,ie.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,ae.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var se=n(60355),le=n(3834),ue=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function de(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||ue(r)&&ue(o)))return!1;var r,o;return!0}for(var pe={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"},fe=function(e){return(0,le.Y)("span",(0,X.A)({css:pe},e))},me={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".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,i=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,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,c=e.isDisabled,s=e.isSelected,l=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&l){var d=c?" disabled":"",p="".concat(s?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},he=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,c=e.selectProps,s=e.id,l=e.isAppleDevice,u=c.ariaLiveMessages,d=c.getOptionLabel,p=c.inputValue,f=c.isMulti,m=c.isOptionDisabled,h=c.isSearchable,g=c.menuIsOpen,y=c.options,v=c.screenReaderStatus,b=c.tabSelectsValue,w=c.isLoading,x=c["aria-label"],O=c["aria-live"],k=(0,q.useMemo)((function(){return(0,J.A)((0,J.A)({},me),u||{})}),[u]),S=(0,q.useMemo)((function(){var e,n="";if(t&&k.onChange){var r=t.option,o=t.options,i=t.removedValue,c=t.removedValues,s=t.value,l=i||r||(e=s,Array.isArray(e)?null:e),u=l?d(l):"",p=o||c||void 0,f=p?p.map(d):[],h=(0,J.A)({isDisabled:l&&m(l,a),label:u,labels:f},t);n=k.onChange(h)}return n}),[t,k,m,a,d]),A=(0,q.useMemo)((function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&k.onFocus){var c={focused:t,label:d(t),isDisabled:m(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:l};e=k.onFocus(c)}return e}),[n,r,d,m,k,o,a,l]),E=(0,q.useMemo)((function(){var e="";if(g&&y.length&&!w&&k.onFilter){var t=v({count:o.length});e=k.onFilter({inputValue:p,resultsMessage:t})}return e}),[o,p,g,k,y,v,w]),j="initial-input-focus"===(null==t?void 0:t.action),P=(0,q.useMemo)((function(){var e="";if(k.guidance){var t=r?"value":g?"menu":"input";e=k.guidance({"aria-label":x,context:t,isDisabled:n&&m(n,a),isMulti:f,isSearchable:h,tabSelectsValue:b,isInitialFocus:j})}return e}),[x,n,r,f,m,h,g,k,a,b,j]),T=(0,le.Y)(q.Fragment,null,(0,le.Y)("span",{id:"aria-selection"},S),(0,le.Y)("span",{id:"aria-focused"},A),(0,le.Y)("span",{id:"aria-results"},E),(0,le.Y)("span",{id:"aria-guidance"},P));return(0,le.Y)(q.Fragment,null,(0,le.Y)(fe,{id:s},j&&T),(0,le.Y)(fe,{"aria-live":O,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!j&&T))},ge=[{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źẑżžẓẕƶȥɀⱬꝣ"}],ye=new RegExp("["+ge.map((function(e){return e.letters})).join("")+"]","g"),ve={},be=0;be<ge.length;be++)for(var we=ge[be],xe=0;xe<we.letters.length;xe++)ve[we.letters[xe]]=we.base;var Oe=function(e){return e.replace(ye,(function(e){return ve[e]}))},ke=function(e,t){void 0===t&&(t=de);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Oe),Se=function(e){return e.replace(/^\s+|\s+$/g,"")},Ae=function(e){return"".concat(e.label," ").concat(e.value)},Ee=["innerRef"];function je(e){var t=e.innerRef,n=(0,K.A)(e,Ee),r=(0,se.r)(n,"onExited","in","enter","exit","appear");return(0,le.Y)("input",(0,X.A)({ref:t},r,{css:(0,le.AH)({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 Pe=["boxSizing","height","overflow","paddingRight","position"],Te={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ce(e){e.cancelable&&e.preventDefault()}function De(e){e.stopPropagation()}function _e(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ne(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ie=!("undefined"==typeof window||!window.document||!window.document.createElement),Re=0,Me={capture:!1,passive:!1};var Le=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Fe={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function He(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,q.useRef)(!1),c=(0,q.useRef)(!1),s=(0,q.useRef)(0),l=(0,q.useRef)(null),u=(0,q.useCallback)((function(e,t){if(null!==l.current){var s=l.current,u=s.scrollTop,d=s.scrollHeight,p=s.clientHeight,f=l.current,m=t>0,h=d-p-u,g=!1;h>t&&a.current&&(r&&r(e),a.current=!1),m&&c.current&&(i&&i(e),c.current=!1),m&&t>h?(n&&!a.current&&n(e),f.scrollTop=d,g=!0,a.current=!0):!m&&-t>u&&(o&&!c.current&&o(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),d=(0,q.useCallback)((function(e){u(e,e.deltaY)}),[u]),p=(0,q.useCallback)((function(e){s.current=e.changedTouches[0].clientY}),[]),f=(0,q.useCallback)((function(e){var t=s.current-e.changedTouches[0].clientY;u(e,t)}),[u]),m=(0,q.useCallback)((function(e){if(e){var t=!!se.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",f,t)}}),[f,p,d]),h=(0,q.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",f,!1))}),[f,p,d]);return(0,q.useEffect)((function(){if(t){var e=l.current;return m(e),function(){h(e)}}}),[t,m,h]),function(e){l.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,q.useRef)({}),i=(0,q.useRef)(null),a=(0,q.useCallback)((function(e){if(Ie){var t=document.body,n=t&&t.style;if(r&&Pe.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&Re<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,c=window.innerWidth-a+i||0;Object.keys(Te).forEach((function(e){var t=Te[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(c,"px"))}t&&Ne()&&(t.addEventListener("touchmove",Ce,Me),e&&(e.addEventListener("touchstart",_e,Me),e.addEventListener("touchmove",De,Me))),Re+=1}}),[r]),c=(0,q.useCallback)((function(e){if(Ie){var t=document.body,n=t&&t.style;Re=Math.max(Re-1,0),r&&Re<1&&Pe.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&Ne()&&(t.removeEventListener("touchmove",Ce,Me),e&&(e.removeEventListener("touchstart",_e,Me),e.removeEventListener("touchmove",De,Me)))}}),[r]);return(0,q.useEffect)((function(){if(t){var e=i.current;return a(e),function(){c(e)}}}),[t,a,c]),function(e){i.current=e}}({isEnabled:n});return(0,le.Y)(q.Fragment,null,n&&(0,le.Y)("div",{onClick:Le,css:Fe}),t((function(e){o(e),i(e)})))}var ze={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Be=function(e){var t=e.name,n=e.onFocus;return(0,le.Y)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:ze,value:"",onChange:function(){}})};function Ue(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function We(){return Ue(/^Mac/i)}function Ve(){return Ue(/^iPhone/i)||Ue(/^iPad/i)||We()&&navigator.maxTouchPoints>1}var qe={clearIndicator:se.a,container:se.b,control:se.d,dropdownIndicator:se.e,group:se.g,groupHeading:se.f,indicatorsContainer:se.i,indicatorSeparator:se.h,input:se.j,loadingIndicator:se.l,loadingMessage:se.k,menu:se.m,menuList:se.n,menuPortal:se.o,multiValue:se.p,multiValueLabel:se.q,multiValueRemove:se.t,noOptionsMessage:se.u,option:se.v,placeholder:se.w,singleValue:se.x,valueContainer:se.y};var Ye,$e={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}},Je={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,se.z)(),captureMenuScroll:!(0,se.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,J.A)({ignoreCase:!0,ignoreAccents:!0,stringify:Ae,trim:!0,matchFrom:"any"},Ye),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,c=n.matchFrom,s=a?Se(t):t,l=a?Se(i(e)):i(e);return r&&(s=s.toLowerCase(),l=l.toLowerCase()),o&&(s=ke(s),l=Oe(l)),"start"===c?l.substr(0,s.length)===s:l.indexOf(s)>-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,se.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Ge(e,t,n,r){return{type:"option",data:t,isDisabled:rt(e,t,n),isSelected:ot(e,t,n),label:tt(e,t),value:nt(e,t),index:r}}function Ke(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Ge(e,n,t,r)})).filter((function(t){return Ze(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Ge(e,n,t,r);return Ze(e,i)?i:void 0})).filter(se.K)}function Qe(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,ce(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Xe(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,ce(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function Ze(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,c=t.value;return(!at(e)||!i)&&it(e,{label:a,value:c,data:o},r)}var et=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},tt=function(e,t){return e.getOptionLabel(t)},nt=function(e,t){return e.getOptionValue(t)};function rt(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ot(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=nt(e,t);return n.some((function(t){return nt(e,t)===r}))}function it(e,t,n){return!e.filterOption||e.filterOption(t,n)}var at=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ct=1,st=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ee(e,t)}(i,e);var t,n,r,o=oe(i);function i(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,c=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:c}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,c=o&&t.isOptionSelected(e,a),s=t.isOptionDisabled(e,a);if(c){var l=t.getOptionValue(e);t.setValue((0,se.B)(a.filter((function(e){return t.getOptionValue(e)!==l}))),"deselect-option",e)}else{if(s)return void t.ariaOnChange((0,se.C)(e),{action:"select-option",option:e,name:i});o?t.setValue((0,se.B)([].concat(ce(a),[e])),"select-option",e):t.setValue((0,se.C)(e),"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=(0,se.D)(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,se.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=(0,se.D)(e,o,o[0]||null);r&&t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return et(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Xe(Ke(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return se.E.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return tt(t.props,e)},t.getOptionValue=function(e){return nt(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=qe[e](n,r);o.boxSizing="border-box";var i=t.props.styles[e];return i?i(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,se.F)(t.props)},t.buildCategorizedOptions=function(){return Ke(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return Qe(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:(0,J.A)({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,se.G)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return at(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,c=n.isClearable,s=n.isDisabled,l=n.menuIsOpen,u=n.onKeyDown,d=n.tabSelectsValue,p=n.openMenuOnFocus,f=t.state,m=f.focusedOption,h=f.focusedValue,g=f.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(h)t.removeValue(h);else{if(!o)return;r?t.popValue():c&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!l||!d||!m||p&&t.isOptionSelected(m,g))return;t.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(l){if(!m)return;if(t.isComposing)return;t.selectOption(m);break}return;case"Escape":l?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):c&&i&&t.clearValue();break;case" ":if(a)return;if(!l){t.openMenu("first");break}if(!m)return;t.selectOption(m);break;case"ArrowUp":l?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":l?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!l)return;t.focusOption("pageup");break;case"PageDown":if(!l)return;t.focusOption("pagedown");break;case"Home":if(!l)return;t.focusOption("first");break;case"End":if(!l)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++ct),t.state.selectValue=(0,se.H)(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),a=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[a],t.state.focusedOptionId=et(n,r[a])}return t}return t=i,n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,se.I)(this.menuListRef,this.focusedOptionRef),(We()||Ve())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,se.I)(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,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var c=i.indexOf(r[0]);c>-1&&(a=c)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(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 i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme($e):(0,J.A)((0,J.A)({},$e),this.props.theme):$e}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,c=this.props,s=c.isMulti,l=c.isRtl,u=c.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:u,selectOption:i,selectProps:c,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 rt(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ot(this.props,e,t)}},{key:"filterOption",value:function(e,t){return it(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,c=e.menuIsOpen,s=e.required,l=this.getComponents().Input,u=this.state,d=u.inputIsHidden,p=u.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),h=(0,J.A)((0,J.A)((0,J.A)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":s,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?q.createElement(l,(0,X.A)({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},h)):q.createElement(je,(0,X.A)({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:se.J,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},h))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,c=t.Placeholder,s=this.commonProps,l=this.props,u=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,f=l.inputValue,m=l.placeholder,h=this.state,g=h.selectValue,y=h.focusedValue,v=h.isFocused;if(!this.hasValue()||!u)return f?null:q.createElement(c,(0,X.A)({},s,{key:"placeholder",isDisabled:d,isFocused:v,innerProps:{id:this.getElementId("placeholder")}}),m);if(p)return g.map((function(t,a){var c=t===y,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return q.createElement(n,(0,X.A)({},s,{components:{Container:r,Label:o,Remove:i},isFocused:c,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var b=g[0];return q.createElement(a,(0,X.A)({},s,{data:b,isDisabled:d}),this.formatOptionLabel(b,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return q.createElement(e,(0,X.A)({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?q.createElement(e,(0,X.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{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,i=this.state.isFocused;return q.createElement(n,(0,X.A)({},r,{isDisabled:o,isFocused:i}))}},{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 q.createElement(e,(0,X.A)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,c=t.LoadingMessage,s=t.NoOptionsMessage,l=t.Option,u=this.commonProps,d=this.state.focusedOption,p=this.props,f=p.captureMenuScroll,m=p.inputValue,h=p.isLoading,g=p.loadingMessage,y=p.minMenuHeight,v=p.maxMenuHeight,b=p.menuIsOpen,w=p.menuPlacement,x=p.menuPosition,O=p.menuPortalTarget,k=p.menuShouldBlockScroll,S=p.menuShouldScrollIntoView,A=p.noOptionsMessage,E=p.onMenuScrollToTop,j=p.onMenuScrollToBottom;if(!b)return null;var P,T=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,c=t.label,s=t.value,p=d===o,f=i?void 0:function(){return e.onOptionHover(o)},m=i?void 0:function(){return e.selectOption(o)},h="".concat(e.getElementId("option"),"-").concat(n),g={id:h,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return q.createElement(l,(0,X.A)({},u,{innerProps:g,data:o,isDisabled:i,isSelected:a,key:h,label:c,type:r,value:s,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,c="".concat(e.getElementId("group"),"-").concat(a),s="".concat(c,"-heading");return q.createElement(n,(0,X.A)({},u,{key:c,data:o,options:i,Heading:r,headingProps:{id:s,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(h){var C=g({inputValue:m});if(null===C)return null;P=q.createElement(c,u,C)}else{var D=A({inputValue:m});if(null===D)return null;P=q.createElement(s,u,D)}var _={minMenuHeight:y,maxMenuHeight:v,menuPlacement:w,menuPosition:x,menuShouldScrollIntoView:S},N=q.createElement(se.M,(0,X.A)({},u,_),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,c=r.maxHeight;return q.createElement(o,(0,X.A)({},u,_,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:a}),q.createElement(He,{captureEnabled:f,onTopArrive:E,onBottomArrive:j,lockEnabled:k},(function(t){return q.createElement(i,(0,X.A)({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:h,maxHeight:c,focusedOption:d}),P)})))}));return O||"fixed"===x?q.createElement(a,(0,X.A)({},u,{appendTo:O,controlElement:this.controlRef,menuPlacement:w,menuPosition:x}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,c=this.state.selectValue;if(a&&!this.hasValue()&&!r)return q.createElement(Be,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var s=c.map((function(t){return e.getOptionValue(t)})).join(n);return q.createElement("input",{name:i,type:"hidden",value:s})}var l=c.length>0?c.map((function(t,n){return q.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):q.createElement("input",{name:i,type:"hidden",value:""});return q.createElement("div",null,l)}var u=c[0]?this.getOptionValue(c[0]):"";return q.createElement("input",{name:i,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,c=this.getFocusableOptions();return q.createElement(he,(0,X.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:c,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,c=i.id,s=i.isDisabled,l=i.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return q.createElement(r,(0,X.A)({},d,{className:a,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),q.createElement(t,(0,X.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:l}),q.createElement(o,(0,X.A)({},d,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),q.createElement(n,(0,X.A)({},d,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,c=t.prevWasFocused,s=t.instancePrefix,l=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,m=(0,se.H)(u),h={};if(n&&(u!==n.value||l!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Qe(Ke(e,t))}(e,m):[],y=d?Xe(Ke(e,m),"".concat(s,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);h={selectValue:m,focusedOption:b,focusedOptionId:et(y,b),focusableOptionsWithIds:y,focusedValue:v,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,O=a&&c;return a&&!O&&(x={value:(0,se.D)(f,m,m[0]||null),options:m,action:"initial-input-focus"},O=!c),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),(0,J.A)((0,J.A)((0,J.A)({},h),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:O})}}],n&&Z(t.prototype,n),r&&Z(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(q.Component);st.defaultProps=Je;n(22900);var lt=n(81845),ut=n.n(lt),dt=(n(27003),(0,q.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,c=e.inputValue,s=e.menuIsOpen,l=e.onChange,u=e.onInputChange,d=e.onMenuClose,p=e.onMenuOpen,f=e.value,m=(0,K.A)(e,Q),h=(0,q.useState)(void 0!==c?c:n),g=(0,G.A)(h,2),y=g[0],v=g[1],b=(0,q.useState)(void 0!==s?s:o),w=(0,G.A)(b,2),x=w[0],O=w[1],k=(0,q.useState)(void 0!==f?f:a),S=(0,G.A)(k,2),A=S[0],E=S[1],j=(0,q.useCallback)((function(e,t){"function"==typeof l&&l(e,t),E(e)}),[l]),P=(0,q.useCallback)((function(e,t){var n;"function"==typeof u&&(n=u(e,t)),v(void 0!==n?n:e)}),[u]),T=(0,q.useCallback)((function(){"function"==typeof p&&p(),O(!0)}),[p]),C=(0,q.useCallback)((function(){"function"==typeof d&&d(),O(!1)}),[d]),D=void 0!==c?c:y,_=void 0!==s?s:x,N=void 0!==f?f:A;return(0,J.A)((0,J.A)({},m),{},{inputValue:D,menuIsOpen:_,onChange:j,onInputChange:P,onMenuClose:C,onMenuOpen:T,value:N})}(e);return q.createElement(st,(0,X.A)({ref:t},n))}))),pt=dt,ft=n(46937),mt=n(38798),ht=n(50098);function gt(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 yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const vt=(0,mt.Ay)((function(e){var t;return(0,N.jsx)("span",yt(yt({},e.innerProps),{},{children:(0,N.jsx)(ht.A,{icon:"times",tabIndex:-1,"aria-label":(t="client.component.select.clearFieldLabel",e.intl.formatMessage({id:t})),"data-cy":"btn-clear"})}))}));var bt=n(1671);function wt(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 xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ot=function(e){var t=e.selectProps,n=t.isDisabled,r=t.menuIsOpen;return n?null:(0,N.jsx)(se.c.DropdownIndicator,xt(xt({},e),{},{children:(0,N.jsx)(bt.Jd,{children:(0,N.jsx)(ht.A,{icon:r?"chevron-up":"chevron-down",visible:!0,tabIndex:-1})})}))};var kt,St,At;function Et(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 jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Et(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pt=function(e,t,n){return function(r){r.stopPropagation(),e(t,n)}},Tt=function(e,t){return function(n){n.stopPropagation(),e(t)}},Ct=function(e,t){return function(n){n.stopPropagation(),e(t)}},Dt=function(e){e.stopPropagation()};const _t=function(e){var t=e.selectProps,n=t.openDocsTreeSearch,r=t.openAdvancedSearch,o=t.openRemoteCreate,i=t.isDisabled,a=t.hasDocsTreeSearch,c=t.hasAdvancedSearch,s=t.createPermission,l=t.value,u=t.isMulti,d=t.inputValue,p=u&&(c||a);return(0,N.jsx)(bt.qV,{isTopAligned:p,children:(0,N.jsxs)(se.c.IndicatorsContainer,jt(jt({},e),{},{children:[e.children,n&&!i&&(0,N.jsx)("span",{onTouchEnd:Dt,onMouseDown:Tt(n,l),children:kt||(kt=(0,N.jsx)(ht.A,{icon:"folder",tabIndex:-1,"data-cy":"btn-docsTreeSearch"}))}),r&&!i&&(0,N.jsx)("span",{onTouchEnd:Dt,onMouseDown:Pt(r,d,l),children:St||(St=(0,N.jsx)(ht.A,{icon:"search",tabIndex:-1,"data-cy":"btn-advancedSearch"}))}),s&&!i&&(0,N.jsx)("span",{onTouchEnd:Dt,onMouseDown:Ct(o,l),children:At||(At=(0,N.jsx)(ht.A,{icon:"plus",tabIndex:-1,"data-cy":"btn-remoteCreate"}))})]}))})};var Nt;const It=function(){return Nt||(Nt=(0,N.jsx)("span",{children:(0,N.jsx)(y.A,{size:"1.8rem"})}))};var Rt=n(44518);function Mt(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 Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ft=function(e){var t=e.selectProps,n=e.children,r=e.theme;return(0,N.jsx)(bt.Ec,{attachment:"top left",targetAttachment:"bottom left",constraints:[{to:"window",attachment:"together"}],renderTarget:function(e){return(0,N.jsx)("div",{ref:e})},renderElement:function(o){return(0,N.jsx)("div",{ref:o,className:Rt.e,children:(0,N.jsx)(bt.jl,Lt(Lt({},l()(e,["innerRef","theme"])),{},{wrapperWidth:t.wrapperWidth,wrapperHeight:t.wrapperHeight,selectTheme:r,children:n}))})}})};function Ht(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 zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Bt=function(e){var t=e.selectProps,n=e.children,r=t.moreOptionsAvailable,o=t.moreOptionsAvailableText;return(0,N.jsxs)(se.c.MenuList,zt(zt({},e),{},{className:"MenuList",children:[n,r&&(0,N.jsx)(bt.iX,{children:o})]}))};var Ut=n(66779);const Wt=function(e){var t=e.data,n=e.innerProps,r=e.children,o=e.selectProps,i=o.tooltips,a=o.loadTooltip,c=o.DetailLink,s=j()(i,t.key,null),l=(0,N.jsx)("span",{style:n.css,children:r}),u=c?(0,N.jsx)(bt.PD,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,N.jsx)(c,{entityKey:t.key,tabIndex:-1,children:(0,N.jsx)(p.A,{content:s?(0,N.jsx)("div",{dangerouslySetInnerHTML:{__html:Ut.A.sanitizeHtml(s)}}):null,children:(0,N.jsx)("span",{onMouseOver:function(){return a&&!s&&a(t.key)},children:l})})})}):l;return(0,N.jsx)(bt.fp,{children:u})};var Vt=n(85015),qt=n.n(Vt),Yt=n(42194),$t=n.n(Yt),Jt=n(5556),Gt=n.n(Jt),Kt=n(23076);function Qt(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 Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zt=["linkComp"],en=function(e,t){var n=Kt.A.difference(e,t),r=$t()(l()(n,Zt),(function(e){return 0===Object.keys(e).length}));return 0===Object.entries(r).length},tn=(0,q.memo)((function(e){var t=e.linkComp,n=e.entityKey,r=e.children;return t&&qt()(n)?(0,N.jsx)(bt.PD,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,N.jsx)(t,{entityKey:n,children:r})}):r}),en);tn.propTypes={children:Gt().node,entityKey:Gt().any,linkComp:Gt().func};const nn=function(e){var t=e.data,n=e.selectProps,r=e.isDisabled,o=e.children,i=n.tooltips,a=n.loadTooltip,c=n.DetailLink,s=j()(i,t.key,null);return(0,N.jsx)(se.c.SingleValue,Xt(Xt({},e),{},{children:(0,N.jsx)(bt.EM,{onMouseOver:function(){return a&&!s&&a(t.key)},isDisabled:r,children:(0,N.jsx)(p.A,{content:s?(0,N.jsx)("div",{dangerouslySetInnerHTML:{__html:Ut.A.sanitizeHtml(s)}}):null,children:(0,N.jsx)(tn,{linkComp:c,entityKey:t.key,children:o})})})}))};function rn(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}var on=function(e){var t;return"Input"===(null==e||null===(t=e.type)||void 0===t?void 0:t.name)};const an=function(e){var t=e.selectProps,n=e.hasValue,r=e.children,o=t.isMulti,i=t.hasAdvancedSearch,a=t.hasDocsTreeSearch,s=t.isDisabled;if(!(o&&(i||a)))return(0,N.jsx)(se.c.ValueContainer,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e));var l=q.Children.map(r,(function(e){return on(e)?e:null})),u=q.Children.map(r,(function(e){return on(e)?null:e})),d=s&&n;return(0,N.jsxs)(N.Fragment,{children:[!d&&(0,N.jsx)(N.Fragment,{children:l}),(0,N.jsx)(bt.NL,{children:u})]})};function cn(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 sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ln=(0,P.SL)((function(e){var t=e.fetchOptions,n=e.id,r=e.immutable,o=e.isLoading,i=e.isMulti,a=e.loadTooltip,c=e.moreOptionsAvailable,s=e.moreOptionsAvailableText,l=e.noResultsText,u=e.noResultsComp,d=e.onChange,p=e.openDocsTreeSearch,f=e.openAdvancedSearch,m=e.options,h=e.searchOptions,g=e.theme,y=e.tooltips,v=e.value,b=e.DetailLink,w=e.createPermission,x=e.openRemoteCreate,O=(0,q.useRef)(null),k=(0,q.useRef)(null),S=function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.clientWidth)||300},A=function(){var e;return(null===(e=k.current)||void 0===e?void 0:e.clientHeight)||35},E=(0,q.useState)(S()),j=U()(E,2),P=j[0],T=j[1],C=(0,q.useState)(A()),D=U()(C,2),_=D[0],I=D[1],R=(0,q.useState)(!1),M=U()(R,2),L=M[0],F=M[1],H=function(e){t&&t(e)},B=(0,q.useCallback)(h||function(){},[]),W=(0,q.useCallback)(V()(B,800,{trailing:!0}),[]),Y=Boolean(f),$=Boolean(p),J=Boolean(w),G=Boolean(h)||!ft.A.isPrimaryTouchDevice();return(0,N.jsx)(bt.NR,{tabIndex:"-1",id:n,onFocus:function(){O.current.focus(),setTimeout((function(){T(S()),I(A())}),0)},children:(0,N.jsx)(bt.wO,{ref:k,children:(0,N.jsx)(pt,sn(sn({getOptionLabel:function(e){return e.display},getOptionValue:function(e){return e.key},wrapperWidth:P,wrapperHeight:_,components:{ClearIndicator:vt,LoadingIndicator:It,DropdownIndicator:Ot,IndicatorsContainer:_t,IndicatorSeparator:null,Menu:Ft,MenuList:Bt,MultiValueLabel:Wt,SingleValue:nn,ValueContainer:an},noOptionsMessage:function(e){return l||("function"==typeof u?(0,N.jsx)(u,sn({},e)):" - ")},isMulti:i,closeMenuOnSelect:!i,isSearchable:G},h?{filterOption:function(){return!0}}:{}),{},{isClearable:!0,loadingMessage:function(){return null},placeholder:"",menuShouldScrollIntoView:!1,autoFocus:!1,tabSelectsValue:!1,value:v||null,onChange:function(e){d(e),H(e)},onInputChange:function(e,t){var n=t.action;h&&e&&W(e,v),""===e&&"input-change"===n&&H(v)},options:z()(m||[]),onKeyDown:function(e){"Enter"===e.key&&L&&(e.stopPropagation(),O.current&&null===O.current.focusedOptionRef&&e.preventDefault())},isLoading:o,isDisabled:r,ref:O,onMenuOpen:function(){H(v),F(!0)},onMenuClose:function(){F(!1)},styles:(0,bt.YC)(g),loadTooltip:a,tooltips:y,DetailLink:b,hasDocsTreeSearch:$,openDocsTreeSearch:p,hasAdvancedSearch:Y,openAdvancedSearch:f,moreOptionsAvailable:c,moreOptionsAvailableText:s,blurInputOnSelect:!1,hasCreatePermission:J,createPermission:w,openRemoteCreate:x,closeMenuOnScroll:function(e){var t;return!(null!==(t=e.target.classList)&&void 0!==t&&t.contains("MenuList"))}}))})})}));const un=function(e){var t=e.id,n=e.immutable,r=e.value,o=e.options,i=o.trueLabel,a=o.falseLabel,c=e.onChange;return(0,N.jsx)(ln,{id:t,immutable:n,isMulti:!1,onChange:function(e){return c(e?e.key:null)},value:F()(r)?r:{key:r,display:r?i:a},openMenuOnClick:!0,options:[{key:!0,display:i},{key:!1,display:a}]})};var dn,pn=P.Ay.div.withConfig({displayName:"StyledBoolEdit"})(dn||(dn=A()(["\n margin: 5px 0;\n"])));const fn=function(e){return(0,N.jsx)(pn,{children:(0,N.jsx)("input",{type:"checkbox",checked:e.value||!1,name:e.name,onChange:function(t){e.onChange&&e.onChange(t.target.checked)},id:e.id,disabled:e.immutable})})};var mn,hn,gn=n(59182),yn=n(85431),vn=P.Ay.div.withConfig({displayName:"StyledOption"})(mn||(mn=A()(["\n display: flex;\n align-items: baseline;\n gap: ",";\n margin-block: ",";\n\n input {\n margin: 0;\n }\n"])),T.A.space(-1.5),T.A.space(-1)),bn=P.Ay.span.withConfig({displayName:"StyledLabel"})(hn||(hn=A()(["\n ","\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n align-items: center;\n"])),(0,yn.A)(),T.A.space(-1));function wn(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 xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var On={single:"radio",multiple:"checkbox"},kn={single:{checked:!1},multiple:{}},Sn=function(e,t){return t?(0,N.jsx)(gn.A,{value:e}):e},An=function(e){var t=e.groupName,n=e.id,r=e.label,o=e.labelComponent,i=e.checked,a=e.immutable,c=e.hideCheckbox,s=e.selectionType,l=e.renderHtmlInOptions,u=e.handleChange;return(0,N.jsxs)(vn,{children:[!c&&(0,N.jsx)("input",{name:t,type:On[s],checked:i||!1,onChange:u,id:n,disabled:a,"data-cy":"choice-answer-option-".concat(n)}),(0,N.jsx)(bn,{children:o||Sn(r,l)})]})};const En=function(e){var t=e.onChange,n=e.value,r=e.options,o=e.id,i=e.immutable,a=function(e){if(t){var o=n.options.map((function(t){return xn(xn({},t),t.id===e.target.id?{checked:e.target.checked}:kn[r.selectionType])}));t({options:o})}};return(0,N.jsx)(N.Fragment,{children:n.options.map((function(e){return(0,N.jsx)(An,{groupName:o,id:e.id,label:e.label,labelComponent:e.labelComponent,checked:e.checked,immutable:i||e.immutable,hideCheckbox:e.hideCheckbox,selectionType:r.selectionType,renderHtmlInOptions:r.renderHtmlInOptions,handleChange:a},e.id)}))})};var jn=n(96424);function Pn(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 Tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pn(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Cn=(0,q.lazy)((function(){return Promise.all([n.e(6528),n.e(3722)]).then(n.bind(n,65066))}));const Dn=function(e){return(0,N.jsx)(q.Suspense,{fallback:(t=e.value,(0,N.jsx)("div",{children:(0,N.jsx)("p",{children:t})})),children:(0,N.jsx)(Cn,Tn({},e))});var t};var _n,Nn=P.Ay.div.withConfig({displayName:"StyledEditorWrapper"})(_n||(_n=A()(["\n margin-top: ",";\n"])),T.A.space(-1.5));const In=(0,P.SL)(jn.A.Debouncer((function(e){var t=e.value,n=e.onChange,r=e.immutable,o=e.options,i=e.id,a=e.theme;return(0,N.jsx)(Nn,{children:(0,N.jsx)(Dn,{value:t,id:i,onChange:n,autoFocusOnMount:o.autoFocusOnMount,mode:o.mode,theme:a.codeEditorTheme,showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:r,wrap:!0,indentedSoftWrap:!1},implicitModel:o.implicitModel})})})));var Rn=n(6442),Mn=n(81792),Ln=n(39892),Fn=n.n(Ln),Hn=n(85072),zn=n.n(Hn),Bn=n(97825),Un=n.n(Bn),Wn=n(77659),Vn=n.n(Wn),qn=n(55056),Yn=n.n(qn),$n=n(10540),Jn=n.n($n),Gn=n(41113),Kn=n.n(Gn),Qn=n(2063),Xn={};Xn.styleTagTransform=Kn(),Xn.setAttributes=Yn(),Xn.insert=Vn().bind(null,"head"),Xn.domAPI=Un(),Xn.insertStyleElement=Jn();zn()(Qn.A,Xn);Qn.A&&Qn.A.locals&&Qn.A.locals;function Zn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Zn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function er(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Zn(e))&&(r&&(r+=" "),r+=t);return r}var tr=n(61501),nr=n(43329),rr=n(29407);function or(e,t){const n=()=>(0,nr.w)(t?.in,NaN),r=t?.additionalDigits??2,o=function(e){const t={},n=e.split(ir.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],ir.timeZoneDelimiter.test(t.date)&&(t.date=e.split(ir.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=ir.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let i;if(o.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,r);i=function(e,t){if(null===t)return new Date(NaN);const n=e.match(ar);if(!n)return new Date(NaN);const r=!!n[4],o=lr(n[1]),i=lr(n[2])-1,a=lr(n[3]),c=lr(n[4]),s=lr(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,c,s)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,c,s):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(dr[t]||(pr(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(pr(e)?366:365)}(t,o)?(e.setUTCFullYear(t,i,Math.max(o,a)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!i||isNaN(+i))return n();const a=+i;let c,s=0;if(o.time&&(s=function(e){const t=e.match(cr);if(!t)return NaN;const n=ur(t[1]),r=ur(t[2]),o=ur(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*tr.s0+r*tr.Cg+1e3*o}(o.time),isNaN(s)))return n();if(!o.timezone){const e=new Date(a+s),n=(0,rr.a)(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return c=function(e){if("Z"===e)return 0;const t=e.match(sr);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*tr.s0+o*tr.Cg)}(o.timezone),isNaN(c)?n():(0,rr.a)(a+s+c,t?.in)}const ir={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ar=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,cr=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,sr=/^([+-])(\d{2})(?::?(\d{2}))?$/;function lr(e){return e?parseInt(e):1}function ur(e){return e&&parseFloat(e.replace(",","."))||0}const dr=[31,null,31,30,31,30,31,31,30,31,30,31];function pr(e){return e%400==0||e%4==0&&e%100!=0}var fr=n(48854),mr=n(32370);function hr(e,t){return+(0,rr.a)(e)<+(0,rr.a)(t)}var gr=n(85577),yr=n(14533),vr=n(74279),br=n(81007),wr=n(72794),xr=n(6463),Or=n(80337);function kr(e,t){const n=(0,rr.a)(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}var Sr=n(70228);function Ar(e,t){const n=(0,rr.a)(e,t?.in),r=n.getMonth(),o=r-r%3;return n.setMonth(o,1),n.setHours(0,0,0,0),n}function Er(e,t){const n=(0,rr.a)(e,t?.in);return n.setHours(23,59,59,999),n}var jr=n(92516);function Pr(e,t){const n=(0,jr.q)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,rr.a)(e,t?.in),i=o.getDay(),a=6+(i<r?-7:0)-(i-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}function Tr(e,t){const n=(0,rr.a)(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}var Cr=n(5305);function Dr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return r.getFullYear()===o.getFullYear()}function _r(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function Nr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return+Ar(r)==+Ar(o)}function Ir(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return+(0,xr.o)(r)==+(0,xr.o)(o)}function Rr(e,t){return+(0,rr.a)(e)==+(0,rr.a)(t)}function Mr(e,t,n){const r=+(0,rr.a)(e,n?.in),[o,i]=[+(0,rr.a)(t.start,n?.in),+(0,rr.a)(t.end,n?.in)].sort(((e,t)=>e-t));return r>=o&&r<=i}function Lr(e,t){const n=(0,rr.a)(e,t?.in),r=n.getFullYear(),o=n.getMonth(),i=(0,nr.w)(n,0);return i.setFullYear(r,o+1,0),i.setHours(0,0,0,0),i.getDate()}function Fr(e,t,n){const r=(0,rr.a)(e,n?.in),o=r.getFullYear(),i=r.getDate(),a=(0,nr.w)(n?.in||e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const c=Lr(a);return r.setMonth(t,Math.min(i,c)),r}function Hr(e,t,n){const r=(0,rr.a)(e,n?.in),o=t-(Math.trunc(r.getMonth()/3)+1);return Fr(r,r.getMonth()+3*o)}function zr(e,t){return(0,rr.a)(e,t?.in).getFullYear()}function Br(e,t){return(0,rr.a)(e,t?.in).getMonth()}function Ur(e,t){const n=(0,rr.a)(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Wr(e,t){const n=(0,rr.a)(e,t?.in);return Math.trunc(n.getMonth()/3)+1}var Vr=n(2831),qr=n(40337),Yr=n(4155);function $r(e){return(0,rr.a)(e).getSeconds()}function Jr(e,t,n){const r=(0,rr.a)(e,n?.in);if(isNaN(t))return(0,nr.w)(n?.in||e,NaN);if(!t)return r;const o=r.getDate(),i=(0,nr.w)(n?.in||e,r.getTime());i.setMonth(r.getMonth()+t+1,0);return o>=i.getDate()?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}function Gr(e,t,n){return Jr(e,-t,n)}function Kr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}function Qr(e,t,n){return Jr(e,3*t,n)}function Xr(e,t,n){return Qr(e,-t,n)}function Zr(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return 4*(r.getFullYear()-o.getFullYear())+(Wr(r)-Wr(o))}function eo(e,t,n){return Jr(e,12*t,n)}function to(e,t,n){return eo(e,-t,n)}function no(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t);return r.getFullYear()-o.getFullYear()}function ro(e,t){let n,r=t?.in;return e.forEach((e=>{r||"object"!=typeof e||(r=nr.w.bind(null,e));const t=(0,rr.a)(e,r);(!n||n>t||isNaN(+t))&&(n=t)})),(0,nr.w)(r,n||NaN)}function oo(e,t){let n,r=t?.in;return e.forEach((e=>{r||"object"!=typeof e||(r=nr.w.bind(null,e));const t=(0,rr.a)(e,r);(!n||n<t||isNaN(+t))&&(n=t)})),(0,nr.w)(r,n||NaN)}var io=n(80658);function ao(e,t,n){return(0,nr.w)(n?.in||e,+(0,rr.a)(e)+t)}function co(e,t,n){return ao(e,t*tr.s0,n)}function so(e,t,n){const r=(0,rr.a)(e,n?.in);return r.setTime(r.getTime()+t*tr.Cg),r}function lo(e,t,n){return ao(e,1e3*t,n)}function uo(e,t){return+(0,rr.a)(e)>+(0,rr.a)(t)}function po(e,t){return(0,rr.a)(e,t?.in).getDay()}function fo(e,t){return(0,rr.a)(e,t?.in).getDate()}var mo=n(16172);function ho(e,t,n){return(0,mo.f)(e,7*t,n)}function go(e){return+(0,rr.a)(e)}function yo(e,t,n){const r=(0,rr.a)(e,n?.in);return isNaN(+r)?(0,nr.w)(n?.in||e,NaN):(r.setFullYear(t),r)}function vo(e,t,n){const[r,o]=(0,Cr.x)(n?.in,e,t),i=bo(r,o),a=Math.abs((0,Vr.m)(r,o));r.setDate(r.getDate()-i*a);const c=i*(a-Number(bo(r,o)===-i));return 0===c?0:c}function bo(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function wo(e,t,n){return ho(e,-t,n)}function xo(e,t,n){return(0,mo.f)(e,-t,n)}function Oo(){return"undefined"!=typeof window}function ko(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function So(e){return!!Oo()&&(e instanceof Element||e instanceof ko(e).Element)}function Ao(e){return ko(e).getComputedStyle(e)}const Eo=Math.min,jo=Math.max,Po=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),To={start:"end",end:"start"};function Co(e,t){return"function"==typeof e?e(t):e}function Do(e){return e.split("-")[0]}function _o(e){return e.split("-")[1]}function No(e){return"y"===e?"height":"width"}function Io(e){return["top","bottom"].includes(Do(e))?"y":"x"}function Ro(e){return"x"===Io(e)?"y":"x"}function Mo(e){return e.replace(/start|end/g,(e=>To[e]))}function Lo(e){return e.replace(/left|right|bottom|top/g,(e=>Po[e]))}function Fo(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Ho(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function zo(e,t,n){let{reference:r,floating:o}=e;const i=Io(t),a=Ro(t),c=No(a),s=Do(t),l="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[c]/2-o[c]/2;let f;switch(s){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(_o(t)){case"start":f[a]-=p*(n&&l?-1:1);break;case"end":f[a]+=p*(n&&l?-1:1)}return f}async function Bo(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Co(t,e),m=Fo(f),h=c[p?"floating"===d?"reference":"floating":d],g=Ho(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:l,rootBoundary:u,strategy:s})),y="floating"===d?{...a.floating,x:r,y:o}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=Ho(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:s}):y);return{top:(g.top-w.top+m.top)/b.y,bottom:(w.bottom-g.bottom+m.bottom)/b.y,left:(g.left-w.left+m.left)/b.x,right:(w.right-g.right+m.right)/b.x}}const Uo=Math.min,Wo=Math.max,Vo=Math.round,qo=Math.floor,Yo=e=>({x:e,y:e});function $o(e){return Ko(e)?(e.nodeName||"").toLowerCase():"#document"}function Jo(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Go(e){var t;return null==(t=(Ko(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ko(e){return e instanceof Node||e instanceof Jo(e).Node}function Qo(e){return e instanceof Element||e instanceof Jo(e).Element}function Xo(e){return e instanceof HTMLElement||e instanceof Jo(e).HTMLElement}function Zo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Jo(e).ShadowRoot)}function ei(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ai(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ti(e){return["table","td","th"].includes($o(e))}function ni(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function ri(e){const t=oi(),n=Qo(e)?ai(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function oi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ii(e){return["html","body","#document"].includes($o(e))}function ai(e){return Jo(e).getComputedStyle(e)}function ci(e){return Qo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function si(e){if("html"===$o(e))return e;const t=e.assignedSlot||e.parentNode||Zo(e)&&e.host||Go(e);return Zo(t)?t.host:t}function li(e){const t=si(e);return ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xo(t)&&ei(t)?t:li(t)}function ui(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=li(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Jo(o);return i?t.concat(a,a.visualViewport||[],ei(o)?o:[],a.frameElement&&n?ui(a.frameElement):[]):t.concat(o,ui(o,[],n))}function di(e){const t=ai(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Xo(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=Vo(n)!==i||Vo(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function pi(e){return Qo(e)?e:e.contextElement}function fi(e){const t=pi(e);if(!Xo(t))return Yo(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=di(t);let a=(i?Vo(n.width):n.width)/r,c=(i?Vo(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const mi=Yo(0);function hi(e){const t=Jo(e);return oi()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:mi}function gi(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=pi(e);let a=Yo(1);t&&(r?Qo(r)&&(a=fi(r)):a=fi(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Jo(e))&&t}(i,n,r)?hi(i):Yo(0);let s=(o.left+c.x)/a.x,l=(o.top+c.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Jo(i),t=r&&Qo(r)?Jo(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=fi(o),t=o.getBoundingClientRect(),r=ai(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,l*=e.y,u*=e.x,d*=e.y,s+=i,l+=a,n=Jo(o),o=n.frameElement}}return Ho({width:u,height:d,x:s,y:l})}function yi(e){return gi(Go(e)).left+ci(e).scrollLeft}function vi(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Jo(e),r=Go(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,s=0;if(o){i=o.width,a=o.height;const e=oi();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:c,y:s}}(e,n);else if("document"===t)r=function(e){const t=Go(e),n=ci(e),r=e.ownerDocument.body,o=Wo(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Wo(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+yi(e);const c=-n.scrollTop;return"rtl"===ai(r).direction&&(a+=Wo(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}(Go(e));else if(Qo(t))r=function(e,t){const n=gi(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Xo(e)?fi(e):Yo(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=hi(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Ho(r)}function bi(e,t){const n=si(e);return!(n===t||!Qo(n)||ii(n))&&("fixed"===ai(n).position||bi(n,t))}function wi(e,t,n){const r=Xo(t),o=Go(t),i="fixed"===n,a=gi(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const s=Yo(0);if(r||!r&&!i)if(("body"!==$o(t)||ei(o))&&(c=ci(t)),r){const e=gi(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=yi(o));return{x:a.left+c.scrollLeft-s.x,y:a.top+c.scrollTop-s.y,width:a.width,height:a.height}}function xi(e){return"static"===ai(e).position}function Oi(e,t){return Xo(e)&&"fixed"!==ai(e).position?t?t(e):e.offsetParent:null}function ki(e,t){const n=Jo(e);if(ni(e))return n;if(!Xo(e)){let t=si(e);for(;t&&!ii(t);){if(Qo(t)&&!xi(t))return t;t=si(t)}return n}let r=Oi(e,t);for(;r&&ti(r)&&xi(r);)r=Oi(r,t);return r&&ii(r)&&xi(r)&&!ri(r)?n:r||function(e){let t=si(e);for(;Xo(t)&&!ii(t);){if(ri(t))return t;if(ni(t))return null;t=si(t)}return null}(e)||n}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=Go(r),c=!!t&&ni(t.floating);if(r===a||c&&i)return n;let s={scrollLeft:0,scrollTop:0},l=Yo(1);const u=Yo(0),d=Xo(r);if((d||!d&&!i)&&(("body"!==$o(r)||ei(a))&&(s=ci(r)),Xo(r))){const e=gi(r);l=fi(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-s.scrollLeft*l.x+u.x,y:n.y*l.y-s.scrollTop*l.y+u.y}},getDocumentElement:Go,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ni(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ui(e,[],!1).filter((e=>Qo(e)&&"body"!==$o(e))),o=null;const i="fixed"===ai(e).position;let a=i?si(e):e;for(;Qo(a)&&!ii(a);){const t=ai(a),n=ri(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ei(a)&&!n&&bi(e,a))?r=r.filter((e=>e!==a)):o=t,a=si(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],c=i.reduce(((e,n)=>{const r=vi(t,n,o);return e.top=Wo(r.top,e.top),e.right=Uo(r.right,e.right),e.bottom=Uo(r.bottom,e.bottom),e.left=Wo(r.left,e.left),e}),vi(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ki,getElementRects:async function(e){const t=this.getOffsetParent||ki,n=this.getDimensions,r=await n(e.floating);return{reference:wi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=di(e);return{width:t,height:n}},getScale:fi,isElement:Qo,isRTL:function(e){return"rtl"===ai(e).direction}};function Ai(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,l=pi(e),u=o||i?[...l?ui(l):[],...ui(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=l&&c?function(e,t){let n,r=null;const o=Go(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),i();const{left:l,top:u,width:d,height:p}=e.getBoundingClientRect();if(c||t(),!d||!p)return;const f={rootMargin:-qo(u)+"px "+-qo(o.clientWidth-(l+d))+"px "+-qo(o.clientHeight-(u+p))+"px "+-qo(l)+"px",threshold:Wo(0,Uo(1,s))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==s){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(h,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,f)}r.observe(e)}(!0),i}(l,n):null;let p,f=-1,m=null;a&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),l&&!s&&m.observe(l),m.observe(t));let h=s?gi(e):null;return s&&function t(){const r=gi(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(p)}}const Ei=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:c}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Do(n),c=_o(n),s="y"===Io(n),l=["left","top"].includes(a)?-1:1,u=i&&s?-1:1,d=Co(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return c&&"number"==typeof m&&(f="end"===c?-1*m:m),s?{x:f*u,y:p*l}:{x:p*l,y:f*u}}(t,e);return a===(null==(n=c.offset)?void 0:n.placement)&&null!=(r=c.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},ji=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=Co(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=Do(o),v=Do(c)===c,b=await(null==s.isRTL?void 0:s.isRTL(l.floating)),w=p||(v||!h?[Lo(c)]:function(e){const t=Lo(e);return[Mo(e),t,Mo(t)]}(c));p||"none"===m||w.push(...function(e,t,n,r){const o=_o(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Do(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Mo)))),i}(c,h,m,b));const x=[c,...w],O=await Bo(t,g),k=[];let S=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&k.push(O[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=_o(e),o=Ro(e),i=No(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Lo(a)),[a,Lo(a)]}(o,a,b);k.push(O[e[0]],O[e[1]])}if(S=[...S,{placement:o,overflows:k}],!k.every((e=>e<=0))){var A,E;const e=((null==(A=i.flip)?void 0:A.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(E=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement;if(!n)switch(f){case"bestFit":{var j;const e=null==(j=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:j[0];e&&(n=e);break}case"initialPlacement":n=c}if(o!==n)return{reset:{placement:n}}}return{}}}},Pi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:c,middlewareData:s}=t,{element:l,padding:u=0}=Co(e,t)||{};if(null==l)return{};const d=Fo(u),p={x:n,y:r},f=Ro(o),m=No(f),h=await a.getDimensions(l),g="y"===f,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[f]-p[f]-i.floating[m],x=p[f]-i.reference[f],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l));let k=O?O[b]:0;k&&await(null==a.isElement?void 0:a.isElement(O))||(k=c.floating[b]||i.floating[m]);const S=w/2-x/2,A=k/2-h[m]/2-1,E=Eo(d[y],A),j=Eo(d[v],A),P=E,T=k-h[m]-j,C=k/2-h[m]/2+S,D=jo(P,Eo(C,T));const _=!s.arrow&&null!=_o(o)&&C!==D&&i.reference[m]/2-(C<P?E:j)-h[m]/2<0,N=_?C<P?C-P:C-T:0;return{[f]:p[f]+N,data:{[f]:D,centerOffset:C-D-N,..._&&{alignmentOffset:N}},reset:_}}}),Ti=(e,t,n)=>{const r=new Map,o={platform:Si,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=i.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=zo(l,r,s),p=r,f={},m=0;for(let n=0;n<c.length;n++){const{name:i,fn:h}=c[n],{x:g,y,data:v,reset:b}=await h({x:u,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,f={...f,[i]:{...f[i],...v}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=zo(l,p,s))),n=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:i})};var Ci="undefined"!=typeof document?q.useLayoutEffect:q.useEffect;function Di(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Di(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Di(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function _i(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ni(e,t){const n=_i(e);return Math.round(t*n)/n}function Ii(e){const t=q.useRef(e);return Ci((()=>{t.current=e})),t}const Ri=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Pi({element:n.current,padding:r}).fn(t):{}:n?Pi({element:n,padding:r}).fn(t):{};var o}}),Mi=(e,t)=>({...Ei(e),options:[e,t]}),Li=(e,t)=>({...ji(e),options:[e,t]}),Fi=(e,t)=>({...Ri(e),options:[e,t]});const Hi={...Y},zi=Hi.useInsertionEffect||(e=>e());function Bi(e){const t=q.useRef((()=>{0}));return zi((()=>{t.current=e})),q.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const Ui="ArrowUp",Wi="ArrowDown",Vi="ArrowLeft",qi="ArrowRight";var Yi="undefined"!=typeof document?q.useLayoutEffect:q.useEffect;const $i=[Vi,qi],Ji=[Ui,Wi];let Gi=!1,Ki=0;const Qi=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ki++;const Xi=Hi.useId||function(){const[e,t]=q.useState((()=>Gi?Qi():void 0));return Yi((()=>{null==e&&t(Qi())}),[]),q.useEffect((()=>{Gi=!0}),[]),e};const Zi=q.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:r},middlewareData:{arrow:o,shift:i}},width:a=14,height:c=7,tipRadius:s=0,strokeWidth:l=0,staticOffset:u,stroke:d,d:p,style:{transform:f,...m}={},...h}=e;const g=Xi(),[y,v]=q.useState(!1);if(Yi((()=>{if(!r)return;"rtl"===Ao(r).direction&&v(!0)}),[r]),!r)return null;const[b,w]=n.split("-"),x="top"===b||"bottom"===b;let O=u;(x&&null!=i&&i.x||!x&&null!=i&&i.y)&&(O=null);const k=2*l,S=k/2,A=a/2*(s/-8+1),E=c/2*s/4,j=!!p,P=O&&"end"===w?"bottom":"top";let T=O&&"end"===w?"right":"left";O&&y&&(T="end"===w?"left":"right");const C=null!=(null==o?void 0:o.x)?O||o.x:"",D=null!=(null==o?void 0:o.y)?O||o.y:"",_=p||"M0,0 H"+a+" L"+(a-A)+","+(c-E)+" Q"+a/2+","+c+" "+A+","+(c-E)+" Z",I={top:j?"rotate(180deg)":"",left:j?"rotate(90deg)":"rotate(-90deg)",bottom:j?"":"rotate(180deg)",right:j?"rotate(-90deg)":"rotate(90deg)"}[b];return(0,N.jsxs)("svg",{...h,"aria-hidden":!0,ref:t,width:j?a:a+k,height:a,viewBox:"0 0 "+a+" "+(c>a?c:a),style:{position:"absolute",pointerEvents:"none",[T]:C,[P]:D,[b]:x||j?"100%":"calc(100% - "+k/2+"px)",transform:[I,f].filter((e=>!!e)).join(" "),...m},children:[k>0&&(0,N.jsx)("path",{clipPath:"url(#"+g+")",fill:"none",stroke:d,strokeWidth:k+(p?0:1),d:_}),(0,N.jsx)("path",{stroke:k&&!p?h.fill:"none",d:_}),(0,N.jsx)("clipPath",{id:g,children:(0,N.jsx)("rect",{x:-S,y:S*(j?-1:1),width:a+k,height:a})})]})}));function ea(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const ta=q.createContext(null),na=q.createContext(null),ra=()=>{var e;return(null==(e=q.useContext(ta))?void 0:e.id)||null},oa=()=>q.useContext(na);function ia(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Xi(),i=q.useRef({}),[a]=q.useState((()=>ea())),c=null!=ra(),[s,l]=q.useState(r.reference),u=Bi(((e,t,r)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)})),d=q.useMemo((()=>({setPositionReference:l})),[]),p=q.useMemo((()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference})),[s,r.reference,r.floating]);return q.useMemo((()=>({dataRef:i,open:t,onOpenChange:u,elements:p,events:a,floatingId:o,refs:d})),[t,u,p,a,o,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=q.useState(null),[c,s]=q.useState(null),l=(null==o?void 0:o.domReference)||i,u=q.useRef(null),d=oa();Yi((()=>{l&&(u.current=l)}),[l]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:c=!0,whileElementsMounted:s,open:l}=e,[u,d]=q.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=q.useState(r);Di(p,r)||f(r);const[m,h]=q.useState(null),[g,y]=q.useState(null),v=q.useCallback((e=>{e!==O.current&&(O.current=e,h(e))}),[]),b=q.useCallback((e=>{e!==k.current&&(k.current=e,y(e))}),[]),w=i||m,x=a||g,O=q.useRef(null),k=q.useRef(null),S=q.useRef(u),A=null!=s,E=Ii(s),j=Ii(o),P=Ii(l),T=q.useCallback((()=>{if(!O.current||!k.current)return;const e={placement:t,strategy:n,middleware:p};j.current&&(e.platform=j.current),Ti(O.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};C.current&&!Di(S.current,t)&&(S.current=t,lt.flushSync((()=>{d(t)})))}))}),[p,t,n,j,P]);Ci((()=>{!1===l&&S.current.isPositioned&&(S.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[l]);const C=q.useRef(!1);Ci((()=>(C.current=!0,()=>{C.current=!1})),[]),Ci((()=>{if(w&&(O.current=w),x&&(k.current=x),w&&x){if(E.current)return E.current(w,x,T);T()}}),[w,x,T,E,A]);const D=q.useMemo((()=>({reference:O,floating:k,setReference:v,setFloating:b})),[v,b]),_=q.useMemo((()=>({reference:w,floating:x})),[w,x]),N=q.useMemo((()=>{const e={position:n,left:0,top:0};if(!_.floating)return e;const t=Ni(_.floating,u.x),r=Ni(_.floating,u.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",..._i(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,c,_.floating,u.x,u.y]);return q.useMemo((()=>({...u,update:T,refs:D,elements:_,floatingStyles:N})),[u,T,D,_,N])}({...e,elements:{...o,...c&&{reference:c}}}),f=q.useCallback((e=>{const t=So(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),p.refs.setReference(t)}),[p.refs]),m=q.useCallback((e=>{(So(e)||null===e)&&(u.current=e,a(e)),(So(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!So(e))&&p.refs.setReference(e)}),[p.refs]),h=q.useMemo((()=>({...p.refs,setReference:m,setPositionReference:f,domReference:u})),[p.refs,m,f]),g=q.useMemo((()=>({...p.elements,domReference:l})),[p.elements,l]),y=q.useMemo((()=>({...p,...r,refs:h,elements:g,nodeId:t})),[p,h,g,t,r]);return Yi((()=>{r.dataRef.current.floatingContext=y;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=y)})),q.useMemo((()=>({...p,context:y,refs:h,elements:g})),[p,h,g,y])}
52
52
  /*!
53
53
  react-datepicker v8.4.0
54
54
  https://github.com/Hacker0x01/react-datepicker
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tocco-widget-showcase",
3
- "version": "3.14.40",
3
+ "version": "3.14.41",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0+",
6
6
  "main": "dist/index.js",