@mmb-digital/design-system-web 0.1.136 → 0.1.138
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/dist/index.cjs.js +65 -65
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +14 -6
- package/dist/index.esm.js +98 -98
- package/dist/index.esm.js.map +1 -1
- package/dist/jest.config.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1579,7 +1579,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1579
1579
|
`,Af=t.div`
|
|
1580
1580
|
display: flex;
|
|
1581
1581
|
flex-direction: column;
|
|
1582
|
-
`;var Nf;exports.FieldRequirement=void 0,(Nf=exports.FieldRequirement||(exports.FieldRequirement={})).optional="optional",Nf.optionalWithoutLabelSuffix="optionalWithoutLabelSuffix",Nf.required="required";const Of=n=>{var r,o,i,a,s;const{children:l,controlMobileWidth:u="100%",controlWidth:c="100%",errorMessage:d,fieldRequirement:p=exports.FieldRequirement.required,hasError:h=!1,hintText:f,invalid:m=!1,label:g,labelSuffix:v,layout:b=exports.FieldWrapperLayout.vertical,name:y,note:x,successMessage:k,tooltip:w}=n,C=null!==(o=null!==(r=n.controlSectionWidth)&&void 0!==r?r:n.childrenWidth)&&void 0!==o?o:"100%",E=m||h||xo(d),{optionalLabelSuffix:I}=V(),S=null!=v?v:p===exports.FieldRequirement.optional?I:void 0,M=e.useMemo((()=>Ci.encode(Math.random().toString())),[]),_=null!==(a=null!==(i=n.controlId)&&void 0!==i?i:n.id)&&void 0!==a?a:`control-${M}`,T=null!==(s=n.labelId)&&void 0!==s?s:`label-${M}`,D=xo(d)||xo(k)?`validation-output-${M}`:void 0,L=t.useTheme(),N=A(n),O=P();return e.useEffect((()=>{null!=y&&O(y,g)}),[g,y,O]),e.createElement(Sf,{$layout:b},(xo(g)||xo(f))&&e.createElement(Mf,{$layout:b},xo(g)&&e.createElement(If,{colorScheme:N,hasError:E,id:_,label:g,labelId:T,suffix:S,tooltip:w}),xo(f)&&e.createElement(Tf,null,e.createElement(B,{color:L.colors.fg.neutral.subtle,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},f))),e.createElement(_f,{$width:C},e.createElement(Df,{$mobileWidth:u,$width:c},"function"==typeof l?l({describedBy:D,id:_,invalid:E,labelledBy:T,name:y,required:p===exports.FieldRequirement.required}):l),(xo(d)||xo(k)||xo(x))&&e.createElement(Lf,{$onlyNote:!xo(d)&&!xo(k)&&xo(x)},(xo(d)||xo(k))&&e.createElement(Af,{id:D},xo(d)&&e.createElement(B,{color:L.colors.fg.error,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},d),xo(k)&&e.createElement(B,{color:L.colors.fg.success,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},k)),xo(x)&&e.createElement(B,{color:L.colors.fg.neutral.subtle,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},x))))},Pf=t=>{var n;const r=e.forwardRef(((n,r)=>{const{childrenWidth:o,controlMobileWidth:i,controlSectionWidth:a,controlWidth:s,errorMessage:l,hasError:u,hintText:c,id:d,label:p,labelId:h,labelSuffix:f,layout:m,name:g,note:v,successMessage:b,tooltip:y}=n,x=ls(n,["childrenWidth","controlMobileWidth","controlSectionWidth","controlWidth","errorMessage","hasError","hintText","id","label","labelId","labelSuffix","layout","name","note","successMessage","tooltip"]),k=A(n);return e.createElement(Of,{childrenWidth:o,colorScheme:k,controlId:d,controlMobileWidth:i,controlSectionWidth:a,controlWidth:s,errorMessage:l,hasError:u,hintText:c,label:p,labelId:h,labelSuffix:f,layout:m,name:g,note:v,successMessage:b,tooltip:y},(n=>e.createElement(t,Object.assign({ref:r},n,x))))}));return r.displayName=`withFieldWrapper(${null!==(n=t.displayName)&&void 0!==n?n:t.name})`,r},Rf=e.forwardRef(((t,n)=>e.createElement(kf,Object.assign({ref:n,type:"email"},t))));Rf.displayName="EmailInputControl";const Vf=Pf(Rf);function Bf(e){return"string"==typeof e||e instanceof String}function $f(e){var t;return"object"==typeof e&&null!=e&&"Object"===(null==e||null==(t=e.constructor)?void 0:t.name)}function Wf(e,t){return Array.isArray(t)?Wf(e,((e,n)=>t.includes(n))):Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return t(o,r)&&(e[r]=o),e}),{})}const Ff="NONE",Hf="LEFT",jf="FORCE_LEFT",zf="RIGHT",Gf="FORCE_RIGHT";function Zf(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function Yf(e,t){if(t===e)return!0;const n=Array.isArray(t),r=Array.isArray(e);let o;if(n&&r){if(t.length!=e.length)return!1;for(o=0;o<t.length;o++)if(!Yf(t[o],e[o]))return!1;return!0}if(n!=r)return!1;if(t&&e&&"object"==typeof t&&"object"==typeof e){const n=t instanceof Date,r=e instanceof Date;if(n&&r)return t.getTime()==e.getTime();if(n!=r)return!1;const i=t instanceof RegExp,a=e instanceof RegExp;if(i&&a)return t.toString()==e.toString();if(i!=a)return!1;const s=Object.keys(t);for(o=0;o<s.length;o++)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=0;o<s.length;o++)if(!Yf(e[s[o]],t[s[o]]))return!1;return!0}return!(!t||!e||"function"!=typeof t||"function"!=typeof e)&&t.toString()===e.toString()}class Xf{constructor(e){for(Object.assign(this,e);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?Ff:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?Hf:zf}}function Uf(e,t){return new Uf.InputMask(e,t)}function Jf(e){if(null==e)throw new Error("mask property should be defined");return e instanceof RegExp?Uf.MaskedRegExp:Bf(e)?Uf.MaskedPattern:e===Date?Uf.MaskedDate:e===Number?Uf.MaskedNumber:Array.isArray(e)||e===Array?Uf.MaskedDynamic:Uf.Masked&&e.prototype instanceof Uf.Masked?e:Uf.Masked&&e instanceof Uf.Masked?e.constructor:e instanceof Function?Uf.MaskedFunction:(console.warn("Mask not found for mask",e),Uf.Masked)}function Qf(e){if(!e)throw new Error("Options in not defined");if(Uf.Masked){if(e.prototype instanceof Uf.Masked)return{mask:e};const{mask:t,...n}=e instanceof Uf.Masked?{mask:e}:$f(e)&&e.mask instanceof Uf.Masked?e:{};if(t){const e=t.mask;return{...Wf(t,((e,t)=>!t.startsWith("_"))),mask:t.constructor,_mask:e,...n}}}return $f(e)?{...e}:{mask:e}}function Kf(e){if(Uf.Masked&&e instanceof Uf.Masked)return e;const t=Qf(e),n=Jf(t.mask);if(!n)throw new Error("Masked class is not found for provided mask "+t.mask+", appropriate module needs to be imported manually before creating mask.");return t.mask===n&&delete t.mask,t._mask&&(t.mask=t._mask,delete t._mask),new n(t)}Uf.createMask=Kf;class qf{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return null!=e?e:this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return null!=e?e:this.value.length}select(e,t){if(null!=e&&null!=t&&(e!==this.selectionStart||t!==this.selectionEnd))try{this._unsafeSelect(e,t)}catch{}}get isActive(){return!1}}Uf.MaskElement=qf;class em extends qf{constructor(e){super(),this.input=e,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var e,t,n;return null!=(e=null==(t=(n=this.input).getRootNode)?void 0:t.call(n))?e:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(e){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",e.drop),this.input.addEventListener("click",e.click),this.input.addEventListener("focus",e.focus),this.input.addEventListener("blur",e.commit),this._handlers=e}_onKeydown(e){return this._handlers.redo&&(90===e.keyCode&&e.shiftKey&&(e.metaKey||e.ctrlKey)||89===e.keyCode&&e.ctrlKey)?(e.preventDefault(),this._handlers.redo(e)):this._handlers.undo&&90===e.keyCode&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),this._handlers.undo(e)):void(e.isComposing||this._handlers.selectionChange(e))}_onBeforeinput(e){return"historyUndo"===e.inputType&&this._handlers.undo?(e.preventDefault(),this._handlers.undo(e)):"historyRedo"===e.inputType&&this._handlers.redo?(e.preventDefault(),this._handlers.redo(e)):void 0}_onCompositionEnd(e){this._handlers.input(e)}_onInput(e){e.isComposing||this._handlers.input(e)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}Uf.HTMLMaskElement=em;class tm extends em{constructor(e){super(e),this.input=e}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,t){this.input.setSelectionRange(e,t)}get value(){return this.input.value}set value(e){this.input.value=e}}Uf.HTMLMaskElement=em;class nm extends em{get _unsafeSelectionStart(){const e=this.rootElement,t=e.getSelection&&e.getSelection(),n=t&&t.anchorOffset,r=t&&t.focusOffset;return null==r||null==n||n<r?n:r}get _unsafeSelectionEnd(){const e=this.rootElement,t=e.getSelection&&e.getSelection(),n=t&&t.anchorOffset,r=t&&t.focusOffset;return null==r||null==n||n>r?n:r}_unsafeSelect(e,t){if(!this.rootElement.createRange)return;const n=this.rootElement.createRange();n.setStart(this.input.firstChild||this.input,e),n.setEnd(this.input.lastChild||this.input,t);const r=this.rootElement,o=r.getSelection&&r.getSelection();o&&(o.removeAllRanges(),o.addRange(n))}get value(){return this.input.textContent||""}set value(e){this.input.textContent=e}}Uf.HTMLContenteditableMaskElement=nm;class rm{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(e){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(e),this.states.length>rm.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(e){return this.currentIndex=Math.min(Math.max(this.currentIndex+e,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}rm.MAX_LENGTH=100;Uf.InputMask=class{constructor(e,t){this.el=e instanceof qf?e:e.isContentEditable&&"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName?new nm(e):new tm(e),this.masked=Kf(t),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new rm,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(e){var t;return null==e||(null==(t=this.masked)?void 0:t.maskEquals(e))}get mask(){return this.masked.mask}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof Uf.Masked)&&this.masked.constructor===Jf(e))return void this.masked.updateOptions({mask:e});const t=e instanceof Uf.Masked?e:Kf({mask:e});t.unmaskedValue=this.masked.unmaskedValue,this.masked=t}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(e){this.rawInputValue!==e&&(this.masked.rawInputValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e,t){const n=this._listeners[e];n&&n.forEach((e=>e(t)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){this.el&&this.el.isActive&&(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(e){const t=this.masked.unmaskedValue,n=this.masked.value,r=this.masked.rawInputValue,o=this.displayValue,i=this.unmaskedValue!==t||this.value!==n||this._rawInputValue!==r;this._unmaskedValue=t,this._value=n,this._rawInputValue=r,this.el.value!==o&&(this.el.value=o),"auto"===e?this.alignCursor():null!=e&&(this.cursorPos=e),i&&this._fireChangeEvents(),this._historyChanging||!i&&!this.history.isEmpty||this.history.push({unmaskedValue:t,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(e){const{mask:t,...n}=e,r=!this.maskEquals(t),o=this.masked.optionsIsChanged(n);r&&(this.mask=t),o&&this.masked.updateOptions(n),(r||o)&&this.updateControl()}updateCursor(e){null!=e&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,Hf))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}off(e,t){if(!this._listeners[e])return this;if(!t)return delete this._listeners[e],this;const n=this._listeners[e].indexOf(t);return n>=0&&this._listeners[e].splice(n,1),this}_onInput(e){this._inputEvent=e,this._abortUpdateCursor();const t=new Xf({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),n=this.masked.rawInputValue,r=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection,{input:!0,raw:!0}).offset,o=n===this.masked.rawInputValue?t.removeDirection:Ff;let i=this.masked.nearestInputPos(t.startChangePos+r,o);o!==Ff&&(i=this.masked.nearestInputPos(i,Ff)),this.updateControl(i),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(e){e&&(this._historyChanging=!0,this.unmaskedValue=e.unmaskedValue,this.el.select(e.selection.start,e.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}};class om{static normalize(e){return Array.isArray(e)?e:[e,new om]}constructor(e){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},e)}aggregate(e){return this.inserted+=e.inserted,this.rawInserted+=e.rawInserted,this.tailShift+=e.tailShift,this.skip=this.skip||e.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return Boolean(this.rawInserted)||this.skip}equals(e){return this.inserted===e.inserted&&this.tailShift===e.tailShift&&this.rawInserted===e.rawInserted&&this.skip===e.skip}}Uf.ChangeDetails=om;class im{constructor(e,t,n){void 0===e&&(e=""),void 0===t&&(t=0),this.value=e,this.from=t,this.stop=n}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||null!=e&&this.from>=e)return"";const t=this.value[0];return this.value=this.value.slice(1),t}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class am{constructor(e){this._value="",this._update({...am.DEFAULTS,...e}),this._initialized=!0}updateOptions(e){this.optionsIsChanged(e)&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e,{input:!0})}resolve(e,t){void 0===t&&(t={input:!0}),this.reset(),this.append(e,t,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(e){this.resolve(e,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(e){this.format?this.value=this.format(e,this):this.unmaskedValue=String(e)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(e){this.resolve(e,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,t){return e}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),Math.min(this.displayValue.length,t-e)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this.displayValue.slice(e,t)}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new im(this.extractInput(e,t),e)}appendTail(e){return Bf(e)&&(e=new im(String(e))),e.appendTo(this)}_appendCharRaw(e,t){return e?(this._value+=e,new om({inserted:e,rawInserted:e})):new om}_appendChar(e,t,n){void 0===t&&(t={});const r=this.state;let o;if([e,o]=this.doPrepareChar(e,t),e&&(o=o.aggregate(this._appendCharRaw(e,t)),!o.rawInserted&&"pad"===this.autofix)){const n=this.state;this.state=r;let i=this.pad(t);const a=this._appendCharRaw(e,t);i=i.aggregate(a),a.rawInserted||i.equals(o)?o=i:this.state=n}if(o.inserted){let e,i=!1!==this.doValidate(t);if(i&&null!=n){const t=this.state;if(!0===this.overwrite){e=n.state;for(let e=0;e<o.rawInserted.length;++e)n.unshift(this.displayValue.length-o.tailShift)}let r=this.appendTail(n);if(i=r.rawInserted.length===n.toString().length,!(i&&r.inserted||"shift"!==this.overwrite)){this.state=t,e=n.state;for(let e=0;e<o.rawInserted.length;++e)n.shift();r=this.appendTail(n),i=r.rawInserted.length===n.toString().length}i&&r.inserted&&(this.state=t)}i||(o=new om,this.state=r,n&&e&&(n.state=e))}return o}_appendPlaceholder(){return new om}_appendEager(){return new om}append(e,t,n){if(!Bf(e))throw new Error("value should be string");const r=Bf(n)?new im(String(n)):n;let o;null!=t&&t.tail&&(t._beforeTailState=this.state),[e,o]=this.doPrepare(e,t);for(let n=0;n<e.length;++n){const i=this._appendChar(e[n],t,r);if(!i.rawInserted&&!this.doSkipInvalid(e[n],t,r))break;o.aggregate(i)}return(!0===this.eager||"append"===this.eager)&&null!=t&&t.input&&e&&o.aggregate(this._appendEager()),null!=r&&(o.tailShift+=this.appendTail(r).tailShift),o}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this._value=this.displayValue.slice(0,e)+this.displayValue.slice(t),new om}withValueRefresh(e){if(this._refreshing||!this._initialized)return e();this._refreshing=!0;const t=this.rawInputValue,n=this.value,r=e();return this.rawInputValue=t,this.value&&this.value!==n&&0===n.indexOf(this.value)&&(this.append(n.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,r}runIsolated(e){if(this._isolated||!this._initialized)return e(this);this._isolated=!0;const t=this.state,n=e(this);return this.state=t,delete this._isolated,n}doSkipInvalid(e,t,n){return Boolean(this.skipInvalid)}doPrepare(e,t){return void 0===t&&(t={}),om.normalize(this.prepare?this.prepare(e,this,t):e)}doPrepareChar(e,t){return void 0===t&&(t={}),om.normalize(this.prepareChar?this.prepareChar(e,this,t):e)}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}splice(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=Ff),void 0===o&&(o={input:!0});const i=e+t,a=this.extractTail(i),s=!0===this.eager||"remove"===this.eager;let l;s&&(r=function(e){switch(e){case Hf:return jf;case zf:return Gf;default:return e}}(r),l=this.extractInput(0,i,{raw:!0}));let u=e;const c=new om;if(r!==Ff&&(u=this.nearestInputPos(e,t>1&&0!==e&&!s?Ff:r),c.tailShift=u-e),c.aggregate(this.remove(u)),s&&r!==Ff&&l===this.rawInputValue)if(r===jf){let e;for(;l===this.rawInputValue&&(e=this.displayValue.length);)c.aggregate(new om({tailShift:-1})).aggregate(this.remove(e-1))}else r===Gf&&a.unshift();return c.aggregate(this.append(n,o,a))}maskEquals(e){return this.mask===e}optionsIsChanged(e){return!Yf(this,e)}typedValueEquals(e){const t=this.typedValue;return e===t||am.EMPTY_VALUES.includes(e)&&am.EMPTY_VALUES.includes(t)||!!this.format&&this.format(e,this)===this.format(this.typedValue,this)}pad(e){return new om}}am.DEFAULTS={skipInvalid:!0},am.EMPTY_VALUES=[void 0,null,""],Uf.Masked=am;class sm{constructor(e,t){void 0===e&&(e=[]),void 0===t&&(t=0),this.chunks=e,this.from=t}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;e=Bf(e)?new im(String(e)):e;const t=this.chunks[this.chunks.length-1],n=t&&(t.stop===e.stop||null==e.stop)&&e.from===t.from+t.toString().length;if(e instanceof im)n?t.extend(e.toString()):this.chunks.push(e);else if(e instanceof sm){if(null==e.stop){let t;for(;e.chunks.length&&null==e.chunks[0].stop;)t=e.chunks.shift(),t.from+=e.from,this.extend(t)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof Uf.MaskedPattern)){return new im(this.toString()).appendTo(e)}const t=new om;for(let n=0;n<this.chunks.length;++n){const r=this.chunks[n],o=e._mapPosToBlock(e.displayValue.length),i=r.stop;let a;if(null!=i&&(!o||o.index<=i)&&((r instanceof sm||e._stops.indexOf(i)>=0)&&t.aggregate(e._appendPlaceholder(i)),a=r instanceof sm&&e._blocks[i]),a){const n=a.appendTail(r);t.aggregate(n);const o=r.toString().slice(n.rawInserted.length);o&&t.aggregate(e.append(o,{tail:!0}))}else t.aggregate(e.append(r.toString(),{tail:!0}))}return t}get state(){return{chunks:this.chunks.map((e=>e.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:t,...n}=e;Object.assign(this,n),this.chunks=t.map((e=>{const t="chunks"in e?new sm:new im;return t.state=e,t}))}unshift(e){if(!this.chunks.length||null!=e&&this.from>=e)return"";const t=null!=e?e-this.from:e;let n=0;for(;n<this.chunks.length;){const e=this.chunks[n],r=e.unshift(t);if(e.toString()){if(!r)break;++n}else this.chunks.splice(n,1);if(r)return r}return""}shift(){if(!this.chunks.length)return"";let e=this.chunks.length-1;for(;0<=e;){const t=this.chunks[e],n=t.shift();if(t.toString()){if(!n)break;--e}else this.chunks.splice(e,1);if(n)return n}return""}}class lm{constructor(e,t){this.masked=e,this._log=[];const{offset:n,index:r}=e._mapPosToBlock(t)||(t<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=n,this.index=r,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(e){Object.assign(this,e)}pushState(){this._log.push(this.state)}popState(){const e=this._log.pop();return e&&(this.state=e),e}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(t=this.block)?void 0:t.displayValue.length)||0){var t;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(e())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,jf),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,Hf),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,Hf),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,Gf),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,Ff),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,Ff),!0}))}}class um{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._value=this._value.slice(0,e)+this._value.slice(t),this._value||(this._isRawInput=!1),new om}nearestInputPos(e,t){void 0===t&&(t=Ff);const n=this._value.length;switch(t){case Hf:case jf:return 0;default:return n}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._isRawInput?t-e:0}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),void 0===n&&(n={}),n.raw&&this._isRawInput&&this._value.slice(e,t)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new om;const n=!0===this.eager||"append"===this.eager,r=this.char===e&&(this.isUnmasking||t.input||t.raw)&&(!t.raw||!n)&&!t.tail,o=new om({inserted:this.char,rawInserted:r?this.char:""});return this._value=this.char,this._isRawInput=r&&(t.raw||t.input),o}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new om;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return new im("")}appendTail(e){return Bf(e)&&(e=new im(String(e))),e.appendTo(this)}append(e,t,n){const r=this._appendChar(e[0],t);return null!=n&&(r.tailShift+=this.appendTail(n).tailShift),r}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value,this._isRawInput=Boolean(e._rawInputValue)}pad(e){return this._appendPlaceholder()}}class cm{constructor(e){const{parent:t,isOptional:n,placeholderChar:r,displayChar:o,lazy:i,eager:a,...s}=e;this.masked=Kf(s),Object.assign(this,{parent:t,isOptional:n,placeholderChar:r,displayChar:o,lazy:i,eager:a})}reset(){this.isFilled=!1,this.masked.reset()}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),0===e&&t>=1?(this.isFilled=!1,this.masked.remove(e,t)):new om}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new om;const n=this.masked.state;let r=this.masked._appendChar(e,this.currentMaskFlags(t));return r.inserted&&!1===this.doValidate(t)&&(r=new om,this.masked.state=n),r.inserted||this.isOptional||this.lazy||t.input||(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this.isFilled=Boolean(r.inserted),r}append(e,t,n){return this.masked.append(e,this.currentMaskFlags(t),n)}_appendPlaceholder(){return this.isFilled||this.isOptional?new om:(this.isFilled=!0,new om({inserted:this.placeholderChar}))}_appendEager(){return new om}extractTail(e,t){return this.masked.extractTail(e,t)}appendTail(e){return this.masked.appendTail(e)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.masked.extractInput(e,t,n)}nearestInputPos(e,t){void 0===t&&(t=Ff);const n=this.value.length,r=Math.min(Math.max(e,0),n);switch(t){case Hf:case jf:return this.isComplete?r:0;case zf:case Gf:return this.isComplete?r:n;default:return r}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.value.slice(e,t).length}doValidate(e){return this.masked.doValidate(this.currentMaskFlags(e))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(e)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}currentMaskFlags(e){var t;return{...e,_beforeTailState:(null==e||null==(t=e._beforeTailState)?void 0:t.masked)||(null==e?void 0:e._beforeTailState)}}pad(e){return new om}}cm.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};Uf.MaskedRegExp=class extends am{updateOptions(e){super.updateOptions(e)}_update(e){const t=e.mask;t&&(e.validate=e=>e.search(t)>=0),super._update(e)}};class dm extends am{constructor(e){super({...dm.DEFAULTS,...e,definitions:Object.assign({},cm.DEFAULT_DEFINITIONS,null==e?void 0:e.definitions)})}updateOptions(e){super.updateOptions(e)}_update(e){e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const t=this.mask;if(!t||!e)return;let n=!1,r=!1;for(let o=0;o<t.length;++o){if(this.blocks){const e=t.slice(o),n=Object.keys(this.blocks).filter((t=>0===e.indexOf(t)));n.sort(((e,t)=>t.length-e.length));const r=n[0];if(r){const{expose:e,repeat:t,...n}=Qf(this.blocks[r]),i={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...n,repeat:t,parent:this},a=null!=t?new Uf.RepeatBlock(i):Kf(i);a&&(this._blocks.push(a),e&&(this.exposeBlock=a),this._maskedBlocks[r]||(this._maskedBlocks[r]=[]),this._maskedBlocks[r].push(this._blocks.length-1)),o+=r.length-1;continue}}let i=t[o],a=i in e;if(i===dm.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===i||"}"===i){n=!n;continue}if("["===i||"]"===i){r=!r;continue}if(i===dm.ESCAPE_CHAR){if(++o,i=t[o],!i)break;a=!1}const s=a?new cm({isOptional:r,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...Qf(e[i]),parent:this}):new um({char:i,eager:this.eager,isUnmasking:n});this._blocks.push(s)}}get state(){return{...super.state,_blocks:this._blocks.map((e=>e.state))}}set state(e){if(!e)return void this.reset();const{_blocks:t,...n}=e;this._blocks.forEach(((e,n)=>e.state=t[n])),super.state=n}reset(){super.reset(),this._blocks.forEach((e=>e.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((e=>e.isComplete))}get isFilled(){return this._blocks.every((e=>e.isFilled))}get isFixed(){return this._blocks.every((e=>e.isFixed))}get isOptional(){return this._blocks.every((e=>e.isOptional))}doCommit(){this._blocks.forEach((e=>e.doCommit())),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((e,t)=>e+t.unmaskedValue),"")}set unmaskedValue(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=e,this.appendTail(t),this.doCommit()}else super.unmaskedValue=e}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((e,t)=>e+t.value),"")}set value(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=e,this.appendTail(t),this.doCommit()}else super.value=e}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=e,this.appendTail(t),this.doCommit()}else super.typedValue=e}get displayValue(){return this._blocks.reduce(((e,t)=>e+t.displayValue),"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const t=new om;let n=null==(e=this._mapPosToBlock(this.displayValue.length))?void 0:e.index;if(null==n)return t;this._blocks[n].isFilled&&++n;for(let e=n;e<this._blocks.length;++e){const n=this._blocks[e]._appendEager();if(!n.inserted)break;t.aggregate(n)}return t}_appendCharRaw(e,t){void 0===t&&(t={});const n=this._mapPosToBlock(this.displayValue.length),r=new om;if(!n)return r;for(let i,a=n.index;i=this._blocks[a];++a){var o;const n=i._appendChar(e,{...t,_beforeTailState:null==(o=t._beforeTailState)||null==(o=o._blocks)?void 0:o[a]});if(r.aggregate(n),n.consumed)break}return r}extractTail(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const n=new sm;return e===t||this._forEachBlocksInRange(e,t,((e,t,r,o)=>{const i=e.extractTail(r,o);i.stop=this._findStopBefore(t),i.from=this._blockStartPos(t),i instanceof sm&&(i.blockIndex=t),n.extend(i)})),n}extractInput(e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),void 0===n&&(n={}),e===t)return"";let r="";return this._forEachBlocksInRange(e,t,((e,t,o,i)=>{r+=e.extractInput(o,i,n)})),r}_findStopBefore(e){let t;for(let n=0;n<this._stops.length;++n){const r=this._stops[n];if(!(r<=e))break;t=r}return t}_appendPlaceholder(e){const t=new om;if(this.lazy&&null==e)return t;const n=this._mapPosToBlock(this.displayValue.length);if(!n)return t;const r=n.index,o=null!=e?e:this._blocks.length;return this._blocks.slice(r,o).forEach((n=>{var r;n.lazy&&null==e||t.aggregate(n._appendPlaceholder(null==(r=n._blocks)?void 0:r.length))})),t}_mapPosToBlock(e){let t="";for(let n=0;n<this._blocks.length;++n){const r=this._blocks[n],o=t.length;if(t+=r.displayValue,e<=t.length)return{index:n,offset:e-o}}}_blockStartPos(e){return this._blocks.slice(0,e).reduce(((e,t)=>e+t.displayValue.length),0)}_forEachBlocksInRange(e,t,n){void 0===t&&(t=this.displayValue.length);const r=this._mapPosToBlock(e);if(r){const e=this._mapPosToBlock(t),o=e&&r.index===e.index,i=r.offset,a=e&&o?e.offset:this._blocks[r.index].displayValue.length;if(n(this._blocks[r.index],r.index,i,a),e&&!o){for(let t=r.index+1;t<e.index;++t)n(this._blocks[t],t,0,this._blocks[t].displayValue.length);n(this._blocks[e.index],e.index,0,e.offset)}}}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const n=super.remove(e,t);return this._forEachBlocksInRange(e,t,((e,t,r,o)=>{n.aggregate(e.remove(r,o))})),n}nearestInputPos(e,t){if(void 0===t&&(t=Ff),!this._blocks.length)return 0;const n=new lm(this,e);if(t===Ff)return n.pushRightBeforeInput()?n.pos:(n.popState(),n.pushLeftBeforeInput()?n.pos:this.displayValue.length);if(t===Hf||t===jf){if(t===Hf){if(n.pushRightBeforeFilled(),n.ok&&n.pos===e)return e;n.popState()}if(n.pushLeftBeforeInput(),n.pushLeftBeforeRequired(),n.pushLeftBeforeFilled(),t===Hf){if(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.ok&&n.pos<=e)return n.pos;if(n.popState(),n.ok&&n.pos<=e)return n.pos;n.popState()}return n.ok?n.pos:t===jf?0:(n.popState(),n.ok?n.pos:(n.popState(),n.ok?n.pos:0))}return t===zf||t===Gf?(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.pushRightBeforeFilled()?n.pos:t===Gf?this.displayValue.length:(n.popState(),n.ok?n.pos:(n.popState(),n.ok?n.pos:this.nearestInputPos(e,Hf)))):e}totalInputPositions(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let n=0;return this._forEachBlocksInRange(e,t,((e,t,r,o)=>{n+=e.totalInputPositions(r,o)})),n}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const t=this._maskedBlocks[e];return t?t.map((e=>this._blocks[e])):[]}pad(e){const t=new om;return this._forEachBlocksInRange(0,this.displayValue.length,(n=>t.aggregate(n.pad(e)))),t}}dm.DEFAULTS={...am.DEFAULTS,lazy:!0,placeholderChar:"_"},dm.STOP_CHAR="`",dm.ESCAPE_CHAR="\\",dm.InputDefinition=cm,dm.FixedDefinition=um,Uf.MaskedPattern=dm;class pm extends dm{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){const{to:t=this.to||0,from:n=this.from||0,maxLength:r=this.maxLength||0,autofix:o=this.autofix,...i}=e;this.to=t,this.from=n,this.maxLength=Math.max(String(t).length,r),this.autofix=o;const a=String(this.from).padStart(this.maxLength,"0"),s=String(this.to).padStart(this.maxLength,"0");let l=0;for(;l<s.length&&s[l]===a[l];)++l;i.mask=s.slice(0,l).replace(/0/g,"\\0")+"0".repeat(this.maxLength-l),super._update(i)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(e){let t="",n="";const[,r,o]=e.match(/^(\D*)(\d*)(\D*)/)||[];return o&&(t="0".repeat(r.length)+o,n="9".repeat(r.length)+o),t=t.padEnd(this.maxLength,"0"),n=n.padEnd(this.maxLength,"9"),[t,n]}doPrepareChar(e,t){let n;return void 0===t&&(t={}),[e,n]=super.doPrepareChar(e.replace(/\D/g,""),t),e||(n.skip=!this.isComplete),[e,n]}_appendCharRaw(e,t){if(void 0===t&&(t={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(e,t);const n=String(this.from).padStart(this.maxLength,"0"),r=String(this.to).padStart(this.maxLength,"0"),[o,i]=this.boundaries(this.value+e);return Number(i)<this.from?super._appendCharRaw(n[this.value.length],t):Number(o)>this.to?!t.tail&&"pad"===this.autofix&&this.value.length+1<this.maxLength?super._appendCharRaw(n[this.value.length],t).aggregate(this._appendCharRaw(e,t)):super._appendCharRaw(r[this.value.length],t):super._appendCharRaw(e,t)}doValidate(e){const t=this.value;if(-1===t.search(/[^0]/)&&t.length<=this._matchFrom)return!0;const[n,r]=this.boundaries(t);return this.from<=Number(r)&&Number(n)<=this.to&&super.doValidate(e)}pad(e){const t=new om;if(this.value.length===this.maxLength)return t;const n=this.value,r=this.maxLength-this.value.length;if(r){this.reset();for(let n=0;n<r;++n)t.aggregate(super._appendCharRaw("0",e));n.split("").forEach((e=>this._appendCharRaw(e)))}return t}}Uf.MaskedRange=pm;class hm extends dm{static extractPatternOptions(e){const{mask:t,pattern:n,...r}=e;return{...r,mask:Bf(t)?t:n}}constructor(e){super(hm.extractPatternOptions({...hm.DEFAULTS,...e}))}updateOptions(e){super.updateOptions(e)}_update(e){const{mask:t,pattern:n,blocks:r,...o}={...hm.DEFAULTS,...e},i=Object.assign({},hm.GET_DEFAULT_BLOCKS());e.min&&(i.Y.from=e.min.getFullYear()),e.max&&(i.Y.to=e.max.getFullYear()),e.min&&e.max&&i.Y.from===i.Y.to&&(i.m.from=e.min.getMonth()+1,i.m.to=e.max.getMonth()+1,i.m.from===i.m.to&&(i.d.from=e.min.getDate(),i.d.to=e.max.getDate())),Object.assign(i,this.blocks,r),super._update({...o,mask:Bf(t)?t:n,blocks:i})}doValidate(e){const t=this.date;return super.doValidate(e)&&(!this.isComplete||this.isDateExist(this.value)&&null!=t&&(null==this.min||this.min<=t)&&(null==this.max||t<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}optionsIsChanged(e){return super.optionsIsChanged(hm.extractPatternOptions(e))}}hm.GET_DEFAULT_BLOCKS=()=>({d:{mask:pm,from:1,to:31,maxLength:2},m:{mask:pm,from:1,to:12,maxLength:2},Y:{mask:pm,from:1900,to:9999}}),hm.DEFAULTS={...dm.DEFAULTS,mask:Date,pattern:"d{.}`m{.}`Y",format:(e,t)=>{if(!e)return"";return[String(e.getDate()).padStart(2,"0"),String(e.getMonth()+1).padStart(2,"0"),e.getFullYear()].join(".")},parse:(e,t)=>{const[n,r,o]=e.split(".").map(Number);return new Date(o,r-1,n)}},Uf.MaskedDate=hm;class fm extends am{constructor(e){super({...fm.DEFAULTS,...e}),this.currentMask=void 0}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),"mask"in e&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(e.mask)?e.mask.map((e=>{const{expose:t,...n}=Qf(e),r=Kf({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...n});return t&&(this.exposeMask=r),r})):[])}_appendCharRaw(e,t){void 0===t&&(t={});const n=this._applyDispatch(e,t);return this.currentMask&&n.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(t))),n}_applyDispatch(e,t,n){void 0===e&&(e=""),void 0===t&&(t={}),void 0===n&&(n="");const r=t.tail&&null!=t._beforeTailState?t._beforeTailState._value:this.value,o=this.rawInputValue,i=t.tail&&null!=t._beforeTailState?t._beforeTailState._rawInputValue:o,a=o.slice(i.length),s=this.currentMask,l=new om,u=null==s?void 0:s.state;return this.currentMask=this.doDispatch(e,{...t},n),this.currentMask&&(this.currentMask!==s?(this.currentMask.reset(),i&&(this.currentMask.append(i,{raw:!0}),l.tailShift=this.currentMask.value.length-r.length),a&&(l.tailShift+=this.currentMask.append(a,{raw:!0,tail:!0}).tailShift)):u&&(this.currentMask.state=u)),l}_appendPlaceholder(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const t=new om;return e&&t.aggregate(this._applyDispatch("",{},e)),t.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var t,n;return{...e,_beforeTailState:(null==(t=e._beforeTailState)?void 0:t.currentMaskRef)===this.currentMask&&(null==(n=e._beforeTailState)?void 0:n.currentMask)||e._beforeTailState}}doDispatch(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=""),this.dispatch(e,this,t,n)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e,t){void 0===t&&(t={});let[n,r]=super.doPrepare(e,t);if(this.currentMask){let e;[n,e]=super.doPrepare(n,this.currentMaskFlags(t)),r=r.aggregate(e)}return[n,r]}doPrepareChar(e,t){void 0===t&&(t={});let[n,r]=super.doPrepareChar(e,t);if(this.currentMask){let e;[n,e]=super.doPrepareChar(n,this.currentMaskFlags(t)),r=r.aggregate(e)}return[n,r]}reset(){var e;null==(e=this.currentMask)||e.reset(),this.compiledMasks.forEach((e=>e.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(e){this.exposeMask?(this.exposeMask.value=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=e}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){this.exposeMask?(this.exposeMask.unmaskedValue=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=e}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(e){if(this.exposeMask)return this.exposeMask.typedValue=e,this.currentMask=this.exposeMask,void this._applyDispatch();let t=String(e);this.currentMask&&(this.currentMask.typedValue=e,t=this.currentMask.unmaskedValue),this.unmaskedValue=t}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return Boolean(null==(e=this.currentMask)?void 0:e.isComplete)}get isFilled(){var e;return Boolean(null==(e=this.currentMask)?void 0:e.isFilled)}remove(e,t){const n=new om;return this.currentMask&&n.aggregate(this.currentMask.remove(e,t)).aggregate(this._applyDispatch()),n}get state(){var e;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((e=>e.state)),currentMaskRef:this.currentMask,currentMask:null==(e=this.currentMask)?void 0:e.state}}set state(e){const{compiledMasks:t,currentMaskRef:n,currentMask:r,...o}=e;t&&this.compiledMasks.forEach(((e,n)=>e.state=t[n])),null!=n&&(this.currentMask=n,this.currentMask.state=r),super.state=o}extractInput(e,t,n){return this.currentMask?this.currentMask.extractInput(e,t,n):""}extractTail(e,t){return this.currentMask?this.currentMask.extractTail(e,t):super.extractTail(e,t)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(e,t){return this.currentMask?this.currentMask.nearestInputPos(e,t):super.nearestInputPos(e,t)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(e){this._overwrite=e}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(e){this._eager=e}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(e){this._skipInvalid=e}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(e){this._autofix=e}maskEquals(e){return Array.isArray(e)?this.compiledMasks.every(((t,n)=>{if(!e[n])return;const{mask:r,...o}=e[n];return Yf(t,o)&&t.maskEquals(r)})):super.maskEquals(e)}typedValueEquals(e){var t;return Boolean(null==(t=this.currentMask)?void 0:t.typedValueEquals(e))}}fm.DEFAULTS={...am.DEFAULTS,dispatch:(e,t,n,r)=>{if(!t.compiledMasks.length)return;const o=t.rawInputValue,i=t.compiledMasks.map(((i,a)=>{const s=t.currentMask===i,l=s?i.displayValue.length:i.nearestInputPos(i.displayValue.length,jf);return i.rawInputValue!==o?(i.reset(),i.append(o,{raw:!0})):s||i.remove(l),i.append(e,t.currentMaskFlags(n)),i.appendTail(r),{index:a,weight:i.rawInputValue.length,totalInputPositions:i.totalInputPositions(0,Math.max(l,i.nearestInputPos(i.displayValue.length,jf)))}}));return i.sort(((e,t)=>t.weight-e.weight||t.totalInputPositions-e.totalInputPositions)),t.compiledMasks[i[0].index]}},Uf.MaskedDynamic=fm;class mm extends dm{constructor(e){super({...mm.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){const{enum:t,...n}=e;if(t){const e=t.map((e=>e.length)),r=Math.min(...e),o=Math.max(...e)-r;n.mask="*".repeat(r),o&&(n.mask+="["+"*".repeat(o)+"]"),this.enum=t}super._update(n)}_appendCharRaw(e,t){void 0===t&&(t={});const n=Math.min(this.nearestInputPos(0,Gf),this.value.length),r=this.enum.filter((t=>this.matchValue(t,this.unmaskedValue+e,n)));if(r.length){1===r.length&&this._forEachBlocksInRange(0,this.value.length,((e,n)=>{const o=r[0][n];n>=this.value.length||o===e.value||(e.reset(),e._appendChar(o,t))}));const e=super._appendCharRaw(r[0][this.value.length],t);return 1===r.length&&r[0].slice(this.unmaskedValue.length).split("").forEach((t=>e.aggregate(super._appendCharRaw(t)))),e}return new om({skip:!this.isComplete})}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new im("",e)}remove(e,t){if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),e===t)return new om;const n=Math.min(super.nearestInputPos(0,Gf),this.value.length);let r;for(r=e;r>=0;--r){const e=this.enum.filter((e=>this.matchValue(e,this.value.slice(n,r),n)));if(e.length>1)break}const o=super.remove(r,t);return o.tailShift+=r-e,o}get isComplete(){return this.enum.indexOf(this.value)>=0}}mm.DEFAULTS={...dm.DEFAULTS,matchValue:(e,t,n)=>e.indexOf(t,n)===n},Uf.MaskedEnum=mm;var gm;Uf.MaskedFunction=class extends am{updateOptions(e){super.updateOptions(e)}_update(e){super._update({...e,validate:e.mask})}};class vm extends am{constructor(e){super({...vm.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){const e="^"+(this.allowNegative?"[+|\\-]?":""),t=(this.scale?"("+Zf(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(e+"\\d*"+t),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(Zf).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(Zf(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const t=e.split(this.radix);return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),t.join(this.radix)}doPrepareChar(e,t){void 0===t&&(t={});const[n,r]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(t.input&&t.raw||!t.input&&!t.raw)?e.replace(this._mapToRadixRegExp,this.radix):e),t);return e&&!n&&(r.skip=!0),!n||this.allowPositive||this.value||"-"===n||r.aggregate(this._appendChar("-")),[n,r]}_separatorsCount(e,t){void 0===t&&(t=!1);let n=0;for(let r=0;r<e;++r)this._value.indexOf(this.thousandsSeparator,r)===r&&(++n,t&&(e+=this.thousandsSeparator.length));return n}_separatorsCountFromSlice(e){return void 0===e&&(e=this._value),this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t),this._removeThousandsSeparators(super.extractInput(e,t,n))}_appendCharRaw(e,t){void 0===t&&(t={});const n=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(n);this._value=this._removeThousandsSeparators(this.value);const o=this._value;this._value+=e;const i=this.number;let a,s=!isNaN(i),l=!1;if(s){let e;null!=this.min&&this.min<0&&this.number<this.min&&(e=this.min),null!=this.max&&this.max>0&&this.number>this.max&&(e=this.max),null!=e&&(this.autofix?(this._value=this.format(e,this).replace(vm.UNMASKED_RADIX,this.radix),l||(l=o===this._value&&!t.tail)):s=!1),s&&(s=Boolean(this._value.match(this._numberRegExp)))}s?a=new om({inserted:this._value.slice(o.length),rawInserted:l?"":e,skip:l}):(this._value=o,a=new om),this._value=this._insertThousandsSeparators(this._value);const u=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,c=this._separatorsCountFromSlice(u);return a.tailShift+=(c-r)*this.thousandsSeparator.length,a}_findSeparatorAround(e){if(this.thousandsSeparator){const t=e-this.thousandsSeparator.length+1,n=this.value.indexOf(this.thousandsSeparator,t);if(n<=e)return n}return-1}_adjustRangeWithSeparators(e,t){const n=this._findSeparatorAround(e);n>=0&&(e=n);const r=this._findSeparatorAround(t);return r>=0&&(t=r+this.thousandsSeparator.length),[e,t]}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t);const n=this.value.slice(0,e),r=this.value.slice(t),o=this._separatorsCount(n.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(n+r));const i=this._separatorsCountFromSlice(n);return new om({tailShift:(i-o)*this.thousandsSeparator.length})}nearestInputPos(e,t){if(!this.thousandsSeparator)return e;switch(t){case Ff:case Hf:case jf:{const n=this._findSeparatorAround(e-1);if(n>=0){const r=n+this.thousandsSeparator.length;if(e<r||this.value.length<=r||t===jf)return n}break}case zf:case Gf:{const t=this._findSeparatorAround(e);if(t>=0)return t+this.thousandsSeparator.length}}return e}doCommit(){if(this.value){const e=this.number;let t=e;null!=this.min&&(t=Math.max(t,this.min)),null!=this.max&&(t=Math.min(t,this.max)),t!==e&&(this.unmaskedValue=this.format(t,this));let n=this.value;this.normalizeZeros&&(n=this._normalizeZeros(n)),this.padFractionalZeros&&this.scale>0&&(n=this._padFractionalZeros(n)),this._value=n}super.doCommit()}_normalizeZeros(e){const t=this._removeThousandsSeparators(e).split(this.radix);return t[0]=t[0].replace(/^(\D*)(0*)(\d*)/,((e,t,n,r)=>t+r)),e.length&&!/\d$/.test(t[0])&&(t[0]=t[0]+"0"),t.length>1&&(t[1]=t[1].replace(/0*$/,""),t[1].length||(t.length=1)),this._insertThousandsSeparators(t.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const t=e.split(this.radix);return t.length<2&&t.push(""),t[1]=t[1].padEnd(this.scale,"0"),t.join(this.radix)}doSkipInvalid(e,t,n){void 0===t&&(t={});const r=0===this.scale&&e!==this.thousandsSeparator&&(e===this.radix||e===vm.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,t,n)&&!r}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,vm.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(e){this.rawInputValue=this.format(e,this).replace(vm.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(e){return(super.typedValueEquals(e)||vm.EMPTY_VALUES.includes(e)&&vm.EMPTY_VALUES.includes(this.typedValue))&&!(0===e&&""===this.value)}}gm=vm,vm.UNMASKED_RADIX=".",vm.EMPTY_VALUES=[...am.EMPTY_VALUES,0],vm.DEFAULTS={...am.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[gm.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:e=>e.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},Uf.MaskedNumber=vm;const bm={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function ym(e,t,n){void 0===t&&(t=bm.MASKED),void 0===n&&(n=bm.MASKED);const r=Kf(e);return e=>r.runIsolated((r=>(r[t]=e,r[n])))}Uf.PIPE_TYPE=bm,Uf.createPipe=ym,Uf.pipe=function(e,t,n,r){return ym(t,n,r)(e)};Uf.RepeatBlock=class extends dm{get repeatFrom(){var e;return null!=(e=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)?e:0}get repeatTo(){var e;return null!=(e=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)?e:1/0}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){var t,n,r;const{repeat:o,...i}=Qf(e);this._blockOpts=Object.assign({},this._blockOpts,i);const a=Kf(this._blockOpts);this.repeat=null!=(t=null!=(n=null!=o?o:a.repeat)?n:this.repeat)?t:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&(null==(r=this._blocks)?void 0:r.length)||0,this.repeatFrom)),blocks:{m:a},eager:a.eager,overwrite:a.overwrite,skipInvalid:a.skipInvalid,lazy:a.lazy,placeholderChar:a.placeholderChar,displayChar:a.displayChar})}_allocateBlock(e){return e<this._blocks.length?this._blocks[e]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(Kf(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(e,t){void 0===t&&(t={});const n=new om;for(let s,l,u=null!=(r=null==(o=this._mapPosToBlock(this.displayValue.length))?void 0:o.index)?r:Math.max(this._blocks.length-1,0);s=null!=(i=this._blocks[u])?i:l=!l&&this._allocateBlock(u);++u){var r,o,i,a;const c=s._appendChar(e,{...t,_beforeTailState:null==(a=t._beforeTailState)||null==(a=a._blocks)?void 0:a[u]});if(c.skip&&l){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(n.aggregate(c),c.consumed)break}return n}_trimEmptyTail(e,t){var n,r;void 0===e&&(e=0);const o=Math.max((null==(n=this._mapPosToBlock(e))?void 0:n.index)||0,this.repeatFrom,0);let i;null!=t&&(i=null==(r=this._mapPosToBlock(t))?void 0:r.index),null==i&&(i=this._blocks.length-1);let a=0;for(let e=i;o<=e&&!this._blocks[e].unmaskedValue;--e,++a);a&&(this._blocks.splice(i-a+1,a),this.mask=this.mask.slice(a))}reset(){super.reset(),this._trimEmptyTail()}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const n=super.remove(e,t);return this._trimEmptyTail(e,t),n}totalInputPositions(e,t){return void 0===e&&(e=0),null==t&&this.repeatTo===1/0?1/0:super.totalInputPositions(e,t)}get state(){return super.state}set state(e){this._blocks.length=e._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=e}};try{globalThis.IMask=Uf}catch{}const xm={mask:iu.oneOfType([iu.array,iu.func,iu.string,iu.instanceOf(RegExp),iu.oneOf([Date,Number,Uf.Masked]),iu.instanceOf(Uf.Masked)]),value:iu.any,unmask:iu.oneOfType([iu.bool,iu.oneOf(["typed"])]),prepare:iu.func,prepareChar:iu.func,validate:iu.func,commit:iu.func,overwrite:iu.oneOfType([iu.bool,iu.oneOf(["shift"])]),eager:iu.oneOfType([iu.bool,iu.oneOf(["append","remove"])]),skipInvalid:iu.bool,onAccept:iu.func,onComplete:iu.func,placeholderChar:iu.string,displayChar:iu.string,lazy:iu.bool,definitions:iu.object,blocks:iu.object,enum:iu.arrayOf(iu.string),maxLength:iu.number,from:iu.number,to:iu.number,pattern:iu.string,format:iu.func,parse:iu.func,autofix:iu.oneOfType([iu.bool,iu.oneOf(["pad"])]),radix:iu.string,thousandsSeparator:iu.string,mapToRadix:iu.arrayOf(iu.string),scale:iu.number,normalizeZeros:iu.bool,padFractionalZeros:iu.bool,min:iu.oneOfType([iu.number,iu.instanceOf(Date)]),max:iu.oneOfType([iu.number,iu.instanceOf(Date)]),dispatch:iu.func,inputRef:iu.oneOfType([iu.func,iu.shape({current:iu.object})])},km=Object.keys(xm).filter((e=>"value"!==e)),wm=["value","unmask","onAccept","onComplete","inputRef"],Cm=km.filter((e=>wm.indexOf(e)<0));const Em=function(t){var n;const r=(n=class extends e.Component{constructor(e){super(e),this._inputRef=this._inputRef.bind(this)}componentDidMount(){this.props.mask&&this.initMask()}componentDidUpdate(){const e=this.props,t=this._extractMaskOptionsFromProps(e);var n;t.mask?this.maskRef?(this.maskRef.updateOptions(t),"value"in e&&void 0!==e.value&&(this.maskValue=e.value)):this.initMask(t):(this.destroyMask(),"value"in e&&void 0!==e.value&&(null!=(n=this.element)&&n.isContentEditable&&"INPUT"!==this.element.tagName&&"TEXTAREA"!==this.element.tagName?this.element.textContent=e.value:this.element.value=e.value))}componentWillUnmount(){this.destroyMask()}_inputRef(e){this.element=e,this.props.inputRef&&(Object.prototype.hasOwnProperty.call(this.props.inputRef,"current")?this.props.inputRef.current=e:this.props.inputRef(e))}initMask(e){void 0===e&&(e=this._extractMaskOptionsFromProps(this.props)),this.maskRef=Uf(this.element,e).on("accept",this._onAccept.bind(this)).on("complete",this._onComplete.bind(this)),"value"in this.props&&void 0!==this.props.value&&(this.maskValue=this.props.value)}destroyMask(){this.maskRef&&(this.maskRef.destroy(),delete this.maskRef)}_extractMaskOptionsFromProps(e){const{...t}=e;return Object.keys(t).filter((e=>Cm.indexOf(e)<0)).forEach((e=>{delete t[e]})),t}_extractNonMaskProps(e){const{...t}=e;return km.forEach((e=>{"maxLength"!==e&&delete t[e]})),"defaultValue"in t||(t.defaultValue=e.mask?"":t.value),delete t.value,t}get maskValue(){return this.maskRef?"typed"===this.props.unmask?this.maskRef.typedValue:this.props.unmask?this.maskRef.unmaskedValue:this.maskRef.value:""}set maskValue(e){this.maskRef&&(e=null==e&&"typed"!==this.props.unmask?"":e,"typed"===this.props.unmask?this.maskRef.typedValue=e:this.props.unmask?this.maskRef.unmaskedValue=e:this.maskRef.value=e)}_onAccept(e){this.props.onAccept&&this.maskRef&&this.props.onAccept(this.maskValue,this.maskRef,e)}_onComplete(e){this.props.onComplete&&this.maskRef&&this.props.onComplete(this.maskValue,this.maskRef,e)}render(){return e.createElement(t,{...this._extractNonMaskProps(this.props),inputRef:this._inputRef})}},n.displayName=void 0,n.propTypes=void 0,n),o=t.displayName||t.name||"Component";return r.displayName="IMask("+o+")",r.propTypes=xm,e.forwardRef(((t,n)=>e.createElement(r,{...t,ref:n})))}((t=>{let{inputRef:n,...r}=t;return e.createElement("input",{...r,ref:n})}));e.forwardRef(((t,n)=>e.createElement(Em,{...t,ref:n})));const Im=e.forwardRef(((t,n)=>{const{maskOptions:r,onAccept:o,value:i}=t,a=ls(t,["maskOptions","onAccept","value"]),{ref:s,setUnmaskedValue:l}=function(t,n){let{onAccept:r,onComplete:o,ref:i=e.useRef(null),defaultValue:a,defaultUnmaskedValue:s,defaultTypedValue:l}=void 0===n?{}:n;const u=e.useRef(null),[c,d]=e.useState({}),[p,h]=e.useState(""),[f,m]=e.useState(""),[g,v]=e.useState(),b=e.useCallback((()=>{var e;null==(e=u.current)||e.destroy(),u.current=null}),[]),y=e.useCallback((()=>{const e=u.current;e&&(d({value:e.value,unmaskedValue:e.unmaskedValue,typedValue:e.typedValue}),v(e.typedValue),m(e.unmaskedValue),h(e.value))}),[]),x=e.useCallback((e=>{const t=u.current;t&&(y(),null==r||r(t.value,t,e))}),[r]),k=e.useCallback((e=>u.current&&(null==o?void 0:o(u.current.value,u.current,e))),[o]);return e.useEffect((()=>{const{value:e,...t}=c,n=u.current;n&&void 0!==p&&(e!==p&&(n.value=p,n.value!==p&&x()),d(t))}),[p]),e.useEffect((()=>{const{unmaskedValue:e,...t}=c,n=u.current;n&&void 0!==f&&(e!==f&&(n.unmaskedValue=f,n.unmaskedValue!==f&&x()),d(t))}),[f]),e.useEffect((()=>{const{typedValue:e,...t}=c,n=u.current;n&&void 0!==g&&(e!==g&&(n.typedValue=g,n.masked.typedValueEquals(g)||x()),d(t))}),[g]),e.useEffect((()=>{const e=i.current;if(!e||null==t||!t.mask)return b();const n=u.current;n?null==n||n.updateOptions(t):e&&null!=t&&t.mask&&(u.current=Uf(e,t),y(),void 0!==a&&h(a),void 0!==s&&m(s),void 0!==l&&v(l))}),[t,b,x]),e.useEffect((()=>{if(!u.current)return;const e=u.current;return e.on("accept",x),e.on("complete",k),()=>{e.off("accept",x),e.off("complete",k)}}),[x,k]),e.useEffect((()=>b),[b]),{ref:i,maskRef:u,value:p,setValue:h,unmaskedValue:f,setUnmaskedValue:m,typedValue:g,setTypedValue:v}}(r,{onAccept:(e,t)=>null==o?void 0:o(t.unmaskedValue,e)});e.useEffect((()=>{l(null!=i?i:"")}),[l,i]);const u=Mr([n,s]);return e.createElement(kf,Object.assign({},a,{ref:u}))}));Im.displayName="MaskedInputBase";const Sm=Pf(Im),Mm=t=>n=>{var o;const{options:i}=n,a=ls(n,["options"]),{control:s}=r.useFormContext(),{field:{onBlur:l,onChange:u,ref:c,value:d},fieldState:p}=r.useController({name:n.name,control:s,rules:i}),h=null===(o=p.error)||void 0===o?void 0:o.message,f=e.useCallback((()=>l()),[l]);return e.createElement(t,Object.assign({errorMessage:h,ref:c,value:d,onAccept:u,onBlur:f},a))},_m=Mm(Sm),Tm=e.forwardRef(((t,n)=>{const{allowNegative:r=!1,decimalPlaces:o=0,integerPlaces:i=15}=t,a=ls(t,["allowNegative","decimalPlaces","integerPlaces"]),s=e.useMemo((()=>{const e=Math.pow(10,i);return{mask:Number,scale:o,radix:",",mapToRadix:["."],thousandsSeparator:" ",max:e,min:r?-e:0}}),[r,o,i]);return e.createElement(Sm,Object.assign({maskOptions:s,ref:n},a))}));Tm.displayName="NumberInput";const Dm=Mm(Tm),Lm=e.forwardRef(((t,n)=>e.createElement(kf,Object.assign({ref:n,type:"tel"},t))));Lm.displayName="PhoneInputControl";const Am=Pf(Lm),Nm=new RegExp("^\\+?420"),Om={mask:"000 000 000",prepare:e=>e.replace(Nm,"")},Pm=e.forwardRef(((t,n)=>e.createElement(Sm,Object.assign({maskOptions:Om,prefix:"+420",ref:n},t))));Pm.displayName="PhoneInputNext";const Rm=Mm(Pm),Vm=e.forwardRef(((t,n)=>{const{buttonAction:r,buttonText:o}=t,i=ls(t,["buttonAction","buttonText"]),{hasError:a=!1,invalid:s=!1,size:l}=t,u=s||a;return e.createElement(kf,Object.assign({button:e.createElement(ko,{buttonStyle:exports.ButtonStyle.primary,disabled:u,size:l===exports.InputSize.xl?exports.ButtonSize.md:exports.ButtonSize.sm,type:exports.ButtonType.button,onClick:r},o),icon:e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.search}),ref:n,type:"text"},i))}));Vm.displayName="SearchInputControl";const Bm=Pf(Vm);var $m;exports.SliderInputRoundingType=void 0,($m=exports.SliderInputRoundingType||(exports.SliderInputRoundingType={})).ceilBySteps="ceilBySteps",$m.ceilToThousands="ceilToThousands",$m.floorBySteps="floorBySteps",$m.floorToThousands="floorToThousands",$m.roundBySteps="roundBySteps",$m.roundToThousands="roundToThousands";const Wm=t.div`
|
|
1582
|
+
`;var Nf;exports.FieldRequirement=void 0,(Nf=exports.FieldRequirement||(exports.FieldRequirement={})).optional="optional",Nf.optionalWithoutLabelSuffix="optionalWithoutLabelSuffix",Nf.required="required";const Of=n=>{var r,o,i,a,s;const{children:l,controlMobileWidth:u="100%",controlWidth:c="100%",errorMessage:d,fieldRequirement:p=exports.FieldRequirement.required,hasError:h=!1,hintText:f,invalid:m=!1,label:g,labelSuffix:v,layout:b=exports.FieldWrapperLayout.vertical,name:y,note:x,successMessage:k,tooltip:w}=n,C=null!==(o=null!==(r=n.controlSectionWidth)&&void 0!==r?r:n.childrenWidth)&&void 0!==o?o:"100%",E=m||h||xo(d),{optionalLabelSuffix:I}=V(),S=null!=v?v:p===exports.FieldRequirement.optional?I:void 0,M=e.useId(),_=null!==(a=null!==(i=n.controlId)&&void 0!==i?i:n.id)&&void 0!==a?a:`control-${M}`,T=null!==(s=n.labelId)&&void 0!==s?s:`label-${M}`,D=xo(d)||xo(k)?`validation-output-${M}`:"",L=t.useTheme(),N=A(n),O=P();return e.useEffect((()=>{null!=y&&O(y,g)}),[g,y,O]),e.createElement(Sf,{$layout:b},(xo(g)||xo(f))&&e.createElement(Mf,{$layout:b},xo(g)&&e.createElement(If,{colorScheme:N,hasError:E,id:_,label:g,labelId:T,suffix:S,tooltip:w}),xo(f)&&e.createElement(Tf,null,e.createElement(B,{color:L.colors.fg.neutral.subtle,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},f))),e.createElement(_f,{$width:C},e.createElement(Df,{$mobileWidth:u,$width:c},"function"==typeof l?l({describedBy:D,id:_,invalid:E,labelledBy:T,required:p===exports.FieldRequirement.required}):l),(xo(d)||xo(k)||xo(x))&&e.createElement(Lf,{$onlyNote:!xo(d)&&!xo(k)&&xo(x)},(xo(d)||xo(k))&&e.createElement(Af,{id:D},xo(d)&&e.createElement(B,{color:L.colors.fg.error,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},d),xo(k)&&e.createElement(B,{color:L.colors.fg.success,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},k)),xo(x)&&e.createElement(B,{color:L.colors.fg.neutral.subtle,colorScheme:N,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},x))))},Pf=e=>e.filter(Boolean).join(" "),Rf=t=>{var n;const r=e.forwardRef(((n,r)=>{const{childrenWidth:o,colorScheme:i,controlMobileWidth:a,controlSectionWidth:s,controlWidth:l,describedBy:u,errorMessage:c,fieldRequirement:d,hasError:p,hintText:h,id:f,invalid:m,label:g,labelId:v,labelledBy:b,labelSuffix:y,layout:x,mediaType:k,name:w,note:C,required:E,successMessage:I,tooltip:S}=n,M=ls(n,["childrenWidth","colorScheme","controlMobileWidth","controlSectionWidth","controlWidth","describedBy","errorMessage","fieldRequirement","hasError","hintText","id","invalid","label","labelId","labelledBy","labelSuffix","layout","mediaType","name","note","required","successMessage","tooltip"]);return e.createElement(Of,{childrenWidth:o,colorScheme:i,controlId:f,controlMobileWidth:a,controlSectionWidth:s,controlWidth:l,errorMessage:c,fieldRequirement:d,hasError:p,hintText:h,invalid:m,label:g,labelId:v,labelSuffix:y,layout:x,mediaType:k,name:w,note:C,successMessage:I,tooltip:S},(({describedBy:n,id:o,invalid:a,labelledBy:s,required:l})=>e.createElement(t,Object.assign({colorScheme:i,describedBy:Pf([u,n]),id:o,invalid:a,labelledBy:Pf([b,s]),mediaType:k,name:w,ref:r,required:null!=E?E:l},M))))}));return r.displayName=`withFieldWrapper(${null!==(n=t.displayName)&&void 0!==n?n:t.name})`,r},Vf=e.forwardRef(((t,n)=>e.createElement(kf,Object.assign({ref:n,type:"email"},t))));Vf.displayName="EmailInputControl";const Bf=Rf(Vf);function $f(e){return"string"==typeof e||e instanceof String}function Wf(e){var t;return"object"==typeof e&&null!=e&&"Object"===(null==e||null==(t=e.constructor)?void 0:t.name)}function Ff(e,t){return Array.isArray(t)?Ff(e,((e,n)=>t.includes(n))):Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return t(o,r)&&(e[r]=o),e}),{})}const Hf="NONE",jf="LEFT",zf="FORCE_LEFT",Gf="RIGHT",Zf="FORCE_RIGHT";function Yf(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function Xf(e,t){if(t===e)return!0;const n=Array.isArray(t),r=Array.isArray(e);let o;if(n&&r){if(t.length!=e.length)return!1;for(o=0;o<t.length;o++)if(!Xf(t[o],e[o]))return!1;return!0}if(n!=r)return!1;if(t&&e&&"object"==typeof t&&"object"==typeof e){const n=t instanceof Date,r=e instanceof Date;if(n&&r)return t.getTime()==e.getTime();if(n!=r)return!1;const i=t instanceof RegExp,a=e instanceof RegExp;if(i&&a)return t.toString()==e.toString();if(i!=a)return!1;const s=Object.keys(t);for(o=0;o<s.length;o++)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=0;o<s.length;o++)if(!Xf(e[s[o]],t[s[o]]))return!1;return!0}return!(!t||!e||"function"!=typeof t||"function"!=typeof e)&&t.toString()===e.toString()}class Uf{constructor(e){for(Object.assign(this,e);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?Hf:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?jf:Gf}}function Jf(e,t){return new Jf.InputMask(e,t)}function Qf(e){if(null==e)throw new Error("mask property should be defined");return e instanceof RegExp?Jf.MaskedRegExp:$f(e)?Jf.MaskedPattern:e===Date?Jf.MaskedDate:e===Number?Jf.MaskedNumber:Array.isArray(e)||e===Array?Jf.MaskedDynamic:Jf.Masked&&e.prototype instanceof Jf.Masked?e:Jf.Masked&&e instanceof Jf.Masked?e.constructor:e instanceof Function?Jf.MaskedFunction:(console.warn("Mask not found for mask",e),Jf.Masked)}function Kf(e){if(!e)throw new Error("Options in not defined");if(Jf.Masked){if(e.prototype instanceof Jf.Masked)return{mask:e};const{mask:t,...n}=e instanceof Jf.Masked?{mask:e}:Wf(e)&&e.mask instanceof Jf.Masked?e:{};if(t){const e=t.mask;return{...Ff(t,((e,t)=>!t.startsWith("_"))),mask:t.constructor,_mask:e,...n}}}return Wf(e)?{...e}:{mask:e}}function qf(e){if(Jf.Masked&&e instanceof Jf.Masked)return e;const t=Kf(e),n=Qf(t.mask);if(!n)throw new Error("Masked class is not found for provided mask "+t.mask+", appropriate module needs to be imported manually before creating mask.");return t.mask===n&&delete t.mask,t._mask&&(t.mask=t._mask,delete t._mask),new n(t)}Jf.createMask=qf;class em{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return null!=e?e:this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return null!=e?e:this.value.length}select(e,t){if(null!=e&&null!=t&&(e!==this.selectionStart||t!==this.selectionEnd))try{this._unsafeSelect(e,t)}catch{}}get isActive(){return!1}}Jf.MaskElement=em;class tm extends em{constructor(e){super(),this.input=e,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var e,t,n;return null!=(e=null==(t=(n=this.input).getRootNode)?void 0:t.call(n))?e:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(e){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",e.drop),this.input.addEventListener("click",e.click),this.input.addEventListener("focus",e.focus),this.input.addEventListener("blur",e.commit),this._handlers=e}_onKeydown(e){return this._handlers.redo&&(90===e.keyCode&&e.shiftKey&&(e.metaKey||e.ctrlKey)||89===e.keyCode&&e.ctrlKey)?(e.preventDefault(),this._handlers.redo(e)):this._handlers.undo&&90===e.keyCode&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),this._handlers.undo(e)):void(e.isComposing||this._handlers.selectionChange(e))}_onBeforeinput(e){return"historyUndo"===e.inputType&&this._handlers.undo?(e.preventDefault(),this._handlers.undo(e)):"historyRedo"===e.inputType&&this._handlers.redo?(e.preventDefault(),this._handlers.redo(e)):void 0}_onCompositionEnd(e){this._handlers.input(e)}_onInput(e){e.isComposing||this._handlers.input(e)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}Jf.HTMLMaskElement=tm;class nm extends tm{constructor(e){super(e),this.input=e}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,t){this.input.setSelectionRange(e,t)}get value(){return this.input.value}set value(e){this.input.value=e}}Jf.HTMLMaskElement=tm;class rm extends tm{get _unsafeSelectionStart(){const e=this.rootElement,t=e.getSelection&&e.getSelection(),n=t&&t.anchorOffset,r=t&&t.focusOffset;return null==r||null==n||n<r?n:r}get _unsafeSelectionEnd(){const e=this.rootElement,t=e.getSelection&&e.getSelection(),n=t&&t.anchorOffset,r=t&&t.focusOffset;return null==r||null==n||n>r?n:r}_unsafeSelect(e,t){if(!this.rootElement.createRange)return;const n=this.rootElement.createRange();n.setStart(this.input.firstChild||this.input,e),n.setEnd(this.input.lastChild||this.input,t);const r=this.rootElement,o=r.getSelection&&r.getSelection();o&&(o.removeAllRanges(),o.addRange(n))}get value(){return this.input.textContent||""}set value(e){this.input.textContent=e}}Jf.HTMLContenteditableMaskElement=rm;class om{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(e){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(e),this.states.length>om.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(e){return this.currentIndex=Math.min(Math.max(this.currentIndex+e,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}om.MAX_LENGTH=100;Jf.InputMask=class{constructor(e,t){this.el=e instanceof em?e:e.isContentEditable&&"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName?new rm(e):new nm(e),this.masked=qf(t),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new om,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(e){var t;return null==e||(null==(t=this.masked)?void 0:t.maskEquals(e))}get mask(){return this.masked.mask}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof Jf.Masked)&&this.masked.constructor===Qf(e))return void this.masked.updateOptions({mask:e});const t=e instanceof Jf.Masked?e:qf({mask:e});t.unmaskedValue=this.masked.unmaskedValue,this.masked=t}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(e){this.rawInputValue!==e&&(this.masked.rawInputValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e,t){const n=this._listeners[e];n&&n.forEach((e=>e(t)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){this.el&&this.el.isActive&&(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(e){const t=this.masked.unmaskedValue,n=this.masked.value,r=this.masked.rawInputValue,o=this.displayValue,i=this.unmaskedValue!==t||this.value!==n||this._rawInputValue!==r;this._unmaskedValue=t,this._value=n,this._rawInputValue=r,this.el.value!==o&&(this.el.value=o),"auto"===e?this.alignCursor():null!=e&&(this.cursorPos=e),i&&this._fireChangeEvents(),this._historyChanging||!i&&!this.history.isEmpty||this.history.push({unmaskedValue:t,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(e){const{mask:t,...n}=e,r=!this.maskEquals(t),o=this.masked.optionsIsChanged(n);r&&(this.mask=t),o&&this.masked.updateOptions(n),(r||o)&&this.updateControl()}updateCursor(e){null!=e&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,jf))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}off(e,t){if(!this._listeners[e])return this;if(!t)return delete this._listeners[e],this;const n=this._listeners[e].indexOf(t);return n>=0&&this._listeners[e].splice(n,1),this}_onInput(e){this._inputEvent=e,this._abortUpdateCursor();const t=new Uf({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),n=this.masked.rawInputValue,r=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection,{input:!0,raw:!0}).offset,o=n===this.masked.rawInputValue?t.removeDirection:Hf;let i=this.masked.nearestInputPos(t.startChangePos+r,o);o!==Hf&&(i=this.masked.nearestInputPos(i,Hf)),this.updateControl(i),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(e){e&&(this._historyChanging=!0,this.unmaskedValue=e.unmaskedValue,this.el.select(e.selection.start,e.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}};class im{static normalize(e){return Array.isArray(e)?e:[e,new im]}constructor(e){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},e)}aggregate(e){return this.inserted+=e.inserted,this.rawInserted+=e.rawInserted,this.tailShift+=e.tailShift,this.skip=this.skip||e.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return Boolean(this.rawInserted)||this.skip}equals(e){return this.inserted===e.inserted&&this.tailShift===e.tailShift&&this.rawInserted===e.rawInserted&&this.skip===e.skip}}Jf.ChangeDetails=im;class am{constructor(e,t,n){void 0===e&&(e=""),void 0===t&&(t=0),this.value=e,this.from=t,this.stop=n}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||null!=e&&this.from>=e)return"";const t=this.value[0];return this.value=this.value.slice(1),t}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class sm{constructor(e){this._value="",this._update({...sm.DEFAULTS,...e}),this._initialized=!0}updateOptions(e){this.optionsIsChanged(e)&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e,{input:!0})}resolve(e,t){void 0===t&&(t={input:!0}),this.reset(),this.append(e,t,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(e){this.resolve(e,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(e){this.format?this.value=this.format(e,this):this.unmaskedValue=String(e)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(e){this.resolve(e,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,t){return e}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),Math.min(this.displayValue.length,t-e)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this.displayValue.slice(e,t)}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new am(this.extractInput(e,t),e)}appendTail(e){return $f(e)&&(e=new am(String(e))),e.appendTo(this)}_appendCharRaw(e,t){return e?(this._value+=e,new im({inserted:e,rawInserted:e})):new im}_appendChar(e,t,n){void 0===t&&(t={});const r=this.state;let o;if([e,o]=this.doPrepareChar(e,t),e&&(o=o.aggregate(this._appendCharRaw(e,t)),!o.rawInserted&&"pad"===this.autofix)){const n=this.state;this.state=r;let i=this.pad(t);const a=this._appendCharRaw(e,t);i=i.aggregate(a),a.rawInserted||i.equals(o)?o=i:this.state=n}if(o.inserted){let e,i=!1!==this.doValidate(t);if(i&&null!=n){const t=this.state;if(!0===this.overwrite){e=n.state;for(let e=0;e<o.rawInserted.length;++e)n.unshift(this.displayValue.length-o.tailShift)}let r=this.appendTail(n);if(i=r.rawInserted.length===n.toString().length,!(i&&r.inserted||"shift"!==this.overwrite)){this.state=t,e=n.state;for(let e=0;e<o.rawInserted.length;++e)n.shift();r=this.appendTail(n),i=r.rawInserted.length===n.toString().length}i&&r.inserted&&(this.state=t)}i||(o=new im,this.state=r,n&&e&&(n.state=e))}return o}_appendPlaceholder(){return new im}_appendEager(){return new im}append(e,t,n){if(!$f(e))throw new Error("value should be string");const r=$f(n)?new am(String(n)):n;let o;null!=t&&t.tail&&(t._beforeTailState=this.state),[e,o]=this.doPrepare(e,t);for(let n=0;n<e.length;++n){const i=this._appendChar(e[n],t,r);if(!i.rawInserted&&!this.doSkipInvalid(e[n],t,r))break;o.aggregate(i)}return(!0===this.eager||"append"===this.eager)&&null!=t&&t.input&&e&&o.aggregate(this._appendEager()),null!=r&&(o.tailShift+=this.appendTail(r).tailShift),o}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this._value=this.displayValue.slice(0,e)+this.displayValue.slice(t),new im}withValueRefresh(e){if(this._refreshing||!this._initialized)return e();this._refreshing=!0;const t=this.rawInputValue,n=this.value,r=e();return this.rawInputValue=t,this.value&&this.value!==n&&0===n.indexOf(this.value)&&(this.append(n.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,r}runIsolated(e){if(this._isolated||!this._initialized)return e(this);this._isolated=!0;const t=this.state,n=e(this);return this.state=t,delete this._isolated,n}doSkipInvalid(e,t,n){return Boolean(this.skipInvalid)}doPrepare(e,t){return void 0===t&&(t={}),im.normalize(this.prepare?this.prepare(e,this,t):e)}doPrepareChar(e,t){return void 0===t&&(t={}),im.normalize(this.prepareChar?this.prepareChar(e,this,t):e)}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}splice(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=Hf),void 0===o&&(o={input:!0});const i=e+t,a=this.extractTail(i),s=!0===this.eager||"remove"===this.eager;let l;s&&(r=function(e){switch(e){case jf:return zf;case Gf:return Zf;default:return e}}(r),l=this.extractInput(0,i,{raw:!0}));let u=e;const c=new im;if(r!==Hf&&(u=this.nearestInputPos(e,t>1&&0!==e&&!s?Hf:r),c.tailShift=u-e),c.aggregate(this.remove(u)),s&&r!==Hf&&l===this.rawInputValue)if(r===zf){let e;for(;l===this.rawInputValue&&(e=this.displayValue.length);)c.aggregate(new im({tailShift:-1})).aggregate(this.remove(e-1))}else r===Zf&&a.unshift();return c.aggregate(this.append(n,o,a))}maskEquals(e){return this.mask===e}optionsIsChanged(e){return!Xf(this,e)}typedValueEquals(e){const t=this.typedValue;return e===t||sm.EMPTY_VALUES.includes(e)&&sm.EMPTY_VALUES.includes(t)||!!this.format&&this.format(e,this)===this.format(this.typedValue,this)}pad(e){return new im}}sm.DEFAULTS={skipInvalid:!0},sm.EMPTY_VALUES=[void 0,null,""],Jf.Masked=sm;class lm{constructor(e,t){void 0===e&&(e=[]),void 0===t&&(t=0),this.chunks=e,this.from=t}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;e=$f(e)?new am(String(e)):e;const t=this.chunks[this.chunks.length-1],n=t&&(t.stop===e.stop||null==e.stop)&&e.from===t.from+t.toString().length;if(e instanceof am)n?t.extend(e.toString()):this.chunks.push(e);else if(e instanceof lm){if(null==e.stop){let t;for(;e.chunks.length&&null==e.chunks[0].stop;)t=e.chunks.shift(),t.from+=e.from,this.extend(t)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof Jf.MaskedPattern)){return new am(this.toString()).appendTo(e)}const t=new im;for(let n=0;n<this.chunks.length;++n){const r=this.chunks[n],o=e._mapPosToBlock(e.displayValue.length),i=r.stop;let a;if(null!=i&&(!o||o.index<=i)&&((r instanceof lm||e._stops.indexOf(i)>=0)&&t.aggregate(e._appendPlaceholder(i)),a=r instanceof lm&&e._blocks[i]),a){const n=a.appendTail(r);t.aggregate(n);const o=r.toString().slice(n.rawInserted.length);o&&t.aggregate(e.append(o,{tail:!0}))}else t.aggregate(e.append(r.toString(),{tail:!0}))}return t}get state(){return{chunks:this.chunks.map((e=>e.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:t,...n}=e;Object.assign(this,n),this.chunks=t.map((e=>{const t="chunks"in e?new lm:new am;return t.state=e,t}))}unshift(e){if(!this.chunks.length||null!=e&&this.from>=e)return"";const t=null!=e?e-this.from:e;let n=0;for(;n<this.chunks.length;){const e=this.chunks[n],r=e.unshift(t);if(e.toString()){if(!r)break;++n}else this.chunks.splice(n,1);if(r)return r}return""}shift(){if(!this.chunks.length)return"";let e=this.chunks.length-1;for(;0<=e;){const t=this.chunks[e],n=t.shift();if(t.toString()){if(!n)break;--e}else this.chunks.splice(e,1);if(n)return n}return""}}class um{constructor(e,t){this.masked=e,this._log=[];const{offset:n,index:r}=e._mapPosToBlock(t)||(t<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=n,this.index=r,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(e){Object.assign(this,e)}pushState(){this._log.push(this.state)}popState(){const e=this._log.pop();return e&&(this.state=e),e}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(t=this.block)?void 0:t.displayValue.length)||0){var t;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(e())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,zf),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,jf),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,jf),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,Zf),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,Hf),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,Hf),!0}))}}class cm{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._value=this._value.slice(0,e)+this._value.slice(t),this._value||(this._isRawInput=!1),new im}nearestInputPos(e,t){void 0===t&&(t=Hf);const n=this._value.length;switch(t){case jf:case zf:return 0;default:return n}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._isRawInput?t-e:0}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),void 0===n&&(n={}),n.raw&&this._isRawInput&&this._value.slice(e,t)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new im;const n=!0===this.eager||"append"===this.eager,r=this.char===e&&(this.isUnmasking||t.input||t.raw)&&(!t.raw||!n)&&!t.tail,o=new im({inserted:this.char,rawInserted:r?this.char:""});return this._value=this.char,this._isRawInput=r&&(t.raw||t.input),o}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new im;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return new am("")}appendTail(e){return $f(e)&&(e=new am(String(e))),e.appendTo(this)}append(e,t,n){const r=this._appendChar(e[0],t);return null!=n&&(r.tailShift+=this.appendTail(n).tailShift),r}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value,this._isRawInput=Boolean(e._rawInputValue)}pad(e){return this._appendPlaceholder()}}class dm{constructor(e){const{parent:t,isOptional:n,placeholderChar:r,displayChar:o,lazy:i,eager:a,...s}=e;this.masked=qf(s),Object.assign(this,{parent:t,isOptional:n,placeholderChar:r,displayChar:o,lazy:i,eager:a})}reset(){this.isFilled=!1,this.masked.reset()}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),0===e&&t>=1?(this.isFilled=!1,this.masked.remove(e,t)):new im}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new im;const n=this.masked.state;let r=this.masked._appendChar(e,this.currentMaskFlags(t));return r.inserted&&!1===this.doValidate(t)&&(r=new im,this.masked.state=n),r.inserted||this.isOptional||this.lazy||t.input||(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this.isFilled=Boolean(r.inserted),r}append(e,t,n){return this.masked.append(e,this.currentMaskFlags(t),n)}_appendPlaceholder(){return this.isFilled||this.isOptional?new im:(this.isFilled=!0,new im({inserted:this.placeholderChar}))}_appendEager(){return new im}extractTail(e,t){return this.masked.extractTail(e,t)}appendTail(e){return this.masked.appendTail(e)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.masked.extractInput(e,t,n)}nearestInputPos(e,t){void 0===t&&(t=Hf);const n=this.value.length,r=Math.min(Math.max(e,0),n);switch(t){case jf:case zf:return this.isComplete?r:0;case Gf:case Zf:return this.isComplete?r:n;default:return r}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.value.slice(e,t).length}doValidate(e){return this.masked.doValidate(this.currentMaskFlags(e))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(e)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}currentMaskFlags(e){var t;return{...e,_beforeTailState:(null==e||null==(t=e._beforeTailState)?void 0:t.masked)||(null==e?void 0:e._beforeTailState)}}pad(e){return new im}}dm.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};Jf.MaskedRegExp=class extends sm{updateOptions(e){super.updateOptions(e)}_update(e){const t=e.mask;t&&(e.validate=e=>e.search(t)>=0),super._update(e)}};class pm extends sm{constructor(e){super({...pm.DEFAULTS,...e,definitions:Object.assign({},dm.DEFAULT_DEFINITIONS,null==e?void 0:e.definitions)})}updateOptions(e){super.updateOptions(e)}_update(e){e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const t=this.mask;if(!t||!e)return;let n=!1,r=!1;for(let o=0;o<t.length;++o){if(this.blocks){const e=t.slice(o),n=Object.keys(this.blocks).filter((t=>0===e.indexOf(t)));n.sort(((e,t)=>t.length-e.length));const r=n[0];if(r){const{expose:e,repeat:t,...n}=Kf(this.blocks[r]),i={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...n,repeat:t,parent:this},a=null!=t?new Jf.RepeatBlock(i):qf(i);a&&(this._blocks.push(a),e&&(this.exposeBlock=a),this._maskedBlocks[r]||(this._maskedBlocks[r]=[]),this._maskedBlocks[r].push(this._blocks.length-1)),o+=r.length-1;continue}}let i=t[o],a=i in e;if(i===pm.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===i||"}"===i){n=!n;continue}if("["===i||"]"===i){r=!r;continue}if(i===pm.ESCAPE_CHAR){if(++o,i=t[o],!i)break;a=!1}const s=a?new dm({isOptional:r,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...Kf(e[i]),parent:this}):new cm({char:i,eager:this.eager,isUnmasking:n});this._blocks.push(s)}}get state(){return{...super.state,_blocks:this._blocks.map((e=>e.state))}}set state(e){if(!e)return void this.reset();const{_blocks:t,...n}=e;this._blocks.forEach(((e,n)=>e.state=t[n])),super.state=n}reset(){super.reset(),this._blocks.forEach((e=>e.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((e=>e.isComplete))}get isFilled(){return this._blocks.every((e=>e.isFilled))}get isFixed(){return this._blocks.every((e=>e.isFixed))}get isOptional(){return this._blocks.every((e=>e.isOptional))}doCommit(){this._blocks.forEach((e=>e.doCommit())),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((e,t)=>e+t.unmaskedValue),"")}set unmaskedValue(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=e,this.appendTail(t),this.doCommit()}else super.unmaskedValue=e}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((e,t)=>e+t.value),"")}set value(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=e,this.appendTail(t),this.doCommit()}else super.value=e}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=e,this.appendTail(t),this.doCommit()}else super.typedValue=e}get displayValue(){return this._blocks.reduce(((e,t)=>e+t.displayValue),"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const t=new im;let n=null==(e=this._mapPosToBlock(this.displayValue.length))?void 0:e.index;if(null==n)return t;this._blocks[n].isFilled&&++n;for(let e=n;e<this._blocks.length;++e){const n=this._blocks[e]._appendEager();if(!n.inserted)break;t.aggregate(n)}return t}_appendCharRaw(e,t){void 0===t&&(t={});const n=this._mapPosToBlock(this.displayValue.length),r=new im;if(!n)return r;for(let i,a=n.index;i=this._blocks[a];++a){var o;const n=i._appendChar(e,{...t,_beforeTailState:null==(o=t._beforeTailState)||null==(o=o._blocks)?void 0:o[a]});if(r.aggregate(n),n.consumed)break}return r}extractTail(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const n=new lm;return e===t||this._forEachBlocksInRange(e,t,((e,t,r,o)=>{const i=e.extractTail(r,o);i.stop=this._findStopBefore(t),i.from=this._blockStartPos(t),i instanceof lm&&(i.blockIndex=t),n.extend(i)})),n}extractInput(e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),void 0===n&&(n={}),e===t)return"";let r="";return this._forEachBlocksInRange(e,t,((e,t,o,i)=>{r+=e.extractInput(o,i,n)})),r}_findStopBefore(e){let t;for(let n=0;n<this._stops.length;++n){const r=this._stops[n];if(!(r<=e))break;t=r}return t}_appendPlaceholder(e){const t=new im;if(this.lazy&&null==e)return t;const n=this._mapPosToBlock(this.displayValue.length);if(!n)return t;const r=n.index,o=null!=e?e:this._blocks.length;return this._blocks.slice(r,o).forEach((n=>{var r;n.lazy&&null==e||t.aggregate(n._appendPlaceholder(null==(r=n._blocks)?void 0:r.length))})),t}_mapPosToBlock(e){let t="";for(let n=0;n<this._blocks.length;++n){const r=this._blocks[n],o=t.length;if(t+=r.displayValue,e<=t.length)return{index:n,offset:e-o}}}_blockStartPos(e){return this._blocks.slice(0,e).reduce(((e,t)=>e+t.displayValue.length),0)}_forEachBlocksInRange(e,t,n){void 0===t&&(t=this.displayValue.length);const r=this._mapPosToBlock(e);if(r){const e=this._mapPosToBlock(t),o=e&&r.index===e.index,i=r.offset,a=e&&o?e.offset:this._blocks[r.index].displayValue.length;if(n(this._blocks[r.index],r.index,i,a),e&&!o){for(let t=r.index+1;t<e.index;++t)n(this._blocks[t],t,0,this._blocks[t].displayValue.length);n(this._blocks[e.index],e.index,0,e.offset)}}}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const n=super.remove(e,t);return this._forEachBlocksInRange(e,t,((e,t,r,o)=>{n.aggregate(e.remove(r,o))})),n}nearestInputPos(e,t){if(void 0===t&&(t=Hf),!this._blocks.length)return 0;const n=new um(this,e);if(t===Hf)return n.pushRightBeforeInput()?n.pos:(n.popState(),n.pushLeftBeforeInput()?n.pos:this.displayValue.length);if(t===jf||t===zf){if(t===jf){if(n.pushRightBeforeFilled(),n.ok&&n.pos===e)return e;n.popState()}if(n.pushLeftBeforeInput(),n.pushLeftBeforeRequired(),n.pushLeftBeforeFilled(),t===jf){if(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.ok&&n.pos<=e)return n.pos;if(n.popState(),n.ok&&n.pos<=e)return n.pos;n.popState()}return n.ok?n.pos:t===zf?0:(n.popState(),n.ok?n.pos:(n.popState(),n.ok?n.pos:0))}return t===Gf||t===Zf?(n.pushRightBeforeInput(),n.pushRightBeforeRequired(),n.pushRightBeforeFilled()?n.pos:t===Zf?this.displayValue.length:(n.popState(),n.ok?n.pos:(n.popState(),n.ok?n.pos:this.nearestInputPos(e,jf)))):e}totalInputPositions(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let n=0;return this._forEachBlocksInRange(e,t,((e,t,r,o)=>{n+=e.totalInputPositions(r,o)})),n}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const t=this._maskedBlocks[e];return t?t.map((e=>this._blocks[e])):[]}pad(e){const t=new im;return this._forEachBlocksInRange(0,this.displayValue.length,(n=>t.aggregate(n.pad(e)))),t}}pm.DEFAULTS={...sm.DEFAULTS,lazy:!0,placeholderChar:"_"},pm.STOP_CHAR="`",pm.ESCAPE_CHAR="\\",pm.InputDefinition=dm,pm.FixedDefinition=cm,Jf.MaskedPattern=pm;class hm extends pm{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){const{to:t=this.to||0,from:n=this.from||0,maxLength:r=this.maxLength||0,autofix:o=this.autofix,...i}=e;this.to=t,this.from=n,this.maxLength=Math.max(String(t).length,r),this.autofix=o;const a=String(this.from).padStart(this.maxLength,"0"),s=String(this.to).padStart(this.maxLength,"0");let l=0;for(;l<s.length&&s[l]===a[l];)++l;i.mask=s.slice(0,l).replace(/0/g,"\\0")+"0".repeat(this.maxLength-l),super._update(i)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(e){let t="",n="";const[,r,o]=e.match(/^(\D*)(\d*)(\D*)/)||[];return o&&(t="0".repeat(r.length)+o,n="9".repeat(r.length)+o),t=t.padEnd(this.maxLength,"0"),n=n.padEnd(this.maxLength,"9"),[t,n]}doPrepareChar(e,t){let n;return void 0===t&&(t={}),[e,n]=super.doPrepareChar(e.replace(/\D/g,""),t),e||(n.skip=!this.isComplete),[e,n]}_appendCharRaw(e,t){if(void 0===t&&(t={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(e,t);const n=String(this.from).padStart(this.maxLength,"0"),r=String(this.to).padStart(this.maxLength,"0"),[o,i]=this.boundaries(this.value+e);return Number(i)<this.from?super._appendCharRaw(n[this.value.length],t):Number(o)>this.to?!t.tail&&"pad"===this.autofix&&this.value.length+1<this.maxLength?super._appendCharRaw(n[this.value.length],t).aggregate(this._appendCharRaw(e,t)):super._appendCharRaw(r[this.value.length],t):super._appendCharRaw(e,t)}doValidate(e){const t=this.value;if(-1===t.search(/[^0]/)&&t.length<=this._matchFrom)return!0;const[n,r]=this.boundaries(t);return this.from<=Number(r)&&Number(n)<=this.to&&super.doValidate(e)}pad(e){const t=new im;if(this.value.length===this.maxLength)return t;const n=this.value,r=this.maxLength-this.value.length;if(r){this.reset();for(let n=0;n<r;++n)t.aggregate(super._appendCharRaw("0",e));n.split("").forEach((e=>this._appendCharRaw(e)))}return t}}Jf.MaskedRange=hm;class fm extends pm{static extractPatternOptions(e){const{mask:t,pattern:n,...r}=e;return{...r,mask:$f(t)?t:n}}constructor(e){super(fm.extractPatternOptions({...fm.DEFAULTS,...e}))}updateOptions(e){super.updateOptions(e)}_update(e){const{mask:t,pattern:n,blocks:r,...o}={...fm.DEFAULTS,...e},i=Object.assign({},fm.GET_DEFAULT_BLOCKS());e.min&&(i.Y.from=e.min.getFullYear()),e.max&&(i.Y.to=e.max.getFullYear()),e.min&&e.max&&i.Y.from===i.Y.to&&(i.m.from=e.min.getMonth()+1,i.m.to=e.max.getMonth()+1,i.m.from===i.m.to&&(i.d.from=e.min.getDate(),i.d.to=e.max.getDate())),Object.assign(i,this.blocks,r),super._update({...o,mask:$f(t)?t:n,blocks:i})}doValidate(e){const t=this.date;return super.doValidate(e)&&(!this.isComplete||this.isDateExist(this.value)&&null!=t&&(null==this.min||this.min<=t)&&(null==this.max||t<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}optionsIsChanged(e){return super.optionsIsChanged(fm.extractPatternOptions(e))}}fm.GET_DEFAULT_BLOCKS=()=>({d:{mask:hm,from:1,to:31,maxLength:2},m:{mask:hm,from:1,to:12,maxLength:2},Y:{mask:hm,from:1900,to:9999}}),fm.DEFAULTS={...pm.DEFAULTS,mask:Date,pattern:"d{.}`m{.}`Y",format:(e,t)=>{if(!e)return"";return[String(e.getDate()).padStart(2,"0"),String(e.getMonth()+1).padStart(2,"0"),e.getFullYear()].join(".")},parse:(e,t)=>{const[n,r,o]=e.split(".").map(Number);return new Date(o,r-1,n)}},Jf.MaskedDate=fm;class mm extends sm{constructor(e){super({...mm.DEFAULTS,...e}),this.currentMask=void 0}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),"mask"in e&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(e.mask)?e.mask.map((e=>{const{expose:t,...n}=Kf(e),r=qf({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...n});return t&&(this.exposeMask=r),r})):[])}_appendCharRaw(e,t){void 0===t&&(t={});const n=this._applyDispatch(e,t);return this.currentMask&&n.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(t))),n}_applyDispatch(e,t,n){void 0===e&&(e=""),void 0===t&&(t={}),void 0===n&&(n="");const r=t.tail&&null!=t._beforeTailState?t._beforeTailState._value:this.value,o=this.rawInputValue,i=t.tail&&null!=t._beforeTailState?t._beforeTailState._rawInputValue:o,a=o.slice(i.length),s=this.currentMask,l=new im,u=null==s?void 0:s.state;return this.currentMask=this.doDispatch(e,{...t},n),this.currentMask&&(this.currentMask!==s?(this.currentMask.reset(),i&&(this.currentMask.append(i,{raw:!0}),l.tailShift=this.currentMask.value.length-r.length),a&&(l.tailShift+=this.currentMask.append(a,{raw:!0,tail:!0}).tailShift)):u&&(this.currentMask.state=u)),l}_appendPlaceholder(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const t=new im;return e&&t.aggregate(this._applyDispatch("",{},e)),t.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var t,n;return{...e,_beforeTailState:(null==(t=e._beforeTailState)?void 0:t.currentMaskRef)===this.currentMask&&(null==(n=e._beforeTailState)?void 0:n.currentMask)||e._beforeTailState}}doDispatch(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=""),this.dispatch(e,this,t,n)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e,t){void 0===t&&(t={});let[n,r]=super.doPrepare(e,t);if(this.currentMask){let e;[n,e]=super.doPrepare(n,this.currentMaskFlags(t)),r=r.aggregate(e)}return[n,r]}doPrepareChar(e,t){void 0===t&&(t={});let[n,r]=super.doPrepareChar(e,t);if(this.currentMask){let e;[n,e]=super.doPrepareChar(n,this.currentMaskFlags(t)),r=r.aggregate(e)}return[n,r]}reset(){var e;null==(e=this.currentMask)||e.reset(),this.compiledMasks.forEach((e=>e.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(e){this.exposeMask?(this.exposeMask.value=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=e}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){this.exposeMask?(this.exposeMask.unmaskedValue=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=e}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(e){if(this.exposeMask)return this.exposeMask.typedValue=e,this.currentMask=this.exposeMask,void this._applyDispatch();let t=String(e);this.currentMask&&(this.currentMask.typedValue=e,t=this.currentMask.unmaskedValue),this.unmaskedValue=t}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return Boolean(null==(e=this.currentMask)?void 0:e.isComplete)}get isFilled(){var e;return Boolean(null==(e=this.currentMask)?void 0:e.isFilled)}remove(e,t){const n=new im;return this.currentMask&&n.aggregate(this.currentMask.remove(e,t)).aggregate(this._applyDispatch()),n}get state(){var e;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((e=>e.state)),currentMaskRef:this.currentMask,currentMask:null==(e=this.currentMask)?void 0:e.state}}set state(e){const{compiledMasks:t,currentMaskRef:n,currentMask:r,...o}=e;t&&this.compiledMasks.forEach(((e,n)=>e.state=t[n])),null!=n&&(this.currentMask=n,this.currentMask.state=r),super.state=o}extractInput(e,t,n){return this.currentMask?this.currentMask.extractInput(e,t,n):""}extractTail(e,t){return this.currentMask?this.currentMask.extractTail(e,t):super.extractTail(e,t)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(e,t){return this.currentMask?this.currentMask.nearestInputPos(e,t):super.nearestInputPos(e,t)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(e){this._overwrite=e}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(e){this._eager=e}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(e){this._skipInvalid=e}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(e){this._autofix=e}maskEquals(e){return Array.isArray(e)?this.compiledMasks.every(((t,n)=>{if(!e[n])return;const{mask:r,...o}=e[n];return Xf(t,o)&&t.maskEquals(r)})):super.maskEquals(e)}typedValueEquals(e){var t;return Boolean(null==(t=this.currentMask)?void 0:t.typedValueEquals(e))}}mm.DEFAULTS={...sm.DEFAULTS,dispatch:(e,t,n,r)=>{if(!t.compiledMasks.length)return;const o=t.rawInputValue,i=t.compiledMasks.map(((i,a)=>{const s=t.currentMask===i,l=s?i.displayValue.length:i.nearestInputPos(i.displayValue.length,zf);return i.rawInputValue!==o?(i.reset(),i.append(o,{raw:!0})):s||i.remove(l),i.append(e,t.currentMaskFlags(n)),i.appendTail(r),{index:a,weight:i.rawInputValue.length,totalInputPositions:i.totalInputPositions(0,Math.max(l,i.nearestInputPos(i.displayValue.length,zf)))}}));return i.sort(((e,t)=>t.weight-e.weight||t.totalInputPositions-e.totalInputPositions)),t.compiledMasks[i[0].index]}},Jf.MaskedDynamic=mm;class gm extends pm{constructor(e){super({...gm.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){const{enum:t,...n}=e;if(t){const e=t.map((e=>e.length)),r=Math.min(...e),o=Math.max(...e)-r;n.mask="*".repeat(r),o&&(n.mask+="["+"*".repeat(o)+"]"),this.enum=t}super._update(n)}_appendCharRaw(e,t){void 0===t&&(t={});const n=Math.min(this.nearestInputPos(0,Zf),this.value.length),r=this.enum.filter((t=>this.matchValue(t,this.unmaskedValue+e,n)));if(r.length){1===r.length&&this._forEachBlocksInRange(0,this.value.length,((e,n)=>{const o=r[0][n];n>=this.value.length||o===e.value||(e.reset(),e._appendChar(o,t))}));const e=super._appendCharRaw(r[0][this.value.length],t);return 1===r.length&&r[0].slice(this.unmaskedValue.length).split("").forEach((t=>e.aggregate(super._appendCharRaw(t)))),e}return new im({skip:!this.isComplete})}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new am("",e)}remove(e,t){if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),e===t)return new im;const n=Math.min(super.nearestInputPos(0,Zf),this.value.length);let r;for(r=e;r>=0;--r){const e=this.enum.filter((e=>this.matchValue(e,this.value.slice(n,r),n)));if(e.length>1)break}const o=super.remove(r,t);return o.tailShift+=r-e,o}get isComplete(){return this.enum.indexOf(this.value)>=0}}gm.DEFAULTS={...pm.DEFAULTS,matchValue:(e,t,n)=>e.indexOf(t,n)===n},Jf.MaskedEnum=gm;var vm;Jf.MaskedFunction=class extends sm{updateOptions(e){super.updateOptions(e)}_update(e){super._update({...e,validate:e.mask})}};class bm extends sm{constructor(e){super({...bm.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){const e="^"+(this.allowNegative?"[+|\\-]?":""),t=(this.scale?"("+Yf(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(e+"\\d*"+t),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(Yf).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(Yf(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const t=e.split(this.radix);return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),t.join(this.radix)}doPrepareChar(e,t){void 0===t&&(t={});const[n,r]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(t.input&&t.raw||!t.input&&!t.raw)?e.replace(this._mapToRadixRegExp,this.radix):e),t);return e&&!n&&(r.skip=!0),!n||this.allowPositive||this.value||"-"===n||r.aggregate(this._appendChar("-")),[n,r]}_separatorsCount(e,t){void 0===t&&(t=!1);let n=0;for(let r=0;r<e;++r)this._value.indexOf(this.thousandsSeparator,r)===r&&(++n,t&&(e+=this.thousandsSeparator.length));return n}_separatorsCountFromSlice(e){return void 0===e&&(e=this._value),this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t),this._removeThousandsSeparators(super.extractInput(e,t,n))}_appendCharRaw(e,t){void 0===t&&(t={});const n=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(n);this._value=this._removeThousandsSeparators(this.value);const o=this._value;this._value+=e;const i=this.number;let a,s=!isNaN(i),l=!1;if(s){let e;null!=this.min&&this.min<0&&this.number<this.min&&(e=this.min),null!=this.max&&this.max>0&&this.number>this.max&&(e=this.max),null!=e&&(this.autofix?(this._value=this.format(e,this).replace(bm.UNMASKED_RADIX,this.radix),l||(l=o===this._value&&!t.tail)):s=!1),s&&(s=Boolean(this._value.match(this._numberRegExp)))}s?a=new im({inserted:this._value.slice(o.length),rawInserted:l?"":e,skip:l}):(this._value=o,a=new im),this._value=this._insertThousandsSeparators(this._value);const u=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,c=this._separatorsCountFromSlice(u);return a.tailShift+=(c-r)*this.thousandsSeparator.length,a}_findSeparatorAround(e){if(this.thousandsSeparator){const t=e-this.thousandsSeparator.length+1,n=this.value.indexOf(this.thousandsSeparator,t);if(n<=e)return n}return-1}_adjustRangeWithSeparators(e,t){const n=this._findSeparatorAround(e);n>=0&&(e=n);const r=this._findSeparatorAround(t);return r>=0&&(t=r+this.thousandsSeparator.length),[e,t]}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t);const n=this.value.slice(0,e),r=this.value.slice(t),o=this._separatorsCount(n.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(n+r));const i=this._separatorsCountFromSlice(n);return new im({tailShift:(i-o)*this.thousandsSeparator.length})}nearestInputPos(e,t){if(!this.thousandsSeparator)return e;switch(t){case Hf:case jf:case zf:{const n=this._findSeparatorAround(e-1);if(n>=0){const r=n+this.thousandsSeparator.length;if(e<r||this.value.length<=r||t===zf)return n}break}case Gf:case Zf:{const t=this._findSeparatorAround(e);if(t>=0)return t+this.thousandsSeparator.length}}return e}doCommit(){if(this.value){const e=this.number;let t=e;null!=this.min&&(t=Math.max(t,this.min)),null!=this.max&&(t=Math.min(t,this.max)),t!==e&&(this.unmaskedValue=this.format(t,this));let n=this.value;this.normalizeZeros&&(n=this._normalizeZeros(n)),this.padFractionalZeros&&this.scale>0&&(n=this._padFractionalZeros(n)),this._value=n}super.doCommit()}_normalizeZeros(e){const t=this._removeThousandsSeparators(e).split(this.radix);return t[0]=t[0].replace(/^(\D*)(0*)(\d*)/,((e,t,n,r)=>t+r)),e.length&&!/\d$/.test(t[0])&&(t[0]=t[0]+"0"),t.length>1&&(t[1]=t[1].replace(/0*$/,""),t[1].length||(t.length=1)),this._insertThousandsSeparators(t.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const t=e.split(this.radix);return t.length<2&&t.push(""),t[1]=t[1].padEnd(this.scale,"0"),t.join(this.radix)}doSkipInvalid(e,t,n){void 0===t&&(t={});const r=0===this.scale&&e!==this.thousandsSeparator&&(e===this.radix||e===bm.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,t,n)&&!r}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,bm.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(e){this.rawInputValue=this.format(e,this).replace(bm.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(e){return(super.typedValueEquals(e)||bm.EMPTY_VALUES.includes(e)&&bm.EMPTY_VALUES.includes(this.typedValue))&&!(0===e&&""===this.value)}}vm=bm,bm.UNMASKED_RADIX=".",bm.EMPTY_VALUES=[...sm.EMPTY_VALUES,0],bm.DEFAULTS={...sm.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[vm.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:e=>e.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},Jf.MaskedNumber=bm;const ym={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function xm(e,t,n){void 0===t&&(t=ym.MASKED),void 0===n&&(n=ym.MASKED);const r=qf(e);return e=>r.runIsolated((r=>(r[t]=e,r[n])))}Jf.PIPE_TYPE=ym,Jf.createPipe=xm,Jf.pipe=function(e,t,n,r){return xm(t,n,r)(e)};Jf.RepeatBlock=class extends pm{get repeatFrom(){var e;return null!=(e=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)?e:0}get repeatTo(){var e;return null!=(e=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)?e:1/0}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){var t,n,r;const{repeat:o,...i}=Kf(e);this._blockOpts=Object.assign({},this._blockOpts,i);const a=qf(this._blockOpts);this.repeat=null!=(t=null!=(n=null!=o?o:a.repeat)?n:this.repeat)?t:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&(null==(r=this._blocks)?void 0:r.length)||0,this.repeatFrom)),blocks:{m:a},eager:a.eager,overwrite:a.overwrite,skipInvalid:a.skipInvalid,lazy:a.lazy,placeholderChar:a.placeholderChar,displayChar:a.displayChar})}_allocateBlock(e){return e<this._blocks.length?this._blocks[e]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(qf(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(e,t){void 0===t&&(t={});const n=new im;for(let s,l,u=null!=(r=null==(o=this._mapPosToBlock(this.displayValue.length))?void 0:o.index)?r:Math.max(this._blocks.length-1,0);s=null!=(i=this._blocks[u])?i:l=!l&&this._allocateBlock(u);++u){var r,o,i,a;const c=s._appendChar(e,{...t,_beforeTailState:null==(a=t._beforeTailState)||null==(a=a._blocks)?void 0:a[u]});if(c.skip&&l){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(n.aggregate(c),c.consumed)break}return n}_trimEmptyTail(e,t){var n,r;void 0===e&&(e=0);const o=Math.max((null==(n=this._mapPosToBlock(e))?void 0:n.index)||0,this.repeatFrom,0);let i;null!=t&&(i=null==(r=this._mapPosToBlock(t))?void 0:r.index),null==i&&(i=this._blocks.length-1);let a=0;for(let e=i;o<=e&&!this._blocks[e].unmaskedValue;--e,++a);a&&(this._blocks.splice(i-a+1,a),this.mask=this.mask.slice(a))}reset(){super.reset(),this._trimEmptyTail()}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const n=super.remove(e,t);return this._trimEmptyTail(e,t),n}totalInputPositions(e,t){return void 0===e&&(e=0),null==t&&this.repeatTo===1/0?1/0:super.totalInputPositions(e,t)}get state(){return super.state}set state(e){this._blocks.length=e._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=e}};try{globalThis.IMask=Jf}catch{}const km={mask:iu.oneOfType([iu.array,iu.func,iu.string,iu.instanceOf(RegExp),iu.oneOf([Date,Number,Jf.Masked]),iu.instanceOf(Jf.Masked)]),value:iu.any,unmask:iu.oneOfType([iu.bool,iu.oneOf(["typed"])]),prepare:iu.func,prepareChar:iu.func,validate:iu.func,commit:iu.func,overwrite:iu.oneOfType([iu.bool,iu.oneOf(["shift"])]),eager:iu.oneOfType([iu.bool,iu.oneOf(["append","remove"])]),skipInvalid:iu.bool,onAccept:iu.func,onComplete:iu.func,placeholderChar:iu.string,displayChar:iu.string,lazy:iu.bool,definitions:iu.object,blocks:iu.object,enum:iu.arrayOf(iu.string),maxLength:iu.number,from:iu.number,to:iu.number,pattern:iu.string,format:iu.func,parse:iu.func,autofix:iu.oneOfType([iu.bool,iu.oneOf(["pad"])]),radix:iu.string,thousandsSeparator:iu.string,mapToRadix:iu.arrayOf(iu.string),scale:iu.number,normalizeZeros:iu.bool,padFractionalZeros:iu.bool,min:iu.oneOfType([iu.number,iu.instanceOf(Date)]),max:iu.oneOfType([iu.number,iu.instanceOf(Date)]),dispatch:iu.func,inputRef:iu.oneOfType([iu.func,iu.shape({current:iu.object})])},wm=Object.keys(km).filter((e=>"value"!==e)),Cm=["value","unmask","onAccept","onComplete","inputRef"],Em=wm.filter((e=>Cm.indexOf(e)<0));const Im=function(t){var n;const r=(n=class extends e.Component{constructor(e){super(e),this._inputRef=this._inputRef.bind(this)}componentDidMount(){this.props.mask&&this.initMask()}componentDidUpdate(){const e=this.props,t=this._extractMaskOptionsFromProps(e);var n;t.mask?this.maskRef?(this.maskRef.updateOptions(t),"value"in e&&void 0!==e.value&&(this.maskValue=e.value)):this.initMask(t):(this.destroyMask(),"value"in e&&void 0!==e.value&&(null!=(n=this.element)&&n.isContentEditable&&"INPUT"!==this.element.tagName&&"TEXTAREA"!==this.element.tagName?this.element.textContent=e.value:this.element.value=e.value))}componentWillUnmount(){this.destroyMask()}_inputRef(e){this.element=e,this.props.inputRef&&(Object.prototype.hasOwnProperty.call(this.props.inputRef,"current")?this.props.inputRef.current=e:this.props.inputRef(e))}initMask(e){void 0===e&&(e=this._extractMaskOptionsFromProps(this.props)),this.maskRef=Jf(this.element,e).on("accept",this._onAccept.bind(this)).on("complete",this._onComplete.bind(this)),"value"in this.props&&void 0!==this.props.value&&(this.maskValue=this.props.value)}destroyMask(){this.maskRef&&(this.maskRef.destroy(),delete this.maskRef)}_extractMaskOptionsFromProps(e){const{...t}=e;return Object.keys(t).filter((e=>Em.indexOf(e)<0)).forEach((e=>{delete t[e]})),t}_extractNonMaskProps(e){const{...t}=e;return wm.forEach((e=>{"maxLength"!==e&&delete t[e]})),"defaultValue"in t||(t.defaultValue=e.mask?"":t.value),delete t.value,t}get maskValue(){return this.maskRef?"typed"===this.props.unmask?this.maskRef.typedValue:this.props.unmask?this.maskRef.unmaskedValue:this.maskRef.value:""}set maskValue(e){this.maskRef&&(e=null==e&&"typed"!==this.props.unmask?"":e,"typed"===this.props.unmask?this.maskRef.typedValue=e:this.props.unmask?this.maskRef.unmaskedValue=e:this.maskRef.value=e)}_onAccept(e){this.props.onAccept&&this.maskRef&&this.props.onAccept(this.maskValue,this.maskRef,e)}_onComplete(e){this.props.onComplete&&this.maskRef&&this.props.onComplete(this.maskValue,this.maskRef,e)}render(){return e.createElement(t,{...this._extractNonMaskProps(this.props),inputRef:this._inputRef})}},n.displayName=void 0,n.propTypes=void 0,n),o=t.displayName||t.name||"Component";return r.displayName="IMask("+o+")",r.propTypes=km,e.forwardRef(((t,n)=>e.createElement(r,{...t,ref:n})))}((t=>{let{inputRef:n,...r}=t;return e.createElement("input",{...r,ref:n})}));e.forwardRef(((t,n)=>e.createElement(Im,{...t,ref:n})));const Sm=e.forwardRef(((t,n)=>{const{maskOptions:r,onAccept:o,value:i}=t,a=ls(t,["maskOptions","onAccept","value"]),{ref:s,setUnmaskedValue:l}=function(t,n){let{onAccept:r,onComplete:o,ref:i=e.useRef(null),defaultValue:a,defaultUnmaskedValue:s,defaultTypedValue:l}=void 0===n?{}:n;const u=e.useRef(null),[c,d]=e.useState({}),[p,h]=e.useState(""),[f,m]=e.useState(""),[g,v]=e.useState(),b=e.useCallback((()=>{var e;null==(e=u.current)||e.destroy(),u.current=null}),[]),y=e.useCallback((()=>{const e=u.current;e&&(d({value:e.value,unmaskedValue:e.unmaskedValue,typedValue:e.typedValue}),v(e.typedValue),m(e.unmaskedValue),h(e.value))}),[]),x=e.useCallback((e=>{const t=u.current;t&&(y(),null==r||r(t.value,t,e))}),[r]),k=e.useCallback((e=>u.current&&(null==o?void 0:o(u.current.value,u.current,e))),[o]);return e.useEffect((()=>{const{value:e,...t}=c,n=u.current;n&&void 0!==p&&(e!==p&&(n.value=p,n.value!==p&&x()),d(t))}),[p]),e.useEffect((()=>{const{unmaskedValue:e,...t}=c,n=u.current;n&&void 0!==f&&(e!==f&&(n.unmaskedValue=f,n.unmaskedValue!==f&&x()),d(t))}),[f]),e.useEffect((()=>{const{typedValue:e,...t}=c,n=u.current;n&&void 0!==g&&(e!==g&&(n.typedValue=g,n.masked.typedValueEquals(g)||x()),d(t))}),[g]),e.useEffect((()=>{const e=i.current;if(!e||null==t||!t.mask)return b();const n=u.current;n?null==n||n.updateOptions(t):e&&null!=t&&t.mask&&(u.current=Jf(e,t),y(),void 0!==a&&h(a),void 0!==s&&m(s),void 0!==l&&v(l))}),[t,b,x]),e.useEffect((()=>{if(!u.current)return;const e=u.current;return e.on("accept",x),e.on("complete",k),()=>{e.off("accept",x),e.off("complete",k)}}),[x,k]),e.useEffect((()=>b),[b]),{ref:i,maskRef:u,value:p,setValue:h,unmaskedValue:f,setUnmaskedValue:m,typedValue:g,setTypedValue:v}}(r,{onAccept:(e,t)=>null==o?void 0:o(t.unmaskedValue,e)});e.useEffect((()=>{l(null!=i?i:"")}),[l,i]);const u=Mr([n,s]);return e.createElement(kf,Object.assign({},a,{ref:u}))}));Sm.displayName="MaskedInputBase";const Mm=Rf(Sm),_m=t=>n=>{var o;const{options:i}=n,a=ls(n,["options"]),{control:s}=r.useFormContext(),{field:{onBlur:l,onChange:u,ref:c,value:d},fieldState:p}=r.useController({name:n.name,control:s,rules:i}),h=null===(o=p.error)||void 0===o?void 0:o.message,f=e.useCallback((()=>l()),[l]);return e.createElement(t,Object.assign({errorMessage:h,ref:c,value:d,onAccept:u,onBlur:f},a))},Tm=_m(Mm),Dm=e.forwardRef(((t,n)=>{const{allowNegative:r=!1,decimalPlaces:o=0,integerPlaces:i=15}=t,a=ls(t,["allowNegative","decimalPlaces","integerPlaces"]),s=e.useMemo((()=>{const e=Math.pow(10,i);return{mask:Number,scale:o,radix:",",mapToRadix:["."],thousandsSeparator:" ",max:e,min:r?-e:0}}),[r,o,i]);return e.createElement(Mm,Object.assign({maskOptions:s,ref:n},a))}));Dm.displayName="NumberInput";const Lm=_m(Dm),Am=e.forwardRef(((t,n)=>e.createElement(kf,Object.assign({ref:n,type:"tel"},t))));Am.displayName="PhoneInputControl";const Nm=Rf(Am),Om=new RegExp("^\\+?420"),Pm={mask:"000 000 000",prepare:e=>e.replace(Om,"")},Rm=e.forwardRef(((t,n)=>e.createElement(Mm,Object.assign({maskOptions:Pm,prefix:"+420",ref:n},t))));Rm.displayName="PhoneInputNext";const Vm=_m(Rm),Bm=e.forwardRef(((t,n)=>{const{buttonAction:r,buttonText:o}=t,i=ls(t,["buttonAction","buttonText"]),{hasError:a=!1,invalid:s=!1,size:l}=t,u=s||a;return e.createElement(kf,Object.assign({button:e.createElement(ko,{buttonStyle:exports.ButtonStyle.primary,disabled:u,size:l===exports.InputSize.xl?exports.ButtonSize.md:exports.ButtonSize.sm,type:exports.ButtonType.button,onClick:r},o),icon:e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.search}),ref:n,type:"text"},i))}));Bm.displayName="SearchInputControl";const $m=Rf(Bm);var Wm;exports.SliderInputRoundingType=void 0,(Wm=exports.SliderInputRoundingType||(exports.SliderInputRoundingType={})).ceilBySteps="ceilBySteps",Wm.ceilToThousands="ceilToThousands",Wm.floorBySteps="floorBySteps",Wm.floorToThousands="floorToThousands",Wm.roundBySteps="roundBySteps",Wm.roundToThousands="roundToThousands";const Fm=t.div`
|
|
1583
1583
|
display: grid;
|
|
1584
1584
|
/* stylelint-disable named-grid-areas-no-invalid */
|
|
1585
1585
|
grid-template-areas: ${({$isHintVisible:e,$isInputNoteVisible:t,$isInputVisible:n,$mediaType:r})=>{switch(!0){case r===exports.MediaType.mobile&&!n:return`\n\t\t\t\t\t'label'\n\t\t\t\t\t${e?"'hint'":""}\n\t\t\t\t\t'slider'\n\t\t\t\t`;case r===exports.MediaType.mobile&&n:return`\n\t\t\t\t\t'label input'\n\t\t\t\t\t${t?"'inputNote inputNote'":""}\n\t\t\t\t\t${e?"'hint hint'":""}\n\t\t\t\t\t'slider slider'\n\t\t\t\t`;case r===exports.MediaType.desktop&&!n:return`\n\t\t\t\t\t'label'\n\t\t\t\t\t${e?"'hint'":""}\n\t\t\t\t\t'slider'\n\t\t\t\t`;case r===exports.MediaType.desktop&&n:return`\n\t\t\t\t\t'label label'\n\t\t\t\t\t${e?"'hint hint'":""}\n\t\t\t\t\t'slider input'\n\t\t\t\t\t${t?"'inputNote inputNote'":""}\n\t\t\t\t`;default:throw new Error("unexpected MediaType in sliderInput.style.ts Wrapper grid-template-areas")}}};
|
|
@@ -1587,18 +1587,18 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1587
1587
|
grid-template-columns: ${({$isInputVisible:e})=>e?"1fr 150px":"1fr"};
|
|
1588
1588
|
row-gap: ${({$isInputVisible:e,theme:t})=>e?t.spacing.md:0};
|
|
1589
1589
|
column-gap: ${({$isInputVisible:e,theme:t})=>e?t.spacing.md:0};
|
|
1590
|
-
`,
|
|
1590
|
+
`,Hm=t.div`
|
|
1591
1591
|
display: flex;
|
|
1592
1592
|
flex-direction: column;
|
|
1593
1593
|
grid-area: label;
|
|
1594
1594
|
row-gap: ${({theme:e})=>e.spacing.xxs};
|
|
1595
1595
|
align-items: start;
|
|
1596
1596
|
justify-content: center;
|
|
1597
|
-
`,
|
|
1597
|
+
`,jm=t.div`
|
|
1598
1598
|
display: flex;
|
|
1599
1599
|
grid-area: hint;
|
|
1600
1600
|
margin-top: -${({theme:e})=>e.spacing.sm};
|
|
1601
|
-
`,
|
|
1601
|
+
`,zm=t.div`
|
|
1602
1602
|
display: flex;
|
|
1603
1603
|
flex-direction: column;
|
|
1604
1604
|
grid-area: input;
|
|
@@ -1606,18 +1606,18 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1606
1606
|
width: ${({$isInputHidden:e})=>e?"0":"initial"};
|
|
1607
1607
|
height: ${({$isInputHidden:e})=>e?"0":"initial"};
|
|
1608
1608
|
overflow: ${({$isInputHidden:e})=>e?"hidden":"initial"};
|
|
1609
|
-
`,
|
|
1609
|
+
`,Gm=t.div`
|
|
1610
1610
|
grid-area: inputNote;
|
|
1611
1611
|
|
|
1612
1612
|
text-align: right;
|
|
1613
|
-
`,
|
|
1613
|
+
`,Zm=t.div`
|
|
1614
1614
|
display: flex;
|
|
1615
1615
|
grid-area: slider;
|
|
1616
|
-
`,
|
|
1616
|
+
`,Ym=t=>{const n=e.useId();return void 0===t?n:t},Xm=e=>e.replace(/[^\d]/g,"").replace(/\B(?=(\d{3})+(?!\d))/g," "),Um=e=>e.replace(/\s/g,""),Jm=e.forwardRef((function(n,r){const{disabled:o,hasError:i=!1,hintText:a,id:s,inputNote:l,inputRoundingType:u,isInputHidden:c=!1,label:d,minMax:p,minMaxLabels:h,name:f,onBlur:m,onChange:g,onSliderChange:v,prefix:b,steps:y,stepType:x,suffix:k,value:w,weight:C}=n,E=t.useTheme(),{chooseColor:I,colorScheme:S,mediaType:M}=N(n),_=Ym(s),[T,D]=e.useState(void 0),L=e.useRef(null);e.useEffect((()=>{if(null!==r){if("function"==typeof r)return void r(L.current);r.current=L.current}}),[r]),e.useEffect((()=>{var e;if(void 0!==(null===(e=L.current)||void 0===e?void 0:e.value)&&void 0!==T){const e=document.getElementById(_);Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(e,Xm(T.toString()));const t=new Event("input",{bubbles:!0});e.dispatchEvent(t)}}),[_,T]),e.useEffect((()=>{D(L.current.value)}),[]),e.useEffect((()=>{void 0!==w&&D(w)}),[w]);const A=e.useCallback((e=>{void 0!==v&&v(e),D(e)}),[v]),O=e.useCallback((()=>{const e=document.activeElement;if(null!==L.current){if(L.current.focus(),null===e||"function"!=typeof e.focus)return void L.current.blur();e.focus()}}),[]),P=e.useCallback((e=>{const t=e.target.value,n=Number.parseInt(Um(t));let r;switch(!0){case Number.isNaN(n):case n<p.min:r=p.min;break;case n>p.max:r=p.max;break;default:r=n}let o=r;switch(!0){case void 0===u:break;case u===exports.SliderInputRoundingType.ceilBySteps:case u===exports.SliderInputRoundingType.floorBySteps:case u===exports.SliderInputRoundingType.roundBySteps:o=(e=>{const{max:t,min:n,roundingType:r,steps:o,value:i}=e;if(r!==exports.SliderInputRoundingType.ceilBySteps&&r!==exports.SliderInputRoundingType.floorBySteps&&r!==exports.SliderInputRoundingType.roundBySteps)throw new Error("unexpected enum SliderInputRoundingType value in getRoundedValueBySteps");if(i<=n)return n;if(i>=t)return t;const a=[{step:o.baseStep,bottomBreakpoint:n},...o.breakpointList].reduce(((e,n,r,o)=>{const i=o[r+1],a=void 0===i?t:i.bottomBreakpoint,s=[];for(let e=n.bottomBreakpoint+n.step;e<a;e+=n.step)s.push(e);return[...e,...s,a]}),[n]),s=a.reduce(((e,t,n,r)=>{if(void 0!==e)return e;const o=r[n+1];return i>t&&i<=o?{lowerBoundary:t,upperBoundary:o}:void 0}),void 0);if(void 0===s)throw new Error("unexpected Error stepsRoundValue.ts");return i===s.lowerBoundary?s.lowerBoundary:i===s.upperBoundary?s.upperBoundary:r===exports.SliderInputRoundingType.floorBySteps?s.lowerBoundary:r===exports.SliderInputRoundingType.ceilBySteps?s.upperBoundary:i-s.lowerBoundary<(s.upperBoundary-s.lowerBoundary)/2?s.lowerBoundary:s.upperBoundary})({steps:y,value:r,roundingType:u,min:p.min,max:p.max});break;case u===exports.SliderInputRoundingType.ceilToThousands:o=1e3*Math.ceil(r/1e3);break;case u===exports.SliderInputRoundingType.floorToThousands:o=1e3*Math.floor(r/1e3);break;case u===exports.SliderInputRoundingType.roundToThousands:o=1e3*Math.round(r/1e3);break;default:throw new Error("unexpected SliderInputRoundingType enum value in sliderInput.tsx onBlurInputHandler")}e.target.value=Xm(o.toString()),D(o),void 0!==m&&m(e)}),[u,p.max,p.min,m,y]),R=e.useCallback((e=>{e.target.value=Xm(Um(e.target.value)),void 0!==g&&g(e)}),[g]);return e.createElement(Fm,{$isHintVisible:void 0!==a,$isInputNoteVisible:void 0!==l,$isInputVisible:!c,$mediaType:M},e.createElement(Hm,null,e.createElement(If,{colorScheme:S,hasError:i,id:_,label:d.element,size:exports.InputLabelSize.md,suffix:d.suffix,tooltip:d.tooltip})),void 0!==a&&e.createElement(jm,null,e.createElement(B,{color:I(E.colors.fg.neutral.subtle),colorScheme:S,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},a)),e.createElement(zm,{$isInputHidden:c},e.createElement(kf,{colorInput:I(E.colors.fg.neutral.default),colorScheme:S,disabled:o,hasError:i,id:_,name:f,prefix:b,ref:L,size:exports.InputSize.md,suffix:k,textAlign:exports.InputTextAlign.right,weight:C,onBlur:P,onChange:R})),void 0!==l&&!c&&e.createElement(Gm,{$mediaType:M},e.createElement(B,{colorScheme:S,variant:exports.TypographyVariant.textMd},l)),void 0!==T&&e.createElement(Zm,null,e.createElement(Ei,{colorScheme:S,disable:o,max:p.max,min:p.min,minMaxLabels:h,steps:y,stepType:x,value:T,onChange:A,onFinalChange:O})))})),Qm=e.forwardRef(((t,n)=>e.createElement(kf,Object.assign({ref:n,type:"text"},t))));Qm.displayName="TextInputControl";const Km=Rf(Qm),qm=e.forwardRef(((t,n)=>e.createElement(kf,Object.assign({ref:n,textAlign:exports.InputTextAlign.right,type:"text"},t))));qm.displayName="TrailingTextInputControl";const eg=Rf(qm),tg=e.forwardRef(((t,n)=>{const{innerRef:r}=t,o=ls(t,["innerRef"]),i=Mr([r,n]);return e.createElement(kf,Object.assign({},o,{ref:i}))}));var ng,rg,og;tg.displayName="InputBaseWithInnerRef",ng="cs",rg=Nl,(og="undefined"!=typeof window?window:globalThis).__localeData__||(og.__localeData__={}),og.__localeData__[ng]=rg;const ig=["dd.MM.yyyy","dd. MM. yyyy"],ag=t.span`
|
|
1617
1617
|
cursor: pointer;
|
|
1618
|
-
`,
|
|
1618
|
+
`,sg=e.forwardRef(((n,r)=>{const{ariaLabelChevron:o,describedBy:i,hasError:a=!1,invalid:s=!1,labelledBy:l,locale:u,name:c,nextMonthAriaLabel:d,previousMonthAriaLabel:p,required:h,startDate:f}=n,m=ls(n,["ariaLabelChevron","describedBy","hasError","invalid","labelledBy","locale","name","nextMonthAriaLabel","previousMonthAriaLabel","required","startDate"]),g=t.useTheme(),[v,b]=e.useState(!1),y=s||a;return e.createElement(qh,Object.assign({ariaDescribedBy:i,ariaInvalid:String(y),ariaLabelledBy:l,ariaRequired:String(h),calendarContainer:({children:t})=>e.createElement(sf,{role:"dialog"},e.createElement(lf,{id:"datepicker-prevMonth"},p),e.createElement(lf,{id:"datepicker-nextMonth"},d),t),customInput:e.createElement(tg,{icon:e.createElement(Ze,{size:exports.IconSystemSize.small,stroke:g.colors.icon.brand.light,type:exports.IconSystemType.event}),innerRef:r,invalid:y,name:c,size:exports.InputSize.md,suffix:e.createElement(ag,{"aria-label":o,role:"button",tabIndex:0,onClick:()=>b(!0)},e.createElement(af,null))}),dateFormat:ig,locale:null!=u?u:"cs",open:v,popperContainer:uf,renderCustomHeader:of,selected:f,showPopperArrow:!1,showTimeSelect:!1,onClickOutside:()=>b(!1),onFocus:()=>b(!0),onInputClick:()=>b(!0),onSelect:()=>b(!1)},m))}));var lg;sg.displayName="DatePicker",exports.CheckboxPosition=void 0,(lg=exports.CheckboxPosition||(exports.CheckboxPosition={})).left="left",lg.right="right";const ug="24px",cg=t.label`
|
|
1619
1619
|
display: flex;
|
|
1620
|
-
`,
|
|
1620
|
+
`,dg=t.input`
|
|
1621
1621
|
position: absolute;
|
|
1622
1622
|
width: 0;
|
|
1623
1623
|
height: 0;
|
|
@@ -1655,11 +1655,11 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1655
1655
|
background-color: ${({$chooseColor:e,theme:t})=>e(t.colors.bg.disabled)};
|
|
1656
1656
|
border-color: ${({$chooseColor:e,theme:t})=>e(t.colors.border.neutral.subtle)};
|
|
1657
1657
|
}
|
|
1658
|
-
`,
|
|
1658
|
+
`,pg=t.span`
|
|
1659
1659
|
box-sizing: border-box;
|
|
1660
1660
|
display: inline-block;
|
|
1661
|
-
width: ${
|
|
1662
|
-
height: ${
|
|
1661
|
+
width: ${ug};
|
|
1662
|
+
height: ${ug};
|
|
1663
1663
|
margin: 0;
|
|
1664
1664
|
cursor: pointer;
|
|
1665
1665
|
background-color: ${({$chooseColor:e,theme:t})=>e(t.colors.bg.neutral.white)};
|
|
@@ -1669,19 +1669,19 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1669
1669
|
border-style: solid;
|
|
1670
1670
|
border-width: 1px;
|
|
1671
1671
|
border-radius: ${({theme:e})=>e.borderRadius.xxs};
|
|
1672
|
-
`,
|
|
1672
|
+
`,hg=t.div`
|
|
1673
1673
|
display: flex;
|
|
1674
1674
|
flex-direction: column;
|
|
1675
1675
|
row-gap: ${({theme:e})=>e.spacing.xs};
|
|
1676
|
-
`,
|
|
1676
|
+
`,fg=t.div`
|
|
1677
1677
|
display: flex;
|
|
1678
1678
|
flex-direction: ${({$position:e})=>{switch(e){case exports.CheckboxPosition.left:return"row";case exports.CheckboxPosition.right:return"row-reverse";default:throw new Error("unexpected enum values CheckboxPosition in checkbox.style.ts")}}};
|
|
1679
1679
|
column-gap: ${({theme:e})=>e.spacing.sm};
|
|
1680
1680
|
align-items: start;
|
|
1681
1681
|
justify-content: left;
|
|
1682
|
-
`,
|
|
1682
|
+
`,mg=t.div`
|
|
1683
1683
|
position: relative;
|
|
1684
|
-
top: calc((${
|
|
1684
|
+
top: calc((${ug} - ${e=>e.theme.font.lineHeight.body.sm}) / 2);
|
|
1685
1685
|
display: flex;
|
|
1686
1686
|
gap: ${e=>e.theme.spacing.xxs};
|
|
1687
1687
|
align-items: center;
|
|
@@ -1699,9 +1699,9 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1699
1699
|
font-weight: inherit;
|
|
1700
1700
|
color: inherit;
|
|
1701
1701
|
}
|
|
1702
|
-
`,
|
|
1702
|
+
`,gg=e.forwardRef((function(n,r){const{checked:o,disabled:i=!1,id:a,isError:s,name:l,onBlur:u,onChange:c,value:d}=n,p=t.useTheme(),{chooseColor:h}=N(n),f=e.useRef(null);e.useEffect((()=>{null!==r&&("function"==typeof r?r(f.current):r.current=f.current)}),[r]),e.useEffect((()=>{if(null===f.current)throw new Error("CheckboxBase unexpected error: localRef.current is null")}),[]);const m=e.useMemo((()=>{return e=h(i?p.colors.icon.neutral:p.colors.icon.brand),Ci.encode((e=>`\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n <path d="M7.75 12.75L10 15.25L16.25 8.75" stroke="${e}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>`)(e));var e}),[i,p,h]);return e.createElement(cg,null,e.createElement(dg,{$checkBackground:m,$chooseColor:h,$isError:!0===s,checked:o,disabled:i,id:a,name:l,ref:f,type:"checkbox",value:d,onBlur:u,onChange:c}),e.createElement(pg,{$chooseColor:h,$isError:!0===s}))})),vg=e.forwardRef((function(n,r){const{errorMessage:o,id:i,isError:a=!1,label:s,labelColor:l,position:u=exports.CheckboxPosition.left}=n,c=ls(n,["errorMessage","id","isError","label","labelColor","position"]),{chooseColor:d,colorScheme:p}=N(n),h=t.useTheme(),f=Ym(i),m=e.useMemo((()=>a?d(h.colors.fg.error):void 0===l?d(h.colors.fg.neutral.subtle):l),[a,l,d,h.colors.fg.neutral.subtle,h.colors.fg.error]);return e.createElement(hg,null,e.createElement(fg,{$position:u},e.createElement(gg,Object.assign({},c,{id:f,isError:a,ref:r})),void 0!==s&&e.createElement(mg,null,e.createElement(B,{color:m,colorScheme:p,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},e.createElement("label",{htmlFor:f},s.label)),void 0!==s.tooltip&&e.createElement(Fs,{colorScheme:p,floatingElement:s.tooltip}))),void 0!==o&&e.createElement(B,{color:d(h.colors.fg.error),colorScheme:p,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},o))}));var bg;exports.RadioPosition=void 0,(bg=exports.RadioPosition||(exports.RadioPosition={})).left="left",bg.right="right";const yg="24px",xg=t.label`
|
|
1703
1703
|
display: flex;
|
|
1704
|
-
`,
|
|
1704
|
+
`,kg=t.input`
|
|
1705
1705
|
position: absolute;
|
|
1706
1706
|
width: 0;
|
|
1707
1707
|
height: 0;
|
|
@@ -1742,11 +1742,11 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1742
1742
|
&:checked:disabled + span {
|
|
1743
1743
|
background-image: url('data:image/svg+xml;base64,${({$checkedDisabledBackground:e})=>e}');
|
|
1744
1744
|
}
|
|
1745
|
-
`,
|
|
1745
|
+
`,wg=t.span`
|
|
1746
1746
|
box-sizing: border-box;
|
|
1747
1747
|
display: inline-block;
|
|
1748
|
-
width: ${
|
|
1749
|
-
height: ${
|
|
1748
|
+
width: ${yg};
|
|
1749
|
+
height: ${yg};
|
|
1750
1750
|
margin: 0;
|
|
1751
1751
|
cursor: pointer;
|
|
1752
1752
|
background-color: ${({theme:e})=>e.colors.bg.neutral.white.light};
|
|
@@ -1756,21 +1756,21 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1756
1756
|
border-style: solid;
|
|
1757
1757
|
border-width: 1px;
|
|
1758
1758
|
border-radius: ${({theme:e})=>e.borderRadius.full};
|
|
1759
|
-
`,
|
|
1759
|
+
`,Cg=t.div`
|
|
1760
1760
|
display: flex;
|
|
1761
1761
|
flex-direction: column;
|
|
1762
1762
|
row-gap: ${({theme:e})=>e.spacing.xs};
|
|
1763
|
-
`,Cg=t.div`
|
|
1764
|
-
display: flex;
|
|
1765
1763
|
`,Eg=t.div`
|
|
1766
1764
|
display: flex;
|
|
1765
|
+
`,Ig=t.div`
|
|
1766
|
+
display: flex;
|
|
1767
1767
|
flex-direction: ${({$position:e})=>{switch(e){case exports.RadioPosition.left:return"row";case exports.RadioPosition.right:return"row-reverse";default:throw new Error("unexpected enum values RadioPosition in radioBaseWithLabel.style.ts")}}};
|
|
1768
1768
|
column-gap: ${({theme:e})=>e.spacing.sm};
|
|
1769
1769
|
align-items: start;
|
|
1770
1770
|
justify-content: left;
|
|
1771
|
-
`,
|
|
1771
|
+
`,Sg=t.div`
|
|
1772
1772
|
position: relative;
|
|
1773
|
-
top: calc((${
|
|
1773
|
+
top: calc((${yg} - ${e=>e.theme.font.lineHeight.body.sm}) / 2);
|
|
1774
1774
|
display: flex;
|
|
1775
1775
|
gap: ${e=>e.theme.spacing.xxs};
|
|
1776
1776
|
align-items: center;
|
|
@@ -1788,11 +1788,11 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1788
1788
|
font-weight: inherit;
|
|
1789
1789
|
color: inherit;
|
|
1790
1790
|
}
|
|
1791
|
-
`,
|
|
1791
|
+
`,Mg=e=>Ci.encode((e=>`\n\t\t<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t<circle cx="8" cy="8" r="8" fill="${e}"/>\n\t\t</svg>\n`)(e)),_g=e.forwardRef((function(n,r){const{disabled:o,id:i,isError:a,name:s,onBlur:l,onChange:u,value:c}=n,d=t.useTheme(),p=e.useMemo((()=>Mg(d.colors.icon.brand.light)),[d]),h=e.useMemo((()=>Mg(d.colors.icon.neutral.light)),[d]),f=e.useMemo((()=>void 0!==i?i:Ci.encode(Math.random().toString())),[i]);return e.createElement(xg,null,e.createElement(kg,{$checkedBackground:p,$checkedDisabledBackground:h,$isError:!0===a,disabled:o,id:f,name:s,ref:r,type:"radio",value:c,onBlur:l,onChange:u}),e.createElement(wg,{$isError:!0===a}))})),Tg=e.forwardRef((function(n,r){const{errorMessage:o,id:i,isError:a=!1,label:s,position:l=exports.RadioPosition.left}=n,u=ls(n,["errorMessage","id","isError","label","position"]),c=t.useTheme(),d=Ym(i);return e.createElement(Cg,null,e.createElement(Ig,{$position:l},e.createElement(Eg,null,e.createElement(_g,Object.assign({},u,{id:d,isError:a,ref:r}))),void 0!==s&&e.createElement(Sg,null,e.createElement(B,{color:a?c.colors.fg.error.light:c.colors.fg.neutral.subtle.light,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},e.createElement("label",{htmlFor:d},s.label)),void 0!==s.tooltip&&e.createElement(Fs,{floatingElement:s.tooltip}))),void 0!==o&&e.createElement(B,{color:c.colors.fg.error.light,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},o))})),Dg=t.div`
|
|
1792
1792
|
display: flex;
|
|
1793
1793
|
flex-direction: column;
|
|
1794
1794
|
row-gap: ${({theme:e})=>e.spacing.xs};
|
|
1795
|
-
`,
|
|
1795
|
+
`,Lg=t.input`
|
|
1796
1796
|
position: absolute;
|
|
1797
1797
|
grid-area: input;
|
|
1798
1798
|
width: 0;
|
|
@@ -1832,7 +1832,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1832
1832
|
background-color: ${({$chooseColor:e,theme:t})=>e(t.colors.bg.disabled)};
|
|
1833
1833
|
border-color: ${({$chooseColor:e,theme:t})=>e(t.colors.border.disabled)};
|
|
1834
1834
|
}
|
|
1835
|
-
`,
|
|
1835
|
+
`,Ag=t.label`
|
|
1836
1836
|
position: relative;
|
|
1837
1837
|
box-sizing: border-box;
|
|
1838
1838
|
display: flex;
|
|
@@ -1853,9 +1853,9 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1853
1853
|
border-style: solid;
|
|
1854
1854
|
border-width: 1px;
|
|
1855
1855
|
border-radius: ${({theme:e})=>e.borderRadius.xs};
|
|
1856
|
-
`,
|
|
1856
|
+
`,Ng=t.span`
|
|
1857
1857
|
grid-area: error;
|
|
1858
|
-
`,
|
|
1858
|
+
`,Og=e.forwardRef((function(n,r){const{checked:o,disabled:i,errorMessage:a,id:s,invalid:l=!1,label:u,name:c,onBlur:d,onChange:p,value:h}=n,f=Ym(s),m=t.useTheme(),{chooseColor:g}=N(n);return e.createElement(Dg,null,e.createElement(Lg,{$chooseColor:g,$invalid:l,checked:o,disabled:i,id:f,name:c,ref:r,type:"radio",value:h,onBlur:d,onChange:p}),e.createElement(Ag,{$chooseColor:g,$invalid:l,htmlFor:f},void 0!==u.top&&e.createElement(B,{color:l?m.colors.fg.error.light:"inherit",textAlign:exports.TypographyTextAlign.center,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},u.top),e.createElement(B,{color:l?m.colors.fg.error.light:"inherit",textAlign:exports.TypographyTextAlign.center,variant:exports.TypographyVariant.textMd,weight:exports.FontWeight.medium500},u.main)),void 0!==a&&e.createElement(Ng,null,e.createElement(B,{color:m.colors.fg.error.light,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.regular400},a)))})),Pg=t.div`
|
|
1859
1859
|
box-sizing: border-box;
|
|
1860
1860
|
display: flex;
|
|
1861
1861
|
flex-wrap: wrap;
|
|
@@ -1867,7 +1867,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1867
1867
|
grid-template-columns: repeat(${e}, 1fr);
|
|
1868
1868
|
grid-auto-rows: 1fr;
|
|
1869
1869
|
`}
|
|
1870
|
-
`,
|
|
1870
|
+
`,Rg=t.div`
|
|
1871
1871
|
box-sizing: border-box;
|
|
1872
1872
|
flex: 1;
|
|
1873
1873
|
align-content: center;
|
|
@@ -1879,7 +1879,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1879
1879
|
height: 100%;
|
|
1880
1880
|
}
|
|
1881
1881
|
`};
|
|
1882
|
-
`,Rg=e.forwardRef(((t,n)=>{const{controlWidth:r,disabled:o,gridColumns:i,hasError:a=!1,itemMinWidth:s,items:l,name:u,onBlur:c,onChange:d,value:p}=t,{colorScheme:h}=N(t);return e.createElement(Og,{$controlWidth:r,$gridColumns:i},l.map((t=>{const r=void 0===p?void 0:t.value===p;return e.createElement(Pg,{key:t.value,$arrangeInGrid:void 0!==i,$itemMinWidth:s},e.createElement(Ng,{checked:r,colorScheme:h,disabled:o,id:t.id,invalid:a,label:t.label,name:u,ref:n,value:t.value,onBlur:c,onChange:d}))})))}));Rg.displayName="RadioButtonGroupControl";const Vg=Pf(Rg);var Bg=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function $g(t){var n=t.defaultInputValue,r=void 0===n?"":n,o=t.defaultMenuIsOpen,i=void 0!==o&&o,a=t.defaultValue,s=void 0===a?null:a,l=t.inputValue,u=t.menuIsOpen,c=t.onChange,d=t.onInputChange,p=t.onMenuClose,h=t.onMenuOpen,f=t.value,m=Xo(t,Bg),g=Do(e.useState(void 0!==l?l:r),2),v=g[0],b=g[1],y=Do(e.useState(void 0!==u?u:i),2),x=y[0],k=y[1],w=Do(e.useState(void 0!==f?f:s),2),C=w[0],E=w[1],I=e.useCallback((function(e,t){"function"==typeof c&&c(e,t),E(e)}),[c]),S=e.useCallback((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),b(void 0!==n?n:e)}),[d]),M=e.useCallback((function(){"function"==typeof h&&h(),k(!0)}),[h]),_=e.useCallback((function(){"function"==typeof p&&p(),k(!1)}),[p]),T=void 0!==l?l:v,D=void 0!==u?u:x,L=void 0!==f?f:C;return So(So({},m),{},{inputValue:T,menuIsOpen:D,onChange:I,onInputChange:S,onMenuClose:_,onMenuOpen:M,value:L})}function Wg(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,Co(r.key),r)}}function Fg(e,t){return Fg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fg(e,t)}function Hg(e){return Hg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hg(e)}function jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jg=function(){return!!e})()}function zg(e,t){if(t&&("object"==wo(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)}var Gg=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Zg="-ms-",Yg="-moz-",Xg="-webkit-",Ug="comm",Jg="rule",Qg="decl",Kg="@keyframes",qg=Math.abs,ev=String.fromCharCode,tv=Object.assign;function nv(e){return e.trim()}function rv(e,t,n){return e.replace(t,n)}function ov(e,t){return e.indexOf(t)}function iv(e,t){return 0|e.charCodeAt(t)}function av(e,t,n){return e.slice(t,n)}function sv(e){return e.length}function lv(e){return e.length}function uv(e,t){return t.push(e),e}var cv=1,dv=1,pv=0,hv=0,fv=0,mv="";function gv(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:cv,column:dv,length:a,return:""}}function vv(e,t){return tv(gv("",null,null,"",null,null,0),e,{length:-e.length},t)}function bv(){return fv=hv>0?iv(mv,--hv):0,dv--,10===fv&&(dv=1,cv--),fv}function yv(){return fv=hv<pv?iv(mv,hv++):0,dv++,10===fv&&(dv=1,cv++),fv}function xv(){return iv(mv,hv)}function kv(){return hv}function wv(e,t){return av(mv,e,t)}function Cv(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 Ev(e){return cv=dv=1,pv=sv(mv=e),hv=0,[]}function Iv(e){return mv="",e}function Sv(e){return nv(wv(hv-1,Tv(91===e?e+2:40===e?e+1:e)))}function Mv(e){for(;(fv=xv())&&fv<33;)yv();return Cv(e)>2||Cv(fv)>3?"":" "}function _v(e,t){for(;--t&&yv()&&!(fv<48||fv>102||fv>57&&fv<65||fv>70&&fv<97););return wv(e,kv()+(t<6&&32==xv()&&32==yv()))}function Tv(e){for(;yv();)switch(fv){case e:return hv;case 34:case 39:34!==e&&39!==e&&Tv(fv);break;case 40:41===e&&Tv(e);break;case 92:yv()}return hv}function Dv(e,t){for(;yv()&&e+fv!==57&&(e+fv!==84||47!==xv()););return"/*"+wv(t,hv-1)+"*"+ev(47===e?e:yv())}function Lv(e){for(;!Cv(xv());)yv();return wv(e,hv)}function Av(e){return Iv(Nv("",null,null,null,[""],e=Ev(e),0,[0],e))}function Nv(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,h=0,f=0,m=1,g=1,v=1,b=0,y="",x=o,k=i,w=r,C=y;g;)switch(f=b,b=yv()){case 40:if(108!=f&&58==iv(C,d-1)){-1!=ov(C+=rv(Sv(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=Sv(b);break;case 9:case 10:case 13:case 32:C+=Mv(f);break;case 92:C+=_v(kv()-1,7);continue;case 47:switch(xv()){case 42:case 47:uv(Pv(Dv(yv(),kv()),t,n),l);break;default:C+="/"}break;case 123*m:s[u++]=sv(C)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+c:-1==v&&(C=rv(C,/\f/g,"")),h>0&&sv(C)-d&&uv(h>32?Rv(C+";",r,n,d-1):Rv(rv(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(uv(w=Ov(C,t,n,u,c,o,s,y,x=[],k=[],d),i),123===b)if(0===c)Nv(C,t,w,w,x,i,d,s,k);else switch(99===p&&110===iv(C,3)?100:p){case 100:case 108:case 109:case 115:Nv(e,w,w,r&&uv(Ov(e,w,w,0,0,o,s,y,o,x=[],d),k),o,k,d,s,r?x:k);break;default:Nv(C,w,w,w,[""],k,0,s,k)}}u=c=h=0,m=v=1,y=C="",d=a;break;case 58:d=1+sv(C),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==bv())continue;switch(C+=ev(b),b*m){case 38:v=c>0?1:(C+="\f",-1);break;case 44:s[u++]=(sv(C)-1)*v,v=1;break;case 64:45===xv()&&(C+=Sv(yv())),p=xv(),c=d=sv(y=C+=Lv(kv())),b++;break;case 45:45===f&&2==sv(C)&&(m=0)}}return i}function Ov(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,p=0===o?i:[""],h=lv(p),f=0,m=0,g=0;f<r;++f)for(var v=0,b=av(e,d+1,d=qg(m=a[f])),y=e;v<h;++v)(y=nv(m>0?p[v]+" "+b:rv(b,/&\f/g,p[v])))&&(l[g++]=y);return gv(e,t,n,0===o?Jg:s,l,u,c)}function Pv(e,t,n){return gv(e,t,n,Ug,ev(fv),av(e,2,-2),0)}function Rv(e,t,n,r){return gv(e,t,n,Qg,av(e,0,r),av(e,r+1,-1),r)}function Vv(e,t){for(var n="",r=lv(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Bv(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Qg:return e.return=e.return||e.value;case Ug:return"";case Kg:return e.return=e.value+"{"+Vv(e.children,r)+"}";case Jg:e.value=e.props.join(",")}return sv(n=Vv(e.children,r))?e.return=e.value+"{"+n+"}":""}function $v(e){var t=lv(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function Wv(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Fv=function(e,t,n){for(var r=0,o=0;r=o,o=xv(),38===r&&12===o&&(t[n]=1),!Cv(o);)yv();return wv(e,hv)},Hv=function(e,t){return Iv(function(e,t){var n=-1,r=44;do{switch(Cv(r)){case 0:38===r&&12===xv()&&(t[n]=1),e[n]+=Fv(hv-1,t,n);break;case 2:e[n]+=Sv(r);break;case 4:if(44===r){e[++n]=58===xv()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ev(r)}}while(r=yv());return e}(Ev(e),t))},jv=new WeakMap,zv=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||jv.get(n))&&!r){jv.set(e,!0);for(var o=[],i=Hv(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Gv=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Zv=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Yv=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Xv=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Uv=function(e,t,n){Yv(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Xv(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Yv(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Xv(e)))};function Jv(e,t){switch(function(e,t){return 45^iv(e,0)?(((t<<2^iv(e,0))<<2^iv(e,1))<<2^iv(e,2))<<2^iv(e,3):0}(e,t)){case 5103:return Xg+"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 Xg+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xg+e+Yg+e+Zg+e+e;case 6828:case 4268:return Xg+e+Zg+e+e;case 6165:return Xg+e+Zg+"flex-"+e+e;case 5187:return Xg+e+rv(e,/(\w+).+(:[^]+)/,Xg+"box-$1$2"+Zg+"flex-$1$2")+e;case 5443:return Xg+e+Zg+"flex-item-"+rv(e,/flex-|-self/,"")+e;case 4675:return Xg+e+Zg+"flex-line-pack"+rv(e,/align-content|flex-|-self/,"")+e;case 5548:return Xg+e+Zg+rv(e,"shrink","negative")+e;case 5292:return Xg+e+Zg+rv(e,"basis","preferred-size")+e;case 6060:return Xg+"box-"+rv(e,"-grow","")+Xg+e+Zg+rv(e,"grow","positive")+e;case 4554:return Xg+rv(e,/([^-])(transform)/g,"$1"+Xg+"$2")+e;case 6187:return rv(rv(rv(e,/(zoom-|grab)/,Xg+"$1"),/(image-set)/,Xg+"$1"),e,"")+e;case 5495:case 3959:return rv(e,/(image-set\([^]*)/,Xg+"$1$`$1");case 4968:return rv(rv(e,/(.+:)(flex-)?(.*)/,Xg+"box-pack:$3"+Zg+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xg+e+e;case 4095:case 3583:case 4068:case 2532:return rv(e,/(.+)-inline(.+)/,Xg+"$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(sv(e)-1-t>6)switch(iv(e,t+1)){case 109:if(45!==iv(e,t+4))break;case 102:return rv(e,/(.+:)(.+)-([^]+)/,"$1"+Xg+"$2-$3$1"+Yg+(108==iv(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ov(e,"stretch")?Jv(rv(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==iv(e,t+1))break;case 6444:switch(iv(e,sv(e)-3-(~ov(e,"!important")&&10))){case 107:return rv(e,":",":"+Xg)+e;case 101:return rv(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xg+(45===iv(e,14)?"inline-":"")+"box$3$1"+Xg+"$2$3$1"+Zg+"$2box$3")+e}break;case 5936:switch(iv(e,t+11)){case 114:return Xg+e+Zg+rv(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xg+e+Zg+rv(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xg+e+Zg+rv(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xg+e+Zg+e+e}return e}var Qv,Kv,qv="undefined"!=typeof document,eb=qv?void 0:(Qv=function(){return Wv((function(){var e={};return function(t){return e[t]}}))},Kv=new WeakMap,function(e){if(Kv.has(e))return Kv.get(e);var t=Qv(e);return Kv.set(e,t),t}),tb=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Qg:e.return=Jv(e.value,e.length);break;case Kg:return Vv([vv(e,{value:rv(e.value,"@","@"+Xg)})],r);case Jg:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Vv([vv(e,{props:[rv(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Vv([vv(e,{props:[rv(t,/:(plac\w+)/,":"+Xg+"input-$1")]}),vv(e,{props:[rv(t,/:(plac\w+)/,":-moz-$1")]}),vv(e,{props:[rv(t,/:(plac\w+)/,Zg+"input-$1")]})],r)}return""}))}}],nb=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(qv&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||tb;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];qv&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l,u=[zv,Gv];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Zv(s))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),Uv),qv){var c,d=[Bv,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==Ug&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=$v(u.concat(r,d));i=function(e,t,n,r){c=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){n.insert(e+t.map)}}),Vv(Av(e?e+"{"+t.styles+"}":t.styles),p),r&&(v.inserted[t.name]=!0)}}else{var h=[Bv],f=$v(u.concat(r,h)),m=eb(r)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=Vv(Av(e?e+"{"+t.styles+"}":t.styles),f)),m[n]};i=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new Gg({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return v.sheet.hydrate(s),v},rb="undefined"!=typeof document;function ob(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var ib=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===rb&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ab=function(e,t,n){ib(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);rb||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!rb&&0!==o.length)return o}};var sb={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},lb="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ub="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",cb=/[A-Z]|^ms/g,db=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pb=function(e){return 45===e.charCodeAt(1)},hb=function(e){return null!=e&&"boolean"!=typeof e},fb=Wv((function(e){return pb(e)?e:e.replace(cb,"-$&").toLowerCase()})),mb=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(db,(function(e,t,n){return Ib={name:t,styles:n,next:Ib},t}))}return 1===sb[e]||pb(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var gb=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,vb=["normal","none","initial","inherit","unset"],bb=mb,yb=/^-ms-/,xb=/-(.)/g,kb={};mb=function(e,t){if("content"===e&&("string"!=typeof t||-1===vb.indexOf(t)&&!gb.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=bb(e,t);return""===n||pb(e)||-1===e.indexOf("-")||void 0!==kb[e]||(kb[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(yb,"ms-").replace(xb,(function(e,t){return t.toUpperCase()}))+"?")),n}}var wb="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Cb(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(wb);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Ib={name:n.name,styles:n.styles,next:Ib},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ib={name:r.name,styles:r.styles,next:Ib},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Cb(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":hb(a)&&(r+=fb(i)+":"+mb(i,a)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(wb);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Cb(e,t,a);switch(i){case"animation":case"animationName":r+=fb(i)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(ub),r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)hb(a[l])&&(r+=fb(i)+":"+mb(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=Ib,a=n(e);return Ib=i,Cb(e,t,a)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var s=[],l=n.replace(db,(function(e,t,n){var r="animation"+s.length;return s.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return n;var u=t[n];return void 0!==u?u:n}var Eb,Ib,Sb=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Eb=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Mb=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ib=void 0;var i,a=e[0];null==a||void 0===a.raw?(r=!1,o+=Cb(n,t,a)):("production"!==process.env.NODE_ENV&&void 0===a[0]&&console.error(lb),o+=a[0]);for(var s=1;s<e.length;s++)o+=Cb(n,t,e[s]),r&&("production"!==process.env.NODE_ENV&&void 0===a[s]&&console.error(lb),o+=a[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Eb,(function(e){return i=e,""}))),Sb.lastIndex=0;for(var l,u="";null!==(l=Sb.exec(o));)u+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:o,map:i,next:Ib,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:o,next:Ib}},_b="undefined"!=typeof document,Tb=function(e){return e()},Db=!!l.useInsertionEffect&&l.useInsertionEffect,Lb=_b&&Db||Tb,Ab=Db||l.useLayoutEffect,Nb="undefined"!=typeof document,Ob={}.hasOwnProperty,Pb=l.createContext("undefined"!=typeof HTMLElement?nb({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Pb.displayName="EmotionCacheContext"),Pb.Provider;var Rb=function(t){return e.forwardRef((function(n,r){var o=e.useContext(Pb);return t(n,o,r)}))};Nb||(Rb=function(t){return function(n){var r=e.useContext(Pb);return null===r?(r=nb({key:"css"}),l.createElement(Pb.Provider,{value:r},t(n,r))):t(n,r)}});var Vb=l.createContext({});"production"!==process.env.NODE_ENV&&(Vb.displayName="EmotionThemeContext");var Bb=function(e){var t=e.split(".");return t[t.length-1]},$b=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?Bb(t[1]):void 0},Wb=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Fb=function(e){return e.replace(/\$/g,"-")},Hb="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jb="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",zb=function(e,t){if("production"!==process.env.NODE_ENV&&"string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var n={};for(var r in t)Ob.call(t,r)&&(n[r]=t[r]);if(n[Hb]=e,"production"!==process.env.NODE_ENV&&t.css&&("object"!=typeof t.css||"string"!=typeof t.css.name||-1===t.css.name.indexOf("-"))){var o=function(e){if(e)for(var t=e.split("\n"),n=0;n<t.length;n++){var r=$b(t[n]);if(r){if(Wb.has(r))break;if(/^[A-Z]/.test(r))return Fb(r)}}}((new Error).stack);o&&(n[jb]=o)}return n},Gb=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;ib(t,n,r);var o=Lb((function(){return ab(t,n,r)}));if(!Nb&&void 0!==o){for(var i,a=n.name,s=n.next;void 0!==s;)a+=" "+s.name,s=s.next;return l.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},Zb=Rb((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Hb],i=[r],a="";"string"==typeof e.className?a=ob(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Mb(i,void 0,l.useContext(Vb));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var u=e[jb];u&&(s=Mb([s,"label:"+u+";"]))}a+=t.key+"-"+s.name;var c={};for(var d in e)!Ob.call(e,d)||"css"===d||d===Hb||"production"!==process.env.NODE_ENV&&d===jb||(c[d]=e[d]);return c.ref=n,c.className=a,l.createElement(l.Fragment,null,l.createElement(Gb,{cache:t,serialized:s,isStringTag:"string"==typeof o}),l.createElement(o,c))}));"production"!==process.env.NODE_ENV&&(Zb.displayName="EmotionCssPropInternal");var Yb=Zb,Xb=function(e,t){var n=arguments;if(null==t||!Ob.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Yb,o[1]=zb(e,t);for(var i=2;i<r;i++)o[i]=n[i];return l.createElement.apply(null,o)},Ub=!1,Jb=Rb((function(e,t){"production"===process.env.NODE_ENV||Ub||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Ub=!0);var n=e.styles,r=Mb([n],void 0,l.useContext(Vb));if(!Nb){for(var o,i=r.name,a=r.styles,s=r.next;void 0!==s;)i+=" "+s.name,a+=s.styles,s=s.next;var u=!0===t.compat,c=t.insert("",{name:i,styles:a},t.sheet,u);return u?null:l.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var d=l.useRef();return Ab((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),d.current=[n,o],function(){n.flush()}}),[t]),Ab((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&ab(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function Qb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mb(t)}"production"!==process.env.NODE_ENV&&(Jb.displayName="EmotionGlobal");var Kb=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in"production"!==process.env.NODE_ENV&&void 0!==i.styles&&void 0!==i.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};var qb=function(e){var t,n=e.cache,r=e.serializedArr,o=Lb((function(){for(var e="",t=0;t<r.length;t++){var o=ab(n,r[t],!1);Nb||void 0===o||(e+=o)}if(!Nb)return e}));return Nb||0===o.length?null:l.createElement("style",((t={})["data-emotion"]=n.key+" "+r.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:o},t.nonce=n.sheet.nonce,t))},ey=Rb((function(e,t){var n=!1,r=[],o=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a=Mb(o,t.registered);return r.push(a),ib(t,a,!1),t.key+"-"+a.name},i={css:o,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return function(e,t,n){var r=[],o=ob(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,Kb(r))},theme:l.useContext(Vb)},a=e.children(i);return n=!0,l.createElement(l.Fragment,null,l.createElement(qb,{cache:t,serializedArr:r}),a)}));if("production"!==process.env.NODE_ENV&&(ey.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var ty="undefined"!=typeof document,ny="undefined"!=typeof jest||"undefined"!=typeof vi;if(ty&&!ny){var ry="undefined"!=typeof globalThis?globalThis:ty?window:global,oy="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";ry[oy]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),ry[oy]=!0}}var iy="undefined"!=typeof document?e.useLayoutEffect:e.useEffect,ay=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],sy=function(){};function ly(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function uy(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(ly(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var cy=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===wo(e)&&null!==e?[e]:[];var t},dy=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,So({},Xo(e,ay))},py=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function hy(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function fy(e){return hy(e)?window.pageYOffset:e.scrollTop}function my(e,t){hy(e)?window.scrollTo(0,t):e.scrollTop=t}function gy(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:sy,o=fy(e),i=t-o,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);my(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function vy(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?my(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&my(e,Math.max(t.offsetTop-o,0))}function by(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var yy=!1,xy={get passive(){return yy=!0}},ky="undefined"!=typeof window?window:{};ky.addEventListener&&ky.removeEventListener&&(ky.addEventListener("p",sy,xy),ky.removeEventListener("p",sy,!1));var wy=yy;function Cy(e){return null!=e}function Ey(e,t,n){return e?t:n}var Iy=["children","innerProps"],Sy=["children","innerProps"];function My(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:hy(c=l)?window.innerHeight:c.clientHeight,b=fy(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),k=g-x,w=v-m,C=k+b,E=d-b-m,I=h-v+b+y,S=b+m-x,M=160;switch(o){case"auto":case"bottom":if(w>=f)return{placement:"bottom",maxHeight:t};if(E>=f&&!a)return i&&gy(l,I,M),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&w>=r)return i&&gy(l,I,M),{placement:"bottom",maxHeight:a?w-y:E-y};if("auto"===o||a){var _=t,T=a?k:C;return T>=r&&(_=Math.min(T-y-s,t)),{placement:"top",maxHeight:_}}if("bottom"===o)return i&&my(l,I),{placement:"bottom",maxHeight:t};break;case"top":if(k>=f)return{placement:"top",maxHeight:t};if(C>=f&&!a)return i&&gy(l,S,M),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&k>=r){var D=t;return(!a&&C>=r||a&&k>=r)&&(D=a?k-x:C-x),i&&gy(l,S,M),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var _y,Ty=function(e){return"auto"===e?"bottom":e},Dy=e.createContext(null),Ly=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=(e.useContext(Dy)||{}).setPortalPlacement,c=e.useRef(null),d=Do(e.useState(o),2),p=d[0],h=d[1],f=Do(e.useState(null),2),m=f[0],g=f[1],v=l.spacing.controlHeight;return iy((function(){var e=c.current;if(e){var t="fixed"===a,n=My({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});h(n.maxHeight),g(n.placement),null==u||u(n.placement)}}),[o,i,a,s,r,u,v]),n({ref:c,placerProps:So(So({},t),{},{placement:m||Ty(i),maxHeight:p})})},Ay=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Xb("div",Zo({},py(e,"menu",{menu:!0}),{ref:n},r),t)},Ny=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return So({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Oy=Ny,Py=Ny,Ry=["size"],Vy=["innerProps","isRtl","size"];var By="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09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luZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},$y=function(e){var t=e.size,n=Xo(e,Ry);return Xb("svg",Zo({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:By},n))},Wy=function(e){return Xb($y,Zo({size:20},e),Xb("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Fy=function(e){return Xb($y,Zo({size:20},e),Xb("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Hy=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return So({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},jy=Hy,zy=Hy,Gy=function(){var e=Qb.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(_y||(_y=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),Zy=function(e){var t=e.delay,n=e.offset;return Xb("span",{css:Qb({animation:"".concat(Gy," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N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gICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},Yy=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Xb("div",Zo({ref:o},py(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Xy=["data"],Uy=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,u=e.theme,c=e.selectProps;return Xb("div",Zo({},py(e,"group",{group:!0}),s),Xb(i,Zo({},a,{selectProps:c,theme:u,getStyles:r,getClassNames:o,cx:n}),l),Xb("div",null,t))},Jy=["innerRef","isDisabled","isHidden","inputClassName"],Qy={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ky={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":So({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Qy)},qy=function(e){return So({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Qy)},ex=function(e){var t=e.cx,n=e.value,r=dy(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Xo(r,Jy);return Xb("div",Zo({},py(e,"input",{"input-container":!0}),{"data-value":n||""}),Xb("input",Zo({className:t({input:!0},s),ref:o,style:qy(a),disabled:i},l)))},tx=function(e){var t=e.children,n=e.innerProps;return Xb("div",n,t)};var nx=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,u=n.Label,c=n.Remove;return Xb(l,{data:r,innerProps:So(So({},py(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Xb(u,{data:r,innerProps:So({},py(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Xb(c,{data:r,innerProps:So(So({},py(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},rx={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Xb("div",Zo({},py(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Xb(Wy,null))},Control:Yy,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Xb("div",Zo({},py(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Xb(Fy,null))},DownChevron:Fy,CrossIcon:Wy,Group:Uy,GroupHeading:function(e){var t=dy(e);t.data;var n=Xo(t,Xy);return Xb("div",Zo({},py(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Xb("div",Zo({},py(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Xb("span",Zo({},t,py(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ex,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Xo(e,Vy);return Xb("div",Zo({},py(So(So({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Xb(Zy,{delay:0,offset:n}),Xb(Zy,{delay:160,offset:!0}),Xb(Zy,{delay:320,offset:!n}))},Menu:Ay,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Xb("div",Zo({},py(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(t){var r=t.appendTo,o=t.children,i=t.controlElement,a=t.innerProps,s=t.menuPlacement,l=t.menuPosition,u=e.useRef(null),c=e.useRef(null),d=Do(e.useState(Ty(s)),2),p=d[0],h=d[1],f=e.useMemo((function(){return{setPortalPlacement:h}}),[]),m=Do(e.useState(null),2),g=m[0],v=m[1],b=e.useCallback((function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||v({offset:n,rect:e})}}),[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);iy((function(){b()}),[b]);var y=e.useCallback((function(){"function"==typeof c.current&&(c.current(),c.current=null),i&&u.current&&(c.current=Qn(i,u.current,b,{elementResize:"ResizeObserver"in window}))}),[i,b]);iy((function(){y()}),[y]);var x=e.useCallback((function(e){u.current=e,y()}),[y]);if(!r&&"fixed"!==l||!g)return null;var k=Xb("div",Zo({ref:x},py(So(So({},t),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),o);return Xb(Dy.Provider,{value:f},r?n.createPortal(k,r):k)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Xo(e,Sy);return Xb("div",Zo({},py(So(So({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=Xo(e,Iy);return Xb("div",Zo({},py(So(So({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:nx,MultiValueContainer:tx,MultiValueLabel:tx,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Xb("div",Zo({role:"button"},n),t||Xb(Wy,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Xb("div",Zo({},py(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Xb("div",Zo({},py(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Xb("div",Zo({},py(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Xb("div",Zo({},py(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Xb("div",Zo({},py(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},ox=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ix(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||ox(r)&&ox(o)))return!1;var r,o;return!0}for(var ax="production"===process.env.NODE_ENV?{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"}:{name:"1f43avz-a11yText-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;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},sx=function(e){return Xb("span",Zo({css:ax},e))},lx={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,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=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(c(a,n),".");if("menu"===t&&u){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ux=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.focusableOptions,a=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,f=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,b=l.options,y=l.screenReaderStatus,x=l.tabSelectsValue,k=l.isLoading,w=l["aria-label"],C=l["aria-live"],E=e.useMemo((function(){return So(So({},lx),d||{})}),[d]),I=e.useMemo((function(){var e,t="";if(n&&E.onChange){var r=n.option,o=n.options,i=n.removedValue,a=n.removedValues,l=n.value,u=i||r||(e=l,Array.isArray(e)?null:e),c=u?p(u):"",d=o||a||void 0,h=d?d.map(p):[],f=So({isDisabled:u&&m(u,s),label:c,labels:h},n);t=E.onChange(f)}return t}),[n,E,m,s,p]),S=e.useMemo((function(){var e="",t=r||o,n=!!(r&&s&&s.includes(r));if(t&&E.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:s,isAppleDevice:c};e=E.onFocus(a)}return e}),[r,o,p,m,E,i,s,c]),M=e.useMemo((function(){var e="";if(v&&b.length&&!k&&E.onFilter){var t=y({count:i.length});e=E.onFilter({inputValue:h,resultsMessage:t})}return e}),[i,h,v,E,b,y,k]),_="initial-input-focus"===(null==n?void 0:n.action),T=e.useMemo((function(){var e="";if(E.guidance){var t=o?"value":v?"menu":"input";e=E.guidance({"aria-label":w,context:t,isDisabled:r&&m(r,s),isMulti:f,isSearchable:g,tabSelectsValue:x,isInitialFocus:_})}return e}),[w,r,o,f,m,g,v,E,s,x,_]),D=Xb(e.Fragment,null,Xb("span",{id:"aria-selection"},I),Xb("span",{id:"aria-focused"},S),Xb("span",{id:"aria-results"},M),Xb("span",{id:"aria-guidance"},T));return Xb(e.Fragment,null,Xb(sx,{id:u},_&&D),Xb(sx,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!_&&D))},cx=[{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źẑżžẓẕƶȥɀⱬꝣ"}],dx=new RegExp("["+cx.map((function(e){return e.letters})).join("")+"]","g"),px={},hx=0;hx<cx.length;hx++)for(var fx=cx[hx],mx=0;mx<fx.letters.length;mx++)px[fx.letters[mx]]=fx.base;var gx=function(e){return e.replace(dx,(function(e){return px[e]}))},vx=function(e,t){void 0===t&&(t=ix);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}(gx),bx=function(e){return e.replace(/^\s+|\s+$/g,"")},yx=function(e){return"".concat(e.label," ").concat(e.value)},xx=["innerRef"];function kx(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=Do(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=Do(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(Xo(e,xx),"onExited","in","enter","exit","appear");return Xb("input",Zo({ref:t},n,{css:Qb({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var wx=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};var Cx=["boxSizing","height","overflow","paddingRight","position"],Ex={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ix(e){e.preventDefault()}function Sx(e){e.stopPropagation()}function Mx(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function _x(){return"ontouchstart"in window||navigator.maxTouchPoints}var Tx=!("undefined"==typeof window||!window.document||!window.document.createElement),Dx=0,Lx={capture:!1,passive:!1};var Ax=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Nx="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdm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sgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Ox(t){var n=t.children,r=t.lockEnabled,o=t.captureEnabled,i=function(t){var n=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,s=e.useRef(!1),l=e.useRef(!1),u=e.useRef(0),c=e.useRef(null),d=e.useCallback((function(e,t){if(null!==c.current){var n=c.current,u=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,h=c.current,f=t>0,m=d-p-u,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),f&&l.current&&(a&&a(e),l.current=!1),f&&t>m?(r&&!s.current&&r(e),h.scrollTop=d,g=!0,s.current=!0):!f&&-t>u&&(i&&!l.current&&i(e),h.scrollTop=0,g=!0,l.current=!0),g&&wx(e)}}),[r,o,i,a]),p=e.useCallback((function(e){d(e,e.deltaY)}),[d]),h=e.useCallback((function(e){u.current=e.changedTouches[0].clientY}),[]),f=e.useCallback((function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=e.useCallback((function(e){if(e){var t=!!wy&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}}),[f,h,p]),g=e.useCallback((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))}),[f,h,p]);return e.useEffect((function(){if(n){var e=c.current;return m(e),function(){g(e)}}}),[n,m,g]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),a=function(t){var n=t.isEnabled,r=t.accountForScrollbars,o=void 0===r||r,i=e.useRef({}),a=e.useRef(null),s=e.useCallback((function(e){if(Tx){var t=document.body,n=t&&t.style;if(o&&Cx.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&Dx<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Ex).forEach((function(e){var t=Ex[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&_x()&&(t.addEventListener("touchmove",Ix,Lx),e&&(e.addEventListener("touchstart",Mx,Lx),e.addEventListener("touchmove",Sx,Lx))),Dx+=1}}),[o]),l=e.useCallback((function(e){if(Tx){var t=document.body,n=t&&t.style;Dx=Math.max(Dx-1,0),o&&Dx<1&&Cx.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&_x()&&(t.removeEventListener("touchmove",Ix,Lx),e&&(e.removeEventListener("touchstart",Mx,Lx),e.removeEventListener("touchmove",Sx,Lx)))}}),[o]);return e.useEffect((function(){if(n){var e=a.current;return s(e),function(){l(e)}}}),[n,s,l]),function(e){a.current=e}}({isEnabled:r});return Xb(e.Fragment,null,r&&Xb("div",{onClick:Ax,css:Nx}),n((function(e){i(e),a(e)})))}var Px="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Rx=function(e){var t=e.name,n=e.onFocus;return Xb("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Px,value:"",onChange:function(){}})};function Vx(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 Bx(){return Vx(/^Mac/i)}function $x(){return Vx(/^iPhone/i)||Vx(/^iPad/i)||Bx()&&navigator.maxTouchPoints>1}var Wx,Fx=function(e){return e.label},Hx=function(e){return e.value},jx={clearIndicator:zy,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return So({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:jy,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return So({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return So({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return So(So({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ky),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return So({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Py,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return So((Eo(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Eo(n,"position","absolute"),Eo(n,"width","100%"),Eo(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return So({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return So({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return So({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return So({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Oy,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return So({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return So({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return So({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return So({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},zx={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}},Gx={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:by(),captureMenuScroll:!by(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=So({ignoreCase:!0,ignoreAccents:!0,stringify:yx,trim:!0,matchFrom:"any"},Wx),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?bx(t):t,u=a?bx(i(e)):i(e);return r&&(l=l.toLowerCase(),u=u.toLowerCase()),o&&(l=vx(l),u=gx(u)),"start"===s?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:Fx,getOptionValue:Hx,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Zx(e,t,n,r){return{type:"option",data:t,isDisabled:ek(e,t,n),isSelected:tk(e,t,n),label:Kx(e,t),value:qx(e,t),index:r}}function Yx(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Zx(e,n,t,r)})).filter((function(t){return Jx(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Zx(e,n,t,r);return Jx(e,i)?i:void 0})).filter(Cy)}function Xx(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,To(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Ux(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,To(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 Jx(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!rk(e)||!i)&&nk(e,{label:a,value:s,data:o},r)}var Qx=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Kx=function(e,t){return e.getOptionLabel(t)},qx=function(e,t){return e.getOptionValue(t)};function ek(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function tk(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=qx(e,t);return n.some((function(t){return qx(e,t)===r}))}function nk(e,t,n){return!e.filterOption||e.filterOption(t,n)}var rk=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ok=1,ik=function(t){!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&&Fg(e,t)}(r,e.Component);var n=function(e){var t=jg();return function(){var n,r=Hg(e);if(t){var o=Hg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zg(this,n)}}(r);function r(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=n.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:""},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.isAppleDevice=Bx()||$x(),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,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),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,s=o&&t.isOptionSelected(e,a),l=t.isOptionDisabled(e,a);if(s){var u=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(To(a),[e]),"select-option",e):t.setValue(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=Ey(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(Ey(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=Ey(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return Qx(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Ux(Yx(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 uy.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return Kx(t.props,e)},t.getOptionValue=function(e){return qx(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=jx[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 e=t.props,So(So({},rx),e.components);var e},t.buildCategorizedOptions=function(){return Yx(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return Xx(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:So({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&&hy(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 rk(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,s=n.isClearable,l=n.isDisabled,u=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,p=n.openMenuOnFocus,h=t.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof c&&(c(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(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!u||!d||!f||p&&t.isOptionSelected(f,g))return;t.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(u){if(!f)return;if(t.isComposing)return;t.selectOption(f);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!u){t.openMenu("first");break}if(!f)return;t.selectOption(f);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++ok),t.state.selectValue=cy(e.value),e.menuIsOpen&&t.state.selectValue.length){var o=t.getFocusableOptionsWithIds(),i=t.buildFocusableOptions(),a=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=o,t.state.focusedOption=i[a],t.state.focusedOptionId=Qx(o,i[a])}return t}return function(e,t,n){t&&Wg(e.prototype,t),n&&Wg(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{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&&vy(this.menuListRef,this.focusedOptionRef)}},{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&&(vy(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 s=i.indexOf(r[0]);s>-1&&(a=s)}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(zx):So(So({},zx),this.props.theme):zx}},{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,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ek(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return tk(this.props,e,t)}},{key:"filterOption",value:function(e,t){return nk(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,s=e.menuIsOpen,u=e.required,c=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),g=So(So(So({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(c,Zo({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},g)):l.createElement(kx,Zo({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:sy,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},g))}},{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,s=t.Placeholder,u=this.commonProps,c=this.props,d=c.controlShouldRenderValue,p=c.isDisabled,h=c.isMulti,f=c.inputValue,m=c.placeholder,g=this.state,v=g.selectValue,b=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return f?null:l.createElement(s,Zo({},u,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return v.map((function(t,a){var s=t===b,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,Zo({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:c,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var x=v[0];return l.createElement(a,Zo({},u,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,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 l.createElement(e,Zo({},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;if(!e||!o)return null;return l.createElement(e,Zo({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{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 l.createElement(n,Zo({},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 l.createElement(e,Zo({},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,s=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,f=h.captureMenuScroll,m=h.inputValue,g=h.isLoading,v=h.loadingMessage,b=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,k=h.menuPlacement,w=h.menuPosition,C=h.menuPortalTarget,E=h.menuShouldBlockScroll,I=h.menuShouldScrollIntoView,S=h.noOptionsMessage,M=h.onMenuScrollToTop,_=h.onMenuScrollToBottom;if(!x)return null;var T,D=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,h=p===o,f=i?void 0:function(){return e.onOptionHover(o)},m=i?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),v={id:g,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return l.createElement(c,Zo({},d,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:g,label:s,type:r,value:u,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return l.createElement(n,Zo({},d,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return D(t,"".concat(t.index))}));else if(g){var L=v({inputValue:m});if(null===L)return null;T=l.createElement(s,d,L)}else{var A=S({inputValue:m});if(null===A)return null;T=l.createElement(u,d,A)}var N={minMenuHeight:b,maxMenuHeight:y,menuPlacement:k,menuPosition:w,menuShouldScrollIntoView:I},O=l.createElement(Ly,Zo({},d,N),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return l.createElement(o,Zo({},d,N,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),l.createElement(Ox,{captureEnabled:f,onTopArrive:M,onBottomArrive:_,lockEnabled:E},(function(t){return l.createElement(i,Zo({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:p}),T)})))}));return C||"fixed"===w?l.createElement(a,Zo({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:w}),O):O}},{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,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return l.createElement(Rx,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return l.createElement("input",{name:i,type:"hidden",value:u})}var c=s.length>0?s.map((function(t,n){return l.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):l.createElement("input",{name:i,type:"hidden",value:""});return l.createElement("div",null,c)}var d=s[0]?this.getOptionValue(s[0]):"";return l.createElement("input",{name:i,type:"hidden",value:d})}}},{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,s=this.getFocusableOptions();return l.createElement(ux,Zo({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.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,s=i.id,u=i.isDisabled,c=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,Zo({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),l.createElement(t,Zo({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:c}),l.createElement(o,Zo({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,Zo({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,u=e.options,c=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,f=cy(c),m={};if(n&&(c!==n.value||u!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Xx(Yx(e,t))}(e,f):[],v=d?Ux(Yx(e,f),"".concat(l,"-option")):[],b=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,f):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:f,focusedOption:y,focusedOptionId:Qx(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},k=i,w=a&&s;return a&&!w&&(k={value:Ey(h,f,f[0]||null),options:f,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(k=null),So(So(So({},m),x),{},{prevProps:e,ariaSelection:k,prevWasFocused:w})}}]),r}();ik.defaultProps=Gx;var ak=e.forwardRef((function(e,t){var n=$g(e);return l.createElement(ik,Zo({ref:t},n))})),sk=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],lk=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=String(t.getOptionValue(e)).toLowerCase(),o=String(t.getOptionLabel(e)).toLowerCase();return r===n||o===n},uk={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return lk(e,t,r)}))||n.some((function(t){return lk(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function ck(t){var n=t.allowCreateWhileLoading,r=void 0!==n&&n,o=t.createOptionPosition,i=void 0===o?"last":o,a=t.formatCreateLabel,s=void 0===a?uk.formatCreateLabel:a,l=t.isValidNewOption,u=void 0===l?uk.isValidNewOption:l,c=t.getNewOptionData,d=void 0===c?uk.getNewOptionData:c,p=t.onCreateOption,h=t.options,f=void 0===h?[]:h,m=t.onChange,g=Xo(t,sk),v=g.getOptionValue,b=void 0===v?Hx:v,y=g.getOptionLabel,x=void 0===y?Fx:y,k=g.inputValue,w=g.isLoading,C=g.isMulti,E=g.value,I=g.name,S=e.useMemo((function(){return u(k,cy(E),f,{getOptionValue:b,getOptionLabel:x})?d(k,s(k)):void 0}),[s,d,x,b,k,u,f,E]),M=e.useMemo((function(){return!r&&w||!S?f:"first"===i?[S].concat(To(f)):[].concat(To(f),[S])}),[r,i,w,S,f]),_=e.useCallback((function(e,t){if("select-option"!==t.action)return m(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==S)m(e,t);else if(p)p(k);else{var r=d(k,k),o={action:"create-option",name:I,option:r};m(Ey(C,[].concat(To(cy(E)),[r]),r),o)}}),[d,k,C,I,S,p,m,E]);return So(So({},g),{},{options:M,onChange:_})}var dk=e.forwardRef((function(e,t){var n=ck($g(e));return l.createElement(ik,Zo({ref:t},n))})),pk=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function hk(t){var n=t.defaultOptions,r=void 0!==n&&n,o=t.cacheOptions,i=void 0!==o&&o,a=t.loadOptions;t.options;var s=t.isLoading,l=void 0!==s&&s,u=t.onInputChange,c=t.filterOption,d=void 0===c?null:c,p=Xo(t,pk),h=p.inputValue,f=e.useRef(void 0),m=e.useRef(!1),g=Do(e.useState(Array.isArray(r)?r:void 0),2),v=g[0],b=g[1],y=Do(e.useState(void 0!==h?h:""),2),x=y[0],k=y[1],w=Do(e.useState(!0===r),2),C=w[0],E=w[1],I=Do(e.useState(void 0),2),S=I[0],M=I[1],_=Do(e.useState([]),2),T=_[0],D=_[1],L=Do(e.useState(!1),2),A=L[0],N=L[1],O=Do(e.useState({}),2),P=O[0],R=O[1],V=Do(e.useState(void 0),2),B=V[0],$=V[1],W=Do(e.useState(void 0),2),F=W[0],H=W[1];i!==F&&(R({}),H(i)),r!==B&&(b(Array.isArray(r)?r:void 0),$(r)),e.useEffect((function(){return m.current=!0,function(){m.current=!1}}),[]);var j=e.useCallback((function(e,t){if(!a)return t();var n=a(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[a]);e.useEffect((function(){!0===r&&j(x,(function(e){m.current&&(b(e||[]),E(!!f.current))}))}),[]);var z=e.useCallback((function(e,t){var n=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,u);if(!n)return f.current=void 0,k(""),M(""),D([]),E(!1),void N(!1);if(i&&P[n])k(n),M(n),D(P[n]),E(!1),N(!1);else{var r=f.current={};k(n),E(!0),N(!S),j(n,(function(e){m&&r===f.current&&(f.current=void 0,E(!1),M(n),D(e||[]),N(!1),R(e?So(So({},P),{},Eo({},n,e)):P))}))}}),[i,j,S,P,u]),G=A?[]:x&&S?T:v||[];return So(So({},p),{},{options:G,isLoading:C||l,onInputChange:z,filterOption:d})}var fk=e.forwardRef((function(e,t){var n=ck($g(hk(e)));return l.createElement(ik,Zo({ref:t},n))})),mk=e.forwardRef((function(e,t){var n=$g(hk(e));return l.createElement(ik,Zo({ref:t},n))}));const gk=t.div`
|
|
1882
|
+
`,Vg=e.forwardRef(((t,n)=>{const{controlWidth:r,disabled:o,gridColumns:i,invalid:a,itemMinWidth:s,items:l,labelledBy:u,name:c,onBlur:d,onChange:p,value:h}=t,{colorScheme:f}=N(t);return e.createElement(Pg,{$controlWidth:r,$gridColumns:i,"aria-labelledby":u,role:"radiogroup"},l.map((t=>{const r=void 0===h?void 0:t.value===h;return e.createElement(Rg,{key:t.value,$arrangeInGrid:void 0!==i,$itemMinWidth:s},e.createElement(Og,{checked:r,colorScheme:f,disabled:o,id:t.id,invalid:a,label:t.label,name:c,ref:n,value:t.value,onBlur:d,onChange:p}))})))}));Vg.displayName="RadioButtonGroupControl";const Bg=Rf(Vg);var $g=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Wg(t){var n=t.defaultInputValue,r=void 0===n?"":n,o=t.defaultMenuIsOpen,i=void 0!==o&&o,a=t.defaultValue,s=void 0===a?null:a,l=t.inputValue,u=t.menuIsOpen,c=t.onChange,d=t.onInputChange,p=t.onMenuClose,h=t.onMenuOpen,f=t.value,m=Xo(t,$g),g=Do(e.useState(void 0!==l?l:r),2),v=g[0],b=g[1],y=Do(e.useState(void 0!==u?u:i),2),x=y[0],k=y[1],w=Do(e.useState(void 0!==f?f:s),2),C=w[0],E=w[1],I=e.useCallback((function(e,t){"function"==typeof c&&c(e,t),E(e)}),[c]),S=e.useCallback((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),b(void 0!==n?n:e)}),[d]),M=e.useCallback((function(){"function"==typeof h&&h(),k(!0)}),[h]),_=e.useCallback((function(){"function"==typeof p&&p(),k(!1)}),[p]),T=void 0!==l?l:v,D=void 0!==u?u:x,L=void 0!==f?f:C;return So(So({},m),{},{inputValue:T,menuIsOpen:D,onChange:I,onInputChange:S,onMenuClose:_,onMenuOpen:M,value:L})}function Fg(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,Co(r.key),r)}}function Hg(e,t){return Hg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hg(e,t)}function jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}function zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zg=function(){return!!e})()}function Gg(e,t){if(t&&("object"==wo(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)}var Zg=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Yg="-ms-",Xg="-moz-",Ug="-webkit-",Jg="comm",Qg="rule",Kg="decl",qg="@keyframes",ev=Math.abs,tv=String.fromCharCode,nv=Object.assign;function rv(e){return e.trim()}function ov(e,t,n){return e.replace(t,n)}function iv(e,t){return e.indexOf(t)}function av(e,t){return 0|e.charCodeAt(t)}function sv(e,t,n){return e.slice(t,n)}function lv(e){return e.length}function uv(e){return e.length}function cv(e,t){return t.push(e),e}var dv=1,pv=1,hv=0,fv=0,mv=0,gv="";function vv(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:dv,column:pv,length:a,return:""}}function bv(e,t){return nv(vv("",null,null,"",null,null,0),e,{length:-e.length},t)}function yv(){return mv=fv>0?av(gv,--fv):0,pv--,10===mv&&(pv=1,dv--),mv}function xv(){return mv=fv<hv?av(gv,fv++):0,pv++,10===mv&&(pv=1,dv++),mv}function kv(){return av(gv,fv)}function wv(){return fv}function Cv(e,t){return sv(gv,e,t)}function Ev(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 Iv(e){return dv=pv=1,hv=lv(gv=e),fv=0,[]}function Sv(e){return gv="",e}function Mv(e){return rv(Cv(fv-1,Dv(91===e?e+2:40===e?e+1:e)))}function _v(e){for(;(mv=kv())&&mv<33;)xv();return Ev(e)>2||Ev(mv)>3?"":" "}function Tv(e,t){for(;--t&&xv()&&!(mv<48||mv>102||mv>57&&mv<65||mv>70&&mv<97););return Cv(e,wv()+(t<6&&32==kv()&&32==xv()))}function Dv(e){for(;xv();)switch(mv){case e:return fv;case 34:case 39:34!==e&&39!==e&&Dv(mv);break;case 40:41===e&&Dv(e);break;case 92:xv()}return fv}function Lv(e,t){for(;xv()&&e+mv!==57&&(e+mv!==84||47!==kv()););return"/*"+Cv(t,fv-1)+"*"+tv(47===e?e:xv())}function Av(e){for(;!Ev(kv());)xv();return Cv(e,fv)}function Nv(e){return Sv(Ov("",null,null,null,[""],e=Iv(e),0,[0],e))}function Ov(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,h=0,f=0,m=1,g=1,v=1,b=0,y="",x=o,k=i,w=r,C=y;g;)switch(f=b,b=xv()){case 40:if(108!=f&&58==av(C,d-1)){-1!=iv(C+=ov(Mv(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=Mv(b);break;case 9:case 10:case 13:case 32:C+=_v(f);break;case 92:C+=Tv(wv()-1,7);continue;case 47:switch(kv()){case 42:case 47:cv(Rv(Lv(xv(),wv()),t,n),l);break;default:C+="/"}break;case 123*m:s[u++]=lv(C)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+c:-1==v&&(C=ov(C,/\f/g,"")),h>0&&lv(C)-d&&cv(h>32?Vv(C+";",r,n,d-1):Vv(ov(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(cv(w=Pv(C,t,n,u,c,o,s,y,x=[],k=[],d),i),123===b)if(0===c)Ov(C,t,w,w,x,i,d,s,k);else switch(99===p&&110===av(C,3)?100:p){case 100:case 108:case 109:case 115:Ov(e,w,w,r&&cv(Pv(e,w,w,0,0,o,s,y,o,x=[],d),k),o,k,d,s,r?x:k);break;default:Ov(C,w,w,w,[""],k,0,s,k)}}u=c=h=0,m=v=1,y=C="",d=a;break;case 58:d=1+lv(C),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==yv())continue;switch(C+=tv(b),b*m){case 38:v=c>0?1:(C+="\f",-1);break;case 44:s[u++]=(lv(C)-1)*v,v=1;break;case 64:45===kv()&&(C+=Mv(xv())),p=kv(),c=d=lv(y=C+=Av(wv())),b++;break;case 45:45===f&&2==lv(C)&&(m=0)}}return i}function Pv(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,p=0===o?i:[""],h=uv(p),f=0,m=0,g=0;f<r;++f)for(var v=0,b=sv(e,d+1,d=ev(m=a[f])),y=e;v<h;++v)(y=rv(m>0?p[v]+" "+b:ov(b,/&\f/g,p[v])))&&(l[g++]=y);return vv(e,t,n,0===o?Qg:s,l,u,c)}function Rv(e,t,n){return vv(e,t,n,Jg,tv(mv),sv(e,2,-2),0)}function Vv(e,t,n,r){return vv(e,t,n,Kg,sv(e,0,r),sv(e,r+1,-1),r)}function Bv(e,t){for(var n="",r=uv(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function $v(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Kg:return e.return=e.return||e.value;case Jg:return"";case qg:return e.return=e.value+"{"+Bv(e.children,r)+"}";case Qg:e.value=e.props.join(",")}return lv(n=Bv(e.children,r))?e.return=e.value+"{"+n+"}":""}function Wv(e){var t=uv(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function Fv(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Hv=function(e,t,n){for(var r=0,o=0;r=o,o=kv(),38===r&&12===o&&(t[n]=1),!Ev(o);)xv();return Cv(e,fv)},jv=function(e,t){return Sv(function(e,t){var n=-1,r=44;do{switch(Ev(r)){case 0:38===r&&12===kv()&&(t[n]=1),e[n]+=Hv(fv-1,t,n);break;case 2:e[n]+=Mv(r);break;case 4:if(44===r){e[++n]=58===kv()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=tv(r)}}while(r=xv());return e}(Iv(e),t))},zv=new WeakMap,Gv=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||zv.get(n))&&!r){zv.set(e,!0);for(var o=[],i=jv(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Zv=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Yv=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Xv=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Uv=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Jv=function(e,t,n){Xv(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Uv(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Xv(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Uv(e)))};function Qv(e,t){switch(function(e,t){return 45^av(e,0)?(((t<<2^av(e,0))<<2^av(e,1))<<2^av(e,2))<<2^av(e,3):0}(e,t)){case 5103:return Ug+"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 Ug+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ug+e+Xg+e+Yg+e+e;case 6828:case 4268:return Ug+e+Yg+e+e;case 6165:return Ug+e+Yg+"flex-"+e+e;case 5187:return Ug+e+ov(e,/(\w+).+(:[^]+)/,Ug+"box-$1$2"+Yg+"flex-$1$2")+e;case 5443:return Ug+e+Yg+"flex-item-"+ov(e,/flex-|-self/,"")+e;case 4675:return Ug+e+Yg+"flex-line-pack"+ov(e,/align-content|flex-|-self/,"")+e;case 5548:return Ug+e+Yg+ov(e,"shrink","negative")+e;case 5292:return Ug+e+Yg+ov(e,"basis","preferred-size")+e;case 6060:return Ug+"box-"+ov(e,"-grow","")+Ug+e+Yg+ov(e,"grow","positive")+e;case 4554:return Ug+ov(e,/([^-])(transform)/g,"$1"+Ug+"$2")+e;case 6187:return ov(ov(ov(e,/(zoom-|grab)/,Ug+"$1"),/(image-set)/,Ug+"$1"),e,"")+e;case 5495:case 3959:return ov(e,/(image-set\([^]*)/,Ug+"$1$`$1");case 4968:return ov(ov(e,/(.+:)(flex-)?(.*)/,Ug+"box-pack:$3"+Yg+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ug+e+e;case 4095:case 3583:case 4068:case 2532:return ov(e,/(.+)-inline(.+)/,Ug+"$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(lv(e)-1-t>6)switch(av(e,t+1)){case 109:if(45!==av(e,t+4))break;case 102:return ov(e,/(.+:)(.+)-([^]+)/,"$1"+Ug+"$2-$3$1"+Xg+(108==av(e,t+3)?"$3":"$2-$3"))+e;case 115:return~iv(e,"stretch")?Qv(ov(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==av(e,t+1))break;case 6444:switch(av(e,lv(e)-3-(~iv(e,"!important")&&10))){case 107:return ov(e,":",":"+Ug)+e;case 101:return ov(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ug+(45===av(e,14)?"inline-":"")+"box$3$1"+Ug+"$2$3$1"+Yg+"$2box$3")+e}break;case 5936:switch(av(e,t+11)){case 114:return Ug+e+Yg+ov(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ug+e+Yg+ov(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ug+e+Yg+ov(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ug+e+Yg+e+e}return e}var Kv,qv,eb="undefined"!=typeof document,tb=eb?void 0:(Kv=function(){return Fv((function(){var e={};return function(t){return e[t]}}))},qv=new WeakMap,function(e){if(qv.has(e))return qv.get(e);var t=Kv(e);return qv.set(e,t),t}),nb=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Kg:e.return=Qv(e.value,e.length);break;case qg:return Bv([bv(e,{value:ov(e.value,"@","@"+Ug)})],r);case Qg:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bv([bv(e,{props:[ov(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Bv([bv(e,{props:[ov(t,/:(plac\w+)/,":"+Ug+"input-$1")]}),bv(e,{props:[ov(t,/:(plac\w+)/,":-moz-$1")]}),bv(e,{props:[ov(t,/:(plac\w+)/,Yg+"input-$1")]})],r)}return""}))}}],rb=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(eb&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||nb;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];eb&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l,u=[Gv,Zv];if("production"!==process.env.NODE_ENV&&u.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Yv(s))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),Jv),eb){var c,d=[$v,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==Jg&&c.insert(e.value+"{}"))}:(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=Wv(u.concat(r,d));i=function(e,t,n,r){c=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(c={insert:function(e){n.insert(e+t.map)}}),Bv(Nv(e?e+"{"+t.styles+"}":t.styles),p),r&&(v.inserted[t.name]=!0)}}else{var h=[$v],f=Wv(u.concat(r,h)),m=tb(r)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=Bv(Nv(e?e+"{"+t.styles+"}":t.styles),f)),m[n]};i=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new Zg({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return v.sheet.hydrate(s),v},ob="undefined"!=typeof document;function ib(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var ab=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ob&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},sb=function(e,t,n){ab(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);ob||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ob&&0!==o.length)return o}};var lb={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},ub="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",cb="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",db=/[A-Z]|^ms/g,pb=/_EMO_([^_]+?)_([^]*?)_EMO_/g,hb=function(e){return 45===e.charCodeAt(1)},fb=function(e){return null!=e&&"boolean"!=typeof e},mb=Fv((function(e){return hb(e)?e:e.replace(db,"-$&").toLowerCase()})),gb=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(pb,(function(e,t,n){return Sb={name:t,styles:n,next:Sb},t}))}return 1===lb[e]||hb(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var vb=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,bb=["normal","none","initial","inherit","unset"],yb=gb,xb=/^-ms-/,kb=/-(.)/g,wb={};gb=function(e,t){if("content"===e&&("string"!=typeof t||-1===bb.indexOf(t)&&!vb.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=yb(e,t);return""===n||hb(e)||-1===e.indexOf("-")||void 0!==wb[e]||(wb[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(xb,"ms-").replace(kb,(function(e,t){return t.toUpperCase()}))+"?")),n}}var Cb="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Eb(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(Cb);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Sb={name:n.name,styles:n.styles,next:Sb},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Sb={name:r.name,styles:r.styles,next:Sb},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Eb(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":fb(a)&&(r+=mb(i)+":"+gb(i,a)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(Cb);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Eb(e,t,a);switch(i){case"animation":case"animationName":r+=mb(i)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(cb),r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)fb(a[l])&&(r+=mb(i)+":"+gb(i,a[l])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=Sb,a=n(e);return Sb=i,Eb(e,t,a)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var s=[],l=n.replace(pb,(function(e,t,n){var r="animation"+s.length;return s.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+l+"`")}}if(null==t)return n;var u=t[n];return void 0!==u?u:n}var Ib,Sb,Mb=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Ib=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var _b=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Sb=void 0;var i,a=e[0];null==a||void 0===a.raw?(r=!1,o+=Eb(n,t,a)):("production"!==process.env.NODE_ENV&&void 0===a[0]&&console.error(ub),o+=a[0]);for(var s=1;s<e.length;s++)o+=Eb(n,t,e[s]),r&&("production"!==process.env.NODE_ENV&&void 0===a[s]&&console.error(ub),o+=a[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Ib,(function(e){return i=e,""}))),Mb.lastIndex=0;for(var l,u="";null!==(l=Mb.exec(o));)u+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return"production"!==process.env.NODE_ENV?{name:c,styles:o,map:i,next:Sb,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:o,next:Sb}},Tb="undefined"!=typeof document,Db=function(e){return e()},Lb=!!l.useInsertionEffect&&l.useInsertionEffect,Ab=Tb&&Lb||Db,Nb=Lb||l.useLayoutEffect,Ob="undefined"!=typeof document,Pb={}.hasOwnProperty,Rb=l.createContext("undefined"!=typeof HTMLElement?rb({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Rb.displayName="EmotionCacheContext"),Rb.Provider;var Vb=function(t){return e.forwardRef((function(n,r){var o=e.useContext(Rb);return t(n,o,r)}))};Ob||(Vb=function(t){return function(n){var r=e.useContext(Rb);return null===r?(r=rb({key:"css"}),l.createElement(Rb.Provider,{value:r},t(n,r))):t(n,r)}});var Bb=l.createContext({});"production"!==process.env.NODE_ENV&&(Bb.displayName="EmotionThemeContext");var $b=function(e){var t=e.split(".");return t[t.length-1]},Wb=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?$b(t[1]):void 0},Fb=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Hb=function(e){return e.replace(/\$/g,"-")},jb="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zb="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Gb=function(e,t){if("production"!==process.env.NODE_ENV&&"string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var n={};for(var r in t)Pb.call(t,r)&&(n[r]=t[r]);if(n[jb]=e,"production"!==process.env.NODE_ENV&&t.css&&("object"!=typeof t.css||"string"!=typeof t.css.name||-1===t.css.name.indexOf("-"))){var o=function(e){if(e)for(var t=e.split("\n"),n=0;n<t.length;n++){var r=Wb(t[n]);if(r){if(Fb.has(r))break;if(/^[A-Z]/.test(r))return Hb(r)}}}((new Error).stack);o&&(n[zb]=o)}return n},Zb=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;ab(t,n,r);var o=Ab((function(){return sb(t,n,r)}));if(!Ob&&void 0!==o){for(var i,a=n.name,s=n.next;void 0!==s;)a+=" "+s.name,s=s.next;return l.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},Yb=Vb((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[jb],i=[r],a="";"string"==typeof e.className?a=ib(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=_b(i,void 0,l.useContext(Bb));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var u=e[zb];u&&(s=_b([s,"label:"+u+";"]))}a+=t.key+"-"+s.name;var c={};for(var d in e)!Pb.call(e,d)||"css"===d||d===jb||"production"!==process.env.NODE_ENV&&d===zb||(c[d]=e[d]);return c.ref=n,c.className=a,l.createElement(l.Fragment,null,l.createElement(Zb,{cache:t,serialized:s,isStringTag:"string"==typeof o}),l.createElement(o,c))}));"production"!==process.env.NODE_ENV&&(Yb.displayName="EmotionCssPropInternal");var Xb=Yb,Ub=function(e,t){var n=arguments;if(null==t||!Pb.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Xb,o[1]=Gb(e,t);for(var i=2;i<r;i++)o[i]=n[i];return l.createElement.apply(null,o)},Jb=!1,Qb=Vb((function(e,t){"production"===process.env.NODE_ENV||Jb||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Jb=!0);var n=e.styles,r=_b([n],void 0,l.useContext(Bb));if(!Ob){for(var o,i=r.name,a=r.styles,s=r.next;void 0!==s;)i+=" "+s.name,a+=s.styles,s=s.next;var u=!0===t.compat,c=t.insert("",{name:i,styles:a},t.sheet,u);return u?null:l.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var d=l.useRef();return Nb((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),d.current=[n,o],function(){n.flush()}}),[t]),Nb((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&sb(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function Kb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _b(t)}"production"!==process.env.NODE_ENV&&(Qb.displayName="EmotionGlobal");var qb=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in"production"!==process.env.NODE_ENV&&void 0!==i.styles&&void 0!==i.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};var ey=function(e){var t,n=e.cache,r=e.serializedArr,o=Ab((function(){for(var e="",t=0;t<r.length;t++){var o=sb(n,r[t],!1);Ob||void 0===o||(e+=o)}if(!Ob)return e}));return Ob||0===o.length?null:l.createElement("style",((t={})["data-emotion"]=n.key+" "+r.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:o},t.nonce=n.sheet.nonce,t))},ty=Vb((function(e,t){var n=!1,r=[],o=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a=_b(o,t.registered);return r.push(a),ab(t,a,!1),t.key+"-"+a.name},i={css:o,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return function(e,t,n){var r=[],o=ib(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,qb(r))},theme:l.useContext(Bb)},a=e.children(i);return n=!0,l.createElement(l.Fragment,null,l.createElement(ey,{cache:t,serializedArr:r}),a)}));if("production"!==process.env.NODE_ENV&&(ty.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var ny="undefined"!=typeof document,ry="undefined"!=typeof jest||"undefined"!=typeof vi;if(ny&&!ry){var oy="undefined"!=typeof globalThis?globalThis:ny?window:global,iy="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";oy[iy]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),oy[iy]=!0}}var ay="undefined"!=typeof document?e.useLayoutEffect:e.useEffect,sy=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ly=function(){};function uy(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function cy(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(uy(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var dy=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===wo(e)&&null!==e?[e]:[];var t},py=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,So({},Xo(e,sy))},hy=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function fy(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function my(e){return fy(e)?window.pageYOffset:e.scrollTop}function gy(e,t){fy(e)?window.scrollTo(0,t):e.scrollTop=t}function vy(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ly,o=my(e),i=t-o,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);gy(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function by(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?gy(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&gy(e,Math.max(t.offsetTop-o,0))}function yy(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var xy=!1,ky={get passive(){return xy=!0}},wy="undefined"!=typeof window?window:{};wy.addEventListener&&wy.removeEventListener&&(wy.addEventListener("p",ly,ky),wy.removeEventListener("p",ly,!1));var Cy=xy;function Ey(e){return null!=e}function Iy(e,t,n){return e?t:n}var Sy=["children","innerProps"],My=["children","innerProps"];function _y(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:fy(c=l)?window.innerHeight:c.clientHeight,b=my(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),k=g-x,w=v-m,C=k+b,E=d-b-m,I=h-v+b+y,S=b+m-x,M=160;switch(o){case"auto":case"bottom":if(w>=f)return{placement:"bottom",maxHeight:t};if(E>=f&&!a)return i&&vy(l,I,M),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&w>=r)return i&&vy(l,I,M),{placement:"bottom",maxHeight:a?w-y:E-y};if("auto"===o||a){var _=t,T=a?k:C;return T>=r&&(_=Math.min(T-y-s,t)),{placement:"top",maxHeight:_}}if("bottom"===o)return i&&gy(l,I),{placement:"bottom",maxHeight:t};break;case"top":if(k>=f)return{placement:"top",maxHeight:t};if(C>=f&&!a)return i&&vy(l,S,M),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&k>=r){var D=t;return(!a&&C>=r||a&&k>=r)&&(D=a?k-x:C-x),i&&vy(l,S,M),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var Ty,Dy=function(e){return"auto"===e?"bottom":e},Ly=e.createContext(null),Ay=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=(e.useContext(Ly)||{}).setPortalPlacement,c=e.useRef(null),d=Do(e.useState(o),2),p=d[0],h=d[1],f=Do(e.useState(null),2),m=f[0],g=f[1],v=l.spacing.controlHeight;return ay((function(){var e=c.current;if(e){var t="fixed"===a,n=_y({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});h(n.maxHeight),g(n.placement),null==u||u(n.placement)}}),[o,i,a,s,r,u,v]),n({ref:c,placerProps:So(So({},t),{},{placement:m||Dy(i),maxHeight:p})})},Ny=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ub("div",Zo({},hy(e,"menu",{menu:!0}),{ref:n},r),t)},Oy=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return So({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Py=Oy,Ry=Oy,Vy=["size"],By=["innerProps","isRtl","size"];var $y="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzP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ZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Wy=function(e){var t=e.size,n=Xo(e,Vy);return Ub("svg",Zo({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:$y},n))},Fy=function(e){return Ub(Wy,Zo({size:20},e),Ub("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Hy=function(e){return Ub(Wy,Zo({size:20},e),Ub("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},jy=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return So({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},zy=jy,Gy=jy,Zy=function(){var e=Kb.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Ty||(Ty=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),Yy=function(e){var t=e.delay,n=e.offset;return Ub("span",{css:Kb({animation:"".concat(Zy," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5k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children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Ub("div",Zo({ref:o},hy(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Uy=["data"],Jy=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,u=e.theme,c=e.selectProps;return Ub("div",Zo({},hy(e,"group",{group:!0}),s),Ub(i,Zo({},a,{selectProps:c,theme:u,getStyles:r,getClassNames:o,cx:n}),l),Ub("div",null,t))},Qy=["innerRef","isDisabled","isHidden","inputClassName"],Ky={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},qy={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":So({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ky)},ex=function(e){return So({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ky)},tx=function(e){var t=e.cx,n=e.value,r=py(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Xo(r,Qy);return Ub("div",Zo({},hy(e,"input",{"input-container":!0}),{"data-value":n||""}),Ub("input",Zo({className:t({input:!0},s),ref:o,style:ex(a),disabled:i},l)))},nx=function(e){var t=e.children,n=e.innerProps;return Ub("div",n,t)};var rx=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,u=n.Label,c=n.Remove;return Ub(l,{data:r,innerProps:So(So({},hy(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Ub(u,{data:r,innerProps:So({},hy(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Ub(c,{data:r,innerProps:So(So({},hy(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},ox={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ub("div",Zo({},hy(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ub(Fy,null))},Control:Xy,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ub("div",Zo({},hy(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ub(Hy,null))},DownChevron:Hy,CrossIcon:Fy,Group:Jy,GroupHeading:function(e){var t=py(e);t.data;var n=Xo(t,Uy);return Ub("div",Zo({},hy(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ub("div",Zo({},hy(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ub("span",Zo({},t,hy(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:tx,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Xo(e,By);return Ub("div",Zo({},hy(So(So({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ub(Yy,{delay:0,offset:n}),Ub(Yy,{delay:160,offset:!0}),Ub(Yy,{delay:320,offset:!n}))},Menu:Ny,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Ub("div",Zo({},hy(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(t){var r=t.appendTo,o=t.children,i=t.controlElement,a=t.innerProps,s=t.menuPlacement,l=t.menuPosition,u=e.useRef(null),c=e.useRef(null),d=Do(e.useState(Dy(s)),2),p=d[0],h=d[1],f=e.useMemo((function(){return{setPortalPlacement:h}}),[]),m=Do(e.useState(null),2),g=m[0],v=m[1],b=e.useCallback((function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||v({offset:n,rect:e})}}),[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);ay((function(){b()}),[b]);var y=e.useCallback((function(){"function"==typeof c.current&&(c.current(),c.current=null),i&&u.current&&(c.current=Qn(i,u.current,b,{elementResize:"ResizeObserver"in window}))}),[i,b]);ay((function(){y()}),[y]);var x=e.useCallback((function(e){u.current=e,y()}),[y]);if(!r&&"fixed"!==l||!g)return null;var k=Ub("div",Zo({ref:x},hy(So(So({},t),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),o);return Ub(Ly.Provider,{value:f},r?n.createPortal(k,r):k)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Xo(e,My);return Ub("div",Zo({},hy(So(So({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=Xo(e,Sy);return Ub("div",Zo({},hy(So(So({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:rx,MultiValueContainer:nx,MultiValueLabel:nx,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ub("div",Zo({role:"button"},n),t||Ub(Fy,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Ub("div",Zo({},hy(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Ub("div",Zo({},hy(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Ub("div",Zo({},hy(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ub("div",Zo({},hy(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Ub("div",Zo({},hy(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},ix=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ax(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||ix(r)&&ix(o)))return!1;var r,o;return!0}for(var sx="production"===process.env.NODE_ENV?{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"}:{name:"1f43avz-a11yText-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;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},lx=function(e){return Ub("span",Zo({css:sx},e))},ux={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,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=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(c(a,n),".");if("menu"===t&&u){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},cx=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.focusableOptions,a=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,f=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,b=l.options,y=l.screenReaderStatus,x=l.tabSelectsValue,k=l.isLoading,w=l["aria-label"],C=l["aria-live"],E=e.useMemo((function(){return So(So({},ux),d||{})}),[d]),I=e.useMemo((function(){var e,t="";if(n&&E.onChange){var r=n.option,o=n.options,i=n.removedValue,a=n.removedValues,l=n.value,u=i||r||(e=l,Array.isArray(e)?null:e),c=u?p(u):"",d=o||a||void 0,h=d?d.map(p):[],f=So({isDisabled:u&&m(u,s),label:c,labels:h},n);t=E.onChange(f)}return t}),[n,E,m,s,p]),S=e.useMemo((function(){var e="",t=r||o,n=!!(r&&s&&s.includes(r));if(t&&E.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:s,isAppleDevice:c};e=E.onFocus(a)}return e}),[r,o,p,m,E,i,s,c]),M=e.useMemo((function(){var e="";if(v&&b.length&&!k&&E.onFilter){var t=y({count:i.length});e=E.onFilter({inputValue:h,resultsMessage:t})}return e}),[i,h,v,E,b,y,k]),_="initial-input-focus"===(null==n?void 0:n.action),T=e.useMemo((function(){var e="";if(E.guidance){var t=o?"value":v?"menu":"input";e=E.guidance({"aria-label":w,context:t,isDisabled:r&&m(r,s),isMulti:f,isSearchable:g,tabSelectsValue:x,isInitialFocus:_})}return e}),[w,r,o,f,m,g,v,E,s,x,_]),D=Ub(e.Fragment,null,Ub("span",{id:"aria-selection"},I),Ub("span",{id:"aria-focused"},S),Ub("span",{id:"aria-results"},M),Ub("span",{id:"aria-guidance"},T));return Ub(e.Fragment,null,Ub(lx,{id:u},_&&D),Ub(lx,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!_&&D))},dx=[{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źẑżžẓẕƶȥɀⱬꝣ"}],px=new RegExp("["+dx.map((function(e){return e.letters})).join("")+"]","g"),hx={},fx=0;fx<dx.length;fx++)for(var mx=dx[fx],gx=0;gx<mx.letters.length;gx++)hx[mx.letters[gx]]=mx.base;var vx=function(e){return e.replace(px,(function(e){return hx[e]}))},bx=function(e,t){void 0===t&&(t=ax);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}(vx),yx=function(e){return e.replace(/^\s+|\s+$/g,"")},xx=function(e){return"".concat(e.label," ").concat(e.value)},kx=["innerRef"];function wx(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=Do(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=Do(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(Xo(e,kx),"onExited","in","enter","exit","appear");return Ub("input",Zo({ref:t},n,{css:Kb({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVh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93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var Cx=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};var Ex=["boxSizing","height","overflow","paddingRight","position"],Ix={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Sx(e){e.preventDefault()}function Mx(e){e.stopPropagation()}function _x(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Tx(){return"ontouchstart"in window||navigator.maxTouchPoints}var Dx=!("undefined"==typeof window||!window.document||!window.document.createElement),Lx=0,Ax={capture:!1,passive:!1};var Nx=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ox="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNY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B1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Px(t){var n=t.children,r=t.lockEnabled,o=t.captureEnabled,i=function(t){var n=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,s=e.useRef(!1),l=e.useRef(!1),u=e.useRef(0),c=e.useRef(null),d=e.useCallback((function(e,t){if(null!==c.current){var n=c.current,u=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,h=c.current,f=t>0,m=d-p-u,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),f&&l.current&&(a&&a(e),l.current=!1),f&&t>m?(r&&!s.current&&r(e),h.scrollTop=d,g=!0,s.current=!0):!f&&-t>u&&(i&&!l.current&&i(e),h.scrollTop=0,g=!0,l.current=!0),g&&Cx(e)}}),[r,o,i,a]),p=e.useCallback((function(e){d(e,e.deltaY)}),[d]),h=e.useCallback((function(e){u.current=e.changedTouches[0].clientY}),[]),f=e.useCallback((function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=e.useCallback((function(e){if(e){var t=!!Cy&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}}),[f,h,p]),g=e.useCallback((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))}),[f,h,p]);return e.useEffect((function(){if(n){var e=c.current;return m(e),function(){g(e)}}}),[n,m,g]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),a=function(t){var n=t.isEnabled,r=t.accountForScrollbars,o=void 0===r||r,i=e.useRef({}),a=e.useRef(null),s=e.useCallback((function(e){if(Dx){var t=document.body,n=t&&t.style;if(o&&Ex.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&Lx<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Ix).forEach((function(e){var t=Ix[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&Tx()&&(t.addEventListener("touchmove",Sx,Ax),e&&(e.addEventListener("touchstart",_x,Ax),e.addEventListener("touchmove",Mx,Ax))),Lx+=1}}),[o]),l=e.useCallback((function(e){if(Dx){var t=document.body,n=t&&t.style;Lx=Math.max(Lx-1,0),o&&Lx<1&&Ex.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&Tx()&&(t.removeEventListener("touchmove",Sx,Ax),e&&(e.removeEventListener("touchstart",_x,Ax),e.removeEventListener("touchmove",Mx,Ax)))}}),[o]);return e.useEffect((function(){if(n){var e=a.current;return s(e),function(){l(e)}}}),[n,s,l]),function(e){a.current=e}}({isEnabled:r});return Ub(e.Fragment,null,r&&Ub("div",{onClick:Nx,css:Ox}),n((function(e){i(e),a(e)})))}var Rx="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWF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stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Vx=function(e){var t=e.name,n=e.onFocus;return Ub("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Rx,value:"",onChange:function(){}})};function Bx(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 $x(){return Bx(/^Mac/i)}function Wx(){return Bx(/^iPhone/i)||Bx(/^iPad/i)||$x()&&navigator.maxTouchPoints>1}var Fx,Hx=function(e){return e.label},jx=function(e){return e.value},zx={clearIndicator:Gy,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return So({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:zy,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return So({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return So({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return So(So({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},qy),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return So({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Ry,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return So((Eo(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Eo(n,"position","absolute"),Eo(n,"width","100%"),Eo(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return So({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return So({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return So({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return So({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Py,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return So({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return So({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return So({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return So({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Gx={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}},Zx={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:yy(),captureMenuScroll:!yy(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=So({ignoreCase:!0,ignoreAccents:!0,stringify:xx,trim:!0,matchFrom:"any"},Fx),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?yx(t):t,u=a?yx(i(e)):i(e);return r&&(l=l.toLowerCase(),u=u.toLowerCase()),o&&(l=bx(l),u=vx(u)),"start"===s?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:Hx,getOptionValue:jx,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Yx(e,t,n,r){return{type:"option",data:t,isDisabled:tk(e,t,n),isSelected:nk(e,t,n),label:qx(e,t),value:ek(e,t),index:r}}function Xx(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Yx(e,n,t,r)})).filter((function(t){return Qx(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Yx(e,n,t,r);return Qx(e,i)?i:void 0})).filter(Ey)}function Ux(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,To(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Jx(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,To(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 Qx(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ok(e)||!i)&&rk(e,{label:a,value:s,data:o},r)}var Kx=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},qx=function(e,t){return e.getOptionLabel(t)},ek=function(e,t){return e.getOptionValue(t)};function tk(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function nk(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=ek(e,t);return n.some((function(t){return ek(e,t)===r}))}function rk(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ok=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ik=1,ak=function(t){!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&&Hg(e,t)}(r,e.Component);var n=function(e){var t=zg();return function(){var n,r=jg(e);if(t){var o=jg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gg(this,n)}}(r);function r(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=n.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:""},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.isAppleDevice=$x()||Wx(),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,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),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,s=o&&t.isOptionSelected(e,a),l=t.isOptionDisabled(e,a);if(s){var u=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void t.ariaOnChange(e,{action:"select-option",option:e,name:i});o?t.setValue([].concat(To(a),[e]),"select-option",e):t.setValue(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=Iy(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(Iy(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=Iy(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return Kx(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Jx(Xx(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 cy.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return qx(t.props,e)},t.getOptionValue=function(e){return ek(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=zx[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 e=t.props,So(So({},ox),e.components);var e},t.buildCategorizedOptions=function(){return Xx(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return Ux(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:So({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&&fy(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 ok(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,s=n.isClearable,l=n.isDisabled,u=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,p=n.openMenuOnFocus,h=t.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof c&&(c(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(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!u||!d||!f||p&&t.isOptionSelected(f,g))return;t.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(u){if(!f)return;if(t.isComposing)return;t.selectOption(f);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!u){t.openMenu("first");break}if(!f)return;t.selectOption(f);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++ik),t.state.selectValue=dy(e.value),e.menuIsOpen&&t.state.selectValue.length){var o=t.getFocusableOptionsWithIds(),i=t.buildFocusableOptions(),a=i.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=o,t.state.focusedOption=i[a],t.state.focusedOptionId=Kx(o,i[a])}return t}return function(e,t,n){t&&Fg(e.prototype,t),n&&Fg(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{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&&by(this.menuListRef,this.focusedOptionRef)}},{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&&(by(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 s=i.indexOf(r[0]);s>-1&&(a=s)}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(Gx):So(So({},Gx),this.props.theme):Gx}},{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,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return tk(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return nk(this.props,e,t)}},{key:"filterOption",value:function(e,t){return rk(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,s=e.menuIsOpen,u=e.required,c=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),g=So(So(So({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(c,Zo({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},g)):l.createElement(wx,Zo({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ly,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},g))}},{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,s=t.Placeholder,u=this.commonProps,c=this.props,d=c.controlShouldRenderValue,p=c.isDisabled,h=c.isMulti,f=c.inputValue,m=c.placeholder,g=this.state,v=g.selectValue,b=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return f?null:l.createElement(s,Zo({},u,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return v.map((function(t,a){var s=t===b,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,Zo({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:c,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var x=v[0];return l.createElement(a,Zo({},u,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,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 l.createElement(e,Zo({},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;if(!e||!o)return null;return l.createElement(e,Zo({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{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 l.createElement(n,Zo({},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 l.createElement(e,Zo({},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,s=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,f=h.captureMenuScroll,m=h.inputValue,g=h.isLoading,v=h.loadingMessage,b=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,k=h.menuPlacement,w=h.menuPosition,C=h.menuPortalTarget,E=h.menuShouldBlockScroll,I=h.menuShouldScrollIntoView,S=h.noOptionsMessage,M=h.onMenuScrollToTop,_=h.onMenuScrollToBottom;if(!x)return null;var T,D=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,h=p===o,f=i?void 0:function(){return e.onOptionHover(o)},m=i?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),v={id:g,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:a};return l.createElement(c,Zo({},d,{innerProps:v,data:o,isDisabled:i,isSelected:a,key:g,label:s,type:r,value:u,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return l.createElement(n,Zo({},d,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return D(t,"".concat(t.index))}));else if(g){var L=v({inputValue:m});if(null===L)return null;T=l.createElement(s,d,L)}else{var A=S({inputValue:m});if(null===A)return null;T=l.createElement(u,d,A)}var N={minMenuHeight:b,maxMenuHeight:y,menuPlacement:k,menuPosition:w,menuShouldScrollIntoView:I},O=l.createElement(Ay,Zo({},d,N),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return l.createElement(o,Zo({},d,N,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),l.createElement(Px,{captureEnabled:f,onTopArrive:M,onBottomArrive:_,lockEnabled:E},(function(t){return l.createElement(i,Zo({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:p}),T)})))}));return C||"fixed"===w?l.createElement(a,Zo({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:w}),O):O}},{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,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return l.createElement(Vx,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var u=s.map((function(t){return e.getOptionValue(t)})).join(n);return l.createElement("input",{name:i,type:"hidden",value:u})}var c=s.length>0?s.map((function(t,n){return l.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):l.createElement("input",{name:i,type:"hidden",value:""});return l.createElement("div",null,c)}var d=s[0]?this.getOptionValue(s[0]):"";return l.createElement("input",{name:i,type:"hidden",value:d})}}},{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,s=this.getFocusableOptions();return l.createElement(cx,Zo({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s,isAppleDevice:this.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,s=i.id,u=i.isDisabled,c=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,Zo({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),l.createElement(t,Zo({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:c}),l.createElement(o,Zo({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,Zo({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,u=e.options,c=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,f=dy(c),m={};if(n&&(c!==n.value||u!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Ux(Xx(e,t))}(e,f):[],v=d?Jx(Xx(e,f),"".concat(l,"-option")):[],b=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,f):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:f,focusedOption:y,focusedOptionId:Kx(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},k=i,w=a&&s;return a&&!w&&(k={value:Iy(h,f,f[0]||null),options:f,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(k=null),So(So(So({},m),x),{},{prevProps:e,ariaSelection:k,prevWasFocused:w})}}]),r}();ak.defaultProps=Zx;var sk=e.forwardRef((function(e,t){var n=Wg(e);return l.createElement(ak,Zo({ref:t},n))})),lk=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],uk=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=String(t.getOptionValue(e)).toLowerCase(),o=String(t.getOptionLabel(e)).toLowerCase();return r===n||o===n},ck={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return uk(e,t,r)}))||n.some((function(t){return uk(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function dk(t){var n=t.allowCreateWhileLoading,r=void 0!==n&&n,o=t.createOptionPosition,i=void 0===o?"last":o,a=t.formatCreateLabel,s=void 0===a?ck.formatCreateLabel:a,l=t.isValidNewOption,u=void 0===l?ck.isValidNewOption:l,c=t.getNewOptionData,d=void 0===c?ck.getNewOptionData:c,p=t.onCreateOption,h=t.options,f=void 0===h?[]:h,m=t.onChange,g=Xo(t,lk),v=g.getOptionValue,b=void 0===v?jx:v,y=g.getOptionLabel,x=void 0===y?Hx:y,k=g.inputValue,w=g.isLoading,C=g.isMulti,E=g.value,I=g.name,S=e.useMemo((function(){return u(k,dy(E),f,{getOptionValue:b,getOptionLabel:x})?d(k,s(k)):void 0}),[s,d,x,b,k,u,f,E]),M=e.useMemo((function(){return!r&&w||!S?f:"first"===i?[S].concat(To(f)):[].concat(To(f),[S])}),[r,i,w,S,f]),_=e.useCallback((function(e,t){if("select-option"!==t.action)return m(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==S)m(e,t);else if(p)p(k);else{var r=d(k,k),o={action:"create-option",name:I,option:r};m(Iy(C,[].concat(To(dy(E)),[r]),r),o)}}),[d,k,C,I,S,p,m,E]);return So(So({},g),{},{options:M,onChange:_})}var pk=e.forwardRef((function(e,t){var n=dk(Wg(e));return l.createElement(ak,Zo({ref:t},n))})),hk=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function fk(t){var n=t.defaultOptions,r=void 0!==n&&n,o=t.cacheOptions,i=void 0!==o&&o,a=t.loadOptions;t.options;var s=t.isLoading,l=void 0!==s&&s,u=t.onInputChange,c=t.filterOption,d=void 0===c?null:c,p=Xo(t,hk),h=p.inputValue,f=e.useRef(void 0),m=e.useRef(!1),g=Do(e.useState(Array.isArray(r)?r:void 0),2),v=g[0],b=g[1],y=Do(e.useState(void 0!==h?h:""),2),x=y[0],k=y[1],w=Do(e.useState(!0===r),2),C=w[0],E=w[1],I=Do(e.useState(void 0),2),S=I[0],M=I[1],_=Do(e.useState([]),2),T=_[0],D=_[1],L=Do(e.useState(!1),2),A=L[0],N=L[1],O=Do(e.useState({}),2),P=O[0],R=O[1],V=Do(e.useState(void 0),2),B=V[0],$=V[1],W=Do(e.useState(void 0),2),F=W[0],H=W[1];i!==F&&(R({}),H(i)),r!==B&&(b(Array.isArray(r)?r:void 0),$(r)),e.useEffect((function(){return m.current=!0,function(){m.current=!1}}),[]);var j=e.useCallback((function(e,t){if(!a)return t();var n=a(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[a]);e.useEffect((function(){!0===r&&j(x,(function(e){m.current&&(b(e||[]),E(!!f.current))}))}),[]);var z=e.useCallback((function(e,t){var n=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,u);if(!n)return f.current=void 0,k(""),M(""),D([]),E(!1),void N(!1);if(i&&P[n])k(n),M(n),D(P[n]),E(!1),N(!1);else{var r=f.current={};k(n),E(!0),N(!S),j(n,(function(e){m&&r===f.current&&(f.current=void 0,E(!1),M(n),D(e||[]),N(!1),R(e?So(So({},P),{},Eo({},n,e)):P))}))}}),[i,j,S,P,u]),G=A?[]:x&&S?T:v||[];return So(So({},p),{},{options:G,isLoading:C||l,onInputChange:z,filterOption:d})}var mk=e.forwardRef((function(e,t){var n=dk(Wg(fk(e)));return l.createElement(ak,Zo({ref:t},n))})),gk=e.forwardRef((function(e,t){var n=Wg(fk(e));return l.createElement(ak,Zo({ref:t},n))}));const vk=t.div`
|
|
1883
1883
|
position: relative;
|
|
1884
1884
|
display: flex;
|
|
1885
1885
|
flex-wrap: wrap;
|
|
@@ -1912,14 +1912,14 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1912
1912
|
color: ${({theme:e})=>e.palette.blue1000};
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
`,
|
|
1915
|
+
`,bk=t.div`
|
|
1916
1916
|
display: flex;
|
|
1917
1917
|
align-items: center;
|
|
1918
1918
|
padding: 8px 14px;
|
|
1919
1919
|
color: ${({theme:e})=>e.colors.fg.neutral.subtlest.light};
|
|
1920
1920
|
transition: all 0.15s ease-in-out;
|
|
1921
1921
|
transform: ${({$isFocused:e})=>e?"rotate(-180deg)":"none"};
|
|
1922
|
-
`,
|
|
1922
|
+
`,yk=t.div`
|
|
1923
1923
|
display: flex;
|
|
1924
1924
|
grid-area: 1 / 1 / 2 / 3;
|
|
1925
1925
|
align-items: center;
|
|
@@ -1927,19 +1927,19 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1927
1927
|
overflow: hidden;
|
|
1928
1928
|
text-overflow: ellipsis;
|
|
1929
1929
|
white-space: nowrap;
|
|
1930
|
-
`,
|
|
1930
|
+
`,xk=t.div`
|
|
1931
1931
|
display: flex;
|
|
1932
1932
|
margin-right: ${e=>e.theme.spacing.xxs};
|
|
1933
|
-
`;var
|
|
1933
|
+
`;var kk;!function(e){e.ASYNC_CREATABLE_SELECT="AsyncCreatableSelect",e.ASYNC_SELECT="AsyncSelect",e.CREATABLE_SELECT="CreatableSelect",e.REACT_SELECT="ReactSelect"}(kk||(kk={}));const wk={Control:t=>{const{children:n,innerProps:r,innerRef:o,isDisabled:i,isFocused:a,selectProps:s}=t,l="isError"in s&&"boolean"==typeof s.isError&&s.isError;return e.createElement(vk,Object.assign({$isDisabled:i,$isError:l,$isFocused:a,"aria-disabled":i||void 0,ref:o},r),n)},DropdownIndicator:t=>{const{isFocused:n}=t;return e.createElement(bk,{$isFocused:n},e.createElement(af,null))},IndicatorSeparator:null,Option:t=>{const{children:n,data:r}=t,o=ls(t,["children","data"]);return e.createElement(ox.Option,Object.assign({data:r},o),r.icon?e.createElement(xk,null,r.icon):null,n)},SingleValue:t=>{const{children:n,data:r}=t;return e.createElement(yk,null,r.icon?e.createElement(xk,null,r.icon):null,n)}},Ck=e.forwardRef(((n,r)=>{const o=t.useTheme(),{customComponents:i,isError:a=!1,options:s,type:l}=n,u=ls(n,["customComponents","isError","options","type"]);let c;switch(l){case kk.ASYNC_CREATABLE_SELECT:c=mk;break;case kk.CREATABLE_SELECT:c=pk;break;case kk.ASYNC_SELECT:c=gk;break;default:c=sk}return e.createElement(c,Object.assign({components:Object.assign(Object.assign({},wk),i),isClearable:!1,isSearchable:!1,options:s,ref:r,theme:e=>Object.assign(Object.assign({},e),{colors:Object.assign(Object.assign({},e.colors),{primary:!0===a?o.colors.fg.error.light:o.colors.border.brand.default.light,neutral60:!0===a?o.colors.fg.error.light:o.colors.border.neutral.default.light})})},u,{isError:a}))}));Ck.displayName="SelectBase";const Ek=t(Ck)`
|
|
1934
1934
|
width: 100%;
|
|
1935
|
-
`,Ek=t.styled.div`
|
|
1936
|
-
display: flex;
|
|
1937
1935
|
`,Ik=t.styled.div`
|
|
1938
|
-
|
|
1936
|
+
display: flex;
|
|
1939
1937
|
`,Sk=t.styled.div`
|
|
1938
|
+
margin: auto 0;
|
|
1939
|
+
`,Mk=t.styled.div`
|
|
1940
1940
|
display: flex;
|
|
1941
1941
|
margin-left: 5px;
|
|
1942
|
-
`,
|
|
1942
|
+
`,_k=t=>e.createElement(ox.Input,Object.assign({},t,{isHidden:!1})),Tk=t=>{var{children:n}=t,r=ls(t,["children"]);return e.createElement(ox.Control,Object.assign({},r),e.createElement(Mk,null,e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.search})),n)},Dk=t.textarea`
|
|
1943
1943
|
box-sizing: border-box;
|
|
1944
1944
|
width: 100%;
|
|
1945
1945
|
min-height: 124px;
|
|
@@ -1966,7 +1966,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
1966
1966
|
background: ${({theme:e})=>e.colors.bg.disabled.light};
|
|
1967
1967
|
border: 1px solid ${({theme:e})=>e.colors.border.disabled.light};
|
|
1968
1968
|
}
|
|
1969
|
-
`,Dk=e.forwardRef(((t,n)=>{const{colorScheme:r,describedBy:o,hasError:i=!1,invalid:a=!1,labelledBy:s,mediaType:l,required:u}=t,c=ls(t,["colorScheme","describedBy","hasError","invalid","labelledBy","mediaType","required"]),d=a||i;return e.createElement(Tk,Object.assign({$invalid:d,"aria-describedby":o,"aria-invalid":d,"aria-labelledby":s,"aria-required":u,ref:n},c))}));Dk.displayName="TextAreaControl";const Lk=Pf(Dk);var Ak,Nk={exports:{}},Ok={};var Pk,Rk={};"production"===process.env.NODE_ENV?Nk.exports=function(){if(Ak)return Ok;Ak=1,Object.defineProperty(Ok,"__esModule",{value:!0});var t=e;function n(){return n=Object.assign?Object.assign.bind():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},n.apply(this,arguments)}var r=t.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},t.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),o=t.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},t.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function i(e){if(7===e.length)return e;for(var t="#",n=1;n<4;n+=1)t+=e[n]+e[n];return t}function a(e,t,n,r,o){return function(e,t,n,r,o){var i=(e-n)/(t-n);if(0===i)return r;if(1===i)return o;for(var a="#",s=1;s<6;s+=2){var l=parseInt(r.substr(s,2),16),u=parseInt(o.substr(s,2),16),c=Math.round((1-i)*l+i*u).toString(16);1===c.length&&(c="0"+c),a+=c}return a}(e,t,n,i(r),i(o))}var s=function(e){function r(t){e.call(this,t);var n=t.height,r=t.width,o=t.checked;this.t=t.handleDiameter||n-2,this.i=Math.max(r-n,r-(n+this.t)/2),this.o=Math.max(0,(n-this.t)/2),this.state={h:o?this.i:this.o},this.l=0,this.u=0,this.p=this.p.bind(this),this.v=this.v.bind(this),this.g=this.g.bind(this),this.k=this.k.bind(this),this.M=this.M.bind(this),this.m=this.m.bind(this),this.T=this.T.bind(this),this.$=this.$.bind(this),this.C=this.C.bind(this),this.O=this.O.bind(this),this.D=this.D.bind(this),this.S=this.S.bind(this)}return e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r,r.prototype.componentDidMount=function(){this.W=!0},r.prototype.componentDidUpdate=function(e){e.checked!==this.props.checked&&this.setState({h:this.props.checked?this.i:this.o})},r.prototype.componentWillUnmount=function(){this.W=!1},r.prototype.I=function(e){this.H.focus(),this.setState({j:e,R:!0,B:Date.now()})},r.prototype.L=function(e){var t=this.state,n=t.j,r=t.h,o=(this.props.checked?this.i:this.o)+e-n;t.N||e===n||this.setState({N:!0});var i=Math.min(this.i,Math.max(this.o,o));i!==r&&this.setState({h:i})},r.prototype.U=function(e){var t=this.state,n=t.h,r=t.N,o=t.B,i=this.props.checked,a=(this.i+this.o)/2;this.setState({h:this.props.checked?this.i:this.o});var s=Date.now()-o;(!r||s<250||i&&n<=a||!i&&n>=a)&&this.A(e),this.W&&this.setState({N:!1,R:!1}),this.l=Date.now()},r.prototype.p=function(e){e.preventDefault(),"number"==typeof e.button&&0!==e.button||(this.I(e.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},r.prototype.v=function(e){e.preventDefault(),this.L(e.clientX)},r.prototype.g=function(e){this.U(e),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},r.prototype.k=function(e){this.X=null,this.I(e.touches[0].clientX)},r.prototype.M=function(e){this.L(e.touches[0].clientX)},r.prototype.m=function(e){e.preventDefault(),this.U(e)},r.prototype.$=function(e){Date.now()-this.l>50&&(this.A(e),Date.now()-this.u>50&&this.W&&this.setState({R:!1}))},r.prototype.C=function(){this.u=Date.now()},r.prototype.O=function(){this.setState({R:!0})},r.prototype.D=function(){this.setState({R:!1})},r.prototype.S=function(e){this.H=e},r.prototype.T=function(e){e.preventDefault(),this.H.focus(),this.A(e),this.W&&this.setState({R:!1})},r.prototype.A=function(e){var t=this.props;(0,t.onChange)(!t.checked,e,t.id)},r.prototype.render=function(){var e=this.props,r=e.checked,o=e.disabled,i=e.className,s=e.offColor,l=e.onColor,u=e.offHandleColor,c=e.onHandleColor,d=e.checkedIcon,p=e.uncheckedIcon,h=e.checkedHandleIcon,f=e.uncheckedHandleIcon,m=e.boxShadow,g=e.activeBoxShadow,v=e.height,b=e.width,y=e.borderRadius,x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),k=this.state,w=k.h,C=k.N,E=k.R,I={position:"relative",display:"inline-block",textAlign:"left",opacity:o?.5:1,direction:"ltr",borderRadius:v/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},S={height:v,width:b,margin:Math.max(0,(this.t-v)/2),position:"relative",background:a(w,this.i,this.o,s,l),borderRadius:"number"==typeof y?y:v/2,cursor:o?"default":"pointer",WebkitTransition:C?null:"background 0.25s",MozTransition:C?null:"background 0.25s",transition:C?null:"background 0.25s"},M={height:v,width:Math.min(1.5*v,b-(this.t+v)/2+1),position:"relative",opacity:(w-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},_={height:v,width:Math.min(1.5*v,b-(this.t+v)/2+1),position:"absolute",opacity:1-(w-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},T={height:this.t,width:this.t,background:a(w,this.i,this.o,u,c),display:"inline-block",cursor:o?"default":"pointer",borderRadius:"number"==typeof y?y-1:"50%",position:"absolute",transform:"translateX("+w+"px)",top:Math.max(0,(v-this.t)/2),outline:0,boxShadow:E?g:m,border:0,WebkitTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},D={height:this.t,width:this.t,opacity:Math.max(2*(1-(w-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},L={height:this.t,width:this.t,opacity:Math.max(2*((w-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"};return t.createElement("div",{className:i,style:I},t.createElement("div",{className:"react-switch-bg",style:S,onClick:o?null:this.T,onMouseDown:function(e){return e.preventDefault()}},d&&t.createElement("div",{style:M},d),p&&t.createElement("div",{style:_},p)),t.createElement("div",{className:"react-switch-handle",style:T,onClick:function(e){return e.preventDefault()},onMouseDown:o?null:this.p,onTouchStart:o?null:this.k,onTouchMove:o?null:this.M,onTouchEnd:o?null:this.m,onTouchCancel:o?null:this.D},f&&t.createElement("div",{style:D},f),h&&t.createElement("div",{style:L},h)),t.createElement("input",n({},{type:"checkbox",role:"switch","aria-checked":r,checked:r,disabled:o,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},x,{ref:this.S,onFocus:this.O,onBlur:this.D,onKeyUp:this.C,onChange:this.$})))},r}(t.Component);return s.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:r,checkedIcon:o,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56},Ok.default=s,Ok}():Nk.exports=(Pk||(Pk=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});var n=e,r=ou;function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},n.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),a=n.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},n.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function s(e){if(7===e.length)return e;for(var t="#",n=1;n<4;n+=1)t+=e[n]+e[n];return t}function l(e,t,n,r,o){return function(e,t,n,r,o){var i=(e-n)/(t-n);if(0===i)return r;if(1===i)return o;for(var a="#",s=1;s<6;s+=2){var l=parseInt(r.substr(s,2),16),u=parseInt(o.substr(s,2),16),c=Math.round((1-i)*l+i*u).toString(16);1===c.length&&(c="0"+c),a+=c}return a}(e,t,n,s(r),s(o))}var u=function(e,t,n){var r=e[t];return"string"!=typeof r||"#"!==r[0]||4!==r.length&&7!==r.length?new Error("Invalid prop '"+t+"' supplied to '"+n+"'. '"+t+"' has to be either a 3-digit or 6-digit hex-color string. Valid examples: '#abc', '#123456'"):null},c=function(e){function t(t){e.call(this,t);var n=t.height,r=t.width,o=t.handleDiameter,i=t.checked;this.$handleDiameter=o||n-2,this.$checkedPos=Math.max(r-n,r-(n+this.$handleDiameter)/2),this.$uncheckedPos=Math.max(0,(n-this.$handleDiameter)/2),this.state={$pos:i?this.$checkedPos:this.$uncheckedPos},this.$lastDragAt=0,this.$lastKeyUpAt=0,this.$onMouseDown=this.$onMouseDown.bind(this),this.$onMouseMove=this.$onMouseMove.bind(this),this.$onMouseUp=this.$onMouseUp.bind(this),this.$onTouchStart=this.$onTouchStart.bind(this),this.$onTouchMove=this.$onTouchMove.bind(this),this.$onTouchEnd=this.$onTouchEnd.bind(this),this.$onClick=this.$onClick.bind(this),this.$onInputChange=this.$onInputChange.bind(this),this.$onKeyUp=this.$onKeyUp.bind(this),this.$setHasOutline=this.$setHasOutline.bind(this),this.$unsetHasOutline=this.$unsetHasOutline.bind(this),this.$getInputRef=this.$getInputRef.bind(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.$isMounted=!0},t.prototype.componentDidUpdate=function(e){if(e.checked!==this.props.checked){var t=this.props.checked?this.$checkedPos:this.$uncheckedPos;this.setState({$pos:t})}},t.prototype.componentWillUnmount=function(){this.$isMounted=!1},t.prototype.$onDragStart=function(e){this.$inputRef.focus(),this.setState({$startX:e,$hasOutline:!0,$dragStartingTime:Date.now()})},t.prototype.$onDrag=function(e){var t=this.state,n=t.$startX,r=t.$isDragging,o=t.$pos,i=(this.props.checked?this.$checkedPos:this.$uncheckedPos)+e-n;r||e===n||this.setState({$isDragging:!0});var a=Math.min(this.$checkedPos,Math.max(this.$uncheckedPos,i));a!==o&&this.setState({$pos:a})},t.prototype.$onDragStop=function(e){var t=this.state,n=t.$pos,r=t.$isDragging,o=t.$dragStartingTime,i=this.props.checked,a=(this.$checkedPos+this.$uncheckedPos)/2,s=this.props.checked?this.$checkedPos:this.$uncheckedPos;this.setState({$pos:s});var l=Date.now()-o;(!r||l<250||i&&n<=a||!i&&n>=a)&&this.$onChange(e),this.$isMounted&&this.setState({$isDragging:!1,$hasOutline:!1}),this.$lastDragAt=Date.now()},t.prototype.$onMouseDown=function(e){e.preventDefault(),"number"==typeof e.button&&0!==e.button||(this.$onDragStart(e.clientX),window.addEventListener("mousemove",this.$onMouseMove),window.addEventListener("mouseup",this.$onMouseUp))},t.prototype.$onMouseMove=function(e){e.preventDefault(),this.$onDrag(e.clientX)},t.prototype.$onMouseUp=function(e){this.$onDragStop(e),window.removeEventListener("mousemove",this.$onMouseMove),window.removeEventListener("mouseup",this.$onMouseUp)},t.prototype.$onTouchStart=function(e){this.$checkedStateFromDragging=null,this.$onDragStart(e.touches[0].clientX)},t.prototype.$onTouchMove=function(e){this.$onDrag(e.touches[0].clientX)},t.prototype.$onTouchEnd=function(e){e.preventDefault(),this.$onDragStop(e)},t.prototype.$onInputChange=function(e){Date.now()-this.$lastDragAt>50&&(this.$onChange(e),Date.now()-this.$lastKeyUpAt>50&&this.$isMounted&&this.setState({$hasOutline:!1}))},t.prototype.$onKeyUp=function(){this.$lastKeyUpAt=Date.now()},t.prototype.$setHasOutline=function(){this.setState({$hasOutline:!0})},t.prototype.$unsetHasOutline=function(){this.setState({$hasOutline:!1})},t.prototype.$getInputRef=function(e){this.$inputRef=e},t.prototype.$onClick=function(e){e.preventDefault(),this.$inputRef.focus(),this.$onChange(e),this.$isMounted&&this.setState({$hasOutline:!1})},t.prototype.$onChange=function(e){var t=this.props,n=t.checked;(0,t.onChange)(!n,e,t.id)},t.prototype.render=function(){var e=this.props,t=e.checked,r=e.disabled,i=e.className,a=e.offColor,s=e.onColor,u=e.offHandleColor,c=e.onHandleColor,d=e.checkedIcon,p=e.uncheckedIcon,h=e.checkedHandleIcon,f=e.uncheckedHandleIcon,m=e.boxShadow,g=e.activeBoxShadow,v=e.height,b=e.width,y=e.borderRadius;e.handleDiameter;var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),k=this.state,w=k.$pos,C=k.$isDragging,E=k.$hasOutline,I={position:"relative",display:"inline-block",textAlign:"left",opacity:r?.5:1,direction:"ltr",borderRadius:v/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},S={height:v,width:b,margin:Math.max(0,(this.$handleDiameter-v)/2),position:"relative",background:l(w,this.$checkedPos,this.$uncheckedPos,a,s),borderRadius:"number"==typeof y?y:v/2,cursor:r?"default":"pointer",WebkitTransition:C?null:"background 0.25s",MozTransition:C?null:"background 0.25s",transition:C?null:"background 0.25s"},M={height:v,width:Math.min(1.5*v,b-(this.$handleDiameter+v)/2+1),position:"relative",opacity:(w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos),pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},_={height:v,width:Math.min(1.5*v,b-(this.$handleDiameter+v)/2+1),position:"absolute",opacity:1-(w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos),right:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},T={height:this.$handleDiameter,width:this.$handleDiameter,background:l(w,this.$checkedPos,this.$uncheckedPos,u,c),display:"inline-block",cursor:r?"default":"pointer",borderRadius:"number"==typeof y?y-1:"50%",position:"absolute",transform:"translateX("+w+"px)",top:Math.max(0,(v-this.$handleDiameter)/2),outline:0,boxShadow:E?g:m,border:0,WebkitTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},D={height:this.$handleDiameter,width:this.$handleDiameter,opacity:Math.max(2*(1-(w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},L={height:this.$handleDiameter,width:this.$handleDiameter,opacity:Math.max(2*((w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"};return n.createElement("div",{className:i,style:I},n.createElement("div",{className:"react-switch-bg",style:S,onClick:r?null:this.$onClick,onMouseDown:function(e){return e.preventDefault()}},d&&n.createElement("div",{style:M},d),p&&n.createElement("div",{style:_},p)),n.createElement("div",{className:"react-switch-handle",style:T,onClick:function(e){return e.preventDefault()},onMouseDown:r?null:this.$onMouseDown,onTouchStart:r?null:this.$onTouchStart,onTouchMove:r?null:this.$onTouchMove,onTouchEnd:r?null:this.$onTouchEnd,onTouchCancel:r?null:this.$unsetHasOutline},f&&n.createElement("div",{style:D},f),h&&n.createElement("div",{style:L},h)),n.createElement("input",o({},{type:"checkbox",role:"switch","aria-checked":t,checked:t,disabled:r,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},x,{ref:this.$getInputRef,onFocus:this.$setHasOutline,onBlur:this.$unsetHasOutline,onKeyUp:this.$onKeyUp,onChange:this.$onInputChange})))},t}(n.Component);c.propTypes={checked:r.bool.isRequired,onChange:r.func.isRequired,disabled:r.bool,offColor:u,onColor:u,offHandleColor:u,onHandleColor:u,handleDiameter:r.number,uncheckedIcon:r.oneOfType([r.bool,r.element]),checkedIcon:r.oneOfType([r.bool,r.element]),boxShadow:r.string,borderRadius:r.number,activeBoxShadow:r.string,uncheckedHandleIcon:r.element,checkedHandleIcon:r.element,height:r.number,width:r.number,id:r.string,className:r.string},c.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:i,checkedIcon:a,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56},t.default=c}(Rk)),Rk);var Vk=pt(Nk.exports);const Bk=t.div`
|
|
1969
|
+
`,Lk=e.forwardRef(((t,n)=>{const{colorScheme:r,describedBy:o,hasError:i=!1,invalid:a=!1,labelledBy:s,mediaType:l,required:u}=t,c=ls(t,["colorScheme","describedBy","hasError","invalid","labelledBy","mediaType","required"]),d=a||i;return e.createElement(Dk,Object.assign({$invalid:d,"aria-describedby":o,"aria-invalid":d,"aria-labelledby":s,"aria-required":u,ref:n},c))}));Lk.displayName="TextAreaControl";const Ak=Rf(Lk);var Nk,Ok={exports:{}},Pk={};var Rk,Vk={};"production"===process.env.NODE_ENV?Ok.exports=function(){if(Nk)return Pk;Nk=1,Object.defineProperty(Pk,"__esModule",{value:!0});var t=e;function n(){return n=Object.assign?Object.assign.bind():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},n.apply(this,arguments)}var r=t.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},t.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),o=t.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},t.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function i(e){if(7===e.length)return e;for(var t="#",n=1;n<4;n+=1)t+=e[n]+e[n];return t}function a(e,t,n,r,o){return function(e,t,n,r,o){var i=(e-n)/(t-n);if(0===i)return r;if(1===i)return o;for(var a="#",s=1;s<6;s+=2){var l=parseInt(r.substr(s,2),16),u=parseInt(o.substr(s,2),16),c=Math.round((1-i)*l+i*u).toString(16);1===c.length&&(c="0"+c),a+=c}return a}(e,t,n,i(r),i(o))}var s=function(e){function r(t){e.call(this,t);var n=t.height,r=t.width,o=t.checked;this.t=t.handleDiameter||n-2,this.i=Math.max(r-n,r-(n+this.t)/2),this.o=Math.max(0,(n-this.t)/2),this.state={h:o?this.i:this.o},this.l=0,this.u=0,this.p=this.p.bind(this),this.v=this.v.bind(this),this.g=this.g.bind(this),this.k=this.k.bind(this),this.M=this.M.bind(this),this.m=this.m.bind(this),this.T=this.T.bind(this),this.$=this.$.bind(this),this.C=this.C.bind(this),this.O=this.O.bind(this),this.D=this.D.bind(this),this.S=this.S.bind(this)}return e&&(r.__proto__=e),(r.prototype=Object.create(e&&e.prototype)).constructor=r,r.prototype.componentDidMount=function(){this.W=!0},r.prototype.componentDidUpdate=function(e){e.checked!==this.props.checked&&this.setState({h:this.props.checked?this.i:this.o})},r.prototype.componentWillUnmount=function(){this.W=!1},r.prototype.I=function(e){this.H.focus(),this.setState({j:e,R:!0,B:Date.now()})},r.prototype.L=function(e){var t=this.state,n=t.j,r=t.h,o=(this.props.checked?this.i:this.o)+e-n;t.N||e===n||this.setState({N:!0});var i=Math.min(this.i,Math.max(this.o,o));i!==r&&this.setState({h:i})},r.prototype.U=function(e){var t=this.state,n=t.h,r=t.N,o=t.B,i=this.props.checked,a=(this.i+this.o)/2;this.setState({h:this.props.checked?this.i:this.o});var s=Date.now()-o;(!r||s<250||i&&n<=a||!i&&n>=a)&&this.A(e),this.W&&this.setState({N:!1,R:!1}),this.l=Date.now()},r.prototype.p=function(e){e.preventDefault(),"number"==typeof e.button&&0!==e.button||(this.I(e.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},r.prototype.v=function(e){e.preventDefault(),this.L(e.clientX)},r.prototype.g=function(e){this.U(e),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},r.prototype.k=function(e){this.X=null,this.I(e.touches[0].clientX)},r.prototype.M=function(e){this.L(e.touches[0].clientX)},r.prototype.m=function(e){e.preventDefault(),this.U(e)},r.prototype.$=function(e){Date.now()-this.l>50&&(this.A(e),Date.now()-this.u>50&&this.W&&this.setState({R:!1}))},r.prototype.C=function(){this.u=Date.now()},r.prototype.O=function(){this.setState({R:!0})},r.prototype.D=function(){this.setState({R:!1})},r.prototype.S=function(e){this.H=e},r.prototype.T=function(e){e.preventDefault(),this.H.focus(),this.A(e),this.W&&this.setState({R:!1})},r.prototype.A=function(e){var t=this.props;(0,t.onChange)(!t.checked,e,t.id)},r.prototype.render=function(){var e=this.props,r=e.checked,o=e.disabled,i=e.className,s=e.offColor,l=e.onColor,u=e.offHandleColor,c=e.onHandleColor,d=e.checkedIcon,p=e.uncheckedIcon,h=e.checkedHandleIcon,f=e.uncheckedHandleIcon,m=e.boxShadow,g=e.activeBoxShadow,v=e.height,b=e.width,y=e.borderRadius,x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),k=this.state,w=k.h,C=k.N,E=k.R,I={position:"relative",display:"inline-block",textAlign:"left",opacity:o?.5:1,direction:"ltr",borderRadius:v/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},S={height:v,width:b,margin:Math.max(0,(this.t-v)/2),position:"relative",background:a(w,this.i,this.o,s,l),borderRadius:"number"==typeof y?y:v/2,cursor:o?"default":"pointer",WebkitTransition:C?null:"background 0.25s",MozTransition:C?null:"background 0.25s",transition:C?null:"background 0.25s"},M={height:v,width:Math.min(1.5*v,b-(this.t+v)/2+1),position:"relative",opacity:(w-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},_={height:v,width:Math.min(1.5*v,b-(this.t+v)/2+1),position:"absolute",opacity:1-(w-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},T={height:this.t,width:this.t,background:a(w,this.i,this.o,u,c),display:"inline-block",cursor:o?"default":"pointer",borderRadius:"number"==typeof y?y-1:"50%",position:"absolute",transform:"translateX("+w+"px)",top:Math.max(0,(v-this.t)/2),outline:0,boxShadow:E?g:m,border:0,WebkitTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},D={height:this.t,width:this.t,opacity:Math.max(2*(1-(w-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},L={height:this.t,width:this.t,opacity:Math.max(2*((w-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"};return t.createElement("div",{className:i,style:I},t.createElement("div",{className:"react-switch-bg",style:S,onClick:o?null:this.T,onMouseDown:function(e){return e.preventDefault()}},d&&t.createElement("div",{style:M},d),p&&t.createElement("div",{style:_},p)),t.createElement("div",{className:"react-switch-handle",style:T,onClick:function(e){return e.preventDefault()},onMouseDown:o?null:this.p,onTouchStart:o?null:this.k,onTouchMove:o?null:this.M,onTouchEnd:o?null:this.m,onTouchCancel:o?null:this.D},f&&t.createElement("div",{style:D},f),h&&t.createElement("div",{style:L},h)),t.createElement("input",n({},{type:"checkbox",role:"switch","aria-checked":r,checked:r,disabled:o,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},x,{ref:this.S,onFocus:this.O,onBlur:this.D,onKeyUp:this.C,onChange:this.$})))},r}(t.Component);return s.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:r,checkedIcon:o,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56},Pk.default=s,Pk}():Ok.exports=(Rk||(Rk=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});var n=e,r=ou;function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n.createElement("svg",{viewBox:"-2 -5 14 20",height:"100%",width:"100%",style:{position:"absolute",top:0}},n.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"})),a=n.createElement("svg",{height:"100%",width:"100%",viewBox:"-2 -5 17 21",style:{position:"absolute",top:0}},n.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}));function s(e){if(7===e.length)return e;for(var t="#",n=1;n<4;n+=1)t+=e[n]+e[n];return t}function l(e,t,n,r,o){return function(e,t,n,r,o){var i=(e-n)/(t-n);if(0===i)return r;if(1===i)return o;for(var a="#",s=1;s<6;s+=2){var l=parseInt(r.substr(s,2),16),u=parseInt(o.substr(s,2),16),c=Math.round((1-i)*l+i*u).toString(16);1===c.length&&(c="0"+c),a+=c}return a}(e,t,n,s(r),s(o))}var u=function(e,t,n){var r=e[t];return"string"!=typeof r||"#"!==r[0]||4!==r.length&&7!==r.length?new Error("Invalid prop '"+t+"' supplied to '"+n+"'. '"+t+"' has to be either a 3-digit or 6-digit hex-color string. Valid examples: '#abc', '#123456'"):null},c=function(e){function t(t){e.call(this,t);var n=t.height,r=t.width,o=t.handleDiameter,i=t.checked;this.$handleDiameter=o||n-2,this.$checkedPos=Math.max(r-n,r-(n+this.$handleDiameter)/2),this.$uncheckedPos=Math.max(0,(n-this.$handleDiameter)/2),this.state={$pos:i?this.$checkedPos:this.$uncheckedPos},this.$lastDragAt=0,this.$lastKeyUpAt=0,this.$onMouseDown=this.$onMouseDown.bind(this),this.$onMouseMove=this.$onMouseMove.bind(this),this.$onMouseUp=this.$onMouseUp.bind(this),this.$onTouchStart=this.$onTouchStart.bind(this),this.$onTouchMove=this.$onTouchMove.bind(this),this.$onTouchEnd=this.$onTouchEnd.bind(this),this.$onClick=this.$onClick.bind(this),this.$onInputChange=this.$onInputChange.bind(this),this.$onKeyUp=this.$onKeyUp.bind(this),this.$setHasOutline=this.$setHasOutline.bind(this),this.$unsetHasOutline=this.$unsetHasOutline.bind(this),this.$getInputRef=this.$getInputRef.bind(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.$isMounted=!0},t.prototype.componentDidUpdate=function(e){if(e.checked!==this.props.checked){var t=this.props.checked?this.$checkedPos:this.$uncheckedPos;this.setState({$pos:t})}},t.prototype.componentWillUnmount=function(){this.$isMounted=!1},t.prototype.$onDragStart=function(e){this.$inputRef.focus(),this.setState({$startX:e,$hasOutline:!0,$dragStartingTime:Date.now()})},t.prototype.$onDrag=function(e){var t=this.state,n=t.$startX,r=t.$isDragging,o=t.$pos,i=(this.props.checked?this.$checkedPos:this.$uncheckedPos)+e-n;r||e===n||this.setState({$isDragging:!0});var a=Math.min(this.$checkedPos,Math.max(this.$uncheckedPos,i));a!==o&&this.setState({$pos:a})},t.prototype.$onDragStop=function(e){var t=this.state,n=t.$pos,r=t.$isDragging,o=t.$dragStartingTime,i=this.props.checked,a=(this.$checkedPos+this.$uncheckedPos)/2,s=this.props.checked?this.$checkedPos:this.$uncheckedPos;this.setState({$pos:s});var l=Date.now()-o;(!r||l<250||i&&n<=a||!i&&n>=a)&&this.$onChange(e),this.$isMounted&&this.setState({$isDragging:!1,$hasOutline:!1}),this.$lastDragAt=Date.now()},t.prototype.$onMouseDown=function(e){e.preventDefault(),"number"==typeof e.button&&0!==e.button||(this.$onDragStart(e.clientX),window.addEventListener("mousemove",this.$onMouseMove),window.addEventListener("mouseup",this.$onMouseUp))},t.prototype.$onMouseMove=function(e){e.preventDefault(),this.$onDrag(e.clientX)},t.prototype.$onMouseUp=function(e){this.$onDragStop(e),window.removeEventListener("mousemove",this.$onMouseMove),window.removeEventListener("mouseup",this.$onMouseUp)},t.prototype.$onTouchStart=function(e){this.$checkedStateFromDragging=null,this.$onDragStart(e.touches[0].clientX)},t.prototype.$onTouchMove=function(e){this.$onDrag(e.touches[0].clientX)},t.prototype.$onTouchEnd=function(e){e.preventDefault(),this.$onDragStop(e)},t.prototype.$onInputChange=function(e){Date.now()-this.$lastDragAt>50&&(this.$onChange(e),Date.now()-this.$lastKeyUpAt>50&&this.$isMounted&&this.setState({$hasOutline:!1}))},t.prototype.$onKeyUp=function(){this.$lastKeyUpAt=Date.now()},t.prototype.$setHasOutline=function(){this.setState({$hasOutline:!0})},t.prototype.$unsetHasOutline=function(){this.setState({$hasOutline:!1})},t.prototype.$getInputRef=function(e){this.$inputRef=e},t.prototype.$onClick=function(e){e.preventDefault(),this.$inputRef.focus(),this.$onChange(e),this.$isMounted&&this.setState({$hasOutline:!1})},t.prototype.$onChange=function(e){var t=this.props,n=t.checked;(0,t.onChange)(!n,e,t.id)},t.prototype.render=function(){var e=this.props,t=e.checked,r=e.disabled,i=e.className,a=e.offColor,s=e.onColor,u=e.offHandleColor,c=e.onHandleColor,d=e.checkedIcon,p=e.uncheckedIcon,h=e.checkedHandleIcon,f=e.uncheckedHandleIcon,m=e.boxShadow,g=e.activeBoxShadow,v=e.height,b=e.width,y=e.borderRadius;e.handleDiameter;var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),k=this.state,w=k.$pos,C=k.$isDragging,E=k.$hasOutline,I={position:"relative",display:"inline-block",textAlign:"left",opacity:r?.5:1,direction:"ltr",borderRadius:v/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},S={height:v,width:b,margin:Math.max(0,(this.$handleDiameter-v)/2),position:"relative",background:l(w,this.$checkedPos,this.$uncheckedPos,a,s),borderRadius:"number"==typeof y?y:v/2,cursor:r?"default":"pointer",WebkitTransition:C?null:"background 0.25s",MozTransition:C?null:"background 0.25s",transition:C?null:"background 0.25s"},M={height:v,width:Math.min(1.5*v,b-(this.$handleDiameter+v)/2+1),position:"relative",opacity:(w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos),pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},_={height:v,width:Math.min(1.5*v,b-(this.$handleDiameter+v)/2+1),position:"absolute",opacity:1-(w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos),right:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},T={height:this.$handleDiameter,width:this.$handleDiameter,background:l(w,this.$checkedPos,this.$uncheckedPos,u,c),display:"inline-block",cursor:r?"default":"pointer",borderRadius:"number"==typeof y?y-1:"50%",position:"absolute",transform:"translateX("+w+"px)",top:Math.max(0,(v-this.$handleDiameter)/2),outline:0,boxShadow:E?g:m,border:0,WebkitTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},D={height:this.$handleDiameter,width:this.$handleDiameter,opacity:Math.max(2*(1-(w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},L={height:this.$handleDiameter,width:this.$handleDiameter,opacity:Math.max(2*((w-this.$uncheckedPos)/(this.$checkedPos-this.$uncheckedPos)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"};return n.createElement("div",{className:i,style:I},n.createElement("div",{className:"react-switch-bg",style:S,onClick:r?null:this.$onClick,onMouseDown:function(e){return e.preventDefault()}},d&&n.createElement("div",{style:M},d),p&&n.createElement("div",{style:_},p)),n.createElement("div",{className:"react-switch-handle",style:T,onClick:function(e){return e.preventDefault()},onMouseDown:r?null:this.$onMouseDown,onTouchStart:r?null:this.$onTouchStart,onTouchMove:r?null:this.$onTouchMove,onTouchEnd:r?null:this.$onTouchEnd,onTouchCancel:r?null:this.$unsetHasOutline},f&&n.createElement("div",{style:D},f),h&&n.createElement("div",{style:L},h)),n.createElement("input",o({},{type:"checkbox",role:"switch","aria-checked":t,checked:t,disabled:r,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},x,{ref:this.$getInputRef,onFocus:this.$setHasOutline,onBlur:this.$unsetHasOutline,onKeyUp:this.$onKeyUp,onChange:this.$onInputChange})))},t}(n.Component);c.propTypes={checked:r.bool.isRequired,onChange:r.func.isRequired,disabled:r.bool,offColor:u,onColor:u,offHandleColor:u,onHandleColor:u,handleDiameter:r.number,uncheckedIcon:r.oneOfType([r.bool,r.element]),checkedIcon:r.oneOfType([r.bool,r.element]),boxShadow:r.string,borderRadius:r.number,activeBoxShadow:r.string,uncheckedHandleIcon:r.element,checkedHandleIcon:r.element,height:r.number,width:r.number,id:r.string,className:r.string},c.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:i,checkedIcon:a,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56},t.default=c}(Vk)),Vk);var Bk=pt(Ok.exports);const $k=t.div`
|
|
1970
1970
|
display: flex;
|
|
1971
1971
|
flex-direction: row;
|
|
1972
1972
|
gap: ${({theme:e})=>e.spacing.xs};
|
|
@@ -2049,9 +2049,9 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2049
2049
|
border: 1px solid ${({theme:e})=>e.colors.border.neutral.subtlest.light}!important;
|
|
2050
2050
|
}
|
|
2051
2051
|
`};
|
|
2052
|
-
|
|
2052
|
+
`,Wk=t.label`
|
|
2053
2053
|
cursor: pointer;
|
|
2054
|
-
`;var
|
|
2054
|
+
`;var Fk,Hk,jk,zk;exports.TagType=void 0,(Fk=exports.TagType||(exports.TagType={})).alert="alert",Fk.info="info",Fk.invert="invert",Fk.neutralDefault="neutralDefault",Fk.neutralSubtle="neutralSubtle",Fk.success="success",Fk.warning="warning",exports.TagSize=void 0,(Hk=exports.TagSize||(exports.TagSize={})).md="md",Hk.sm="sm",exports.TagTextTransform=void 0,(jk=exports.TagTextTransform||(exports.TagTextTransform={})).none="none",jk.uppercase="uppercase",exports.TagIconPosition=void 0,(zk=exports.TagIconPosition||(exports.TagIconPosition={})).left="left",zk.right="right",zk.top="top";const Gk=t.div`
|
|
2055
2055
|
/* COMMON STYLES */
|
|
2056
2056
|
display: flex;
|
|
2057
2057
|
align-items: center;
|
|
@@ -2107,7 +2107,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2107
2107
|
flex-direction: column-reverse;
|
|
2108
2108
|
align-items: flex-start;
|
|
2109
2109
|
`;default:throw new Error("unexpected enum values TagIconPosition in tag.styles.ts")}}}
|
|
2110
|
-
`,
|
|
2110
|
+
`,Zk=t.div`
|
|
2111
2111
|
display: flex;
|
|
2112
2112
|
align-items: center;
|
|
2113
2113
|
justify-content: center;
|
|
@@ -2119,33 +2119,33 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2119
2119
|
`;case exports.TagIconPosition.top:return t.css`
|
|
2120
2120
|
margin: 0 0 ${({theme:e})=>e.spacing.md} 0;
|
|
2121
2121
|
`;default:throw new Error("unexpected enum values TagIconPosition in tag.styles.ts")}}}
|
|
2122
|
-
`;var
|
|
2122
|
+
`;var Yk;exports.StackDirection=void 0,(Yk=exports.StackDirection||(exports.StackDirection={})).column="column",Yk.columnReverse="columnReverse",Yk.row="row",Yk.rowReverse="rowReverse";const Xk=t.div`
|
|
2123
2123
|
display: flex;
|
|
2124
2124
|
flex-direction: ${({$direction:e})=>{switch(e){case exports.StackDirection.row:return"row";case exports.StackDirection.rowReverse:return"row-reverse";case exports.StackDirection.column:return"column";case exports.StackDirection.columnReverse:return"column-reverse";default:throw new Error("unexpected value of enum StackDirection in stack.styles.ts")}}};
|
|
2125
2125
|
gap: ${({$gap:e,theme:t})=>c(t,e)};
|
|
2126
|
-
`;var
|
|
2126
|
+
`;var Uk;exports.PaperShadow=void 0,(Uk=exports.PaperShadow||(exports.PaperShadow={})).lg="lg",Uk.md="md",Uk.sm="sm";const Jk=t.div`
|
|
2127
2127
|
padding: ${({$mediaType:e,theme:t})=>{switch(e){case exports.MediaType.desktop:return t.spacing.xl;case exports.MediaType.mobile:return t.spacing.lg;default:throw new Error("unexpected value of enum MediaType in paper.style.ts PaperStyled padding")}}};
|
|
2128
2128
|
overflow: ${({$overflow:e})=>v(e)};
|
|
2129
2129
|
background-color: ${({$chooseColor:e,theme:t})=>e(t.colors.surface.risen)};
|
|
2130
2130
|
border-radius: ${({theme:e})=>e.borderRadius.md};
|
|
2131
2131
|
box-shadow: ${({$shadow:e,theme:t})=>{switch(e){case exports.PaperShadow.sm:return t.shadow.box.sm;case exports.PaperShadow.md:return t.shadow.box.md;case exports.PaperShadow.lg:return t.shadow.box.lg;default:throw new Error("unexpected value of enum PaperShadow paper.style.ts PaperStyled box-shadow")}}};
|
|
2132
|
-
`,
|
|
2132
|
+
`,Qk=t=>{const{children:n,className:r,overflow:o=exports.Overflow.auto,shadow:i=exports.PaperShadow.md}=t,{chooseColor:a,mediaType:s}=N(t);return e.createElement(Jk,{$chooseColor:a,$mediaType:s,$overflow:o,$shadow:i,className:r},n)},Kk=t(Qk)`
|
|
2133
2133
|
position: relative;
|
|
2134
|
-
`,
|
|
2134
|
+
`,qk=t.div`
|
|
2135
2135
|
position: absolute;
|
|
2136
2136
|
top: 0;
|
|
2137
2137
|
left: 0;
|
|
2138
2138
|
width: 100%;
|
|
2139
|
-
`,
|
|
2139
|
+
`,ew=t.div`
|
|
2140
2140
|
width: 100%;
|
|
2141
2141
|
height: ${4}px;
|
|
2142
|
-
`,
|
|
2142
|
+
`,tw=t.div`
|
|
2143
2143
|
width: ${({$percent:e})=>e}%;
|
|
2144
2144
|
height: ${4}px;
|
|
2145
2145
|
background-color: ${({$chooseColor:e,theme:t})=>e(t.colors.fg.brand.default)};
|
|
2146
2146
|
border-top-right-radius: ${({theme:e})=>e.borderRadius.xs};
|
|
2147
2147
|
border-bottom-right-radius: ${({theme:e})=>e.borderRadius.xs};
|
|
2148
|
-
`,
|
|
2148
|
+
`,nw=t=>{const{activeStepIndex:n,numberOfSteps:r}=t,{chooseColor:o}=N(t),i=(n+1)/r*100;return e.createElement(ew,null,e.createElement(tw,{$chooseColor:o,$percent:i}))};var rw=function e(t,n){var r=function(e){var n,r;return null!==(n=t(e.children,null!==(r=e.suggestions)&&void 0!==r?r:[],e))&&void 0!==n?n:null};return r.displayName=null==n?void 0:n.displayName,r.format=function(e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t(e,function(e){return e.includes("primitive")||!e.includes("comparable")?e:["primitive"].concat(To(e))}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]),n)},r.formatAsPrimitive=function(e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t(e,function(e){return e.includes("primitive")?e:["primitive"].concat(To(e))}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]),n)},r.wrap=function(t,o){var i=e((function(e,n,o){return t((function(e,t,i){return r.format(e,null!=t?t:n,null!=i?i:o)}),e,n,o)}),null!=o?o:n);return i.innerFormatter=r,i},r};const ow=rw((e=>e));var iw,aw={exports:{}},sw={};var lw,uw={};
|
|
2149
2149
|
/**
|
|
2150
2150
|
* @license React
|
|
2151
2151
|
* react-is.development.js
|
|
@@ -2154,7 +2154,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2154
2154
|
*
|
|
2155
2155
|
* This source code is licensed under the MIT license found in the
|
|
2156
2156
|
* LICENSE file in the root directory of this source tree.
|
|
2157
|
-
*/"production"===process.env.NODE_ENV?iw.exports=function(){if(ow)return aw;ow=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case r:case i:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case u:case h:case p:case a:return e;default:return f}}case n:return f}}}return e=Symbol.for("react.module.reference"),aw.ContextConsumer=s,aw.ContextProvider=a,aw.Element=t,aw.ForwardRef=u,aw.Fragment=r,aw.Lazy=h,aw.Memo=p,aw.Portal=n,aw.Profiler=i,aw.StrictMode=o,aw.Suspense=c,aw.SuspenseList=d,aw.isAsyncMode=function(){return!1},aw.isConcurrentMode=function(){return!1},aw.isContextConsumer=function(e){return m(e)===s},aw.isContextProvider=function(e){return m(e)===a},aw.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},aw.isForwardRef=function(e){return m(e)===u},aw.isFragment=function(e){return m(e)===r},aw.isLazy=function(e){return m(e)===h},aw.isMemo=function(e){return m(e)===p},aw.isPortal=function(e){return m(e)===n},aw.isProfiler=function(e){return m(e)===i},aw.isStrictMode=function(e){return m(e)===o},aw.isSuspense=function(e){return m(e)===c},aw.isSuspenseList=function(e){return m(e)===d},aw.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===c||t===d||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===p||t.$$typeof===a||t.$$typeof===s||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},aw.typeOf=m,aw}():iw.exports=(sw||(sw=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var m=e.type;switch(m){case r:case i:case o:case c:case d:return m;default:var g=m&&m.$$typeof;switch(g){case l:case s:case u:case h:case p:case a:return g;default:return f}}case n:return f}}}e=Symbol.for("react.module.reference");var g=s,v=a,b=t,y=u,x=r,k=h,w=p,C=n,E=i,I=o,S=c,M=d,_=!1,T=!1;lw.ContextConsumer=g,lw.ContextProvider=v,lw.Element=b,lw.ForwardRef=y,lw.Fragment=x,lw.Lazy=k,lw.Memo=w,lw.Portal=C,lw.Profiler=E,lw.StrictMode=I,lw.Suspense=S,lw.SuspenseList=M,lw.isAsyncMode=function(e){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},lw.isConcurrentMode=function(e){return T||(T=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},lw.isContextConsumer=function(e){return m(e)===s},lw.isContextProvider=function(e){return m(e)===a},lw.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},lw.isForwardRef=function(e){return m(e)===u},lw.isFragment=function(e){return m(e)===r},lw.isLazy=function(e){return m(e)===h},lw.isMemo=function(e){return m(e)===p},lw.isPortal=function(e){return m(e)===n},lw.isProfiler=function(e){return m(e)===i},lw.isStrictMode=function(e){return m(e)===o},lw.isSuspense=function(e){return m(e)===c},lw.isSuspenseList=function(e){return m(e)===d},lw.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===c||t===d||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===p||t.$$typeof===a||t.$$typeof===s||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},lw.typeOf=m}()),lw);var uw=iw.exports;const cw=e=>"object"==typeof e&&null!=e&&1===e.nodeType,dw=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,pw=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return dw(n.overflowY,t)||dw(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},hw=(e,t,n,r,o,i,a,s)=>i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0,fw=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var mw=0;function gw(e){return"function"==typeof e?e:vw}function vw(){}function bw(e,t){if(e){var n=((e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!cw(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let f=e;for(;cw(f)&&d(f);){if(f=fw(f),f===p){h.push(f);break}null!=f&&f===document.body&&pw(f)&&!pw(document.documentElement)||null!=f&&pw(f,c)&&h.push(f)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:v,scrollY:b}=window,{height:y,width:x,top:k,right:w,bottom:C,left:E}=e.getBoundingClientRect(),{top:I,right:S,bottom:M,left:_}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let T="start"===s||"nearest"===s?k-I:"end"===s?C+M:k+y/2-I+M,D="center"===l?E+x/2-_+S:"end"===l?w+S:E-_;const L=[];for(let e=0;e<h.length;e++){const t=h[e],{height:n,width:r,top:o,right:i,bottom:u,left:c}=t.getBoundingClientRect();if("if-needed"===a&&k>=0&&E>=0&&C<=g&&w<=m&&k>=o&&C<=u&&E>=c&&w<=i)return L;const d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),I=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),M=parseInt(d.borderBottomWidth,10);let _=0,A=0;const N="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-S:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-I-M:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)_="start"===s?T:"end"===s?T-g:"nearest"===s?hw(b,b+g,g,I,M,b+T,b+T+y,y):T-g/2,A="start"===l?D:"center"===l?D-m/2:"end"===l?D-m:hw(v,v+m,m,f,S,v+D,v+D+x,x),_=Math.max(0,_+b),A=Math.max(0,A+v);else{_="start"===s?T-o-I:"end"===s?T-u+M+O:"nearest"===s?hw(o,u,n,I,M+O,T,T+y,y):T-(o+n/2)+O/2,A="start"===l?D-c-f:"center"===l?D-(c+r/2)+N/2:"end"===l?D-i+S+N:hw(c,i,r,f,S+N,D,D+x,x);const{scrollLeft:e,scrollTop:a}=t;_=0===R?0:Math.max(0,Math.min(a+_/R,t.scrollHeight-n/R+O)),A=0===P?0:Math.max(0,Math.min(e+A/P,t.scrollWidth-r/P+N)),T+=a-_,D+=e-A}L.push({el:t,top:_,left:A})}return L})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}}function yw(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function xw(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function kw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function ww(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function Cw(){return String(mw++)}function Ew(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function Iw(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function Sw(e){return"string"==typeof e.type}function Mw(e){return e.props}var _w=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Tw(e){void 0===e&&(e={});var t={};return _w.forEach((function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function Dw(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=Lw(t,r)?t[r]:e[r],n}),{}):e}function Lw(e,t){return void 0!==e[t]}function Aw(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Nw(e,t,n,r,o){void 0===o&&(o=!1);var i=n.length;if(0===i)return-1;var a=i-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=o?a:0:s>a&&(s=o?0:a);var l=Ow(s,t<0,n,r,o);return-1===l?e>=i?-1:e:l}function Ow(e,t,n,r,o){void 0===o&&(o=!1);var i=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<i;s++)if(!r(n[s],s))return s;return o?Ow(t?i-1:0,t,n,r):-1}function Pw(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(yw(t,e,n)||r&&yw(t,n.document.activeElement,n))}))}var Rw=vw;"production"!==process.env.NODE_ENV&&(Rw=function(e,t,n){var r="This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";Object.keys(e).forEach((function(e){void 0!==t[e]&&void 0===n[e]?console.error('downshift: A component has changed the controlled prop "'+e+'" to be uncontrolled. '+r):void 0===t[e]&&void 0!==n[e]&&console.error('downshift: A component has changed the uncontrolled prop "'+e+'" to be controlled. '+r)}))});var Vw=xw((function(e){Bw(e).textContent=""}),500);function Bw(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}function $w(e,t){e&&t&&(Bw(t).textContent=e,Vw(t))}var Ww="production"!==process.env.NODE_ENV?"__autocomplete_unknown__":0,Fw="production"!==process.env.NODE_ENV?"__autocomplete_mouseup__":1,Hw="production"!==process.env.NODE_ENV?"__autocomplete_item_mouseenter__":2,jw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_arrow_up__":3,zw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_arrow_down__":4,Gw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_escape__":5,Zw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_enter__":6,Yw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_home__":7,Xw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_end__":8,Uw="production"!==process.env.NODE_ENV?"__autocomplete_click_item__":9,Jw="production"!==process.env.NODE_ENV?"__autocomplete_blur_input__":10,Qw="production"!==process.env.NODE_ENV?"__autocomplete_change_input__":11,Kw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_space_button__":12,qw="production"!==process.env.NODE_ENV?"__autocomplete_click_button__":13,eC="production"!==process.env.NODE_ENV?"__autocomplete_blur_button__":14,tC="production"!==process.env.NODE_ENV?"__autocomplete_controlled_prop_updated_selected_item__":15,nC="production"!==process.env.NODE_ENV?"__autocomplete_touchend__":16,rC=Object.freeze({__proto__:null,blurButton:eC,blurInput:Jw,changeInput:Qw,clickButton:qw,clickItem:Uw,controlledPropUpdatedSelectedItem:tC,itemMouseEnter:Hw,keyDownArrowDown:zw,keyDownArrowUp:jw,keyDownEnd:Xw,keyDownEnter:Zw,keyDownEscape:Gw,keyDownHome:Yw,keyDownSpaceButton:Kw,mouseUp:Fw,touchEnd:nC,unknown:Ww}),oC=["refKey","ref"],iC=["onClick","onPress","onKeyDown","onKeyUp","onBlur"],aC=["onKeyDown","onBlur","onChange","onInput","onChangeText"],sC=["refKey","ref"],lC=["onMouseMove","onMouseDown","onClick","onPress","index","item"],uC=function(){var t=function(t){function n(e){var n;(n=t.call(this,e)||this).id=n.props.id||"downshift-"+Cw(),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var r=setTimeout((function(){n.timeoutIds=n.timeoutIds.filter((function(e){return e!==r})),e()}),t);n.timeoutIds.push(r)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.isItemDisabled=function(e,t){var r=n.getItemNodeFromIndex(t);return r&&r.hasAttribute("disabled")},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=Tw(t),n.internalSetState(Zo({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,r){t=Tw(t),n.internalSetState(Zo({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),r)},n.selectItemAtIndex=function(e,t,r){var o=n.items[e];null!=o&&n.selectItem(o,t,r)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var r,o,i={},a="function"==typeof e;return!a&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,Zo({},n.getStateAndHelpers(),e)),n.setState((function(t){var s;t=n.getState(t);var l=a?e(t):e;l=n.props.stateReducer(t,l),r=l.hasOwnProperty("selectedItem");var u={};return r&&l.selectedItem!==t.selectedItem&&(o=l.selectedItem),(s=l).type||(s.type=Ww),Object.keys(l).forEach((function(e){t[e]!==l[e]&&(i[e]=l[e]),"type"!==e&&(l[e],Lw(n.props,e)||(u[e]=l[e]))})),a&&l.hasOwnProperty("inputValue")&&n.props.onInputValueChange(l.inputValue,Zo({},n.getStateAndHelpers(),l)),u}),(function(){gw(t)(),Object.keys(i).length>1&&n.props.onStateChange(i,n.getStateAndHelpers()),r&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(i,n.getStateAndHelpers())}))},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,s=o.ref,l=Yo(o,oC),u=(void 0===t?{}:t).suppressRefError,c=void 0!==u&&u;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=c;var d=n.getState().isOpen;return Zo(((r={})[a]=ww(s,n.rootRef),r.role="combobox",r["aria-expanded"]=d,r["aria-haspopup"]="listbox",r["aria-owns"]=d?n.menuId:void 0,r["aria-labelledby"]=n.labelId,r),l)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:zw})}else this.internalSetState({isOpen:!0,type:zw},(function(){var e=t.getItemCount();if(e>0){var n=Nw(t.getState().highlightedIndex,1,{length:e},t.isItemDisabled,!0);t.setHighlightedIndex(n,{type:zw})}}))},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:jw})}else this.internalSetState({isOpen:!0,type:jw},(function(){var e=t.getItemCount();if(e>0){var n=Nw(t.getState().highlightedIndex,-1,{length:e},t.isItemDisabled,!0);t.setHighlightedIndex(n,{type:jw})}}))},Enter:function(e){if(229!==e.which){var t=this.getState(),n=t.isOpen,r=t.highlightedIndex;if(n&&null!=r){e.preventDefault();var o=this.items[r],i=this.getItemNodeFromIndex(r);if(null==o||i&&i.hasAttribute("disabled"))return;this.selectHighlightedItem({type:Zw})}}},Escape:function(e){e.preventDefault(),this.reset(Zo({type:Gw},!this.state.isOpen&&{selectedItem:null,inputValue:""}))}},n.buttonKeyDownHandlers=Zo({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:Kw})}}),n.inputKeyDownHandlers=Zo({},n.keyDownHandlers,{Home:function(e){var t=this.getState().isOpen;if(t){e.preventDefault();var n=this.getItemCount();if(!(n<=0)&&t){var r=Ow(0,!1,{length:n},this.isItemDisabled);this.setHighlightedIndex(r,{type:Yw})}}},End:function(e){var t=this.getState().isOpen;if(t){e.preventDefault();var n=this.getItemCount();if(!(n<=0)&&t){var r=Ow(n-1,!0,{length:n},this.isItemDisabled);this.setHighlightedIndex(r,{type:Xw})}}}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,r=t.onClick;t.onPress;var o=t.onKeyDown,i=t.onKeyUp,a=t.onBlur,s=Yo(t,iC),l=n.getState().isOpen,u={onClick:kw(r,n.buttonHandleClick),onKeyDown:kw(o,n.buttonHandleKeyDown),onKeyUp:kw(i,n.buttonHandleKeyUp),onBlur:kw(a,n.buttonHandleBlur)};return Zo({type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},s.disabled?{}:u,s)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=Aw(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(n,e)},n.buttonHandleClick=function(e){if(e.preventDefault(),n.props.environment){var t=n.props.environment.document,r=t.body,o=t.activeElement;r&&r===o&&e.target.focus()}"test"===process.env.NODE_ENV?n.toggleMenu({type:qw}):n.internalSetTimeout((function(){return n.toggleMenu({type:qw})}))},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout((function(){if(!n.isMouseDown&&n.props.environment){var e=n.props.environment.document.activeElement;null!=e&&e.id===n.inputId||e===t||n.reset({type:eC})}}))},n.getLabelProps=function(e){return Zo({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t=void 0===e?{}:e,r=t.onKeyDown,o=t.onBlur,i=t.onChange,a=t.onInput;t.onChangeText;var s=Yo(t,aC),l={};var u,c=n.getState(),d=c.inputValue,p=c.isOpen,h=c.highlightedIndex;s.disabled||((u={}).onChange=kw(i,a,n.inputHandleChange),u.onKeyDown=kw(r,n.inputHandleKeyDown),u.onBlur=kw(o,n.inputHandleBlur),l=u);return Zo({"aria-autocomplete":"list","aria-activedescendant":p&&"number"==typeof h&&h>=0?n.getItemId(h):void 0,"aria-controls":p?n.menuId:void 0,"aria-labelledby":s&&s["aria-label"]?void 0:n.labelId,autoComplete:"off",value:d,id:n.inputId},l,s)},n.inputHandleKeyDown=function(e){var t=Aw(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(n,e)},n.inputHandleChange=function(e){n.internalSetState({type:Qw,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout((function(){var e;if(!n.isMouseDown&&n.props.environment){var t=n.props.environment.document.activeElement;(null==t||null==(e=t.dataset)?void 0:e.toggle)&&n._rootNode&&n._rootNode.contains(t)||n.reset({type:Jw})}}))},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,s=o.ref,l=Yo(o,sC),u=(void 0===t?{}:t).suppressRefError,c=void 0!==u&&u;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=c,Zo(((r={})[a]=ww(s,n.menuRef),r.role="listbox",r["aria-labelledby"]=l&&l["aria-label"]?void 0:n.labelId,r.id=n.menuId,r),l)},n.getItemProps=function(e){var t,r=void 0===e?{}:e,o=r.onMouseMove,i=r.onMouseDown,a=r.onClick;r.onPress;var s,l,u=r.index,c=r.item,d=void 0===c?"production"===process.env.NODE_ENV?void 0:(s="getItemProps",l="item",void console.error('The property "'+l+'" is required in "'+s+'"')):c,p=Yo(r,lC);void 0===u?(n.items.push(d),u=n.items.indexOf(d)):n.items[u]=d;var h=a,f=((t={onMouseMove:kw(o,(function(){u!==n.getState().highlightedIndex&&(n.setHighlightedIndex(u,{type:Hw}),n.avoidScrolling=!0,n.internalSetTimeout((function(){return n.avoidScrolling=!1}),250))})),onMouseDown:kw(i,(function(e){e.preventDefault()}))}).onClick=kw(h,(function(){n.selectItemAtIndex(u,{type:Uw})})),t),m=p.disabled?{onMouseDown:f.onMouseDown}:f;return Zo({id:n.getItemId(u),role:"option","aria-selected":n.getState().highlightedIndex===u},m,p)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=Tw(e),n.internalSetState((function(t){var r=t.selectedItem;return Zo({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},e)}),t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=Tw(e),n.internalSetState((function(t){var r=t.isOpen;return Zo({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},e)}),(function(){var r=n.getState(),o=r.isOpen,i=r.highlightedIndex;o&&n.getItemCount()>0&&"number"==typeof i&&n.setHighlightedIndex(i,e),gw(t)()}))},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=xw((function(){var e;if(null!=(e=n.props)&&null!=(e=e.environment)&&e.document){var t=n.getState(),r=n.items[t.highlightedIndex],o=n.getItemCount(),i=n.props.getA11yStatusMessage(Zo({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:o,highlightedItem:r},t));n.previousResultCount=o,$w(i,n.props.environment.document)}}),200);var r=n.props,o=r.defaultHighlightedIndex,i=r.initialHighlightedIndex,a=void 0===i?o:i,s=r.defaultIsOpen,l=r.initialIsOpen,u=void 0===l?s:l,c=r.initialInputValue,d=void 0===c?"":c,p=r.initialSelectedItem,h=void 0===p?null:p,f=n.getState({highlightedIndex:a,isOpen:u,inputValue:d,selectedItem:h});return null!=f.selectedItem&&void 0===n.props.initialInputValue&&(f.inputValue=n.props.itemToString(f.selectedItem)),n.state=f,n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fg(e,t)}(n,t);var r=n.prototype;return r.internalClearTimeouts=function(){this.timeoutIds.forEach((function(e){clearTimeout(e)})),this.timeoutIds=[]},r.getState=function(e){return void 0===e&&(e=this.state),Dw(e,this.props)},r.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},r.getItemNodeFromIndex=function(e){return this.props.environment?this.props.environment.document.getElementById(this.getItemId(e)):null},r.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},r.moveHighlightedIndex=function(e,t){var n=this.getItemCount(),r=this.getState().highlightedIndex;if(n>0){var o=Nw(r,e,{length:n},this.isItemDisabled,!0);this.setHighlightedIndex(o,t)}},r.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,o=e.isOpen,i=this.props.itemToString,a=this.id,s=this.getRootProps,l=this.getToggleButtonProps,u=this.getLabelProps,c=this.getMenuProps,d=this.getInputProps,p=this.getItemProps,h=this.openMenu,f=this.closeMenu,m=this.toggleMenu,g=this.selectItem,v=this.selectItemAtIndex,b=this.selectHighlightedItem,y=this.setHighlightedIndex,x=this.clearSelection,k=this.clearItems;return{getRootProps:s,getToggleButtonProps:l,getLabelProps:u,getMenuProps:c,getInputProps:d,getItemProps:p,reset:this.reset,openMenu:h,closeMenu:f,toggleMenu:m,selectItem:g,selectItemAtIndex:v,selectHighlightedItem:b,setHighlightedIndex:y,clearSelection:x,clearItems:k,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:i,id:a,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:r}},r.componentDidMount=function(){var e=this;if("production"!==process.env.NODE_ENV&&this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&cC(this._menuNode,this.getMenuProps),this.props.environment){var t=function(){e.isMouseDown=!0},n=function(t){e.isMouseDown=!1,!Pw(t.target,[e._rootNode,e._menuNode],e.props.environment)&&e.getState().isOpen&&e.reset({type:Fw},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},r=function(){e.isTouchMove=!1},o=function(){e.isTouchMove=!0},i=function(t){var n=Pw(t.target,[e._rootNode,e._menuNode],e.props.environment,!1);e.isTouchMove||n||!e.getState().isOpen||e.reset({type:nC},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},a=this.props.environment;a.addEventListener("mousedown",t),a.addEventListener("mouseup",n),a.addEventListener("touchstart",r),a.addEventListener("touchmove",o),a.addEventListener("touchend",i),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),a.removeEventListener("mousedown",t),a.removeEventListener("mouseup",n),a.removeEventListener("touchstart",r),a.removeEventListener("touchmove",o),a.removeEventListener("touchend",i)}}else this.cleanup=function(){e.internalClearTimeouts()}},r.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==r},r.componentDidUpdate=function(e,t){"production"!==process.env.NODE_ENV&&(Rw(this.state,e,this.props),this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&cC(this._menuNode,this.getMenuProps)),Lw(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:tC,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},r.componentWillUnmount=function(){this.cleanup()},r.render=function(){var t=Iw(this.props.children,vw);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var n=Iw(t(this.getStateAndHelpers()));if(!n)return null;if(this.getRootProps.called||this.props.suppressRefError)return"production"===process.env.NODE_ENV||this.getRootProps.suppressRefError||this.props.suppressRefError||function(e,t){var n=t.refKey,r="ref"!==n,o=!Sw(e);!o||r||uw.isForwardRef(e)?!o&&r&&console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "'+n+'"'):console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps");uw.isForwardRef(e)||Mw(e)[n]||console.error('downshift: You must apply the ref prop "'+n+'" from getRootProps onto your root element.')}(n,this.getRootProps),n;if(Sw(n))return e.cloneElement(n,this.getRootProps(Mw(n)));if("production"!==process.env.NODE_ENV)throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function")},n}(e.Component);return t.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Ew,itemToString:function(e){return null==e?"":("production"===process.env.NODE_ENV||(t=e,"[object Object]"!==Object.prototype.toString.call(t))||e.hasOwnProperty("toString")||console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.","The object that was passed:",e),String(e));var t},onStateChange:vw,onInputValueChange:vw,onUserAction:vw,onChange:vw,onSelect:vw,onOuterClick:vw,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?void 0:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:bw},t.stateChangeTypes=rC,t}();function cC(e,t){var n=t.refKey;e||console.error('downshift: The ref prop "'+n+'" from getMenuProps was not applied correctly on your menu element.')}"production"!==process.env.NODE_ENV&&(uC.propTypes={children:iu.func,defaultHighlightedIndex:iu.number,defaultIsOpen:iu.bool,initialHighlightedIndex:iu.number,initialSelectedItem:iu.any,initialInputValue:iu.string,initialIsOpen:iu.bool,getA11yStatusMessage:iu.func,itemToString:iu.func,onChange:iu.func,onSelect:iu.func,onStateChange:iu.func,onInputValueChange:iu.func,onUserAction:iu.func,onOuterClick:iu.func,selectedItemChanged:iu.func,stateReducer:iu.func,itemCount:iu.number,id:iu.string,environment:iu.shape({addEventListener:iu.func.isRequired,removeEventListener:iu.func.isRequired,document:iu.shape({createElement:iu.func.isRequired,getElementById:iu.func.isRequired,activeElement:iu.any.isRequired,body:iu.any.isRequired}).isRequired,Node:iu.func.isRequired}),suppressRefError:iu.bool,scrollIntoView:iu.func,selectedItem:iu.any,isOpen:iu.bool,inputValue:iu.string,highlightedIndex:iu.number,labelId:iu.string,inputId:iu.string,menuId:iu.string,getItemId:iu.func});var dC={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function pC(e,t,n){var r=e.props,o=e.type,i={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,i=t.type,a="on"+gC(e)+"Change";o[a]&&void 0!==r[e]&&r[e]!==n[e]&&o[a](Zo({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(Zo({type:o},i))}var hC=xw((function(e,t){$w(e,t)}),200),fC="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,mC="useId"in e?function(t){var n=t.id,r=t.labelId,o=t.menuId,i=t.getItemId,a=t.toggleButtonId,s=t.inputId,l="downshift-"+e.useId();n||(n=l);var u=e.useRef({labelId:r||n+"-label",menuId:o||n+"-menu",getItemId:i||function(e){return n+"-item-"+e},toggleButtonId:a||n+"-toggle-button",inputId:s||n+"-input"});return u.current}:function(t){var n=t.id,r=void 0===n?"downshift-"+Cw():n,o=t.labelId,i=t.menuId,a=t.getItemId,s=t.toggleButtonId,l=t.inputId,u=e.useRef({labelId:o||r+"-label",menuId:i||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"});return u.current};function gC(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function vC(t){var n=e.useRef(t);return n.current=t,n}function bC(t,n,r,o){var i=function(t,n,r,o){var i=e.useRef(),a=e.useRef(),s=e.useCallback((function(e,n){a.current=n,e=Dw(e,n.props);var r=t(e,n);return n.props.stateReducer(e,Zo({},n,{changes:r}))}),[t]),l=e.useReducer(s,n,r),u=l[0],c=l[1],d=vC(n),p=e.useCallback((function(e){return c(Zo({props:d.current},e))}),[d]),h=a.current;return e.useEffect((function(){var e=Dw(i.current,null==h?void 0:h.props);h&&i.current&&!o(e,u)&&pC(h,e,u),i.current=u}),[u,h,o]),[u,p]}(t,n,r,o),a=i[0],s=i[1];return[Dw(a,n),s]}var yC={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:bw,environment:"undefined"==typeof window?void 0:window};function xC(e,t,n){void 0===n&&(n=dC);var r=e["default"+gC(t)];return void 0!==r?r:n[t]}function kC(e,t,n){void 0===n&&(n=dC);var r=e[t];if(void 0!==r)return r;var o=e["initial"+gC(t)];return void 0!==o?o:xC(e,t,n)}function wC(e){var t=kC(e,"selectedItem"),n=kC(e,"isOpen"),r=function(e){var t=kC(e,"highlightedIndex");if(t>-1&&e.isItemDisabled(e.items[t],t))return-1;return t}(e),o=kC(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:o}}function CC(e,t,n){var r=e.items,o=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,u=t.highlightedIndex;return 0===r.length?-1:void 0===o||u!==o||a(r[o],o)?void 0===i||a(r[i],i)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:i:o}var EC=function(){return vw};"production"!==process.env.NODE_ENV&&(EC=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=e.useRef(n.reduce((function(e,t){return e[t]={},e}),{}));return e.useEffect((function(){Object.keys(o.current).forEach((function(e){var t=o.current[e];if(Object.keys(t).length){var n=t.suppressRefError,r=t.refKey,i=t.elementRef;n||null!=i&&i.current||console.error('downshift: The ref prop "'+r+'" from '+e+" was not applied correctly on your element.")}else console.error("downshift: You forgot to call the "+e+" getter function on your component / element.")}))}),[]),e.useCallback((function(e,t,n,r){o.current[e]={suppressRefError:t,refKey:n,elementRef:r}}),[])});var IC=vw;function SC(e,t,n){var r;return void 0===n&&(n=!0),Zo({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&Zo({selectedItem:e.items[t],isOpen:xC(e,"isOpen"),highlightedIndex:xC(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function MC(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function _C(){var t=e.useRef(!0);return e.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),t.current}function TC(e){var t=xC(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}"production"!==process.env.NODE_ENV&&(IC=function(t){var n=t.props,r=t.state,o=e.useRef(n),i=_C();e.useEffect((function(){i||(Rw(r,o.current,n),o.current=n)}),[r,n,i])});var DC={environment:iu.shape({addEventListener:iu.func.isRequired,removeEventListener:iu.func.isRequired,document:iu.shape({createElement:iu.func.isRequired,getElementById:iu.func.isRequired,activeElement:iu.any.isRequired,body:iu.any.isRequired}).isRequired,Node:iu.func.isRequired}),itemToString:iu.func,itemToKey:iu.func,stateReducer:iu.func},LC=Zo({},DC,{getA11yStatusMessage:iu.func,highlightedIndex:iu.number,defaultHighlightedIndex:iu.number,initialHighlightedIndex:iu.number,isOpen:iu.bool,defaultIsOpen:iu.bool,initialIsOpen:iu.bool,selectedItem:iu.any,initialSelectedItem:iu.any,defaultSelectedItem:iu.any,id:iu.string,labelId:iu.string,menuId:iu.string,getItemId:iu.func,toggleButtonId:iu.string,onSelectedItemChange:iu.func,onHighlightedIndexChange:iu.func,onStateChange:iu.func,onIsOpenChange:iu.func,scrollIntoView:iu.func});var AC=ss(ss({},LC),{items:iu.array.isRequired,isItemDisabled:iu.func}),NC=ss(ss({},yC),{isItemDisabled:function(){return!1}}),OC=vw;"production"!==process.env.NODE_ENV&&(OC=function(e,t){iu.checkPropTypes(AC,e,"prop",t.name)});var PC="production"!==process.env.NODE_ENV?"__togglebutton_click__":0,RC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_arrow_down__":1,VC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_arrow_up__":2,BC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_character__":3,$C="production"!==process.env.NODE_ENV?"__togglebutton_keydown_escape__":4,WC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_home__":5,FC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_end__":6,HC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_enter__":7,jC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_space_button__":8,zC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_page_up__":9,GC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_page_down__":10,ZC="production"!==process.env.NODE_ENV?"__togglebutton_blur__":11,YC="production"!==process.env.NODE_ENV?"__menu_mouse_leave__":12,XC="production"!==process.env.NODE_ENV?"__item_mouse_move__":13,UC="production"!==process.env.NODE_ENV?"__item_click__":14,JC="production"!==process.env.NODE_ENV?"__function_toggle_menu__":15,QC="production"!==process.env.NODE_ENV?"__function_open_menu__":16,KC="production"!==process.env.NODE_ENV?"__function_close_menu__":17,qC="production"!==process.env.NODE_ENV?"__function_set_highlighted_index__":18,eE="production"!==process.env.NODE_ENV?"__function_select_item__":19,tE="production"!==process.env.NODE_ENV?"__function_set_input_value__":20,nE="production"!==process.env.NODE_ENV?"__function_reset__":21,rE=Object.freeze({__proto__:null,FunctionCloseMenu:KC,FunctionOpenMenu:QC,FunctionReset:nE,FunctionSelectItem:eE,FunctionSetHighlightedIndex:qC,FunctionSetInputValue:tE,FunctionToggleMenu:JC,ItemClick:UC,ItemMouseMove:XC,MenuMouseLeave:YC,ToggleButtonBlur:ZC,ToggleButtonClick:PC,ToggleButtonKeyDownArrowDown:RC,ToggleButtonKeyDownArrowUp:VC,ToggleButtonKeyDownCharacter:BC,ToggleButtonKeyDownEnd:FC,ToggleButtonKeyDownEnter:HC,ToggleButtonKeyDownEscape:$C,ToggleButtonKeyDownHome:WC,ToggleButtonKeyDownPageDown:GC,ToggleButtonKeyDownPageUp:zC,ToggleButtonKeyDownSpaceButton:jC});function oE(e,t){var n,r,o=t.type,i=t.props,a=t.altKey;switch(o){case UC:r={isOpen:xC(i,"isOpen"),highlightedIndex:TC(i),selectedItem:i.items[t.index]};break;case BC:var s=t.key,l=""+e.inputValue+s,u=function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,o=e.itemToString,i=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,u=r[l];if(void 0!==u&&o(u).toLowerCase().startsWith(a)&&!i(u,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?i.items.findIndex((function(t){return i.itemToKey(t)===i.itemToKey(e.selectedItem)})):e.highlightedIndex,items:i.items,itemToString:i.itemToString,isItemDisabled:i.isItemDisabled});r={inputValue:l,highlightedIndex:u,isOpen:!0};break;case RC:r={highlightedIndex:e.isOpen?Nw(e.highlightedIndex,1,i.items,i.isItemDisabled):a&&null==e.selectedItem?-1:CC(i,e,1),isOpen:!0};break;case VC:if(e.isOpen&&a)r=SC(i,e.highlightedIndex,!1);else r={highlightedIndex:e.isOpen?Nw(e.highlightedIndex,-1,i.items,i.isItemDisabled):CC(i,e,-1),isOpen:!0};break;case HC:case jC:r=SC(i,e.highlightedIndex,!1);break;case WC:r={highlightedIndex:Ow(0,!1,i.items,i.isItemDisabled),isOpen:!0};break;case FC:r={highlightedIndex:Ow(i.items.length-1,!0,i.items,i.isItemDisabled),isOpen:!0};break;case zC:r={highlightedIndex:Nw(e.highlightedIndex,-10,i.items,i.isItemDisabled)};break;case GC:r={highlightedIndex:Nw(e.highlightedIndex,10,i.items,i.isItemDisabled)};break;case $C:r={isOpen:!1,highlightedIndex:-1};break;case ZC:r=Zo({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=i.items)?void 0:n.length)&&{selectedItem:i.items[e.highlightedIndex]});break;case eE:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,o=t.type,i=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:CC(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:CC(i,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:i.isItemDisabled(i.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:TC(i),isOpen:xC(i,"isOpen"),selectedItem:xC(i,"selectedItem"),inputValue:xC(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Zo({},e,r)}(e,t,rE)}return Zo({},e,r)}var iE=["onClick"],aE=["onMouseLeave","refKey","ref"],sE=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],lE=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function uE(t){void 0===t&&(t={}),OC(t,uE);var n=Zo({},NC,t),r=n.scrollIntoView,o=n.environment,i=n.getA11yStatusMessage,a=bC(oE,n,wC,MC),s=a[0],l=a[1],u=s.isOpen,c=s.highlightedIndex,d=s.selectedItem,p=s.inputValue,h=e.useRef(null),f=e.useRef(null),m=e.useRef({}),g=e.useRef(null),v=mC(n),b=vC({state:s,props:n}),y=e.useCallback((function(e){return m.current[v.getItemId(e)]}),[v]);!function(t,n,r,o){void 0===o&&(o={});var i=o.document,a=_C();e.useEffect((function(){if(t&&!a&&i){var e=t(n);hC(e,i)}}),r),e.useEffect((function(){return function(){var e,t;hC.cancel(),(t=null==(e=i)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[i])}(i,s,[u,c,d,p],o);var x=function(t){var n=t.highlightedIndex,r=t.isOpen,o=t.itemRefs,i=t.getItemNodeFromIndex,a=t.menuElement,s=t.scrollIntoView,l=e.useRef(!0);return fC((function(){n<0||!r||!Object.keys(o.current).length||(!1===l.current?l.current=!0:s(i(n),a))}),[n]),l}({menuElement:f.current,highlightedIndex:c,isOpen:u,itemRefs:m,scrollIntoView:r,getItemNodeFromIndex:y});e.useEffect((function(){return g.current=xw((function(e){e({type:tE,inputValue:""})}),500),function(){g.current.cancel()}}),[]),e.useEffect((function(){p&&g.current(l)}),[l,p]),IC({props:n,state:s}),e.useEffect((function(){kC(n,"isOpen")&&h.current&&h.current.focus()}),[]);var k=function(t,n,r){var o=e.useRef({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return e.useEffect((function(){if(!t)return vw;var e=r.map((function(e){return e.current}));function i(){o.current.isTouchEnd=!1,o.current.isMouseDown=!0}function a(r){o.current.isMouseDown=!1,Pw(r.target,e,t)||n()}function s(){o.current.isTouchEnd=!1,o.current.isTouchMove=!1}function l(){o.current.isTouchMove=!0}function u(r){o.current.isTouchEnd=!0,o.current.isTouchMove||Pw(r.target,e,t,!1)||n()}return t.addEventListener("mousedown",i),t.addEventListener("mouseup",a),t.addEventListener("touchstart",s),t.addEventListener("touchmove",l),t.addEventListener("touchend",u),function(){t.removeEventListener("mousedown",i),t.removeEventListener("mouseup",a),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",u)}}),[r,t,n]),o.current}(o,e.useCallback((function(){b.current.state.isOpen&&l({type:ZC})}),[l,b]),e.useMemo((function(){return[f,h]}),[f.current,h.current])),w=EC("getMenuProps","getToggleButtonProps");e.useEffect((function(){u||(m.current={})}),[u]);var C=e.useMemo((function(){return{ArrowDown:function(e){e.preventDefault(),l({type:RC,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),l({type:VC,altKey:e.altKey})},Home:function(e){e.preventDefault(),l({type:WC})},End:function(e){e.preventDefault(),l({type:FC})},Escape:function(){b.current.state.isOpen&&l({type:$C})},Enter:function(e){e.preventDefault(),l({type:b.current.state.isOpen?HC:PC})},PageUp:function(e){b.current.state.isOpen&&(e.preventDefault(),l({type:zC}))},PageDown:function(e){b.current.state.isOpen&&(e.preventDefault(),l({type:GC}))}," ":function(e){e.preventDefault();var t=b.current.state;t.isOpen?t.inputValue?l({type:BC,key:" "}):l({type:jC}):l({type:PC})}}}),[l,b]),E=e.useCallback((function(){l({type:JC})}),[l]),I=e.useCallback((function(){l({type:KC})}),[l]),S=e.useCallback((function(){l({type:QC})}),[l]),M=e.useCallback((function(e){l({type:qC,highlightedIndex:e})}),[l]),_=e.useCallback((function(e){l({type:eE,selectedItem:e})}),[l]),T=e.useCallback((function(){l({type:nE})}),[l]),D=e.useCallback((function(e){l({type:tE,inputValue:e})}),[l]),L=e.useCallback((function(e){var t=void 0===e?{}:e,n=t.onClick,r=Yo(t,iE);return Zo({id:v.labelId,htmlFor:v.toggleButtonId,onClick:kw(n,(function(){var e;null==(e=h.current)||e.focus()}))},r)}),[v]),A=e.useCallback((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,i=r.refKey,a=void 0===i?"ref":i,s=r.ref,u=Yo(r,aE),c=(void 0===t?{}:t).suppressRefError;return w("getMenuProps",void 0!==c&&c,a,f),Zo(((n={})[a]=ww(s,(function(e){f.current=e})),n.id=v.menuId,n.role="listbox",n["aria-labelledby"]=u&&u["aria-label"]?void 0:""+v.labelId,n.onMouseLeave=kw(o,(function(){l({type:YC})})),n),u)}),[l,w,v]),N=e.useCallback((function(e,t){var n,r=void 0===e?{}:e,o=r.onBlur,i=r.onClick;r.onPress;var a=r.onKeyDown,s=r.refKey,u=void 0===s?"ref":s,c=r.ref,d=Yo(r,sE),p=(void 0===t?{}:t).suppressRefError,f=void 0!==p&&p,m=b.current.state,g=Zo(((n={})[u]=ww(c,(function(e){h.current=e})),n["aria-activedescendant"]=m.isOpen&&m.highlightedIndex>-1?v.getItemId(m.highlightedIndex):"",n["aria-controls"]=v.menuId,n["aria-expanded"]=b.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+v.labelId,n.id=v.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=kw(o,(function(){m.isOpen&&!k.isMouseDown&&l({type:ZC})})),n),d);return d.disabled||(g.onClick=kw(i,(function(){l({type:PC})})),g.onKeyDown=kw(a,(function(e){var t=Aw(e);t&&C[t]?C[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&l({type:BC,key:t})}))),w("getToggleButtonProps",f,u,h),g}),[l,v,b,k,w,C]),O=e.useCallback((function(e){var t,n=void 0===e?{}:e,r=n.item,o=n.index,i=n.onMouseMove,a=n.onClick,s=n.onMouseDown;n.onPress;var u=n.refKey,c=void 0===u?"ref":u,d=n.disabled,p=n.ref,h=Yo(n,lE);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var f=b.current,g=f.state,y=f.props,w=function(e,t,n,r){var o,i;if(void 0===e){if(void 0===t)throw new Error(r);o=n[t],i=t}else i=void 0===t?n.indexOf(e):t,o=e;return[o,i]}(r,o,y.items,"Pass either item or index to getItemProps!"),C=w[0],E=w[1],I=y.isItemDisabled(C,E),S=Zo(((t={})[c]=ww(p,(function(e){e&&(m.current[v.getItemId(E)]=e)})),t["aria-disabled"]=I,t["aria-selected"]=C===g.selectedItem,t.id=v.getItemId(E),t.role="option",t),h);return I||(S.onClick=kw(a,(function(){l({type:UC,index:E})}))),S.onMouseMove=kw(i,(function(){k.isTouchEnd||E===g.highlightedIndex||(x.current=!1,l({type:XC,index:E,disabled:I}))})),S.onMouseDown=kw(s,(function(e){return e.preventDefault()})),S}),[b,v,k,x,l]);return{getToggleButtonProps:N,getLabelProps:L,getMenuProps:A,getItemProps:O,toggleMenu:E,openMenu:S,closeMenu:I,setHighlightedIndex:M,selectItem:_,reset:T,setInputValue:D,highlightedIndex:c,isOpen:u,selectedItem:d,inputValue:p}}uE.stateChangeTypes=rE,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,Zo({},LC,{items:iu.array.isRequired,isItemDisabled:iu.func,inputValue:iu.string,defaultInputValue:iu.string,initialInputValue:iu.string,inputId:iu.string,onInputValueChange:iu.func}),process.env.NODE_ENV,Zo({},yC,{isItemDisabled:function(){return!1}}),iu.array,iu.array,iu.array,iu.func,iu.number,iu.number,iu.number,iu.func,iu.func,iu.string,iu.string,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var cE={exports:{}};
|
|
2157
|
+
*/"production"===process.env.NODE_ENV?aw.exports=function(){if(iw)return sw;iw=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case r:case i:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case u:case h:case p:case a:return e;default:return f}}case n:return f}}}return e=Symbol.for("react.module.reference"),sw.ContextConsumer=s,sw.ContextProvider=a,sw.Element=t,sw.ForwardRef=u,sw.Fragment=r,sw.Lazy=h,sw.Memo=p,sw.Portal=n,sw.Profiler=i,sw.StrictMode=o,sw.Suspense=c,sw.SuspenseList=d,sw.isAsyncMode=function(){return!1},sw.isConcurrentMode=function(){return!1},sw.isContextConsumer=function(e){return m(e)===s},sw.isContextProvider=function(e){return m(e)===a},sw.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},sw.isForwardRef=function(e){return m(e)===u},sw.isFragment=function(e){return m(e)===r},sw.isLazy=function(e){return m(e)===h},sw.isMemo=function(e){return m(e)===p},sw.isPortal=function(e){return m(e)===n},sw.isProfiler=function(e){return m(e)===i},sw.isStrictMode=function(e){return m(e)===o},sw.isSuspense=function(e){return m(e)===c},sw.isSuspenseList=function(e){return m(e)===d},sw.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===c||t===d||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===p||t.$$typeof===a||t.$$typeof===s||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},sw.typeOf=m,sw}():aw.exports=(lw||(lw=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var m=e.type;switch(m){case r:case i:case o:case c:case d:return m;default:var g=m&&m.$$typeof;switch(g){case l:case s:case u:case h:case p:case a:return g;default:return f}}case n:return f}}}e=Symbol.for("react.module.reference");var g=s,v=a,b=t,y=u,x=r,k=h,w=p,C=n,E=i,I=o,S=c,M=d,_=!1,T=!1;uw.ContextConsumer=g,uw.ContextProvider=v,uw.Element=b,uw.ForwardRef=y,uw.Fragment=x,uw.Lazy=k,uw.Memo=w,uw.Portal=C,uw.Profiler=E,uw.StrictMode=I,uw.Suspense=S,uw.SuspenseList=M,uw.isAsyncMode=function(e){return _||(_=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},uw.isConcurrentMode=function(e){return T||(T=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},uw.isContextConsumer=function(e){return m(e)===s},uw.isContextProvider=function(e){return m(e)===a},uw.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},uw.isForwardRef=function(e){return m(e)===u},uw.isFragment=function(e){return m(e)===r},uw.isLazy=function(e){return m(e)===h},uw.isMemo=function(e){return m(e)===p},uw.isPortal=function(e){return m(e)===n},uw.isProfiler=function(e){return m(e)===i},uw.isStrictMode=function(e){return m(e)===o},uw.isSuspense=function(e){return m(e)===c},uw.isSuspenseList=function(e){return m(e)===d},uw.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===c||t===d||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===p||t.$$typeof===a||t.$$typeof===s||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},uw.typeOf=m}()),uw);var cw=aw.exports;const dw=e=>"object"==typeof e&&null!=e&&1===e.nodeType,pw=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,hw=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return pw(n.overflowY,t)||pw(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},fw=(e,t,n,r,o,i,a,s)=>i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0,mw=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var gw=0;function vw(e){return"function"==typeof e?e:bw}function bw(){}function yw(e,t){if(e){var n=((e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!dw(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,h=[];let f=e;for(;dw(f)&&d(f);){if(f=mw(f),f===p){h.push(f);break}null!=f&&f===document.body&&hw(f)&&!hw(document.documentElement)||null!=f&&hw(f,c)&&h.push(f)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:v,scrollY:b}=window,{height:y,width:x,top:k,right:w,bottom:C,left:E}=e.getBoundingClientRect(),{top:I,right:S,bottom:M,left:_}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let T="start"===s||"nearest"===s?k-I:"end"===s?C+M:k+y/2-I+M,D="center"===l?E+x/2-_+S:"end"===l?w+S:E-_;const L=[];for(let e=0;e<h.length;e++){const t=h[e],{height:n,width:r,top:o,right:i,bottom:u,left:c}=t.getBoundingClientRect();if("if-needed"===a&&k>=0&&E>=0&&C<=g&&w<=m&&k>=o&&C<=u&&E>=c&&w<=i)return L;const d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),I=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),M=parseInt(d.borderBottomWidth,10);let _=0,A=0;const N="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-S:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-I-M:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)_="start"===s?T:"end"===s?T-g:"nearest"===s?fw(b,b+g,g,I,M,b+T,b+T+y,y):T-g/2,A="start"===l?D:"center"===l?D-m/2:"end"===l?D-m:fw(v,v+m,m,f,S,v+D,v+D+x,x),_=Math.max(0,_+b),A=Math.max(0,A+v);else{_="start"===s?T-o-I:"end"===s?T-u+M+O:"nearest"===s?fw(o,u,n,I,M+O,T,T+y,y):T-(o+n/2)+O/2,A="start"===l?D-c-f:"center"===l?D-(c+r/2)+N/2:"end"===l?D-i+S+N:fw(c,i,r,f,S+N,D,D+x,x);const{scrollLeft:e,scrollTop:a}=t;_=0===R?0:Math.max(0,Math.min(a+_/R,t.scrollHeight-n/R+O)),A=0===P?0:Math.max(0,Math.min(e+A/P,t.scrollWidth-r/P+N)),T+=a-_,D+=e-A}L.push({el:t,top:_,left:A})}return L})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}}function xw(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function kw(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function ww(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Cw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function Ew(){return String(gw++)}function Iw(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function Sw(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function Mw(e){return"string"==typeof e.type}function _w(e){return e.props}var Tw=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Dw(e){void 0===e&&(e={});var t={};return Tw.forEach((function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function Lw(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=Aw(t,r)?t[r]:e[r],n}),{}):e}function Aw(e,t){return void 0!==e[t]}function Nw(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Ow(e,t,n,r,o){void 0===o&&(o=!1);var i=n.length;if(0===i)return-1;var a=i-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=o?a:0:s>a&&(s=o?0:a);var l=Pw(s,t<0,n,r,o);return-1===l?e>=i?-1:e:l}function Pw(e,t,n,r,o){void 0===o&&(o=!1);var i=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<i;s++)if(!r(n[s],s))return s;return o?Pw(t?i-1:0,t,n,r):-1}function Rw(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(xw(t,e,n)||r&&xw(t,n.document.activeElement,n))}))}var Vw=bw;"production"!==process.env.NODE_ENV&&(Vw=function(e,t,n){var r="This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";Object.keys(e).forEach((function(e){void 0!==t[e]&&void 0===n[e]?console.error('downshift: A component has changed the controlled prop "'+e+'" to be uncontrolled. '+r):void 0===t[e]&&void 0!==n[e]&&console.error('downshift: A component has changed the uncontrolled prop "'+e+'" to be controlled. '+r)}))});var Bw=kw((function(e){$w(e).textContent=""}),500);function $w(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}function Ww(e,t){e&&t&&($w(t).textContent=e,Bw(t))}var Fw="production"!==process.env.NODE_ENV?"__autocomplete_unknown__":0,Hw="production"!==process.env.NODE_ENV?"__autocomplete_mouseup__":1,jw="production"!==process.env.NODE_ENV?"__autocomplete_item_mouseenter__":2,zw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_arrow_up__":3,Gw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_arrow_down__":4,Zw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_escape__":5,Yw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_enter__":6,Xw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_home__":7,Uw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_end__":8,Jw="production"!==process.env.NODE_ENV?"__autocomplete_click_item__":9,Qw="production"!==process.env.NODE_ENV?"__autocomplete_blur_input__":10,Kw="production"!==process.env.NODE_ENV?"__autocomplete_change_input__":11,qw="production"!==process.env.NODE_ENV?"__autocomplete_keydown_space_button__":12,eC="production"!==process.env.NODE_ENV?"__autocomplete_click_button__":13,tC="production"!==process.env.NODE_ENV?"__autocomplete_blur_button__":14,nC="production"!==process.env.NODE_ENV?"__autocomplete_controlled_prop_updated_selected_item__":15,rC="production"!==process.env.NODE_ENV?"__autocomplete_touchend__":16,oC=Object.freeze({__proto__:null,blurButton:tC,blurInput:Qw,changeInput:Kw,clickButton:eC,clickItem:Jw,controlledPropUpdatedSelectedItem:nC,itemMouseEnter:jw,keyDownArrowDown:Gw,keyDownArrowUp:zw,keyDownEnd:Uw,keyDownEnter:Yw,keyDownEscape:Zw,keyDownHome:Xw,keyDownSpaceButton:qw,mouseUp:Hw,touchEnd:rC,unknown:Fw}),iC=["refKey","ref"],aC=["onClick","onPress","onKeyDown","onKeyUp","onBlur"],sC=["onKeyDown","onBlur","onChange","onInput","onChangeText"],lC=["refKey","ref"],uC=["onMouseMove","onMouseDown","onClick","onPress","index","item"],cC=function(){var t=function(t){function n(e){var n;(n=t.call(this,e)||this).id=n.props.id||"downshift-"+Ew(),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var r=setTimeout((function(){n.timeoutIds=n.timeoutIds.filter((function(e){return e!==r})),e()}),t);n.timeoutIds.push(r)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.isItemDisabled=function(e,t){var r=n.getItemNodeFromIndex(t);return r&&r.hasAttribute("disabled")},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=Dw(t),n.internalSetState(Zo({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,r){t=Dw(t),n.internalSetState(Zo({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),r)},n.selectItemAtIndex=function(e,t,r){var o=n.items[e];null!=o&&n.selectItem(o,t,r)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var r,o,i={},a="function"==typeof e;return!a&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,Zo({},n.getStateAndHelpers(),e)),n.setState((function(t){var s;t=n.getState(t);var l=a?e(t):e;l=n.props.stateReducer(t,l),r=l.hasOwnProperty("selectedItem");var u={};return r&&l.selectedItem!==t.selectedItem&&(o=l.selectedItem),(s=l).type||(s.type=Fw),Object.keys(l).forEach((function(e){t[e]!==l[e]&&(i[e]=l[e]),"type"!==e&&(l[e],Aw(n.props,e)||(u[e]=l[e]))})),a&&l.hasOwnProperty("inputValue")&&n.props.onInputValueChange(l.inputValue,Zo({},n.getStateAndHelpers(),l)),u}),(function(){vw(t)(),Object.keys(i).length>1&&n.props.onStateChange(i,n.getStateAndHelpers()),r&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(i,n.getStateAndHelpers())}))},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,s=o.ref,l=Yo(o,iC),u=(void 0===t?{}:t).suppressRefError,c=void 0!==u&&u;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=c;var d=n.getState().isOpen;return Zo(((r={})[a]=Cw(s,n.rootRef),r.role="combobox",r["aria-expanded"]=d,r["aria-haspopup"]="listbox",r["aria-owns"]=d?n.menuId:void 0,r["aria-labelledby"]=n.labelId,r),l)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:Gw})}else this.internalSetState({isOpen:!0,type:Gw},(function(){var e=t.getItemCount();if(e>0){var n=Ow(t.getState().highlightedIndex,1,{length:e},t.isItemDisabled,!0);t.setHighlightedIndex(n,{type:Gw})}}))},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:zw})}else this.internalSetState({isOpen:!0,type:zw},(function(){var e=t.getItemCount();if(e>0){var n=Ow(t.getState().highlightedIndex,-1,{length:e},t.isItemDisabled,!0);t.setHighlightedIndex(n,{type:zw})}}))},Enter:function(e){if(229!==e.which){var t=this.getState(),n=t.isOpen,r=t.highlightedIndex;if(n&&null!=r){e.preventDefault();var o=this.items[r],i=this.getItemNodeFromIndex(r);if(null==o||i&&i.hasAttribute("disabled"))return;this.selectHighlightedItem({type:Yw})}}},Escape:function(e){e.preventDefault(),this.reset(Zo({type:Zw},!this.state.isOpen&&{selectedItem:null,inputValue:""}))}},n.buttonKeyDownHandlers=Zo({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:qw})}}),n.inputKeyDownHandlers=Zo({},n.keyDownHandlers,{Home:function(e){var t=this.getState().isOpen;if(t){e.preventDefault();var n=this.getItemCount();if(!(n<=0)&&t){var r=Pw(0,!1,{length:n},this.isItemDisabled);this.setHighlightedIndex(r,{type:Xw})}}},End:function(e){var t=this.getState().isOpen;if(t){e.preventDefault();var n=this.getItemCount();if(!(n<=0)&&t){var r=Pw(n-1,!0,{length:n},this.isItemDisabled);this.setHighlightedIndex(r,{type:Uw})}}}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,r=t.onClick;t.onPress;var o=t.onKeyDown,i=t.onKeyUp,a=t.onBlur,s=Yo(t,aC),l=n.getState().isOpen,u={onClick:ww(r,n.buttonHandleClick),onKeyDown:ww(o,n.buttonHandleKeyDown),onKeyUp:ww(i,n.buttonHandleKeyUp),onBlur:ww(a,n.buttonHandleBlur)};return Zo({type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},s.disabled?{}:u,s)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=Nw(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(n,e)},n.buttonHandleClick=function(e){if(e.preventDefault(),n.props.environment){var t=n.props.environment.document,r=t.body,o=t.activeElement;r&&r===o&&e.target.focus()}"test"===process.env.NODE_ENV?n.toggleMenu({type:eC}):n.internalSetTimeout((function(){return n.toggleMenu({type:eC})}))},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout((function(){if(!n.isMouseDown&&n.props.environment){var e=n.props.environment.document.activeElement;null!=e&&e.id===n.inputId||e===t||n.reset({type:tC})}}))},n.getLabelProps=function(e){return Zo({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t=void 0===e?{}:e,r=t.onKeyDown,o=t.onBlur,i=t.onChange,a=t.onInput;t.onChangeText;var s=Yo(t,sC),l={};var u,c=n.getState(),d=c.inputValue,p=c.isOpen,h=c.highlightedIndex;s.disabled||((u={}).onChange=ww(i,a,n.inputHandleChange),u.onKeyDown=ww(r,n.inputHandleKeyDown),u.onBlur=ww(o,n.inputHandleBlur),l=u);return Zo({"aria-autocomplete":"list","aria-activedescendant":p&&"number"==typeof h&&h>=0?n.getItemId(h):void 0,"aria-controls":p?n.menuId:void 0,"aria-labelledby":s&&s["aria-label"]?void 0:n.labelId,autoComplete:"off",value:d,id:n.inputId},l,s)},n.inputHandleKeyDown=function(e){var t=Nw(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(n,e)},n.inputHandleChange=function(e){n.internalSetState({type:Kw,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout((function(){var e;if(!n.isMouseDown&&n.props.environment){var t=n.props.environment.document.activeElement;(null==t||null==(e=t.dataset)?void 0:e.toggle)&&n._rootNode&&n._rootNode.contains(t)||n.reset({type:Qw})}}))},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,s=o.ref,l=Yo(o,lC),u=(void 0===t?{}:t).suppressRefError,c=void 0!==u&&u;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=c,Zo(((r={})[a]=Cw(s,n.menuRef),r.role="listbox",r["aria-labelledby"]=l&&l["aria-label"]?void 0:n.labelId,r.id=n.menuId,r),l)},n.getItemProps=function(e){var t,r=void 0===e?{}:e,o=r.onMouseMove,i=r.onMouseDown,a=r.onClick;r.onPress;var s,l,u=r.index,c=r.item,d=void 0===c?"production"===process.env.NODE_ENV?void 0:(s="getItemProps",l="item",void console.error('The property "'+l+'" is required in "'+s+'"')):c,p=Yo(r,uC);void 0===u?(n.items.push(d),u=n.items.indexOf(d)):n.items[u]=d;var h=a,f=((t={onMouseMove:ww(o,(function(){u!==n.getState().highlightedIndex&&(n.setHighlightedIndex(u,{type:jw}),n.avoidScrolling=!0,n.internalSetTimeout((function(){return n.avoidScrolling=!1}),250))})),onMouseDown:ww(i,(function(e){e.preventDefault()}))}).onClick=ww(h,(function(){n.selectItemAtIndex(u,{type:Jw})})),t),m=p.disabled?{onMouseDown:f.onMouseDown}:f;return Zo({id:n.getItemId(u),role:"option","aria-selected":n.getState().highlightedIndex===u},m,p)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=Dw(e),n.internalSetState((function(t){var r=t.selectedItem;return Zo({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},e)}),t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=Dw(e),n.internalSetState((function(t){var r=t.isOpen;return Zo({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},e)}),(function(){var r=n.getState(),o=r.isOpen,i=r.highlightedIndex;o&&n.getItemCount()>0&&"number"==typeof i&&n.setHighlightedIndex(i,e),vw(t)()}))},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=kw((function(){var e;if(null!=(e=n.props)&&null!=(e=e.environment)&&e.document){var t=n.getState(),r=n.items[t.highlightedIndex],o=n.getItemCount(),i=n.props.getA11yStatusMessage(Zo({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:o,highlightedItem:r},t));n.previousResultCount=o,Ww(i,n.props.environment.document)}}),200);var r=n.props,o=r.defaultHighlightedIndex,i=r.initialHighlightedIndex,a=void 0===i?o:i,s=r.defaultIsOpen,l=r.initialIsOpen,u=void 0===l?s:l,c=r.initialInputValue,d=void 0===c?"":c,p=r.initialSelectedItem,h=void 0===p?null:p,f=n.getState({highlightedIndex:a,isOpen:u,inputValue:d,selectedItem:h});return null!=f.selectedItem&&void 0===n.props.initialInputValue&&(f.inputValue=n.props.itemToString(f.selectedItem)),n.state=f,n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hg(e,t)}(n,t);var r=n.prototype;return r.internalClearTimeouts=function(){this.timeoutIds.forEach((function(e){clearTimeout(e)})),this.timeoutIds=[]},r.getState=function(e){return void 0===e&&(e=this.state),Lw(e,this.props)},r.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},r.getItemNodeFromIndex=function(e){return this.props.environment?this.props.environment.document.getElementById(this.getItemId(e)):null},r.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},r.moveHighlightedIndex=function(e,t){var n=this.getItemCount(),r=this.getState().highlightedIndex;if(n>0){var o=Ow(r,e,{length:n},this.isItemDisabled,!0);this.setHighlightedIndex(o,t)}},r.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,o=e.isOpen,i=this.props.itemToString,a=this.id,s=this.getRootProps,l=this.getToggleButtonProps,u=this.getLabelProps,c=this.getMenuProps,d=this.getInputProps,p=this.getItemProps,h=this.openMenu,f=this.closeMenu,m=this.toggleMenu,g=this.selectItem,v=this.selectItemAtIndex,b=this.selectHighlightedItem,y=this.setHighlightedIndex,x=this.clearSelection,k=this.clearItems;return{getRootProps:s,getToggleButtonProps:l,getLabelProps:u,getMenuProps:c,getInputProps:d,getItemProps:p,reset:this.reset,openMenu:h,closeMenu:f,toggleMenu:m,selectItem:g,selectItemAtIndex:v,selectHighlightedItem:b,setHighlightedIndex:y,clearSelection:x,clearItems:k,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:i,id:a,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:r}},r.componentDidMount=function(){var e=this;if("production"!==process.env.NODE_ENV&&this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&dC(this._menuNode,this.getMenuProps),this.props.environment){var t=function(){e.isMouseDown=!0},n=function(t){e.isMouseDown=!1,!Rw(t.target,[e._rootNode,e._menuNode],e.props.environment)&&e.getState().isOpen&&e.reset({type:Hw},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},r=function(){e.isTouchMove=!1},o=function(){e.isTouchMove=!0},i=function(t){var n=Rw(t.target,[e._rootNode,e._menuNode],e.props.environment,!1);e.isTouchMove||n||!e.getState().isOpen||e.reset({type:rC},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},a=this.props.environment;a.addEventListener("mousedown",t),a.addEventListener("mouseup",n),a.addEventListener("touchstart",r),a.addEventListener("touchmove",o),a.addEventListener("touchend",i),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),a.removeEventListener("mousedown",t),a.removeEventListener("mouseup",n),a.removeEventListener("touchstart",r),a.removeEventListener("touchmove",o),a.removeEventListener("touchend",i)}}else this.cleanup=function(){e.internalClearTimeouts()}},r.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==r},r.componentDidUpdate=function(e,t){"production"!==process.env.NODE_ENV&&(Vw(this.state,e,this.props),this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&dC(this._menuNode,this.getMenuProps)),Aw(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:nC,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},r.componentWillUnmount=function(){this.cleanup()},r.render=function(){var t=Sw(this.props.children,bw);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var n=Sw(t(this.getStateAndHelpers()));if(!n)return null;if(this.getRootProps.called||this.props.suppressRefError)return"production"===process.env.NODE_ENV||this.getRootProps.suppressRefError||this.props.suppressRefError||function(e,t){var n=t.refKey,r="ref"!==n,o=!Mw(e);!o||r||cw.isForwardRef(e)?!o&&r&&console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "'+n+'"'):console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps");cw.isForwardRef(e)||_w(e)[n]||console.error('downshift: You must apply the ref prop "'+n+'" from getRootProps onto your root element.')}(n,this.getRootProps),n;if(Mw(n))return e.cloneElement(n,this.getRootProps(_w(n)));if("production"!==process.env.NODE_ENV)throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function")},n}(e.Component);return t.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Iw,itemToString:function(e){return null==e?"":("production"===process.env.NODE_ENV||(t=e,"[object Object]"!==Object.prototype.toString.call(t))||e.hasOwnProperty("toString")||console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.","The object that was passed:",e),String(e));var t},onStateChange:bw,onInputValueChange:bw,onUserAction:bw,onChange:bw,onSelect:bw,onOuterClick:bw,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?void 0:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:yw},t.stateChangeTypes=oC,t}();function dC(e,t){var n=t.refKey;e||console.error('downshift: The ref prop "'+n+'" from getMenuProps was not applied correctly on your menu element.')}"production"!==process.env.NODE_ENV&&(cC.propTypes={children:iu.func,defaultHighlightedIndex:iu.number,defaultIsOpen:iu.bool,initialHighlightedIndex:iu.number,initialSelectedItem:iu.any,initialInputValue:iu.string,initialIsOpen:iu.bool,getA11yStatusMessage:iu.func,itemToString:iu.func,onChange:iu.func,onSelect:iu.func,onStateChange:iu.func,onInputValueChange:iu.func,onUserAction:iu.func,onOuterClick:iu.func,selectedItemChanged:iu.func,stateReducer:iu.func,itemCount:iu.number,id:iu.string,environment:iu.shape({addEventListener:iu.func.isRequired,removeEventListener:iu.func.isRequired,document:iu.shape({createElement:iu.func.isRequired,getElementById:iu.func.isRequired,activeElement:iu.any.isRequired,body:iu.any.isRequired}).isRequired,Node:iu.func.isRequired}),suppressRefError:iu.bool,scrollIntoView:iu.func,selectedItem:iu.any,isOpen:iu.bool,inputValue:iu.string,highlightedIndex:iu.number,labelId:iu.string,inputId:iu.string,menuId:iu.string,getItemId:iu.func});var pC={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function hC(e,t,n){var r=e.props,o=e.type,i={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,i=t.type,a="on"+vC(e)+"Change";o[a]&&void 0!==r[e]&&r[e]!==n[e]&&o[a](Zo({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(Zo({type:o},i))}var fC=kw((function(e,t){Ww(e,t)}),200),mC="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?e.useLayoutEffect:e.useEffect,gC="useId"in e?function(t){var n=t.id,r=t.labelId,o=t.menuId,i=t.getItemId,a=t.toggleButtonId,s=t.inputId,l="downshift-"+e.useId();n||(n=l);var u=e.useRef({labelId:r||n+"-label",menuId:o||n+"-menu",getItemId:i||function(e){return n+"-item-"+e},toggleButtonId:a||n+"-toggle-button",inputId:s||n+"-input"});return u.current}:function(t){var n=t.id,r=void 0===n?"downshift-"+Ew():n,o=t.labelId,i=t.menuId,a=t.getItemId,s=t.toggleButtonId,l=t.inputId,u=e.useRef({labelId:o||r+"-label",menuId:i||r+"-menu",getItemId:a||function(e){return r+"-item-"+e},toggleButtonId:s||r+"-toggle-button",inputId:l||r+"-input"});return u.current};function vC(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function bC(t){var n=e.useRef(t);return n.current=t,n}function yC(t,n,r,o){var i=function(t,n,r,o){var i=e.useRef(),a=e.useRef(),s=e.useCallback((function(e,n){a.current=n,e=Lw(e,n.props);var r=t(e,n);return n.props.stateReducer(e,Zo({},n,{changes:r}))}),[t]),l=e.useReducer(s,n,r),u=l[0],c=l[1],d=bC(n),p=e.useCallback((function(e){return c(Zo({props:d.current},e))}),[d]),h=a.current;return e.useEffect((function(){var e=Lw(i.current,null==h?void 0:h.props);h&&i.current&&!o(e,u)&&hC(h,e,u),i.current=u}),[u,h,o]),[u,p]}(t,n,r,o),a=i[0],s=i[1];return[Lw(a,n),s]}var xC={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:yw,environment:"undefined"==typeof window?void 0:window};function kC(e,t,n){void 0===n&&(n=pC);var r=e["default"+vC(t)];return void 0!==r?r:n[t]}function wC(e,t,n){void 0===n&&(n=pC);var r=e[t];if(void 0!==r)return r;var o=e["initial"+vC(t)];return void 0!==o?o:kC(e,t,n)}function CC(e){var t=wC(e,"selectedItem"),n=wC(e,"isOpen"),r=function(e){var t=wC(e,"highlightedIndex");if(t>-1&&e.isItemDisabled(e.items[t],t))return-1;return t}(e),o=wC(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:o}}function EC(e,t,n){var r=e.items,o=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,u=t.highlightedIndex;return 0===r.length?-1:void 0===o||u!==o||a(r[o],o)?void 0===i||a(r[i],i)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:i:o}var IC=function(){return bw};"production"!==process.env.NODE_ENV&&(IC=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=e.useRef(n.reduce((function(e,t){return e[t]={},e}),{}));return e.useEffect((function(){Object.keys(o.current).forEach((function(e){var t=o.current[e];if(Object.keys(t).length){var n=t.suppressRefError,r=t.refKey,i=t.elementRef;n||null!=i&&i.current||console.error('downshift: The ref prop "'+r+'" from '+e+" was not applied correctly on your element.")}else console.error("downshift: You forgot to call the "+e+" getter function on your component / element.")}))}),[]),e.useCallback((function(e,t,n,r){o.current[e]={suppressRefError:t,refKey:n,elementRef:r}}),[])});var SC=bw;function MC(e,t,n){var r;return void 0===n&&(n=!0),Zo({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&Zo({selectedItem:e.items[t],isOpen:kC(e,"isOpen"),highlightedIndex:kC(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function _C(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function TC(){var t=e.useRef(!0);return e.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),t.current}function DC(e){var t=kC(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}"production"!==process.env.NODE_ENV&&(SC=function(t){var n=t.props,r=t.state,o=e.useRef(n),i=TC();e.useEffect((function(){i||(Vw(r,o.current,n),o.current=n)}),[r,n,i])});var LC={environment:iu.shape({addEventListener:iu.func.isRequired,removeEventListener:iu.func.isRequired,document:iu.shape({createElement:iu.func.isRequired,getElementById:iu.func.isRequired,activeElement:iu.any.isRequired,body:iu.any.isRequired}).isRequired,Node:iu.func.isRequired}),itemToString:iu.func,itemToKey:iu.func,stateReducer:iu.func},AC=Zo({},LC,{getA11yStatusMessage:iu.func,highlightedIndex:iu.number,defaultHighlightedIndex:iu.number,initialHighlightedIndex:iu.number,isOpen:iu.bool,defaultIsOpen:iu.bool,initialIsOpen:iu.bool,selectedItem:iu.any,initialSelectedItem:iu.any,defaultSelectedItem:iu.any,id:iu.string,labelId:iu.string,menuId:iu.string,getItemId:iu.func,toggleButtonId:iu.string,onSelectedItemChange:iu.func,onHighlightedIndexChange:iu.func,onStateChange:iu.func,onIsOpenChange:iu.func,scrollIntoView:iu.func});var NC=ss(ss({},AC),{items:iu.array.isRequired,isItemDisabled:iu.func}),OC=ss(ss({},xC),{isItemDisabled:function(){return!1}}),PC=bw;"production"!==process.env.NODE_ENV&&(PC=function(e,t){iu.checkPropTypes(NC,e,"prop",t.name)});var RC="production"!==process.env.NODE_ENV?"__togglebutton_click__":0,VC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_arrow_down__":1,BC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_arrow_up__":2,$C="production"!==process.env.NODE_ENV?"__togglebutton_keydown_character__":3,WC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_escape__":4,FC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_home__":5,HC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_end__":6,jC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_enter__":7,zC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_space_button__":8,GC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_page_up__":9,ZC="production"!==process.env.NODE_ENV?"__togglebutton_keydown_page_down__":10,YC="production"!==process.env.NODE_ENV?"__togglebutton_blur__":11,XC="production"!==process.env.NODE_ENV?"__menu_mouse_leave__":12,UC="production"!==process.env.NODE_ENV?"__item_mouse_move__":13,JC="production"!==process.env.NODE_ENV?"__item_click__":14,QC="production"!==process.env.NODE_ENV?"__function_toggle_menu__":15,KC="production"!==process.env.NODE_ENV?"__function_open_menu__":16,qC="production"!==process.env.NODE_ENV?"__function_close_menu__":17,eE="production"!==process.env.NODE_ENV?"__function_set_highlighted_index__":18,tE="production"!==process.env.NODE_ENV?"__function_select_item__":19,nE="production"!==process.env.NODE_ENV?"__function_set_input_value__":20,rE="production"!==process.env.NODE_ENV?"__function_reset__":21,oE=Object.freeze({__proto__:null,FunctionCloseMenu:qC,FunctionOpenMenu:KC,FunctionReset:rE,FunctionSelectItem:tE,FunctionSetHighlightedIndex:eE,FunctionSetInputValue:nE,FunctionToggleMenu:QC,ItemClick:JC,ItemMouseMove:UC,MenuMouseLeave:XC,ToggleButtonBlur:YC,ToggleButtonClick:RC,ToggleButtonKeyDownArrowDown:VC,ToggleButtonKeyDownArrowUp:BC,ToggleButtonKeyDownCharacter:$C,ToggleButtonKeyDownEnd:HC,ToggleButtonKeyDownEnter:jC,ToggleButtonKeyDownEscape:WC,ToggleButtonKeyDownHome:FC,ToggleButtonKeyDownPageDown:ZC,ToggleButtonKeyDownPageUp:GC,ToggleButtonKeyDownSpaceButton:zC});function iE(e,t){var n,r,o=t.type,i=t.props,a=t.altKey;switch(o){case JC:r={isOpen:kC(i,"isOpen"),highlightedIndex:DC(i),selectedItem:i.items[t.index]};break;case $C:var s=t.key,l=""+e.inputValue+s,u=function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,o=e.itemToString,i=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,u=r[l];if(void 0!==u&&o(u).toLowerCase().startsWith(a)&&!i(u,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?i.items.findIndex((function(t){return i.itemToKey(t)===i.itemToKey(e.selectedItem)})):e.highlightedIndex,items:i.items,itemToString:i.itemToString,isItemDisabled:i.isItemDisabled});r={inputValue:l,highlightedIndex:u,isOpen:!0};break;case VC:r={highlightedIndex:e.isOpen?Ow(e.highlightedIndex,1,i.items,i.isItemDisabled):a&&null==e.selectedItem?-1:EC(i,e,1),isOpen:!0};break;case BC:if(e.isOpen&&a)r=MC(i,e.highlightedIndex,!1);else r={highlightedIndex:e.isOpen?Ow(e.highlightedIndex,-1,i.items,i.isItemDisabled):EC(i,e,-1),isOpen:!0};break;case jC:case zC:r=MC(i,e.highlightedIndex,!1);break;case FC:r={highlightedIndex:Pw(0,!1,i.items,i.isItemDisabled),isOpen:!0};break;case HC:r={highlightedIndex:Pw(i.items.length-1,!0,i.items,i.isItemDisabled),isOpen:!0};break;case GC:r={highlightedIndex:Ow(e.highlightedIndex,-10,i.items,i.isItemDisabled)};break;case ZC:r={highlightedIndex:Ow(e.highlightedIndex,10,i.items,i.isItemDisabled)};break;case WC:r={isOpen:!1,highlightedIndex:-1};break;case YC:r=Zo({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=i.items)?void 0:n.length)&&{selectedItem:i.items[e.highlightedIndex]});break;case tE:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,o=t.type,i=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:EC(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:EC(i,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:i.isItemDisabled(i.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:DC(i),isOpen:kC(i,"isOpen"),selectedItem:kC(i,"selectedItem"),inputValue:kC(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Zo({},e,r)}(e,t,oE)}return Zo({},e,r)}var aE=["onClick"],sE=["onMouseLeave","refKey","ref"],lE=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],uE=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function cE(t){void 0===t&&(t={}),PC(t,cE);var n=Zo({},OC,t),r=n.scrollIntoView,o=n.environment,i=n.getA11yStatusMessage,a=yC(iE,n,CC,_C),s=a[0],l=a[1],u=s.isOpen,c=s.highlightedIndex,d=s.selectedItem,p=s.inputValue,h=e.useRef(null),f=e.useRef(null),m=e.useRef({}),g=e.useRef(null),v=gC(n),b=bC({state:s,props:n}),y=e.useCallback((function(e){return m.current[v.getItemId(e)]}),[v]);!function(t,n,r,o){void 0===o&&(o={});var i=o.document,a=TC();e.useEffect((function(){if(t&&!a&&i){var e=t(n);fC(e,i)}}),r),e.useEffect((function(){return function(){var e,t;fC.cancel(),(t=null==(e=i)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[i])}(i,s,[u,c,d,p],o);var x=function(t){var n=t.highlightedIndex,r=t.isOpen,o=t.itemRefs,i=t.getItemNodeFromIndex,a=t.menuElement,s=t.scrollIntoView,l=e.useRef(!0);return mC((function(){n<0||!r||!Object.keys(o.current).length||(!1===l.current?l.current=!0:s(i(n),a))}),[n]),l}({menuElement:f.current,highlightedIndex:c,isOpen:u,itemRefs:m,scrollIntoView:r,getItemNodeFromIndex:y});e.useEffect((function(){return g.current=kw((function(e){e({type:nE,inputValue:""})}),500),function(){g.current.cancel()}}),[]),e.useEffect((function(){p&&g.current(l)}),[l,p]),SC({props:n,state:s}),e.useEffect((function(){wC(n,"isOpen")&&h.current&&h.current.focus()}),[]);var k=function(t,n,r){var o=e.useRef({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return e.useEffect((function(){if(!t)return bw;var e=r.map((function(e){return e.current}));function i(){o.current.isTouchEnd=!1,o.current.isMouseDown=!0}function a(r){o.current.isMouseDown=!1,Rw(r.target,e,t)||n()}function s(){o.current.isTouchEnd=!1,o.current.isTouchMove=!1}function l(){o.current.isTouchMove=!0}function u(r){o.current.isTouchEnd=!0,o.current.isTouchMove||Rw(r.target,e,t,!1)||n()}return t.addEventListener("mousedown",i),t.addEventListener("mouseup",a),t.addEventListener("touchstart",s),t.addEventListener("touchmove",l),t.addEventListener("touchend",u),function(){t.removeEventListener("mousedown",i),t.removeEventListener("mouseup",a),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",l),t.removeEventListener("touchend",u)}}),[r,t,n]),o.current}(o,e.useCallback((function(){b.current.state.isOpen&&l({type:YC})}),[l,b]),e.useMemo((function(){return[f,h]}),[f.current,h.current])),w=IC("getMenuProps","getToggleButtonProps");e.useEffect((function(){u||(m.current={})}),[u]);var C=e.useMemo((function(){return{ArrowDown:function(e){e.preventDefault(),l({type:VC,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),l({type:BC,altKey:e.altKey})},Home:function(e){e.preventDefault(),l({type:FC})},End:function(e){e.preventDefault(),l({type:HC})},Escape:function(){b.current.state.isOpen&&l({type:WC})},Enter:function(e){e.preventDefault(),l({type:b.current.state.isOpen?jC:RC})},PageUp:function(e){b.current.state.isOpen&&(e.preventDefault(),l({type:GC}))},PageDown:function(e){b.current.state.isOpen&&(e.preventDefault(),l({type:ZC}))}," ":function(e){e.preventDefault();var t=b.current.state;t.isOpen?t.inputValue?l({type:$C,key:" "}):l({type:zC}):l({type:RC})}}}),[l,b]),E=e.useCallback((function(){l({type:QC})}),[l]),I=e.useCallback((function(){l({type:qC})}),[l]),S=e.useCallback((function(){l({type:KC})}),[l]),M=e.useCallback((function(e){l({type:eE,highlightedIndex:e})}),[l]),_=e.useCallback((function(e){l({type:tE,selectedItem:e})}),[l]),T=e.useCallback((function(){l({type:rE})}),[l]),D=e.useCallback((function(e){l({type:nE,inputValue:e})}),[l]),L=e.useCallback((function(e){var t=void 0===e?{}:e,n=t.onClick,r=Yo(t,aE);return Zo({id:v.labelId,htmlFor:v.toggleButtonId,onClick:ww(n,(function(){var e;null==(e=h.current)||e.focus()}))},r)}),[v]),A=e.useCallback((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,i=r.refKey,a=void 0===i?"ref":i,s=r.ref,u=Yo(r,sE),c=(void 0===t?{}:t).suppressRefError;return w("getMenuProps",void 0!==c&&c,a,f),Zo(((n={})[a]=Cw(s,(function(e){f.current=e})),n.id=v.menuId,n.role="listbox",n["aria-labelledby"]=u&&u["aria-label"]?void 0:""+v.labelId,n.onMouseLeave=ww(o,(function(){l({type:XC})})),n),u)}),[l,w,v]),N=e.useCallback((function(e,t){var n,r=void 0===e?{}:e,o=r.onBlur,i=r.onClick;r.onPress;var a=r.onKeyDown,s=r.refKey,u=void 0===s?"ref":s,c=r.ref,d=Yo(r,lE),p=(void 0===t?{}:t).suppressRefError,f=void 0!==p&&p,m=b.current.state,g=Zo(((n={})[u]=Cw(c,(function(e){h.current=e})),n["aria-activedescendant"]=m.isOpen&&m.highlightedIndex>-1?v.getItemId(m.highlightedIndex):"",n["aria-controls"]=v.menuId,n["aria-expanded"]=b.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+v.labelId,n.id=v.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=ww(o,(function(){m.isOpen&&!k.isMouseDown&&l({type:YC})})),n),d);return d.disabled||(g.onClick=ww(i,(function(){l({type:RC})})),g.onKeyDown=ww(a,(function(e){var t=Nw(e);t&&C[t]?C[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&l({type:$C,key:t})}))),w("getToggleButtonProps",f,u,h),g}),[l,v,b,k,w,C]),O=e.useCallback((function(e){var t,n=void 0===e?{}:e,r=n.item,o=n.index,i=n.onMouseMove,a=n.onClick,s=n.onMouseDown;n.onPress;var u=n.refKey,c=void 0===u?"ref":u,d=n.disabled,p=n.ref,h=Yo(n,uE);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var f=b.current,g=f.state,y=f.props,w=function(e,t,n,r){var o,i;if(void 0===e){if(void 0===t)throw new Error(r);o=n[t],i=t}else i=void 0===t?n.indexOf(e):t,o=e;return[o,i]}(r,o,y.items,"Pass either item or index to getItemProps!"),C=w[0],E=w[1],I=y.isItemDisabled(C,E),S=Zo(((t={})[c]=Cw(p,(function(e){e&&(m.current[v.getItemId(E)]=e)})),t["aria-disabled"]=I,t["aria-selected"]=C===g.selectedItem,t.id=v.getItemId(E),t.role="option",t),h);return I||(S.onClick=ww(a,(function(){l({type:JC,index:E})}))),S.onMouseMove=ww(i,(function(){k.isTouchEnd||E===g.highlightedIndex||(x.current=!1,l({type:UC,index:E,disabled:I}))})),S.onMouseDown=ww(s,(function(e){return e.preventDefault()})),S}),[b,v,k,x,l]);return{getToggleButtonProps:N,getLabelProps:L,getMenuProps:A,getItemProps:O,toggleMenu:E,openMenu:S,closeMenu:I,setHighlightedIndex:M,selectItem:_,reset:T,setInputValue:D,highlightedIndex:c,isOpen:u,selectedItem:d,inputValue:p}}cE.stateChangeTypes=oE,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,Zo({},AC,{items:iu.array.isRequired,isItemDisabled:iu.func,inputValue:iu.string,defaultInputValue:iu.string,initialInputValue:iu.string,inputId:iu.string,onInputValueChange:iu.func}),process.env.NODE_ENV,Zo({},xC,{isItemDisabled:function(){return!1}}),iu.array,iu.array,iu.array,iu.func,iu.number,iu.number,iu.number,iu.func,iu.func,iu.string,iu.string,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var dE={exports:{}};
|
|
2158
2158
|
/**
|
|
2159
2159
|
* @license
|
|
2160
2160
|
* Lodash <https://lodash.com/>
|
|
@@ -2162,22 +2162,22 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2162
2162
|
* Released under MIT license <https://lodash.com/license>
|
|
2163
2163
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
2164
2164
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
2165
|
-
*/!function(e,t){(function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",a=16,s=32,l=64,u=128,c=256,d=1/0,p=9007199254740991,h=NaN,f=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",s],["partialRight",l],["rearg",c]],g="[object Arguments]",v="[object Array]",b="[object Boolean]",y="[object Date]",x="[object Error]",k="[object Function]",w="[object GeneratorFunction]",C="[object Map]",E="[object Number]",I="[object Object]",S="[object Promise]",M="[object RegExp]",_="[object Set]",T="[object String]",D="[object Symbol]",L="[object WeakMap]",A="[object ArrayBuffer]",N="[object DataView]",O="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",V="[object Int16Array]",B="[object Int32Array]",$="[object Uint8Array]",W="[object Uint8ClampedArray]",F="[object Uint16Array]",H="[object Uint32Array]",j=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,X=RegExp(Z.source),U=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),oe=/^\s+/,ie=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Ie="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Me="\\ufe0e\\ufe0f",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['’]",De="["+we+"]",Le="["+_e+"]",Ae="["+Ce+"]",Ne="\\d+",Oe="["+Ee+"]",Pe="["+Ie+"]",Re="[^"+we+_e+Ne+Ee+Ie+Se+"]",Ve="\\ud83c[\\udffb-\\udfff]",Be="[^"+we+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+Se+"]",He="\\u200d",je="(?:"+Pe+"|"+Re+")",ze="(?:"+Fe+"|"+Re+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ye="(?:"+Ae+"|"+Ve+")"+"?",Xe="["+Me+"]?",Ue=Xe+Ye+("(?:"+He+"(?:"+[Be,$e,We].join("|")+")"+Xe+Ye+")*"),Je="(?:"+[Oe,$e,We].join("|")+")"+Ue,Qe="(?:"+[Be+Ae+"?",Ae,$e,We,De].join("|")+")",Ke=RegExp(Te,"g"),qe=RegExp(Ae,"g"),et=RegExp(Ve+"(?="+Ve+")|"+Qe+Ue,"g"),tt=RegExp([Fe+"?"+Pe+"+"+Ge+"(?="+[Le,Fe,"$"].join("|")+")",ze+"+"+Ze+"(?="+[Le,Fe+je,"$"].join("|")+")",Fe+"?"+je+"+"+Ge,Fe+"+"+Ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Je].join("|"),"g"),nt=RegExp("["+He+we+Ce+Me+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[O]=at[P]=at[R]=at[V]=at[B]=at[$]=at[W]=at[F]=at[H]=!0,at[g]=at[v]=at[A]=at[b]=at[N]=at[y]=at[x]=at[k]=at[C]=at[E]=at[I]=at[M]=at[_]=at[T]=at[L]=!1;var st={};st[g]=st[v]=st[A]=st[N]=st[b]=st[y]=st[O]=st[P]=st[R]=st[V]=st[B]=st[C]=st[E]=st[I]=st[M]=st[_]=st[T]=st[D]=st[$]=st[W]=st[F]=st[H]=!0,st[x]=st[k]=st[L]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,pt="object"==typeof dt&&dt&&dt.Object===Object&&dt,ht="object"==typeof self&&self&&self.Object===Object&&self,ft=pt||ht||Function("return this")(),mt=t&&!t.nodeType&&t,gt=mt&&e&&!e.nodeType&&e,vt=gt&>.exports===mt,bt=vt&&pt.process,yt=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),xt=yt&&yt.isArrayBuffer,kt=yt&&yt.isDate,wt=yt&&yt.isMap,Ct=yt&&yt.isRegExp,Et=yt&&yt.isSet,It=yt&&yt.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Mt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function _t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Lt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function At(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function Nt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Rt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var $t=Zt("length");function Wt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ft(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ht(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ft(e,zt,n)}function jt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function zt(e){return e!=e}function Gt(e,t){var n=null==e?0:e.length;return n?Ut(e,t)/n:h}function Zt(e){return function(t){return null==t?n:t[e]}}function Yt(e){return function(t){return null==e?n:e[t]}}function Xt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ut(e,t){for(var r,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==n&&(r=r===n?a:r+a)}return r}function Jt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Qt(e){return e?e.slice(0,mn(e)+1).replace(oe,""):e}function Kt(e){return function(t){return e(t)}}function qt(e,t){return Ot(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,r=e.length;++n<r&&Ht(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}var rn=Yt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Yt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function sn(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];s!==t&&s!==i||(e[n]=i,a[o++]=n)}return a}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function hn(e){return sn(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):$t(e)}function fn(e){return sn(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var gn=Yt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var ie=(t=null==t?ft:vn.defaults(ft.Object(),t,vn.pick(ft,ot))).Array,we=t.Date,Ce=t.Error,Ee=t.Function,Ie=t.Math,Se=t.Object,Me=t.RegExp,_e=t.String,Te=t.TypeError,De=ie.prototype,Le=Ee.prototype,Ae=Se.prototype,Ne=t["__core-js_shared__"],Oe=Le.toString,Pe=Ae.hasOwnProperty,Re=0,Ve=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Be=Ae.toString,$e=Oe.call(Se),We=ft._,Fe=Me("^"+Oe.call(Pe).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=vt?t.Buffer:n,je=t.Symbol,ze=t.Uint8Array,Ge=He?He.allocUnsafe:n,Ze=un(Se.getPrototypeOf,Se),Ye=Se.create,Xe=Ae.propertyIsEnumerable,Ue=De.splice,Je=je?je.isConcatSpreadable:n,Qe=je?je.iterator:n,et=je?je.toStringTag:n,nt=function(){try{var e=pi(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,dt=we&&we.now!==ft.Date.now&&we.now,pt=t.setTimeout!==ft.setTimeout&&t.setTimeout,ht=Ie.ceil,mt=Ie.floor,gt=Se.getOwnPropertySymbols,bt=He?He.isBuffer:n,yt=t.isFinite,$t=De.join,Yt=un(Se.keys,Se),bn=Ie.max,yn=Ie.min,xn=we.now,kn=t.parseInt,wn=Ie.random,Cn=De.reverse,En=pi(t,"DataView"),In=pi(t,"Map"),Sn=pi(t,"Promise"),Mn=pi(t,"Set"),_n=pi(t,"WeakMap"),Tn=pi(Se,"create"),Dn=_n&&new _n,Ln={},An=Bi(En),Nn=Bi(In),On=Bi(Sn),Pn=Bi(Mn),Rn=Bi(_n),Vn=je?je.prototype:n,Bn=Vn?Vn.valueOf:n,$n=Vn?Vn.toString:n;function Wn(e){if(ts(e)&&!za(e)&&!(e instanceof zn)){if(e instanceof jn)return e;if(Pe.call(e,"__wrapped__"))return $i(e)}return new jn(e)}var Fn=function(){function e(){}return function(t){if(!es(t))return{};if(Ye)return Ye(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Hn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function zn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Gn(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])}}function Zn(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])}}function Yn(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])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Un(e){var t=this.__data__=new Zn(e);this.size=t.size}function Jn(e,t){var n=za(e),r=!n&&ja(e),o=!n&&!r&&Xa(e),i=!n&&!r&&!o&&us(e),a=n||r||o||i,s=a?Jt(e.length,_e):[],l=s.length;for(var u in e)!t&&!Pe.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||yi(u,l))||s.push(u);return s}function Qn(e){var t=e.length;return t?e[Xr(0,t-1)]:n}function Kn(e,t){return Pi(Do(e),sr(t,0,e.length))}function qn(e){return Pi(Do(e))}function er(e,t,r){(r!==n&&!Wa(e[t],r)||r===n&&!(t in e))&&ir(e,t,r)}function tr(e,t,r){var o=e[t];Pe.call(e,t)&&Wa(o,r)&&(r!==n||t in e)||ir(e,t,r)}function nr(e,t){for(var n=e.length;n--;)if(Wa(e[n][0],t))return n;return-1}function rr(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function or(e,t){return e&&Lo(t,Ls(t),e)}function ir(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var r=-1,o=t.length,i=ie(o),a=null==e;++r<o;)i[r]=a?n:Ss(e,t[r]);return i}function sr(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function lr(e,t,r,o,i,a){var s,l=1&t,u=2&t,c=4&t;if(r&&(s=i?r(e,o,i,a):r(e)),s!==n)return s;if(!es(e))return e;var d=za(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Pe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Do(e,s)}else{var p=mi(e),h=p==k||p==w;if(Xa(e))return Eo(e,l);if(p==I||p==g||h&&!i){if(s=u||h?{}:vi(e),!l)return u?function(e,t){return Lo(e,fi(e),t)}(e,function(e,t){return e&&Lo(t,As(t),e)}(s,e)):function(e,t){return Lo(e,hi(e),t)}(e,or(s,e))}else{if(!st[p])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case A:return Io(e);case b:case y:return new r(+e);case N:return function(e,t){var n=t?Io(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case O:case P:case R:case V:case B:case $:case W:case F:case H:return So(e,n);case C:return new r;case E:case T:return new r(e);case M:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case _:return new r;case D:return o=e,Bn?Se(Bn.call(o)):{}}var o}(e,p,l)}}a||(a=new Un);var f=a.get(e);if(f)return f;a.set(e,s),as(e)?e.forEach((function(n){s.add(lr(n,t,r,n,e,a))})):ns(e)&&e.forEach((function(n,o){s.set(o,lr(n,t,r,o,e,a))}));var m=d?n:(c?u?ii:oi:u?As:Ls)(e);return _t(m||e,(function(n,o){m&&(n=e[o=n]),tr(s,o,lr(n,t,r,o,e,a))})),s}function ur(e,t,r){var o=r.length;if(null==e)return!o;for(e=Se(e);o--;){var i=r[o],a=t[i],s=e[i];if(s===n&&!(i in e)||!a(s))return!1}return!0}function cr(e,t,o){if("function"!=typeof e)throw new Te(r);return Li((function(){e.apply(n,o)}),t)}function dr(e,t,n,r){var o=-1,i=At,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Ot(t,Kt(n))),r?(i=Nt,a=!1):t.length>=200&&(i=en,a=!1,t=new Xn(t));e:for(;++o<s;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var p=u;p--;)if(t[p]===d)continue e;l.push(c)}else i(t,d,r)||l.push(c)}return l}Wn.templateSettings={escape:J,evaluate:Q,interpolate:K,variable:"",imports:{_:Wn}},Wn.prototype=Hn.prototype,Wn.prototype.constructor=Wn,jn.prototype=Fn(Hn.prototype),jn.prototype.constructor=jn,zn.prototype=Fn(Hn.prototype),zn.prototype.constructor=zn,Gn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(Tn){var r=t[e];return r===o?n:r}return Pe.call(t,e)?t[e]:n},Gn.prototype.has=function(e){var t=this.__data__;return Tn?t[e]!==n:Pe.call(t,e)},Gn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tn&&t===n?o:t,this},Zn.prototype.clear=function(){this.__data__=[],this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=nr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ue.call(t,n,1),--this.size,!0)},Zn.prototype.get=function(e){var t=this.__data__,r=nr(t,e);return r<0?n:t[r][1]},Zn.prototype.has=function(e){return nr(this.__data__,e)>-1},Zn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(In||Zn),string:new Gn}},Yn.prototype.delete=function(e){var t=ci(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return ci(this,e).get(e)},Yn.prototype.has=function(e){return ci(this,e).has(e)},Yn.prototype.set=function(e,t){var n=ci(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,o),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Un.prototype.clear=function(){this.__data__=new Zn,this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Un.prototype.get=function(e){return this.__data__.get(e)},Un.prototype.has=function(e){return this.__data__.has(e)},Un.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!In||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var pr=Oo(xr),hr=Oo(kr,!0);function fr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function mr(e,t,r){for(var o=-1,i=e.length;++o<i;){var a=e[o],s=t(a);if(null!=s&&(l===n?s==s&&!ls(s):r(s,l)))var l=s,u=a}return u}function gr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?vr(s,t-1,n,r,o):Pt(o,s):r||(o[o.length]=s)}return o}var br=Po(),yr=Po(!0);function xr(e,t){return e&&br(e,t,Ls)}function kr(e,t){return e&&yr(e,t,Ls)}function wr(e,t){return Lt(t,(function(t){return Qa(e[t])}))}function Cr(e,t){for(var r=0,o=(t=xo(t,e)).length;null!=e&&r<o;)e=e[Vi(t[r++])];return r&&r==o?e:n}function Er(e,t,n){var r=t(e);return za(e)?r:Pt(r,n(e))}function Ir(e){return null==e?e===n?"[object Undefined]":"[object Null]":et&&et in Se(e)?function(e){var t=Pe.call(e,et),r=e[et];try{e[et]=n;var o=!0}catch(e){}var i=Be.call(e);o&&(t?e[et]=r:delete e[et]);return i}(e):function(e){return Be.call(e)}(e)}function Sr(e,t){return e>t}function Mr(e,t){return null!=e&&Pe.call(e,t)}function _r(e,t){return null!=e&&t in Se(e)}function Tr(e,t,r){for(var o=r?Nt:At,i=e[0].length,a=e.length,s=a,l=ie(a),u=1/0,c=[];s--;){var d=e[s];s&&t&&(d=Ot(d,Kt(t))),u=yn(d.length,u),l[s]=!r&&(t||i>=120&&d.length>=120)?new Xn(s&&d):n}d=e[0];var p=-1,h=l[0];e:for(;++p<i&&c.length<u;){var f=d[p],m=t?t(f):f;if(f=r||0!==f?f:0,!(h?en(h,m):o(c,m,r))){for(s=a;--s;){var g=l[s];if(!(g?en(g,m):o(e[s],m,r)))continue e}h&&h.push(m),c.push(f)}}return c}function Dr(e,t,r){var o=null==(e=_i(e,t=xo(t,e)))?e:e[Vi(Ji(t))];return null==o?n:St(o,e,r)}function Lr(e){return ts(e)&&Ir(e)==g}function Ar(e,t,r,o,i){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!=e&&t!=t:function(e,t,r,o,i,a){var s=za(e),l=za(t),u=s?v:mi(e),c=l?v:mi(t),d=(u=u==g?I:u)==I,p=(c=c==g?I:c)==I,h=u==c;if(h&&Xa(e)){if(!Xa(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new Un),s||us(e)?ni(e,t,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!i(new ze(e),new ze(t)));case b:case y:case E:return Wa(+e,+t);case x:return e.name==t.name&&e.message==t.message;case M:case T:return e==t+"";case C:var s=ln;case _:var l=1&r;if(s||(s=dn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ni(s(e),s(t),r,o,i,a);return a.delete(e),c;case D:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,u,r,o,i,a);if(!(1&r)){var f=d&&Pe.call(e,"__wrapped__"),m=p&&Pe.call(t,"__wrapped__");if(f||m){var k=f?e.value():e,w=m?t.value():t;return a||(a=new Un),i(k,w,r,o,a)}}if(!h)return!1;return a||(a=new Un),function(e,t,r,o,i,a){var s=1&r,l=oi(e),u=l.length,c=oi(t),d=c.length;if(u!=d&&!s)return!1;var p=u;for(;p--;){var h=l[p];if(!(s?h in t:Pe.call(t,h)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=s;for(;++p<u;){var b=e[h=l[p]],y=t[h];if(o)var x=s?o(y,b,h,t,e,a):o(b,y,h,e,t,a);if(!(x===n?b===y||i(b,y,r,o,a):x)){g=!1;break}v||(v="constructor"==h)}if(g&&!v){var k=e.constructor,w=t.constructor;k==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,r,o,i,a)}(e,t,r,o,Ar,i))}function Nr(e,t,r,o){var i=r.length,a=i,s=!o;if(null==e)return!a;for(e=Se(e);i--;){var l=r[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var u=(l=r[i])[0],c=e[u],d=l[1];if(s&&l[2]){if(c===n&&!(u in e))return!1}else{var p=new Un;if(o)var h=o(c,d,u,e,t,p);if(!(h===n?Ar(d,c,3,o,p):h))return!1}}return!0}function Or(e){return!(!es(e)||function(e){return!!Ve&&Ve in e}(e))&&(Qa(e)?Fe:ge).test(Bi(e))}function Pr(e){return"function"==typeof e?e:null==e?rl:"object"==typeof e?za(e)?Fr(e[0],e[1]):Wr(e):pl(e)}function Rr(e){if(!Ei(e))return Yt(e);var t=[];for(var n in Se(e))Pe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Vr(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in Se(e))t.push(n);return t}(e);var t=Ei(e),n=[];for(var r in e)("constructor"!=r||!t&&Pe.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function $r(e,t){var n=-1,r=Za(e)?ie(e.length):[];return pr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Wr(e){var t=di(e);return 1==t.length&&t[0][2]?Si(t[0][0],t[0][1]):function(n){return n===e||Nr(n,e,t)}}function Fr(e,t){return ki(e)&&Ii(t)?Si(Vi(e),t):function(r){var o=Ss(r,e);return o===n&&o===t?Ms(r,e):Ar(t,o,3)}}function Hr(e,t,r,o,i){e!==t&&br(t,(function(a,s){if(i||(i=new Un),es(a))!function(e,t,r,o,i,a,s){var l=Ti(e,r),u=Ti(t,r),c=s.get(u);if(c)return void er(e,r,c);var d=a?a(l,u,r+"",e,t,s):n,p=d===n;if(p){var h=za(u),f=!h&&Xa(u),m=!h&&!f&&us(u);d=u,h||f||m?za(l)?d=l:Ya(l)?d=Do(l):f?(p=!1,d=Eo(u,!0)):m?(p=!1,d=So(u,!0)):d=[]:os(u)||ja(u)?(d=l,ja(l)?d=vs(l):es(l)&&!Qa(l)||(d=vi(u))):p=!1}p&&(s.set(u,d),i(d,u,o,a,s),s.delete(u));er(e,r,d)}(e,t,s,r,Hr,o,i);else{var l=o?o(Ti(e,s),a,s+"",e,t,i):n;l===n&&(l=a),er(e,s,l)}}),As)}function jr(e,t){var r=e.length;if(r)return yi(t+=t<0?r:0,r)?e[t]:n}function zr(e,t,n){t=t.length?Ot(t,(function(e){return za(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[rl];var r=-1;t=Ot(t,Kt(ui()));var o=$r(e,(function(e,n,o){var i=Ot(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=Mo(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Cr(e,a);n(s,a)&&qr(i,xo(a,e),s)}return i}function Zr(e,t,n,r){var o=r?jt:Ht,i=-1,a=t.length,s=e;for(e===t&&(t=Do(t)),n&&(s=Ot(e,Kt(n)));++i<a;)for(var l=0,u=t[i],c=n?n(u):u;(l=o(s,c,l,r))>-1;)s!==e&&Ue.call(s,l,1),Ue.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;yi(o)?Ue.call(e,o,1):po(e,o)}}return e}function Xr(e,t){return e+mt(wn()*(t-e+1))}function Ur(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Ai(Mi(e,t,rl),e+"")}function Qr(e){return Qn(Ws(e))}function Kr(e,t){var n=Ws(e);return Pi(n,sr(t,0,n.length))}function qr(e,t,r,o){if(!es(e))return e;for(var i=-1,a=(t=xo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var u=Vi(t[i]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var d=l[u];(c=o?o(d,u,l):n)===n&&(c=es(d)?d:yi(t[i+1])?[]:{})}tr(l,u,c),l=l[u]}return e}var eo=Dn?function(e,t){return Dn.set(e,t),e}:rl,to=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:rl;function no(e){return Pi(Ws(e))}function ro(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ie(o);++r<o;)i[r]=e[r+t];return i}function oo(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function io(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ao(e,t,rl,n)}function ao(e,t,r,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,u=ls(t),c=t===n;i<a;){var d=mt((i+a)/2),p=r(e[d]),h=p!==n,f=null===p,m=p==p,g=ls(p);if(s)var v=o||m;else v=c?m&&(o||h):l?m&&h&&(o||!f):u?m&&h&&!f&&(o||!g):!f&&!g&&(o?p<=t:p<t);v?i=d+1:a=d}return yn(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Wa(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function lo(e){return"number"==typeof e?e:ls(e)?h:+e}function uo(e){if("string"==typeof e)return e;if(za(e))return Ot(e,uo)+"";if(ls(e))return $n?$n.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function co(e,t,n){var r=-1,o=At,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Nt;else if(i>=200){var u=t?null:Jo(e);if(u)return dn(u);a=!1,o=en,l=new Xn}else l=t?[]:s;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(c)}else o(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function po(e,t){return null==(e=_i(e,t=xo(t,e)))||delete e[Vi(Ji(t))]}function ho(e,t,n,r){return qr(e,t,n(Cr(e,t)),r)}function fo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?ro(e,r?0:i,r?i+1:o):ro(e,r?i+1:0,r?o:i)}function mo(e,t){var n=e;return n instanceof zn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Pt([e],t.args))}),n)}function go(e,t,n){var r=e.length;if(r<2)return r?co(e[0]):[];for(var o=-1,i=ie(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=dr(i[o]||a,e[s],t,n));return co(vr(i,1),t,n)}function vo(e,t,r){for(var o=-1,i=e.length,a=t.length,s={};++o<i;){var l=o<a?t[o]:n;r(s,e[o],l)}return s}function bo(e){return Ya(e)?e:[]}function yo(e){return"function"==typeof e?e:rl}function xo(e,t){return za(e)?e:ki(e,t)?[e]:Ri(bs(e))}var ko=Jr;function wo(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:ro(e,t,r)}var Co=lt||function(e){return ft.clearTimeout(e)};function Eo(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Io(e){var t=new e.constructor(e.byteLength);return new ze(t).set(new ze(e)),t}function So(e,t){var n=t?Io(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Mo(e,t){if(e!==t){var r=e!==n,o=null===e,i=e==e,a=ls(e),s=t!==n,l=null===t,u=t==t,c=ls(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||o&&s&&u||!r&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&r&&i&&!o&&!a||l&&r&&i||!s&&i||!u)return-1}return 0}function _o(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,l=t.length,u=bn(i-a,0),c=ie(l+u),d=!r;++s<l;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;u--;)c[s++]=e[o++];return c}function To(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,l=-1,u=t.length,c=bn(i-s,0),d=ie(c+u),p=!r;++o<c;)d[o]=e[o];for(var h=o;++l<u;)d[h+l]=t[l];for(;++a<s;)(p||o<i)&&(d[h+n[a]]=e[o++]);return d}function Do(e,t){var n=-1,r=e.length;for(t||(t=ie(r));++n<r;)t[n]=e[n];return t}function Lo(e,t,r,o){var i=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=o?o(r[l],e[l],l,r,e):n;u===n&&(u=e[l]),i?ir(r,l,u):tr(r,l,u)}return r}function Ao(e,t){return function(n,r){var o=za(n)?Mt:rr,i=t?t():{};return o(n,e,ui(r,2),i)}}function No(e){return Jr((function(t,r){var o=-1,i=r.length,a=i>1?r[i-1]:n,s=i>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(i--,a):n,s&&xi(r[0],r[1],s)&&(a=i<3?n:a,i=1),t=Se(t);++o<i;){var l=r[o];l&&e(t,l,o,a)}return t}))}function Oo(e,t){return function(n,r){if(null==n)return n;if(!Za(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Se(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Po(e){return function(t,n,r){for(var o=-1,i=Se(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Ro(e){return function(t){var r=sn(t=bs(t))?fn(t):n,o=r?r[0]:t.charAt(0),i=r?wo(r,1).join(""):t.slice(1);return o[e]()+i}}function Vo(e){return function(t){return Rt(Qs(js(t).replace(Ke,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Fn(e.prototype),r=e.apply(n,t);return es(r)?r:n}}function $o(e){return function(t,r,o){var i=Se(t);if(!Za(t)){var a=ui(r,3);t=Ls(t),r=function(e){return a(i[e],e,i)}}var s=e(t,r,o);return s>-1?i[a?t[s]:s]:n}}function Wo(e){return ri((function(t){var o=t.length,i=o,a=jn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Te(r);if(a&&!l&&"wrapper"==si(s))var l=new jn([],!0)}for(i=l?i:o;++i<o;){var u=si(s=t[i]),c="wrapper"==u?ai(s):n;l=c&&wi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[si(c[0])].apply(l,c[3]):1==s.length&&wi(s)?l[u]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&za(n))return l.plant(n).value();for(var r=0,i=o?t[r].apply(this,e):n;++r<o;)i=t[r].call(this,i);return i}}))}function Fo(e,t,r,o,i,a,s,l,c,d){var p=t&u,h=1&t,f=2&t,m=24&t,g=512&t,v=f?n:Bo(e);return function u(){for(var b=arguments.length,y=ie(b),x=b;x--;)y[x]=arguments[x];if(m)var k=li(u),w=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,k);if(o&&(y=_o(y,o,i,m)),a&&(y=To(y,a,s,m)),b-=w,m&&b<d){var C=cn(y,k);return Xo(e,t,Fo,u.placeholder,r,y,C,l,c,d-b)}var E=h?r:this,I=f?E[e]:e;return b=y.length,l?y=function(e,t){var r=e.length,o=yn(t.length,r),i=Do(e);for(;o--;){var a=t[o];e[o]=yi(a,r)?i[a]:n}return e}(y,l):g&&b>1&&y.reverse(),p&&c<b&&(y.length=c),this&&this!==ft&&this instanceof u&&(I=v||Bo(I)),I.apply(E,y)}}function Ho(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(r,o){var i;if(r===n&&o===n)return t;if(r!==n&&(i=r),o!==n){if(i===n)return o;"string"==typeof r||"string"==typeof o?(r=uo(r),o=uo(o)):(r=lo(r),o=lo(o)),i=e(r,o)}return i}}function zo(e){return ri((function(t){return t=Ot(t,Kt(ui())),Jr((function(n){var r=this;return e(t,(function(e){return St(e,r,n)}))}))}))}function Go(e,t){var r=(t=t===n?" ":uo(t)).length;if(r<2)return r?Ur(t,e):t;var o=Ur(t,ht(e/hn(t)));return sn(t)?wo(fn(o),0,e).join(""):o.slice(0,e)}function Zo(e){return function(t,r,o){return o&&"number"!=typeof o&&xi(t,r,o)&&(r=o=n),t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,n,r){for(var o=-1,i=bn(ht((t-e)/(n||1)),0),a=ie(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,r,o=o===n?t<r?1:-1:hs(o),e)}}function Yo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Xo(e,t,r,o,i,a,u,c,d,p){var h=8&t;t|=h?s:l,4&(t&=~(h?l:s))||(t&=-4);var f=[e,t,i,h?a:n,h?u:n,h?n:a,h?n:u,c,d,p],m=r.apply(n,f);return wi(e)&&Di(m,f),m.placeholder=o,Ni(m,e,t)}function Uo(e){var t=Ie[e];return function(e,n){if(e=gs(e),(n=null==n?0:yn(fs(n),292))&&yt(e)){var r=(bs(e)+"e").split("e");return+((r=(bs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Jo=Mn&&1/dn(new Mn([,-0]))[1]==d?function(e){return new Mn(e)}:ll;function Qo(e){return function(t){var n=mi(t);return n==C?ln(t):n==_?pn(t):function(e,t){return Ot(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ko(e,t,o,d,p,h,f,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Te(r);var v=d?d.length:0;if(v||(t&=-97,d=p=n),f=f===n?f:bn(fs(f),0),m=m===n?m:fs(m),v-=p?p.length:0,t&l){var b=d,y=p;d=p=n}var x=g?n:ai(e),k=[e,t,o,d,p,b,y,h,f,m];if(x&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,s=r==u&&8==n||r==u&&n==c&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var d=e[3];e[3]=d?_o(d,l,t[4]):l,e[4]=d?cn(e[3],i):t[4]}(l=t[5])&&(d=e[5],e[5]=d?To(d,l,t[6]):l,e[6]=d?cn(e[5],i):t[6]);(l=t[7])&&(e[7]=l);r&u&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(k,x),e=k[0],t=k[1],o=k[2],d=k[3],p=k[4],!(m=k[9]=k[9]===n?g?0:e.length:bn(k[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||t==a?function(e,t,r){var o=Bo(e);return function i(){for(var a=arguments.length,s=ie(a),l=a,u=li(i);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:cn(s,u);return(a-=c.length)<r?Xo(e,t,Fo,i.placeholder,n,s,c,n,n,r-a):St(this&&this!==ft&&this instanceof i?o:e,this,s)}}(e,t,m):t!=s&&33!=t||p.length?Fo.apply(n,k):function(e,t,n,r){var o=1&t,i=Bo(e);return function t(){for(var a=-1,s=arguments.length,l=-1,u=r.length,c=ie(u+s),d=this&&this!==ft&&this instanceof t?i:e;++l<u;)c[l]=r[l];for(;s--;)c[l++]=arguments[++a];return St(d,o?n:this,c)}}(e,t,o,d);else var w=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==ft&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return Ni((x?eo:Di)(w,k),e,t)}function qo(e,t,r,o){return e===n||Wa(e,Ae[r])&&!Pe.call(o,r)?t:e}function ei(e,t,r,o,i,a){return es(e)&&es(t)&&(a.set(t,e),Hr(e,t,n,ei,a),a.delete(t)),e}function ti(e){return os(e)?n:e}function ni(e,t,r,o,i,a){var s=1&r,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var p=-1,h=!0,f=2&r?new Xn:n;for(a.set(e,t),a.set(t,e);++p<l;){var m=e[p],g=t[p];if(o)var v=s?o(g,m,p,t,e,a):o(m,g,p,e,t,a);if(v!==n){if(v)continue;h=!1;break}if(f){if(!Bt(t,(function(e,t){if(!en(f,t)&&(m===e||i(m,e,r,o,a)))return f.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,r,o,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ri(e){return Ai(Mi(e,n,Gi),e+"")}function oi(e){return Er(e,Ls,hi)}function ii(e){return Er(e,As,fi)}var ai=Dn?function(e){return Dn.get(e)}:ll;function si(e){for(var t=e.name+"",n=Ln[t],r=Pe.call(Ln,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function li(e){return(Pe.call(Wn,"placeholder")?Wn:e).placeholder}function ui(){var e=Wn.iteratee||ol;return e=e===ol?Pr:e,arguments.length?e(arguments[0],arguments[1]):e}function ci(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=Ls(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ii(o)]}return t}function pi(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Or(r)?r:n}var hi=gt?function(e){return null==e?[]:(e=Se(e),Lt(gt(e),(function(t){return Xe.call(e,t)})))}:ml,fi=gt?function(e){for(var t=[];e;)Pt(t,hi(e)),e=Ze(e);return t}:ml,mi=Ir;function gi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=Vi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&qa(o)&&yi(a,o)&&(za(e)||ja(e))}function vi(e){return"function"!=typeof e.constructor||Ei(e)?{}:Fn(Ze(e))}function bi(e){return za(e)||ja(e)||!!(Je&&e&&e[Je])}function yi(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!es(n))return!1;var r=typeof t;return!!("number"==r?Za(n)&&yi(t,n.length):"string"==r&&t in n)&&Wa(n[t],e)}function ki(e,t){if(za(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||(ee.test(e)||!q.test(e)||null!=t&&e in Se(t))}function wi(e){var t=si(e),n=Wn[t];if("function"!=typeof n||!(t in zn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(En&&mi(new En(new ArrayBuffer(1)))!=N||In&&mi(new In)!=C||Sn&&mi(Sn.resolve())!=S||Mn&&mi(new Mn)!=_||_n&&mi(new _n)!=L)&&(mi=function(e){var t=Ir(e),r=t==I?e.constructor:n,o=r?Bi(r):"";if(o)switch(o){case An:return N;case Nn:return C;case On:return S;case Pn:return _;case Rn:return L}return t});var Ci=Ne?Qa:gl;function Ei(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)}function Ii(e){return e==e&&!es(e)}function Si(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==n||e in Se(r)))}}function Mi(e,t,r){return t=bn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=bn(n.length-t,0),a=ie(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=ie(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),St(e,this,s)}}function _i(e,t){return t.length<2?e:Cr(e,ro(t,0,-1))}function Ti(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Di=Oi(eo),Li=pt||function(e,t){return ft.setTimeout(e,t)},Ai=Oi(to);function Ni(e,t,n){var r=t+"";return Ai(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return _t(m,(function(n){var r="_."+n[0];t&n[1]&&!At(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(le):[]}(r),n)))}function Oi(e){var t=0,r=0;return function(){var o=xn(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Pi(e,t){var r=-1,o=e.length,i=o-1;for(t=t===n?o:t;++r<t;){var a=Xr(r,i),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Ri=function(e){var t=Oa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(te,(function(e,n,r,o){t.push(r?o.replace(de,"$1"):n||e)})),t}));function Vi(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bi(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function $i(e){if(e instanceof zn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Do(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wi=Jr((function(e,t){return Ya(e)?dr(e,vr(t,1,Ya,!0)):[]})),Fi=Jr((function(e,t){var r=Ji(t);return Ya(r)&&(r=n),Ya(e)?dr(e,vr(t,1,Ya,!0),ui(r,2)):[]})),Hi=Jr((function(e,t){var r=Ji(t);return Ya(r)&&(r=n),Ya(e)?dr(e,vr(t,1,Ya,!0),n,r):[]}));function ji(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=bn(r+o,0)),Ft(e,ui(t,3),o)}function zi(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return r!==n&&(i=fs(r),i=r<0?bn(o+i,0):yn(i,o-1)),Ft(e,ui(t,3),i,!0)}function Gi(e){return(null==e?0:e.length)?vr(e,1):[]}function Zi(e){return e&&e.length?e[0]:n}var Yi=Jr((function(e){var t=Ot(e,bo);return t.length&&t[0]===e[0]?Tr(t):[]})),Xi=Jr((function(e){var t=Ji(e),r=Ot(e,bo);return t===Ji(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Tr(r,ui(t,2)):[]})),Ui=Jr((function(e){var t=Ji(e),r=Ot(e,bo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Tr(r,n,t):[]}));function Ji(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Qi=Jr(Ki);function Ki(e,t){return e&&e.length&&t&&t.length?Zr(e,t):e}var qi=ri((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Yr(e,Ot(t,(function(e){return yi(e,n)?+e:e})).sort(Mo)),r}));function ea(e){return null==e?e:Cn.call(e)}var ta=Jr((function(e){return co(vr(e,1,Ya,!0))})),na=Jr((function(e){var t=Ji(e);return Ya(t)&&(t=n),co(vr(e,1,Ya,!0),ui(t,2))})),ra=Jr((function(e){var t=Ji(e);return t="function"==typeof t?t:n,co(vr(e,1,Ya,!0),n,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Lt(e,(function(e){if(Ya(e))return t=bn(e.length,t),!0})),Jt(t,(function(t){return Ot(e,Zt(t))}))}function ia(e,t){if(!e||!e.length)return[];var r=oa(e);return null==t?r:Ot(r,(function(e){return St(t,n,e)}))}var aa=Jr((function(e,t){return Ya(e)?dr(e,t):[]})),sa=Jr((function(e){return go(Lt(e,Ya))})),la=Jr((function(e){var t=Ji(e);return Ya(t)&&(t=n),go(Lt(e,Ya),ui(t,2))})),ua=Jr((function(e){var t=Ji(e);return t="function"==typeof t?t:n,go(Lt(e,Ya),n,t)})),ca=Jr(oa);var da=Jr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)}));function pa(e){var t=Wn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var fa=ri((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&o instanceof zn&&yi(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:n}),new jn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(i)}));var ma=Ao((function(e,t,n){Pe.call(e,n)?++e[n]:ir(e,n,1)}));var ga=$o(ji),va=$o(zi);function ba(e,t){return(za(e)?_t:pr)(e,ui(t,3))}function ya(e,t){return(za(e)?Tt:hr)(e,ui(t,3))}var xa=Ao((function(e,t,n){Pe.call(e,n)?e[n].push(t):ir(e,n,[t])}));var ka=Jr((function(e,t,n){var r=-1,o="function"==typeof t,i=Za(e)?ie(e.length):[];return pr(e,(function(e){i[++r]=o?St(t,e,n):Dr(e,t,n)})),i})),wa=Ao((function(e,t,n){ir(e,n,t)}));function Ca(e,t){return(za(e)?Ot:$r)(e,ui(t,3))}var Ea=Ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ia=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),zr(e,vr(t,1),[])})),Sa=dt||function(){return ft.Date.now()};function Ma(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Ko(e,u,n,n,n,n,t)}function _a(e,t){var o;if("function"!=typeof t)throw new Te(r);return e=fs(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Ta=Jr((function(e,t,n){var r=1;if(n.length){var o=cn(n,li(Ta));r|=s}return Ko(e,r,t,n,o)})),Da=Jr((function(e,t,n){var r=3;if(n.length){var o=cn(n,li(Da));r|=s}return Ko(t,r,e,n,o)}));function La(e,t,o){var i,a,s,l,u,c,d=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new Te(r);function m(t){var r=i,o=a;return i=a=n,d=t,l=e.apply(o,r)}function g(e){var r=e-c;return c===n||r>=t||r<0||h&&e-d>=s}function v(){var e=Sa();if(g(e))return b(e);u=Li(v,function(e){var n=t-(e-c);return h?yn(n,s-(e-d)):n}(e))}function b(e){return u=n,f&&i?m(e):(i=a=n,l)}function y(){var e=Sa(),r=g(e);if(i=arguments,a=this,c=e,r){if(u===n)return function(e){return d=e,u=Li(v,t),p?m(e):l}(c);if(h)return Co(u),u=Li(v,t),m(c)}return u===n&&(u=Li(v,t)),l}return t=gs(t)||0,es(o)&&(p=!!o.leading,s=(h="maxWait"in o)?bn(gs(o.maxWait)||0,t):s,f="trailing"in o?!!o.trailing:f),y.cancel=function(){u!==n&&Co(u),d=0,i=c=a=u=n},y.flush=function(){return u===n?l:b(Sa())},y}var Aa=Jr((function(e,t){return cr(e,1,t)})),Na=Jr((function(e,t,n){return cr(e,gs(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(r);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(Oa.Cache||Yn),n}function Pa(e){if("function"!=typeof e)throw new Te(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Yn;var Ra=ko((function(e,t){var n=(t=1==t.length&&za(t[0])?Ot(t[0],Kt(ui())):Ot(vr(t,1),Kt(ui()))).length;return Jr((function(r){for(var o=-1,i=yn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return St(e,this,r)}))})),Va=Jr((function(e,t){var r=cn(t,li(Va));return Ko(e,s,n,t,r)})),Ba=Jr((function(e,t){var r=cn(t,li(Ba));return Ko(e,l,n,t,r)})),$a=ri((function(e,t){return Ko(e,c,n,n,n,t)}));function Wa(e,t){return e===t||e!=e&&t!=t}var Fa=Yo(Sr),Ha=Yo((function(e,t){return e>=t})),ja=Lr(function(){return arguments}())?Lr:function(e){return ts(e)&&Pe.call(e,"callee")&&!Xe.call(e,"callee")},za=ie.isArray,Ga=xt?Kt(xt):function(e){return ts(e)&&Ir(e)==A};function Za(e){return null!=e&&qa(e.length)&&!Qa(e)}function Ya(e){return ts(e)&&Za(e)}var Xa=bt||gl,Ua=kt?Kt(kt):function(e){return ts(e)&&Ir(e)==y};function Ja(e){if(!ts(e))return!1;var t=Ir(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Qa(e){if(!es(e))return!1;var t=Ir(e);return t==k||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==fs(e)}function qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=wt?Kt(wt):function(e){return ts(e)&&mi(e)==C};function rs(e){return"number"==typeof e||ts(e)&&Ir(e)==E}function os(e){if(!ts(e)||Ir(e)!=I)return!1;var t=Ze(e);if(null===t)return!0;var n=Pe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==$e}var is=Ct?Kt(Ct):function(e){return ts(e)&&Ir(e)==M};var as=Et?Kt(Et):function(e){return ts(e)&&mi(e)==_};function ss(e){return"string"==typeof e||!za(e)&&ts(e)&&Ir(e)==T}function ls(e){return"symbol"==typeof e||ts(e)&&Ir(e)==D}var us=It?Kt(It):function(e){return ts(e)&&qa(e.length)&&!!at[Ir(e)]};var cs=Yo(Br),ds=Yo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Za(e))return ss(e)?fn(e):Do(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=mi(e);return(t==C?ln:t==_?dn:Ws)(e)}function hs(e){return e?(e=gs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function fs(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?sr(fs(e),0,f):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return h;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=me.test(e);return n||ve.test(e)?ct(e.slice(2),n?2:8):fe.test(e)?h:+e}function vs(e){return Lo(e,As(e))}function bs(e){return null==e?"":uo(e)}var ys=No((function(e,t){if(Ei(t)||Za(t))Lo(t,Ls(t),e);else for(var n in t)Pe.call(t,n)&&tr(e,n,t[n])})),xs=No((function(e,t){Lo(t,As(t),e)})),ks=No((function(e,t,n,r){Lo(t,As(t),e,r)})),ws=No((function(e,t,n,r){Lo(t,Ls(t),e,r)})),Cs=ri(ar);var Es=Jr((function(e,t){e=Se(e);var r=-1,o=t.length,i=o>2?t[2]:n;for(i&&xi(t[0],t[1],i)&&(o=1);++r<o;)for(var a=t[r],s=As(a),l=-1,u=s.length;++l<u;){var c=s[l],d=e[c];(d===n||Wa(d,Ae[c])&&!Pe.call(e,c))&&(e[c]=a[c])}return e})),Is=Jr((function(e){return e.push(n,ei),St(Os,n,e)}));function Ss(e,t,r){var o=null==e?n:Cr(e,t);return o===n?r:o}function Ms(e,t){return null!=e&&gi(e,t,_r)}var _s=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),el(rl)),Ts=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Pe.call(e,t)?e[t].push(n):e[t]=[n]}),ui),Ds=Jr(Dr);function Ls(e){return Za(e)?Jn(e):Rr(e)}function As(e){return Za(e)?Jn(e,!0):Vr(e)}var Ns=No((function(e,t,n){Hr(e,t,n)})),Os=No((function(e,t,n,r){Hr(e,t,n,r)})),Ps=ri((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Lo(e,ii(e),n),r&&(n=lr(n,7,ti));for(var o=t.length;o--;)po(n,t[o]);return n}));var Rs=ri((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return Ms(e,n)}))}(e,t)}));function Vs(e,t){if(null==e)return{};var n=Ot(ii(e),(function(e){return[e]}));return t=ui(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Qo(Ls),$s=Qo(As);function Ws(e){return null==e?[]:qt(e,Ls(e))}var Fs=Vo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Js(bs(e).toLowerCase())}function js(e){return(e=bs(e))&&e.replace(ye,rn).replace(qe,"")}var zs=Vo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Vo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Zs=Ro("toLowerCase");var Ys=Vo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Vo((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Us=Vo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=Ro("toUpperCase");function Qs(e,t,r){return e=bs(e),(t=r?n:t)===n?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Ks=Jr((function(e,t){try{return St(e,n,t)}catch(e){return Ja(e)?e:new Ce(e)}})),qs=ri((function(e,t){return _t(t,(function(t){t=Vi(t),ir(e,t,Ta(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Wo(),nl=Wo(!0);function rl(e){return e}function ol(e){return Pr("function"==typeof e?e:lr(e,1))}var il=Jr((function(e,t){return function(n){return Dr(n,e,t)}})),al=Jr((function(e,t){return function(n){return Dr(e,n,t)}}));function sl(e,t,n){var r=Ls(t),o=wr(t,r);null!=n||es(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(t,Ls(t)));var i=!(es(n)&&"chain"in n&&!n.chain),a=Qa(e);return _t(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Do(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Pt([this.value()],arguments))})})),e}function ll(){}var ul=zo(Ot),cl=zo(Dt),dl=zo(Bt);function pl(e){return ki(e)?Zt(Vi(e)):function(e){return function(t){return Cr(t,e)}}(e)}var hl=Zo(),fl=Zo(!0);function ml(){return[]}function gl(){return!1}var vl=jo((function(e,t){return e+t}),0),bl=Uo("ceil"),yl=jo((function(e,t){return e/t}),1),xl=Uo("floor");var kl,wl=jo((function(e,t){return e*t}),1),Cl=Uo("round"),El=jo((function(e,t){return e-t}),0);return Wn.after=function(e,t){if("function"!=typeof t)throw new Te(r);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},Wn.ary=Ma,Wn.assign=ys,Wn.assignIn=xs,Wn.assignInWith=ks,Wn.assignWith=ws,Wn.at=Cs,Wn.before=_a,Wn.bind=Ta,Wn.bindAll=qs,Wn.bindKey=Da,Wn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return za(e)?e:[e]},Wn.chain=pa,Wn.chunk=function(e,t,r){t=(r?xi(e,t,r):t===n)?1:bn(fs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=ie(ht(o/t));i<o;)s[a++]=ro(e,i,i+=t);return s},Wn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Wn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ie(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Pt(za(n)?Do(n):[n],vr(t,1))},Wn.cond=function(e){var t=null==e?0:e.length,n=ui();return e=t?Ot(e,(function(e){if("function"!=typeof e[1])throw new Te(r);return[n(e[0]),e[1]]})):[],Jr((function(n){for(var r=-1;++r<t;){var o=e[r];if(St(o[0],this,n))return St(o[1],this,n)}}))},Wn.conforms=function(e){return function(e){var t=Ls(e);return function(n){return ur(n,e,t)}}(lr(e,1))},Wn.constant=el,Wn.countBy=ma,Wn.create=function(e,t){var n=Fn(e);return null==t?n:or(n,t)},Wn.curry=function e(t,r,o){var i=Ko(t,8,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Wn.curryRight=function e(t,r,o){var i=Ko(t,a,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Wn.debounce=La,Wn.defaults=Es,Wn.defaultsDeep=Is,Wn.defer=Aa,Wn.delay=Na,Wn.difference=Wi,Wn.differenceBy=Fi,Wn.differenceWith=Hi,Wn.drop=function(e,t,r){var o=null==e?0:e.length;return o?ro(e,(t=r||t===n?1:fs(t))<0?0:t,o):[]},Wn.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?ro(e,0,(t=o-(t=r||t===n?1:fs(t)))<0?0:t):[]},Wn.dropRightWhile=function(e,t){return e&&e.length?fo(e,ui(t,3),!0,!0):[]},Wn.dropWhile=function(e,t){return e&&e.length?fo(e,ui(t,3),!0):[]},Wn.fill=function(e,t,r,o){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&xi(e,t,r)&&(r=0,o=i),function(e,t,r,o){var i=e.length;for((r=fs(r))<0&&(r=-r>i?0:i+r),(o=o===n||o>i?i:fs(o))<0&&(o+=i),o=r>o?0:ms(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Wn.filter=function(e,t){return(za(e)?Lt:gr)(e,ui(t,3))},Wn.flatMap=function(e,t){return vr(Ca(e,t),1)},Wn.flatMapDeep=function(e,t){return vr(Ca(e,t),d)},Wn.flatMapDepth=function(e,t,r){return r=r===n?1:fs(r),vr(Ca(e,t),r)},Wn.flatten=Gi,Wn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,d):[]},Wn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===n?1:fs(t)):[]},Wn.flip=function(e){return Ko(e,512)},Wn.flow=tl,Wn.flowRight=nl,Wn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Wn.functions=function(e){return null==e?[]:wr(e,Ls(e))},Wn.functionsIn=function(e){return null==e?[]:wr(e,As(e))},Wn.groupBy=xa,Wn.initial=function(e){return(null==e?0:e.length)?ro(e,0,-1):[]},Wn.intersection=Yi,Wn.intersectionBy=Xi,Wn.intersectionWith=Ui,Wn.invert=_s,Wn.invertBy=Ts,Wn.invokeMap=ka,Wn.iteratee=ol,Wn.keyBy=wa,Wn.keys=Ls,Wn.keysIn=As,Wn.map=Ca,Wn.mapKeys=function(e,t){var n={};return t=ui(t,3),xr(e,(function(e,r,o){ir(n,t(e,r,o),e)})),n},Wn.mapValues=function(e,t){var n={};return t=ui(t,3),xr(e,(function(e,r,o){ir(n,r,t(e,r,o))})),n},Wn.matches=function(e){return Wr(lr(e,1))},Wn.matchesProperty=function(e,t){return Fr(e,lr(t,1))},Wn.memoize=Oa,Wn.merge=Ns,Wn.mergeWith=Os,Wn.method=il,Wn.methodOf=al,Wn.mixin=sl,Wn.negate=Pa,Wn.nthArg=function(e){return e=fs(e),Jr((function(t){return jr(t,e)}))},Wn.omit=Ps,Wn.omitBy=function(e,t){return Vs(e,Pa(ui(t)))},Wn.once=function(e){return _a(2,e)},Wn.orderBy=function(e,t,r,o){return null==e?[]:(za(t)||(t=null==t?[]:[t]),za(r=o?n:r)||(r=null==r?[]:[r]),zr(e,t,r))},Wn.over=ul,Wn.overArgs=Ra,Wn.overEvery=cl,Wn.overSome=dl,Wn.partial=Va,Wn.partialRight=Ba,Wn.partition=Ea,Wn.pick=Rs,Wn.pickBy=Vs,Wn.property=pl,Wn.propertyOf=function(e){return function(t){return null==e?n:Cr(e,t)}},Wn.pull=Qi,Wn.pullAll=Ki,Wn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Zr(e,t,ui(n,2)):e},Wn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Zr(e,t,n,r):e},Wn.pullAt=qi,Wn.range=hl,Wn.rangeRight=fl,Wn.rearg=$a,Wn.reject=function(e,t){return(za(e)?Lt:gr)(e,Pa(ui(t,3)))},Wn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ui(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Yr(e,o),n},Wn.rest=function(e,t){if("function"!=typeof e)throw new Te(r);return Jr(e,t=t===n?t:fs(t))},Wn.reverse=ea,Wn.sampleSize=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:fs(t),(za(e)?Kn:Kr)(e,t)},Wn.set=function(e,t,n){return null==e?e:qr(e,t,n)},Wn.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:qr(e,t,r,o)},Wn.shuffle=function(e){return(za(e)?qn:no)(e)},Wn.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&xi(e,t,r)?(t=0,r=o):(t=null==t?0:fs(t),r=r===n?o:fs(r)),ro(e,t,r)):[]},Wn.sortBy=Ia,Wn.sortedUniq=function(e){return e&&e.length?so(e):[]},Wn.sortedUniqBy=function(e,t){return e&&e.length?so(e,ui(t,2)):[]},Wn.split=function(e,t,r){return r&&"number"!=typeof r&&xi(e,t,r)&&(t=r=n),(r=r===n?f:r>>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=uo(t))&&sn(e)?wo(fn(e),0,r):e.split(t,r):[]},Wn.spread=function(e,t){if("function"!=typeof e)throw new Te(r);return t=null==t?0:bn(fs(t),0),Jr((function(n){var r=n[t],o=wo(n,0,t);return r&&Pt(o,r),St(e,this,o)}))},Wn.tail=function(e){var t=null==e?0:e.length;return t?ro(e,1,t):[]},Wn.take=function(e,t,r){return e&&e.length?ro(e,0,(t=r||t===n?1:fs(t))<0?0:t):[]},Wn.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?ro(e,(t=o-(t=r||t===n?1:fs(t)))<0?0:t,o):[]},Wn.takeRightWhile=function(e,t){return e&&e.length?fo(e,ui(t,3),!1,!0):[]},Wn.takeWhile=function(e,t){return e&&e.length?fo(e,ui(t,3)):[]},Wn.tap=function(e,t){return t(e),e},Wn.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new Te(r);return es(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),La(e,t,{leading:o,maxWait:t,trailing:i})},Wn.thru=ha,Wn.toArray=ps,Wn.toPairs=Bs,Wn.toPairsIn=$s,Wn.toPath=function(e){return za(e)?Ot(e,Vi):ls(e)?[e]:Do(Ri(bs(e)))},Wn.toPlainObject=vs,Wn.transform=function(e,t,n){var r=za(e),o=r||Xa(e)||us(e);if(t=ui(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:es(e)&&Qa(i)?Fn(Ze(e)):{}}return(o?_t:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Wn.unary=function(e){return Ma(e,1)},Wn.union=ta,Wn.unionBy=na,Wn.unionWith=ra,Wn.uniq=function(e){return e&&e.length?co(e):[]},Wn.uniqBy=function(e,t){return e&&e.length?co(e,ui(t,2)):[]},Wn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?co(e,n,t):[]},Wn.unset=function(e,t){return null==e||po(e,t)},Wn.unzip=oa,Wn.unzipWith=ia,Wn.update=function(e,t,n){return null==e?e:ho(e,t,yo(n))},Wn.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:ho(e,t,yo(r),o)},Wn.values=Ws,Wn.valuesIn=function(e){return null==e?[]:qt(e,As(e))},Wn.without=aa,Wn.words=Qs,Wn.wrap=function(e,t){return Va(yo(t),e)},Wn.xor=sa,Wn.xorBy=la,Wn.xorWith=ua,Wn.zip=ca,Wn.zipObject=function(e,t){return vo(e||[],t||[],tr)},Wn.zipObjectDeep=function(e,t){return vo(e||[],t||[],qr)},Wn.zipWith=da,Wn.entries=Bs,Wn.entriesIn=$s,Wn.extend=xs,Wn.extendWith=ks,sl(Wn,Wn),Wn.add=vl,Wn.attempt=Ks,Wn.camelCase=Fs,Wn.capitalize=Hs,Wn.ceil=bl,Wn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=gs(r))==r?r:0),t!==n&&(t=(t=gs(t))==t?t:0),sr(gs(e),t,r)},Wn.clone=function(e){return lr(e,4)},Wn.cloneDeep=function(e){return lr(e,5)},Wn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:n)},Wn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:n)},Wn.conformsTo=function(e,t){return null==t||ur(e,t,Ls(t))},Wn.deburr=js,Wn.defaultTo=function(e,t){return null==e||e!=e?t:e},Wn.divide=yl,Wn.endsWith=function(e,t,r){e=bs(e),t=uo(t);var o=e.length,i=r=r===n?o:sr(fs(r),0,o);return(r-=t.length)>=0&&e.slice(r,i)==t},Wn.eq=Wa,Wn.escape=function(e){return(e=bs(e))&&U.test(e)?e.replace(Y,on):e},Wn.escapeRegExp=function(e){return(e=bs(e))&&re.test(e)?e.replace(ne,"\\$&"):e},Wn.every=function(e,t,r){var o=za(e)?Dt:fr;return r&&xi(e,t,r)&&(t=n),o(e,ui(t,3))},Wn.find=ga,Wn.findIndex=ji,Wn.findKey=function(e,t){return Wt(e,ui(t,3),xr)},Wn.findLast=va,Wn.findLastIndex=zi,Wn.findLastKey=function(e,t){return Wt(e,ui(t,3),kr)},Wn.floor=xl,Wn.forEach=ba,Wn.forEachRight=ya,Wn.forIn=function(e,t){return null==e?e:br(e,ui(t,3),As)},Wn.forInRight=function(e,t){return null==e?e:yr(e,ui(t,3),As)},Wn.forOwn=function(e,t){return e&&xr(e,ui(t,3))},Wn.forOwnRight=function(e,t){return e&&kr(e,ui(t,3))},Wn.get=Ss,Wn.gt=Fa,Wn.gte=Ha,Wn.has=function(e,t){return null!=e&&gi(e,t,Mr)},Wn.hasIn=Ms,Wn.head=Zi,Wn.identity=rl,Wn.includes=function(e,t,n,r){e=Za(e)?e:Ws(e),n=n&&!r?fs(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ss(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ht(e,t,n)>-1},Wn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=bn(r+o,0)),Ht(e,t,o)},Wn.inRange=function(e,t,r){return t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,n){return e>=yn(t,n)&&e<bn(t,n)}(e=gs(e),t,r)},Wn.invoke=Ds,Wn.isArguments=ja,Wn.isArray=za,Wn.isArrayBuffer=Ga,Wn.isArrayLike=Za,Wn.isArrayLikeObject=Ya,Wn.isBoolean=function(e){return!0===e||!1===e||ts(e)&&Ir(e)==b},Wn.isBuffer=Xa,Wn.isDate=Ua,Wn.isElement=function(e){return ts(e)&&1===e.nodeType&&!os(e)},Wn.isEmpty=function(e){if(null==e)return!0;if(Za(e)&&(za(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||us(e)||ja(e)))return!e.length;var t=mi(e);if(t==C||t==_)return!e.size;if(Ei(e))return!Rr(e).length;for(var n in e)if(Pe.call(e,n))return!1;return!0},Wn.isEqual=function(e,t){return Ar(e,t)},Wn.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Ar(e,t,n,r):!!o},Wn.isError=Ja,Wn.isFinite=function(e){return"number"==typeof e&&yt(e)},Wn.isFunction=Qa,Wn.isInteger=Ka,Wn.isLength=qa,Wn.isMap=ns,Wn.isMatch=function(e,t){return e===t||Nr(e,t,di(t))},Wn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Nr(e,t,di(t),r)},Wn.isNaN=function(e){return rs(e)&&e!=+e},Wn.isNative=function(e){if(Ci(e))throw new Ce("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Wn.isNil=function(e){return null==e},Wn.isNull=function(e){return null===e},Wn.isNumber=rs,Wn.isObject=es,Wn.isObjectLike=ts,Wn.isPlainObject=os,Wn.isRegExp=is,Wn.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=p},Wn.isSet=as,Wn.isString=ss,Wn.isSymbol=ls,Wn.isTypedArray=us,Wn.isUndefined=function(e){return e===n},Wn.isWeakMap=function(e){return ts(e)&&mi(e)==L},Wn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Ir(e)},Wn.join=function(e,t){return null==e?"":$t.call(e,t)},Wn.kebabCase=zs,Wn.last=Ji,Wn.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o;return r!==n&&(i=(i=fs(r))<0?bn(o+i,0):yn(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ft(e,zt,i,!0)},Wn.lowerCase=Gs,Wn.lowerFirst=Zs,Wn.lt=cs,Wn.lte=ds,Wn.max=function(e){return e&&e.length?mr(e,rl,Sr):n},Wn.maxBy=function(e,t){return e&&e.length?mr(e,ui(t,2),Sr):n},Wn.mean=function(e){return Gt(e,rl)},Wn.meanBy=function(e,t){return Gt(e,ui(t,2))},Wn.min=function(e){return e&&e.length?mr(e,rl,Br):n},Wn.minBy=function(e,t){return e&&e.length?mr(e,ui(t,2),Br):n},Wn.stubArray=ml,Wn.stubFalse=gl,Wn.stubObject=function(){return{}},Wn.stubString=function(){return""},Wn.stubTrue=function(){return!0},Wn.multiply=wl,Wn.nth=function(e,t){return e&&e.length?jr(e,fs(t)):n},Wn.noConflict=function(){return ft._===this&&(ft._=We),this},Wn.noop=ll,Wn.now=Sa,Wn.pad=function(e,t,n){e=bs(e);var r=(t=fs(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Go(mt(o),n)+e+Go(ht(o),n)},Wn.padEnd=function(e,t,n){e=bs(e);var r=(t=fs(t))?hn(e):0;return t&&r<t?e+Go(t-r,n):e},Wn.padStart=function(e,t,n){e=bs(e);var r=(t=fs(t))?hn(e):0;return t&&r<t?Go(t-r,n)+e:e},Wn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),kn(bs(e).replace(oe,""),t||0)},Wn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&xi(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=hs(e),t===n?(t=e,e=0):t=hs(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var i=wn();return yn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Xr(e,t)},Wn.reduce=function(e,t,n){var r=za(e)?Rt:Xt,o=arguments.length<3;return r(e,ui(t,4),n,o,pr)},Wn.reduceRight=function(e,t,n){var r=za(e)?Vt:Xt,o=arguments.length<3;return r(e,ui(t,4),n,o,hr)},Wn.repeat=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:fs(t),Ur(bs(e),t)},Wn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Wn.result=function(e,t,r){var o=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=n);++o<i;){var a=null==e?n:e[Vi(t[o])];a===n&&(o=i,a=r),e=Qa(a)?a.call(e):a}return e},Wn.round=Cl,Wn.runInContext=e,Wn.sample=function(e){return(za(e)?Qn:Qr)(e)},Wn.size=function(e){if(null==e)return 0;if(Za(e))return ss(e)?hn(e):e.length;var t=mi(e);return t==C||t==_?e.size:Rr(e).length},Wn.snakeCase=Ys,Wn.some=function(e,t,r){var o=za(e)?Bt:oo;return r&&xi(e,t,r)&&(t=n),o(e,ui(t,3))},Wn.sortedIndex=function(e,t){return io(e,t)},Wn.sortedIndexBy=function(e,t,n){return ao(e,t,ui(n,2))},Wn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=io(e,t);if(r<n&&Wa(e[r],t))return r}return-1},Wn.sortedLastIndex=function(e,t){return io(e,t,!0)},Wn.sortedLastIndexBy=function(e,t,n){return ao(e,t,ui(n,2),!0)},Wn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=io(e,t,!0)-1;if(Wa(e[n],t))return n}return-1},Wn.startCase=Xs,Wn.startsWith=function(e,t,n){return e=bs(e),n=null==n?0:sr(fs(n),0,e.length),t=uo(t),e.slice(n,n+t.length)==t},Wn.subtract=El,Wn.sum=function(e){return e&&e.length?Ut(e,rl):0},Wn.sumBy=function(e,t){return e&&e.length?Ut(e,ui(t,2)):0},Wn.template=function(e,t,r){var o=Wn.templateSettings;r&&xi(e,t,r)&&(t=n),e=bs(e),t=ks({},t,o,qo);var i,a,s=ks({},t.imports,o.imports,qo),l=Ls(s),u=qt(s,l),c=0,d=t.interpolate||xe,p="__p += '",h=Me((t.escape||xe).source+"|"+d.source+"|"+(d===K?pe:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),f="//# sourceURL="+(Pe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(h,(function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(c,l).replace(ke,an),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),p+="';\n";var m=Pe.call(t,"variable")&&t.variable;if(m){if(ce.test(m))throw new Ce("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(j,""):p).replace(z,"$1").replace(G,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Ks((function(){return Ee(l,f+"return "+p).apply(n,u)}));if(g.source=p,Ja(g))throw g;return g},Wn.times=function(e,t){if((e=fs(e))<1||e>p)return[];var n=f,r=yn(e,f);t=ui(t),e-=f;for(var o=Jt(r,t);++n<e;)t(n);return o},Wn.toFinite=hs,Wn.toInteger=fs,Wn.toLength=ms,Wn.toLower=function(e){return bs(e).toLowerCase()},Wn.toNumber=gs,Wn.toSafeInteger=function(e){return e?sr(fs(e),-9007199254740991,p):0===e?e:0},Wn.toString=bs,Wn.toUpper=function(e){return bs(e).toUpperCase()},Wn.trim=function(e,t,r){if((e=bs(e))&&(r||t===n))return Qt(e);if(!e||!(t=uo(t)))return e;var o=fn(e),i=fn(t);return wo(o,tn(o,i),nn(o,i)+1).join("")},Wn.trimEnd=function(e,t,r){if((e=bs(e))&&(r||t===n))return e.slice(0,mn(e)+1);if(!e||!(t=uo(t)))return e;var o=fn(e);return wo(o,0,nn(o,fn(t))+1).join("")},Wn.trimStart=function(e,t,r){if((e=bs(e))&&(r||t===n))return e.replace(oe,"");if(!e||!(t=uo(t)))return e;var o=fn(e);return wo(o,tn(o,fn(t))).join("")},Wn.truncate=function(e,t){var r=30,o="...";if(es(t)){var i="separator"in t?t.separator:i;r="length"in t?fs(t.length):r,o="omission"in t?uo(t.omission):o}var a=(e=bs(e)).length;if(sn(e)){var s=fn(e);a=s.length}if(r>=a)return e;var l=r-hn(o);if(l<1)return o;var u=s?wo(s,0,l).join(""):e.slice(0,l);if(i===n)return u+o;if(s&&(l+=u.length-l),is(i)){if(e.slice(l).search(i)){var c,d=u;for(i.global||(i=Me(i.source,bs(he.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var p=c.index;u=u.slice(0,p===n?l:p)}}else if(e.indexOf(uo(i),l)!=l){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+o},Wn.unescape=function(e){return(e=bs(e))&&X.test(e)?e.replace(Z,gn):e},Wn.uniqueId=function(e){var t=++Re;return bs(e)+t},Wn.upperCase=Us,Wn.upperFirst=Js,Wn.each=ba,Wn.eachRight=ya,Wn.first=Zi,sl(Wn,(kl={},xr(Wn,(function(e,t){Pe.call(Wn.prototype,t)||(kl[t]=e)})),kl),{chain:!1}),Wn.VERSION="4.17.21",_t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Wn[e].placeholder=Wn})),_t(["drop","take"],(function(e,t){zn.prototype[e]=function(r){r=r===n?1:bn(fs(r),0);var o=this.__filtered__&&!t?new zn(this):this.clone();return o.__filtered__?o.__takeCount__=yn(r,o.__takeCount__):o.__views__.push({size:yn(r,f),type:e+(o.__dir__<0?"Right":"")}),o},zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),_t(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;zn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),_t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");zn.prototype[e]=function(){return this[n](1).value()[0]}})),_t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");zn.prototype[e]=function(){return this.__filtered__?new zn(this):this[n](1)}})),zn.prototype.compact=function(){return this.filter(rl)},zn.prototype.find=function(e){return this.filter(e).head()},zn.prototype.findLast=function(e){return this.reverse().find(e)},zn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new zn(this):this.map((function(n){return Dr(n,e,t)}))})),zn.prototype.reject=function(e){return this.filter(Pa(ui(e)))},zn.prototype.slice=function(e,t){e=fs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new zn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=fs(t))<0?r.dropRight(-t):r.take(t-e)),r)},zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zn.prototype.toArray=function(){return this.take(f)},xr(zn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Wn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Wn.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof zn,u=s[0],c=l||za(t),d=function(e){var t=i.apply(Wn,Pt([e],s));return o&&p?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var p=this.__chain__,h=!!this.__actions__.length,f=a&&!p,m=l&&!h;if(!a&&c){t=m?t:new zn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[d],thisArg:n}),new jn(g,p)}return f&&m?e.apply(this,s):(g=this.thru(d),f?o?g.value()[0]:g.value():g)})})),_t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Wn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(za(o)?o:[],e)}return this[n]((function(n){return t.apply(za(n)?n:[],e)}))}})),xr(zn.prototype,(function(e,t){var n=Wn[t];if(n){var r=n.name+"";Pe.call(Ln,r)||(Ln[r]=[]),Ln[r].push({name:t,func:n})}})),Ln[Fo(n,2).name]=[{name:"wrapper",func:n}],zn.prototype.clone=function(){var e=new zn(this.__wrapped__);return e.__actions__=Do(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Do(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Do(this.__views__),e},zn.prototype.reverse=function(){if(this.__filtered__){var e=new zn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},zn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=za(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=yn(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,p=0,h=yn(l,this.__takeCount__);if(!n||!r&&o==l&&h==l)return mo(e,this.__actions__);var f=[];e:for(;l--&&p<h;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],b=v.iteratee,y=v.type,x=b(g);if(2==y)g=x;else if(!x){if(1==y)continue e;break e}}f[p++]=g}return f},Wn.prototype.at=fa,Wn.prototype.chain=function(){return pa(this)},Wn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Wn.prototype.next=function(){this.__values__===n&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Wn.prototype.plant=function(e){for(var t,r=this;r instanceof Hn;){var o=$i(r);o.__index__=0,o.__values__=n,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t},Wn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof zn){var t=e;return this.__actions__.length&&(t=new zn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ea],thisArg:n}),new jn(t,this.__chain__)}return this.thru(ea)},Wn.prototype.toJSON=Wn.prototype.valueOf=Wn.prototype.value=function(){return mo(this.__wrapped__,this.__actions__)},Wn.prototype.first=Wn.prototype.head,Qe&&(Wn.prototype[Qe]=function(){return this}),Wn}();gt?((gt.exports=vn)._=vn,mt._=vn):ft._=vn}).call(dt)}(cE,cE.exports);var dE=cE.exports;const pE=()=>e.createElement("svg",{"aria-hidden":"true",focusable:"false",height:14,style:{display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0},viewBox:"0 0 20 20",width:14},e.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"})),hE=t.styled.div`
|
|
2165
|
+
*/!function(e,t){(function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",a=16,s=32,l=64,u=128,c=256,d=1/0,p=9007199254740991,h=NaN,f=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",s],["partialRight",l],["rearg",c]],g="[object Arguments]",v="[object Array]",b="[object Boolean]",y="[object Date]",x="[object Error]",k="[object Function]",w="[object GeneratorFunction]",C="[object Map]",E="[object Number]",I="[object Object]",S="[object Promise]",M="[object RegExp]",_="[object Set]",T="[object String]",D="[object Symbol]",L="[object WeakMap]",A="[object ArrayBuffer]",N="[object DataView]",O="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",V="[object Int16Array]",B="[object Int32Array]",$="[object Uint8Array]",W="[object Uint8ClampedArray]",F="[object Uint16Array]",H="[object Uint32Array]",j=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,X=RegExp(Z.source),U=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),oe=/^\s+/,ie=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Ie="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Me="\\ufe0e\\ufe0f",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['’]",De="["+we+"]",Le="["+_e+"]",Ae="["+Ce+"]",Ne="\\d+",Oe="["+Ee+"]",Pe="["+Ie+"]",Re="[^"+we+_e+Ne+Ee+Ie+Se+"]",Ve="\\ud83c[\\udffb-\\udfff]",Be="[^"+we+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",Fe="["+Se+"]",He="\\u200d",je="(?:"+Pe+"|"+Re+")",ze="(?:"+Fe+"|"+Re+")",Ge="(?:['’](?:d|ll|m|re|s|t|ve))?",Ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ye="(?:"+Ae+"|"+Ve+")"+"?",Xe="["+Me+"]?",Ue=Xe+Ye+("(?:"+He+"(?:"+[Be,$e,We].join("|")+")"+Xe+Ye+")*"),Je="(?:"+[Oe,$e,We].join("|")+")"+Ue,Qe="(?:"+[Be+Ae+"?",Ae,$e,We,De].join("|")+")",Ke=RegExp(Te,"g"),qe=RegExp(Ae,"g"),et=RegExp(Ve+"(?="+Ve+")|"+Qe+Ue,"g"),tt=RegExp([Fe+"?"+Pe+"+"+Ge+"(?="+[Le,Fe,"$"].join("|")+")",ze+"+"+Ze+"(?="+[Le,Fe+je,"$"].join("|")+")",Fe+"?"+je+"+"+Ge,Fe+"+"+Ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Je].join("|"),"g"),nt=RegExp("["+He+we+Ce+Me+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[O]=at[P]=at[R]=at[V]=at[B]=at[$]=at[W]=at[F]=at[H]=!0,at[g]=at[v]=at[A]=at[b]=at[N]=at[y]=at[x]=at[k]=at[C]=at[E]=at[I]=at[M]=at[_]=at[T]=at[L]=!1;var st={};st[g]=st[v]=st[A]=st[N]=st[b]=st[y]=st[O]=st[P]=st[R]=st[V]=st[B]=st[C]=st[E]=st[I]=st[M]=st[_]=st[T]=st[D]=st[$]=st[W]=st[F]=st[H]=!0,st[x]=st[k]=st[L]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,pt="object"==typeof dt&&dt&&dt.Object===Object&&dt,ht="object"==typeof self&&self&&self.Object===Object&&self,ft=pt||ht||Function("return this")(),mt=t&&!t.nodeType&&t,gt=mt&&e&&!e.nodeType&&e,vt=gt&>.exports===mt,bt=vt&&pt.process,yt=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),xt=yt&&yt.isArrayBuffer,kt=yt&&yt.isDate,wt=yt&&yt.isMap,Ct=yt&&yt.isRegExp,Et=yt&&yt.isSet,It=yt&&yt.isTypedArray;function St(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Mt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function _t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Lt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function At(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function Nt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Rt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var $t=Zt("length");function Wt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ft(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ht(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ft(e,zt,n)}function jt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function zt(e){return e!=e}function Gt(e,t){var n=null==e?0:e.length;return n?Ut(e,t)/n:h}function Zt(e){return function(t){return null==t?n:t[e]}}function Yt(e){return function(t){return null==e?n:e[t]}}function Xt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ut(e,t){for(var r,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==n&&(r=r===n?a:r+a)}return r}function Jt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Qt(e){return e?e.slice(0,mn(e)+1).replace(oe,""):e}function Kt(e){return function(t){return e(t)}}function qt(e,t){return Ot(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,r=e.length;++n<r&&Ht(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}var rn=Yt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Yt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function sn(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];s!==t&&s!==i||(e[n]=i,a[o++]=n)}return a}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function hn(e){return sn(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):$t(e)}function fn(e){return sn(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var gn=Yt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var ie=(t=null==t?ft:vn.defaults(ft.Object(),t,vn.pick(ft,ot))).Array,we=t.Date,Ce=t.Error,Ee=t.Function,Ie=t.Math,Se=t.Object,Me=t.RegExp,_e=t.String,Te=t.TypeError,De=ie.prototype,Le=Ee.prototype,Ae=Se.prototype,Ne=t["__core-js_shared__"],Oe=Le.toString,Pe=Ae.hasOwnProperty,Re=0,Ve=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Be=Ae.toString,$e=Oe.call(Se),We=ft._,Fe=Me("^"+Oe.call(Pe).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=vt?t.Buffer:n,je=t.Symbol,ze=t.Uint8Array,Ge=He?He.allocUnsafe:n,Ze=un(Se.getPrototypeOf,Se),Ye=Se.create,Xe=Ae.propertyIsEnumerable,Ue=De.splice,Je=je?je.isConcatSpreadable:n,Qe=je?je.iterator:n,et=je?je.toStringTag:n,nt=function(){try{var e=pi(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,dt=we&&we.now!==ft.Date.now&&we.now,pt=t.setTimeout!==ft.setTimeout&&t.setTimeout,ht=Ie.ceil,mt=Ie.floor,gt=Se.getOwnPropertySymbols,bt=He?He.isBuffer:n,yt=t.isFinite,$t=De.join,Yt=un(Se.keys,Se),bn=Ie.max,yn=Ie.min,xn=we.now,kn=t.parseInt,wn=Ie.random,Cn=De.reverse,En=pi(t,"DataView"),In=pi(t,"Map"),Sn=pi(t,"Promise"),Mn=pi(t,"Set"),_n=pi(t,"WeakMap"),Tn=pi(Se,"create"),Dn=_n&&new _n,Ln={},An=Bi(En),Nn=Bi(In),On=Bi(Sn),Pn=Bi(Mn),Rn=Bi(_n),Vn=je?je.prototype:n,Bn=Vn?Vn.valueOf:n,$n=Vn?Vn.toString:n;function Wn(e){if(ts(e)&&!za(e)&&!(e instanceof zn)){if(e instanceof jn)return e;if(Pe.call(e,"__wrapped__"))return $i(e)}return new jn(e)}var Fn=function(){function e(){}return function(t){if(!es(t))return{};if(Ye)return Ye(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Hn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function zn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Gn(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])}}function Zn(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])}}function Yn(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])}}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Un(e){var t=this.__data__=new Zn(e);this.size=t.size}function Jn(e,t){var n=za(e),r=!n&&ja(e),o=!n&&!r&&Xa(e),i=!n&&!r&&!o&&us(e),a=n||r||o||i,s=a?Jt(e.length,_e):[],l=s.length;for(var u in e)!t&&!Pe.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||yi(u,l))||s.push(u);return s}function Qn(e){var t=e.length;return t?e[Xr(0,t-1)]:n}function Kn(e,t){return Pi(Do(e),sr(t,0,e.length))}function qn(e){return Pi(Do(e))}function er(e,t,r){(r!==n&&!Wa(e[t],r)||r===n&&!(t in e))&&ir(e,t,r)}function tr(e,t,r){var o=e[t];Pe.call(e,t)&&Wa(o,r)&&(r!==n||t in e)||ir(e,t,r)}function nr(e,t){for(var n=e.length;n--;)if(Wa(e[n][0],t))return n;return-1}function rr(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function or(e,t){return e&&Lo(t,Ls(t),e)}function ir(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var r=-1,o=t.length,i=ie(o),a=null==e;++r<o;)i[r]=a?n:Ss(e,t[r]);return i}function sr(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function lr(e,t,r,o,i,a){var s,l=1&t,u=2&t,c=4&t;if(r&&(s=i?r(e,o,i,a):r(e)),s!==n)return s;if(!es(e))return e;var d=za(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Pe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Do(e,s)}else{var p=mi(e),h=p==k||p==w;if(Xa(e))return Eo(e,l);if(p==I||p==g||h&&!i){if(s=u||h?{}:vi(e),!l)return u?function(e,t){return Lo(e,fi(e),t)}(e,function(e,t){return e&&Lo(t,As(t),e)}(s,e)):function(e,t){return Lo(e,hi(e),t)}(e,or(s,e))}else{if(!st[p])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case A:return Io(e);case b:case y:return new r(+e);case N:return function(e,t){var n=t?Io(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case O:case P:case R:case V:case B:case $:case W:case F:case H:return So(e,n);case C:return new r;case E:case T:return new r(e);case M:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case _:return new r;case D:return o=e,Bn?Se(Bn.call(o)):{}}var o}(e,p,l)}}a||(a=new Un);var f=a.get(e);if(f)return f;a.set(e,s),as(e)?e.forEach((function(n){s.add(lr(n,t,r,n,e,a))})):ns(e)&&e.forEach((function(n,o){s.set(o,lr(n,t,r,o,e,a))}));var m=d?n:(c?u?ii:oi:u?As:Ls)(e);return _t(m||e,(function(n,o){m&&(n=e[o=n]),tr(s,o,lr(n,t,r,o,e,a))})),s}function ur(e,t,r){var o=r.length;if(null==e)return!o;for(e=Se(e);o--;){var i=r[o],a=t[i],s=e[i];if(s===n&&!(i in e)||!a(s))return!1}return!0}function cr(e,t,o){if("function"!=typeof e)throw new Te(r);return Li((function(){e.apply(n,o)}),t)}function dr(e,t,n,r){var o=-1,i=At,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Ot(t,Kt(n))),r?(i=Nt,a=!1):t.length>=200&&(i=en,a=!1,t=new Xn(t));e:for(;++o<s;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var p=u;p--;)if(t[p]===d)continue e;l.push(c)}else i(t,d,r)||l.push(c)}return l}Wn.templateSettings={escape:J,evaluate:Q,interpolate:K,variable:"",imports:{_:Wn}},Wn.prototype=Hn.prototype,Wn.prototype.constructor=Wn,jn.prototype=Fn(Hn.prototype),jn.prototype.constructor=jn,zn.prototype=Fn(Hn.prototype),zn.prototype.constructor=zn,Gn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(Tn){var r=t[e];return r===o?n:r}return Pe.call(t,e)?t[e]:n},Gn.prototype.has=function(e){var t=this.__data__;return Tn?t[e]!==n:Pe.call(t,e)},Gn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tn&&t===n?o:t,this},Zn.prototype.clear=function(){this.__data__=[],this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=nr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ue.call(t,n,1),--this.size,!0)},Zn.prototype.get=function(e){var t=this.__data__,r=nr(t,e);return r<0?n:t[r][1]},Zn.prototype.has=function(e){return nr(this.__data__,e)>-1},Zn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(In||Zn),string:new Gn}},Yn.prototype.delete=function(e){var t=ci(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return ci(this,e).get(e)},Yn.prototype.has=function(e){return ci(this,e).has(e)},Yn.prototype.set=function(e,t){var n=ci(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(e){return this.__data__.set(e,o),this},Xn.prototype.has=function(e){return this.__data__.has(e)},Un.prototype.clear=function(){this.__data__=new Zn,this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Un.prototype.get=function(e){return this.__data__.get(e)},Un.prototype.has=function(e){return this.__data__.has(e)},Un.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!In||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var pr=Oo(xr),hr=Oo(kr,!0);function fr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function mr(e,t,r){for(var o=-1,i=e.length;++o<i;){var a=e[o],s=t(a);if(null!=s&&(l===n?s==s&&!ls(s):r(s,l)))var l=s,u=a}return u}function gr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?vr(s,t-1,n,r,o):Pt(o,s):r||(o[o.length]=s)}return o}var br=Po(),yr=Po(!0);function xr(e,t){return e&&br(e,t,Ls)}function kr(e,t){return e&&yr(e,t,Ls)}function wr(e,t){return Lt(t,(function(t){return Qa(e[t])}))}function Cr(e,t){for(var r=0,o=(t=xo(t,e)).length;null!=e&&r<o;)e=e[Vi(t[r++])];return r&&r==o?e:n}function Er(e,t,n){var r=t(e);return za(e)?r:Pt(r,n(e))}function Ir(e){return null==e?e===n?"[object Undefined]":"[object Null]":et&&et in Se(e)?function(e){var t=Pe.call(e,et),r=e[et];try{e[et]=n;var o=!0}catch(e){}var i=Be.call(e);o&&(t?e[et]=r:delete e[et]);return i}(e):function(e){return Be.call(e)}(e)}function Sr(e,t){return e>t}function Mr(e,t){return null!=e&&Pe.call(e,t)}function _r(e,t){return null!=e&&t in Se(e)}function Tr(e,t,r){for(var o=r?Nt:At,i=e[0].length,a=e.length,s=a,l=ie(a),u=1/0,c=[];s--;){var d=e[s];s&&t&&(d=Ot(d,Kt(t))),u=yn(d.length,u),l[s]=!r&&(t||i>=120&&d.length>=120)?new Xn(s&&d):n}d=e[0];var p=-1,h=l[0];e:for(;++p<i&&c.length<u;){var f=d[p],m=t?t(f):f;if(f=r||0!==f?f:0,!(h?en(h,m):o(c,m,r))){for(s=a;--s;){var g=l[s];if(!(g?en(g,m):o(e[s],m,r)))continue e}h&&h.push(m),c.push(f)}}return c}function Dr(e,t,r){var o=null==(e=_i(e,t=xo(t,e)))?e:e[Vi(Ji(t))];return null==o?n:St(o,e,r)}function Lr(e){return ts(e)&&Ir(e)==g}function Ar(e,t,r,o,i){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!=e&&t!=t:function(e,t,r,o,i,a){var s=za(e),l=za(t),u=s?v:mi(e),c=l?v:mi(t),d=(u=u==g?I:u)==I,p=(c=c==g?I:c)==I,h=u==c;if(h&&Xa(e)){if(!Xa(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new Un),s||us(e)?ni(e,t,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!i(new ze(e),new ze(t)));case b:case y:case E:return Wa(+e,+t);case x:return e.name==t.name&&e.message==t.message;case M:case T:return e==t+"";case C:var s=ln;case _:var l=1&r;if(s||(s=dn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ni(s(e),s(t),r,o,i,a);return a.delete(e),c;case D:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,u,r,o,i,a);if(!(1&r)){var f=d&&Pe.call(e,"__wrapped__"),m=p&&Pe.call(t,"__wrapped__");if(f||m){var k=f?e.value():e,w=m?t.value():t;return a||(a=new Un),i(k,w,r,o,a)}}if(!h)return!1;return a||(a=new Un),function(e,t,r,o,i,a){var s=1&r,l=oi(e),u=l.length,c=oi(t),d=c.length;if(u!=d&&!s)return!1;var p=u;for(;p--;){var h=l[p];if(!(s?h in t:Pe.call(t,h)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=s;for(;++p<u;){var b=e[h=l[p]],y=t[h];if(o)var x=s?o(y,b,h,t,e,a):o(b,y,h,e,t,a);if(!(x===n?b===y||i(b,y,r,o,a):x)){g=!1;break}v||(v="constructor"==h)}if(g&&!v){var k=e.constructor,w=t.constructor;k==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,r,o,i,a)}(e,t,r,o,Ar,i))}function Nr(e,t,r,o){var i=r.length,a=i,s=!o;if(null==e)return!a;for(e=Se(e);i--;){var l=r[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var u=(l=r[i])[0],c=e[u],d=l[1];if(s&&l[2]){if(c===n&&!(u in e))return!1}else{var p=new Un;if(o)var h=o(c,d,u,e,t,p);if(!(h===n?Ar(d,c,3,o,p):h))return!1}}return!0}function Or(e){return!(!es(e)||function(e){return!!Ve&&Ve in e}(e))&&(Qa(e)?Fe:ge).test(Bi(e))}function Pr(e){return"function"==typeof e?e:null==e?rl:"object"==typeof e?za(e)?Fr(e[0],e[1]):Wr(e):pl(e)}function Rr(e){if(!Ei(e))return Yt(e);var t=[];for(var n in Se(e))Pe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Vr(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in Se(e))t.push(n);return t}(e);var t=Ei(e),n=[];for(var r in e)("constructor"!=r||!t&&Pe.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function $r(e,t){var n=-1,r=Za(e)?ie(e.length):[];return pr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Wr(e){var t=di(e);return 1==t.length&&t[0][2]?Si(t[0][0],t[0][1]):function(n){return n===e||Nr(n,e,t)}}function Fr(e,t){return ki(e)&&Ii(t)?Si(Vi(e),t):function(r){var o=Ss(r,e);return o===n&&o===t?Ms(r,e):Ar(t,o,3)}}function Hr(e,t,r,o,i){e!==t&&br(t,(function(a,s){if(i||(i=new Un),es(a))!function(e,t,r,o,i,a,s){var l=Ti(e,r),u=Ti(t,r),c=s.get(u);if(c)return void er(e,r,c);var d=a?a(l,u,r+"",e,t,s):n,p=d===n;if(p){var h=za(u),f=!h&&Xa(u),m=!h&&!f&&us(u);d=u,h||f||m?za(l)?d=l:Ya(l)?d=Do(l):f?(p=!1,d=Eo(u,!0)):m?(p=!1,d=So(u,!0)):d=[]:os(u)||ja(u)?(d=l,ja(l)?d=vs(l):es(l)&&!Qa(l)||(d=vi(u))):p=!1}p&&(s.set(u,d),i(d,u,o,a,s),s.delete(u));er(e,r,d)}(e,t,s,r,Hr,o,i);else{var l=o?o(Ti(e,s),a,s+"",e,t,i):n;l===n&&(l=a),er(e,s,l)}}),As)}function jr(e,t){var r=e.length;if(r)return yi(t+=t<0?r:0,r)?e[t]:n}function zr(e,t,n){t=t.length?Ot(t,(function(e){return za(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[rl];var r=-1;t=Ot(t,Kt(ui()));var o=$r(e,(function(e,n,o){var i=Ot(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=Mo(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Cr(e,a);n(s,a)&&qr(i,xo(a,e),s)}return i}function Zr(e,t,n,r){var o=r?jt:Ht,i=-1,a=t.length,s=e;for(e===t&&(t=Do(t)),n&&(s=Ot(e,Kt(n)));++i<a;)for(var l=0,u=t[i],c=n?n(u):u;(l=o(s,c,l,r))>-1;)s!==e&&Ue.call(s,l,1),Ue.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;yi(o)?Ue.call(e,o,1):po(e,o)}}return e}function Xr(e,t){return e+mt(wn()*(t-e+1))}function Ur(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Ai(Mi(e,t,rl),e+"")}function Qr(e){return Qn(Ws(e))}function Kr(e,t){var n=Ws(e);return Pi(n,sr(t,0,n.length))}function qr(e,t,r,o){if(!es(e))return e;for(var i=-1,a=(t=xo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var u=Vi(t[i]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var d=l[u];(c=o?o(d,u,l):n)===n&&(c=es(d)?d:yi(t[i+1])?[]:{})}tr(l,u,c),l=l[u]}return e}var eo=Dn?function(e,t){return Dn.set(e,t),e}:rl,to=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:rl;function no(e){return Pi(Ws(e))}function ro(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ie(o);++r<o;)i[r]=e[r+t];return i}function oo(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function io(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ao(e,t,rl,n)}function ao(e,t,r,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,u=ls(t),c=t===n;i<a;){var d=mt((i+a)/2),p=r(e[d]),h=p!==n,f=null===p,m=p==p,g=ls(p);if(s)var v=o||m;else v=c?m&&(o||h):l?m&&h&&(o||!f):u?m&&h&&!f&&(o||!g):!f&&!g&&(o?p<=t:p<t);v?i=d+1:a=d}return yn(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Wa(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function lo(e){return"number"==typeof e?e:ls(e)?h:+e}function uo(e){if("string"==typeof e)return e;if(za(e))return Ot(e,uo)+"";if(ls(e))return $n?$n.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function co(e,t,n){var r=-1,o=At,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Nt;else if(i>=200){var u=t?null:Jo(e);if(u)return dn(u);a=!1,o=en,l=new Xn}else l=t?[]:s;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(c)}else o(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function po(e,t){return null==(e=_i(e,t=xo(t,e)))||delete e[Vi(Ji(t))]}function ho(e,t,n,r){return qr(e,t,n(Cr(e,t)),r)}function fo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?ro(e,r?0:i,r?i+1:o):ro(e,r?i+1:0,r?o:i)}function mo(e,t){var n=e;return n instanceof zn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Pt([e],t.args))}),n)}function go(e,t,n){var r=e.length;if(r<2)return r?co(e[0]):[];for(var o=-1,i=ie(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=dr(i[o]||a,e[s],t,n));return co(vr(i,1),t,n)}function vo(e,t,r){for(var o=-1,i=e.length,a=t.length,s={};++o<i;){var l=o<a?t[o]:n;r(s,e[o],l)}return s}function bo(e){return Ya(e)?e:[]}function yo(e){return"function"==typeof e?e:rl}function xo(e,t){return za(e)?e:ki(e,t)?[e]:Ri(bs(e))}var ko=Jr;function wo(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:ro(e,t,r)}var Co=lt||function(e){return ft.clearTimeout(e)};function Eo(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Io(e){var t=new e.constructor(e.byteLength);return new ze(t).set(new ze(e)),t}function So(e,t){var n=t?Io(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Mo(e,t){if(e!==t){var r=e!==n,o=null===e,i=e==e,a=ls(e),s=t!==n,l=null===t,u=t==t,c=ls(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||o&&s&&u||!r&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&r&&i&&!o&&!a||l&&r&&i||!s&&i||!u)return-1}return 0}function _o(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,l=t.length,u=bn(i-a,0),c=ie(l+u),d=!r;++s<l;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;u--;)c[s++]=e[o++];return c}function To(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,l=-1,u=t.length,c=bn(i-s,0),d=ie(c+u),p=!r;++o<c;)d[o]=e[o];for(var h=o;++l<u;)d[h+l]=t[l];for(;++a<s;)(p||o<i)&&(d[h+n[a]]=e[o++]);return d}function Do(e,t){var n=-1,r=e.length;for(t||(t=ie(r));++n<r;)t[n]=e[n];return t}function Lo(e,t,r,o){var i=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=o?o(r[l],e[l],l,r,e):n;u===n&&(u=e[l]),i?ir(r,l,u):tr(r,l,u)}return r}function Ao(e,t){return function(n,r){var o=za(n)?Mt:rr,i=t?t():{};return o(n,e,ui(r,2),i)}}function No(e){return Jr((function(t,r){var o=-1,i=r.length,a=i>1?r[i-1]:n,s=i>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(i--,a):n,s&&xi(r[0],r[1],s)&&(a=i<3?n:a,i=1),t=Se(t);++o<i;){var l=r[o];l&&e(t,l,o,a)}return t}))}function Oo(e,t){return function(n,r){if(null==n)return n;if(!Za(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Se(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Po(e){return function(t,n,r){for(var o=-1,i=Se(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Ro(e){return function(t){var r=sn(t=bs(t))?fn(t):n,o=r?r[0]:t.charAt(0),i=r?wo(r,1).join(""):t.slice(1);return o[e]()+i}}function Vo(e){return function(t){return Rt(Qs(js(t).replace(Ke,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Fn(e.prototype),r=e.apply(n,t);return es(r)?r:n}}function $o(e){return function(t,r,o){var i=Se(t);if(!Za(t)){var a=ui(r,3);t=Ls(t),r=function(e){return a(i[e],e,i)}}var s=e(t,r,o);return s>-1?i[a?t[s]:s]:n}}function Wo(e){return ri((function(t){var o=t.length,i=o,a=jn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Te(r);if(a&&!l&&"wrapper"==si(s))var l=new jn([],!0)}for(i=l?i:o;++i<o;){var u=si(s=t[i]),c="wrapper"==u?ai(s):n;l=c&&wi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[si(c[0])].apply(l,c[3]):1==s.length&&wi(s)?l[u]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&za(n))return l.plant(n).value();for(var r=0,i=o?t[r].apply(this,e):n;++r<o;)i=t[r].call(this,i);return i}}))}function Fo(e,t,r,o,i,a,s,l,c,d){var p=t&u,h=1&t,f=2&t,m=24&t,g=512&t,v=f?n:Bo(e);return function u(){for(var b=arguments.length,y=ie(b),x=b;x--;)y[x]=arguments[x];if(m)var k=li(u),w=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,k);if(o&&(y=_o(y,o,i,m)),a&&(y=To(y,a,s,m)),b-=w,m&&b<d){var C=cn(y,k);return Xo(e,t,Fo,u.placeholder,r,y,C,l,c,d-b)}var E=h?r:this,I=f?E[e]:e;return b=y.length,l?y=function(e,t){var r=e.length,o=yn(t.length,r),i=Do(e);for(;o--;){var a=t[o];e[o]=yi(a,r)?i[a]:n}return e}(y,l):g&&b>1&&y.reverse(),p&&c<b&&(y.length=c),this&&this!==ft&&this instanceof u&&(I=v||Bo(I)),I.apply(E,y)}}function Ho(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(r,o){var i;if(r===n&&o===n)return t;if(r!==n&&(i=r),o!==n){if(i===n)return o;"string"==typeof r||"string"==typeof o?(r=uo(r),o=uo(o)):(r=lo(r),o=lo(o)),i=e(r,o)}return i}}function zo(e){return ri((function(t){return t=Ot(t,Kt(ui())),Jr((function(n){var r=this;return e(t,(function(e){return St(e,r,n)}))}))}))}function Go(e,t){var r=(t=t===n?" ":uo(t)).length;if(r<2)return r?Ur(t,e):t;var o=Ur(t,ht(e/hn(t)));return sn(t)?wo(fn(o),0,e).join(""):o.slice(0,e)}function Zo(e){return function(t,r,o){return o&&"number"!=typeof o&&xi(t,r,o)&&(r=o=n),t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,n,r){for(var o=-1,i=bn(ht((t-e)/(n||1)),0),a=ie(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,r,o=o===n?t<r?1:-1:hs(o),e)}}function Yo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Xo(e,t,r,o,i,a,u,c,d,p){var h=8&t;t|=h?s:l,4&(t&=~(h?l:s))||(t&=-4);var f=[e,t,i,h?a:n,h?u:n,h?n:a,h?n:u,c,d,p],m=r.apply(n,f);return wi(e)&&Di(m,f),m.placeholder=o,Ni(m,e,t)}function Uo(e){var t=Ie[e];return function(e,n){if(e=gs(e),(n=null==n?0:yn(fs(n),292))&&yt(e)){var r=(bs(e)+"e").split("e");return+((r=(bs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Jo=Mn&&1/dn(new Mn([,-0]))[1]==d?function(e){return new Mn(e)}:ll;function Qo(e){return function(t){var n=mi(t);return n==C?ln(t):n==_?pn(t):function(e,t){return Ot(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ko(e,t,o,d,p,h,f,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Te(r);var v=d?d.length:0;if(v||(t&=-97,d=p=n),f=f===n?f:bn(fs(f),0),m=m===n?m:fs(m),v-=p?p.length:0,t&l){var b=d,y=p;d=p=n}var x=g?n:ai(e),k=[e,t,o,d,p,b,y,h,f,m];if(x&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,s=r==u&&8==n||r==u&&n==c&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var d=e[3];e[3]=d?_o(d,l,t[4]):l,e[4]=d?cn(e[3],i):t[4]}(l=t[5])&&(d=e[5],e[5]=d?To(d,l,t[6]):l,e[6]=d?cn(e[5],i):t[6]);(l=t[7])&&(e[7]=l);r&u&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(k,x),e=k[0],t=k[1],o=k[2],d=k[3],p=k[4],!(m=k[9]=k[9]===n?g?0:e.length:bn(k[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||t==a?function(e,t,r){var o=Bo(e);return function i(){for(var a=arguments.length,s=ie(a),l=a,u=li(i);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:cn(s,u);return(a-=c.length)<r?Xo(e,t,Fo,i.placeholder,n,s,c,n,n,r-a):St(this&&this!==ft&&this instanceof i?o:e,this,s)}}(e,t,m):t!=s&&33!=t||p.length?Fo.apply(n,k):function(e,t,n,r){var o=1&t,i=Bo(e);return function t(){for(var a=-1,s=arguments.length,l=-1,u=r.length,c=ie(u+s),d=this&&this!==ft&&this instanceof t?i:e;++l<u;)c[l]=r[l];for(;s--;)c[l++]=arguments[++a];return St(d,o?n:this,c)}}(e,t,o,d);else var w=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==ft&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return Ni((x?eo:Di)(w,k),e,t)}function qo(e,t,r,o){return e===n||Wa(e,Ae[r])&&!Pe.call(o,r)?t:e}function ei(e,t,r,o,i,a){return es(e)&&es(t)&&(a.set(t,e),Hr(e,t,n,ei,a),a.delete(t)),e}function ti(e){return os(e)?n:e}function ni(e,t,r,o,i,a){var s=1&r,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var p=-1,h=!0,f=2&r?new Xn:n;for(a.set(e,t),a.set(t,e);++p<l;){var m=e[p],g=t[p];if(o)var v=s?o(g,m,p,t,e,a):o(m,g,p,e,t,a);if(v!==n){if(v)continue;h=!1;break}if(f){if(!Bt(t,(function(e,t){if(!en(f,t)&&(m===e||i(m,e,r,o,a)))return f.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,r,o,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ri(e){return Ai(Mi(e,n,Gi),e+"")}function oi(e){return Er(e,Ls,hi)}function ii(e){return Er(e,As,fi)}var ai=Dn?function(e){return Dn.get(e)}:ll;function si(e){for(var t=e.name+"",n=Ln[t],r=Pe.call(Ln,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function li(e){return(Pe.call(Wn,"placeholder")?Wn:e).placeholder}function ui(){var e=Wn.iteratee||ol;return e=e===ol?Pr:e,arguments.length?e(arguments[0],arguments[1]):e}function ci(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=Ls(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ii(o)]}return t}function pi(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Or(r)?r:n}var hi=gt?function(e){return null==e?[]:(e=Se(e),Lt(gt(e),(function(t){return Xe.call(e,t)})))}:ml,fi=gt?function(e){for(var t=[];e;)Pt(t,hi(e)),e=Ze(e);return t}:ml,mi=Ir;function gi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=Vi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&qa(o)&&yi(a,o)&&(za(e)||ja(e))}function vi(e){return"function"!=typeof e.constructor||Ei(e)?{}:Fn(Ze(e))}function bi(e){return za(e)||ja(e)||!!(Je&&e&&e[Je])}function yi(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!es(n))return!1;var r=typeof t;return!!("number"==r?Za(n)&&yi(t,n.length):"string"==r&&t in n)&&Wa(n[t],e)}function ki(e,t){if(za(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||(ee.test(e)||!q.test(e)||null!=t&&e in Se(t))}function wi(e){var t=si(e),n=Wn[t];if("function"!=typeof n||!(t in zn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(En&&mi(new En(new ArrayBuffer(1)))!=N||In&&mi(new In)!=C||Sn&&mi(Sn.resolve())!=S||Mn&&mi(new Mn)!=_||_n&&mi(new _n)!=L)&&(mi=function(e){var t=Ir(e),r=t==I?e.constructor:n,o=r?Bi(r):"";if(o)switch(o){case An:return N;case Nn:return C;case On:return S;case Pn:return _;case Rn:return L}return t});var Ci=Ne?Qa:gl;function Ei(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ae)}function Ii(e){return e==e&&!es(e)}function Si(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==n||e in Se(r)))}}function Mi(e,t,r){return t=bn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=bn(n.length-t,0),a=ie(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=ie(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),St(e,this,s)}}function _i(e,t){return t.length<2?e:Cr(e,ro(t,0,-1))}function Ti(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Di=Oi(eo),Li=pt||function(e,t){return ft.setTimeout(e,t)},Ai=Oi(to);function Ni(e,t,n){var r=t+"";return Ai(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return _t(m,(function(n){var r="_."+n[0];t&n[1]&&!At(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(le):[]}(r),n)))}function Oi(e){var t=0,r=0;return function(){var o=xn(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Pi(e,t){var r=-1,o=e.length,i=o-1;for(t=t===n?o:t;++r<t;){var a=Xr(r,i),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Ri=function(e){var t=Oa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(te,(function(e,n,r,o){t.push(r?o.replace(de,"$1"):n||e)})),t}));function Vi(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bi(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function $i(e){if(e instanceof zn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Do(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wi=Jr((function(e,t){return Ya(e)?dr(e,vr(t,1,Ya,!0)):[]})),Fi=Jr((function(e,t){var r=Ji(t);return Ya(r)&&(r=n),Ya(e)?dr(e,vr(t,1,Ya,!0),ui(r,2)):[]})),Hi=Jr((function(e,t){var r=Ji(t);return Ya(r)&&(r=n),Ya(e)?dr(e,vr(t,1,Ya,!0),n,r):[]}));function ji(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=bn(r+o,0)),Ft(e,ui(t,3),o)}function zi(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return r!==n&&(i=fs(r),i=r<0?bn(o+i,0):yn(i,o-1)),Ft(e,ui(t,3),i,!0)}function Gi(e){return(null==e?0:e.length)?vr(e,1):[]}function Zi(e){return e&&e.length?e[0]:n}var Yi=Jr((function(e){var t=Ot(e,bo);return t.length&&t[0]===e[0]?Tr(t):[]})),Xi=Jr((function(e){var t=Ji(e),r=Ot(e,bo);return t===Ji(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Tr(r,ui(t,2)):[]})),Ui=Jr((function(e){var t=Ji(e),r=Ot(e,bo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Tr(r,n,t):[]}));function Ji(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Qi=Jr(Ki);function Ki(e,t){return e&&e.length&&t&&t.length?Zr(e,t):e}var qi=ri((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Yr(e,Ot(t,(function(e){return yi(e,n)?+e:e})).sort(Mo)),r}));function ea(e){return null==e?e:Cn.call(e)}var ta=Jr((function(e){return co(vr(e,1,Ya,!0))})),na=Jr((function(e){var t=Ji(e);return Ya(t)&&(t=n),co(vr(e,1,Ya,!0),ui(t,2))})),ra=Jr((function(e){var t=Ji(e);return t="function"==typeof t?t:n,co(vr(e,1,Ya,!0),n,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Lt(e,(function(e){if(Ya(e))return t=bn(e.length,t),!0})),Jt(t,(function(t){return Ot(e,Zt(t))}))}function ia(e,t){if(!e||!e.length)return[];var r=oa(e);return null==t?r:Ot(r,(function(e){return St(t,n,e)}))}var aa=Jr((function(e,t){return Ya(e)?dr(e,t):[]})),sa=Jr((function(e){return go(Lt(e,Ya))})),la=Jr((function(e){var t=Ji(e);return Ya(t)&&(t=n),go(Lt(e,Ya),ui(t,2))})),ua=Jr((function(e){var t=Ji(e);return t="function"==typeof t?t:n,go(Lt(e,Ya),n,t)})),ca=Jr(oa);var da=Jr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)}));function pa(e){var t=Wn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var fa=ri((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&o instanceof zn&&yi(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:n}),new jn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(i)}));var ma=Ao((function(e,t,n){Pe.call(e,n)?++e[n]:ir(e,n,1)}));var ga=$o(ji),va=$o(zi);function ba(e,t){return(za(e)?_t:pr)(e,ui(t,3))}function ya(e,t){return(za(e)?Tt:hr)(e,ui(t,3))}var xa=Ao((function(e,t,n){Pe.call(e,n)?e[n].push(t):ir(e,n,[t])}));var ka=Jr((function(e,t,n){var r=-1,o="function"==typeof t,i=Za(e)?ie(e.length):[];return pr(e,(function(e){i[++r]=o?St(t,e,n):Dr(e,t,n)})),i})),wa=Ao((function(e,t,n){ir(e,n,t)}));function Ca(e,t){return(za(e)?Ot:$r)(e,ui(t,3))}var Ea=Ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ia=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),zr(e,vr(t,1),[])})),Sa=dt||function(){return ft.Date.now()};function Ma(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Ko(e,u,n,n,n,n,t)}function _a(e,t){var o;if("function"!=typeof t)throw new Te(r);return e=fs(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Ta=Jr((function(e,t,n){var r=1;if(n.length){var o=cn(n,li(Ta));r|=s}return Ko(e,r,t,n,o)})),Da=Jr((function(e,t,n){var r=3;if(n.length){var o=cn(n,li(Da));r|=s}return Ko(t,r,e,n,o)}));function La(e,t,o){var i,a,s,l,u,c,d=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new Te(r);function m(t){var r=i,o=a;return i=a=n,d=t,l=e.apply(o,r)}function g(e){var r=e-c;return c===n||r>=t||r<0||h&&e-d>=s}function v(){var e=Sa();if(g(e))return b(e);u=Li(v,function(e){var n=t-(e-c);return h?yn(n,s-(e-d)):n}(e))}function b(e){return u=n,f&&i?m(e):(i=a=n,l)}function y(){var e=Sa(),r=g(e);if(i=arguments,a=this,c=e,r){if(u===n)return function(e){return d=e,u=Li(v,t),p?m(e):l}(c);if(h)return Co(u),u=Li(v,t),m(c)}return u===n&&(u=Li(v,t)),l}return t=gs(t)||0,es(o)&&(p=!!o.leading,s=(h="maxWait"in o)?bn(gs(o.maxWait)||0,t):s,f="trailing"in o?!!o.trailing:f),y.cancel=function(){u!==n&&Co(u),d=0,i=c=a=u=n},y.flush=function(){return u===n?l:b(Sa())},y}var Aa=Jr((function(e,t){return cr(e,1,t)})),Na=Jr((function(e,t,n){return cr(e,gs(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(r);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(Oa.Cache||Yn),n}function Pa(e){if("function"!=typeof e)throw new Te(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Yn;var Ra=ko((function(e,t){var n=(t=1==t.length&&za(t[0])?Ot(t[0],Kt(ui())):Ot(vr(t,1),Kt(ui()))).length;return Jr((function(r){for(var o=-1,i=yn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return St(e,this,r)}))})),Va=Jr((function(e,t){var r=cn(t,li(Va));return Ko(e,s,n,t,r)})),Ba=Jr((function(e,t){var r=cn(t,li(Ba));return Ko(e,l,n,t,r)})),$a=ri((function(e,t){return Ko(e,c,n,n,n,t)}));function Wa(e,t){return e===t||e!=e&&t!=t}var Fa=Yo(Sr),Ha=Yo((function(e,t){return e>=t})),ja=Lr(function(){return arguments}())?Lr:function(e){return ts(e)&&Pe.call(e,"callee")&&!Xe.call(e,"callee")},za=ie.isArray,Ga=xt?Kt(xt):function(e){return ts(e)&&Ir(e)==A};function Za(e){return null!=e&&qa(e.length)&&!Qa(e)}function Ya(e){return ts(e)&&Za(e)}var Xa=bt||gl,Ua=kt?Kt(kt):function(e){return ts(e)&&Ir(e)==y};function Ja(e){if(!ts(e))return!1;var t=Ir(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Qa(e){if(!es(e))return!1;var t=Ir(e);return t==k||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==fs(e)}function qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=wt?Kt(wt):function(e){return ts(e)&&mi(e)==C};function rs(e){return"number"==typeof e||ts(e)&&Ir(e)==E}function os(e){if(!ts(e)||Ir(e)!=I)return!1;var t=Ze(e);if(null===t)return!0;var n=Pe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==$e}var is=Ct?Kt(Ct):function(e){return ts(e)&&Ir(e)==M};var as=Et?Kt(Et):function(e){return ts(e)&&mi(e)==_};function ss(e){return"string"==typeof e||!za(e)&&ts(e)&&Ir(e)==T}function ls(e){return"symbol"==typeof e||ts(e)&&Ir(e)==D}var us=It?Kt(It):function(e){return ts(e)&&qa(e.length)&&!!at[Ir(e)]};var cs=Yo(Br),ds=Yo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Za(e))return ss(e)?fn(e):Do(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=mi(e);return(t==C?ln:t==_?dn:Ws)(e)}function hs(e){return e?(e=gs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function fs(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?sr(fs(e),0,f):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return h;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=me.test(e);return n||ve.test(e)?ct(e.slice(2),n?2:8):fe.test(e)?h:+e}function vs(e){return Lo(e,As(e))}function bs(e){return null==e?"":uo(e)}var ys=No((function(e,t){if(Ei(t)||Za(t))Lo(t,Ls(t),e);else for(var n in t)Pe.call(t,n)&&tr(e,n,t[n])})),xs=No((function(e,t){Lo(t,As(t),e)})),ks=No((function(e,t,n,r){Lo(t,As(t),e,r)})),ws=No((function(e,t,n,r){Lo(t,Ls(t),e,r)})),Cs=ri(ar);var Es=Jr((function(e,t){e=Se(e);var r=-1,o=t.length,i=o>2?t[2]:n;for(i&&xi(t[0],t[1],i)&&(o=1);++r<o;)for(var a=t[r],s=As(a),l=-1,u=s.length;++l<u;){var c=s[l],d=e[c];(d===n||Wa(d,Ae[c])&&!Pe.call(e,c))&&(e[c]=a[c])}return e})),Is=Jr((function(e){return e.push(n,ei),St(Os,n,e)}));function Ss(e,t,r){var o=null==e?n:Cr(e,t);return o===n?r:o}function Ms(e,t){return null!=e&&gi(e,t,_r)}var _s=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),el(rl)),Ts=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Pe.call(e,t)?e[t].push(n):e[t]=[n]}),ui),Ds=Jr(Dr);function Ls(e){return Za(e)?Jn(e):Rr(e)}function As(e){return Za(e)?Jn(e,!0):Vr(e)}var Ns=No((function(e,t,n){Hr(e,t,n)})),Os=No((function(e,t,n,r){Hr(e,t,n,r)})),Ps=ri((function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Lo(e,ii(e),n),r&&(n=lr(n,7,ti));for(var o=t.length;o--;)po(n,t[o]);return n}));var Rs=ri((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return Ms(e,n)}))}(e,t)}));function Vs(e,t){if(null==e)return{};var n=Ot(ii(e),(function(e){return[e]}));return t=ui(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Qo(Ls),$s=Qo(As);function Ws(e){return null==e?[]:qt(e,Ls(e))}var Fs=Vo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Js(bs(e).toLowerCase())}function js(e){return(e=bs(e))&&e.replace(ye,rn).replace(qe,"")}var zs=Vo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Vo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Zs=Ro("toLowerCase");var Ys=Vo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Vo((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Us=Vo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=Ro("toUpperCase");function Qs(e,t,r){return e=bs(e),(t=r?n:t)===n?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Ks=Jr((function(e,t){try{return St(e,n,t)}catch(e){return Ja(e)?e:new Ce(e)}})),qs=ri((function(e,t){return _t(t,(function(t){t=Vi(t),ir(e,t,Ta(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Wo(),nl=Wo(!0);function rl(e){return e}function ol(e){return Pr("function"==typeof e?e:lr(e,1))}var il=Jr((function(e,t){return function(n){return Dr(n,e,t)}})),al=Jr((function(e,t){return function(n){return Dr(e,n,t)}}));function sl(e,t,n){var r=Ls(t),o=wr(t,r);null!=n||es(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(t,Ls(t)));var i=!(es(n)&&"chain"in n&&!n.chain),a=Qa(e);return _t(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Do(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Pt([this.value()],arguments))})})),e}function ll(){}var ul=zo(Ot),cl=zo(Dt),dl=zo(Bt);function pl(e){return ki(e)?Zt(Vi(e)):function(e){return function(t){return Cr(t,e)}}(e)}var hl=Zo(),fl=Zo(!0);function ml(){return[]}function gl(){return!1}var vl=jo((function(e,t){return e+t}),0),bl=Uo("ceil"),yl=jo((function(e,t){return e/t}),1),xl=Uo("floor");var kl,wl=jo((function(e,t){return e*t}),1),Cl=Uo("round"),El=jo((function(e,t){return e-t}),0);return Wn.after=function(e,t){if("function"!=typeof t)throw new Te(r);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},Wn.ary=Ma,Wn.assign=ys,Wn.assignIn=xs,Wn.assignInWith=ks,Wn.assignWith=ws,Wn.at=Cs,Wn.before=_a,Wn.bind=Ta,Wn.bindAll=qs,Wn.bindKey=Da,Wn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return za(e)?e:[e]},Wn.chain=pa,Wn.chunk=function(e,t,r){t=(r?xi(e,t,r):t===n)?1:bn(fs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=ie(ht(o/t));i<o;)s[a++]=ro(e,i,i+=t);return s},Wn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Wn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ie(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Pt(za(n)?Do(n):[n],vr(t,1))},Wn.cond=function(e){var t=null==e?0:e.length,n=ui();return e=t?Ot(e,(function(e){if("function"!=typeof e[1])throw new Te(r);return[n(e[0]),e[1]]})):[],Jr((function(n){for(var r=-1;++r<t;){var o=e[r];if(St(o[0],this,n))return St(o[1],this,n)}}))},Wn.conforms=function(e){return function(e){var t=Ls(e);return function(n){return ur(n,e,t)}}(lr(e,1))},Wn.constant=el,Wn.countBy=ma,Wn.create=function(e,t){var n=Fn(e);return null==t?n:or(n,t)},Wn.curry=function e(t,r,o){var i=Ko(t,8,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Wn.curryRight=function e(t,r,o){var i=Ko(t,a,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Wn.debounce=La,Wn.defaults=Es,Wn.defaultsDeep=Is,Wn.defer=Aa,Wn.delay=Na,Wn.difference=Wi,Wn.differenceBy=Fi,Wn.differenceWith=Hi,Wn.drop=function(e,t,r){var o=null==e?0:e.length;return o?ro(e,(t=r||t===n?1:fs(t))<0?0:t,o):[]},Wn.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?ro(e,0,(t=o-(t=r||t===n?1:fs(t)))<0?0:t):[]},Wn.dropRightWhile=function(e,t){return e&&e.length?fo(e,ui(t,3),!0,!0):[]},Wn.dropWhile=function(e,t){return e&&e.length?fo(e,ui(t,3),!0):[]},Wn.fill=function(e,t,r,o){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&xi(e,t,r)&&(r=0,o=i),function(e,t,r,o){var i=e.length;for((r=fs(r))<0&&(r=-r>i?0:i+r),(o=o===n||o>i?i:fs(o))<0&&(o+=i),o=r>o?0:ms(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Wn.filter=function(e,t){return(za(e)?Lt:gr)(e,ui(t,3))},Wn.flatMap=function(e,t){return vr(Ca(e,t),1)},Wn.flatMapDeep=function(e,t){return vr(Ca(e,t),d)},Wn.flatMapDepth=function(e,t,r){return r=r===n?1:fs(r),vr(Ca(e,t),r)},Wn.flatten=Gi,Wn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,d):[]},Wn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===n?1:fs(t)):[]},Wn.flip=function(e){return Ko(e,512)},Wn.flow=tl,Wn.flowRight=nl,Wn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Wn.functions=function(e){return null==e?[]:wr(e,Ls(e))},Wn.functionsIn=function(e){return null==e?[]:wr(e,As(e))},Wn.groupBy=xa,Wn.initial=function(e){return(null==e?0:e.length)?ro(e,0,-1):[]},Wn.intersection=Yi,Wn.intersectionBy=Xi,Wn.intersectionWith=Ui,Wn.invert=_s,Wn.invertBy=Ts,Wn.invokeMap=ka,Wn.iteratee=ol,Wn.keyBy=wa,Wn.keys=Ls,Wn.keysIn=As,Wn.map=Ca,Wn.mapKeys=function(e,t){var n={};return t=ui(t,3),xr(e,(function(e,r,o){ir(n,t(e,r,o),e)})),n},Wn.mapValues=function(e,t){var n={};return t=ui(t,3),xr(e,(function(e,r,o){ir(n,r,t(e,r,o))})),n},Wn.matches=function(e){return Wr(lr(e,1))},Wn.matchesProperty=function(e,t){return Fr(e,lr(t,1))},Wn.memoize=Oa,Wn.merge=Ns,Wn.mergeWith=Os,Wn.method=il,Wn.methodOf=al,Wn.mixin=sl,Wn.negate=Pa,Wn.nthArg=function(e){return e=fs(e),Jr((function(t){return jr(t,e)}))},Wn.omit=Ps,Wn.omitBy=function(e,t){return Vs(e,Pa(ui(t)))},Wn.once=function(e){return _a(2,e)},Wn.orderBy=function(e,t,r,o){return null==e?[]:(za(t)||(t=null==t?[]:[t]),za(r=o?n:r)||(r=null==r?[]:[r]),zr(e,t,r))},Wn.over=ul,Wn.overArgs=Ra,Wn.overEvery=cl,Wn.overSome=dl,Wn.partial=Va,Wn.partialRight=Ba,Wn.partition=Ea,Wn.pick=Rs,Wn.pickBy=Vs,Wn.property=pl,Wn.propertyOf=function(e){return function(t){return null==e?n:Cr(e,t)}},Wn.pull=Qi,Wn.pullAll=Ki,Wn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Zr(e,t,ui(n,2)):e},Wn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Zr(e,t,n,r):e},Wn.pullAt=qi,Wn.range=hl,Wn.rangeRight=fl,Wn.rearg=$a,Wn.reject=function(e,t){return(za(e)?Lt:gr)(e,Pa(ui(t,3)))},Wn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ui(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Yr(e,o),n},Wn.rest=function(e,t){if("function"!=typeof e)throw new Te(r);return Jr(e,t=t===n?t:fs(t))},Wn.reverse=ea,Wn.sampleSize=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:fs(t),(za(e)?Kn:Kr)(e,t)},Wn.set=function(e,t,n){return null==e?e:qr(e,t,n)},Wn.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:qr(e,t,r,o)},Wn.shuffle=function(e){return(za(e)?qn:no)(e)},Wn.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&xi(e,t,r)?(t=0,r=o):(t=null==t?0:fs(t),r=r===n?o:fs(r)),ro(e,t,r)):[]},Wn.sortBy=Ia,Wn.sortedUniq=function(e){return e&&e.length?so(e):[]},Wn.sortedUniqBy=function(e,t){return e&&e.length?so(e,ui(t,2)):[]},Wn.split=function(e,t,r){return r&&"number"!=typeof r&&xi(e,t,r)&&(t=r=n),(r=r===n?f:r>>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=uo(t))&&sn(e)?wo(fn(e),0,r):e.split(t,r):[]},Wn.spread=function(e,t){if("function"!=typeof e)throw new Te(r);return t=null==t?0:bn(fs(t),0),Jr((function(n){var r=n[t],o=wo(n,0,t);return r&&Pt(o,r),St(e,this,o)}))},Wn.tail=function(e){var t=null==e?0:e.length;return t?ro(e,1,t):[]},Wn.take=function(e,t,r){return e&&e.length?ro(e,0,(t=r||t===n?1:fs(t))<0?0:t):[]},Wn.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?ro(e,(t=o-(t=r||t===n?1:fs(t)))<0?0:t,o):[]},Wn.takeRightWhile=function(e,t){return e&&e.length?fo(e,ui(t,3),!1,!0):[]},Wn.takeWhile=function(e,t){return e&&e.length?fo(e,ui(t,3)):[]},Wn.tap=function(e,t){return t(e),e},Wn.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new Te(r);return es(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),La(e,t,{leading:o,maxWait:t,trailing:i})},Wn.thru=ha,Wn.toArray=ps,Wn.toPairs=Bs,Wn.toPairsIn=$s,Wn.toPath=function(e){return za(e)?Ot(e,Vi):ls(e)?[e]:Do(Ri(bs(e)))},Wn.toPlainObject=vs,Wn.transform=function(e,t,n){var r=za(e),o=r||Xa(e)||us(e);if(t=ui(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:es(e)&&Qa(i)?Fn(Ze(e)):{}}return(o?_t:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Wn.unary=function(e){return Ma(e,1)},Wn.union=ta,Wn.unionBy=na,Wn.unionWith=ra,Wn.uniq=function(e){return e&&e.length?co(e):[]},Wn.uniqBy=function(e,t){return e&&e.length?co(e,ui(t,2)):[]},Wn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?co(e,n,t):[]},Wn.unset=function(e,t){return null==e||po(e,t)},Wn.unzip=oa,Wn.unzipWith=ia,Wn.update=function(e,t,n){return null==e?e:ho(e,t,yo(n))},Wn.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:ho(e,t,yo(r),o)},Wn.values=Ws,Wn.valuesIn=function(e){return null==e?[]:qt(e,As(e))},Wn.without=aa,Wn.words=Qs,Wn.wrap=function(e,t){return Va(yo(t),e)},Wn.xor=sa,Wn.xorBy=la,Wn.xorWith=ua,Wn.zip=ca,Wn.zipObject=function(e,t){return vo(e||[],t||[],tr)},Wn.zipObjectDeep=function(e,t){return vo(e||[],t||[],qr)},Wn.zipWith=da,Wn.entries=Bs,Wn.entriesIn=$s,Wn.extend=xs,Wn.extendWith=ks,sl(Wn,Wn),Wn.add=vl,Wn.attempt=Ks,Wn.camelCase=Fs,Wn.capitalize=Hs,Wn.ceil=bl,Wn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=gs(r))==r?r:0),t!==n&&(t=(t=gs(t))==t?t:0),sr(gs(e),t,r)},Wn.clone=function(e){return lr(e,4)},Wn.cloneDeep=function(e){return lr(e,5)},Wn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:n)},Wn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:n)},Wn.conformsTo=function(e,t){return null==t||ur(e,t,Ls(t))},Wn.deburr=js,Wn.defaultTo=function(e,t){return null==e||e!=e?t:e},Wn.divide=yl,Wn.endsWith=function(e,t,r){e=bs(e),t=uo(t);var o=e.length,i=r=r===n?o:sr(fs(r),0,o);return(r-=t.length)>=0&&e.slice(r,i)==t},Wn.eq=Wa,Wn.escape=function(e){return(e=bs(e))&&U.test(e)?e.replace(Y,on):e},Wn.escapeRegExp=function(e){return(e=bs(e))&&re.test(e)?e.replace(ne,"\\$&"):e},Wn.every=function(e,t,r){var o=za(e)?Dt:fr;return r&&xi(e,t,r)&&(t=n),o(e,ui(t,3))},Wn.find=ga,Wn.findIndex=ji,Wn.findKey=function(e,t){return Wt(e,ui(t,3),xr)},Wn.findLast=va,Wn.findLastIndex=zi,Wn.findLastKey=function(e,t){return Wt(e,ui(t,3),kr)},Wn.floor=xl,Wn.forEach=ba,Wn.forEachRight=ya,Wn.forIn=function(e,t){return null==e?e:br(e,ui(t,3),As)},Wn.forInRight=function(e,t){return null==e?e:yr(e,ui(t,3),As)},Wn.forOwn=function(e,t){return e&&xr(e,ui(t,3))},Wn.forOwnRight=function(e,t){return e&&kr(e,ui(t,3))},Wn.get=Ss,Wn.gt=Fa,Wn.gte=Ha,Wn.has=function(e,t){return null!=e&&gi(e,t,Mr)},Wn.hasIn=Ms,Wn.head=Zi,Wn.identity=rl,Wn.includes=function(e,t,n,r){e=Za(e)?e:Ws(e),n=n&&!r?fs(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ss(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ht(e,t,n)>-1},Wn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=bn(r+o,0)),Ht(e,t,o)},Wn.inRange=function(e,t,r){return t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,n){return e>=yn(t,n)&&e<bn(t,n)}(e=gs(e),t,r)},Wn.invoke=Ds,Wn.isArguments=ja,Wn.isArray=za,Wn.isArrayBuffer=Ga,Wn.isArrayLike=Za,Wn.isArrayLikeObject=Ya,Wn.isBoolean=function(e){return!0===e||!1===e||ts(e)&&Ir(e)==b},Wn.isBuffer=Xa,Wn.isDate=Ua,Wn.isElement=function(e){return ts(e)&&1===e.nodeType&&!os(e)},Wn.isEmpty=function(e){if(null==e)return!0;if(Za(e)&&(za(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||us(e)||ja(e)))return!e.length;var t=mi(e);if(t==C||t==_)return!e.size;if(Ei(e))return!Rr(e).length;for(var n in e)if(Pe.call(e,n))return!1;return!0},Wn.isEqual=function(e,t){return Ar(e,t)},Wn.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Ar(e,t,n,r):!!o},Wn.isError=Ja,Wn.isFinite=function(e){return"number"==typeof e&&yt(e)},Wn.isFunction=Qa,Wn.isInteger=Ka,Wn.isLength=qa,Wn.isMap=ns,Wn.isMatch=function(e,t){return e===t||Nr(e,t,di(t))},Wn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Nr(e,t,di(t),r)},Wn.isNaN=function(e){return rs(e)&&e!=+e},Wn.isNative=function(e){if(Ci(e))throw new Ce("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Wn.isNil=function(e){return null==e},Wn.isNull=function(e){return null===e},Wn.isNumber=rs,Wn.isObject=es,Wn.isObjectLike=ts,Wn.isPlainObject=os,Wn.isRegExp=is,Wn.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=p},Wn.isSet=as,Wn.isString=ss,Wn.isSymbol=ls,Wn.isTypedArray=us,Wn.isUndefined=function(e){return e===n},Wn.isWeakMap=function(e){return ts(e)&&mi(e)==L},Wn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Ir(e)},Wn.join=function(e,t){return null==e?"":$t.call(e,t)},Wn.kebabCase=zs,Wn.last=Ji,Wn.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o;return r!==n&&(i=(i=fs(r))<0?bn(o+i,0):yn(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ft(e,zt,i,!0)},Wn.lowerCase=Gs,Wn.lowerFirst=Zs,Wn.lt=cs,Wn.lte=ds,Wn.max=function(e){return e&&e.length?mr(e,rl,Sr):n},Wn.maxBy=function(e,t){return e&&e.length?mr(e,ui(t,2),Sr):n},Wn.mean=function(e){return Gt(e,rl)},Wn.meanBy=function(e,t){return Gt(e,ui(t,2))},Wn.min=function(e){return e&&e.length?mr(e,rl,Br):n},Wn.minBy=function(e,t){return e&&e.length?mr(e,ui(t,2),Br):n},Wn.stubArray=ml,Wn.stubFalse=gl,Wn.stubObject=function(){return{}},Wn.stubString=function(){return""},Wn.stubTrue=function(){return!0},Wn.multiply=wl,Wn.nth=function(e,t){return e&&e.length?jr(e,fs(t)):n},Wn.noConflict=function(){return ft._===this&&(ft._=We),this},Wn.noop=ll,Wn.now=Sa,Wn.pad=function(e,t,n){e=bs(e);var r=(t=fs(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Go(mt(o),n)+e+Go(ht(o),n)},Wn.padEnd=function(e,t,n){e=bs(e);var r=(t=fs(t))?hn(e):0;return t&&r<t?e+Go(t-r,n):e},Wn.padStart=function(e,t,n){e=bs(e);var r=(t=fs(t))?hn(e):0;return t&&r<t?Go(t-r,n)+e:e},Wn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),kn(bs(e).replace(oe,""),t||0)},Wn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&xi(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=hs(e),t===n?(t=e,e=0):t=hs(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var i=wn();return yn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Xr(e,t)},Wn.reduce=function(e,t,n){var r=za(e)?Rt:Xt,o=arguments.length<3;return r(e,ui(t,4),n,o,pr)},Wn.reduceRight=function(e,t,n){var r=za(e)?Vt:Xt,o=arguments.length<3;return r(e,ui(t,4),n,o,hr)},Wn.repeat=function(e,t,r){return t=(r?xi(e,t,r):t===n)?1:fs(t),Ur(bs(e),t)},Wn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Wn.result=function(e,t,r){var o=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=n);++o<i;){var a=null==e?n:e[Vi(t[o])];a===n&&(o=i,a=r),e=Qa(a)?a.call(e):a}return e},Wn.round=Cl,Wn.runInContext=e,Wn.sample=function(e){return(za(e)?Qn:Qr)(e)},Wn.size=function(e){if(null==e)return 0;if(Za(e))return ss(e)?hn(e):e.length;var t=mi(e);return t==C||t==_?e.size:Rr(e).length},Wn.snakeCase=Ys,Wn.some=function(e,t,r){var o=za(e)?Bt:oo;return r&&xi(e,t,r)&&(t=n),o(e,ui(t,3))},Wn.sortedIndex=function(e,t){return io(e,t)},Wn.sortedIndexBy=function(e,t,n){return ao(e,t,ui(n,2))},Wn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=io(e,t);if(r<n&&Wa(e[r],t))return r}return-1},Wn.sortedLastIndex=function(e,t){return io(e,t,!0)},Wn.sortedLastIndexBy=function(e,t,n){return ao(e,t,ui(n,2),!0)},Wn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=io(e,t,!0)-1;if(Wa(e[n],t))return n}return-1},Wn.startCase=Xs,Wn.startsWith=function(e,t,n){return e=bs(e),n=null==n?0:sr(fs(n),0,e.length),t=uo(t),e.slice(n,n+t.length)==t},Wn.subtract=El,Wn.sum=function(e){return e&&e.length?Ut(e,rl):0},Wn.sumBy=function(e,t){return e&&e.length?Ut(e,ui(t,2)):0},Wn.template=function(e,t,r){var o=Wn.templateSettings;r&&xi(e,t,r)&&(t=n),e=bs(e),t=ks({},t,o,qo);var i,a,s=ks({},t.imports,o.imports,qo),l=Ls(s),u=qt(s,l),c=0,d=t.interpolate||xe,p="__p += '",h=Me((t.escape||xe).source+"|"+d.source+"|"+(d===K?pe:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),f="//# sourceURL="+(Pe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(h,(function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(c,l).replace(ke,an),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),p+="';\n";var m=Pe.call(t,"variable")&&t.variable;if(m){if(ce.test(m))throw new Ce("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(j,""):p).replace(z,"$1").replace(G,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Ks((function(){return Ee(l,f+"return "+p).apply(n,u)}));if(g.source=p,Ja(g))throw g;return g},Wn.times=function(e,t){if((e=fs(e))<1||e>p)return[];var n=f,r=yn(e,f);t=ui(t),e-=f;for(var o=Jt(r,t);++n<e;)t(n);return o},Wn.toFinite=hs,Wn.toInteger=fs,Wn.toLength=ms,Wn.toLower=function(e){return bs(e).toLowerCase()},Wn.toNumber=gs,Wn.toSafeInteger=function(e){return e?sr(fs(e),-9007199254740991,p):0===e?e:0},Wn.toString=bs,Wn.toUpper=function(e){return bs(e).toUpperCase()},Wn.trim=function(e,t,r){if((e=bs(e))&&(r||t===n))return Qt(e);if(!e||!(t=uo(t)))return e;var o=fn(e),i=fn(t);return wo(o,tn(o,i),nn(o,i)+1).join("")},Wn.trimEnd=function(e,t,r){if((e=bs(e))&&(r||t===n))return e.slice(0,mn(e)+1);if(!e||!(t=uo(t)))return e;var o=fn(e);return wo(o,0,nn(o,fn(t))+1).join("")},Wn.trimStart=function(e,t,r){if((e=bs(e))&&(r||t===n))return e.replace(oe,"");if(!e||!(t=uo(t)))return e;var o=fn(e);return wo(o,tn(o,fn(t))).join("")},Wn.truncate=function(e,t){var r=30,o="...";if(es(t)){var i="separator"in t?t.separator:i;r="length"in t?fs(t.length):r,o="omission"in t?uo(t.omission):o}var a=(e=bs(e)).length;if(sn(e)){var s=fn(e);a=s.length}if(r>=a)return e;var l=r-hn(o);if(l<1)return o;var u=s?wo(s,0,l).join(""):e.slice(0,l);if(i===n)return u+o;if(s&&(l+=u.length-l),is(i)){if(e.slice(l).search(i)){var c,d=u;for(i.global||(i=Me(i.source,bs(he.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var p=c.index;u=u.slice(0,p===n?l:p)}}else if(e.indexOf(uo(i),l)!=l){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+o},Wn.unescape=function(e){return(e=bs(e))&&X.test(e)?e.replace(Z,gn):e},Wn.uniqueId=function(e){var t=++Re;return bs(e)+t},Wn.upperCase=Us,Wn.upperFirst=Js,Wn.each=ba,Wn.eachRight=ya,Wn.first=Zi,sl(Wn,(kl={},xr(Wn,(function(e,t){Pe.call(Wn.prototype,t)||(kl[t]=e)})),kl),{chain:!1}),Wn.VERSION="4.17.21",_t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Wn[e].placeholder=Wn})),_t(["drop","take"],(function(e,t){zn.prototype[e]=function(r){r=r===n?1:bn(fs(r),0);var o=this.__filtered__&&!t?new zn(this):this.clone();return o.__filtered__?o.__takeCount__=yn(r,o.__takeCount__):o.__views__.push({size:yn(r,f),type:e+(o.__dir__<0?"Right":"")}),o},zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),_t(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;zn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),_t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");zn.prototype[e]=function(){return this[n](1).value()[0]}})),_t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");zn.prototype[e]=function(){return this.__filtered__?new zn(this):this[n](1)}})),zn.prototype.compact=function(){return this.filter(rl)},zn.prototype.find=function(e){return this.filter(e).head()},zn.prototype.findLast=function(e){return this.reverse().find(e)},zn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new zn(this):this.map((function(n){return Dr(n,e,t)}))})),zn.prototype.reject=function(e){return this.filter(Pa(ui(e)))},zn.prototype.slice=function(e,t){e=fs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new zn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=fs(t))<0?r.dropRight(-t):r.take(t-e)),r)},zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zn.prototype.toArray=function(){return this.take(f)},xr(zn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Wn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Wn.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof zn,u=s[0],c=l||za(t),d=function(e){var t=i.apply(Wn,Pt([e],s));return o&&p?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var p=this.__chain__,h=!!this.__actions__.length,f=a&&!p,m=l&&!h;if(!a&&c){t=m?t:new zn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[d],thisArg:n}),new jn(g,p)}return f&&m?e.apply(this,s):(g=this.thru(d),f?o?g.value()[0]:g.value():g)})})),_t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Wn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(za(o)?o:[],e)}return this[n]((function(n){return t.apply(za(n)?n:[],e)}))}})),xr(zn.prototype,(function(e,t){var n=Wn[t];if(n){var r=n.name+"";Pe.call(Ln,r)||(Ln[r]=[]),Ln[r].push({name:t,func:n})}})),Ln[Fo(n,2).name]=[{name:"wrapper",func:n}],zn.prototype.clone=function(){var e=new zn(this.__wrapped__);return e.__actions__=Do(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Do(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Do(this.__views__),e},zn.prototype.reverse=function(){if(this.__filtered__){var e=new zn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},zn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=za(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=yn(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,p=0,h=yn(l,this.__takeCount__);if(!n||!r&&o==l&&h==l)return mo(e,this.__actions__);var f=[];e:for(;l--&&p<h;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],b=v.iteratee,y=v.type,x=b(g);if(2==y)g=x;else if(!x){if(1==y)continue e;break e}}f[p++]=g}return f},Wn.prototype.at=fa,Wn.prototype.chain=function(){return pa(this)},Wn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Wn.prototype.next=function(){this.__values__===n&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Wn.prototype.plant=function(e){for(var t,r=this;r instanceof Hn;){var o=$i(r);o.__index__=0,o.__values__=n,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t},Wn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof zn){var t=e;return this.__actions__.length&&(t=new zn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ea],thisArg:n}),new jn(t,this.__chain__)}return this.thru(ea)},Wn.prototype.toJSON=Wn.prototype.valueOf=Wn.prototype.value=function(){return mo(this.__wrapped__,this.__actions__)},Wn.prototype.first=Wn.prototype.head,Qe&&(Wn.prototype[Qe]=function(){return this}),Wn}();gt?((gt.exports=vn)._=vn,mt._=vn):ft._=vn}).call(dt)}(dE,dE.exports);var pE=dE.exports;const hE=()=>e.createElement("svg",{"aria-hidden":"true",focusable:"false",height:14,style:{display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0},viewBox:"0 0 20 20",width:14},e.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"})),fE=t.styled.div`
|
|
2166
2166
|
display: flex;
|
|
2167
2167
|
align-items: center;
|
|
2168
2168
|
padding: 8px 14px;
|
|
2169
2169
|
color: ${e=>e.theme.colors.fg.neutral.subtlest.light};
|
|
2170
2170
|
transition: all 0.15s ease-in-out;
|
|
2171
2171
|
transform: ${e=>e.$open?"rotate(-180deg)":"none"};
|
|
2172
|
-
`,
|
|
2172
|
+
`,mE=t=>{const{open:n}=t;return e.createElement(fE,{$open:n},e.createElement(hE,null))},gE=t.styled.div`
|
|
2173
2173
|
position: relative;
|
|
2174
2174
|
width: 100%;
|
|
2175
|
-
`,
|
|
2175
|
+
`,vE=t.css`
|
|
2176
2176
|
outline-width: 3px;
|
|
2177
2177
|
outline-style: solid;
|
|
2178
2178
|
outline-color: ${e=>e.$invalid?e.theme.colors.fg.error.light:e.theme.colors.focus.light};
|
|
2179
2179
|
outline-offset: 2px;
|
|
2180
|
-
`,
|
|
2180
|
+
`,bE=t.styled.div`
|
|
2181
2181
|
position: relative;
|
|
2182
2182
|
display: flex;
|
|
2183
2183
|
flex-wrap: nowrap;
|
|
@@ -2193,14 +2193,14 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2193
2193
|
outline: 0;
|
|
2194
2194
|
box-shadow: inset 0 0 0 ${e=>e.$invalid&&!e.$open?"2px":"1px"} ${e=>((e,t)=>{const{$disabled:n,$invalid:r}=t;return r?e.colors.border.error.light:e.colors.border.neutral.default.light})(e.theme,e)};
|
|
2195
2195
|
|
|
2196
|
-
${e=>e.$open&&
|
|
2196
|
+
${e=>e.$open&&vE}
|
|
2197
2197
|
|
|
2198
2198
|
&:focus, &:focus-visible {
|
|
2199
|
-
${
|
|
2199
|
+
${vE}
|
|
2200
2200
|
}
|
|
2201
|
-
`,bE=t.styled.div`
|
|
2202
|
-
padding: 0 ${e=>e.theme.spacing.xs};
|
|
2203
2201
|
`,yE=t.styled.div`
|
|
2202
|
+
padding: 0 ${e=>e.theme.spacing.xs};
|
|
2203
|
+
`,xE=t.styled.div`
|
|
2204
2204
|
position: absolute;
|
|
2205
2205
|
top: 100%;
|
|
2206
2206
|
z-index: 1;
|
|
@@ -2218,7 +2218,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2218
2218
|
${({$open:e})=>!e&&t.css`
|
|
2219
2219
|
visibility: hidden;
|
|
2220
2220
|
`}
|
|
2221
|
-
`,
|
|
2221
|
+
`,kE=t.styled.ul`
|
|
2222
2222
|
position: relative;
|
|
2223
2223
|
box-sizing: border-box;
|
|
2224
2224
|
max-height: 300px;
|
|
@@ -2228,7 +2228,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2228
2228
|
margin: 0;
|
|
2229
2229
|
overflow-y: auto;
|
|
2230
2230
|
list-style-type: none;
|
|
2231
|
-
`,
|
|
2231
|
+
`,wE=t.styled.li`
|
|
2232
2232
|
box-sizing: border-box;
|
|
2233
2233
|
display: flex;
|
|
2234
2234
|
align-items: center;
|
|
@@ -2246,7 +2246,7 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2246
2246
|
${e=>e.$selected&&t.css`
|
|
2247
2247
|
background-color: ${e.theme.colors.bg.brand.bold.light};
|
|
2248
2248
|
`}
|
|
2249
|
-
`,
|
|
2249
|
+
`,CE=(e,t)=>String(e).localeCompare(String(t));var EE;exports.SelectItemOrderSource=void 0,(EE=exports.SelectItemOrderSource||(exports.SelectItemOrderSource={})).formatter="formatter",EE.value="value";const IE=e.forwardRef(((n,r)=>{var o;const{describedBy:i,disabled:a=!1,formatter:s=ow,getItemKey:l,hasError:u=!1,id:c,invalid:d=!1,itemOrder:p,items:h,labelledBy:f,name:m,nilMessage:g="",onBlur:v,onChange:b,required:y,value:x}=n,k=d||u,w=t.useTheme(),C=((t,n)=>e.useMemo((()=>t.wrap(((e,t)=>{if(null==t)return n;const r=e(t);return null==r||""==r?"":r}))),[t,n]))(s,g),E=e.useCallback((e=>String(C.formatAsPrimitive(e))),[C]),I=null==p?void 0:p.source,S=null!==(o=null==p?void 0:p.compareFn)&&void 0!==o?o:CE,M=e.useMemo((()=>{if(null==I)return h;const[e,t]=pE.partition(h,(e=>null==e));switch(I){case exports.SelectItemOrderSource.formatter:return[...e,...Array.from(t).sort(((e,t)=>S(C.formatAsPrimitive(e,["comparable"]),C.formatAsPrimitive(t,["comparable"]))))];case exports.SelectItemOrderSource.value:return[...e,...Array.from(t).sort(((e,t)=>S(e,t)))];default:return h}}),[C,S,I,h]),{getItemProps:_,getMenuProps:T,getToggleButtonProps:D,highlightedIndex:L,isOpen:A}=cE(Object.assign({id:c,items:M,itemToString:E,labelId:f,onSelectedItemChange:({selectedItem:e})=>b(e),selectedItem:x},l&&{itemToKey:l}));return e.createElement(gE,null,e.createElement(bE,Object.assign({$disabled:a,$invalid:k,$open:A},D({"aria-describedby":i,"aria-invalid":k,"aria-required":y,"data-name":m,disabled:a,onBlur:v,ref:r})),e.createElement(yE,null,e.createElement(B,{color:w.colors.fg.neutral.default,variant:exports.TypographyVariant.textMd,weight:exports.FontWeight.regular400},C.format(x))),e.createElement(mE,{open:A})),e.createElement(xE,{$open:A},e.createElement(kE,Object.assign({},T()),A&&M.map(((t,n)=>{var r;return e.createElement(wE,Object.assign({key:null!==(r=null==l?void 0:l(t))&&void 0!==r?r:`index-${n}`,$highlighted:n===L,$selected:t===x},_({item:t,index:n})),e.createElement(B,{color:t===x?w.colors.fg.neutral.white:w.colors.fg.neutral.subtle,variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},C.format(t)))})))))}));IE.displayName="SelectControl";const SE=IE,ME=Rf(SE);var _E,TE,DE;exports.ButtonsLayoutAlign=void 0,(_E=exports.ButtonsLayoutAlign||(exports.ButtonsLayoutAlign={})).center="center",_E.end="end",_E.spaceBetween="spaceBetween",_E.start="start",_E.stretch="stretch",exports.ButtonsLayoutDirection=void 0,(TE=exports.ButtonsLayoutDirection||(exports.ButtonsLayoutDirection={})).column="column",TE.row="row",exports.ButtonsLayoutWrap=void 0,(DE=exports.ButtonsLayoutWrap||(exports.ButtonsLayoutWrap={})).noWrap="noWrap",DE.wrap="wrap",DE.wrapReverse="wrapReverse";const LE=t.div`
|
|
2250
2250
|
display: flex;
|
|
2251
2251
|
gap: ${({$gap:e,theme:t})=>c(t,e)};
|
|
2252
2252
|
width: 100%;
|
|
@@ -2288,5 +2288,5 @@ function op(e,t,n){return t=gp(t),function(e,t){if(t&&("object"==typeof t||"func
|
|
|
2288
2288
|
`:n===exports.ButtonsLayoutDirection.row&&e===exports.ButtonsLayoutAlign.end?t.css`
|
|
2289
2289
|
justify-content: end;
|
|
2290
2290
|
`:void 0};
|
|
2291
|
-
`;exports.Accordion=t=>{const{data:n,variant:r=exports.AccordionVariant.default}=t,[o,i]=e.useState(null);return e.createElement(e.Fragment,null,n.map(((t,n)=>e.createElement(et,{key:t.id,content:t.content,description:t.description,icon:t.icon,id:t.id,isOpen:o===n,label:t.label,variant:r,onClick:()=>(e=>{i((t=>t===e?null:e))})(n)}))))},exports.AccordionContent=nt,exports.AccordionItem=et,exports.AccordionKeyValue=n=>{const{colorScheme:r,label:o,value:i}=n,a=t.useTheme(),s=D(null!=r?r:exports.ColorScheme.light);return e.createElement(nt,{colorScheme:r},e.createElement(rt,null,e.createElement(B,{color:s(a.colors.fg.neutral.default),variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},o)),e.createElement(ot,null,e.createElement(B,{color:s(a.colors.fg.neutral.subtle),variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},i)))},exports.AsyncReactSelect=t=>{const{control:n,defaultPlaceholder:o,name:i,optionIcon:a}=t,s=ls(t,["control","defaultPlaceholder","name","optionIcon"]),[l,u]=e.useState(),[c,d]=e.useState(o),p=()=>d("");return e.createElement(r.Controller,{control:n,name:i,render:({field:t})=>{var n;return e.createElement(wk,Object.assign({},s,t,{customComponents:{Input:Mk,DropdownIndicator:null,Control:_k,Option:t=>((t,n)=>{var{children:r,data:o}=t,i=ls(t,["children","data"]);return e.createElement(rx.Option,Object.assign({data:o},i),e.createElement(Ek,null,n&&e.createElement(Ze,{size:n.size,type:n.type}),e.createElement(Ik,null,r)))})(t,a)},inputValue:null===(n=t.value)||void 0===n?void 0:n.label,isSearchable:!0,loadingMessage:()=>null,noOptionsMessage:()=>null,placeholder:c,type:xk.ASYNC_SELECT,value:l,onBlur:()=>(e=>{""===e.label&&d(o)})(t.value),onChange:e=>((e,t)=>{t.onChange(e)})(e,t),onFocus:p,onInputChange:(e,n)=>((e,{action:t},n)=>{"input-change"===t&&(u(null),n.onChange({value:null,label:e}))})(e,n,t)}))}})},exports.Button=ko,exports.ButtonsLayout=t=>{const{align:n,buttons:r,direction:o,gap:i=exports.Spacing.md,wrap:a=exports.ButtonsLayoutWrap.noWrap}=t;return e.createElement(DE,{$align:n,$direction:o,$gap:i,$wrap:a},r.filter(xo).map(((t,n)=>e.createElement(e.Fragment,{key:n},t))))},exports.CalculatorResult=nl,exports.CalculatorResultBox=t=>{const{bodyItems:n,description:r,header:o,htmlRef:i,main:a,mediaType:s,modal:l,resultWrapperHtmlRef:u}=t,[c,d]=e.useState(!1);return e.createElement(rl,{$isDescriptionVisible:void 0!==r,$mediaType:s,ref:i},e.createElement(nl,{bodyItems:n,header:o,htmlRef:u,main:a}),e.createElement(ol,null,void 0!==r&&e.createElement(il,null,e.createElement(B,{fullWidth:!0,textAlign:exports.TypographyTextAlign.center,variant:exports.TypographyVariant.textSm},r)),void 0!==l&&e.createElement(e.Fragment,null,e.createElement(as,{hideCloseButton:!1,isOpen:c,onClose:()=>{d(!1)}},l.content),e.createElement(al,null,e.createElement(sl,{onClick:()=>{d(!0)}},e.createElement(B,{variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},l.text,e.createElement(ll,null,e.createElement(ul,null,e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.chevronRight})))))))))},exports.Checkbox=gg,exports.ColorSchemeProvider=M,exports.DatePicker=ag,exports.DesignSystemProvider=t=>{const{children:n,colorScheme:r,mediaType:o}=t;let i=n;return void 0!==r&&(i=e.createElement(M,{colorScheme:r},i)),void 0!==o&&(i=e.createElement(k,{mediaType:o},i)),i},exports.EmailInput=Vf,exports.ErrorBox=Di,exports.FieldConfigProvider=t=>{const{children:n,optionalLabelSuffix:r}=t,o=e.useMemo((()=>({optionalLabelSuffix:r})),[r]);return e.createElement(R.Provider,{value:o},n)},exports.FieldLabelStoreProvider=t=>{const{children:n}=t,r=e.useRef({}),o=e.useMemo((()=>({labels:r.current,registerLabel:(e,t)=>{r.current[e]=t}})),[]);return e.createElement(O.Provider,{value:o},n)},exports.FieldWrapper=Of,exports.FormattedAmount=wl,exports.FormattedHtmlMessage=Ts,exports.FormattedMessage=t=>{const{defaultMessage:n,description:r,id:o,values:i}=t;return e.createElement(_s,{defaultMessage:n,description:r,id:o,values:i},(t=>e.createElement("span",{"data-message-id":o},t)))},exports.FormattedPercentage=xl,exports.IconProduct=ya,exports.IconSystem=Ze,exports.Infobox=n=>{const{children:r,colorScheme:o,fullWidth:i=!1,iconProduct:a,isWarning:s=!1,mediaType:l,size:u,textContent:c,variant:d}=n,p=t.useTheme(),h=D(o),f=e.useMemo((()=>{switch(l){case exports.MediaType.desktop:return exports.IconProductSize.big;case exports.MediaType.mobile:return exports.IconProductSize.small;default:throw new Error("unexpected value of enum MediaType in infobox.tsx iconSize")}}),[l]),m=e.useMemo((()=>{switch(!0){case s:return h(p.colors.fg.accent.default);case o===exports.ColorScheme.dark:return p.colors.fg.neutral.white.dark;case o===exports.ColorScheme.light:return;default:throw new Error("unexpected combination of conditions in infobox.tsx iconStroke")}}),[h,o,s,p.colors.fg.accent.default,p.colors.fg.neutral.white]);return e.createElement(Ni,{$chooseColor:h,$colorScheme:o,$fullWidth:i,$isWarning:s,$mediaType:l,$size:u,$variant:d},void 0===a&&void 0===c&&xo(r)&&r,(void 0!==a||void 0!==c)&&e.createElement(Pi,{$mediaType:l},void 0!==a&&e.createElement(Vi,{$colorScheme:o,$mediaType:l},e.createElement(ya,{colorScheme:o,size:f,stroke:m,type:a,variant:ji.default})),void 0===c&&xo(r)&&e.createElement($i,null,r),void 0!==c&&e.createElement(Wi,{$mediaType:l},e.createElement(Bi,null,e.createElement("div",null,c.primary),void 0!==c.secondary&&e.createElement("div",null,c.secondary)),void 0!==r&&e.createElement($i,null,r))))},exports.InputBase=kf,exports.InputLabel=If,exports.Loader=vl,exports.LoaderOverlayBox=t=>{const{colorScheme:n,loaderSize:r}=t;return e.createElement(bl,{$colorScheme:n},e.createElement(vl,{colorScheme:n,loaderSize:r}))},exports.MaskedInput=Sm,exports.MaskedInputBase=Im,exports.MaskedInputField=_m,exports.MediaTypeProvider=k,exports.Modal=as,exports.NumberInput=Tm,exports.NumberInputField=Dm,exports.Paper=Jk,exports.PhoneInput=Am,exports.PhoneInputField=Rm,exports.PhoneInputNext=Pm,exports.ProgressPaper=t=>{const{children:n,progressDefinition:r}=t,o=ls(t,["children","progressDefinition"]),{activeStepIndex:i,numberOfSteps:a}=r,{colorScheme:s,mediaType:l}=N(t);return e.createElement(Qk,Object.assign({},o,{colorScheme:s,mediaType:l}),e.createElement(Kk,null,e.createElement(tw,{activeStepIndex:i,colorScheme:s,mediaType:l,numberOfSteps:a})),n)},exports.Radio=_g,exports.RadioButton=Ng,exports.RadioButtonGroup=Vg,exports.RadioButtonGroupControl=Rg,exports.RadioButtonGroupField=t=>{const{name:n,options:o}=t,i=ls(t,["name","options"]),{formState:a,register:s}=r.useFormContext(),l=r.get(a.errors,n);return e.createElement(Vg,Object.assign({errorMessage:null==l?void 0:l.message},s(n,o),i))},exports.RadioField=t=>{const{name:n,options:o}=t,i=ls(t,["name","options"]),{formState:a,register:s}=r.useFormContext(),l=r.get(a.errors,n);return e.createElement(_g,Object.assign({errorMessage:null==l?void 0:l.message},s(n,o),i))},exports.ReactSelect=t=>{const{control:n,name:o}=t,i=ls(t,["control","name"]);return e.createElement(r.Controller,{control:n,name:o,render:({field:t})=>e.createElement(wk,Object.assign({},i,t))})},exports.ReactSelectBase=wk,exports.ReactSelectField=t=>{const{childrenWidth:n,control:o,controlMobileWidth:i,controlSectionWidth:a,controlWidth:s,errorMessage:l,hasError:u,hintText:c,id:d,label:p,labelSuffix:h,name:f,tooltip:m}=t,g=ls(t,["childrenWidth","control","controlMobileWidth","controlSectionWidth","controlWidth","errorMessage","hasError","hintText","id","label","labelSuffix","name","tooltip"]);return e.createElement(Of,{childrenWidth:n,controlMobileWidth:i,controlSectionWidth:a,controlWidth:s,errorMessage:l,hasError:u,hintText:c,id:d,label:p,labelSuffix:h,tooltip:m},e.createElement(r.Controller,{control:o,name:f,render:({field:t})=>e.createElement(Ck,Object.assign({},g,{inputId:d,isError:u},t))}))},exports.SearchInput=Bm,exports.Select=SE,exports.SelectControl=IE,exports.SelectField=t=>{const{defaultValue:n=null,items:o,name:i,options:a,shouldResetInvalidValues:s=!1}=t,l=ls(t,["defaultValue","items","name","options","shouldResetInvalidValues"]),{control:u,resetField:c}=r.useFormContext(),{field:d,fieldState:{error:p}}=r.useController({name:i,control:u,rules:a,defaultValue:n}),h=d.value;return e.useEffect((()=>{s&&null!=h&&!o.includes(h)&&c(i)}),[o,i,c,s,h]),e.createElement(SE,Object.assign({errorMessage:null==p?void 0:p.message,items:o},d,l))},exports.Slider=Ei,exports.SliderInput=Um,exports.Stack=t=>{const{children:n,className:r,direction:o=exports.StackDirection.column,gap:i=exports.Spacing.md}=t;return e.createElement(Yk,{$direction:o,$gap:i,className:r},n)},exports.Table=t=>{const{children:n,variant:r}=t;return e.createElement(ka,{$variant:r},n)},exports.TableBody=t=>{const{children:n,variant:r}=t;return e.createElement(wa,{$variant:r},n)},exports.TableData=t=>{const{align:n,children:r,delimiter:o=!1,variant:i,width:a}=t;return e.createElement(Ca,{$delimiter:o,$variant:i,align:n,width:a},r)},exports.TableHead=t=>{const{children:n,variant:r}=t;return e.createElement(Ea,{$variant:r},n)},exports.TableHeadData=t=>{const{align:n,children:r,delimiter:o,variant:i,width:a}=t;return e.createElement(Ia,{$delimiter:o,$variant:i,$width:a,align:n},r)},exports.TableRow=t=>{const{children:n,variant:r}=t;return e.createElement(Sa,{$variant:r},n)},exports.Tabs=t=>{const{activeTabDefaultPosition:n,colorScheme:r,fullWidth:o=!1,size:i,tabItems:a,variant:s}=t,l=D(r),u=e.useRef(null),c=e.useRef([]),[d,p]=e.useState(void 0),h=e.useCallback((()=>{const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx checkScrollPosition");p(e.scrollLeft)}),[]),f=Ot(h,200,{maxWait:200});e.useEffect((()=>{h();const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx");return e.addEventListener("scroll",f),()=>{e.removeEventListener("scroll",f)}}),[h,f]);const m=e.useCallback((()=>{const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx leftArrowClickHandler");e.scrollTo({left:e.scrollLeft-Za>0?e.scrollLeft-Za:0,behavior:"smooth"})}),[]),g=e.useCallback((()=>{const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx rightArrowClickHandler");e.scrollTo({left:e.scrollLeft+Za+e.clientWidth<=e.scrollWidth?e.scrollLeft+Za:e.scrollWidth,behavior:"smooth"})}),[]),v=void 0!==d&&d>0,b=void 0!==d&&null!==u.current&&d+u.current.clientWidth<u.current.scrollWidth-4,y=e.useMemo((()=>{const e=a.findIndex((e=>!0===e.isActive));return e<0?void 0:e}),[a]);return e.useEffect((()=>{if(void 0===y)return;const e=u.current,t=c.current[y];if(null===e||null===t)return;if(c.current.includes(null))return;const r=c.current.reduce(((e,t)=>{if(null===t)throw new Error("unexpected null value in tabItems elements");return t.offsetWidth+e}),0);if(!(e.offsetWidth>r))switch(n){case exports.TabsActiveTabDefaultPosition.center:((e,t)=>{e.scrollLeft=t.offsetLeft-(e.offsetWidth-t.offsetWidth)/2})(e,t);break;case exports.TabsActiveTabDefaultPosition.scrollOnlyWhenNotVisible:((e,t)=>{const n=t.getBoundingClientRect(),r=e.getBoundingClientRect();(n.left<r.left||n.right>r.right)&&(e.scrollLeft=t.offsetLeft-e.offsetLeft)})(e,t);break;case exports.TabsActiveTabDefaultPosition.noScrolling:break;default:throw new Error("unexpected value of TabsActiveTabDefaultPosition enum in tabs.tsx")}}),[n,y]),e.createElement(Va,null,e.createElement(Ba,{ref:u},e.createElement($a,{$chooseColor:l,$fullWidth:o},a.map(((t,n)=>e.createElement(e.Fragment,{key:t.id},e.createElement(Ra,{colorScheme:r,fullWidth:o,htmlRef:e=>c.current[n]=e,icon:t.icon,id:t.id,isActive:t.isActive,size:i,text:t.text,variant:s,onClick:t.onClick})))))),v&&e.createElement(Ha,null,e.createElement(ja,{onClick:m},e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.chevronLeft}))),b&&e.createElement(za,null,e.createElement(Ga,{onClick:g},e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.chevronRight}))))},exports.TabsItem=Ra,exports.Tag=n=>{const{children:r,className:o,colorScheme:i,fontWeight:a=exports.FontWeight.regular400,iconPosition:s=exports.TagIconPosition.right,iconSystem:l,size:u=exports.TagSize.md,textTransform:c=exports.TagTextTransform.none,type:d}=n,p=t.useTheme(),h=D(i),f=e.useMemo((()=>{switch(d){case exports.TagType.info:return h(p.colors.fg.brand.bold);case exports.TagType.warning:return p.palette.yellow800;case exports.TagType.success:return h(p.colors.fg.success);case exports.TagType.neutralSubtle:return h(p.colors.fg.neutral.subtle);case exports.TagType.invert:return h(p.colors.fg.neutral.white);case exports.TagType.alert:return h(p.colors.fg.accent.bold);case exports.TagType.neutralDefault:return h(p.colors.fg.neutral.default);default:throw new Error("unexpected enum values TagType in tag.tsx")}}),[h,p,d]),m=e.useMemo((()=>{switch(u){case exports.TagSize.sm:return exports.TypographyVariant.textSm;case exports.TagSize.md:return exports.TypographyVariant.textMd;default:throw new Error("unexpected enum values TagSize in tag.tsx")}}),[u]);return e.createElement(zk,{$chooseColor:h,$iconPosition:s,$textTransform:c,$type:d,className:o},e.createElement(B,{color:f,variant:m,weight:a},r),void 0!==l&&e.createElement(Gk,{$iconPosition:s},e.createElement(Ze,{colorScheme:i,size:exports.IconSystemSize.big,stroke:f,type:l})))},exports.TextArea=Lk,exports.TextInput=Qm,exports.Toggle=n=>{const{defaultValue:r,disabled:o,id:i,label:a,name:s,onChange:l}=n,u=t.useTheme(),[c,d]=e.useState(r),p=e.useCallback((e=>{d(e),void 0!==l&&l(e)}),[l]);return e.createElement(Bk,{$checked:c,$disabled:o},e.createElement(Vk,{activeBoxShadow:"",borderRadius:9999,checked:c,checkedIcon:!1,className:"react-switch",disabled:o,handleDiameter:16,height:21,id:i,name:s,offColor:u.colors.bg.neutral.white.light,offHandleColor:u.colors.bg.neutral.white.light,uncheckedIcon:!1,width:36,onChange:p,onColor:!0===o?u.colors.bg.neutral.white.light:u.colors.bg.brand.bold.light,onHandleColor:u.colors.bg.neutral.white.light}),void 0!==a&&e.createElement($k,{htmlFor:i},e.createElement(B,{variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},a)))},exports.TooltipGeneral=Vs,exports.TooltipInfo=Fs,exports.TooltipInfoConditional=Hs,exports.TooltipInfoDisplayableCheck=t=>{const{body:n,displayMethod:r,title:o}=t,i=A(t),a=Ds();return a(n)?e.createElement(e.Fragment,null,r===exports.TooltipInfoDisplayMethod.withNbsp&&" ",e.createElement(Fs,{colorScheme:i,floatingElement:{body:e.createElement(Ts,Object.assign({},n)),title:void 0!==o&&a(o)?e.createElement(Ts,Object.assign({},o)):void 0}})):null},exports.TrailingTextInput=qm,exports.Typography=B,exports.getColor=T,exports.identityFormatter=rw,exports.isRenderable=xo,exports.resolveFontWeightValue=p,exports.resolveOverflowValue=v,exports.resolveSpacingValue=c,exports.theme=m,exports.useChooseColor=D,exports.useColorScheme=A,exports.useCreateTooltipFloatingElement=()=>{const t=Ds();return e.useCallback(((n,r)=>{if(t(n))return{body:e.createElement(Ts,Object.assign({},n)),title:void 0!==r&&t(r)?e.createElement(Ts,Object.assign({},r)):void 0}}),[t])},exports.useDesignSystem=N,exports.useFieldConfig=V,exports.useFieldLabels=()=>e.useContext(O).labels,exports.useFormatAmount=kl,exports.useFormattedPercentage=yl,exports.useIsMessageDisplayable=Ds,exports.useMediaType=E,exports.useMessageFormatter=t=>{const n=Cs();return e.useMemo((()=>nw(((r,o)=>{const i=t(r);return"string"==typeof i?i:o.includes("primitive")?n.formatMessage(i):e.createElement(Ts,Object.assign({},i))}))),[t,n])},exports.useRegisterFieldLabel=P,exports.withFieldWrapper=Pf,exports.withMaskedInputField=Mm;
|
|
2291
|
+
`;exports.Accordion=t=>{const{data:n,variant:r=exports.AccordionVariant.default}=t,[o,i]=e.useState(null);return e.createElement(e.Fragment,null,n.map(((t,n)=>e.createElement(et,{key:t.id,content:t.content,description:t.description,icon:t.icon,id:t.id,isOpen:o===n,label:t.label,variant:r,onClick:()=>(e=>{i((t=>t===e?null:e))})(n)}))))},exports.AccordionContent=nt,exports.AccordionItem=et,exports.AccordionKeyValue=n=>{const{colorScheme:r,label:o,value:i}=n,a=t.useTheme(),s=D(null!=r?r:exports.ColorScheme.light);return e.createElement(nt,{colorScheme:r},e.createElement(rt,null,e.createElement(B,{color:s(a.colors.fg.neutral.default),variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},o)),e.createElement(ot,null,e.createElement(B,{color:s(a.colors.fg.neutral.subtle),variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},i)))},exports.AsyncReactSelect=t=>{const{control:n,defaultPlaceholder:o,name:i,optionIcon:a}=t,s=ls(t,["control","defaultPlaceholder","name","optionIcon"]),[l,u]=e.useState(),[c,d]=e.useState(o),p=()=>d("");return e.createElement(r.Controller,{control:n,name:i,render:({field:t})=>{var n;return e.createElement(Ck,Object.assign({},s,t,{customComponents:{Input:_k,DropdownIndicator:null,Control:Tk,Option:t=>((t,n)=>{var{children:r,data:o}=t,i=ls(t,["children","data"]);return e.createElement(ox.Option,Object.assign({data:o},i),e.createElement(Ik,null,n&&e.createElement(Ze,{size:n.size,type:n.type}),e.createElement(Sk,null,r)))})(t,a)},inputValue:null===(n=t.value)||void 0===n?void 0:n.label,isSearchable:!0,loadingMessage:()=>null,noOptionsMessage:()=>null,placeholder:c,type:kk.ASYNC_SELECT,value:l,onBlur:()=>(e=>{""===e.label&&d(o)})(t.value),onChange:e=>((e,t)=>{t.onChange(e)})(e,t),onFocus:p,onInputChange:(e,n)=>((e,{action:t},n)=>{"input-change"===t&&(u(null),n.onChange({value:null,label:e}))})(e,n,t)}))}})},exports.Button=ko,exports.ButtonsLayout=t=>{const{align:n,buttons:r,direction:o,gap:i=exports.Spacing.md,wrap:a=exports.ButtonsLayoutWrap.noWrap}=t;return e.createElement(LE,{$align:n,$direction:o,$gap:i,$wrap:a},r.filter(xo).map(((t,n)=>e.createElement(e.Fragment,{key:n},t))))},exports.CalculatorResult=nl,exports.CalculatorResultBox=t=>{const{bodyItems:n,description:r,header:o,htmlRef:i,main:a,mediaType:s,modal:l,resultWrapperHtmlRef:u}=t,[c,d]=e.useState(!1);return e.createElement(rl,{$isDescriptionVisible:void 0!==r,$mediaType:s,ref:i},e.createElement(nl,{bodyItems:n,header:o,htmlRef:u,main:a}),e.createElement(ol,null,void 0!==r&&e.createElement(il,null,e.createElement(B,{fullWidth:!0,textAlign:exports.TypographyTextAlign.center,variant:exports.TypographyVariant.textSm},r)),void 0!==l&&e.createElement(e.Fragment,null,e.createElement(as,{hideCloseButton:!1,isOpen:c,onClose:()=>{d(!1)}},l.content),e.createElement(al,null,e.createElement(sl,{onClick:()=>{d(!0)}},e.createElement(B,{variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},l.text,e.createElement(ll,null,e.createElement(ul,null,e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.chevronRight})))))))))},exports.Checkbox=vg,exports.ColorSchemeProvider=M,exports.DatePicker=sg,exports.DesignSystemProvider=t=>{const{children:n,colorScheme:r,mediaType:o}=t;let i=n;return void 0!==r&&(i=e.createElement(M,{colorScheme:r},i)),void 0!==o&&(i=e.createElement(k,{mediaType:o},i)),i},exports.EmailInput=Bf,exports.ErrorBox=Di,exports.FieldConfigProvider=t=>{const{children:n,optionalLabelSuffix:r}=t,o=e.useMemo((()=>({optionalLabelSuffix:r})),[r]);return e.createElement(R.Provider,{value:o},n)},exports.FieldLabelStoreProvider=t=>{const{children:n}=t,r=e.useRef({}),o=e.useMemo((()=>({labels:r.current,registerLabel:(e,t)=>{r.current[e]=t}})),[]);return e.createElement(O.Provider,{value:o},n)},exports.FieldWrapper=Of,exports.FormattedAmount=wl,exports.FormattedHtmlMessage=Ts,exports.FormattedMessage=t=>{const{defaultMessage:n,description:r,id:o,values:i}=t;return e.createElement(_s,{defaultMessage:n,description:r,id:o,values:i},(t=>e.createElement("span",{"data-message-id":o},t)))},exports.FormattedPercentage=xl,exports.IconProduct=ya,exports.IconSystem=Ze,exports.Infobox=n=>{const{children:r,colorScheme:o,fullWidth:i=!1,iconProduct:a,isWarning:s=!1,mediaType:l,size:u,textContent:c,variant:d}=n,p=t.useTheme(),h=D(o),f=e.useMemo((()=>{switch(l){case exports.MediaType.desktop:return exports.IconProductSize.big;case exports.MediaType.mobile:return exports.IconProductSize.small;default:throw new Error("unexpected value of enum MediaType in infobox.tsx iconSize")}}),[l]),m=e.useMemo((()=>{switch(!0){case s:return h(p.colors.fg.accent.default);case o===exports.ColorScheme.dark:return p.colors.fg.neutral.white.dark;case o===exports.ColorScheme.light:return;default:throw new Error("unexpected combination of conditions in infobox.tsx iconStroke")}}),[h,o,s,p.colors.fg.accent.default,p.colors.fg.neutral.white]);return e.createElement(Ni,{$chooseColor:h,$colorScheme:o,$fullWidth:i,$isWarning:s,$mediaType:l,$size:u,$variant:d},void 0===a&&void 0===c&&xo(r)&&r,(void 0!==a||void 0!==c)&&e.createElement(Pi,{$mediaType:l},void 0!==a&&e.createElement(Vi,{$colorScheme:o,$mediaType:l},e.createElement(ya,{colorScheme:o,size:f,stroke:m,type:a,variant:ji.default})),void 0===c&&xo(r)&&e.createElement($i,null,r),void 0!==c&&e.createElement(Wi,{$mediaType:l},e.createElement(Bi,null,e.createElement("div",null,c.primary),void 0!==c.secondary&&e.createElement("div",null,c.secondary)),void 0!==r&&e.createElement($i,null,r))))},exports.InputBase=kf,exports.InputLabel=If,exports.Loader=vl,exports.LoaderOverlayBox=t=>{const{colorScheme:n,loaderSize:r}=t;return e.createElement(bl,{$colorScheme:n},e.createElement(vl,{colorScheme:n,loaderSize:r}))},exports.MaskedInput=Mm,exports.MaskedInputBase=Sm,exports.MaskedInputField=Tm,exports.MediaTypeProvider=k,exports.Modal=as,exports.NumberInput=Dm,exports.NumberInputField=Lm,exports.Paper=Qk,exports.PhoneInput=Nm,exports.PhoneInputField=Vm,exports.PhoneInputNext=Rm,exports.ProgressPaper=t=>{const{children:n,progressDefinition:r}=t,o=ls(t,["children","progressDefinition"]),{activeStepIndex:i,numberOfSteps:a}=r,{colorScheme:s,mediaType:l}=N(t);return e.createElement(Kk,Object.assign({},o,{colorScheme:s,mediaType:l}),e.createElement(qk,null,e.createElement(nw,{activeStepIndex:i,colorScheme:s,mediaType:l,numberOfSteps:a})),n)},exports.Radio=Tg,exports.RadioButton=Og,exports.RadioButtonGroup=Bg,exports.RadioButtonGroupControl=Vg,exports.RadioButtonGroupField=t=>{const{name:n,options:o}=t,i=ls(t,["name","options"]),{formState:a,register:s}=r.useFormContext(),l=r.get(a.errors,n);return e.createElement(Bg,Object.assign({errorMessage:null==l?void 0:l.message},s(n,o),i))},exports.RadioField=t=>{const{name:n,options:o}=t,i=ls(t,["name","options"]),{formState:a,register:s}=r.useFormContext(),l=r.get(a.errors,n);return e.createElement(Tg,Object.assign({errorMessage:null==l?void 0:l.message},s(n,o),i))},exports.ReactSelect=t=>{const{control:n,name:o}=t,i=ls(t,["control","name"]);return e.createElement(r.Controller,{control:n,name:o,render:({field:t})=>e.createElement(Ck,Object.assign({},i,t))})},exports.ReactSelectBase=Ck,exports.ReactSelectField=t=>{const{childrenWidth:n,control:o,controlMobileWidth:i,controlSectionWidth:a,controlWidth:s,errorMessage:l,hasError:u,hintText:c,id:d,label:p,labelSuffix:h,name:f,tooltip:m}=t,g=ls(t,["childrenWidth","control","controlMobileWidth","controlSectionWidth","controlWidth","errorMessage","hasError","hintText","id","label","labelSuffix","name","tooltip"]);return e.createElement(Of,{childrenWidth:n,controlMobileWidth:i,controlSectionWidth:a,controlWidth:s,errorMessage:l,hasError:u,hintText:c,id:d,label:p,labelSuffix:h,tooltip:m},e.createElement(r.Controller,{control:o,name:f,render:({field:t})=>e.createElement(Ek,Object.assign({},g,{inputId:d,isError:u},t))}))},exports.SearchInput=$m,exports.Select=ME,exports.SelectControl=SE,exports.SelectField=t=>{const{defaultValue:n=null,items:o,name:i,options:a,shouldResetInvalidValues:s=!1}=t,l=ls(t,["defaultValue","items","name","options","shouldResetInvalidValues"]),{control:u,resetField:c}=r.useFormContext(),{field:d,fieldState:{error:p}}=r.useController({name:i,control:u,rules:a,defaultValue:n}),h=d.value;return e.useEffect((()=>{s&&null!=h&&!o.includes(h)&&c(i)}),[o,i,c,s,h]),e.createElement(ME,Object.assign({errorMessage:null==p?void 0:p.message,items:o},d,l))},exports.Slider=Ei,exports.SliderInput=Jm,exports.Stack=t=>{const{children:n,className:r,direction:o=exports.StackDirection.column,gap:i=exports.Spacing.md}=t;return e.createElement(Xk,{$direction:o,$gap:i,className:r},n)},exports.Table=t=>{const{children:n,variant:r}=t;return e.createElement(ka,{$variant:r},n)},exports.TableBody=t=>{const{children:n,variant:r}=t;return e.createElement(wa,{$variant:r},n)},exports.TableData=t=>{const{align:n,children:r,delimiter:o=!1,variant:i,width:a}=t;return e.createElement(Ca,{$delimiter:o,$variant:i,align:n,width:a},r)},exports.TableHead=t=>{const{children:n,variant:r}=t;return e.createElement(Ea,{$variant:r},n)},exports.TableHeadData=t=>{const{align:n,children:r,delimiter:o,variant:i,width:a}=t;return e.createElement(Ia,{$delimiter:o,$variant:i,$width:a,align:n},r)},exports.TableRow=t=>{const{children:n,variant:r}=t;return e.createElement(Sa,{$variant:r},n)},exports.Tabs=t=>{const{activeTabDefaultPosition:n,colorScheme:r,fullWidth:o=!1,size:i,tabItems:a,variant:s}=t,l=D(r),u=e.useRef(null),c=e.useRef([]),[d,p]=e.useState(void 0),h=e.useCallback((()=>{const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx checkScrollPosition");p(e.scrollLeft)}),[]),f=Ot(h,200,{maxWait:200});e.useEffect((()=>{h();const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx");return e.addEventListener("scroll",f),()=>{e.removeEventListener("scroll",f)}}),[h,f]);const m=e.useCallback((()=>{const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx leftArrowClickHandler");e.scrollTo({left:e.scrollLeft-Za>0?e.scrollLeft-Za:0,behavior:"smooth"})}),[]),g=e.useCallback((()=>{const e=u.current;if(null===e)throw new Error("unexpected error tabs.tsx rightArrowClickHandler");e.scrollTo({left:e.scrollLeft+Za+e.clientWidth<=e.scrollWidth?e.scrollLeft+Za:e.scrollWidth,behavior:"smooth"})}),[]),v=void 0!==d&&d>0,b=void 0!==d&&null!==u.current&&d+u.current.clientWidth<u.current.scrollWidth-4,y=e.useMemo((()=>{const e=a.findIndex((e=>!0===e.isActive));return e<0?void 0:e}),[a]);return e.useEffect((()=>{if(void 0===y)return;const e=u.current,t=c.current[y];if(null===e||null===t)return;if(c.current.includes(null))return;const r=c.current.reduce(((e,t)=>{if(null===t)throw new Error("unexpected null value in tabItems elements");return t.offsetWidth+e}),0);if(!(e.offsetWidth>r))switch(n){case exports.TabsActiveTabDefaultPosition.center:((e,t)=>{e.scrollLeft=t.offsetLeft-(e.offsetWidth-t.offsetWidth)/2})(e,t);break;case exports.TabsActiveTabDefaultPosition.scrollOnlyWhenNotVisible:((e,t)=>{const n=t.getBoundingClientRect(),r=e.getBoundingClientRect();(n.left<r.left||n.right>r.right)&&(e.scrollLeft=t.offsetLeft-e.offsetLeft)})(e,t);break;case exports.TabsActiveTabDefaultPosition.noScrolling:break;default:throw new Error("unexpected value of TabsActiveTabDefaultPosition enum in tabs.tsx")}}),[n,y]),e.createElement(Va,null,e.createElement(Ba,{ref:u},e.createElement($a,{$chooseColor:l,$fullWidth:o},a.map(((t,n)=>e.createElement(e.Fragment,{key:t.id},e.createElement(Ra,{colorScheme:r,fullWidth:o,htmlRef:e=>c.current[n]=e,icon:t.icon,id:t.id,isActive:t.isActive,size:i,text:t.text,variant:s,onClick:t.onClick})))))),v&&e.createElement(Ha,null,e.createElement(ja,{onClick:m},e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.chevronLeft}))),b&&e.createElement(za,null,e.createElement(Ga,{onClick:g},e.createElement(Ze,{size:exports.IconSystemSize.big,type:exports.IconSystemType.chevronRight}))))},exports.TabsItem=Ra,exports.Tag=n=>{const{children:r,className:o,colorScheme:i,fontWeight:a=exports.FontWeight.regular400,iconPosition:s=exports.TagIconPosition.right,iconSystem:l,size:u=exports.TagSize.md,textTransform:c=exports.TagTextTransform.none,type:d}=n,p=t.useTheme(),h=D(i),f=e.useMemo((()=>{switch(d){case exports.TagType.info:return h(p.colors.fg.brand.bold);case exports.TagType.warning:return p.palette.yellow800;case exports.TagType.success:return h(p.colors.fg.success);case exports.TagType.neutralSubtle:return h(p.colors.fg.neutral.subtle);case exports.TagType.invert:return h(p.colors.fg.neutral.white);case exports.TagType.alert:return h(p.colors.fg.accent.bold);case exports.TagType.neutralDefault:return h(p.colors.fg.neutral.default);default:throw new Error("unexpected enum values TagType in tag.tsx")}}),[h,p,d]),m=e.useMemo((()=>{switch(u){case exports.TagSize.sm:return exports.TypographyVariant.textSm;case exports.TagSize.md:return exports.TypographyVariant.textMd;default:throw new Error("unexpected enum values TagSize in tag.tsx")}}),[u]);return e.createElement(Gk,{$chooseColor:h,$iconPosition:s,$textTransform:c,$type:d,className:o},e.createElement(B,{color:f,variant:m,weight:a},r),void 0!==l&&e.createElement(Zk,{$iconPosition:s},e.createElement(Ze,{colorScheme:i,size:exports.IconSystemSize.big,stroke:f,type:l})))},exports.TextArea=Ak,exports.TextInput=Km,exports.Toggle=n=>{const{defaultValue:r,disabled:o,id:i,label:a,name:s,onChange:l}=n,u=t.useTheme(),[c,d]=e.useState(r),p=e.useCallback((e=>{d(e),void 0!==l&&l(e)}),[l]);return e.createElement($k,{$checked:c,$disabled:o},e.createElement(Bk,{activeBoxShadow:"",borderRadius:9999,checked:c,checkedIcon:!1,className:"react-switch",disabled:o,handleDiameter:16,height:21,id:i,name:s,offColor:u.colors.bg.neutral.white.light,offHandleColor:u.colors.bg.neutral.white.light,uncheckedIcon:!1,width:36,onChange:p,onColor:!0===o?u.colors.bg.neutral.white.light:u.colors.bg.brand.bold.light,onHandleColor:u.colors.bg.neutral.white.light}),void 0!==a&&e.createElement(Wk,{htmlFor:i},e.createElement(B,{variant:exports.TypographyVariant.textSm,weight:exports.FontWeight.medium500},a)))},exports.TooltipGeneral=Vs,exports.TooltipInfo=Fs,exports.TooltipInfoConditional=Hs,exports.TooltipInfoDisplayableCheck=t=>{const{body:n,displayMethod:r,title:o}=t,i=A(t),a=Ds();return a(n)?e.createElement(e.Fragment,null,r===exports.TooltipInfoDisplayMethod.withNbsp&&" ",e.createElement(Fs,{colorScheme:i,floatingElement:{body:e.createElement(Ts,Object.assign({},n)),title:void 0!==o&&a(o)?e.createElement(Ts,Object.assign({},o)):void 0}})):null},exports.TrailingTextInput=eg,exports.Typography=B,exports.getColor=T,exports.identityFormatter=ow,exports.isRenderable=xo,exports.resolveFontWeightValue=p,exports.resolveOverflowValue=v,exports.resolveSpacingValue=c,exports.theme=m,exports.useChooseColor=D,exports.useColorScheme=A,exports.useCreateTooltipFloatingElement=()=>{const t=Ds();return e.useCallback(((n,r)=>{if(t(n))return{body:e.createElement(Ts,Object.assign({},n)),title:void 0!==r&&t(r)?e.createElement(Ts,Object.assign({},r)):void 0}}),[t])},exports.useDesignSystem=N,exports.useFieldConfig=V,exports.useFieldLabels=()=>e.useContext(O).labels,exports.useFormatAmount=kl,exports.useFormattedPercentage=yl,exports.useIsMessageDisplayable=Ds,exports.useMediaType=E,exports.useMessageFormatter=t=>{const n=Cs();return e.useMemo((()=>rw(((r,o)=>{const i=t(r);return"string"==typeof i?i:o.includes("primitive")?n.formatMessage(i):e.createElement(Ts,Object.assign({},i))}))),[t,n])},exports.useRegisterFieldLabel=P,exports.withFieldWrapper=Rf,exports.withMaskedInputField=_m;
|
|
2292
2292
|
//# sourceMappingURL=index.cjs.js.map
|