diff --git a/app/dashboard/build/404.html b/app/dashboard/build/404.html index d440d4b7e..f72643141 100644 --- a/app/dashboard/build/404.html +++ b/app/dashboard/build/404.html @@ -33,9 +33,9 @@ - - - + + +
diff --git a/app/dashboard/build/assets/index.59de2328.css b/app/dashboard/build/assets/index.876adee7.css similarity index 98% rename from app/dashboard/build/assets/index.59de2328.css rename to app/dashboard/build/assets/index.876adee7.css index 1128601ec..2d0b46c19 100644 --- a/app/dashboard/build/assets/index.59de2328.css +++ b/app/dashboard/build/assets/index.876adee7.css @@ -3,4 +3,4 @@ * http://mobius.ovh/docs/selectr * * Released under the MIT license - */.selectr-container{position:relative}.selectr-container li{list-style:none}.selectr-hidden{position:absolute;overflow:hidden;clip:rect(0px,0px,0px,0px);width:1px;height:1px;margin:-1px;padding:0;border:0 none}.selectr-visible{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:11}.selectr-desktop.multiple .selectr-visible{display:none}.selectr-desktop.multiple.native-open .selectr-visible{top:100%;min-height:200px!important;height:auto;opacity:1;display:block}.selectr-container.multiple.selectr-mobile .selectr-selected{z-index:0}.selectr-selected{position:relative;z-index:1;box-sizing:border-box;width:100%;padding:7px 28px 7px 14px;cursor:pointer;border:1px solid #999999;border-radius:3px;background-color:#fff}.selectr-selected:before{position:absolute;top:50%;right:10px;width:0;height:0;content:"";-o-transform:rotate(0deg) translate3d(0px,-50%,0px);-ms-transform:rotate(0deg) translate3d(0px,-50%,0px);-moz-transform:rotate(0deg) translate3d(0px,-50%,0px);-webkit-transform:rotate(0deg) translate3d(0px,-50%,0px);transform:rotate(0) translate3d(0,-50%,0);border-width:4px 4px 0 4px;border-style:solid;border-color:#6c7a86 transparent transparent}.selectr-container.open .selectr-selected:before,.selectr-container.native-open .selectr-selected:before{border-width:0 4px 4px 4px;border-style:solid;border-color:transparent transparent #6c7a86}.selectr-label{display:none;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.selectr-placeholder{color:#6c7a86}.selectr-tags{margin:0;padding:0;white-space:normal}.has-selected .selectr-tags{margin:0 0 -2px}.selectr-tag{list-style:none;position:relative;float:left;padding:2px 25px 2px 8px;margin:0 2px 2px 0;cursor:default;color:#fff;border:medium none;border-radius:10px;background:#acb7bf none repeat scroll 0 0}.selectr-container.multiple.has-selected .selectr-selected{padding:5px 28px 5px 5px}.selectr-options-container{position:absolute;z-index:10000;top:calc(100% - 1px);left:0;display:none;box-sizing:border-box;width:100%;border-width:0 1px 1px;border-style:solid;border-color:transparent #999999 #999999;border-radius:0 0 3px 3px;background-color:#fff}.selectr-container.open .selectr-options-container{display:block}.selectr-input-container{position:relative;display:none}.selectr-clear,.selectr-input-clear,.selectr-tag-remove{position:absolute;top:50%;right:22px;width:20px;height:20px;padding:0;cursor:pointer;-o-transform:translate3d(0px,-50%,0px);-ms-transform:translate3d(0px,-50%,0px);-moz-transform:translate3d(0px,-50%,0px);-webkit-transform:translate3d(0px,-50%,0px);transform:translate3d(0,-50%,0);border:medium none;background-color:transparent;z-index:11}.selectr-clear,.selectr-input-clear{display:none}.selectr-container.has-selected .selectr-clear,.selectr-input-container.active .selectr-input-clear{display:block}.selectr-selected .selectr-tag-remove{right:2px}.selectr-clear:before,.selectr-clear:after,.selectr-input-clear:before,.selectr-input-clear:after,.selectr-tag-remove:before,.selectr-tag-remove:after{position:absolute;top:5px;left:9px;width:2px;height:10px;content:" ";background-color:#6c7a86}.selectr-tag-remove:before,.selectr-tag-remove:after{top:4px;width:3px;height:12px;background-color:#fff}.selectr-clear:before,.selectr-input-clear:before,.selectr-tag-remove:before{-o-transform:rotate(45deg);-ms-transform:rotate(45deg);-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.selectr-clear:after,.selectr-input-clear:after,.selectr-tag-remove:after{-o-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.selectr-input-container.active,.selectr-input-container.active .selectr-clear{display:block}.selectr-input{top:5px;left:5px;box-sizing:border-box;width:calc(100% - 30px);margin:10px 15px;padding:7px 30px 7px 9px;border:1px solid #999999;border-radius:3px}.selectr-notice{display:none;box-sizing:border-box;width:100%;padding:8px 16px;border-top:1px solid #999999;border-radius:0 0 3px 3px;background-color:#fff}.selectr-container.notice .selectr-notice{display:block}.selectr-container.notice .selectr-selected{border-radius:3px 3px 0 0}.selectr-options{position:relative;top:calc(100% + 2px);display:none;overflow-x:auto;overflow-y:scroll;max-height:200px;margin:0;padding:0}.selectr-container.open .selectr-options,.selectr-container.open .selectr-input-container,.selectr-container.notice .selectr-options-container{display:block}.selectr-option{position:relative;display:block;padding:5px 20px;list-style:outside none none;cursor:pointer;font-weight:400}.selectr-options.optgroups>.selectr-option{padding-left:25px}.selectr-optgroup{font-weight:700;padding:0}.selectr-optgroup--label{font-weight:700;margin-top:10px;padding:5px 15px}.selectr-match{text-decoration:underline}.selectr-option.selected{background-color:#ddd}.selectr-option.active{color:#fff;background-color:#5897fb}.selectr-option.disabled{opacity:.4}.selectr-option.excluded{display:none}.selectr-container.open .selectr-selected{border-color:#999999 #999999 transparent #999999;border-radius:3px 3px 0 0}.selectr-container.open .selectr-selected:after{-o-transform:rotate(180deg) translate3d(0px,50%,0px);-ms-transform:rotate(180deg) translate3d(0px,50%,0px);-moz-transform:rotate(180deg) translate3d(0px,50%,0px);-webkit-transform:rotate(180deg) translate3d(0px,50%,0px);transform:rotate(180deg) translate3d(0,50%,0)}.selectr-disabled{opacity:.6}.selectr-empty,.has-selected .selectr-placeholder{display:none}.has-selected .selectr-label{display:block}.taggable .selectr-selected{padding:4px 28px 4px 4px}.taggable .selectr-selected:after{display:table;content:" ";clear:both}.taggable .selectr-label{width:auto}.taggable .selectr-tags{float:left;display:block}.taggable .selectr-placeholder{display:none}.input-tag{float:left;min-width:90px;width:auto}.selectr-tag-input{border:medium none;padding:3px 10px;width:100%;font-family:inherit;font-weight:inherit;font-size:inherit}.selectr-input-container.loading:after{position:absolute;top:50%;right:20px;width:20px;height:20px;content:"";-o-transform:translate3d(0px,-50%,0px);-ms-transform:translate3d(0px,-50%,0px);-moz-transform:translate3d(0px,-50%,0px);-webkit-transform:translate3d(0px,-50%,0px);transform:translate3d(0,-50%,0);-o-transform-origin:50% 0 0;-ms-transform-origin:50% 0 0;-moz-transform-origin:50% 0 0;-webkit-transform-origin:50% 0 0;transform-origin:50% 0 0;-moz-animation:.5s linear 0s normal forwards infinite running selectr-spin;-webkit-animation:.5s linear 0s normal forwards infinite running selectr-spin;animation:.5s linear 0s normal forwards infinite running selectr-spin;border-width:3px;border-style:solid;border-color:#aaa #ddd #ddd;border-radius:50%}@-webkit-keyframes selectr-spin{0%{-webkit-transform:rotate(0deg) translate3d(0px,-50%,0px);transform:rotate(0) translate3d(0,-50%,0)}to{-webkit-transform:rotate(360deg) translate3d(0px,-50%,0px);transform:rotate(360deg) translate3d(0,-50%,0)}}@keyframes selectr-spin{0%{-webkit-transform:rotate(0deg) translate3d(0px,-50%,0px);transform:rotate(0) translate3d(0,-50%,0)}to{-webkit-transform:rotate(360deg) translate3d(0px,-50%,0px);transform:rotate(360deg) translate3d(0,-50%,0)}}.selectr-container.open.inverted .selectr-selected{border-color:transparent #999999 #999999;border-radius:0 0 3px 3px}.selectr-container.inverted .selectr-options-container{border-width:1px 1px 0;border-color:#999999 #999999 transparent;border-radius:3px 3px 0 0;background-color:#fff}.selectr-container.inverted .selectr-options-container{top:auto;bottom:calc(100% - 1px)}.selectr-container ::-webkit-input-placeholder{color:#6c7a86;opacity:1}.selectr-container ::-moz-placeholder{color:#6c7a86;opacity:1}.selectr-container :-ms-input-placeholder{color:#6c7a86;opacity:1}.selectr-container ::placeholder{color:#6c7a86;opacity:1}.ace_gutter-cell{padding-left:20px;padding-right:16px!important}.ace_editor,.jsoneditor{border-radius:4px}.ace_editor{min-height:300px}.jsoneditor{border:0}.ace-dawn .ace_gutter{background:#ebebeb;color:#333}.ace-dawn .ace_print-margin{width:1px;background:#e8e8e8}.ace-dawn{background-color:#f9f9f9;color:#080808}.ace-dawn .ace_cursor{color:#000}.ace-dawn .ace_marker-layer .ace_selection{background:rgba(39,95,255,.3)}.ace-dawn.ace_multiselect .ace_selection.ace_start{box-shadow:0 0 3px #f9f9f9}.ace-dawn .ace_marker-layer .ace_step{background:rgb(255,255,0)}.ace-dawn .ace_marker-layer .ace_bracket{margin:-1px 0 0 -1px;border:1px solid rgba(75,75,126,.5)}.ace-dawn .ace_marker-layer .ace_active-line{background:rgba(36,99,180,.12)}.ace-dawn .ace_gutter-active-line{background-color:#dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word{border:1px solid rgba(39,95,255,.3)}.ace-dawn .ace_invisible{color:#4b4b7e80}.ace-dawn .ace_keyword,.ace-dawn .ace_meta{color:#794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other{color:#811f24}.ace-dawn .ace_invalid.ace_illegal{text-decoration:underline;font-style:italic;color:#f8f8f8;background-color:#b52a1d}.ace-dawn .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#b52a1d}.ace-dawn .ace_support{color:#691c97}.ace-dawn .ace_support.ace_constant{color:#b4371f}.ace-dawn .ace_fold{background-color:#794938;border-color:#080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function{color:#693a17}.ace-dawn .ace_storage{font-style:italic;color:#a71d5d}.ace-dawn .ace_string{color:#0b6125}.ace-dawn .ace_string.ace_regexp{color:#cf5628}.ace-dawn .ace_comment{font-style:italic;color:#5a525f}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading{color:#19356d}.ace-dawn .ace_variable{color:#234a97}.ace-dawn .ace_indent-guide{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}.ace-dawn .ace_indent-guide-active{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC) right repeat-y}.ace-nord-dark .ace_gutter{color:#616e88}.ace-nord-dark .ace_print-margin{width:1px;background:#4c566a}.ace-nord-dark{background-color:#2e3440;color:#d8dee9}.ace-nord-dark .ace_entity.ace_other.ace_attribute-name,.ace-nord-dark .ace_storage,.ace-nord-dark .ace_cursor{color:#d8dee9}.ace-nord-dark .ace_string.ace_regexp{color:#bf616a}.ace-nord-dark .ace_marker-layer .ace_active-line,.ace-nord-dark .ace_marker-layer .ace_selection{background:#434c5ecc}.ace-nord-dark.ace_multiselect .ace_selection.ace_start{box-shadow:0 0 3px #2e3440}.ace-nord-dark .ace_marker-layer .ace_step{background:#ebcb8b}.ace-nord-dark .ace_marker-layer .ace_bracket{margin:-1px 0 0 -1px;border:1px solid #88c0d066}.ace-nord-dark .ace_gutter-active-line{background-color:#434c5ecc}.ace-nord-dark .ace_marker-layer .ace_selected-word{border:1px solid #88c0d066}.ace-nord-dark .ace_invisible{color:#4c566a}.ace-nord-dark .ace_keyword,.ace-nord-dark .ace_meta,.ace-nord-dark .ace_support.ace_class,.ace-nord-dark .ace_support.ace_type{color:#81a1c1}.ace-nord-dark .ace_constant.ace_character,.ace-nord-dark .ace_constant.ace_other{color:#d8dee9}.ace-nord-dark .ace_constant.ace_language{color:#5e81ac}.ace-nord-dark .ace_constant.ace_escape{color:#ebcb8b}.ace-nord-dark .ace_constant.ace_numeric{color:#b48ead}.ace-nord-dark .ace_fold{background-color:#4c566a;border-color:#d8dee9}.ace-nord-dark .ace_entity.ace_name.ace_function,.ace-nord-dark .ace_entity.ace_name.ace_tag,.ace-nord-dark .ace_support.ace_function,.ace-nord-dark .ace_variable,.ace-nord-dark .ace_variable.ace_language{color:#8fbcbb}.ace-nord-dark .ace_string{color:#a3be8c}.ace-nord-dark .ace_comment{color:#616e88}.ace-nord-dark .ace_indent-guide{box-shadow:inset -1px 0 #434c5eb3}.ace-nord-dark .ace_indent-guide-active{box-shadow:inset -1px 0 #8395b8b3}.slick-loading .slick-list{background:#fff url(/dashboard/assets/ajax-loader.e7b44c86.gif) center center no-repeat}@font-face{font-family:slick;font-weight:400;font-style:normal;src:url(data:application/vnd.ms-fontobject;base64,AAgAAGQHAAABAAIAAAAAAAIABQkAAAAAAAABAJABAAAAAExQAQAAgCAAAAAAAAAAAAAAAAEAAAAAAAAATxDE8AAAAAAAAAAAAAAAAAAAAAAAAAoAcwBsAGkAYwBrAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHMAbABpAGMAawAAAAAAAAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=);src:url(data:application/vnd.ms-fontobject;base64,AAgAAGQHAAABAAIAAAAAAAIABQkAAAAAAAABAJABAAAAAExQAQAAgCAAAAAAAAAAAAAAAAEAAAAAAAAATxDE8AAAAAAAAAAAAAAAAAAAAAAAAAoAcwBsAGkAYwBrAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHMAbABpAGMAawAAAAAAAAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=) format("embedded-opentype"),url(data:font/woff;base64,d09GRk9UVE8AAAVkAAsAAAAAB1wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAABCAAAAi4AAAKbH/pWDkZGVE0AAAM4AAAAGgAAABxt0civR0RFRgAAA1QAAAAcAAAAIAAyAARPUy8yAAADcAAAAFIAAABgUBj/rmNtYXAAAAPEAAAAUAAAAWIiC0SwaGVhZAAABBQAAAAuAAAANgABMftoaGVhAAAERAAAABwAAAAkA+UCA2htdHgAAARgAAAADgAAAA4ESgBKbWF4cAAABHAAAAAGAAAABgAFUABuYW1lAAAEeAAAANwAAAFuBSeBwnBvc3QAAAVUAAAAEAAAACAAAwABeJw9ks9vEkEUx2cpWyeUoFYgNkHi2Wt7N3rVm3cTs3UVLC4LxIWEQvi1P3i7O1tYLJDAmlgKGEhQrsajf0j7J3jYTXrQWUrMJG+++b55n5e8NwwKBhHDMLv5kxT3ATEBxKBn3qOAl9zxHgb1MAPhHQgHkyF08Gr/L8B/Eb6zWnmCJ7AJVLubQOheArXvJ1A4EXi6j4I+Zg9F0QFKvsnlBCmXeve+sFEnb/nCptdtQ4QYhVFRAT1HrF8UQK/RL/SbmUbclsvGVFXRZKDHUE38cc4qpkbAAsuwiImvro+ufcfaOIQ6szlrmjRJDaKZKnbjN3GWKIbiIzRFUfCffuxxKOL+3LDlDVvx2TdxN84qZEsnhNBa6pgm2dAsnzbLsETdsmRFxUeHV4e+I2/ptN8TyqV8T3Dt29t7EYOuajVIw2y1Wy3M86w0zg/Fz2IvawmQAUHOVrPVfLkoScVynsqsTG0MGUs4z55nh3mnOJa+li+rl9WpPIcFfDubDeaDC+fLBdYN3QADzLauGfj4B6sZmq6CCpqmtSvF0qlUl2qf5AJIUCSlTqlb7lUG+LRfGzZGzZEyBgccMu6MuqPecNDvD4Y9Kjtj4gD+DsvKVMTcMdtqtZtmkzQstQvYje7Syep0PDSAhSOeHYXYWThEF//A/0YvYV1fSQtpKU5STtrhbQ444OtpKSWJIg3pOg8cBs7maTY1EZf07aq+hjWs7IWzdCYTGhb2CtZ47x+Uhx28AAB4nGNgYGBkAIJz765vANHnCyvqYTQAWnkHswAAeJxjYGRgYOADYgkGEGBiYARCFjAG8RgABHYAN3icY2BmYmCcwMDKwMHow5jGwMDgDqW/MkgytDAwMDGwcjKAQQMDAyOQUmCAgoA01xQGB4ZExUmMD/4/YNBjvP3/NgNEDQPjbbBKBQZGADfLDgsAAHicY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQzMCQqKClOUJz0/z9YHRLv/+L7D+8V3cuHmgAHjGwM6ELUByxUMIOZCmbgAAA5LQ8XeJxjYGRgYABiO68w73h+m68M3EwMIHC+sKIeTqsyqDLeZrwN5HIwgKUB/aYJUgAAeJxjYGRgYLzNwMCgx8QAAkA2IwMqYAIAMGIB7QIAAAACAAAlACUAJQAlAAAAAFAAAAUAAHicbY49asNAEIU/2ZJDfkiRIvXapUFCEqpcptABUrg3ZhEiQoKVfY9UqVLlGDlADpAT5e16IUWysMz3hjfzBrjjjQT/EjKpCy+4YhN5yZoxcirPe+SMWz4jr6S+5UzSa3VuwpTnBfc8RF7yxDZyKs9r5IxHPiKv1P9iZqDnyAvMQ39UecbScVb/gJO03Xk4CFom3XYK1clhMdQUlKo7/d9NF13RkIdfy+MV7TSe2sl11tRFaXYmJKpWTd7kdVnJ8veevZKc+n3I93t9Jnvr5n4aTVWU/0z9AI2qMkV4nGNgZkAGjAxoAAAAjgAF) format("woff"),url(data:font/ttf;base64,AAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=) format("truetype"),url(/dashboard/assets/slick.12459f22.svg#slick) format("svg")}.slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:20px;height:20px;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translateY(-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:.25}.slick-prev:before,.slick-next:before{font-family:slick;font-size:20px;line-height:1;opacity:.75;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:-25px}[dir=rtl] .slick-prev{right:-25px;left:auto}.slick-prev:before{content:"\2190"}[dir=rtl] .slick-prev:before{content:"\2192"}.slick-next{right:-25px}[dir=rtl] .slick-next{right:auto;left:-25px}.slick-next:before{content:"\2192"}[dir=rtl] .slick-next:before{content:"\2190"}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{position:absolute;bottom:-25px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:none;background:transparent}.slick-dots li button:hover,.slick-dots li button:focus{outline:none}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1}.slick-dots li button:before{font-family:slick;font-size:6px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:"\2022";text-align:center;opacity:.25;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:.75;color:#000}.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-track,.slick-slider .slick-list{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translateZ(0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:before,.slick-track:after{display:table;content:""}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.bg-blue-animate{animation:blur-animate .2s ease-in;backdrop-filter:blur(10px)}@keyframes blur-animate{0%{backdrop-filter:blur(1px)}to{backdrop-filter:blur(10px)}}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}table thead th:first-of-type{border-top-left-radius:8px}table thead th:last-of-type{border-top-right-radius:8px}.last-row td:first-of-type{border-bottom-left-radius:8px}.last-row td:last-of-type{border-bottom-right-radius:8px}.slick-prev{left:-40px}.slick-next{right:-40px}.slick-prev,.slick-next{z-index:100}.chakra-popover__popper{z-index:9999!important}.inbound-item .chakra-checkbox__label{max-width:100%;width:100%}.react-datepicker__navigation.react-datepicker__navigation--previous,.react-datepicker__navigation.react-datepicker__navigation--next{padding-top:6px}.react-datepicker{background-color:var(--chakra-colors-white)!important;border:1px solid var(--chakra-colors-gray-200);border-radius:var(--chakra-radii-md)!important;position:relative}.chakra-ui-dark .react-datepicker{background-color:var(--chakra-colors-gray-700)!important;border:1px solid var(--chakra-colors-gray-600);border-radius:var(--chakra-radii-md)!important;position:relative}.react-datepicker__header{text-align:center;background-color:unset;position:relative;border-bottom:1px solid var(--chakra-colors-gray-200)}.chakra-ui-dark .react-datepicker__header{border-bottom:1px solid var(--chakra-colors-gray-600)}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{border-top:none;border-bottom-color:var(--chakra-colors-white)}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:var(--chakra-colors-gray-200)}.chakra-ui-dark .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{border-top:none;border-bottom-color:var(--chakra-colors-gray-700)}.chakra-ui-dark .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:var(--chakra-colors-gray-600)}.react-datepicker__current-month,.react-datepicker__day-name,.react-datepicker__day{color:var(--chakra-colors-chakra-body-text)!important}.chakra-ui-dark .react-datepicker__current-month,.chakra-ui-dark .react-datepicker__day-name,.chakra-ui-dark .react-datepicker__day{color:var(--chakra-colors-gray-300)!important}.react-datepicker__day:hover{border-radius:.3rem;background-color:var(--chakra-colors-primary-300)!important;color:var(--chakra-colors-white)!important}.chakra-ui-dark .react-datepicker__day:hover{border-radius:.3rem;background-color:var(--chakra-colors-primary-500)!important;color:var(--chakra-colors-gray-800)!important}.react-datepicker__day--disabled{color:var(--chakra-colors-gray-400)!important}.react-datepicker__day--disabled:hover{background-color:transparent!important;color:var(--chakra-colors-gray-400)!important}.chakra-ui-dark .react-datepicker__day--disabled{color:var(--chakra-colors-gray-500)!important}.chakra-ui-dark .react-datepicker__day--disabled:hover{background-color:transparent!important;color:var(--chakra-colors-gray-500)!important}.react-datepicker__day--keyboard-selected,.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range{border-radius:.3rem;background-color:var(--chakra-colors-primary-500)!important;color:var(--chakra-colors-white)!important}.chakra-ui-dark .react-datepicker__day--keyboard-selected,.chakra-ui-dark .react-datepicker__day--selected,.chakra-ui-dark .react-datepicker__day--in-selecting-range,.chakra-ui-dark .react-datepicker__day--in-range{border-radius:.3rem;background-color:var(--chakra-colors-primary-200)!important;color:var(--chakra-colors-gray-800)!important}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range){border-radius:.3rem;background-color:var(--chakra-colors-primary-400)!important}.chakra-ui-dark .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range){border-radius:.3rem;background-color:var(--chakra-colors-primary-400)!important}.react-datepicker__day--outside-month{visibility:hidden}.datepicker-panel .react-datepicker{background-color:unset;border:unset;border-radius:unset;display:inline-block;position:relative}.green{background:#66ff99}.red{background:#e53e3e}.orange{background:#fbd38d}.circle{min-width:10px;min-height:10px;border-radius:50%;box-shadow:0 0 1px 1px #0000001a}.pulse{animation:pulse-animation 3s infinite}.pulse.green{animation:green-pulse-animation 3s infinite}.pulse.red{animation:red-pulse-animation 3s infinite}.pulse.orange{animation:orange-pulse-animation 3s infinite}@keyframes pulse-animation{0%{box-shadow:0 0 #0006}to{box-shadow:0 0 0 10px #0000}}@keyframes green-pulse-animation{0%{box-shadow:0 0 #66ff9975}to{box-shadow:0 0 0 10px #6f90}}@keyframes red-pulse-animation{0%{box-shadow:0 0 #e53e3e8c}to{box-shadow:0 0 0 10px #e53e3e00}}@keyframes orange-pulse-animation{0%{box-shadow:0 0 #fbd38d85}to{box-shadow:0 0 0 10px #fbd38d00}}.flex-status{display:flex;align-items:center;justify-content:start;gap:.7rem} + */.selectr-container{position:relative}.selectr-container li{list-style:none}.selectr-hidden{position:absolute;overflow:hidden;clip:rect(0px,0px,0px,0px);width:1px;height:1px;margin:-1px;padding:0;border:0 none}.selectr-visible{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:11}.selectr-desktop.multiple .selectr-visible{display:none}.selectr-desktop.multiple.native-open .selectr-visible{top:100%;min-height:200px!important;height:auto;opacity:1;display:block}.selectr-container.multiple.selectr-mobile .selectr-selected{z-index:0}.selectr-selected{position:relative;z-index:1;box-sizing:border-box;width:100%;padding:7px 28px 7px 14px;cursor:pointer;border:1px solid #999999;border-radius:3px;background-color:#fff}.selectr-selected:before{position:absolute;top:50%;right:10px;width:0;height:0;content:"";-o-transform:rotate(0deg) translate3d(0px,-50%,0px);-ms-transform:rotate(0deg) translate3d(0px,-50%,0px);-moz-transform:rotate(0deg) translate3d(0px,-50%,0px);-webkit-transform:rotate(0deg) translate3d(0px,-50%,0px);transform:rotate(0) translate3d(0,-50%,0);border-width:4px 4px 0 4px;border-style:solid;border-color:#6c7a86 transparent transparent}.selectr-container.open .selectr-selected:before,.selectr-container.native-open .selectr-selected:before{border-width:0 4px 4px 4px;border-style:solid;border-color:transparent transparent #6c7a86}.selectr-label{display:none;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.selectr-placeholder{color:#6c7a86}.selectr-tags{margin:0;padding:0;white-space:normal}.has-selected .selectr-tags{margin:0 0 -2px}.selectr-tag{list-style:none;position:relative;float:left;padding:2px 25px 2px 8px;margin:0 2px 2px 0;cursor:default;color:#fff;border:medium none;border-radius:10px;background:#acb7bf none repeat scroll 0 0}.selectr-container.multiple.has-selected .selectr-selected{padding:5px 28px 5px 5px}.selectr-options-container{position:absolute;z-index:10000;top:calc(100% - 1px);left:0;display:none;box-sizing:border-box;width:100%;border-width:0 1px 1px;border-style:solid;border-color:transparent #999999 #999999;border-radius:0 0 3px 3px;background-color:#fff}.selectr-container.open .selectr-options-container{display:block}.selectr-input-container{position:relative;display:none}.selectr-clear,.selectr-input-clear,.selectr-tag-remove{position:absolute;top:50%;right:22px;width:20px;height:20px;padding:0;cursor:pointer;-o-transform:translate3d(0px,-50%,0px);-ms-transform:translate3d(0px,-50%,0px);-moz-transform:translate3d(0px,-50%,0px);-webkit-transform:translate3d(0px,-50%,0px);transform:translate3d(0,-50%,0);border:medium none;background-color:transparent;z-index:11}.selectr-clear,.selectr-input-clear{display:none}.selectr-container.has-selected .selectr-clear,.selectr-input-container.active .selectr-input-clear{display:block}.selectr-selected .selectr-tag-remove{right:2px}.selectr-clear:before,.selectr-clear:after,.selectr-input-clear:before,.selectr-input-clear:after,.selectr-tag-remove:before,.selectr-tag-remove:after{position:absolute;top:5px;left:9px;width:2px;height:10px;content:" ";background-color:#6c7a86}.selectr-tag-remove:before,.selectr-tag-remove:after{top:4px;width:3px;height:12px;background-color:#fff}.selectr-clear:before,.selectr-input-clear:before,.selectr-tag-remove:before{-o-transform:rotate(45deg);-ms-transform:rotate(45deg);-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.selectr-clear:after,.selectr-input-clear:after,.selectr-tag-remove:after{-o-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.selectr-input-container.active,.selectr-input-container.active .selectr-clear{display:block}.selectr-input{top:5px;left:5px;box-sizing:border-box;width:calc(100% - 30px);margin:10px 15px;padding:7px 30px 7px 9px;border:1px solid #999999;border-radius:3px}.selectr-notice{display:none;box-sizing:border-box;width:100%;padding:8px 16px;border-top:1px solid #999999;border-radius:0 0 3px 3px;background-color:#fff}.selectr-container.notice .selectr-notice{display:block}.selectr-container.notice .selectr-selected{border-radius:3px 3px 0 0}.selectr-options{position:relative;top:calc(100% + 2px);display:none;overflow-x:auto;overflow-y:scroll;max-height:200px;margin:0;padding:0}.selectr-container.open .selectr-options,.selectr-container.open .selectr-input-container,.selectr-container.notice .selectr-options-container{display:block}.selectr-option{position:relative;display:block;padding:5px 20px;list-style:outside none none;cursor:pointer;font-weight:400}.selectr-options.optgroups>.selectr-option{padding-left:25px}.selectr-optgroup{font-weight:700;padding:0}.selectr-optgroup--label{font-weight:700;margin-top:10px;padding:5px 15px}.selectr-match{text-decoration:underline}.selectr-option.selected{background-color:#ddd}.selectr-option.active{color:#fff;background-color:#5897fb}.selectr-option.disabled{opacity:.4}.selectr-option.excluded{display:none}.selectr-container.open .selectr-selected{border-color:#999999 #999999 transparent #999999;border-radius:3px 3px 0 0}.selectr-container.open .selectr-selected:after{-o-transform:rotate(180deg) translate3d(0px,50%,0px);-ms-transform:rotate(180deg) translate3d(0px,50%,0px);-moz-transform:rotate(180deg) translate3d(0px,50%,0px);-webkit-transform:rotate(180deg) translate3d(0px,50%,0px);transform:rotate(180deg) translate3d(0,50%,0)}.selectr-disabled{opacity:.6}.selectr-empty,.has-selected .selectr-placeholder{display:none}.has-selected .selectr-label{display:block}.taggable .selectr-selected{padding:4px 28px 4px 4px}.taggable .selectr-selected:after{display:table;content:" ";clear:both}.taggable .selectr-label{width:auto}.taggable .selectr-tags{float:left;display:block}.taggable .selectr-placeholder{display:none}.input-tag{float:left;min-width:90px;width:auto}.selectr-tag-input{border:medium none;padding:3px 10px;width:100%;font-family:inherit;font-weight:inherit;font-size:inherit}.selectr-input-container.loading:after{position:absolute;top:50%;right:20px;width:20px;height:20px;content:"";-o-transform:translate3d(0px,-50%,0px);-ms-transform:translate3d(0px,-50%,0px);-moz-transform:translate3d(0px,-50%,0px);-webkit-transform:translate3d(0px,-50%,0px);transform:translate3d(0,-50%,0);-o-transform-origin:50% 0 0;-ms-transform-origin:50% 0 0;-moz-transform-origin:50% 0 0;-webkit-transform-origin:50% 0 0;transform-origin:50% 0 0;-moz-animation:.5s linear 0s normal forwards infinite running selectr-spin;-webkit-animation:.5s linear 0s normal forwards infinite running selectr-spin;animation:.5s linear 0s normal forwards infinite running selectr-spin;border-width:3px;border-style:solid;border-color:#aaa #ddd #ddd;border-radius:50%}@-webkit-keyframes selectr-spin{0%{-webkit-transform:rotate(0deg) translate3d(0px,-50%,0px);transform:rotate(0) translate3d(0,-50%,0)}to{-webkit-transform:rotate(360deg) translate3d(0px,-50%,0px);transform:rotate(360deg) translate3d(0,-50%,0)}}@keyframes selectr-spin{0%{-webkit-transform:rotate(0deg) translate3d(0px,-50%,0px);transform:rotate(0) translate3d(0,-50%,0)}to{-webkit-transform:rotate(360deg) translate3d(0px,-50%,0px);transform:rotate(360deg) translate3d(0,-50%,0)}}.selectr-container.open.inverted .selectr-selected{border-color:transparent #999999 #999999;border-radius:0 0 3px 3px}.selectr-container.inverted .selectr-options-container{border-width:1px 1px 0;border-color:#999999 #999999 transparent;border-radius:3px 3px 0 0;background-color:#fff}.selectr-container.inverted .selectr-options-container{top:auto;bottom:calc(100% - 1px)}.selectr-container ::-webkit-input-placeholder{color:#6c7a86;opacity:1}.selectr-container ::-moz-placeholder{color:#6c7a86;opacity:1}.selectr-container :-ms-input-placeholder{color:#6c7a86;opacity:1}.selectr-container ::placeholder{color:#6c7a86;opacity:1}.ace_gutter-cell{padding-left:20px;padding-right:16px!important}.ace_editor,.jsoneditor{border-radius:4px}.ace_editor{min-height:300px}.jsoneditor{border:0}.ace-dawn .ace_gutter{background:#ebebeb;color:#333}.ace-dawn .ace_print-margin{width:1px;background:#e8e8e8}.ace-dawn{background-color:#f9f9f9;color:#080808}.ace-dawn .ace_cursor{color:#000}.ace-dawn .ace_marker-layer .ace_selection{background:rgba(39,95,255,.3)}.ace-dawn.ace_multiselect .ace_selection.ace_start{box-shadow:0 0 3px #f9f9f9}.ace-dawn .ace_marker-layer .ace_step{background:rgb(255,255,0)}.ace-dawn .ace_marker-layer .ace_bracket{margin:-1px 0 0 -1px;border:1px solid rgba(75,75,126,.5)}.ace-dawn .ace_marker-layer .ace_active-line{background:rgba(36,99,180,.12)}.ace-dawn .ace_gutter-active-line{background-color:#dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word{border:1px solid rgba(39,95,255,.3)}.ace-dawn .ace_invisible{color:#4b4b7e80}.ace-dawn .ace_keyword,.ace-dawn .ace_meta{color:#794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other{color:#811f24}.ace-dawn .ace_invalid.ace_illegal{text-decoration:underline;font-style:italic;color:#f8f8f8;background-color:#b52a1d}.ace-dawn .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#b52a1d}.ace-dawn .ace_support{color:#691c97}.ace-dawn .ace_support.ace_constant{color:#b4371f}.ace-dawn .ace_fold{background-color:#794938;border-color:#080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function{color:#693a17}.ace-dawn .ace_storage{font-style:italic;color:#a71d5d}.ace-dawn .ace_string{color:#0b6125}.ace-dawn .ace_string.ace_regexp{color:#cf5628}.ace-dawn .ace_comment{font-style:italic;color:#5a525f}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading{color:#19356d}.ace-dawn .ace_variable{color:#234a97}.ace-dawn .ace_indent-guide{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}.ace-dawn .ace_indent-guide-active{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC) right repeat-y}.ace-nord-dark .ace_gutter{color:#616e88}.ace-nord-dark .ace_print-margin{width:1px;background:#4c566a}.ace-nord-dark{background-color:#2e3440;color:#d8dee9}.ace-nord-dark .ace_entity.ace_other.ace_attribute-name,.ace-nord-dark .ace_storage,.ace-nord-dark .ace_cursor{color:#d8dee9}.ace-nord-dark .ace_string.ace_regexp{color:#bf616a}.ace-nord-dark .ace_marker-layer .ace_active-line,.ace-nord-dark .ace_marker-layer .ace_selection{background:#434c5ecc}.ace-nord-dark.ace_multiselect .ace_selection.ace_start{box-shadow:0 0 3px #2e3440}.ace-nord-dark .ace_marker-layer .ace_step{background:#ebcb8b}.ace-nord-dark .ace_marker-layer .ace_bracket{margin:-1px 0 0 -1px;border:1px solid #88c0d066}.ace-nord-dark .ace_gutter-active-line{background-color:#434c5ecc}.ace-nord-dark .ace_marker-layer .ace_selected-word{border:1px solid #88c0d066}.ace-nord-dark .ace_invisible{color:#4c566a}.ace-nord-dark .ace_keyword,.ace-nord-dark .ace_meta,.ace-nord-dark .ace_support.ace_class,.ace-nord-dark .ace_support.ace_type{color:#81a1c1}.ace-nord-dark .ace_constant.ace_character,.ace-nord-dark .ace_constant.ace_other{color:#d8dee9}.ace-nord-dark .ace_constant.ace_language{color:#5e81ac}.ace-nord-dark .ace_constant.ace_escape{color:#ebcb8b}.ace-nord-dark .ace_constant.ace_numeric{color:#b48ead}.ace-nord-dark .ace_fold{background-color:#4c566a;border-color:#d8dee9}.ace-nord-dark .ace_entity.ace_name.ace_function,.ace-nord-dark .ace_entity.ace_name.ace_tag,.ace-nord-dark .ace_support.ace_function,.ace-nord-dark .ace_variable,.ace-nord-dark .ace_variable.ace_language{color:#8fbcbb}.ace-nord-dark .ace_string{color:#a3be8c}.ace-nord-dark .ace_comment{color:#616e88}.ace-nord-dark .ace_indent-guide{box-shadow:inset -1px 0 #434c5eb3}.ace-nord-dark .ace_indent-guide-active{box-shadow:inset -1px 0 #8395b8b3}.slick-loading .slick-list{background:#fff url(/dashboard/assets/ajax-loader.e7b44c86.gif) center center no-repeat}@font-face{font-family:slick;font-weight:400;font-style:normal;src:url(data:application/vnd.ms-fontobject;base64,AAgAAGQHAAABAAIAAAAAAAIABQkAAAAAAAABAJABAAAAAExQAQAAgCAAAAAAAAAAAAAAAAEAAAAAAAAATxDE8AAAAAAAAAAAAAAAAAAAAAAAAAoAcwBsAGkAYwBrAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHMAbABpAGMAawAAAAAAAAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=);src:url(data:application/vnd.ms-fontobject;base64,AAgAAGQHAAABAAIAAAAAAAIABQkAAAAAAAABAJABAAAAAExQAQAAgCAAAAAAAAAAAAAAAAEAAAAAAAAATxDE8AAAAAAAAAAAAAAAAAAAAAAAAAoAcwBsAGkAYwBrAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHMAbABpAGMAawAAAAAAAAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=) format("embedded-opentype"),url(data:font/woff;base64,d09GRk9UVE8AAAVkAAsAAAAAB1wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAABCAAAAi4AAAKbH/pWDkZGVE0AAAM4AAAAGgAAABxt0civR0RFRgAAA1QAAAAcAAAAIAAyAARPUy8yAAADcAAAAFIAAABgUBj/rmNtYXAAAAPEAAAAUAAAAWIiC0SwaGVhZAAABBQAAAAuAAAANgABMftoaGVhAAAERAAAABwAAAAkA+UCA2htdHgAAARgAAAADgAAAA4ESgBKbWF4cAAABHAAAAAGAAAABgAFUABuYW1lAAAEeAAAANwAAAFuBSeBwnBvc3QAAAVUAAAAEAAAACAAAwABeJw9ks9vEkEUx2cpWyeUoFYgNkHi2Wt7N3rVm3cTs3UVLC4LxIWEQvi1P3i7O1tYLJDAmlgKGEhQrsajf0j7J3jYTXrQWUrMJG+++b55n5e8NwwKBhHDMLv5kxT3ATEBxKBn3qOAl9zxHgb1MAPhHQgHkyF08Gr/L8B/Eb6zWnmCJ7AJVLubQOheArXvJ1A4EXi6j4I+Zg9F0QFKvsnlBCmXeve+sFEnb/nCptdtQ4QYhVFRAT1HrF8UQK/RL/SbmUbclsvGVFXRZKDHUE38cc4qpkbAAsuwiImvro+ufcfaOIQ6szlrmjRJDaKZKnbjN3GWKIbiIzRFUfCffuxxKOL+3LDlDVvx2TdxN84qZEsnhNBa6pgm2dAsnzbLsETdsmRFxUeHV4e+I2/ptN8TyqV8T3Dt29t7EYOuajVIw2y1Wy3M86w0zg/Fz2IvawmQAUHOVrPVfLkoScVynsqsTG0MGUs4z55nh3mnOJa+li+rl9WpPIcFfDubDeaDC+fLBdYN3QADzLauGfj4B6sZmq6CCpqmtSvF0qlUl2qf5AJIUCSlTqlb7lUG+LRfGzZGzZEyBgccMu6MuqPecNDvD4Y9Kjtj4gD+DsvKVMTcMdtqtZtmkzQstQvYje7Syep0PDSAhSOeHYXYWThEF//A/0YvYV1fSQtpKU5STtrhbQ444OtpKSWJIg3pOg8cBs7maTY1EZf07aq+hjWs7IWzdCYTGhb2CtZ47x+Uhx28AAB4nGNgYGBkAIJz765vANHnCyvqYTQAWnkHswAAeJxjYGRgYOADYgkGEGBiYARCFjAG8RgABHYAN3icY2BmYmCcwMDKwMHow5jGwMDgDqW/MkgytDAwMDGwcjKAQQMDAyOQUmCAgoA01xQGB4ZExUmMD/4/YNBjvP3/NgNEDQPjbbBKBQZGADfLDgsAAHicY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQzMCQqKClOUJz0/z9YHRLv/+L7D+8V3cuHmgAHjGwM6ELUByxUMIOZCmbgAAA5LQ8XeJxjYGRgYABiO68w73h+m68M3EwMIHC+sKIeTqsyqDLeZrwN5HIwgKUB/aYJUgAAeJxjYGRgYLzNwMCgx8QAAkA2IwMqYAIAMGIB7QIAAAACAAAlACUAJQAlAAAAAFAAAAUAAHicbY49asNAEIU/2ZJDfkiRIvXapUFCEqpcptABUrg3ZhEiQoKVfY9UqVLlGDlADpAT5e16IUWysMz3hjfzBrjjjQT/EjKpCy+4YhN5yZoxcirPe+SMWz4jr6S+5UzSa3VuwpTnBfc8RF7yxDZyKs9r5IxHPiKv1P9iZqDnyAvMQ39UecbScVb/gJO03Xk4CFom3XYK1clhMdQUlKo7/d9NF13RkIdfy+MV7TSe2sl11tRFaXYmJKpWTd7kdVnJ8veevZKc+n3I93t9Jnvr5n4aTVWU/0z9AI2qMkV4nGNgZkAGjAxoAAAAjgAF) format("woff"),url(data:font/ttf;base64,AAEAAAANAIAAAwBQRkZUTW3RyK8AAAdIAAAAHEdERUYANAAGAAAHKAAAACBPUy8yT/b9sgAAAVgAAABWY21hcCIPRb0AAAHIAAABYmdhc3D//wADAAAHIAAAAAhnbHlmP5u2YAAAAzwAAAIsaGVhZAABMfsAAADcAAAANmhoZWED5QIFAAABFAAAACRobXR4BkoASgAAAbAAAAAWbG9jYQD2AaIAAAMsAAAAEG1heHAASwBHAAABOAAAACBuYW1lBSeBwgAABWgAAAFucG9zdC+zMgMAAAbYAAAARQABAAAAAQAA8MQQT18PPPUACwIAAAAAAM9xeH8AAAAAz3F4fwAlACUB2wHbAAAACAACAAAAAAAAAAEAAAHbAAAALgIAAAAAAAHbAAEAAAAAAAAAAAAAAAAAAAAEAAEAAAAHAEQAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQkAAAAAAACAAAABAAAAIAAAAAAAAAAAUGZFZABAAGEhkgHg/+AALgHb/9sAAAABAAAAAAAAAgAAAAAAAAACAAAAAgAAJQAlACUAJQAAAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAAAYSAiIZAhkv//AAAAAABhICIhkCGS//8AAP+l3+PedN5xAAEAAAAAAAAAAAAAAAAAAAEGAAABAAAAAAAAAAECAAAAAgAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGAIwAsAEWAAIAJQAlAdsB2wAYACwAAD8BNjQvASYjIg8BBhUUHwEHBhUUHwEWMzI2FAcGBwYiJyYnJjQ3Njc2MhcWF/GCBgaCBQcIBR0GBldXBgYdBQgH7x0eMjB8MDIeHR0eMjB8MDIecYIGDgaCBQUeBQcJBFhYBAkHBR4F0nwwMh4dHR4yMHwwMh4dHR4yAAAAAgAlACUB2wHbABgALAAAJTc2NTQvATc2NTQvASYjIg8BBhQfARYzMjYUBwYHBiInJicmNDc2NzYyFxYXASgdBgZXVwYGHQUIBwWCBgaCBQcIuB0eMjB8MDIeHR0eMjB8MDIecR4FBwkEWFgECQcFHgUFggYOBoIF0nwwMh4dHR4yMHwwMh4dHR4yAAABACUAJQHbAdsAEwAAABQHBgcGIicmJyY0NzY3NjIXFhcB2x0eMjB8MDIeHR0eMjB8MDIeAT58MDIeHR0eMjB8MDIeHR0eMgABACUAJQHbAdsAQwAAARUUBisBIicmPwEmIyIHBgcGBwYUFxYXFhcWMzI3Njc2MzIfARYVFAcGBwYjIicmJyYnJjQ3Njc2NzYzMhcWFzc2FxYB2woIgAsGBQkoKjodHBwSFAwLCwwUEhwcHSIeIBMGAQQDJwMCISspNC8mLBobFBERFBsaLCYvKicpHSUIDAsBt4AICgsLCScnCwwUEhwcOhwcEhQMCw8OHAMDJwMDAgQnFBQRFBsaLCZeJiwaGxQRDxEcJQgEBgAAAAAAAAwAlgABAAAAAAABAAUADAABAAAAAAACAAcAIgABAAAAAAADACEAbgABAAAAAAAEAAUAnAABAAAAAAAFAAsAugABAAAAAAAGAAUA0gADAAEECQABAAoAAAADAAEECQACAA4AEgADAAEECQADAEIAKgADAAEECQAEAAoAkAADAAEECQAFABYAogADAAEECQAGAAoAxgBzAGwAaQBjAGsAAHNsaWNrAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAHMAbABpAGMAawAgADoAIAAxADQALQA0AC0AMgAwADEANAAARm9udEZvcmdlIDIuMCA6IHNsaWNrIDogMTQtNC0yMDE0AABzAGwAaQBjAGsAAHNsaWNrAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABzAGwAaQBjAGsAAHNsaWNrAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAABwAAAAEAAgECAQMAhwBECmFycm93cmlnaHQJYXJyb3dsZWZ0AAAAAAAAAf//AAIAAQAAAA4AAAAYAAAAAAACAAEAAwAGAAEABAAAAAIAAAAAAAEAAAAAzu7XsAAAAADPcXh/AAAAAM9xeH8=) format("truetype"),url(/dashboard/assets/slick.12459f22.svg#slick) format("svg")}.slick-prev,.slick-next{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:20px;height:20px;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translateY(-50%);cursor:pointer;color:transparent;border:none;outline:none;background:transparent}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:none;background:transparent}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:.25}.slick-prev:before,.slick-next:before{font-family:slick;font-size:20px;line-height:1;opacity:.75;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:-25px}[dir=rtl] .slick-prev{right:-25px;left:auto}.slick-prev:before{content:"\2190"}[dir=rtl] .slick-prev:before{content:"\2192"}.slick-next{right:-25px}[dir=rtl] .slick-next{right:auto;left:-25px}.slick-next:before{content:"\2192"}[dir=rtl] .slick-next:before{content:"\2190"}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{position:absolute;bottom:-25px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:none;background:transparent}.slick-dots li button:hover,.slick-dots li button:focus{outline:none}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1}.slick-dots li button:before{font-family:slick;font-size:6px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:"\2022";text-align:center;opacity:.25;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:.75;color:#000}.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-track,.slick-slider .slick-list{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translateZ(0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:before,.slick-track:after{display:table;content:""}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.bg-blue-animate{animation:blur-animate .2s ease-in;backdrop-filter:blur(10px)}@keyframes blur-animate{0%{backdrop-filter:blur(1px)}to{backdrop-filter:blur(10px)}}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}table thead th:first-of-type{border-top-left-radius:8px}table thead th:last-of-type{border-top-right-radius:8px}.last-row td:first-of-type{border-bottom-left-radius:8px}.last-row td:last-of-type{border-bottom-right-radius:8px}.slick-prev{left:-40px}.slick-next{right:-40px}.slick-prev,.slick-next{z-index:100}.chakra-popover__popper{z-index:9999!important}.inbound-item .chakra-checkbox__label{max-width:100%;width:100%}.react-datepicker__navigation.react-datepicker__navigation--previous,.react-datepicker__navigation.react-datepicker__navigation--next{padding-top:6px}.react-datepicker{background-color:var(--chakra-colors-white)!important;border:1px solid var(--chakra-colors-gray-200);border-radius:var(--chakra-radii-md)!important;position:relative}.chakra-ui-dark .react-datepicker{background-color:var(--chakra-colors-gray-700)!important;border:1px solid var(--chakra-colors-gray-600);border-radius:var(--chakra-radii-md)!important;position:relative}.react-datepicker__header{text-align:center;background-color:unset;position:relative;border-bottom:1px solid var(--chakra-colors-gray-200)}.chakra-ui-dark .react-datepicker__header{border-bottom:1px solid var(--chakra-colors-gray-600)}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{border-top:none;border-bottom-color:var(--chakra-colors-white)}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:var(--chakra-colors-gray-200)}.chakra-ui-dark .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{border-top:none;border-bottom-color:var(--chakra-colors-gray-700)}.chakra-ui-dark .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:var(--chakra-colors-gray-600)}.react-datepicker__current-month,.react-datepicker__day-name,.react-datepicker__day{color:var(--chakra-colors-chakra-body-text)!important}.chakra-ui-dark .react-datepicker__current-month,.chakra-ui-dark .react-datepicker__day-name,.chakra-ui-dark .react-datepicker__day{color:var(--chakra-colors-gray-300)!important}.react-datepicker__day:hover{border-radius:.3rem;background-color:var(--chakra-colors-primary-300)!important;color:var(--chakra-colors-white)!important}.chakra-ui-dark .react-datepicker__day:hover{border-radius:.3rem;background-color:var(--chakra-colors-primary-500)!important;color:var(--chakra-colors-gray-800)!important}.react-datepicker__day--disabled{color:var(--chakra-colors-gray-400)!important}.react-datepicker__day--disabled:hover{background-color:transparent!important;color:var(--chakra-colors-gray-400)!important}.chakra-ui-dark .react-datepicker__day--disabled{color:var(--chakra-colors-gray-500)!important}.chakra-ui-dark .react-datepicker__day--disabled:hover{background-color:transparent!important;color:var(--chakra-colors-gray-500)!important}.react-datepicker__day--keyboard-selected,.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range{border-radius:.3rem;background-color:var(--chakra-colors-primary-500)!important;color:var(--chakra-colors-white)!important}.chakra-ui-dark .react-datepicker__day--keyboard-selected,.chakra-ui-dark .react-datepicker__day--selected,.chakra-ui-dark .react-datepicker__day--in-selecting-range,.chakra-ui-dark .react-datepicker__day--in-range{border-radius:.3rem;background-color:var(--chakra-colors-primary-200)!important;color:var(--chakra-colors-gray-800)!important}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range){border-radius:.3rem;background-color:var(--chakra-colors-primary-400)!important}.chakra-ui-dark .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range){border-radius:.3rem;background-color:var(--chakra-colors-primary-400)!important}.react-datepicker__day--outside-month{visibility:hidden}.datepicker-panel .react-datepicker{background-color:unset;border:unset;border-radius:unset;display:inline-block;position:relative}.green{background:#66ff99}.red{background:#e53e3e}.orange{background:#fbd38d}.bx-shadow{box-shadow:0 0 8px 3px #e6dddd1a}.circle{min-width:10px;min-height:10px;border-radius:50%;box-shadow:0 0 1px 1px #0000001a}.pulse{animation:pulse-animation 3s infinite}.pulse.green{animation:green-pulse-animation 3s infinite}.pulse.red{animation:red-pulse-animation 3s infinite}.pulse.orange{animation:orange-pulse-animation 3s infinite}@keyframes pulse-animation{0%{box-shadow:0 0 #0006}to{box-shadow:0 0 0 10px #0000}}@keyframes green-pulse-animation{0%{box-shadow:0 0 #66ff9975}to{box-shadow:0 0 0 10px #6f90}}@keyframes red-pulse-animation{0%{box-shadow:0 0 #e53e3e8c}to{box-shadow:0 0 0 10px #e53e3e00}}@keyframes orange-pulse-animation{0%{box-shadow:0 0 #fbd38d85}to{box-shadow:0 0 0 10px #fbd38d00}}.flex-status{display:flex;align-items:center;justify-content:start;gap:.7rem} diff --git a/app/dashboard/build/assets/index.aa165fd5.js b/app/dashboard/build/assets/index.aa165fd5.js new file mode 100644 index 000000000..0884af4a4 --- /dev/null +++ b/app/dashboard/build/assets/index.aa165fd5.js @@ -0,0 +1,14 @@ +import{i as jt,B as un,a as hn,b as pn,j as Er,d as B,U as Yt,z as mn,r as gn,f as fn,Q as bn,e as xn,$ as yn,c as Lt,g as w,h as Sn,C as wn,k as Tt,u as At,l as j,m as r,H as _,n as e,T as d,o as Cn,p as v,s as _n,q as f,t as gt,J as kn,v as S,w as Rr,A as Mt,x as vn,y as In,M as le,D as ce,E as de,F as ue,G as he,I as ye,K as Ge,L as Lr,N as Dn,O as ht,P as pe,R as T,S as H,V as Tr,W as te,X as R,Y as be,Z as V,_ as Te,a0 as Ae,a1 as P,a2 as ft,a3 as st,a4 as zn,a5 as Re,a6 as We,a7 as Un,a8 as Ar,a9 as Mr,aa as ct,ab as vt,ac as En,ad as He,ae as It,af as or,ag as Rn,ah as Nr,ai as Pr,aj as Fr,ak as xe,al as Ln,am as Tn,an as An,ao as Mn,ap as Nn,aq as Zt,ar as Wr,as as Or,at as ie,au as sr,av as Pn,aw as Fn,ax as Wn,ay as Ht,az as On,aA as jn,aB as Hn,aC as Bn,aD as $n,aE as Vn,aF as Dt,aG as Gn,aH as Yn,aI as Zn,aJ as Qn,aK as qn,aL as bt,aM as jr,aN as xt,aO as N,aP as Qt,aQ as Xn,aR as Be,aS as $e,aT as Bt,aU as Ve,aV as Jn,aW as _e,aX as ke,aY as ve,aZ as Ie,a_ as De,a$ as ze,b0 as ar,b1 as Kn,b2 as zt,b3 as dt,b4 as qt,b5 as eo,b6 as to,b7 as ro,b8 as Hr,b9 as no,ba as pt,bb as Ut,bc as Br,bd as oo,be as so,bf as $r,bg as Fe,bh as ao,bi as io,bj as lo,bk as Xt,bl as Nt,bm as ir,bn as Vr,bo as co,bp as uo,bq as lr,br as ho,bs as cr,bt as Gr,bu as po,bv as Yr,bw as mo,bx as go,by as Zr,bz as fo,bA as bo,bB as Qr,bC as qr,bD as Xr,bE as X,bF as xo,bG as Jr,bH as Pt,bI as yo,bJ as So,bK as wo,bL as Co,bM as _o,bN as ko,bO as Kr,bP as vo,bQ as dr,bR as ur,bS as je,bT as Ue,bU as hr,bV as fe,bW as pr,bX as Io,bY as Do,bZ as zo,b_ as Uo,b$ as Eo,c0 as Ro,c1 as Lo,c2 as To,c3 as Ao,c4 as Mo,c5 as No,c6 as Po,c7 as Fo,c8 as Wo,c9 as Oo,ca as jo,cb as Ho}from"./vendor.23e3f149.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function o(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerpolicy&&(i.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?i.credentials="include":a.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(a){if(a.ep)return;a.ep=!0;const i=o(a);fetch(a.href,i)}})();jt.use(un).use(hn).use(pn).init({debug:{}.NODE_ENV==="development",returnNull:!1,fallbackLng:"en",interpolation:{escapeValue:!1},react:{useSuspense:!1},load:"languageOnly",detection:{caches:["localStorage","sessionStorage","cookie"]},backend:{loadPath:Er(["/dashboard/","locales/{{lng}}.json"])}},function(t,n){B.locale(jt.language)});jt.on("languageChanged",t=>{B.locale(t)});Yt("zh-cn",mn);Yt("ru",gn);Yt("fa",fn);const $t=new bn,en=t=>{const n=document.querySelector('meta[name="theme-color"]');n==null||n.setAttribute("content",t=="dark"?"#1A202C":"#3B81F6")},Bo=xn({shadows:{outline:"0 0 0 2px var(--chakra-colors-primary-200)"},fonts:{body:"Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif"},colors:{"light-border":"#d2d2d4",primary:{50:"#9cb7f2",100:"#88a9ef",200:"#749aec",300:"#618ce9",400:"#4d7de7",500:"#396fe4",600:"#3364cd",700:"#2e59b6",800:"#284ea0",900:"#224389"},gray:{750:"#222C3B"}},components:{Alert:{baseStyle:{container:{borderRadius:"6px",fontSize:"sm"}}},Select:{baseStyle:{field:{_dark:{borderColor:"gray.600",borderRadius:"6px"},_light:{borderRadius:"6px"}}}},FormHelperText:{baseStyle:{fontSize:"xs"}},FormLabel:{baseStyle:{fontSize:"sm",fontWeight:"medium",mb:"1",_dark:{color:"gray.300"}}},Input:{baseStyle:{addon:{_dark:{borderColor:"gray.600",_placeholder:{color:"gray.500"}}},field:{_focusVisible:{boxShadow:"none",borderColor:"primary.200",outlineColor:"primary.200"},_dark:{borderColor:"gray.600",_disabled:{color:"gray.400",borderColor:"gray.500"},_placeholder:{color:"gray.500"}}}}},Table:{baseStyle:{table:{borderCollapse:"separate",borderSpacing:0},thead:{borderBottomColor:"light-border"},th:{background:"#F9FAFB",borderColor:"light-border !important",borderBottomColor:"light-border !important",borderTop:"1px solid ",borderTopColor:"light-border !important",_first:{borderLeft:"1px solid",borderColor:"light-border !important"},_last:{borderRight:"1px solid",borderColor:"light-border !important"},_dark:{borderColor:"gray.600 !important",background:"gray.750"}},td:{transition:"all .1s ease-out",borderColor:"light-border",borderBottomColor:"light-border !important",_first:{borderLeft:"1px solid",borderColor:"light-border",_dark:{borderColor:"gray.600"}},_last:{borderRight:"1px solid",borderColor:"light-border",_dark:{borderColor:"gray.600"}},_dark:{borderColor:"gray.600",borderBottomColor:"gray.600 !important"}},tr:{"&.interactive":{cursor:"pointer",_hover:{"& > td":{bg:"gray.200"},_dark:{"& > td":{bg:"gray.750"}}}},_last:{"& > td":{_first:{borderBottomLeftRadius:"8px"},_last:{borderBottomRightRadius:"8px"}}}}}}}});const Et=()=>localStorage.getItem("token"),$o=t=>{localStorage.setItem("token",t)},Vo=()=>{localStorage.removeItem("token")},Go=yn.create({baseURL:"/api/"}),Yo=(t,n={})=>(Et()&&(n.headers={...(n==null?void 0:n.headers)||{},Authorization:`Bearer ${Et()}`}),Go(t,n)),W=Yo,Zo=Lt(t=>({isLoading:!0,isPostLoading:!1,version:null,started:!1,logs_websocket:null,config:"",fetchCoreSettings:()=>{t({isLoading:!0}),Promise.all([W("/core").then(({version:n,started:o,logs_websocket:s})=>t({version:n,started:o,logs_websocket:s})),W("/core/config").then(n=>t({config:n}))]).finally(()=>t({isLoading:!1}))},updateConfig:n=>(t({isPostLoading:!0}),W("/core/config",{method:"PUT",body:n}).finally(()=>{t({isPostLoading:!1})})),restartCore:()=>W("/core/restart",{method:"POST"})}));function oe(t,n=2,o=!1){if(!+t)return"0 B";const s=1024,a=n<0?0:n,i=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],l=Math.floor(Math.log(t)/Math.log(s));return o?[parseFloat((t/Math.pow(s,l)).toFixed(a)),i[l]]:`${parseFloat((t/Math.pow(s,l)).toFixed(a))} ${i[l]}`}const mr=t=>{if(t!==null)return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},Qo=w(Sn,{baseStyle:{w:5,h:5,position:"relative",zIndex:"2"}}),qo=w(wn,{baseStyle:{w:5,h:5,position:"relative",zIndex:"2"}}),Xo=w(Tt,{baseStyle:{w:5,h:5,position:"relative",zIndex:"2"}}),Ft=({title:t,content:n,icon:o})=>r(Cn,{p:6,borderWidth:"1px",borderColor:"light-border",bg:"#F9FAFB",_dark:{borderColor:"gray.600",bg:"gray.750"},borderStyle:"solid",boxShadow:"none",borderRadius:"12px",width:"full",display:"flex",justifyContent:"space-between",flexDirection:"row",children:[r(_,{alignItems:"center",columnGap:"4",children:[e(v,{p:"2",position:"relative",color:"white",_before:{content:'""',position:"absolute",top:0,left:0,bg:"primary.400",display:"block",w:"full",h:"full",borderRadius:"5px",opacity:".5",z:"1"},_after:{content:'""',position:"absolute",top:"-5px",left:"-5px",bg:"primary.400",display:"block",w:"calc(100% + 10px)",h:"calc(100% + 10px)",borderRadius:"8px",opacity:".4",z:"1"},children:o}),e(d,{color:"gray.600",_dark:{color:"gray.300"},fontWeight:"medium",textTransform:"capitalize",fontSize:"sm",children:t})]}),e(v,{fontSize:"3xl",fontWeight:"semibold",mt:"2",children:n})]}),Vt="statistics-query-key",Jo=t=>{const{version:n}=E(),{data:o}=At({queryKey:Vt,queryFn:()=>W("/system"),refetchInterval:5e3,onSuccess:({version:a})=>{n!==a&&E.setState({version:a})}}),{t:s}=j();return r(_,{justifyContent:"space-between",gap:0,columnGap:{lg:4,md:0},rowGap:{lg:0,base:4},display:"flex",flexDirection:{lg:"row",base:"column"},...t,children:[e(Ft,{title:s("activeUsers"),content:o&&r(_,{alignItems:"flex-end",children:[e(d,{children:mr(o.users_active)}),r(d,{fontWeight:"normal",fontSize:"lg",as:"span",display:"inline-block",pb:"5px",children:["/ ",mr(o.total_user)]})]}),icon:e(Qo,{})}),e(Ft,{title:s("dataUsage"),content:o&&oe(o.incoming_bandwidth+o.outgoing_bandwidth),icon:e(qo,{})}),e(Ft,{title:s("memoryUsage"),content:o&&r(_,{alignItems:"flex-end",children:[e(d,{children:oe(o.mem_used,1,!0)[0]}),r(d,{fontWeight:"normal",fontSize:"lg",as:"span",display:"inline-block",pb:"5px",children:[oe(o.mem_used,1,!0)[1]," /"," ",oe(o.mem_total,1)]})]}),icon:e(Xo,{})})]})},tn="marzban-num-users-per-page",gr=10,Ko=()=>{const t=localStorage.getItem(tn)||gr.toString();return parseInt(t)||gr},es=t=>localStorage.setItem(tn,t),ts=t=>{for(const n in t)t[n]||delete t[n];return E.setState({loading:!0}),W("/users",{query:t}).then(n=>(E.setState({users:n}),n)).finally(()=>{E.setState({loading:!1})})},rs=()=>W("/inbounds").then(t=>{E.setState({inbounds:new Map(Object.entries(t))})}).finally(()=>{E.setState({loading:!1})}),E=Lt(_n((t,n)=>({version:null,editingUser:null,deletingUser:null,isCreatingNewUser:!1,QRcodeLinks:null,subscribeUrl:null,users:{users:[],total:0},loading:!0,isResetingAllUsage:!1,isEditingHosts:!1,isEditingNodes:!1,isShowingNodesUsage:!1,resetUsageUser:null,revokeSubscriptionUser:null,filters:{username:"",limit:Ko(),sort:"-created_at"},inbounds:new Map,isEditingCore:!1,refetchUsers:()=>{ts(n().filters)},resetAllUsage:()=>W("/users/reset",{method:"POST"}).then(()=>{n().onResetAllUsage(!1),n().refetchUsers()}),onResetAllUsage:o=>t({isResetingAllUsage:o}),onCreateUser:o=>t({isCreatingNewUser:o}),onEditingUser:o=>{t({editingUser:o})},onDeletingUser:o=>{t({deletingUser:o})},onFilterChange:o=>{t({filters:{...n().filters,...o}}),n().refetchUsers()},setQRCode:o=>{t({QRcodeLinks:o})},deleteUser:o=>(t({editingUser:null}),W(`/user/${o.username}`,{method:"DELETE"}).then(()=>{t({deletingUser:null}),n().refetchUsers(),$t.invalidateQueries(Vt)})),createUser:o=>W("/user",{method:"POST",body:o}).then(()=>{t({editingUser:null}),n().refetchUsers(),$t.invalidateQueries(Vt)}),editUser:o=>W(`/user/${o.username}`,{method:"PUT",body:o}).then(()=>{n().onEditingUser(null),n().refetchUsers()}),fetchUserUsage:(o,s)=>{for(const a in s)s[a]||delete s[a];return W(`/user/${o.username}/usage`,{method:"GET",query:s})},onEditingHosts:o=>{t({isEditingHosts:o})},onEditingNodes:o=>{t({isEditingNodes:o})},onShowingNodesUsage:o=>{t({isShowingNodesUsage:o})},setSubLink:o=>{t({subscribeUrl:o})},resetDataUsage:o=>W(`/user/${o.username}/reset`,{method:"POST"}).then(()=>{t({resetUsageUser:null}),n().refetchUsers()}),revokeSubscription:o=>W(`/user/${o.username}/revoke_sub`,{method:"POST"}).then(s=>{t({revokeSubscriptionUser:null,editingUser:s}),n().refetchUsers()})}))),me=({children:t,color:n})=>e(v,{position:"relative",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center",_before:{content:'""',display:"block",position:"absolute",top:"0",left:"0",width:"calc(100%)",height:"calc(100%)",bg:`${n}.400`,opacity:".5",borderRadius:"5px",zIndex:"1",_dark:{bg:`${n}.400`}},_after:{content:'""',display:"block",position:"absolute",top:"0",left:"0",width:"calc(100% + 10px)",height:"calc(100% + 10px)",transform:"translate(-5px, -5px)",bg:`${n}.400`,opacity:".4",borderRadius:"8px",zIndex:"1",_dark:{bg:`${n}.400`}},children:e(d,{color:`${n}.500`,_dark:{color:`${n}.900`},position:"relative",zIndex:"2",children:t})});window.ace.define("ace/theme/nord_dark",["require","exports","module","ace/lib/dom"],(t,n,o)=>{n.isDark=!0,n.cssClass="ace-nord-dark",t("../lib/dom").importCssString(n.cssText,n.cssClass)});window.ace.define("ace/theme/dawn",["require","exports","module","ace/lib/dom"],(t,n,o)=>{n.isDark=!1,n.cssClass="ace-dawn",t("../lib/dom").importCssString(n.cssText,n.cssClass)});const ns=f.exports.forwardRef(({json:t,onChange:n,mode:o="code"},s)=>{const{colorMode:a}=gt(),i={mode:o,onChangeText:n,statusBar:!1,mainMenuBar:!1,theme:a==="dark"?"ace/theme/nord_dark":"ace/theme/dawn"},l=f.exports.useRef(null),m=f.exports.useRef(null);return f.exports.useEffect(()=>(m.current=new kn(l.current,i),()=>{m.current&&m.current.destroy()}),[]),f.exports.useEffect(()=>{m.current&&m.current.update(t)},[t]),e(v,{ref:s,border:"1px solid",borderColor:"gray.300",_dark:{borderColor:"gray.500"},borderRadius:5,h:"full",children:e(v,{height:"full",ref:l})})}),rn=S.object({name:S.string().min(1),address:S.string().min(1),port:S.number().min(1).or(S.string().transform(t=>parseFloat(t))),api_port:S.number().min(1).or(S.string().transform(t=>parseFloat(t))),xray_version:S.string().nullable().optional(),id:S.number().nullable().optional(),status:S.enum(["connected","connecting","error","disabled"]).nullable().optional(),message:S.string().nullable().optional(),add_as_new_host:S.boolean().optional(),usage_coefficient:S.number().or(S.string().transform(t=>parseFloat(t)))}),os=()=>({name:"",address:"",port:62050,api_port:62051,xray_version:"",usage_coefficient:1}),mt="fetch-nodes-query-key",nn=()=>{const{isEditingNodes:t}=E();return At({queryKey:mt,queryFn:yt.getState().fetchNodes,refetchInterval:t?3e3:void 0,refetchOnWindowFocus:!1})},yt=Lt((t,n)=>({nodes:[],addNode(o){return W("/node",{method:"POST",body:o})},fetchNodes(){return W("/nodes")},fetchNodesUsage(o){return W("/nodes/usage",{query:o})},updateNode(o){return W(`/node/${o.id}`,{method:"PUT",body:o})},setDeletingNode(o){t({deletingNode:o})},reconnectNode(o){return W(`/node/${o.id}/reconnect`,{method:"POST"})},deleteNode:()=>{var o;return W(`/node/${(o=n().deletingNode)==null?void 0:o.id}`,{method:"DELETE"})}})),fr=500,ss=w(Rr,{baseStyle:{w:5,h:5}}),as=w(Mt,{baseStyle:{w:4,h:4}}),is=w(vn,{baseStyle:{w:4,h:4}}),ls=w(In,{baseStyle:{w:3,h:3}}),cs=t=>({[st.ReadyState.CONNECTING]:"connecting",[st.ReadyState.OPEN]:"connected",[st.ReadyState.CLOSING]:"closed",[st.ReadyState.CLOSED]:"closed",[st.ReadyState.UNINSTANTIATED]:"closed"})[t],ds=t=>{try{let n=new URL("/api/".startsWith("/")?window.location.origin+"/api/":"/api/");return(n.protocol==="https:"?"wss://":"ws://")+Er([n.host+n.pathname,t?`/node/${t}/logs`:"/core/logs"])+"?interval=1&token="+Et()}catch(n){return console.error("Unable to generate websocket url"),console.error(n),null}};let Ne=[];const us=()=>{const{data:t}=nn(),n=!1,[o,s]=f.exports.useState(""),a=(U,q)=>{U!==o&&(U==="host"?(s(""),C([])):(s(U),C([])))},{isEditingCore:i}=E(),{fetchCoreSettings:l,updateConfig:m,isLoading:g,config:y,isPostLoading:x,version:b,restartCore:u}=Zo(),p=f.exports.useRef(null),[I,C]=f.exports.useState([]),{t:L}=j(),h=ye(),c=Ge({defaultValues:{config:y||{}}});f.exports.useEffect(()=>{y&&c.setValue("config",y)},[y]),f.exports.useEffect(()=>{i&&l()},[i]);const F=f.exports.useRef(!0),$=f.exports.useCallback(Lr(U=>{var ae,Me,K;const q=Math.abs((((ae=p.current)==null?void 0:ae.scrollTop)||0)-(((Me=p.current)==null?void 0:Me.scrollHeight)||0)+(((K=p.current)==null?void 0:K.offsetHeight)||0))<10;p.current&&q?F.current=!0:F.current=!1,U.length<40&&C(U)},300),[]),{readyState:D}=Dn(ds(o),{onMessage:U=>{Ne.push(U.data),Ne.length>fr&&(Ne=Ne.splice(0,Ne.length-fr)),$([...Ne])},shouldReconnect:()=>!0,reconnectAttempts:10,reconnectInterval:1e3});f.exports.useEffect(()=>{var U;p.current&&F.current&&(p.current.scrollTop=(U=p.current)==null?void 0:U.scrollHeight)},[I]),f.exports.useEffect(()=>()=>{Ne=[]},[]);const M=cs(D.toString()),{mutate:Z,isLoading:Q}=ht(u),J=({config:U})=>{m(U).then(()=>{h({title:L("core.successMessage"),status:"success",isClosable:!0,position:"top",duration:3e3})}).catch(q=>{let ae=L("core.generalErrorMessage");typeof q.response._data.detail=="object"&&(ae=q.response._data.detail[Object.keys(q.response._data.detail)[0]]),typeof q.response._data.detail=="string"&&(ae=q.response._data.detail),h({title:ae,status:"error",isClosable:!0,position:"top",duration:3e3})})},re=f.exports.useRef(null),[se,z]=f.exports.useState(!1),O=()=>{var U;document.fullscreenElement?(document.exitFullscreen(),z(!1)):((U=re.current)==null||U.requestFullscreen(),z(!0))};return r("form",{onSubmit:c.handleSubmit(J),children:[r(pe,{children:[r(T,{children:[r(_,{justifyContent:"space-between",alignItems:"flex-start",children:[r(H,{children:[L("core.configuration")," ",g&&e(Tr,{isIndeterminate:!0,size:"15px"})]}),e(_,{gap:0,children:e(te,{label:"Xray Version",placement:"top",children:e(R,{height:"100%",textTransform:"lowercase",children:b&&`v${b}`})})})]}),r(v,{position:"relative",ref:re,minHeight:"300px",children:[e(be,{control:c.control,name:"config",render:({field:U})=>e(ns,{json:y,onChange:U.onChange})}),e(V,{size:"xs","aria-label":"full screen",variant:"ghost",position:"absolute",top:"2",right:"4",onClick:O,children:se?e(ls,{}):e(is,{})})]})]}),r(T,{mt:"4",children:[r(_,{justifyContent:"space-between",style:{paddingBottom:"1rem"},children:[r(_,{children:[(t==null?void 0:t[0])&&r(Te,{size:"sm",style:{width:"auto"},disabled:n,bg:"transparent",_dark:{bg:"transparent"},onChange:U=>a(U.currentTarget.value,U.currentTarget.selectedOptions[0].text),children:[e("option",{value:"host",defaultChecked:!0,children:"Master"},"host"),t&&t.map(U=>e("option",{value:String(U.id),children:L(U.name)},U.address))]}),e(H,{className:"w-au",children:L("core.logs")})]}),e(d,{as:H,children:L(`core.socket.${M}`)})]}),e(v,{border:"1px solid",borderColor:"gray.300",bg:"#F9F9F9",_dark:{borderColor:"gray.500",bg:"#2e3440"},borderRadius:5,minHeight:"200px",maxHeight:"250px",p:2,overflowY:"auto",ref:p,children:I.map((U,q)=>e(d,{fontSize:"xs",opacity:.8,whiteSpace:"pre-line",children:U},q))})]})]}),e(Ae,{children:r(_,{w:"full",justifyContent:"space-between",children:[e(_,{children:e(v,{children:e(P,{size:"sm",leftIcon:e(as,{className:ft({"animate-spin":Q})}),onClick:()=>Z(),children:L(Q?"core.restarting":"core.restartCore")})})}),e(_,{children:e(P,{size:"sm",variant:"solid",colorScheme:"primary",px:"5",type:"submit",isDisabled:g||x,isLoading:x,children:L("core.save")})})]})})]})},hs=()=>{const{isEditingCore:t}=E(),n=E.setState.bind(null,{isEditingCore:!1}),{t:o}=j();return r(le,{isOpen:t,onClose:n,size:"3xl",children:[e(ce,{bg:"blackAlpha.300",backdropFilter:"blur(10px)"}),r(de,{mx:"3",w:"full",children:[e(ue,{pt:6,children:r(_,{gap:2,children:[e(me,{color:"primary",children:e(ss,{color:"white"})}),e(d,{fontWeight:"semibold",fontSize:"lg",children:o("core.title")})]})}),e(he,{mt:3}),e(us,{})]})]})},St=w(zn,{baseStyle:{w:5,h:5}}),ps=()=>{const[t,n]=f.exports.useState(!1),{deletingUser:o,onDeletingUser:s,deleteUser:a}=E(),{t:i}=j(),l=ye(),m=()=>{s(null)},g=()=>{o&&(n(!0),a(o).then(()=>{l({title:i("deleteUser.deleteSuccess",{username:o.username}),status:"success",isClosable:!0,position:"top",duration:3e3})}).then(m).finally(n.bind(null,!1)))};return r(le,{isCentered:!0,isOpen:!!o,onClose:m,size:"sm",children:[e(ce,{bg:"blackAlpha.300",backdropFilter:"blur(10px)"}),r(de,{mx:"3",children:[e(ue,{pt:6,children:e(me,{color:"red",children:e(St,{})})}),e(he,{mt:3}),r(pe,{children:[e(d,{fontWeight:"semibold",fontSize:"lg",children:i("deleteUser.title")}),o&&e(d,{mt:1,fontSize:"sm",_dark:{color:"gray.400"},color:"gray.600",children:e(Re,{components:{b:e("b",{})},children:i("deleteUser.prompt",{username:o.username})})})]}),r(Ae,{display:"flex",children:[e(P,{size:"sm",onClick:m,mr:3,w:"full",variant:"outline",children:i("cancel")}),e(P,{size:"sm",w:"full",colorScheme:"red",onClick:g,leftIcon:t?e(We,{size:"xs"}):void 0,children:i("delete")})]})]})]})},Jt={baseStyle:{w:4,h:4}},ms=w(Un,Jt),gs=w(Ar,Jt),Kt=w(Mt,Jt),fs=Lr(t=>{E.getState().onFilterChange({...E.getState().filters,offset:0,search:t})},300),bs=({...t})=>{const{loading:n,filters:o,onFilterChange:s,refetchUsers:a,onCreateUser:i}=E(),{t:l}=j(),[m,g]=f.exports.useState(""),y=b=>{g(b.target.value),fs(b.target.value)},x=()=>{g(""),s({...o,offset:0,search:""})};return r(Mr,{id:"filters",templateColumns:{lg:"repeat(3, 1fr)",md:"repeat(4, 1fr)",base:"repeat(1, 1fr)"},position:"sticky",top:0,mx:"-6",px:"6",rowGap:4,gap:{lg:4,base:0},bg:"var(--chakra-colors-chakra-body-bg)",py:4,zIndex:"docked",...t,children:[e(ct,{colSpan:{base:1,md:2,lg:1},order:{base:2,md:1},children:r(vt,{children:[e(En,{pointerEvents:"none",children:e(ms,{})}),e(He,{placeholder:l("search"),value:m,borderColor:"light-border",onChange:y}),r(It,{children:[n&&e(We,{size:"xs"}),o.search&&o.search.length>0&&e(V,{onClick:x,"aria-label":"clear",size:"xs",variant:"ghost",children:e(gs,{})})]})]})}),e(ct,{colSpan:2,order:{base:1,md:2},children:r(_,{justifyContent:"flex-end",alignItems:"center",h:"full",children:[e(V,{"aria-label":"refresh users",disabled:n,onClick:a,size:"sm",variant:"outline",children:e(Kt,{className:ft({"animate-spin":n})})}),e(P,{colorScheme:"primary",size:"sm",onClick:()=>i(!0),px:5,children:l("createUser")})]})})]})},on="https://github.com/Gozargah/Marzban",xs="https://github.com/Gozargah",ys="https://github.com/Gozargah/Marzban#donation",sn=t=>{const{version:n}=E();return e(_,{w:"full",py:"0",position:"relative",...t,children:r(d,{display:"inline-block",flexGrow:1,textAlign:"center",color:"gray.500",fontSize:"xs",children:[e(or,{color:"blue.400",href:on,children:"Marzban"}),n?` (v${n}), `:", ","Made with \u2764\uFE0F in"," ",e(or,{color:"blue.400",href:xs,children:"Gozargah"})]})})},Ss=w(Rn,{baseStyle:{w:4,h:4}}),an=({actions:t})=>{const{i18n:n}=j();var o=s=>{n.changeLanguage(s)};return r(Nr,{placement:"bottom-end",children:[e(Pr,{as:V,size:"sm",variant:"outline",icon:e(Ss,{}),position:"relative"}),r(Fr,{minW:"100px",zIndex:9999,children:[e(xe,{maxW:"100px",fontSize:"sm",onClick:()=>o("en"),children:"English"}),e(xe,{maxW:"100px",fontSize:"sm",onClick:()=>o("fa"),children:"\u0641\u0627\u0631\u0633\u06CC"}),e(xe,{maxW:"100px",fontSize:"sm",onClick:()=>o("zh-cn"),children:"\u7B80\u4F53\u4E2D\u6587"}),e(xe,{maxW:"100px",fontSize:"sm",onClick:()=>o("ru"),children:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"})]})]})},ws=async()=>await W("/admin"),Cs=()=>{const{data:t,isError:n,isLoading:o,isSuccess:s,error:a}=At({queryFn:()=>ws()});return{userData:t||{discord_webook:"",is_sudo:!1,telegram_id:"",username:""},getUserIsPending:o,getUserIsSuccess:s,getUserIsError:n,getUserError:a}},Se={baseStyle:{w:4,h:4}},_s=w(Ln,Se),ks=w(Tn,Se),vs=w(Rr,Se),Is=w(An,Se),Ds=w(Mn,Se),zs=w(Nn,Se),Us=w(Zt,Se),Es=w(Wr,Se),Rs=w(Tt,Se),Ls=w(Or,Se),br=w(v,{baseStyle:{bg:"yellow.500",w:"2",h:"2",rounded:"full",position:"absolute"}}),ln="marzban-menu-notification",Ts=()=>{const t=localStorage.getItem(ln);if(!t)return!0;try{return t&&Fn(parseInt(t))?Wn(new Date,new Date(parseInt(t)))>=7:!0}catch{return!0}},As=({actions:t})=>{const{userData:n,getUserIsSuccess:o,getUserIsPending:s}=Cs(),a=()=>!s&&o?n.is_sudo:!1,{onEditingHosts:i,onResetAllUsage:l,onEditingNodes:m,onShowingNodesUsage:g}=E(),{t:y}=j(),{colorMode:x,toggleColorMode:b}=gt(),[u,p]=f.exports.useState(Ts()),I=x==="dark"?"dark_dimmed":x,C=()=>{localStorage.setItem(ln,new Date().getTime().toString()),p(!1)};return r(_,{gap:2,justifyContent:"space-between",__css:{"& .menuList":{direction:"ltr"}},position:"relative",children:[e(d,{as:"h1",fontWeight:"semibold",fontSize:"2xl",children:y("users")}),u&&e(br,{top:"0",right:"0",zIndex:9999}),e(v,{overflow:"auto",css:{direction:"rtl"},children:r(_,{alignItems:"center",children:[r(Nr,{children:[e(Pr,{as:V,size:"sm",variant:"outline",icon:e(ie,{children:e(Is,{})}),position:"relative"}),r(Fr,{minW:"170px",zIndex:99999,className:"menuList",children:[a()&&r(ie,{children:[e(xe,{maxW:"170px",fontSize:"sm",icon:e(Us,{}),onClick:i.bind(null,!0),children:y("header.hostSettings")}),e(xe,{maxW:"170px",fontSize:"sm",icon:e(Es,{}),onClick:m.bind(null,!0),children:y("header.nodeSettings")}),e(xe,{maxW:"170px",fontSize:"sm",icon:e(Rs,{}),onClick:g.bind(null,!0),children:y("header.nodesUsage")}),e(xe,{maxW:"170px",fontSize:"sm",icon:e(Ls,{}),onClick:l.bind(null,!0),children:y("resetAllUsage")})]}),e(sr,{to:ys,target:"_blank",children:r(xe,{maxW:"170px",fontSize:"sm",icon:e(zs,{}),position:"relative",onClick:C,children:[y("header.donation")," ",u&&e(br,{top:"3",right:"2"})]})}),e(sr,{to:"/login",children:e(xe,{maxW:"170px",fontSize:"sm",icon:e(Ds,{}),children:y("header.logout")})})]})]}),a()&&e(V,{size:"sm",variant:"outline","aria-label":"core settings",onClick:()=>{E.setState({isEditingCore:!0})},children:e(vs,{})}),e(an,{}),e(V,{size:"sm",variant:"outline","aria-label":"switch theme",onClick:()=>{en(x=="dark"?"light":"dark"),b()},children:x==="light"?e(_s,{}):e(ks,{})}),e(v,{css:{direction:"ltr"},display:"flex",alignItems:"center",pr:"2",__css:{"& span":{display:"inline-flex"}},children:e(Pn,{href:on,"data-color-scheme":`no-preference: ${I}; light: ${I}; dark: ${I};`,"data-size":"large","data-show-count":"true","aria-label":"Star Marzban on GitHub",children:"Star"})})]})})]})},Ms=[{title:"Inbound's default",value:"inbound_default"},{title:"TLS",value:"tls"},{title:"None",value:"none"}],Ns=[{title:"",value:""},{title:"h3",value:"h3"},{title:"h2",value:"h2"},{title:"http/1.1",value:"http/1.1"},{title:"h3,h2,http/1.1",value:"h3,h2,http/1.1"},{title:"h3,h2",value:"h3,h2"},{title:"h2,http/1.1",value:"h2,http/1.1"}],Ps=[{title:"",value:""},...["chrome","firefox","safari","ios","android","edge","360","qq","random","randomized"].map(t=>({title:t,value:t}))],Fs=[{title:"none",value:""},{title:"xtls-rprx-vision",value:"xtls-rprx-vision"}],Ws=["aes-128-gcm","aes-256-gcm","chacha20-ietf-poly1305"],Os=Lt(t=>({isLoading:!1,isPostLoading:!1,hosts:{},fetchHosts:()=>{t({isLoading:!0}),W("/hosts").then(n=>t({hosts:n})).finally(()=>t({isLoading:!1}))},setHosts:n=>(t({isPostLoading:!0}),W("/hosts",{method:"PUT",body:n}).finally(()=>{t({isPostLoading:!1})}))}));const js=w(Ar,{baseStyle:{w:4,h:4}}),Le=Ht.forwardRef(({disabled:t,step:n,label:o,className:s,startAdornment:a,endAdornment:i,type:l="text",placeholder:m,onChange:g,onBlur:y,name:x,value:b,onClick:u,error:p,clearable:I=!1,...C},L)=>{const h=()=>{g&&g({target:{value:"",name:x}})},{size:c="md"}=C,F=l=="number"?Gn:He,$=l=="number"?On:Ht.Fragment,D=l=="number"?{keepWithinRange:!0,precision:5,format:M=>isNaN(parseFloat(String(M)))||Number(parseFloat(String(M)).toFixed(5))===0?M:Number(parseFloat(String(M)).toFixed(5)),min:0,step:n,name:x,type:l,placeholder:m,onChange:M=>{g&&g(M)},onBlur:y,value:b,onClick:u,disabled:t,flexGrow:1,size:c}:{};return r(T,{isInvalid:!!p,children:[o&&e(H,{children:o}),r(vt,{size:c,w:"full",rounded:"md",_focusWithin:{outline:"2px solid",outlineColor:"primary.200"},bg:t?"gray.100":"transparent",_dark:{bg:t?"gray.600":"transparent"},children:[a&&e(jn,{children:a}),r($,{...D,children:[e(F,{name:x,ref:L,step:n,className:ft(s),type:l,placeholder:m,onChange:g,onBlur:y,value:b,onClick:u,disabled:t,flexGrow:1,_focusVisible:{outline:"none",borderTopColor:"transparent",borderRightColor:"transparent",borderBottomColor:"transparent"},_disabled:{cursor:"not-allowed"},...C,roundedLeft:a?"0":"md",roundedRight:i?"0":"md"}),l=="number"&&e(ie,{children:r(Hn,{children:[e(Bn,{}),e($n,{})]})})]}),i&&e(Vn,{borderLeftRadius:0,borderRightRadius:"6px",bg:"transparent",children:i}),I&&b&&b.length&&e(It,{borderLeftRadius:0,borderRightRadius:"6px",bg:"transparent",onClick:h,cursor:"pointer",children:e(js,{})})]}),!!p&&e(Dt,{children:p})]})}),Hs=w(Yn,{baseStyle:{w:5,h:5}}),Bs=w(Zn,{baseStyle:{w:5,h:5}}),$s=w(Qn,{baseStyle:{w:5,h:5}}),Wt=w(Te,{baseStyle:{bg:"white",_dark:{bg:"gray.700"}}}),Pe=w(Le,{baseStyle:{bg:"white",_dark:{bg:"gray.700"}}}),Vs=w(Zt,{baseStyle:{w:5,h:5}}),Ee=w(qn,{baseStyle:{w:4,h:4,color:"gray.400",cursor:"pointer"}}),Gs=S.record(S.string().min(1),S.array(S.object({remark:S.string().min(1,"Remark is required"),address:S.string().min(1,"Address is required"),port:S.string().or(S.number()).nullable().transform(t=>typeof t=="number"?t:t!==null&&!isNaN(parseInt(t))?Number(parseInt(t)):null),path:S.string().nullable(),sni:S.string().nullable(),host:S.string().nullable(),mux_enable:S.boolean().default(!1),allowinsecure:S.boolean().nullable().default(!1),is_disabled:S.boolean().default(!0),fragment_setting:S.string().nullable(),random_user_agent:S.boolean().default(!1),security:S.string(),alpn:S.string(),fingerprint:S.string()}))),Ce=w(Dt,{baseStyle:{color:"red.400",display:"block",textAlign:"left",w:"100%"}}),Ys=({hostKey:t,isOpen:n,toggleAccordion:o})=>{const{inbounds:s}=E(),a=[...s.values()].flat().filter(h=>h.tag===t)[0],i=Qt(),{fields:l,append:m,remove:g,insert:y,move:x}=Xn({control:i.control,name:t}),{errors:b}=i.formState,{t:u}=j(),p=b[t],I=()=>{m({host:"",sni:"",port:null,path:null,address:"",remark:"",mux_enable:!1,allowinsecure:!1,is_disabled:!1,fragment_setting:"",random_user_agent:!1,security:"inbound_default",alpn:"",fingerprint:""})},C=h=>{if(h<0||h>=l.length)return;const c=l[h];y(h+1,c)};f.exports.useEffect(()=>{p&&!n&&o()},[p]);const L=(h,c)=>{c==="up"&&h>0?x(h,h-1):c==="down"&&h>>1,ue=H[re];if(0>>1;rei(V,Q))Z i(ce,V)?(H[re]=ce,H[Z]=Q,re=Z):(H[re]=V,H[ve]=Q,re=ve);else if(Z i(ce,Q))H[re]=ce,H[Z]=Q,re=Z;else break e}}return X}function i(H,X){var Q=H.sortIndex-X.sortIndex;return Q!==0?Q:H.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}var u=[],d=[],p=1,I=null,P=3,F=!1,B=!1,N=!1,D=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(H){for(var X=n(d);X!==null;){if(X.callback===null)r(d);else if(X.startTime<=H)r(d),X.sortIndex=X.expirationTime,t(u,X);else break;X=n(d)}}function L(H){if(N=!1,O(H),!B)if(n(u)!==null)B=!0,$(x);else{var X=n(d);X!==null&&z(L,X.startTime-H)}}function x(H,X){B=!1,N&&(N=!1,T(g),g=-1),F=!0;var Q=P;try{for(O(X),I=n(u);I!==null&&(!(I.expirationTime>X)||H&&!m());){var re=I.callback;if(typeof re=="function"){I.callback=null,P=I.priorityLevel;var ue=re(I.expirationTime<=X);X=e.unstable_now(),typeof ue=="function"?I.callback=ue:I===n(u)&&r(u),O(X)}else r(u);I=n(u)}if(I!==null)var le=!0;else{var ve=n(d);ve!==null&&z(L,ve.startTime-X),le=!1}return le}finally{I=null,P=Q,F=!1}}var b=!1,C=null,g=-1,w=5,f=-1;function m(){return!(e.unstable_now()-f H||125 re?(H.sortIndex=Q,t(d,H),n(u)===null&&H===n(d)&&(N?(T(g),g=-1):N=!0,z(L,Q-re))):(H.sortIndex=ue,t(u,H),B||F||(B=!0,$(x))),H},e.unstable_shouldYield=m,e.unstable_wrapCallback=function(H){var X=P;return function(){var Q=P;P=X;try{return H.apply(this,arguments)}finally{P=Q}}}})(SL);(function(e){e.exports=SL})(CL);/** * @license React * react-dom.production.min.js * @@ -316,14 +316,14 @@ function YM(e,t){for(var n=0;n "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qx=Object.prototype.hasOwnProperty,Kz=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f_={},p_={};function Jz(e){return Qx.call(p_,e)?!0:Qx.call(f_,e)?!1:Kz.test(e)?p_[e]=!0:(f_[e]=!0,!1)}function Qz(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qz(e,t,n,r){if(t===null||typeof t>"u"||Qz(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function di(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var zr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){zr[e]=new di(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];zr[t]=new di(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){zr[e]=new di(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){zr[e]=new di(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){zr[e]=new di(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){zr[e]=new di(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){zr[e]=new di(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){zr[e]=new di(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){zr[e]=new di(e,5,!1,e.toLowerCase(),null,!1,!1)});var eA=/[\-:]([a-z])/g;function tA(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(eA,tA);zr[t]=new di(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(eA,tA);zr[t]=new di(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(eA,tA);zr[t]=new di(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){zr[e]=new di(e,1,!1,e.toLowerCase(),null,!1,!1)});zr.xlinkHref=new di("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){zr[e]=new di(e,1,!1,e.toLowerCase(),null,!0,!0)});function nA(e,t,n,r){var i=zr.hasOwnProperty(t)?zr[t]:null;(i!==null?i.type!==0:r||!(2 "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qx=Object.prototype.hasOwnProperty,KV=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f_={},p_={};function JV(e){return Qx.call(p_,e)?!0:Qx.call(f_,e)?!1:KV.test(e)?p_[e]=!0:(f_[e]=!0,!1)}function QV(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qV(e,t,n,r){if(t===null||typeof t>"u"||QV(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function di(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Vr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Vr[e]=new di(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Vr[t]=new di(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Vr[e]=new di(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Vr[e]=new di(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Vr[e]=new di(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Vr[e]=new di(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Vr[e]=new di(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Vr[e]=new di(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Vr[e]=new di(e,5,!1,e.toLowerCase(),null,!1,!1)});var eA=/[\-:]([a-z])/g;function tA(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(eA,tA);Vr[t]=new di(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(eA,tA);Vr[t]=new di(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(eA,tA);Vr[t]=new di(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Vr[e]=new di(e,1,!1,e.toLowerCase(),null,!1,!1)});Vr.xlinkHref=new di("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Vr[e]=new di(e,1,!1,e.toLowerCase(),null,!0,!0)});function nA(e,t,n,r){var i=Vr.hasOwnProperty(t)?Vr[t]:null;(i!==null?i.type!==0:r||!(2 c||i[a]!==o[c]){var u=` -`+i[a].replace(" at new "," at ");return e.displayName&&u.includes(" ")&&(u=u.replace(" ",e.displayName)),u}while(1<=a&&0<=c);break}}}finally{Zb=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?qu(e):""}function eV(e){switch(e.tag){case 5:return qu(e.type);case 16:return qu("Lazy");case 13:return qu("Suspense");case 19:return qu("SuspenseList");case 0:case 2:case 15:return e=Xb(e.type,!1),e;case 11:return e=Xb(e.type.render,!1),e;case 1:return e=Xb(e.type,!0),e;default:return""}}function nw(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ec:return"Fragment";case ql:return"Portal";case qx:return"Profiler";case rA:return"StrictMode";case ew:return"Suspense";case tw:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _L:return(e.displayName||"Context")+".Consumer";case kL:return(e._context.displayName||"Context")+".Provider";case iA:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oA:return t=e.displayName||null,t!==null?t:nw(e.type)||"Memo";case qa:t=e._payload,e=e._init;try{return nw(e(t))}catch{}}return null}function tV(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return nw(t);case 8:return t===rA?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ss(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function TL(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nV(e){var t=TL(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wf(e){e._valueTracker||(e._valueTracker=nV(e))}function PL(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=TL(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Rg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function rw(e,t){var n=t.checked;return qn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function m_(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ss(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function RL(e,t){t=t.checked,t!=null&&nA(e,"checked",t,!1)}function iw(e,t){RL(e,t);var n=Ss(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ow(e,t.type,n):t.hasOwnProperty("defaultValue")&&ow(e,t.type,Ss(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function v_(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ow(e,t,n){(t!=="number"||Rg(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ed=Array.isArray;function Cc(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=Cf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pd={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rV=["Webkit","ms","Moz","O"];Object.keys(pd).forEach(function(e){rV.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pd[t]=pd[e]})});function DL(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pd.hasOwnProperty(e)&&pd[e]?(""+t).trim():t+"px"}function $L(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=DL(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var iV=qn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function lw(e,t){if(t){if(iV[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(bt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(bt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(bt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(bt(62))}}function cw(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var uw=null;function aA(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dw=null,Sc=null,Ac=null;function x_(e){if(e=Kh(e)){if(typeof dw!="function")throw Error(bt(280));var t=e.stateNode;t&&(t=ky(t),dw(e.stateNode,e.type,t))}}function NL(e){Sc?Ac?Ac.push(e):Ac=[e]:Sc=e}function FL(){if(Sc){var e=Sc,t=Ac;if(Ac=Sc=null,x_(e),t)for(e=0;e >>=0,e===0?32:31-(gV(e)/mV|0)|0}var Sf=64,Af=4194304;function td(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dg(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var c=a&~i;c!==0?r=td(c):(o&=a,o!==0&&(r=td(o)))}else a=n&~i,a!==0?r=td(a):o!==0&&(r=td(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function Xh(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xo(t),e[t]=n}function xV(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0 =md),T_=String.fromCharCode(32),P_=!1;function iD(e,t){switch(e){case"keyup":return XV.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var tc=!1;function KV(e,t){switch(e){case"compositionend":return oD(t);case"keypress":return t.which!==32?null:(P_=!0,T_);case"textInput":return e=t.data,e===T_&&P_?null:e;default:return null}}function JV(e,t){if(tc)return e==="compositionend"||!pA&&iD(e,t)?(e=nD(),pp=dA=cs=null,tc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1 =t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=L_(n)}}function cD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uD(){for(var e=window,t=Rg();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rg(e.document)}return t}function gA(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function aj(e){var t=uD(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cD(n.ownerDocument.documentElement,n)){if(r!==null&&gA(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=D_(n,o);var a=D_(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,nc=null,vw=null,yd=null,yw=!1;function $_(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yw||nc==null||nc!==Rg(r)||(r=nc,"selectionStart"in r&&gA(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),yd&&eh(yd,r)||(yd=r,r=Fg(vw,"onSelect"),0 oc||(e.current=Aw[oc],Aw[oc]=null,oc--)}function Ln(e,t){oc++,Aw[oc]=e.current,e.current=t}var As={},Jr=$s(As),vi=$s(!1),gl=As;function jc(e,t){var n=e.type.contextTypes;if(!n)return As;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yi(e){return e=e.childContextTypes,e!=null}function Wg(){Fn(vi),Fn(Jr)}function V_(e,t,n){if(Jr.current!==As)throw Error(bt(168));Ln(Jr,t),Ln(vi,n)}function bD(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(bt(108,tV(e)||"Unknown",i));return qn({},n,r)}function Hg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||As,gl=Jr.current,Ln(Jr,e),Ln(vi,vi.current),!0}function j_(e,t,n){var r=e.stateNode;if(!r)throw Error(bt(169));n?(e=bD(e,t,gl),r.__reactInternalMemoizedMergedChildContext=e,Fn(vi),Fn(Jr),Ln(Jr,e)):Fn(vi),Ln(vi,n)}var ga=null,_y=!1,l0=!1;function xD(e){ga===null?ga=[e]:ga.push(e)}function yj(e){_y=!0,xD(e)}function Ns(){if(!l0&&ga!==null){l0=!0;var e=0,t=En;try{var n=ga;for(En=1;e >=a,i-=a,va=1<<32-xo(t)+i|n<g?(w=C,C=null):w=C.sibling;var f=P(T,C,O[g],L);if(f===null){C===null&&(C=w);break}e&&C&&f.alternate===null&&t(T,C),M=o(f,M,g),b===null?x=f:b.sibling=f,b=f,C=w}if(g===O.length)return n(T,C),Gn&&Vs(T,g),x;if(C===null){for(;g g?(w=C,C=null):w=C.sibling;var m=P(T,C,f.value,L);if(m===null){C===null&&(C=w);break}e&&C&&m.alternate===null&&t(T,C),M=o(m,M,g),b===null?x=m:b.sibling=m,b=m,C=w}if(f.done)return n(T,C),Gn&&Vs(T,g),x;if(C===null){for(;!f.done;g++,f=O.next())f=I(T,f.value,L),f!==null&&(M=o(f,M,g),b===null?x=f:b.sibling=f,b=f);return Gn&&Vs(T,g),x}for(C=r(T,C);!f.done;g++,f=O.next())f=F(C,T,g,f.value,L),f!==null&&(e&&f.alternate!==null&&C.delete(f.key===null?g:f.key),M=o(f,M,g),b===null?x=f:b.sibling=f,b=f);return e&&C.forEach(function(E){return t(T,E)}),Gn&&Vs(T,g),x}function D(T,M,O,L){if(typeof O=="object"&&O!==null&&O.type===ec&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case xf:e:{for(var x=O.key,b=M;b!==null;){if(b.key===x){if(x=O.type,x===ec){if(b.tag===7){n(T,b.sibling),M=i(b,O.props.children),M.return=T,T=M;break e}}else if(b.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===qa&&J_(x)===b.type){n(T,b.sibling),M=i(b,O.props),M.ref=Du(T,b,O),M.return=T,T=M;break e}n(T,b);break}else t(T,b);b=b.sibling}O.type===ec?(M=il(O.props.children,T.mode,L,O.key),M.return=T,T=M):(L=Cp(O.type,O.key,O.props,null,T.mode,L),L.ref=Du(T,M,O),L.return=T,T=L)}return a(T);case ql:e:{for(b=O.key;M!==null;){if(M.key===b)if(M.tag===4&&M.stateNode.containerInfo===O.containerInfo&&M.stateNode.implementation===O.implementation){n(T,M.sibling),M=i(M,O.children||[]),M.return=T,T=M;break e}else{n(T,M);break}else t(T,M);M=M.sibling}M=m0(O,T.mode,L),M.return=T,T=M}return a(T);case qa:return b=O._init,D(T,M,b(O._payload),L)}if(ed(O))return B(T,M,O,L);if(Pu(O))return N(T,M,O,L);Rf(T,O)}return typeof O=="string"&&O!==""||typeof O=="number"?(O=""+O,M!==null&&M.tag===6?(n(T,M.sibling),M=i(M,O),M.return=T,T=M):(n(T,M),M=g0(O,T.mode,L),M.return=T,T=M),a(T)):n(T,M)}return D}var Yc=ED(!0),TD=ED(!1),Jh={},Uo=$s(Jh),ih=$s(Jh),oh=$s(Jh);function Js(e){if(e===Jh)throw Error(bt(174));return e}function AA(e,t){switch(Ln(oh,t),Ln(ih,e),Ln(Uo,Jh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:sw(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=sw(t,e)}Fn(Uo),Ln(Uo,t)}function Zc(){Fn(Uo),Fn(ih),Fn(oh)}function PD(e){Js(oh.current);var t=Js(Uo.current),n=sw(t,e.type);t!==n&&(Ln(ih,e),Ln(Uo,n))}function IA(e){ih.current===e&&(Fn(Uo),Fn(ih))}var Kn=$s(0);function Zg(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var c0=[];function kA(){for(var e=0;e n?n:4,e(!0);var r=u0.transition;u0.transition={};try{e(!1),t()}finally{En=n,u0.transition=r}}function YD(){return no().memoizedState}function Cj(e,t,n){var r=xs(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ZD(e))XD(t,n);else if(n=AD(e,t,n,r),n!==null){var i=si();wo(n,e,r,i),UD(n,t,r)}}function Sj(e,t,n){var r=xs(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ZD(e))XD(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,c=o(a,n);if(i.hasEagerState=!0,i.eagerState=c,Io(c,a)){var u=t.interleaved;u===null?(i.next=i,CA(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=AD(e,t,i,r),n!==null&&(i=si(),wo(n,e,r,i),UD(n,t,r))}}function ZD(e){var t=e.alternate;return e===Qn||t!==null&&t===Qn}function XD(e,t){bd=Xg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function UD(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lA(e,n)}}var Ug={readContext:to,useCallback:Gr,useContext:Gr,useEffect:Gr,useImperativeHandle:Gr,useInsertionEffect:Gr,useLayoutEffect:Gr,useMemo:Gr,useReducer:Gr,useRef:Gr,useState:Gr,useDebugValue:Gr,useDeferredValue:Gr,useTransition:Gr,useMutableSource:Gr,useSyncExternalStore:Gr,useId:Gr,unstable_isNewReconciler:!1},Aj={readContext:to,useCallback:function(e,t){return Mo().memoizedState=[e,t===void 0?null:t],e},useContext:to,useEffect:q_,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,yp(4194308,4,HD.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yp(4194308,4,e,t)},useInsertionEffect:function(e,t){return yp(4,2,e,t)},useMemo:function(e,t){var n=Mo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Cj.bind(null,Qn,e),[r.memoizedState,e]},useRef:function(e){var t=Mo();return e={current:e},t.memoizedState=e},useState:Q_,useDebugValue:RA,useDeferredValue:function(e){return Mo().memoizedState=e},useTransition:function(){var e=Q_(!1),t=e[0];return e=wj.bind(null,e[1]),Mo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Qn,i=Mo();if(Gn){if(n===void 0)throw Error(bt(407));n=n()}else{if(n=t(),Tr===null)throw Error(bt(349));(vl&30)!==0||MD(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,q_(DD.bind(null,r,o,e),[e]),r.flags|=2048,lh(9,LD.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Mo(),t=Tr.identifierPrefix;if(Gn){var n=ya,r=va;n=(r&~(1<<32-xo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ah++,0 ")&&(u=u.replace(" ",e.displayName)),u}while(1<=a&&0<=c);break}}}finally{Zb=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?qu(e):""}function ez(e){switch(e.tag){case 5:return qu(e.type);case 16:return qu("Lazy");case 13:return qu("Suspense");case 19:return qu("SuspenseList");case 0:case 2:case 15:return e=Xb(e.type,!1),e;case 11:return e=Xb(e.type.render,!1),e;case 1:return e=Xb(e.type,!0),e;default:return""}}function nw(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ec:return"Fragment";case ql:return"Portal";case qx:return"Profiler";case rA:return"StrictMode";case ew:return"Suspense";case tw:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _L:return(e.displayName||"Context")+".Consumer";case kL:return(e._context.displayName||"Context")+".Provider";case iA:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oA:return t=e.displayName||null,t!==null?t:nw(e.type)||"Memo";case qa:t=e._payload,e=e._init;try{return nw(e(t))}catch{}}return null}function tz(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return nw(t);case 8:return t===rA?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ss(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function TL(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nz(e){var t=TL(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wf(e){e._valueTracker||(e._valueTracker=nz(e))}function PL(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=TL(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Rg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function rw(e,t){var n=t.checked;return qn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function m_(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ss(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function RL(e,t){t=t.checked,t!=null&&nA(e,"checked",t,!1)}function iw(e,t){RL(e,t);var n=Ss(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ow(e,t.type,n):t.hasOwnProperty("defaultValue")&&ow(e,t.type,Ss(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function v_(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ow(e,t,n){(t!=="number"||Rg(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ed=Array.isArray;function Cc(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=Cf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pd={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rz=["Webkit","ms","Moz","O"];Object.keys(pd).forEach(function(e){rz.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pd[t]=pd[e]})});function DL(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pd.hasOwnProperty(e)&&pd[e]?(""+t).trim():t+"px"}function $L(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=DL(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var iz=qn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function lw(e,t){if(t){if(iz[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(bt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(bt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(bt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(bt(62))}}function cw(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var uw=null;function aA(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dw=null,Sc=null,Ac=null;function x_(e){if(e=Kh(e)){if(typeof dw!="function")throw Error(bt(280));var t=e.stateNode;t&&(t=ky(t),dw(e.stateNode,e.type,t))}}function NL(e){Sc?Ac?Ac.push(e):Ac=[e]:Sc=e}function FL(){if(Sc){var e=Sc,t=Ac;if(Ac=Sc=null,x_(e),t)for(e=0;e >>=0,e===0?32:31-(gz(e)/mz|0)|0}var Sf=64,Af=4194304;function td(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dg(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var c=a&~i;c!==0?r=td(c):(o&=a,o!==0&&(r=td(o)))}else a=n&~i,a!==0?r=td(a):o!==0&&(r=td(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function Xh(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xo(t),e[t]=n}function xz(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0 =md),T_=String.fromCharCode(32),P_=!1;function iD(e,t){switch(e){case"keyup":return Xz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var tc=!1;function Kz(e,t){switch(e){case"compositionend":return oD(t);case"keypress":return t.which!==32?null:(P_=!0,T_);case"textInput":return e=t.data,e===T_&&P_?null:e;default:return null}}function Jz(e,t){if(tc)return e==="compositionend"||!pA&&iD(e,t)?(e=nD(),pp=dA=cs=null,tc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1 =t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=L_(n)}}function cD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uD(){for(var e=window,t=Rg();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rg(e.document)}return t}function gA(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function aj(e){var t=uD(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cD(n.ownerDocument.documentElement,n)){if(r!==null&&gA(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=D_(n,o);var a=D_(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,nc=null,vw=null,yd=null,yw=!1;function $_(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yw||nc==null||nc!==Rg(r)||(r=nc,"selectionStart"in r&&gA(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),yd&&eh(yd,r)||(yd=r,r=Fg(vw,"onSelect"),0 oc||(e.current=Aw[oc],Aw[oc]=null,oc--)}function Ln(e,t){oc++,Aw[oc]=e.current,e.current=t}var As={},Jr=$s(As),vi=$s(!1),gl=As;function jc(e,t){var n=e.type.contextTypes;if(!n)return As;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yi(e){return e=e.childContextTypes,e!=null}function Wg(){Fn(vi),Fn(Jr)}function z_(e,t,n){if(Jr.current!==As)throw Error(bt(168));Ln(Jr,t),Ln(vi,n)}function bD(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(bt(108,tz(e)||"Unknown",i));return qn({},n,r)}function Hg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||As,gl=Jr.current,Ln(Jr,e),Ln(vi,vi.current),!0}function j_(e,t,n){var r=e.stateNode;if(!r)throw Error(bt(169));n?(e=bD(e,t,gl),r.__reactInternalMemoizedMergedChildContext=e,Fn(vi),Fn(Jr),Ln(Jr,e)):Fn(vi),Ln(vi,n)}var ga=null,_y=!1,l0=!1;function xD(e){ga===null?ga=[e]:ga.push(e)}function yj(e){_y=!0,xD(e)}function Ns(){if(!l0&&ga!==null){l0=!0;var e=0,t=En;try{var n=ga;for(En=1;e >=a,i-=a,va=1<<32-xo(t)+i|n<g?(w=C,C=null):w=C.sibling;var f=P(T,C,O[g],L);if(f===null){C===null&&(C=w);break}e&&C&&f.alternate===null&&t(T,C),M=o(f,M,g),b===null?x=f:b.sibling=f,b=f,C=w}if(g===O.length)return n(T,C),Gn&&zs(T,g),x;if(C===null){for(;g g?(w=C,C=null):w=C.sibling;var m=P(T,C,f.value,L);if(m===null){C===null&&(C=w);break}e&&C&&m.alternate===null&&t(T,C),M=o(m,M,g),b===null?x=m:b.sibling=m,b=m,C=w}if(f.done)return n(T,C),Gn&&zs(T,g),x;if(C===null){for(;!f.done;g++,f=O.next())f=I(T,f.value,L),f!==null&&(M=o(f,M,g),b===null?x=f:b.sibling=f,b=f);return Gn&&zs(T,g),x}for(C=r(T,C);!f.done;g++,f=O.next())f=F(C,T,g,f.value,L),f!==null&&(e&&f.alternate!==null&&C.delete(f.key===null?g:f.key),M=o(f,M,g),b===null?x=f:b.sibling=f,b=f);return e&&C.forEach(function(E){return t(T,E)}),Gn&&zs(T,g),x}function D(T,M,O,L){if(typeof O=="object"&&O!==null&&O.type===ec&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case xf:e:{for(var x=O.key,b=M;b!==null;){if(b.key===x){if(x=O.type,x===ec){if(b.tag===7){n(T,b.sibling),M=i(b,O.props.children),M.return=T,T=M;break e}}else if(b.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===qa&&J_(x)===b.type){n(T,b.sibling),M=i(b,O.props),M.ref=Du(T,b,O),M.return=T,T=M;break e}n(T,b);break}else t(T,b);b=b.sibling}O.type===ec?(M=il(O.props.children,T.mode,L,O.key),M.return=T,T=M):(L=Cp(O.type,O.key,O.props,null,T.mode,L),L.ref=Du(T,M,O),L.return=T,T=L)}return a(T);case ql:e:{for(b=O.key;M!==null;){if(M.key===b)if(M.tag===4&&M.stateNode.containerInfo===O.containerInfo&&M.stateNode.implementation===O.implementation){n(T,M.sibling),M=i(M,O.children||[]),M.return=T,T=M;break e}else{n(T,M);break}else t(T,M);M=M.sibling}M=m0(O,T.mode,L),M.return=T,T=M}return a(T);case qa:return b=O._init,D(T,M,b(O._payload),L)}if(ed(O))return B(T,M,O,L);if(Pu(O))return N(T,M,O,L);Rf(T,O)}return typeof O=="string"&&O!==""||typeof O=="number"?(O=""+O,M!==null&&M.tag===6?(n(T,M.sibling),M=i(M,O),M.return=T,T=M):(n(T,M),M=g0(O,T.mode,L),M.return=T,T=M),a(T)):n(T,M)}return D}var Yc=ED(!0),TD=ED(!1),Jh={},Uo=$s(Jh),ih=$s(Jh),oh=$s(Jh);function Js(e){if(e===Jh)throw Error(bt(174));return e}function AA(e,t){switch(Ln(oh,t),Ln(ih,e),Ln(Uo,Jh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:sw(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=sw(t,e)}Fn(Uo),Ln(Uo,t)}function Zc(){Fn(Uo),Fn(ih),Fn(oh)}function PD(e){Js(oh.current);var t=Js(Uo.current),n=sw(t,e.type);t!==n&&(Ln(ih,e),Ln(Uo,n))}function IA(e){ih.current===e&&(Fn(Uo),Fn(ih))}var Kn=$s(0);function Zg(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var c0=[];function kA(){for(var e=0;e n?n:4,e(!0);var r=u0.transition;u0.transition={};try{e(!1),t()}finally{En=n,u0.transition=r}}function YD(){return no().memoizedState}function Cj(e,t,n){var r=xs(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ZD(e))XD(t,n);else if(n=AD(e,t,n,r),n!==null){var i=si();wo(n,e,r,i),UD(n,t,r)}}function Sj(e,t,n){var r=xs(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ZD(e))XD(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,c=o(a,n);if(i.hasEagerState=!0,i.eagerState=c,Io(c,a)){var u=t.interleaved;u===null?(i.next=i,CA(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=AD(e,t,i,r),n!==null&&(i=si(),wo(n,e,r,i),UD(n,t,r))}}function ZD(e){var t=e.alternate;return e===Qn||t!==null&&t===Qn}function XD(e,t){bd=Xg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function UD(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lA(e,n)}}var Ug={readContext:to,useCallback:Gr,useContext:Gr,useEffect:Gr,useImperativeHandle:Gr,useInsertionEffect:Gr,useLayoutEffect:Gr,useMemo:Gr,useReducer:Gr,useRef:Gr,useState:Gr,useDebugValue:Gr,useDeferredValue:Gr,useTransition:Gr,useMutableSource:Gr,useSyncExternalStore:Gr,useId:Gr,unstable_isNewReconciler:!1},Aj={readContext:to,useCallback:function(e,t){return Mo().memoizedState=[e,t===void 0?null:t],e},useContext:to,useEffect:q_,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,yp(4194308,4,HD.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yp(4194308,4,e,t)},useInsertionEffect:function(e,t){return yp(4,2,e,t)},useMemo:function(e,t){var n=Mo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Cj.bind(null,Qn,e),[r.memoizedState,e]},useRef:function(e){var t=Mo();return e={current:e},t.memoizedState=e},useState:Q_,useDebugValue:RA,useDeferredValue:function(e){return Mo().memoizedState=e},useTransition:function(){var e=Q_(!1),t=e[0];return e=wj.bind(null,e[1]),Mo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Qn,i=Mo();if(Gn){if(n===void 0)throw Error(bt(407));n=n()}else{if(n=t(),Tr===null)throw Error(bt(349));(vl&30)!==0||MD(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,q_(DD.bind(null,r,o,e),[e]),r.flags|=2048,lh(9,LD.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Mo(),t=Tr.identifierPrefix;if(Gn){var n=ya,r=va;n=(r&~(1<<32-xo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ah++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Fo]=t,e[rh]=r,i$(e,t,!1,!1),t.stateNode=e;e:{switch(a=cw(n,r),n){case"dialog":$n("cancel",e),$n("close",e),i=r;break;case"iframe":case"object":case"embed":$n("load",e),i=r;break;case"video":case"audio":for(i=0;i Uc&&(t.flags|=128,r=!0,$u(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zg(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$u(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Gn)return Yr(t),null}else 2*sr()-o.renderingStartTime>Uc&&n!==1073741824&&(t.flags|=128,r=!0,$u(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=sr(),t.sibling=null,n=Kn.current,Ln(Kn,r?n&1|2:n&1),t):(Yr(t),null);case 22:case 23:return NA(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ki&1073741824)!==0&&(Yr(t),t.subtreeFlags&6&&(t.flags|=8192)):Yr(t),null;case 24:return null;case 25:return null}throw Error(bt(156,t.tag))}function Oj(e,t){switch(vA(t),t.tag){case 1:return yi(t.type)&&Wg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zc(),Fn(vi),Fn(Jr),kA(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return IA(t),null;case 13:if(Fn(Kn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(bt(340));Gc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fn(Kn),null;case 4:return Zc(),null;case 10:return wA(t.type._context),null;case 22:case 23:return NA(),null;case 24:return null;default:return null}}var Mf=!1,Ur=!1,Mj=typeof WeakSet=="function"?WeakSet:Set,Nt=null;function cc(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){tr(e,t,r)}else n.current=null}function $w(e,t,n){try{n()}catch(r){tr(e,t,r)}}var lE=!1;function Lj(e,t){if(bw=$g,e=uD(),gA(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,c=-1,u=-1,d=0,p=0,I=e,P=null;t:for(;;){for(var F;I!==n||i!==0&&I.nodeType!==3||(c=a+i),I!==o||r!==0&&I.nodeType!==3||(u=a+r),I.nodeType===3&&(a+=I.nodeValue.length),(F=I.firstChild)!==null;)P=I,I=F;for(;;){if(I===e)break t;if(P===n&&++d===i&&(c=a),P===o&&++p===r&&(u=a),(F=I.nextSibling)!==null)break;I=P,P=I.parentNode}I=F}n=c===-1||u===-1?null:{start:c,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(xw={focusedElem:e,selectionRange:n},$g=!1,Nt=t;Nt!==null;)if(t=Nt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Nt=e;else for(;Nt!==null;){t=Nt;try{var B=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(B!==null){var N=B.memoizedProps,D=B.memoizedState,T=t.stateNode,M=T.getSnapshotBeforeUpdate(t.elementType===t.type?N:go(t.type,N),D);T.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var O=t.stateNode.containerInfo;O.nodeType===1?O.textContent="":O.nodeType===9&&O.documentElement&&O.removeChild(O.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(bt(163))}}catch(L){tr(t,t.return,L)}if(e=t.sibling,e!==null){e.return=t.return,Nt=e;break}Nt=t.return}return B=lE,lE=!1,B}function xd(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&$w(t,n,o)}i=i.next}while(i!==r)}}function Py(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Nw(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function s$(e){var t=e.alternate;t!==null&&(e.alternate=null,s$(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fo],delete t[rh],delete t[Sw],delete t[mj],delete t[vj])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function l$(e){return e.tag===5||e.tag===3||e.tag===4}function cE(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||l$(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fw(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Bg));else if(r!==4&&(e=e.child,e!==null))for(Fw(e,t,n),e=e.sibling;e!==null;)Fw(e,t,n),e=e.sibling}function Bw(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Bw(e,t,n),e=e.sibling;e!==null;)Bw(e,t,n),e=e.sibling}var Nr=null,mo=!1;function ja(e,t,n){for(n=n.child;n!==null;)c$(e,t,n),n=n.sibling}function c$(e,t,n){if(Xo&&typeof Xo.onCommitFiberUnmount=="function")try{Xo.onCommitFiberUnmount(Cy,n)}catch{}switch(n.tag){case 5:Ur||cc(n,t);case 6:var r=Nr,i=mo;Nr=null,ja(e,t,n),Nr=r,mo=i,Nr!==null&&(mo?(e=Nr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Nr.removeChild(n.stateNode));break;case 18:Nr!==null&&(mo?(e=Nr,n=n.stateNode,e.nodeType===8?s0(e.parentNode,n):e.nodeType===1&&s0(e,n),Qd(e)):s0(Nr,n.stateNode));break;case 4:r=Nr,i=mo,Nr=n.stateNode.containerInfo,mo=!0,ja(e,t,n),Nr=r,mo=i;break;case 0:case 11:case 14:case 15:if(!Ur&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&((o&2)!==0||(o&4)!==0)&&$w(n,t,a),i=i.next}while(i!==r)}ja(e,t,n);break;case 1:if(!Ur&&(cc(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(c){tr(n,t,c)}ja(e,t,n);break;case 21:ja(e,t,n);break;case 22:n.mode&1?(Ur=(r=Ur)||n.memoizedState!==null,ja(e,t,n),Ur=r):ja(e,t,n);break;default:ja(e,t,n)}}function uE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Mj),t.forEach(function(r){var i=Vj.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function co(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=a),r&=~o}if(r=i,r=sr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$j(r/1960))-r,10 e?16:e,us===null)var r=!1;else{if(e=us,us=null,Qg=0,(gn&6)!==0)throw Error(bt(331));var i=gn;for(gn|=4,Nt=e.current;Nt!==null;){var o=Nt,a=o.child;if((Nt.flags&16)!==0){var c=o.deletions;if(c!==null){for(var u=0;u sr()-DA?rl(e,0):LA|=n),bi(e,t)}function v$(e,t){t===0&&((e.mode&1)===0?t=1:(t=Af,Af<<=1,(Af&130023424)===0&&(Af=4194304)));var n=si();e=Ra(e,t),e!==null&&(Xh(e,t,n),bi(e,n))}function zj(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),v$(e,n)}function Vj(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(bt(314))}r!==null&&r.delete(t),v$(e,n)}var y$;y$=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vi.current)mi=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return mi=!1,Pj(e,t,n);mi=(e.flags&131072)!==0}else mi=!1,Gn&&(t.flags&1048576)!==0&&wD(t,Vg,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;bp(e,t),e=t.pendingProps;var i=jc(t,Jr.current);kc(t,n),i=EA(null,t,r,e,i,n);var o=TA();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yi(r)?(o=!0,Hg(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,SA(t),i.updater=Ey,t.stateNode=i,i._reactInternals=t,Tw(t,r,e,n),t=Ow(null,t,r,!0,o,n)):(t.tag=0,Gn&&o&&mA(t),ri(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(bp(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Gj(r),e=go(r,e),i){case 0:t=Rw(null,t,r,e,n);break e;case 1:t=oE(null,t,r,e,n);break e;case 11:t=rE(null,t,r,e,n);break e;case 14:t=iE(null,t,r,go(r.type,e),n);break e}throw Error(bt(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),Rw(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),oE(e,t,r,i,n);case 3:e:{if(t$(t),e===null)throw Error(bt(387));r=t.pendingProps,o=t.memoizedState,i=o.element,ID(e,t),Yg(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Xc(Error(bt(423)),t),t=aE(e,t,r,n,i);break e}else if(r!==i){i=Xc(Error(bt(424)),t),t=aE(e,t,r,n,i);break e}else for(Ti=vs(t.stateNode.containerInfo.firstChild),Li=t,Gn=!0,vo=null,n=TD(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gc(),r===i){t=Oa(e,t,n);break e}ri(e,t,r,n)}t=t.child}return t;case 5:return PD(t),e===null&&kw(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,ww(r,i)?a=null:o!==null&&ww(r,o)&&(t.flags|=32),e$(e,t),ri(e,t,a,n),t.child;case 6:return e===null&&kw(t),null;case 13:return n$(e,t,n);case 4:return AA(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yc(t,null,r,n):ri(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),rE(e,t,r,i,n);case 7:return ri(e,t,t.pendingProps,n),t.child;case 8:return ri(e,t,t.pendingProps.children,n),t.child;case 12:return ri(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Ln(jg,r._currentValue),r._currentValue=a,o!==null)if(Io(o.value,a)){if(o.children===i.children&&!vi.current){t=Oa(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){a=o.child;for(var u=c.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=wa(-1,n&-n),u.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),_w(o.return,n,t),c.lanes|=n;break}u=u.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(bt(341));a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),_w(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}ri(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,kc(t,n),i=to(i),r=r(i),t.flags|=1,ri(e,t,r,n),t.child;case 14:return r=t.type,i=go(r,t.pendingProps),i=go(r.type,i),iE(e,t,r,i,n);case 15:return QD(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),bp(e,t),t.tag=1,yi(r)?(e=!0,Hg(t)):e=!1,kc(t,n),_D(t,r,i),Tw(t,r,i,n),Ow(null,t,r,!0,e,n);case 19:return r$(e,t,n);case 22:return qD(e,t,n)}throw Error(bt(156,t.tag))};function b$(e,t){return GL(e,t)}function jj(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ui(e,t,n,r){return new jj(e,t,n,r)}function BA(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gj(e){if(typeof e=="function")return BA(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iA)return 11;if(e===oA)return 14}return 2}function ws(e,t){var n=e.alternate;return n===null?(n=Ui(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Cp(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")BA(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ec:return il(n.children,i,o,t);case rA:a=8,i|=8;break;case qx:return e=Ui(12,n,t,i|2),e.elementType=qx,e.lanes=o,e;case ew:return e=Ui(13,n,t,i),e.elementType=ew,e.lanes=o,e;case tw:return e=Ui(19,n,t,i),e.elementType=tw,e.lanes=o,e;case EL:return Oy(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kL:a=10;break e;case _L:a=9;break e;case iA:a=11;break e;case oA:a=14;break e;case qa:a=16,r=null;break e}throw Error(bt(130,e==null?e:typeof e,""))}return t=Ui(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function il(e,t,n,r){return e=Ui(7,e,r,t),e.lanes=n,e}function Oy(e,t,n,r){return e=Ui(22,e,r,t),e.elementType=EL,e.lanes=n,e.stateNode={isHidden:!1},e}function g0(e,t,n){return e=Ui(6,e,null,t),e.lanes=n,e}function m0(e,t,n){return t=Ui(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yj(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kb(0),this.expirationTimes=Kb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kb(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function WA(e,t,n,r,i,o,a,c,u){return e=new Yj(e,t,n,c,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ui(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},SA(o),e}function Zj(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Bi})(Ls);const S$=Gh(Ls.exports);var[A$,Qj]=In({strict:!1,name:"PortalContext"}),jA="chakra-portal",qj=".chakra-portal",eG=e=>Ae("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),tG=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=de.exports.useState(null),o=de.exports.useRef(null),[,a]=de.exports.useState({});de.exports.useEffect(()=>a({}),[]);const c=Qj(),u=Uz();Zo(()=>{if(!r)return;const p=r.ownerDocument,I=t&&c!=null?c:p.body;if(!I)return;o.current=p.createElement("div"),o.current.className=jA,I.appendChild(o.current),a({});const P=o.current;return()=>{I.contains(P)&&I.removeChild(P)}},[r]);const d=u!=null&&u.zIndex?Ae(eG,{zIndex:u==null?void 0:u.zIndex,children:n}):n;return o.current?Ls.exports.createPortal(Ae(A$,{value:o.current,children:d}),o.current):Ae("span",{ref:p=>{p&&i(p)}})},nG=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i!=null?i:typeof window<"u"?document.body:void 0,a=de.exports.useMemo(()=>{const u=i==null?void 0:i.ownerDocument.createElement("div");return u&&(u.className=jA),u},[i]),[,c]=de.exports.useState({});return Zo(()=>c({}),[]),Zo(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Ls.exports.createPortal(Ae(A$,{value:r?a:null,children:t}),a):null};function gu(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?Ae(nG,{containerRef:n,...r}):Ae(tG,{...r})}gu.className=jA;gu.selector=qj;gu.displayName="Portal";function Fs(){const e=de.exports.useContext(Yd);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in ` ` or ` `");return e}var GA=de.exports.createContext({});GA.displayName="ColorModeContext";function YA(){const e=de.exports.useContext(GA);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var $f={light:"chakra-ui-light",dark:"chakra-ui-dark"};function rG(e={}){const{preventTransition:t=!0}=e,n={setDataset:r=>{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?$f.dark:$f.light),document.body.classList.remove(r?$f.light:$f.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){var i;return((i=n.query().matches)!=null?i:r==="dark")?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var iG="chakra-ui-color-mode";function oG(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var aG=oG(iG),yE=()=>{};function bE(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function I$(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=aG}=e,c=i==="dark"?"dark":"light",[u,d]=de.exports.useState(()=>bE(a,c)),[p,I]=de.exports.useState(()=>bE(a)),{getSystemTheme:P,setClassName:F,setDataset:B,addListener:N}=de.exports.useMemo(()=>rG({preventTransition:o}),[o]),D=i==="system"&&!u?p:u,T=de.exports.useCallback(L=>{const x=L==="system"?P():L;d(x),F(x==="dark"),B(x),a.set(x)},[a,P,F,B]);Zo(()=>{i==="system"&&I(P())},[]),de.exports.useEffect(()=>{const L=a.get();if(L){T(L);return}if(i==="system"){T("system");return}T(c)},[a,c,i,T]);const M=de.exports.useCallback(()=>{T(D==="dark"?"light":"dark")},[D,T]);de.exports.useEffect(()=>{if(!!r)return N(T)},[r,N,T]);const O=de.exports.useMemo(()=>({colorMode:t!=null?t:D,toggleColorMode:t?yE:M,setColorMode:t?yE:T,forced:t!==void 0}),[D,M,T,t]);return Ae(GA.Provider,{value:O,children:n})}I$.displayName="ColorModeProvider";function k$(){const e=YA(),t=Fs();return{...e,theme:t}}function sG(e,t,n){var r,i;if(t==null)return t;const o=a=>{var c,u;return(u=(c=e.__breakpoints)==null?void 0:c.asArray)==null?void 0:u[a]};return(i=(r=o(t))!=null?r:o(n))!=null?i:n}function lG(e,t,n){var r,i;if(t==null)return t;const o=a=>{var c,u;return(u=(c=e.__cssMap)==null?void 0:c[a])==null?void 0:u.value};return(i=(r=o(t))!=null?r:o(n))!=null?i:n}function cG(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),c=r.map((u,d)=>{var p,I;if(e==="breakpoints")return sG(o,u,(p=a[d])!=null?p:u);const P=`${e}.${u}`;return lG(o,P,(I=a[d])!=null?I:u)});return Array.isArray(t)?c:c[0]}}var Bt=(...e)=>e.filter(Boolean).join(" ");function uG(){return!1}function yr(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}var Qh=e=>{const{condition:t,message:n}=e;t&&uG()&&console.warn(n)};function Ki(e,...t){return dG(e)?e(...t):e}var dG=e=>typeof e=="function",Qt=e=>e?"":void 0,Ca=e=>e?!0:void 0;function Wt(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function ZA(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var jw={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,c="[object Arguments]",u="[object Array]",d="[object AsyncFunction]",p="[object Boolean]",I="[object Date]",P="[object Error]",F="[object Function]",B="[object GeneratorFunction]",N="[object Map]",D="[object Number]",T="[object Null]",M="[object Object]",O="[object Proxy]",L="[object RegExp]",x="[object Set]",b="[object String]",C="[object Undefined]",g="[object WeakMap]",w="[object ArrayBuffer]",f="[object DataView]",m="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",y="[object Int16Array]",_="[object Int32Array]",$="[object Uint8Array]",V="[object Uint8ClampedArray]",H="[object Uint16Array]",X="[object Uint32Array]",Q=/[\\^$.*+?()[\]{}|]/g,re=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,le={};le[m]=le[E]=le[S]=le[y]=le[_]=le[$]=le[V]=le[H]=le[X]=!0,le[c]=le[u]=le[w]=le[p]=le[f]=le[I]=le[P]=le[F]=le[N]=le[D]=le[M]=le[L]=le[x]=le[b]=le[g]=!1;var ve=typeof tn=="object"&&tn&&tn.Object===Object&&tn,z=typeof self=="object"&&self&&self.Object===Object&&self,Z=ve||z||Function("return this")(),ce=t&&!t.nodeType&&t,Y=ce&&!0&&e&&!e.nodeType&&e,ie=Y&&Y.exports===ce,he=ie&&ve.process,fe=function(){try{var Fe=Y&&Y.require&&Y.require("util").types;return Fe||he&&he.binding&&he.binding("util")}catch{}}(),Ce=fe&&fe.isTypedArray;function Pe(Fe,Ke,at){switch(at.length){case 0:return Fe.call(Ke);case 1:return Fe.call(Ke,at[0]);case 2:return Fe.call(Ke,at[0],at[1]);case 3:return Fe.call(Ke,at[0],at[1],at[2])}return Fe.apply(Ke,at)}function we(Fe,Ke){for(var at=-1,Mt=Array(Fe);++at -1}function je(Fe,Ke){var at=this.__data__,Mt=W(at,Fe);return Mt<0?(++this.size,at.push([Fe,Ke])):at[Mt][1]=Ke,this}wt.prototype.clear=Ht,wt.prototype.delete=rn,wt.prototype.get=Pn,wt.prototype.has=Dr,wt.prototype.set=je;function Le(Fe){var Ke=-1,at=Fe==null?0:Fe.length;for(this.clear();++Ke 1?at[hn-1]:void 0,Wn=hn>2?at[2]:void 0;for(Rn=Fe.length>3&&typeof Rn=="function"?(hn--,Rn):void 0,Wn&&Jt(at[0],at[1],Wn)&&(Rn=hn<3?void 0:Rn,hn=1),Ke=Object(Ke);++Mt -1&&Fe%1==0&&Fe 0){if(++Ke>=i)return arguments[0]}else Ke=0;return Fe.apply(void 0,arguments)}}function jr(Fe){if(Fe!=null){try{return xe.call(Fe)}catch{}try{return Fe+""}catch{}}return""}function ar(Fe,Ke){return Fe===Ke||Fe!==Fe&&Ke!==Ke}var Nl=te(function(){return arguments}())?te:function(Fe){return _u(Fe)&&ke.call(Fe,"callee")&&!dt.call(Fe,"callee")},Bb=Array.isArray;function Wb(Fe){return Fe!=null&&Jk(Fe.length)&&!Hb(Fe)}function SH(Fe){return _u(Fe)&&Wb(Fe)}var Kk=yt||EH;function Hb(Fe){if(!Ws(Fe))return!1;var Ke=J(Fe);return Ke==F||Ke==B||Ke==d||Ke==O}function Jk(Fe){return typeof Fe=="number"&&Fe>-1&&Fe%1==0&&Fe<=a}function Ws(Fe){var Ke=typeof Fe;return Fe!=null&&(Ke=="object"||Ke=="function")}function _u(Fe){return Fe!=null&&typeof Fe=="object"}function AH(Fe){if(!_u(Fe)||J(Fe)!=M)return!1;var Ke=Qe(Fe);if(Ke===null)return!0;var at=ke.call(Ke,"constructor")&&Ke.constructor;return typeof at=="function"&&at instanceof at&&xe.call(at)==Ge}var Qk=Ce?be(Ce):pe;function IH(Fe){return Me(Fe,qk(Fe))}function qk(Fe){return Wb(Fe)?A(Fe,!0):ye(Fe)}var kH=Ye(function(Fe,Ke,at,Mt){Ie(Fe,Ke,at,Mt)});function _H(Fe){return function(){return Fe}}function e_(Fe){return Fe}function EH(){return!1}e.exports=kH})(jw,jw.exports);const Ji=jw.exports;var hG=e=>/!(important)?$/.test(e),xE=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,fG=(e,t)=>n=>{const r=String(t),i=hG(r),o=xE(r),a=e?`${e}.${o}`:o;let c=yr(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return c=xE(c),i?`${c} !important`:c};function XA(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{var c;const u=fG(t,o)(a);let d=(c=n==null?void 0:n(u,a))!=null?c:u;return r&&(d=r(d,a)),d}}var Nf=(...e)=>t=>e.reduce((n,r)=>r(n),t);function Vi(e,t){return n=>{const r={property:n,scale:e};return r.transform=XA({scale:e,transform:t}),r}}var pG=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function gG(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:pG(t),transform:n?XA({scale:n,compose:r}):r}}var _$=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function mG(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",..._$].join(" ")}function vG(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",..._$].join(" ")}var yG={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},bG={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function xG(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var wG={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Gw={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},CG=new Set(Object.values(Gw)),Yw=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),SG=e=>e.trim();function AG(e,t){if(e==null||Yw.has(e))return e;if(!(Zw(e)||Yw.has(e)))return`url('${e}')`;const i=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),o=i==null?void 0:i[1],a=i==null?void 0:i[2];if(!o||!a)return e;const c=o.includes("-gradient")?o:`${o}-gradient`,[u,...d]=a.split(",").map(SG).filter(Boolean);if((d==null?void 0:d.length)===0)return e;const p=u in Gw?Gw[u]:u;d.unshift(p);const I=d.map(P=>{if(CG.has(P))return P;const F=P.indexOf(" "),[B,N]=F!==-1?[P.substr(0,F),P.substr(F+1)]:[P],D=Zw(N)?N:N&&N.split(" "),T=`colors.${B}`,M=T in t.__cssMap?t.__cssMap[T].varRef:B;return D?[M,...Array.isArray(D)?D:[D]].join(" "):M});return`${c}(${I.join(", ")})`}var Zw=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),IG=(e,t)=>AG(e,t!=null?t:{});function kG(e){return/^var\(--.+\)$/.test(e)}var _G=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Po=e=>t=>`${e}(${t})`,mn={filter(e){return e!=="auto"?e:yG},backdropFilter(e){return e!=="auto"?e:bG},ring(e){return xG(mn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?mG():e==="auto-gpu"?vG():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=_G(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(kG(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:IG,blur:Po("blur"),opacity:Po("opacity"),brightness:Po("brightness"),contrast:Po("contrast"),dropShadow:Po("drop-shadow"),grayscale:Po("grayscale"),hueRotate:Po("hue-rotate"),invert:Po("invert"),saturate:Po("saturate"),sepia:Po("sepia"),bgImage(e){return e==null||Zw(e)||Yw.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:n,divide:r}=(t=wG[e])!=null?t:{},i={flexDirection:e};return n&&(i[n]=1),r&&(i[r]=1),i}},Je={borderWidths:Vi("borderWidths"),borderStyles:Vi("borderStyles"),colors:Vi("colors"),borders:Vi("borders"),gradients:Vi("gradients",mn.gradient),radii:Vi("radii",mn.px),space:Vi("space",Nf(mn.vh,mn.px)),spaceT:Vi("space",Nf(mn.vh,mn.px)),degreeT(e){return{property:e,transform:mn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:XA({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:Vi("sizes",Nf(mn.vh,mn.px)),sizesT:Vi("sizes",Nf(mn.vh,mn.fraction)),shadows:Vi("shadows"),logical:gG,blur:Vi("blur",mn.blur)},Sp={background:Je.colors("background"),backgroundColor:Je.colors("backgroundColor"),backgroundImage:Je.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:mn.bgClip},bgSize:Je.prop("backgroundSize"),bgPosition:Je.prop("backgroundPosition"),bg:Je.colors("background"),bgColor:Je.colors("backgroundColor"),bgPos:Je.prop("backgroundPosition"),bgRepeat:Je.prop("backgroundRepeat"),bgAttachment:Je.prop("backgroundAttachment"),bgGradient:Je.gradients("backgroundImage"),bgClip:{transform:mn.bgClip}};Object.assign(Sp,{bgImage:Sp.backgroundImage,bgImg:Sp.backgroundImage});var yn={border:Je.borders("border"),borderWidth:Je.borderWidths("borderWidth"),borderStyle:Je.borderStyles("borderStyle"),borderColor:Je.colors("borderColor"),borderRadius:Je.radii("borderRadius"),borderTop:Je.borders("borderTop"),borderBlockStart:Je.borders("borderBlockStart"),borderTopLeftRadius:Je.radii("borderTopLeftRadius"),borderStartStartRadius:Je.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Je.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Je.radii("borderTopRightRadius"),borderStartEndRadius:Je.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Je.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Je.borders("borderRight"),borderInlineEnd:Je.borders("borderInlineEnd"),borderBottom:Je.borders("borderBottom"),borderBlockEnd:Je.borders("borderBlockEnd"),borderBottomLeftRadius:Je.radii("borderBottomLeftRadius"),borderBottomRightRadius:Je.radii("borderBottomRightRadius"),borderLeft:Je.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Je.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Je.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Je.borders(["borderLeft","borderRight"]),borderInline:Je.borders("borderInline"),borderY:Je.borders(["borderTop","borderBottom"]),borderBlock:Je.borders("borderBlock"),borderTopWidth:Je.borderWidths("borderTopWidth"),borderBlockStartWidth:Je.borderWidths("borderBlockStartWidth"),borderTopColor:Je.colors("borderTopColor"),borderBlockStartColor:Je.colors("borderBlockStartColor"),borderTopStyle:Je.borderStyles("borderTopStyle"),borderBlockStartStyle:Je.borderStyles("borderBlockStartStyle"),borderBottomWidth:Je.borderWidths("borderBottomWidth"),borderBlockEndWidth:Je.borderWidths("borderBlockEndWidth"),borderBottomColor:Je.colors("borderBottomColor"),borderBlockEndColor:Je.colors("borderBlockEndColor"),borderBottomStyle:Je.borderStyles("borderBottomStyle"),borderBlockEndStyle:Je.borderStyles("borderBlockEndStyle"),borderLeftWidth:Je.borderWidths("borderLeftWidth"),borderInlineStartWidth:Je.borderWidths("borderInlineStartWidth"),borderLeftColor:Je.colors("borderLeftColor"),borderInlineStartColor:Je.colors("borderInlineStartColor"),borderLeftStyle:Je.borderStyles("borderLeftStyle"),borderInlineStartStyle:Je.borderStyles("borderInlineStartStyle"),borderRightWidth:Je.borderWidths("borderRightWidth"),borderInlineEndWidth:Je.borderWidths("borderInlineEndWidth"),borderRightColor:Je.colors("borderRightColor"),borderInlineEndColor:Je.colors("borderInlineEndColor"),borderRightStyle:Je.borderStyles("borderRightStyle"),borderInlineEndStyle:Je.borderStyles("borderInlineEndStyle"),borderTopRadius:Je.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Je.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Je.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Je.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(yn,{rounded:yn.borderRadius,roundedTop:yn.borderTopRadius,roundedTopLeft:yn.borderTopLeftRadius,roundedTopRight:yn.borderTopRightRadius,roundedTopStart:yn.borderStartStartRadius,roundedTopEnd:yn.borderStartEndRadius,roundedBottom:yn.borderBottomRadius,roundedBottomLeft:yn.borderBottomLeftRadius,roundedBottomRight:yn.borderBottomRightRadius,roundedBottomStart:yn.borderEndStartRadius,roundedBottomEnd:yn.borderEndEndRadius,roundedLeft:yn.borderLeftRadius,roundedRight:yn.borderRightRadius,roundedStart:yn.borderInlineStartRadius,roundedEnd:yn.borderInlineEndRadius,borderStart:yn.borderInlineStart,borderEnd:yn.borderInlineEnd,borderTopStartRadius:yn.borderStartStartRadius,borderTopEndRadius:yn.borderStartEndRadius,borderBottomStartRadius:yn.borderEndStartRadius,borderBottomEndRadius:yn.borderEndEndRadius,borderStartRadius:yn.borderInlineStartRadius,borderEndRadius:yn.borderInlineEndRadius,borderStartWidth:yn.borderInlineStartWidth,borderEndWidth:yn.borderInlineEndWidth,borderStartColor:yn.borderInlineStartColor,borderEndColor:yn.borderInlineEndColor,borderStartStyle:yn.borderInlineStartStyle,borderEndStyle:yn.borderInlineEndStyle});var EG={color:Je.colors("color"),textColor:Je.colors("color"),fill:Je.colors("fill"),stroke:Je.colors("stroke")},Xw={boxShadow:Je.shadows("boxShadow"),mixBlendMode:!0,blendMode:Je.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Je.prop("backgroundBlendMode"),opacity:!0};Object.assign(Xw,{shadow:Xw.boxShadow});var TG={filter:{transform:mn.filter},blur:Je.blur("--chakra-blur"),brightness:Je.propT("--chakra-brightness",mn.brightness),contrast:Je.propT("--chakra-contrast",mn.contrast),hueRotate:Je.degreeT("--chakra-hue-rotate"),invert:Je.propT("--chakra-invert",mn.invert),saturate:Je.propT("--chakra-saturate",mn.saturate),dropShadow:Je.propT("--chakra-drop-shadow",mn.dropShadow),backdropFilter:{transform:mn.backdropFilter},backdropBlur:Je.blur("--chakra-backdrop-blur"),backdropBrightness:Je.propT("--chakra-backdrop-brightness",mn.brightness),backdropContrast:Je.propT("--chakra-backdrop-contrast",mn.contrast),backdropHueRotate:Je.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:Je.propT("--chakra-backdrop-invert",mn.invert),backdropSaturate:Je.propT("--chakra-backdrop-saturate",mn.saturate)},tm={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:mn.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Je.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Je.space("gap"),rowGap:Je.space("rowGap"),columnGap:Je.space("columnGap")};Object.assign(tm,{flexDir:tm.flexDirection});var E$={gridGap:Je.space("gridGap"),gridColumnGap:Je.space("gridColumnGap"),gridRowGap:Je.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},PG={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:mn.outline},outlineOffset:!0,outlineColor:Je.colors("outlineColor")},ji={width:Je.sizesT("width"),inlineSize:Je.sizesT("inlineSize"),height:Je.sizes("height"),blockSize:Je.sizes("blockSize"),boxSize:Je.sizes(["width","height"]),minWidth:Je.sizes("minWidth"),minInlineSize:Je.sizes("minInlineSize"),minHeight:Je.sizes("minHeight"),minBlockSize:Je.sizes("minBlockSize"),maxWidth:Je.sizes("maxWidth"),maxInlineSize:Je.sizes("maxInlineSize"),maxHeight:Je.sizes("maxHeight"),maxBlockSize:Je.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var n,r,i;return{[`@media screen and (min-width: ${(i=(r=(n=t.__breakpoints)==null?void 0:n.get(e))==null?void 0:r.minW)!=null?i:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,i;return{[`@media screen and (max-width: ${(i=(r=(n=t.__breakpoints)==null?void 0:n.get(e))==null?void 0:r._minW)!=null?i:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Je.propT("float",mn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ji,{w:ji.width,h:ji.height,minW:ji.minWidth,maxW:ji.maxWidth,minH:ji.minHeight,maxH:ji.maxHeight,overscroll:ji.overscrollBehavior,overscrollX:ji.overscrollBehaviorX,overscrollY:ji.overscrollBehaviorY});var RG={listStyleType:!0,listStylePosition:!0,listStylePos:Je.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Je.prop("listStyleImage")};function OG(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r {const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const c=t.get(r);if(c.has(i))return c.get(i);const u=e(r,i,o,a);return c.set(i,u),u}},LG=MG(OG),DG={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},$G={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},v0=(e,t,n)=>{const r={},i=LG(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},NG={srOnly:{transform(e){return e===!0?DG:e==="focusable"?$G:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>v0(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>v0(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>v0(t,e,n)}},Sd={position:!0,pos:Je.prop("position"),zIndex:Je.prop("zIndex","zIndices"),inset:Je.spaceT("inset"),insetX:Je.spaceT(["left","right"]),insetInline:Je.spaceT("insetInline"),insetY:Je.spaceT(["top","bottom"]),insetBlock:Je.spaceT("insetBlock"),top:Je.spaceT("top"),insetBlockStart:Je.spaceT("insetBlockStart"),bottom:Je.spaceT("bottom"),insetBlockEnd:Je.spaceT("insetBlockEnd"),left:Je.spaceT("left"),insetInlineStart:Je.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Je.spaceT("right"),insetInlineEnd:Je.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Sd,{insetStart:Sd.insetInlineStart,insetEnd:Sd.insetInlineEnd});var FG={ring:{transform:mn.ring},ringColor:Je.colors("--chakra-ring-color"),ringOffset:Je.prop("--chakra-ring-offset-width"),ringOffsetColor:Je.colors("--chakra-ring-offset-color"),ringInset:Je.prop("--chakra-ring-inset")},Nn={margin:Je.spaceT("margin"),marginTop:Je.spaceT("marginTop"),marginBlockStart:Je.spaceT("marginBlockStart"),marginRight:Je.spaceT("marginRight"),marginInlineEnd:Je.spaceT("marginInlineEnd"),marginBottom:Je.spaceT("marginBottom"),marginBlockEnd:Je.spaceT("marginBlockEnd"),marginLeft:Je.spaceT("marginLeft"),marginInlineStart:Je.spaceT("marginInlineStart"),marginX:Je.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Je.spaceT("marginInline"),marginY:Je.spaceT(["marginTop","marginBottom"]),marginBlock:Je.spaceT("marginBlock"),padding:Je.space("padding"),paddingTop:Je.space("paddingTop"),paddingBlockStart:Je.space("paddingBlockStart"),paddingRight:Je.space("paddingRight"),paddingBottom:Je.space("paddingBottom"),paddingBlockEnd:Je.space("paddingBlockEnd"),paddingLeft:Je.space("paddingLeft"),paddingInlineStart:Je.space("paddingInlineStart"),paddingInlineEnd:Je.space("paddingInlineEnd"),paddingX:Je.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Je.space("paddingInline"),paddingY:Je.space(["paddingTop","paddingBottom"]),paddingBlock:Je.space("paddingBlock")};Object.assign(Nn,{m:Nn.margin,mt:Nn.marginTop,mr:Nn.marginRight,me:Nn.marginInlineEnd,marginEnd:Nn.marginInlineEnd,mb:Nn.marginBottom,ml:Nn.marginLeft,ms:Nn.marginInlineStart,marginStart:Nn.marginInlineStart,mx:Nn.marginX,my:Nn.marginY,p:Nn.padding,pt:Nn.paddingTop,py:Nn.paddingY,px:Nn.paddingX,pb:Nn.paddingBottom,pl:Nn.paddingLeft,ps:Nn.paddingInlineStart,paddingStart:Nn.paddingInlineStart,pr:Nn.paddingRight,pe:Nn.paddingInlineEnd,paddingEnd:Nn.paddingInlineEnd});var BG={textDecorationColor:Je.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Je.shadows("textShadow")},WG={clipPath:!0,transform:Je.propT("transform",mn.transform),transformOrigin:!0,translateX:Je.spaceT("--chakra-translate-x"),translateY:Je.spaceT("--chakra-translate-y"),skewX:Je.degreeT("--chakra-skew-x"),skewY:Je.degreeT("--chakra-skew-y"),scaleX:Je.prop("--chakra-scale-x"),scaleY:Je.prop("--chakra-scale-y"),scale:Je.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Je.degreeT("--chakra-rotate")},HG={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Je.prop("transitionDuration","transition.duration"),transitionProperty:Je.prop("transitionProperty","transition.property"),transitionTimingFunction:Je.prop("transitionTimingFunction","transition.easing")},zG={fontFamily:Je.prop("fontFamily","fonts"),fontSize:Je.prop("fontSize","fontSizes",mn.px),fontWeight:Je.prop("fontWeight","fontWeights"),lineHeight:Je.prop("lineHeight","lineHeights"),letterSpacing:Je.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},VG={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Je.spaceT("scrollMargin"),scrollMarginTop:Je.spaceT("scrollMarginTop"),scrollMarginBottom:Je.spaceT("scrollMarginBottom"),scrollMarginLeft:Je.spaceT("scrollMarginLeft"),scrollMarginRight:Je.spaceT("scrollMarginRight"),scrollMarginX:Je.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Je.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Je.spaceT("scrollPadding"),scrollPaddingTop:Je.spaceT("scrollPaddingTop"),scrollPaddingBottom:Je.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Je.spaceT("scrollPaddingLeft"),scrollPaddingRight:Je.spaceT("scrollPaddingRight"),scrollPaddingX:Je.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Je.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function T$(e){return yr(e)&&e.reference?e.reference:String(e)}var Ny=(e,...t)=>t.map(T$).join(` ${e} `).replace(/calc/g,""),wE=(...e)=>`calc(${Ny("+",...e)})`,CE=(...e)=>`calc(${Ny("-",...e)})`,Uw=(...e)=>`calc(${Ny("*",...e)})`,SE=(...e)=>`calc(${Ny("/",...e)})`,AE=e=>{const t=T$(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Uw(t,-1)},Zs=Object.assign(e=>({add:(...t)=>Zs(wE(e,...t)),subtract:(...t)=>Zs(CE(e,...t)),multiply:(...t)=>Zs(Uw(e,...t)),divide:(...t)=>Zs(SE(e,...t)),negate:()=>Zs(AE(e)),toString:()=>e.toString()}),{add:wE,subtract:CE,multiply:Uw,divide:SE,negate:AE});function jG(e,t="-"){return e.replace(/\s+/g,t)}function GG(e){const t=jG(e.toString());return ZG(YG(t))}function YG(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function ZG(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function XG(e,t=""){return[t,e].filter(Boolean).join("-")}function UG(e,t){return`var(${e}${t?`, ${t}`:""})`}function KG(e,t=""){return GG(`--${XG(e,t)}`)}function fn(e,t,n){const r=KG(e,n);return{variable:r,reference:UG(r,t)}}function JG(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[i,o]=r;n[i]=fn(`${e}-${i}`,o);continue}n[r]=fn(`${e}-${r}`)}return n}function QG(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function qG(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function Kw(e){if(e==null)return e;const{unitless:t}=qG(e);return t||typeof e=="number"?`${e}px`:e}var P$=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,UA=e=>Object.fromEntries(Object.entries(e).sort(P$));function IE(e){const t=UA(e);return Object.assign(Object.values(t),t)}function e4(e){const t=Object.keys(UA(e));return new Set(t)}function kE(e){var t;if(!e)return e;e=(t=Kw(e))!=null?t:e;const n=-.02;return typeof e=="number"?`${e+n}`:e.replace(/(\d+\.?\d*)/u,r=>`${parseFloat(r)+n}`)}function rd(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${Kw(e)})`),t&&n.push("and",`(max-width: ${Kw(t)})`),n.join(" ")}function t4(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";const n=IE(e),r=Object.entries(e).sort(P$).map(([a,c],u,d)=>{var p;let[,I]=(p=d[u+1])!=null?p:[];return I=parseFloat(I)>0?kE(I):void 0,{_minW:kE(c),breakpoint:a,minW:c,maxW:I,maxWQuery:rd(null,I),minWQuery:rd(c),minMaxQuery:rd(c,I)}}),i=e4(e),o=Array.from(i.values());return{keys:i,normalized:n,isResponsive(a){const c=Object.keys(a);return c.length>0&&c.every(u=>i.has(u))},asObject:UA(e),asArray:IE(e),details:r,get(a){return r.find(c=>c.breakpoint===a)},media:[null,...n.map(a=>rd(a)).slice(1)],toArrayValue(a){if(!yr(a))throw new Error("toArrayValue: value must be an object");const c=o.map(u=>{var d;return(d=a[u])!=null?d:null});for(;QG(c)===null;)c.pop();return c},toObjectValue(a){if(!Array.isArray(a))throw new Error("toObjectValue: value must be an array");return a.reduce((c,u,d)=>{const p=o[d];return p!=null&&u!=null&&(c[p]=u),c},{})}}}var $r={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Ga=e=>R$(t=>e(t,"&"),"[role=group]","[data-group]",".group"),la=e=>R$(t=>e(t,"~ &"),"[data-peer]",".peer"),R$=(e,...t)=>t.map(e).join(", "),Fy={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Ga($r.hover),_peerHover:la($r.hover),_groupFocus:Ga($r.focus),_peerFocus:la($r.focus),_groupFocusVisible:Ga($r.focusVisible),_peerFocusVisible:la($r.focusVisible),_groupActive:Ga($r.active),_peerActive:la($r.active),_groupDisabled:Ga($r.disabled),_peerDisabled:la($r.disabled),_groupInvalid:Ga($r.invalid),_peerInvalid:la($r.invalid),_groupChecked:Ga($r.checked),_peerChecked:la($r.checked),_groupFocusWithin:Ga($r.focusWithin),_peerFocusWithin:la($r.focusWithin),_peerPlaceholderShown:la($r.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},n4=Object.keys(Fy);function _E(e,t){return fn(String(e).replace(/\./g,"-"),void 0,t)}function r4(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:c}=o,{variable:u,reference:d}=_E(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const P=i.split("."),[F,...B]=P,N=`${F}.-${B.join(".")}`,D=Zs.negate(c),T=Zs.negate(d);r[N]={value:D,var:u,varRef:T}}n[u]=c,r[i]={value:c,var:u,varRef:d};continue}const p=P=>{const B=[String(i).split(".")[0],P].join(".");if(!e[B])return P;const{reference:D}=_E(B,t==null?void 0:t.cssVarPrefix);return D},I=yr(c)?c:{default:c};n=Ji(n,Object.entries(I).reduce((P,[F,B])=>{var N,D;const T=p(B.toString());if(F==="default")return P[u]=T,P;const M=(D=(N=Fy)==null?void 0:N[F])!=null?D:F;return P[M]={[u]:T},P},{})),r[i]={value:d,var:u,varRef:d}}return{cssVars:n,cssMap:r}}function i4(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function o4(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var a4=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function s4(e){return o4(e,a4)}function l4(e){return e.semanticTokens}function c4(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function u4({tokens:e,semanticTokens:t}){var n,r;const i=Object.entries((n=Jw(e))!=null?n:{}).map(([a,c])=>[a,{isSemantic:!1,value:c}]),o=Object.entries((r=Jw(t,1))!=null?r:{}).map(([a,c])=>[a,{isSemantic:!0,value:c}]);return Object.fromEntries([...i,...o])}function Jw(e,t=1/0){return!yr(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(yr(i)||Array.isArray(i)?Object.entries(Jw(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function d4(e){var t;const n=c4(e),r=s4(n),i=l4(n),o=u4({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:c,cssVars:u}=r4(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...u},__cssMap:c,__breakpoints:t4(n.breakpoints)}),n}var KA=Ji({},Sp,yn,EG,tm,ji,TG,FG,PG,E$,NG,Sd,Xw,Nn,VG,zG,BG,WG,RG,HG),h4=Object.assign({},Nn,ji,tm,E$,Sd),f4=Object.keys(h4),p4=[...Object.keys(KA),...n4],g4={...KA,...Fy},m4=e=>e in g4,v4=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let c=Ki(e[a],t);if(c==null)continue;if(c=yr(c)&&n(c)?r(c):c,!Array.isArray(c)){o[a]=c;continue}const u=c.slice(0,i.length).length;for(let d=0;de.startsWith("--")&&typeof t=="string"&&!b4(t),w4=(e,t)=>{var n,r;if(t==null)return t;const i=u=>{var d,p;return(p=(d=e.__cssMap)==null?void 0:d[u])==null?void 0:p.varRef},o=u=>{var d;return(d=i(u))!=null?d:u},[a,c]=y4(t);return t=(r=(n=i(a))!=null?n:o(c))!=null?r:o(t),t};function C4(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var c,u,d;const p=Ki(o,r),I=v4(p)(r);let P={};for(let F in I){const B=I[F];let N=Ki(B,r);F in n&&(F=n[F]),x4(F,N)&&(N=w4(r,N));let D=t[F];if(D===!0&&(D={property:F}),yr(N)){P[F]=(c=P[F])!=null?c:{},P[F]=Ji({},P[F],i(N,!0));continue}let T=(d=(u=D==null?void 0:D.transform)==null?void 0:u.call(D,N,r,p))!=null?d:N;T=D!=null&&D.processResult?i(T,!0):T;const M=Ki(D==null?void 0:D.property,r);if(!a&&(D==null?void 0:D.static)){const O=Ki(D.static,r);P=Ji({},P,O)}if(M&&Array.isArray(M)){for(const O of M)P[O]=T;continue}if(M){M==="&"&&yr(T)?P=Ji({},P,T):P[M]=T;continue}if(yr(T)){P=Ji({},P,T);continue}P[F]=T}return P};return i}var O$=e=>t=>C4({theme:t,pseudos:Fy,configs:KA})(e);function Bn(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function S4(e,t){if(Array.isArray(e))return e;if(yr(e))return t(e);if(e!=null)return[e]}function A4(e,t){for(let n=t+1;n {Ji(d,{[O]:P?M[O]:{[T]:M[O]}})});continue}if(!F){P?Ji(d,M):d[T]=M;continue}d[T]=M}}return d}}function k4(e){return t=>{var n;const{variant:r,size:i,theme:o}=t,a=I4(o);return Ji({},Ki((n=e.baseStyle)!=null?n:{},t),a(e,"sizes",i,t),a(e,"variants",r,t))}}function _4(e,t,n){var r,i,o;return(o=(i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)!=null?o:n}function Dn(e){return i4(e,["styleConfig","size","variant","colorScheme"])}var E4=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function T4(e){return yr(e)?E4.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}var P4={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},R4=P4,O4={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},M4=O4,L4={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},D4=L4,$4={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},N4=$4,F4={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},B4=F4,W4={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},H4={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},z4={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},V4={property:W4,easing:H4,duration:z4},j4=V4,G4={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Y4=G4,Z4={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},X4=Z4,U4={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},M$=U4,L$={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},K4={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},J4={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Q4={...L$,...K4,container:J4},D$=Q4,$$={breakpoints:M4,zIndices:R4,radii:N4,blur:Y4,colors:D4,...M$,sizes:D$,shadows:B4,space:L$,borders:X4,transition:j4};function An(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function i(...p){r();for(const I of p)t[I]=u(I);return An(e,t)}function o(...p){for(const I of p)I in t||(t[I]=u(I));return An(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([I,P])=>[I,P.selector]))}function c(){return Object.fromEntries(Object.entries(t).map(([I,P])=>[I,P.className]))}function u(p){const F=`chakra-${(["container","root"].includes(p!=null?p:"")?[e]:[e,p]).filter(Boolean).join("__")}`;return{className:F,selector:`.${F}`,toString:()=>p}}return{parts:i,toPart:u,extend:o,selectors:a,classnames:c,get keys(){return Object.keys(t)},__type:{}}}var q4=An("accordion").parts("root","container","button","panel").extend("icon"),e9=An("alert").parts("title","description","container").extend("icon","spinner"),t9=An("avatar").parts("label","badge","container").extend("excessLabel","group"),n9=An("breadcrumb").parts("link","item","container").extend("separator");An("button").parts();var r9=An("checkbox").parts("control","icon","container").extend("label");An("progress").parts("track","filledTrack").extend("label");var i9=An("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),o9=An("editable").parts("preview","input","textarea"),a9=An("form").parts("container","requiredIndicator","helperText"),s9=An("formError").parts("text","icon"),l9=An("input").parts("addon","field","element"),c9=An("list").parts("container","item","icon"),u9=An("menu").parts("button","list","item").extend("groupTitle","command","divider"),d9=An("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),h9=An("numberinput").parts("root","field","stepperGroup","stepper");An("pininput").parts("field");var f9=An("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),p9=An("progress").parts("label","filledTrack","track"),g9=An("radio").parts("container","control","label"),m9=An("select").parts("field","icon"),v9=An("slider").parts("container","track","thumb","filledTrack","mark"),y9=An("stat").parts("container","label","helpText","number","icon"),b9=An("switch").parts("container","track","thumb"),x9=An("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),w9=An("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),C9=An("tag").parts("container","label","closeButton"),S9=An("card").parts("container","header","body","footer");function Qs(e,t,n){return Math.min(Math.max(e,n),t)}class A9 extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var id=A9;function JA(e){if(typeof e!="string")throw new id(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=O9.test(e)?_9(e):e;const n=E9.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(c=>parseInt(uh(c,2),16)),parseInt(uh(a[3]||"f",2),16)/255]}const r=T9.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(c=>parseInt(c,16)),parseInt(a[3]||"ff",16)/255]}const i=P9.exec(t);if(i){const a=Array.from(i).slice(1);return[...a.slice(0,3).map(c=>parseInt(c,10)),parseFloat(a[3]||"1")]}const o=R9.exec(t);if(o){const[a,c,u,d]=Array.from(o).slice(1).map(parseFloat);if(Qs(0,100,c)!==c)throw new id(e);if(Qs(0,100,u)!==u)throw new id(e);return[...M9(a,c,u),Number.isNaN(d)?1:d]}throw new id(e)}function I9(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const EE=e=>parseInt(e.replace(/_/g,""),36),k9="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=EE(t.substring(0,3)),r=EE(t.substring(3)).toString(16);let i="";for(let o=0;o<6-r.length;o++)i+="0";return e[n]=`${i}${r}`,e},{});function _9(e){const t=e.toLowerCase().trim(),n=k9[I9(t)];if(!n)throw new id(e);return`#${n}`}const uh=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),E9=new RegExp(`^#${uh("([a-f0-9])",3)}([a-f0-9])?$`,"i"),T9=new RegExp(`^#${uh("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),P9=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${uh(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),R9=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,O9=/^[a-z]+$/i,TE=e=>Math.round(e*255),M9=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(TE);const i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*(t/100),a=o*(1-Math.abs(i%2-1));let c=0,u=0,d=0;i>=0&&i<1?(c=o,u=a):i>=1&&i<2?(c=a,u=o):i>=2&&i<3?(u=o,d=a):i>=3&&i<4?(u=a,d=o):i>=4&&i<5?(c=a,d=o):i>=5&&i<6&&(c=o,d=a);const p=r-o/2,I=c+p,P=u+p,F=d+p;return[I,P,F].map(TE)};function L9(e,t,n,r){return`rgba(${Qs(0,255,e).toFixed()}, ${Qs(0,255,t).toFixed()}, ${Qs(0,255,n).toFixed()}, ${parseFloat(Qs(0,1,r).toFixed(3))})`}function D9(e,t){const[n,r,i,o]=JA(e);return L9(n,r,i,o-t)}function $9(e){const[t,n,r,i]=JA(e);let o=a=>{const c=Qs(0,255,a).toString(16);return c.length===1?`0${c}`:c};return`#${o(t)}${o(n)}${o(r)}${i<1?o(Math.round(i*255)):""}`}function N9(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r Object.keys(e).length===0,ai=(e,t,n)=>{const r=N9(e,`colors.${t}`,t);try{return $9(r),r}catch{return n!=null?n:"#000000"}},B9=e=>{const[t,n,r]=JA(e);return(t*299+n*587+r*114)/1e3},W9=e=>t=>{const n=ai(t,e);return B9(n)<128?"dark":"light"},H9=e=>t=>W9(e)(t)==="dark",Kc=(e,t)=>n=>{const r=ai(n,e);return D9(r,1-t)};function PE(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function f0(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Pw(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var _j=typeof WeakMap=="function"?WeakMap:Map;function KD(e,t,n){n=wa(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jg||(Jg=!0,Ww=r),Pw(e,t)},n}function JD(e,t,n){n=wa(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Pw(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Pw(e,t),typeof r!="function"&&(bs===null?bs=new Set([this]):bs.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function eE(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new _j;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Hj.bind(null,e,t,n),t.then(e,e))}function tE(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function nE(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wa(-1,1),t.tag=2,ys(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var Ej=Ba.ReactCurrentOwner,mi=!1;function ri(e,t,n,r){t.child=e===null?TD(t,null,n,r):Yc(t,e.child,n,r)}function rE(e,t,n,r,i){n=n.render;var o=t.ref;return kc(t,i),r=EA(e,t,n,r,o,i),n=TA(),e!==null&&!mi?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Oa(e,t,i)):(Gn&&n&&mA(t),t.flags|=1,ri(e,t,r,i),t.child)}function iE(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!BA(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,QD(e,t,o,r,i)):(e=Cp(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:eh,n(a,r)&&e.ref===t.ref)return Oa(e,t,i)}return t.flags|=1,e=ws(o,r),e.ref=t.ref,e.return=t,t.child=e}function QD(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(eh(o,r)&&e.ref===t.ref)if(mi=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(mi=!0);else return t.lanes=e.lanes,Oa(e,t,i)}return Rw(e,t,n,r,i)}function qD(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ln(uc,ki),ki|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ln(uc,ki),ki|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Ln(uc,ki),ki|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ln(uc,ki),ki|=r;return ri(e,t,i,n),t.child}function e$(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Rw(e,t,n,r,i){var o=yi(n)?gl:Jr.current;return o=jc(t,o),kc(t,i),n=EA(e,t,n,r,o,i),r=TA(),e!==null&&!mi?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Oa(e,t,i)):(Gn&&r&&mA(t),t.flags|=1,ri(e,t,n,i),t.child)}function oE(e,t,n,r,i){if(yi(n)){var o=!0;Hg(t)}else o=!1;if(kc(t,i),t.stateNode===null)bp(e,t),_D(t,n,r),Tw(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,c=t.memoizedProps;a.props=c;var u=a.context,d=n.contextType;typeof d=="object"&&d!==null?d=to(d):(d=yi(n)?gl:Jr.current,d=jc(t,d));var p=n.getDerivedStateFromProps,I=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function";I||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(c!==r||u!==d)&&K_(t,a,r,d),es=!1;var P=t.memoizedState;a.state=P,Yg(t,r,a,i),u=t.memoizedState,c!==r||P!==u||vi.current||es?(typeof p=="function"&&(Ew(t,n,p,r),u=t.memoizedState),(c=es||U_(t,n,c,r,P,u,d))?(I||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=d,r=c):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ID(e,t),c=t.memoizedProps,d=t.type===t.elementType?c:go(t.type,c),a.props=d,I=t.pendingProps,P=a.context,u=n.contextType,typeof u=="object"&&u!==null?u=to(u):(u=yi(n)?gl:Jr.current,u=jc(t,u));var F=n.getDerivedStateFromProps;(p=typeof F=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(c!==I||P!==u)&&K_(t,a,r,u),es=!1,P=t.memoizedState,a.state=P,Yg(t,r,a,i);var B=t.memoizedState;c!==I||P!==B||vi.current||es?(typeof F=="function"&&(Ew(t,n,F,r),B=t.memoizedState),(d=es||U_(t,n,d,r,P,B,u)||!1)?(p||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,B,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,B,u)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||c===e.memoizedProps&&P===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&P===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=B),a.props=r,a.state=B,a.context=u,r=d):(typeof a.componentDidUpdate!="function"||c===e.memoizedProps&&P===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&P===e.memoizedState||(t.flags|=1024),r=!1)}return Ow(e,t,n,r,o,i)}function Ow(e,t,n,r,i,o){e$(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&j_(t,n,!1),Oa(e,t,o);r=t.stateNode,Ej.current=t;var c=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Yc(t,e.child,null,o),t.child=Yc(t,null,c,o)):ri(e,t,c,o),t.memoizedState=r.state,i&&j_(t,n,!0),t.child}function t$(e){var t=e.stateNode;t.pendingContext?z_(e,t.pendingContext,t.pendingContext!==t.context):t.context&&z_(e,t.context,!1),AA(e,t.containerInfo)}function aE(e,t,n,r,i){return Gc(),yA(i),t.flags|=256,ri(e,t,n,r),t.child}var Mw={dehydrated:null,treeContext:null,retryLane:0};function Lw(e){return{baseLanes:e,cachePool:null,transitions:null}}function n$(e,t,n){var r=t.pendingProps,i=Kn.current,o=!1,a=(t.flags&128)!==0,c;if((c=a)||(c=e!==null&&e.memoizedState===null?!1:(i&2)!==0),c?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ln(Kn,i&1),e===null)return kw(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=a):o=Oy(a,r,0,null),e=il(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Lw(n),t.memoizedState=Mw,e):OA(t,a));if(i=e.memoizedState,i!==null&&(c=i.dehydrated,c!==null))return Tj(e,t,a,r,c,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,c=i.sibling;var u={mode:"hidden",children:r.children};return(a&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=ws(i,u),r.subtreeFlags=i.subtreeFlags&14680064),c!==null?o=ws(c,o):(o=il(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?Lw(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=Mw,r}return o=e.child,e=o.sibling,r=ws(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function OA(e,t){return t=Oy({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Of(e,t,n,r){return r!==null&&yA(r),Yc(t,e.child,null,n),e=OA(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Tj(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=f0(Error(bt(422))),Of(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Oy({mode:"visible",children:r.children},i,0,null),o=il(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Yc(t,e.child,null,a),t.child.memoizedState=Lw(a),t.memoizedState=Mw,o);if((t.mode&1)===0)return Of(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var c=r.dgst;return r=c,o=Error(bt(419)),r=f0(o,r,void 0),Of(e,t,a,r)}if(c=(a&e.childLanes)!==0,mi||c){if(r=Tr,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|a))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ra(e,i),wo(r,e,i,-1))}return FA(),r=f0(Error(bt(421))),Of(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Vj.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ti=vs(i.nextSibling),Li=t,Gn=!0,vo=null,e!==null&&(Gi[Yi++]=va,Gi[Yi++]=ya,Gi[Yi++]=ml,va=e.id,ya=e.overflow,ml=t),t=OA(t,r.children),t.flags|=4096,t)}function sE(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),_w(e.return,t,n)}function p0(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function r$(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ri(e,t,r.children,n),r=Kn.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sE(e,n,t);else if(e.tag===19)sE(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ln(Kn,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Zg(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),p0(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Zg(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}p0(t,!0,n,null,o);break;case"together":p0(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function bp(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Oa(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),yl|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(bt(153));if(t.child!==null){for(e=t.child,n=ws(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ws(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Pj(e,t,n){switch(t.tag){case 3:t$(t),Gc();break;case 5:PD(t);break;case 1:yi(t.type)&&Hg(t);break;case 4:AA(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ln(jg,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ln(Kn,Kn.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?n$(e,t,n):(Ln(Kn,Kn.current&1),e=Oa(e,t,n),e!==null?e.sibling:null);Ln(Kn,Kn.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return r$(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ln(Kn,Kn.current),r)break;return null;case 22:case 23:return t.lanes=0,qD(e,t,n)}return Oa(e,t,n)}var i$,Dw,o$,a$;i$=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Dw=function(){};o$=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Js(Uo.current);var o=null;switch(n){case"input":i=rw(e,i),r=rw(e,r),o=[];break;case"select":i=qn({},i,{value:void 0}),r=qn({},r,{value:void 0}),o=[];break;case"textarea":i=aw(e,i),r=aw(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Bg)}lw(n,r);var a;n=null;for(d in i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&i[d]!=null)if(d==="style"){var c=i[d];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Zd.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in r){var u=r[d];if(c=i!=null?i[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(u!=null||c!=null))if(d==="style")if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(o||(o=[]),o.push(d,n)),n=u;else d==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,c=c?c.__html:void 0,u!=null&&c!==u&&(o=o||[]).push(d,u)):d==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(d,""+u):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Zd.hasOwnProperty(d)?(u!=null&&d==="onScroll"&&$n("scroll",e),o||c===u||(o=[])):(o=o||[]).push(d,u))}n&&(o=o||[]).push("style",n);var d=o;(t.updateQueue=d)&&(t.flags|=4)}};a$=function(e,t,n,r){n!==r&&(t.flags|=4)};function $u(e,t){if(!Gn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yr(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Rj(e,t,n){var r=t.pendingProps;switch(vA(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yr(t),null;case 1:return yi(t.type)&&Wg(),Yr(t),null;case 3:return r=t.stateNode,Zc(),Fn(vi),Fn(Jr),kA(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Pf(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vo!==null&&(zw(vo),vo=null))),Dw(e,t),Yr(t),null;case 5:IA(t);var i=Js(oh.current);if(n=t.type,e!==null&&t.stateNode!=null)o$(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(bt(166));return Yr(t),null}if(e=Js(Uo.current),Pf(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Fo]=t,r[rh]=o,e=(t.mode&1)!==0,n){case"dialog":$n("cancel",r),$n("close",r);break;case"iframe":case"object":case"embed":$n("load",r);break;case"video":case"audio":for(i=0;i <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Fo]=t,e[rh]=r,i$(e,t,!1,!1),t.stateNode=e;e:{switch(a=cw(n,r),n){case"dialog":$n("cancel",e),$n("close",e),i=r;break;case"iframe":case"object":case"embed":$n("load",e),i=r;break;case"video":case"audio":for(i=0;i Uc&&(t.flags|=128,r=!0,$u(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zg(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$u(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Gn)return Yr(t),null}else 2*sr()-o.renderingStartTime>Uc&&n!==1073741824&&(t.flags|=128,r=!0,$u(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=sr(),t.sibling=null,n=Kn.current,Ln(Kn,r?n&1|2:n&1),t):(Yr(t),null);case 22:case 23:return NA(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ki&1073741824)!==0&&(Yr(t),t.subtreeFlags&6&&(t.flags|=8192)):Yr(t),null;case 24:return null;case 25:return null}throw Error(bt(156,t.tag))}function Oj(e,t){switch(vA(t),t.tag){case 1:return yi(t.type)&&Wg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zc(),Fn(vi),Fn(Jr),kA(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return IA(t),null;case 13:if(Fn(Kn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(bt(340));Gc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fn(Kn),null;case 4:return Zc(),null;case 10:return wA(t.type._context),null;case 22:case 23:return NA(),null;case 24:return null;default:return null}}var Mf=!1,Ur=!1,Mj=typeof WeakSet=="function"?WeakSet:Set,Nt=null;function cc(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){tr(e,t,r)}else n.current=null}function $w(e,t,n){try{n()}catch(r){tr(e,t,r)}}var lE=!1;function Lj(e,t){if(bw=$g,e=uD(),gA(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,c=-1,u=-1,d=0,p=0,I=e,P=null;t:for(;;){for(var F;I!==n||i!==0&&I.nodeType!==3||(c=a+i),I!==o||r!==0&&I.nodeType!==3||(u=a+r),I.nodeType===3&&(a+=I.nodeValue.length),(F=I.firstChild)!==null;)P=I,I=F;for(;;){if(I===e)break t;if(P===n&&++d===i&&(c=a),P===o&&++p===r&&(u=a),(F=I.nextSibling)!==null)break;I=P,P=I.parentNode}I=F}n=c===-1||u===-1?null:{start:c,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(xw={focusedElem:e,selectionRange:n},$g=!1,Nt=t;Nt!==null;)if(t=Nt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Nt=e;else for(;Nt!==null;){t=Nt;try{var B=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(B!==null){var N=B.memoizedProps,D=B.memoizedState,T=t.stateNode,M=T.getSnapshotBeforeUpdate(t.elementType===t.type?N:go(t.type,N),D);T.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var O=t.stateNode.containerInfo;O.nodeType===1?O.textContent="":O.nodeType===9&&O.documentElement&&O.removeChild(O.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(bt(163))}}catch(L){tr(t,t.return,L)}if(e=t.sibling,e!==null){e.return=t.return,Nt=e;break}Nt=t.return}return B=lE,lE=!1,B}function xd(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&$w(t,n,o)}i=i.next}while(i!==r)}}function Py(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Nw(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function s$(e){var t=e.alternate;t!==null&&(e.alternate=null,s$(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fo],delete t[rh],delete t[Sw],delete t[mj],delete t[vj])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function l$(e){return e.tag===5||e.tag===3||e.tag===4}function cE(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||l$(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fw(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Bg));else if(r!==4&&(e=e.child,e!==null))for(Fw(e,t,n),e=e.sibling;e!==null;)Fw(e,t,n),e=e.sibling}function Bw(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Bw(e,t,n),e=e.sibling;e!==null;)Bw(e,t,n),e=e.sibling}var Nr=null,mo=!1;function ja(e,t,n){for(n=n.child;n!==null;)c$(e,t,n),n=n.sibling}function c$(e,t,n){if(Xo&&typeof Xo.onCommitFiberUnmount=="function")try{Xo.onCommitFiberUnmount(Cy,n)}catch{}switch(n.tag){case 5:Ur||cc(n,t);case 6:var r=Nr,i=mo;Nr=null,ja(e,t,n),Nr=r,mo=i,Nr!==null&&(mo?(e=Nr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Nr.removeChild(n.stateNode));break;case 18:Nr!==null&&(mo?(e=Nr,n=n.stateNode,e.nodeType===8?s0(e.parentNode,n):e.nodeType===1&&s0(e,n),Qd(e)):s0(Nr,n.stateNode));break;case 4:r=Nr,i=mo,Nr=n.stateNode.containerInfo,mo=!0,ja(e,t,n),Nr=r,mo=i;break;case 0:case 11:case 14:case 15:if(!Ur&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&((o&2)!==0||(o&4)!==0)&&$w(n,t,a),i=i.next}while(i!==r)}ja(e,t,n);break;case 1:if(!Ur&&(cc(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(c){tr(n,t,c)}ja(e,t,n);break;case 21:ja(e,t,n);break;case 22:n.mode&1?(Ur=(r=Ur)||n.memoizedState!==null,ja(e,t,n),Ur=r):ja(e,t,n);break;default:ja(e,t,n)}}function uE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Mj),t.forEach(function(r){var i=zj.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function co(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=a),r&=~o}if(r=i,r=sr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$j(r/1960))-r,10 e?16:e,us===null)var r=!1;else{if(e=us,us=null,Qg=0,(gn&6)!==0)throw Error(bt(331));var i=gn;for(gn|=4,Nt=e.current;Nt!==null;){var o=Nt,a=o.child;if((Nt.flags&16)!==0){var c=o.deletions;if(c!==null){for(var u=0;u sr()-DA?rl(e,0):LA|=n),bi(e,t)}function v$(e,t){t===0&&((e.mode&1)===0?t=1:(t=Af,Af<<=1,(Af&130023424)===0&&(Af=4194304)));var n=si();e=Ra(e,t),e!==null&&(Xh(e,t,n),bi(e,n))}function Vj(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),v$(e,n)}function zj(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(bt(314))}r!==null&&r.delete(t),v$(e,n)}var y$;y$=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vi.current)mi=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return mi=!1,Pj(e,t,n);mi=(e.flags&131072)!==0}else mi=!1,Gn&&(t.flags&1048576)!==0&&wD(t,zg,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;bp(e,t),e=t.pendingProps;var i=jc(t,Jr.current);kc(t,n),i=EA(null,t,r,e,i,n);var o=TA();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yi(r)?(o=!0,Hg(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,SA(t),i.updater=Ey,t.stateNode=i,i._reactInternals=t,Tw(t,r,e,n),t=Ow(null,t,r,!0,o,n)):(t.tag=0,Gn&&o&&mA(t),ri(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(bp(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Gj(r),e=go(r,e),i){case 0:t=Rw(null,t,r,e,n);break e;case 1:t=oE(null,t,r,e,n);break e;case 11:t=rE(null,t,r,e,n);break e;case 14:t=iE(null,t,r,go(r.type,e),n);break e}throw Error(bt(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),Rw(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),oE(e,t,r,i,n);case 3:e:{if(t$(t),e===null)throw Error(bt(387));r=t.pendingProps,o=t.memoizedState,i=o.element,ID(e,t),Yg(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Xc(Error(bt(423)),t),t=aE(e,t,r,n,i);break e}else if(r!==i){i=Xc(Error(bt(424)),t),t=aE(e,t,r,n,i);break e}else for(Ti=vs(t.stateNode.containerInfo.firstChild),Li=t,Gn=!0,vo=null,n=TD(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gc(),r===i){t=Oa(e,t,n);break e}ri(e,t,r,n)}t=t.child}return t;case 5:return PD(t),e===null&&kw(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,ww(r,i)?a=null:o!==null&&ww(r,o)&&(t.flags|=32),e$(e,t),ri(e,t,a,n),t.child;case 6:return e===null&&kw(t),null;case 13:return n$(e,t,n);case 4:return AA(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yc(t,null,r,n):ri(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),rE(e,t,r,i,n);case 7:return ri(e,t,t.pendingProps,n),t.child;case 8:return ri(e,t,t.pendingProps.children,n),t.child;case 12:return ri(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Ln(jg,r._currentValue),r._currentValue=a,o!==null)if(Io(o.value,a)){if(o.children===i.children&&!vi.current){t=Oa(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){a=o.child;for(var u=c.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=wa(-1,n&-n),u.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var p=d.pending;p===null?u.next=u:(u.next=p.next,p.next=u),d.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),_w(o.return,n,t),c.lanes|=n;break}u=u.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(bt(341));a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),_w(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}ri(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,kc(t,n),i=to(i),r=r(i),t.flags|=1,ri(e,t,r,n),t.child;case 14:return r=t.type,i=go(r,t.pendingProps),i=go(r.type,i),iE(e,t,r,i,n);case 15:return QD(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:go(r,i),bp(e,t),t.tag=1,yi(r)?(e=!0,Hg(t)):e=!1,kc(t,n),_D(t,r,i),Tw(t,r,i,n),Ow(null,t,r,!0,e,n);case 19:return r$(e,t,n);case 22:return qD(e,t,n)}throw Error(bt(156,t.tag))};function b$(e,t){return GL(e,t)}function jj(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ui(e,t,n,r){return new jj(e,t,n,r)}function BA(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gj(e){if(typeof e=="function")return BA(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iA)return 11;if(e===oA)return 14}return 2}function ws(e,t){var n=e.alternate;return n===null?(n=Ui(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Cp(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")BA(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ec:return il(n.children,i,o,t);case rA:a=8,i|=8;break;case qx:return e=Ui(12,n,t,i|2),e.elementType=qx,e.lanes=o,e;case ew:return e=Ui(13,n,t,i),e.elementType=ew,e.lanes=o,e;case tw:return e=Ui(19,n,t,i),e.elementType=tw,e.lanes=o,e;case EL:return Oy(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kL:a=10;break e;case _L:a=9;break e;case iA:a=11;break e;case oA:a=14;break e;case qa:a=16,r=null;break e}throw Error(bt(130,e==null?e:typeof e,""))}return t=Ui(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function il(e,t,n,r){return e=Ui(7,e,r,t),e.lanes=n,e}function Oy(e,t,n,r){return e=Ui(22,e,r,t),e.elementType=EL,e.lanes=n,e.stateNode={isHidden:!1},e}function g0(e,t,n){return e=Ui(6,e,null,t),e.lanes=n,e}function m0(e,t,n){return t=Ui(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yj(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kb(0),this.expirationTimes=Kb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kb(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function WA(e,t,n,r,i,o,a,c,u){return e=new Yj(e,t,n,c,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ui(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},SA(o),e}function Zj(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Bi})(Ls);const S$=Gh(Ls.exports);var[A$,Qj]=In({strict:!1,name:"PortalContext"}),jA="chakra-portal",qj=".chakra-portal",eG=e=>Se("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),tG=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=de.exports.useState(null),o=de.exports.useRef(null),[,a]=de.exports.useState({});de.exports.useEffect(()=>a({}),[]);const c=Qj(),u=UV();Zo(()=>{if(!r)return;const p=r.ownerDocument,I=t&&c!=null?c:p.body;if(!I)return;o.current=p.createElement("div"),o.current.className=jA,I.appendChild(o.current),a({});const P=o.current;return()=>{I.contains(P)&&I.removeChild(P)}},[r]);const d=u!=null&&u.zIndex?Se(eG,{zIndex:u==null?void 0:u.zIndex,children:n}):n;return o.current?Ls.exports.createPortal(Se(A$,{value:o.current,children:d}),o.current):Se("span",{ref:p=>{p&&i(p)}})},nG=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i!=null?i:typeof window<"u"?document.body:void 0,a=de.exports.useMemo(()=>{const u=i==null?void 0:i.ownerDocument.createElement("div");return u&&(u.className=jA),u},[i]),[,c]=de.exports.useState({});return Zo(()=>c({}),[]),Zo(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Ls.exports.createPortal(Se(A$,{value:r?a:null,children:t}),a):null};function gu(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?Se(nG,{containerRef:n,...r}):Se(tG,{...r})}gu.className=jA;gu.selector=qj;gu.displayName="Portal";function Fs(){const e=de.exports.useContext(Yd);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in ` ` or ` `");return e}var GA=de.exports.createContext({});GA.displayName="ColorModeContext";function YA(){const e=de.exports.useContext(GA);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var $f={light:"chakra-ui-light",dark:"chakra-ui-dark"};function rG(e={}){const{preventTransition:t=!0}=e,n={setDataset:r=>{const i=t?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,i==null||i()},setClassName(r){document.body.classList.add(r?$f.dark:$f.light),document.body.classList.remove(r?$f.light:$f.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){var i;return((i=n.query().matches)!=null?i:r==="dark")?"dark":"light"},addListener(r){const i=n.query(),o=a=>{r(a.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(o):i.addEventListener("change",o),()=>{typeof i.removeListener=="function"?i.removeListener(o):i.removeEventListener("change",o)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var iG="chakra-ui-color-mode";function oG(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var aG=oG(iG),yE=()=>{};function bE(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function I$(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:i,disableTransitionOnChange:o}={},colorModeManager:a=aG}=e,c=i==="dark"?"dark":"light",[u,d]=de.exports.useState(()=>bE(a,c)),[p,I]=de.exports.useState(()=>bE(a)),{getSystemTheme:P,setClassName:F,setDataset:B,addListener:N}=de.exports.useMemo(()=>rG({preventTransition:o}),[o]),D=i==="system"&&!u?p:u,T=de.exports.useCallback(L=>{const x=L==="system"?P():L;d(x),F(x==="dark"),B(x),a.set(x)},[a,P,F,B]);Zo(()=>{i==="system"&&I(P())},[]),de.exports.useEffect(()=>{const L=a.get();if(L){T(L);return}if(i==="system"){T("system");return}T(c)},[a,c,i,T]);const M=de.exports.useCallback(()=>{T(D==="dark"?"light":"dark")},[D,T]);de.exports.useEffect(()=>{if(!!r)return N(T)},[r,N,T]);const O=de.exports.useMemo(()=>({colorMode:t!=null?t:D,toggleColorMode:t?yE:M,setColorMode:t?yE:T,forced:t!==void 0}),[D,M,T,t]);return Se(GA.Provider,{value:O,children:n})}I$.displayName="ColorModeProvider";function k$(){const e=YA(),t=Fs();return{...e,theme:t}}function sG(e,t,n){var r,i;if(t==null)return t;const o=a=>{var c,u;return(u=(c=e.__breakpoints)==null?void 0:c.asArray)==null?void 0:u[a]};return(i=(r=o(t))!=null?r:o(n))!=null?i:n}function lG(e,t,n){var r,i;if(t==null)return t;const o=a=>{var c,u;return(u=(c=e.__cssMap)==null?void 0:c[a])==null?void 0:u.value};return(i=(r=o(t))!=null?r:o(n))!=null?i:n}function cG(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),c=r.map((u,d)=>{var p,I;if(e==="breakpoints")return sG(o,u,(p=a[d])!=null?p:u);const P=`${e}.${u}`;return lG(o,P,(I=a[d])!=null?I:u)});return Array.isArray(t)?c:c[0]}}var Bt=(...e)=>e.filter(Boolean).join(" ");function uG(){return!1}function yr(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}var Qh=e=>{const{condition:t,message:n}=e;t&&uG()&&console.warn(n)};function Ki(e,...t){return dG(e)?e(...t):e}var dG=e=>typeof e=="function",Qt=e=>e?"":void 0,Ca=e=>e?!0:void 0;function Wt(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function ZA(...e){return function(n){e.forEach(r=>{r==null||r(n)})}}var jw={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,c="[object Arguments]",u="[object Array]",d="[object AsyncFunction]",p="[object Boolean]",I="[object Date]",P="[object Error]",F="[object Function]",B="[object GeneratorFunction]",N="[object Map]",D="[object Number]",T="[object Null]",M="[object Object]",O="[object Proxy]",L="[object RegExp]",x="[object Set]",b="[object String]",C="[object Undefined]",g="[object WeakMap]",w="[object ArrayBuffer]",f="[object DataView]",m="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",y="[object Int16Array]",_="[object Int32Array]",$="[object Uint8Array]",z="[object Uint8ClampedArray]",H="[object Uint16Array]",X="[object Uint32Array]",Q=/[\\^$.*+?()[\]{}|]/g,re=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,le={};le[m]=le[E]=le[S]=le[y]=le[_]=le[$]=le[z]=le[H]=le[X]=!0,le[c]=le[u]=le[w]=le[p]=le[f]=le[I]=le[P]=le[F]=le[N]=le[D]=le[M]=le[L]=le[x]=le[b]=le[g]=!1;var ve=typeof tn=="object"&&tn&&tn.Object===Object&&tn,V=typeof self=="object"&&self&&self.Object===Object&&self,Z=ve||V||Function("return this")(),ce=t&&!t.nodeType&&t,Y=ce&&!0&&e&&!e.nodeType&&e,ie=Y&&Y.exports===ce,he=ie&&ve.process,fe=function(){try{var Fe=Y&&Y.require&&Y.require("util").types;return Fe||he&&he.binding&&he.binding("util")}catch{}}(),Ce=fe&&fe.isTypedArray;function Pe(Fe,Ke,at){switch(at.length){case 0:return Fe.call(Ke);case 1:return Fe.call(Ke,at[0]);case 2:return Fe.call(Ke,at[0],at[1]);case 3:return Fe.call(Ke,at[0],at[1],at[2])}return Fe.apply(Ke,at)}function we(Fe,Ke){for(var at=-1,Mt=Array(Fe);++at -1}function je(Fe,Ke){var at=this.__data__,Mt=W(at,Fe);return Mt<0?(++this.size,at.push([Fe,Ke])):at[Mt][1]=Ke,this}wt.prototype.clear=Ht,wt.prototype.delete=rn,wt.prototype.get=Pn,wt.prototype.has=Dr,wt.prototype.set=je;function Le(Fe){var Ke=-1,at=Fe==null?0:Fe.length;for(this.clear();++Ke 1?at[hn-1]:void 0,Wn=hn>2?at[2]:void 0;for(Rn=Fe.length>3&&typeof Rn=="function"?(hn--,Rn):void 0,Wn&&Jt(at[0],at[1],Wn)&&(Rn=hn<3?void 0:Rn,hn=1),Ke=Object(Ke);++Mt -1&&Fe%1==0&&Fe 0){if(++Ke>=i)return arguments[0]}else Ke=0;return Fe.apply(void 0,arguments)}}function jr(Fe){if(Fe!=null){try{return xe.call(Fe)}catch{}try{return Fe+""}catch{}}return""}function ar(Fe,Ke){return Fe===Ke||Fe!==Fe&&Ke!==Ke}var Nl=te(function(){return arguments}())?te:function(Fe){return _u(Fe)&&ke.call(Fe,"callee")&&!dt.call(Fe,"callee")},Bb=Array.isArray;function Wb(Fe){return Fe!=null&&Jk(Fe.length)&&!Hb(Fe)}function SH(Fe){return _u(Fe)&&Wb(Fe)}var Kk=yt||EH;function Hb(Fe){if(!Ws(Fe))return!1;var Ke=J(Fe);return Ke==F||Ke==B||Ke==d||Ke==O}function Jk(Fe){return typeof Fe=="number"&&Fe>-1&&Fe%1==0&&Fe<=a}function Ws(Fe){var Ke=typeof Fe;return Fe!=null&&(Ke=="object"||Ke=="function")}function _u(Fe){return Fe!=null&&typeof Fe=="object"}function AH(Fe){if(!_u(Fe)||J(Fe)!=M)return!1;var Ke=Qe(Fe);if(Ke===null)return!0;var at=ke.call(Ke,"constructor")&&Ke.constructor;return typeof at=="function"&&at instanceof at&&xe.call(at)==Ge}var Qk=Ce?be(Ce):pe;function IH(Fe){return Me(Fe,qk(Fe))}function qk(Fe){return Wb(Fe)?A(Fe,!0):ye(Fe)}var kH=Ye(function(Fe,Ke,at,Mt){Ie(Fe,Ke,at,Mt)});function _H(Fe){return function(){return Fe}}function e_(Fe){return Fe}function EH(){return!1}e.exports=kH})(jw,jw.exports);const Ji=jw.exports;var hG=e=>/!(important)?$/.test(e),xE=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,fG=(e,t)=>n=>{const r=String(t),i=hG(r),o=xE(r),a=e?`${e}.${o}`:o;let c=yr(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return c=xE(c),i?`${c} !important`:c};function XA(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{var c;const u=fG(t,o)(a);let d=(c=n==null?void 0:n(u,a))!=null?c:u;return r&&(d=r(d,a)),d}}var Nf=(...e)=>t=>e.reduce((n,r)=>r(n),t);function zi(e,t){return n=>{const r={property:n,scale:e};return r.transform=XA({scale:e,transform:t}),r}}var pG=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function gG(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:pG(t),transform:n?XA({scale:n,compose:r}):r}}var _$=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function mG(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",..._$].join(" ")}function vG(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",..._$].join(" ")}var yG={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},bG={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function xG(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var wG={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Gw={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},CG=new Set(Object.values(Gw)),Yw=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),SG=e=>e.trim();function AG(e,t){if(e==null||Yw.has(e))return e;if(!(Zw(e)||Yw.has(e)))return`url('${e}')`;const i=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),o=i==null?void 0:i[1],a=i==null?void 0:i[2];if(!o||!a)return e;const c=o.includes("-gradient")?o:`${o}-gradient`,[u,...d]=a.split(",").map(SG).filter(Boolean);if((d==null?void 0:d.length)===0)return e;const p=u in Gw?Gw[u]:u;d.unshift(p);const I=d.map(P=>{if(CG.has(P))return P;const F=P.indexOf(" "),[B,N]=F!==-1?[P.substr(0,F),P.substr(F+1)]:[P],D=Zw(N)?N:N&&N.split(" "),T=`colors.${B}`,M=T in t.__cssMap?t.__cssMap[T].varRef:B;return D?[M,...Array.isArray(D)?D:[D]].join(" "):M});return`${c}(${I.join(", ")})`}var Zw=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),IG=(e,t)=>AG(e,t!=null?t:{});function kG(e){return/^var\(--.+\)$/.test(e)}var _G=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Po=e=>t=>`${e}(${t})`,mn={filter(e){return e!=="auto"?e:yG},backdropFilter(e){return e!=="auto"?e:bG},ring(e){return xG(mn.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?mG():e==="auto-gpu"?vG():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=_G(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(kG(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:IG,blur:Po("blur"),opacity:Po("opacity"),brightness:Po("brightness"),contrast:Po("contrast"),dropShadow:Po("drop-shadow"),grayscale:Po("grayscale"),hueRotate:Po("hue-rotate"),invert:Po("invert"),saturate:Po("saturate"),sepia:Po("sepia"),bgImage(e){return e==null||Zw(e)||Yw.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:n,divide:r}=(t=wG[e])!=null?t:{},i={flexDirection:e};return n&&(i[n]=1),r&&(i[r]=1),i}},Je={borderWidths:zi("borderWidths"),borderStyles:zi("borderStyles"),colors:zi("colors"),borders:zi("borders"),gradients:zi("gradients",mn.gradient),radii:zi("radii",mn.px),space:zi("space",Nf(mn.vh,mn.px)),spaceT:zi("space",Nf(mn.vh,mn.px)),degreeT(e){return{property:e,transform:mn.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:XA({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:zi("sizes",Nf(mn.vh,mn.px)),sizesT:zi("sizes",Nf(mn.vh,mn.fraction)),shadows:zi("shadows"),logical:gG,blur:zi("blur",mn.blur)},Sp={background:Je.colors("background"),backgroundColor:Je.colors("backgroundColor"),backgroundImage:Je.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:mn.bgClip},bgSize:Je.prop("backgroundSize"),bgPosition:Je.prop("backgroundPosition"),bg:Je.colors("background"),bgColor:Je.colors("backgroundColor"),bgPos:Je.prop("backgroundPosition"),bgRepeat:Je.prop("backgroundRepeat"),bgAttachment:Je.prop("backgroundAttachment"),bgGradient:Je.gradients("backgroundImage"),bgClip:{transform:mn.bgClip}};Object.assign(Sp,{bgImage:Sp.backgroundImage,bgImg:Sp.backgroundImage});var yn={border:Je.borders("border"),borderWidth:Je.borderWidths("borderWidth"),borderStyle:Je.borderStyles("borderStyle"),borderColor:Je.colors("borderColor"),borderRadius:Je.radii("borderRadius"),borderTop:Je.borders("borderTop"),borderBlockStart:Je.borders("borderBlockStart"),borderTopLeftRadius:Je.radii("borderTopLeftRadius"),borderStartStartRadius:Je.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Je.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Je.radii("borderTopRightRadius"),borderStartEndRadius:Je.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Je.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Je.borders("borderRight"),borderInlineEnd:Je.borders("borderInlineEnd"),borderBottom:Je.borders("borderBottom"),borderBlockEnd:Je.borders("borderBlockEnd"),borderBottomLeftRadius:Je.radii("borderBottomLeftRadius"),borderBottomRightRadius:Je.radii("borderBottomRightRadius"),borderLeft:Je.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Je.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Je.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Je.borders(["borderLeft","borderRight"]),borderInline:Je.borders("borderInline"),borderY:Je.borders(["borderTop","borderBottom"]),borderBlock:Je.borders("borderBlock"),borderTopWidth:Je.borderWidths("borderTopWidth"),borderBlockStartWidth:Je.borderWidths("borderBlockStartWidth"),borderTopColor:Je.colors("borderTopColor"),borderBlockStartColor:Je.colors("borderBlockStartColor"),borderTopStyle:Je.borderStyles("borderTopStyle"),borderBlockStartStyle:Je.borderStyles("borderBlockStartStyle"),borderBottomWidth:Je.borderWidths("borderBottomWidth"),borderBlockEndWidth:Je.borderWidths("borderBlockEndWidth"),borderBottomColor:Je.colors("borderBottomColor"),borderBlockEndColor:Je.colors("borderBlockEndColor"),borderBottomStyle:Je.borderStyles("borderBottomStyle"),borderBlockEndStyle:Je.borderStyles("borderBlockEndStyle"),borderLeftWidth:Je.borderWidths("borderLeftWidth"),borderInlineStartWidth:Je.borderWidths("borderInlineStartWidth"),borderLeftColor:Je.colors("borderLeftColor"),borderInlineStartColor:Je.colors("borderInlineStartColor"),borderLeftStyle:Je.borderStyles("borderLeftStyle"),borderInlineStartStyle:Je.borderStyles("borderInlineStartStyle"),borderRightWidth:Je.borderWidths("borderRightWidth"),borderInlineEndWidth:Je.borderWidths("borderInlineEndWidth"),borderRightColor:Je.colors("borderRightColor"),borderInlineEndColor:Je.colors("borderInlineEndColor"),borderRightStyle:Je.borderStyles("borderRightStyle"),borderInlineEndStyle:Je.borderStyles("borderInlineEndStyle"),borderTopRadius:Je.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Je.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Je.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Je.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(yn,{rounded:yn.borderRadius,roundedTop:yn.borderTopRadius,roundedTopLeft:yn.borderTopLeftRadius,roundedTopRight:yn.borderTopRightRadius,roundedTopStart:yn.borderStartStartRadius,roundedTopEnd:yn.borderStartEndRadius,roundedBottom:yn.borderBottomRadius,roundedBottomLeft:yn.borderBottomLeftRadius,roundedBottomRight:yn.borderBottomRightRadius,roundedBottomStart:yn.borderEndStartRadius,roundedBottomEnd:yn.borderEndEndRadius,roundedLeft:yn.borderLeftRadius,roundedRight:yn.borderRightRadius,roundedStart:yn.borderInlineStartRadius,roundedEnd:yn.borderInlineEndRadius,borderStart:yn.borderInlineStart,borderEnd:yn.borderInlineEnd,borderTopStartRadius:yn.borderStartStartRadius,borderTopEndRadius:yn.borderStartEndRadius,borderBottomStartRadius:yn.borderEndStartRadius,borderBottomEndRadius:yn.borderEndEndRadius,borderStartRadius:yn.borderInlineStartRadius,borderEndRadius:yn.borderInlineEndRadius,borderStartWidth:yn.borderInlineStartWidth,borderEndWidth:yn.borderInlineEndWidth,borderStartColor:yn.borderInlineStartColor,borderEndColor:yn.borderInlineEndColor,borderStartStyle:yn.borderInlineStartStyle,borderEndStyle:yn.borderInlineEndStyle});var EG={color:Je.colors("color"),textColor:Je.colors("color"),fill:Je.colors("fill"),stroke:Je.colors("stroke")},Xw={boxShadow:Je.shadows("boxShadow"),mixBlendMode:!0,blendMode:Je.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Je.prop("backgroundBlendMode"),opacity:!0};Object.assign(Xw,{shadow:Xw.boxShadow});var TG={filter:{transform:mn.filter},blur:Je.blur("--chakra-blur"),brightness:Je.propT("--chakra-brightness",mn.brightness),contrast:Je.propT("--chakra-contrast",mn.contrast),hueRotate:Je.degreeT("--chakra-hue-rotate"),invert:Je.propT("--chakra-invert",mn.invert),saturate:Je.propT("--chakra-saturate",mn.saturate),dropShadow:Je.propT("--chakra-drop-shadow",mn.dropShadow),backdropFilter:{transform:mn.backdropFilter},backdropBlur:Je.blur("--chakra-backdrop-blur"),backdropBrightness:Je.propT("--chakra-backdrop-brightness",mn.brightness),backdropContrast:Je.propT("--chakra-backdrop-contrast",mn.contrast),backdropHueRotate:Je.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:Je.propT("--chakra-backdrop-invert",mn.invert),backdropSaturate:Je.propT("--chakra-backdrop-saturate",mn.saturate)},tm={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:mn.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Je.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Je.space("gap"),rowGap:Je.space("rowGap"),columnGap:Je.space("columnGap")};Object.assign(tm,{flexDir:tm.flexDirection});var E$={gridGap:Je.space("gridGap"),gridColumnGap:Je.space("gridColumnGap"),gridRowGap:Je.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},PG={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:mn.outline},outlineOffset:!0,outlineColor:Je.colors("outlineColor")},ji={width:Je.sizesT("width"),inlineSize:Je.sizesT("inlineSize"),height:Je.sizes("height"),blockSize:Je.sizes("blockSize"),boxSize:Je.sizes(["width","height"]),minWidth:Je.sizes("minWidth"),minInlineSize:Je.sizes("minInlineSize"),minHeight:Je.sizes("minHeight"),minBlockSize:Je.sizes("minBlockSize"),maxWidth:Je.sizes("maxWidth"),maxInlineSize:Je.sizes("maxInlineSize"),maxHeight:Je.sizes("maxHeight"),maxBlockSize:Je.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var n,r,i;return{[`@media screen and (min-width: ${(i=(r=(n=t.__breakpoints)==null?void 0:n.get(e))==null?void 0:r.minW)!=null?i:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,i;return{[`@media screen and (max-width: ${(i=(r=(n=t.__breakpoints)==null?void 0:n.get(e))==null?void 0:r._minW)!=null?i:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Je.propT("float",mn.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ji,{w:ji.width,h:ji.height,minW:ji.minWidth,maxW:ji.maxWidth,minH:ji.minHeight,maxH:ji.maxHeight,overscroll:ji.overscrollBehavior,overscrollX:ji.overscrollBehaviorX,overscrollY:ji.overscrollBehaviorY});var RG={listStyleType:!0,listStylePosition:!0,listStylePos:Je.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Je.prop("listStyleImage")};function OG(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r {const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const c=t.get(r);if(c.has(i))return c.get(i);const u=e(r,i,o,a);return c.set(i,u),u}},LG=MG(OG),DG={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},$G={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},v0=(e,t,n)=>{const r={},i=LG(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},NG={srOnly:{transform(e){return e===!0?DG:e==="focusable"?$G:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>v0(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>v0(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>v0(t,e,n)}},Sd={position:!0,pos:Je.prop("position"),zIndex:Je.prop("zIndex","zIndices"),inset:Je.spaceT("inset"),insetX:Je.spaceT(["left","right"]),insetInline:Je.spaceT("insetInline"),insetY:Je.spaceT(["top","bottom"]),insetBlock:Je.spaceT("insetBlock"),top:Je.spaceT("top"),insetBlockStart:Je.spaceT("insetBlockStart"),bottom:Je.spaceT("bottom"),insetBlockEnd:Je.spaceT("insetBlockEnd"),left:Je.spaceT("left"),insetInlineStart:Je.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Je.spaceT("right"),insetInlineEnd:Je.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Sd,{insetStart:Sd.insetInlineStart,insetEnd:Sd.insetInlineEnd});var FG={ring:{transform:mn.ring},ringColor:Je.colors("--chakra-ring-color"),ringOffset:Je.prop("--chakra-ring-offset-width"),ringOffsetColor:Je.colors("--chakra-ring-offset-color"),ringInset:Je.prop("--chakra-ring-inset")},Nn={margin:Je.spaceT("margin"),marginTop:Je.spaceT("marginTop"),marginBlockStart:Je.spaceT("marginBlockStart"),marginRight:Je.spaceT("marginRight"),marginInlineEnd:Je.spaceT("marginInlineEnd"),marginBottom:Je.spaceT("marginBottom"),marginBlockEnd:Je.spaceT("marginBlockEnd"),marginLeft:Je.spaceT("marginLeft"),marginInlineStart:Je.spaceT("marginInlineStart"),marginX:Je.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Je.spaceT("marginInline"),marginY:Je.spaceT(["marginTop","marginBottom"]),marginBlock:Je.spaceT("marginBlock"),padding:Je.space("padding"),paddingTop:Je.space("paddingTop"),paddingBlockStart:Je.space("paddingBlockStart"),paddingRight:Je.space("paddingRight"),paddingBottom:Je.space("paddingBottom"),paddingBlockEnd:Je.space("paddingBlockEnd"),paddingLeft:Je.space("paddingLeft"),paddingInlineStart:Je.space("paddingInlineStart"),paddingInlineEnd:Je.space("paddingInlineEnd"),paddingX:Je.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Je.space("paddingInline"),paddingY:Je.space(["paddingTop","paddingBottom"]),paddingBlock:Je.space("paddingBlock")};Object.assign(Nn,{m:Nn.margin,mt:Nn.marginTop,mr:Nn.marginRight,me:Nn.marginInlineEnd,marginEnd:Nn.marginInlineEnd,mb:Nn.marginBottom,ml:Nn.marginLeft,ms:Nn.marginInlineStart,marginStart:Nn.marginInlineStart,mx:Nn.marginX,my:Nn.marginY,p:Nn.padding,pt:Nn.paddingTop,py:Nn.paddingY,px:Nn.paddingX,pb:Nn.paddingBottom,pl:Nn.paddingLeft,ps:Nn.paddingInlineStart,paddingStart:Nn.paddingInlineStart,pr:Nn.paddingRight,pe:Nn.paddingInlineEnd,paddingEnd:Nn.paddingInlineEnd});var BG={textDecorationColor:Je.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Je.shadows("textShadow")},WG={clipPath:!0,transform:Je.propT("transform",mn.transform),transformOrigin:!0,translateX:Je.spaceT("--chakra-translate-x"),translateY:Je.spaceT("--chakra-translate-y"),skewX:Je.degreeT("--chakra-skew-x"),skewY:Je.degreeT("--chakra-skew-y"),scaleX:Je.prop("--chakra-scale-x"),scaleY:Je.prop("--chakra-scale-y"),scale:Je.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Je.degreeT("--chakra-rotate")},HG={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Je.prop("transitionDuration","transition.duration"),transitionProperty:Je.prop("transitionProperty","transition.property"),transitionTimingFunction:Je.prop("transitionTimingFunction","transition.easing")},VG={fontFamily:Je.prop("fontFamily","fonts"),fontSize:Je.prop("fontSize","fontSizes",mn.px),fontWeight:Je.prop("fontWeight","fontWeights"),lineHeight:Je.prop("lineHeight","lineHeights"),letterSpacing:Je.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},zG={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Je.spaceT("scrollMargin"),scrollMarginTop:Je.spaceT("scrollMarginTop"),scrollMarginBottom:Je.spaceT("scrollMarginBottom"),scrollMarginLeft:Je.spaceT("scrollMarginLeft"),scrollMarginRight:Je.spaceT("scrollMarginRight"),scrollMarginX:Je.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Je.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Je.spaceT("scrollPadding"),scrollPaddingTop:Je.spaceT("scrollPaddingTop"),scrollPaddingBottom:Je.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Je.spaceT("scrollPaddingLeft"),scrollPaddingRight:Je.spaceT("scrollPaddingRight"),scrollPaddingX:Je.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Je.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function T$(e){return yr(e)&&e.reference?e.reference:String(e)}var Ny=(e,...t)=>t.map(T$).join(` ${e} `).replace(/calc/g,""),wE=(...e)=>`calc(${Ny("+",...e)})`,CE=(...e)=>`calc(${Ny("-",...e)})`,Uw=(...e)=>`calc(${Ny("*",...e)})`,SE=(...e)=>`calc(${Ny("/",...e)})`,AE=e=>{const t=T$(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Uw(t,-1)},Zs=Object.assign(e=>({add:(...t)=>Zs(wE(e,...t)),subtract:(...t)=>Zs(CE(e,...t)),multiply:(...t)=>Zs(Uw(e,...t)),divide:(...t)=>Zs(SE(e,...t)),negate:()=>Zs(AE(e)),toString:()=>e.toString()}),{add:wE,subtract:CE,multiply:Uw,divide:SE,negate:AE});function jG(e,t="-"){return e.replace(/\s+/g,t)}function GG(e){const t=jG(e.toString());return ZG(YG(t))}function YG(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function ZG(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function XG(e,t=""){return[t,e].filter(Boolean).join("-")}function UG(e,t){return`var(${e}${t?`, ${t}`:""})`}function KG(e,t=""){return GG(`--${XG(e,t)}`)}function fn(e,t,n){const r=KG(e,n);return{variable:r,reference:UG(r,t)}}function JG(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[i,o]=r;n[i]=fn(`${e}-${i}`,o);continue}n[r]=fn(`${e}-${r}`)}return n}function QG(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function qG(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function Kw(e){if(e==null)return e;const{unitless:t}=qG(e);return t||typeof e=="number"?`${e}px`:e}var P$=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,UA=e=>Object.fromEntries(Object.entries(e).sort(P$));function IE(e){const t=UA(e);return Object.assign(Object.values(t),t)}function e4(e){const t=Object.keys(UA(e));return new Set(t)}function kE(e){var t;if(!e)return e;e=(t=Kw(e))!=null?t:e;const n=-.02;return typeof e=="number"?`${e+n}`:e.replace(/(\d+\.?\d*)/u,r=>`${parseFloat(r)+n}`)}function rd(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${Kw(e)})`),t&&n.push("and",`(max-width: ${Kw(t)})`),n.join(" ")}function t4(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";const n=IE(e),r=Object.entries(e).sort(P$).map(([a,c],u,d)=>{var p;let[,I]=(p=d[u+1])!=null?p:[];return I=parseFloat(I)>0?kE(I):void 0,{_minW:kE(c),breakpoint:a,minW:c,maxW:I,maxWQuery:rd(null,I),minWQuery:rd(c),minMaxQuery:rd(c,I)}}),i=e4(e),o=Array.from(i.values());return{keys:i,normalized:n,isResponsive(a){const c=Object.keys(a);return c.length>0&&c.every(u=>i.has(u))},asObject:UA(e),asArray:IE(e),details:r,get(a){return r.find(c=>c.breakpoint===a)},media:[null,...n.map(a=>rd(a)).slice(1)],toArrayValue(a){if(!yr(a))throw new Error("toArrayValue: value must be an object");const c=o.map(u=>{var d;return(d=a[u])!=null?d:null});for(;QG(c)===null;)c.pop();return c},toObjectValue(a){if(!Array.isArray(a))throw new Error("toObjectValue: value must be an array");return a.reduce((c,u,d)=>{const p=o[d];return p!=null&&u!=null&&(c[p]=u),c},{})}}}var $r={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Ga=e=>R$(t=>e(t,"&"),"[role=group]","[data-group]",".group"),la=e=>R$(t=>e(t,"~ &"),"[data-peer]",".peer"),R$=(e,...t)=>t.map(e).join(", "),Fy={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Ga($r.hover),_peerHover:la($r.hover),_groupFocus:Ga($r.focus),_peerFocus:la($r.focus),_groupFocusVisible:Ga($r.focusVisible),_peerFocusVisible:la($r.focusVisible),_groupActive:Ga($r.active),_peerActive:la($r.active),_groupDisabled:Ga($r.disabled),_peerDisabled:la($r.disabled),_groupInvalid:Ga($r.invalid),_peerInvalid:la($r.invalid),_groupChecked:Ga($r.checked),_peerChecked:la($r.checked),_groupFocusWithin:Ga($r.focusWithin),_peerFocusWithin:la($r.focusWithin),_peerPlaceholderShown:la($r.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},n4=Object.keys(Fy);function _E(e,t){return fn(String(e).replace(/\./g,"-"),void 0,t)}function r4(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:c}=o,{variable:u,reference:d}=_E(i,t==null?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const P=i.split("."),[F,...B]=P,N=`${F}.-${B.join(".")}`,D=Zs.negate(c),T=Zs.negate(d);r[N]={value:D,var:u,varRef:T}}n[u]=c,r[i]={value:c,var:u,varRef:d};continue}const p=P=>{const B=[String(i).split(".")[0],P].join(".");if(!e[B])return P;const{reference:D}=_E(B,t==null?void 0:t.cssVarPrefix);return D},I=yr(c)?c:{default:c};n=Ji(n,Object.entries(I).reduce((P,[F,B])=>{var N,D;const T=p(B.toString());if(F==="default")return P[u]=T,P;const M=(D=(N=Fy)==null?void 0:N[F])!=null?D:F;return P[M]={[u]:T},P},{})),r[i]={value:d,var:u,varRef:d}}return{cssVars:n,cssMap:r}}function i4(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function o4(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}var a4=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function s4(e){return o4(e,a4)}function l4(e){return e.semanticTokens}function c4(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function u4({tokens:e,semanticTokens:t}){var n,r;const i=Object.entries((n=Jw(e))!=null?n:{}).map(([a,c])=>[a,{isSemantic:!1,value:c}]),o=Object.entries((r=Jw(t,1))!=null?r:{}).map(([a,c])=>[a,{isSemantic:!0,value:c}]);return Object.fromEntries([...i,...o])}function Jw(e,t=1/0){return!yr(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce((n,[r,i])=>(yr(i)||Array.isArray(i)?Object.entries(Jw(i,t-1)).forEach(([o,a])=>{n[`${r}.${o}`]=a}):n[r]=i,n),{})}function d4(e){var t;const n=c4(e),r=s4(n),i=l4(n),o=u4({tokens:r,semanticTokens:i}),a=(t=n.config)==null?void 0:t.cssVarPrefix,{cssMap:c,cssVars:u}=r4(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...u},__cssMap:c,__breakpoints:t4(n.breakpoints)}),n}var KA=Ji({},Sp,yn,EG,tm,ji,TG,FG,PG,E$,NG,Sd,Xw,Nn,zG,VG,BG,WG,RG,HG),h4=Object.assign({},Nn,ji,tm,E$,Sd),f4=Object.keys(h4),p4=[...Object.keys(KA),...n4],g4={...KA,...Fy},m4=e=>e in g4,v4=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let c=Ki(e[a],t);if(c==null)continue;if(c=yr(c)&&n(c)?r(c):c,!Array.isArray(c)){o[a]=c;continue}const u=c.slice(0,i.length).length;for(let d=0;de.startsWith("--")&&typeof t=="string"&&!b4(t),w4=(e,t)=>{var n,r;if(t==null)return t;const i=u=>{var d,p;return(p=(d=e.__cssMap)==null?void 0:d[u])==null?void 0:p.varRef},o=u=>{var d;return(d=i(u))!=null?d:u},[a,c]=y4(t);return t=(r=(n=i(a))!=null?n:o(c))!=null?r:o(t),t};function C4(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var c,u,d;const p=Ki(o,r),I=v4(p)(r);let P={};for(let F in I){const B=I[F];let N=Ki(B,r);F in n&&(F=n[F]),x4(F,N)&&(N=w4(r,N));let D=t[F];if(D===!0&&(D={property:F}),yr(N)){P[F]=(c=P[F])!=null?c:{},P[F]=Ji({},P[F],i(N,!0));continue}let T=(d=(u=D==null?void 0:D.transform)==null?void 0:u.call(D,N,r,p))!=null?d:N;T=D!=null&&D.processResult?i(T,!0):T;const M=Ki(D==null?void 0:D.property,r);if(!a&&(D==null?void 0:D.static)){const O=Ki(D.static,r);P=Ji({},P,O)}if(M&&Array.isArray(M)){for(const O of M)P[O]=T;continue}if(M){M==="&"&&yr(T)?P=Ji({},P,T):P[M]=T;continue}if(yr(T)){P=Ji({},P,T);continue}P[F]=T}return P};return i}var O$=e=>t=>C4({theme:t,pseudos:Fy,configs:KA})(e);function Bn(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function S4(e,t){if(Array.isArray(e))return e;if(yr(e))return t(e);if(e!=null)return[e]}function A4(e,t){for(let n=t+1;n {Ji(d,{[O]:P?M[O]:{[T]:M[O]}})});continue}if(!F){P?Ji(d,M):d[T]=M;continue}d[T]=M}}return d}}function k4(e){return t=>{var n;const{variant:r,size:i,theme:o}=t,a=I4(o);return Ji({},Ki((n=e.baseStyle)!=null?n:{},t),a(e,"sizes",i,t),a(e,"variants",r,t))}}function _4(e,t,n){var r,i,o;return(o=(i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)!=null?o:n}function Dn(e){return i4(e,["styleConfig","size","variant","colorScheme"])}var E4=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function T4(e){return yr(e)?E4.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}var P4={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},R4=P4,O4={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},M4=O4,L4={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},D4=L4,$4={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},N4=$4,F4={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},B4=F4,W4={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},H4={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},V4={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},z4={property:W4,easing:H4,duration:V4},j4=z4,G4={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Y4=G4,Z4={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},X4=Z4,U4={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},M$=U4,L$={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},K4={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},J4={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Q4={...L$,...K4,container:J4},D$=Q4,$$={breakpoints:M4,zIndices:R4,radii:N4,blur:Y4,colors:D4,...M$,sizes:D$,shadows:B4,space:L$,borders:X4,transition:j4};function An(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function i(...p){r();for(const I of p)t[I]=u(I);return An(e,t)}function o(...p){for(const I of p)I in t||(t[I]=u(I));return An(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([I,P])=>[I,P.selector]))}function c(){return Object.fromEntries(Object.entries(t).map(([I,P])=>[I,P.className]))}function u(p){const F=`chakra-${(["container","root"].includes(p!=null?p:"")?[e]:[e,p]).filter(Boolean).join("__")}`;return{className:F,selector:`.${F}`,toString:()=>p}}return{parts:i,toPart:u,extend:o,selectors:a,classnames:c,get keys(){return Object.keys(t)},__type:{}}}var q4=An("accordion").parts("root","container","button","panel").extend("icon"),e9=An("alert").parts("title","description","container").extend("icon","spinner"),t9=An("avatar").parts("label","badge","container").extend("excessLabel","group"),n9=An("breadcrumb").parts("link","item","container").extend("separator");An("button").parts();var r9=An("checkbox").parts("control","icon","container").extend("label");An("progress").parts("track","filledTrack").extend("label");var i9=An("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),o9=An("editable").parts("preview","input","textarea"),a9=An("form").parts("container","requiredIndicator","helperText"),s9=An("formError").parts("text","icon"),l9=An("input").parts("addon","field","element"),c9=An("list").parts("container","item","icon"),u9=An("menu").parts("button","list","item").extend("groupTitle","command","divider"),d9=An("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),h9=An("numberinput").parts("root","field","stepperGroup","stepper");An("pininput").parts("field");var f9=An("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),p9=An("progress").parts("label","filledTrack","track"),g9=An("radio").parts("container","control","label"),m9=An("select").parts("field","icon"),v9=An("slider").parts("container","track","thumb","filledTrack","mark"),y9=An("stat").parts("container","label","helpText","number","icon"),b9=An("switch").parts("container","track","thumb"),x9=An("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),w9=An("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),C9=An("tag").parts("container","label","closeButton"),S9=An("card").parts("container","header","body","footer");function Qs(e,t,n){return Math.min(Math.max(e,n),t)}class A9 extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var id=A9;function JA(e){if(typeof e!="string")throw new id(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=O9.test(e)?_9(e):e;const n=E9.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(c=>parseInt(uh(c,2),16)),parseInt(uh(a[3]||"f",2),16)/255]}const r=T9.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(c=>parseInt(c,16)),parseInt(a[3]||"ff",16)/255]}const i=P9.exec(t);if(i){const a=Array.from(i).slice(1);return[...a.slice(0,3).map(c=>parseInt(c,10)),parseFloat(a[3]||"1")]}const o=R9.exec(t);if(o){const[a,c,u,d]=Array.from(o).slice(1).map(parseFloat);if(Qs(0,100,c)!==c)throw new id(e);if(Qs(0,100,u)!==u)throw new id(e);return[...M9(a,c,u),Number.isNaN(d)?1:d]}throw new id(e)}function I9(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const EE=e=>parseInt(e.replace(/_/g,""),36),k9="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=EE(t.substring(0,3)),r=EE(t.substring(3)).toString(16);let i="";for(let o=0;o<6-r.length;o++)i+="0";return e[n]=`${i}${r}`,e},{});function _9(e){const t=e.toLowerCase().trim(),n=k9[I9(t)];if(!n)throw new id(e);return`#${n}`}const uh=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),E9=new RegExp(`^#${uh("([a-f0-9])",3)}([a-f0-9])?$`,"i"),T9=new RegExp(`^#${uh("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),P9=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${uh(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),R9=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,O9=/^[a-z]+$/i,TE=e=>Math.round(e*255),M9=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(TE);const i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*(t/100),a=o*(1-Math.abs(i%2-1));let c=0,u=0,d=0;i>=0&&i<1?(c=o,u=a):i>=1&&i<2?(c=a,u=o):i>=2&&i<3?(u=o,d=a):i>=3&&i<4?(u=a,d=o):i>=4&&i<5?(c=a,d=o):i>=5&&i<6&&(c=o,d=a);const p=r-o/2,I=c+p,P=u+p,F=d+p;return[I,P,F].map(TE)};function L9(e,t,n,r){return`rgba(${Qs(0,255,e).toFixed()}, ${Qs(0,255,t).toFixed()}, ${Qs(0,255,n).toFixed()}, ${parseFloat(Qs(0,1,r).toFixed(3))})`}function D9(e,t){const[n,r,i,o]=JA(e);return L9(n,r,i,o-t)}function $9(e){const[t,n,r,i]=JA(e);let o=a=>{const c=Qs(0,255,a).toString(16);return c.length===1?`0${c}`:c};return`#${o(t)}${o(n)}${o(r)}${i<1?o(Math.round(i*255)):""}`}function N9(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r Object.keys(e).length===0,ai=(e,t,n)=>{const r=N9(e,`colors.${t}`,t);try{return $9(r),r}catch{return n!=null?n:"#000000"}},B9=e=>{const[t,n,r]=JA(e);return(t*299+n*587+r*114)/1e3},W9=e=>t=>{const n=ai(t,e);return B9(n)<128?"dark":"light"},H9=e=>t=>W9(e)(t)==="dark",Kc=(e,t)=>n=>{const r=ai(n,e);return D9(r,1-t)};function PE(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( 45deg, ${t} 25%, transparent 25%, @@ -332,12 +332,12 @@ Error generating stack: `+o.message+` ${t} 75%, transparent 75%, transparent - )`,backgroundSize:`${e} ${e}`}}var z9=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function V9(e){const t=z9();return!e||F9(e)?t:e.string&&e.colors?G9(e.string,e.colors):e.string&&!e.colors?j9(e.string):e.colors&&!e.string?Y9(e.colors):t}function j9(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r >r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function G9(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;r n.colorMode==="dark"?t:e}function QA(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function N$(e){return yr(e)&&e.reference?e.reference:String(e)}var By=(e,...t)=>t.map(N$).join(` ${e} `).replace(/calc/g,""),RE=(...e)=>`calc(${By("+",...e)})`,OE=(...e)=>`calc(${By("-",...e)})`,Qw=(...e)=>`calc(${By("*",...e)})`,ME=(...e)=>`calc(${By("/",...e)})`,LE=e=>{const t=N$(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Qw(t,-1)},ma=Object.assign(e=>({add:(...t)=>ma(RE(e,...t)),subtract:(...t)=>ma(OE(e,...t)),multiply:(...t)=>ma(Qw(e,...t)),divide:(...t)=>ma(ME(e,...t)),negate:()=>ma(LE(e)),toString:()=>e.toString()}),{add:RE,subtract:OE,multiply:Qw,divide:ME,negate:LE});function Z9(e){return!Number.isInteger(parseFloat(e.toString()))}function X9(e,t="-"){return e.replace(/\s+/g,t)}function F$(e){const t=X9(e.toString());return t.includes("\\.")?e:Z9(e)?t.replace(".","\\."):e}function U9(e,t=""){return[t,F$(e)].filter(Boolean).join("-")}function K9(e,t){return`var(${F$(e)}${t?`, ${t}`:""})`}function J9(e,t=""){return`--${U9(e,t)}`}function Ir(e,t){const n=J9(e,t==null?void 0:t.prefix);return{variable:n,reference:K9(n,Q9(t==null?void 0:t.fallback))}}function Q9(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{defineMultiStyleConfig:q9,definePartsStyle:Ap}=Bn(b9.keys),Ad=Ir("switch-track-width"),ol=Ir("switch-track-height"),y0=Ir("switch-track-diff"),eY=ma.subtract(Ad,ol),qw=Ir("switch-thumb-x"),Fu=Ir("switch-bg"),tY=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Ad.reference],height:[ol.reference],transitionProperty:"common",transitionDuration:"fast",[Fu.variable]:"colors.gray.300",_dark:{[Fu.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Fu.variable]:`colors.${t}.500`,_dark:{[Fu.variable]:`colors.${t}.200`}},bg:Fu.reference}},nY={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ol.reference],height:[ol.reference],_checked:{transform:`translateX(${qw.reference})`}},rY=Ap(e=>({container:{[y0.variable]:eY,[qw.variable]:y0.reference,_rtl:{[qw.variable]:ma(y0).negate().toString()}},track:tY(e),thumb:nY})),iY={sm:Ap({container:{[Ad.variable]:"1.375rem",[ol.variable]:"sizes.3"}}),md:Ap({container:{[Ad.variable]:"1.875rem",[ol.variable]:"sizes.4"}}),lg:Ap({container:{[Ad.variable]:"2.875rem",[ol.variable]:"sizes.6"}})},oY=q9({baseStyle:rY,sizes:iY,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:aY,definePartsStyle:Ec}=Bn(x9.keys),sY=Ec({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),nm={"&[data-is-numeric=true]":{textAlign:"end"}},lY=Ec(e=>{const{colorScheme:t}=e;return{th:{color:jt("gray.600","gray.400")(e),borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},td:{borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},caption:{color:jt("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),cY=Ec(e=>{const{colorScheme:t}=e;return{th:{color:jt("gray.600","gray.400")(e),borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},td:{borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},caption:{color:jt("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e)},td:{background:jt(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),uY={simple:lY,striped:cY,unstyled:{}},dY={sm:Ec({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Ec({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ec({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},hY=aY({baseStyle:sY,variants:uY,sizes:dY,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),gi=fn("tabs-color"),yo=fn("tabs-bg"),Ff=fn("tabs-border-color"),{defineMultiStyleConfig:fY,definePartsStyle:Ko}=Bn(w9.keys),pY=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},gY=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},mY=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},vY={p:4},yY=Ko(e=>({root:pY(e),tab:gY(e),tablist:mY(e),tabpanel:vY})),bY={sm:Ko({tab:{py:1,px:4,fontSize:"sm"}}),md:Ko({tab:{fontSize:"md",py:2,px:4}}),lg:Ko({tab:{fontSize:"lg",py:3,px:4}})},xY=Ko(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[gi.variable]:`colors.${t}.600`,_dark:{[gi.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[yo.variable]:"colors.gray.200",_dark:{[yo.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:gi.reference,bg:yo.reference}}}),wY=Ko(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Ff.variable]:"transparent",_selected:{[gi.variable]:`colors.${t}.600`,[Ff.variable]:"colors.white",_dark:{[gi.variable]:`colors.${t}.300`,[Ff.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Ff.reference},color:gi.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),CY=Ko(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[yo.variable]:"colors.gray.50",_dark:{[yo.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[yo.variable]:"colors.white",[gi.variable]:`colors.${t}.600`,_dark:{[yo.variable]:"colors.gray.800",[gi.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:gi.reference,bg:yo.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),SY=Ko(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:ai(n,`${t}.700`),bg:ai(n,`${t}.100`)}}}}),AY=Ko(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[gi.variable]:"colors.gray.600",_dark:{[gi.variable]:"inherit"},_selected:{[gi.variable]:"colors.white",[yo.variable]:`colors.${t}.600`,_dark:{[gi.variable]:"colors.gray.800",[yo.variable]:`colors.${t}.300`}},color:gi.reference,bg:yo.reference}}}),IY=Ko({}),kY={line:xY,enclosed:wY,"enclosed-colored":CY,"soft-rounded":SY,"solid-rounded":AY,unstyled:IY},_Y=fY({baseStyle:yY,sizes:bY,variants:kY,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),lr=JG("badge",["bg","color","shadow"]),EY={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:lr.bg.reference,color:lr.color.reference,boxShadow:lr.shadow.reference},TY=e=>{const{colorScheme:t,theme:n}=e,r=Kc(`${t}.500`,.6)(n);return{[lr.bg.variable]:`colors.${t}.500`,[lr.color.variable]:"colors.white",_dark:{[lr.bg.variable]:r,[lr.color.variable]:"colors.whiteAlpha.800"}}},PY=e=>{const{colorScheme:t,theme:n}=e,r=Kc(`${t}.200`,.16)(n);return{[lr.bg.variable]:`colors.${t}.100`,[lr.color.variable]:`colors.${t}.800`,_dark:{[lr.bg.variable]:r,[lr.color.variable]:`colors.${t}.200`}}},RY=e=>{const{colorScheme:t,theme:n}=e,r=Kc(`${t}.200`,.8)(n);return{[lr.color.variable]:`colors.${t}.500`,_dark:{[lr.color.variable]:r},[lr.shadow.variable]:`inset 0 0 0px 1px ${lr.color.reference}`}},OY={solid:TY,subtle:PY,outline:RY},Id={baseStyle:EY,variants:OY,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:MY,definePartsStyle:al}=Bn(C9.keys),LY={fontWeight:"medium",lineHeight:1.2,outline:0,color:lr.color.reference,bg:lr.bg.reference,boxShadow:lr.shadow.reference,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},DY={lineHeight:1.2,overflow:"visible"},$Y={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},NY=al({container:LY,label:DY,closeButton:$Y}),FY={sm:al({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:al({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:al({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},BY={subtle:al(e=>{var t;return{container:(t=Id.variants)==null?void 0:t.subtle(e)}}),solid:al(e=>{var t;return{container:(t=Id.variants)==null?void 0:t.solid(e)}}),outline:al(e=>{var t;return{container:(t=Id.variants)==null?void 0:t.outline(e)}})},WY=MY({variants:BY,baseStyle:NY,sizes:FY,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:ba,defineMultiStyleConfig:HY}=Bn(l9.keys),zY=ba({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Ya={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}},VY={lg:ba({field:Ya.lg,addon:Ya.lg}),md:ba({field:Ya.md,addon:Ya.md}),sm:ba({field:Ya.sm,addon:Ya.sm}),xs:ba({field:Ya.xs,addon:Ya.xs})};function qA(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||jt("blue.500","blue.300")(e),errorBorderColor:n||jt("red.500","red.300")(e)}}var jY=ba(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=qA(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:jt("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ai(t,r),boxShadow:`0 0 0 1px ${ai(t,r)}`},_focusVisible:{zIndex:1,borderColor:ai(t,n),boxShadow:`0 0 0 1px ${ai(t,n)}`}},addon:{border:"1px solid",borderColor:jt("inherit","whiteAlpha.50")(e),bg:jt("gray.100","whiteAlpha.300")(e)}}}),GY=ba(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=qA(e);return{field:{border:"2px solid",borderColor:"transparent",bg:jt("gray.100","whiteAlpha.50")(e),_hover:{bg:jt("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ai(t,r)},_focusVisible:{bg:"transparent",borderColor:ai(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:jt("gray.100","whiteAlpha.50")(e)}}}),YY=ba(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=qA(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ai(t,r),boxShadow:`0px 1px 0px 0px ${ai(t,r)}`},_focusVisible:{borderColor:ai(t,n),boxShadow:`0px 1px 0px 0px ${ai(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),ZY=ba({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),XY={outline:jY,filled:GY,flushed:YY,unstyled:ZY},wn=HY({baseStyle:zY,sizes:VY,variants:XY,defaultProps:{size:"md",variant:"outline"}}),DE,UY={...(DE=wn.baseStyle)==null?void 0:DE.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},$E,NE,KY={outline:e=>{var t,n;return(n=(t=wn.variants)==null?void 0:t.outline(e).field)!=null?n:{}},flushed:e=>{var t,n;return(n=(t=wn.variants)==null?void 0:t.flushed(e).field)!=null?n:{}},filled:e=>{var t,n;return(n=(t=wn.variants)==null?void 0:t.filled(e).field)!=null?n:{}},unstyled:(NE=($E=wn.variants)==null?void 0:$E.unstyled.field)!=null?NE:{}},FE,BE,WE,HE,zE,VE,jE,GE,JY={xs:(BE=(FE=wn.sizes)==null?void 0:FE.xs.field)!=null?BE:{},sm:(HE=(WE=wn.sizes)==null?void 0:WE.sm.field)!=null?HE:{},md:(VE=(zE=wn.sizes)==null?void 0:zE.md.field)!=null?VE:{},lg:(GE=(jE=wn.sizes)==null?void 0:jE.lg.field)!=null?GE:{}},QY={baseStyle:UY,sizes:JY,variants:KY,defaultProps:{size:"md",variant:"outline"}},Bf=Ir("tooltip-bg"),b0=Ir("tooltip-fg"),qY=Ir("popper-arrow-bg"),eZ={bg:Bf.reference,color:b0.reference,[Bf.variable]:"colors.gray.700",[b0.variable]:"colors.whiteAlpha.900",_dark:{[Bf.variable]:"colors.gray.300",[b0.variable]:"colors.gray.900"},[qY.variable]:Bf.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},tZ={baseStyle:eZ},{defineMultiStyleConfig:nZ,definePartsStyle:od}=Bn(p9.keys),rZ=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=jt(PE(),PE("1rem","rgba(0,0,0,0.1)"))(e),a=jt(`${t}.500`,`${t}.200`)(e),c=`linear-gradient( + )`,backgroundSize:`${e} ${e}`}}var V9=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function z9(e){const t=V9();return!e||F9(e)?t:e.string&&e.colors?G9(e.string,e.colors):e.string&&!e.colors?j9(e.string):e.colors&&!e.string?Y9(e.colors):t}function j9(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r >r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function G9(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;r n.colorMode==="dark"?t:e}function QA(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function N$(e){return yr(e)&&e.reference?e.reference:String(e)}var By=(e,...t)=>t.map(N$).join(` ${e} `).replace(/calc/g,""),RE=(...e)=>`calc(${By("+",...e)})`,OE=(...e)=>`calc(${By("-",...e)})`,Qw=(...e)=>`calc(${By("*",...e)})`,ME=(...e)=>`calc(${By("/",...e)})`,LE=e=>{const t=N$(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Qw(t,-1)},ma=Object.assign(e=>({add:(...t)=>ma(RE(e,...t)),subtract:(...t)=>ma(OE(e,...t)),multiply:(...t)=>ma(Qw(e,...t)),divide:(...t)=>ma(ME(e,...t)),negate:()=>ma(LE(e)),toString:()=>e.toString()}),{add:RE,subtract:OE,multiply:Qw,divide:ME,negate:LE});function Z9(e){return!Number.isInteger(parseFloat(e.toString()))}function X9(e,t="-"){return e.replace(/\s+/g,t)}function F$(e){const t=X9(e.toString());return t.includes("\\.")?e:Z9(e)?t.replace(".","\\."):e}function U9(e,t=""){return[t,F$(e)].filter(Boolean).join("-")}function K9(e,t){return`var(${F$(e)}${t?`, ${t}`:""})`}function J9(e,t=""){return`--${U9(e,t)}`}function Ir(e,t){const n=J9(e,t==null?void 0:t.prefix);return{variable:n,reference:K9(n,Q9(t==null?void 0:t.fallback))}}function Q9(e){return typeof e=="string"?e:e==null?void 0:e.reference}var{defineMultiStyleConfig:q9,definePartsStyle:Ap}=Bn(b9.keys),Ad=Ir("switch-track-width"),ol=Ir("switch-track-height"),y0=Ir("switch-track-diff"),eY=ma.subtract(Ad,ol),qw=Ir("switch-thumb-x"),Fu=Ir("switch-bg"),tY=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Ad.reference],height:[ol.reference],transitionProperty:"common",transitionDuration:"fast",[Fu.variable]:"colors.gray.300",_dark:{[Fu.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Fu.variable]:`colors.${t}.500`,_dark:{[Fu.variable]:`colors.${t}.200`}},bg:Fu.reference}},nY={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ol.reference],height:[ol.reference],_checked:{transform:`translateX(${qw.reference})`}},rY=Ap(e=>({container:{[y0.variable]:eY,[qw.variable]:y0.reference,_rtl:{[qw.variable]:ma(y0).negate().toString()}},track:tY(e),thumb:nY})),iY={sm:Ap({container:{[Ad.variable]:"1.375rem",[ol.variable]:"sizes.3"}}),md:Ap({container:{[Ad.variable]:"1.875rem",[ol.variable]:"sizes.4"}}),lg:Ap({container:{[Ad.variable]:"2.875rem",[ol.variable]:"sizes.6"}})},oY=q9({baseStyle:rY,sizes:iY,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:aY,definePartsStyle:Ec}=Bn(x9.keys),sY=Ec({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),nm={"&[data-is-numeric=true]":{textAlign:"end"}},lY=Ec(e=>{const{colorScheme:t}=e;return{th:{color:jt("gray.600","gray.400")(e),borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},td:{borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},caption:{color:jt("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),cY=Ec(e=>{const{colorScheme:t}=e;return{th:{color:jt("gray.600","gray.400")(e),borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},td:{borderBottom:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e),...nm},caption:{color:jt("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:jt(`${t}.100`,`${t}.700`)(e)},td:{background:jt(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),uY={simple:lY,striped:cY,unstyled:{}},dY={sm:Ec({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Ec({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ec({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},hY=aY({baseStyle:sY,variants:uY,sizes:dY,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),gi=fn("tabs-color"),yo=fn("tabs-bg"),Ff=fn("tabs-border-color"),{defineMultiStyleConfig:fY,definePartsStyle:Ko}=Bn(w9.keys),pY=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},gY=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},mY=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},vY={p:4},yY=Ko(e=>({root:pY(e),tab:gY(e),tablist:mY(e),tabpanel:vY})),bY={sm:Ko({tab:{py:1,px:4,fontSize:"sm"}}),md:Ko({tab:{fontSize:"md",py:2,px:4}}),lg:Ko({tab:{fontSize:"lg",py:3,px:4}})},xY=Ko(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=n==="vertical"?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[gi.variable]:`colors.${t}.600`,_dark:{[gi.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[yo.variable]:"colors.gray.200",_dark:{[yo.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:gi.reference,bg:yo.reference}}}),wY=Ko(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Ff.variable]:"transparent",_selected:{[gi.variable]:`colors.${t}.600`,[Ff.variable]:"colors.white",_dark:{[gi.variable]:`colors.${t}.300`,[Ff.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Ff.reference},color:gi.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),CY=Ko(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[yo.variable]:"colors.gray.50",_dark:{[yo.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[yo.variable]:"colors.white",[gi.variable]:`colors.${t}.600`,_dark:{[yo.variable]:"colors.gray.800",[gi.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:gi.reference,bg:yo.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),SY=Ko(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:ai(n,`${t}.700`),bg:ai(n,`${t}.100`)}}}}),AY=Ko(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[gi.variable]:"colors.gray.600",_dark:{[gi.variable]:"inherit"},_selected:{[gi.variable]:"colors.white",[yo.variable]:`colors.${t}.600`,_dark:{[gi.variable]:"colors.gray.800",[yo.variable]:`colors.${t}.300`}},color:gi.reference,bg:yo.reference}}}),IY=Ko({}),kY={line:xY,enclosed:wY,"enclosed-colored":CY,"soft-rounded":SY,"solid-rounded":AY,unstyled:IY},_Y=fY({baseStyle:yY,sizes:bY,variants:kY,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),lr=JG("badge",["bg","color","shadow"]),EY={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:lr.bg.reference,color:lr.color.reference,boxShadow:lr.shadow.reference},TY=e=>{const{colorScheme:t,theme:n}=e,r=Kc(`${t}.500`,.6)(n);return{[lr.bg.variable]:`colors.${t}.500`,[lr.color.variable]:"colors.white",_dark:{[lr.bg.variable]:r,[lr.color.variable]:"colors.whiteAlpha.800"}}},PY=e=>{const{colorScheme:t,theme:n}=e,r=Kc(`${t}.200`,.16)(n);return{[lr.bg.variable]:`colors.${t}.100`,[lr.color.variable]:`colors.${t}.800`,_dark:{[lr.bg.variable]:r,[lr.color.variable]:`colors.${t}.200`}}},RY=e=>{const{colorScheme:t,theme:n}=e,r=Kc(`${t}.200`,.8)(n);return{[lr.color.variable]:`colors.${t}.500`,_dark:{[lr.color.variable]:r},[lr.shadow.variable]:`inset 0 0 0px 1px ${lr.color.reference}`}},OY={solid:TY,subtle:PY,outline:RY},Id={baseStyle:EY,variants:OY,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:MY,definePartsStyle:al}=Bn(C9.keys),LY={fontWeight:"medium",lineHeight:1.2,outline:0,color:lr.color.reference,bg:lr.bg.reference,boxShadow:lr.shadow.reference,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},DY={lineHeight:1.2,overflow:"visible"},$Y={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},NY=al({container:LY,label:DY,closeButton:$Y}),FY={sm:al({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:al({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:al({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},BY={subtle:al(e=>{var t;return{container:(t=Id.variants)==null?void 0:t.subtle(e)}}),solid:al(e=>{var t;return{container:(t=Id.variants)==null?void 0:t.solid(e)}}),outline:al(e=>{var t;return{container:(t=Id.variants)==null?void 0:t.outline(e)}})},WY=MY({variants:BY,baseStyle:NY,sizes:FY,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:ba,defineMultiStyleConfig:HY}=Bn(l9.keys),VY=ba({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Ya={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}},zY={lg:ba({field:Ya.lg,addon:Ya.lg}),md:ba({field:Ya.md,addon:Ya.md}),sm:ba({field:Ya.sm,addon:Ya.sm}),xs:ba({field:Ya.xs,addon:Ya.xs})};function qA(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||jt("blue.500","blue.300")(e),errorBorderColor:n||jt("red.500","red.300")(e)}}var jY=ba(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=qA(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:jt("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ai(t,r),boxShadow:`0 0 0 1px ${ai(t,r)}`},_focusVisible:{zIndex:1,borderColor:ai(t,n),boxShadow:`0 0 0 1px ${ai(t,n)}`}},addon:{border:"1px solid",borderColor:jt("inherit","whiteAlpha.50")(e),bg:jt("gray.100","whiteAlpha.300")(e)}}}),GY=ba(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=qA(e);return{field:{border:"2px solid",borderColor:"transparent",bg:jt("gray.100","whiteAlpha.50")(e),_hover:{bg:jt("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ai(t,r)},_focusVisible:{bg:"transparent",borderColor:ai(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:jt("gray.100","whiteAlpha.50")(e)}}}),YY=ba(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=qA(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ai(t,r),boxShadow:`0px 1px 0px 0px ${ai(t,r)}`},_focusVisible:{borderColor:ai(t,n),boxShadow:`0px 1px 0px 0px ${ai(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),ZY=ba({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),XY={outline:jY,filled:GY,flushed:YY,unstyled:ZY},wn=HY({baseStyle:VY,sizes:zY,variants:XY,defaultProps:{size:"md",variant:"outline"}}),DE,UY={...(DE=wn.baseStyle)==null?void 0:DE.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},$E,NE,KY={outline:e=>{var t,n;return(n=(t=wn.variants)==null?void 0:t.outline(e).field)!=null?n:{}},flushed:e=>{var t,n;return(n=(t=wn.variants)==null?void 0:t.flushed(e).field)!=null?n:{}},filled:e=>{var t,n;return(n=(t=wn.variants)==null?void 0:t.filled(e).field)!=null?n:{}},unstyled:(NE=($E=wn.variants)==null?void 0:$E.unstyled.field)!=null?NE:{}},FE,BE,WE,HE,VE,zE,jE,GE,JY={xs:(BE=(FE=wn.sizes)==null?void 0:FE.xs.field)!=null?BE:{},sm:(HE=(WE=wn.sizes)==null?void 0:WE.sm.field)!=null?HE:{},md:(zE=(VE=wn.sizes)==null?void 0:VE.md.field)!=null?zE:{},lg:(GE=(jE=wn.sizes)==null?void 0:jE.lg.field)!=null?GE:{}},QY={baseStyle:UY,sizes:JY,variants:KY,defaultProps:{size:"md",variant:"outline"}},Bf=Ir("tooltip-bg"),b0=Ir("tooltip-fg"),qY=Ir("popper-arrow-bg"),eZ={bg:Bf.reference,color:b0.reference,[Bf.variable]:"colors.gray.700",[b0.variable]:"colors.whiteAlpha.900",_dark:{[Bf.variable]:"colors.gray.300",[b0.variable]:"colors.gray.900"},[qY.variable]:Bf.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},tZ={baseStyle:eZ},{defineMultiStyleConfig:nZ,definePartsStyle:od}=Bn(p9.keys),rZ=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=jt(PE(),PE("1rem","rgba(0,0,0,0.1)"))(e),a=jt(`${t}.500`,`${t}.200`)(e),c=`linear-gradient( to right, transparent 0%, ${ai(n,a)} 50%, transparent 100% - )`;return{...!r&&i&&o,...r?{bgImage:c}:{bgColor:a}}},iZ={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},oZ=e=>({bg:jt("gray.100","whiteAlpha.300")(e)}),aZ=e=>({transitionProperty:"common",transitionDuration:"slow",...rZ(e)}),sZ=od(e=>({label:iZ,filledTrack:aZ(e),track:oZ(e)})),lZ={xs:od({track:{h:"1"}}),sm:od({track:{h:"2"}}),md:od({track:{h:"3"}}),lg:od({track:{h:"4"}})},cZ=nZ({sizes:lZ,baseStyle:sZ,defaultProps:{size:"md",colorScheme:"blue"}}),uZ=e=>typeof e=="function";function li(e,...t){return uZ(e)?e(...t):e}var{definePartsStyle:Ip,defineMultiStyleConfig:dZ}=Bn(r9.keys),kd=fn("checkbox-size"),hZ=e=>{const{colorScheme:t}=e;return{w:kd.reference,h:kd.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:jt(`${t}.500`,`${t}.200`)(e),borderColor:jt(`${t}.500`,`${t}.200`)(e),color:jt("white","gray.900")(e),_hover:{bg:jt(`${t}.600`,`${t}.300`)(e),borderColor:jt(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:jt("gray.200","transparent")(e),bg:jt("gray.200","whiteAlpha.300")(e),color:jt("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:jt(`${t}.500`,`${t}.200`)(e),borderColor:jt(`${t}.500`,`${t}.200`)(e),color:jt("white","gray.900")(e)},_disabled:{bg:jt("gray.100","whiteAlpha.100")(e),borderColor:jt("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:jt("red.500","red.300")(e)}}},fZ={_disabled:{cursor:"not-allowed"}},pZ={userSelect:"none",_disabled:{opacity:.4}},gZ={transitionProperty:"transform",transitionDuration:"normal"},mZ=Ip(e=>({icon:gZ,container:fZ,control:li(hZ,e),label:pZ})),vZ={sm:Ip({control:{[kd.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ip({control:{[kd.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ip({control:{[kd.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},rm=dZ({baseStyle:mZ,sizes:vZ,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:yZ,definePartsStyle:kp}=Bn(g9.keys),bZ=e=>{var t;const n=(t=li(rm.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},xZ=kp(e=>{var t,n,r,i;return{label:(n=(t=rm).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=rm).baseStyle)==null?void 0:i.call(r,e).container,control:bZ(e)}}),wZ={md:kp({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:kp({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:kp({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},CZ=yZ({baseStyle:xZ,sizes:wZ,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:SZ,definePartsStyle:AZ}=Bn(m9.keys),Wf=fn("select-bg"),YE,IZ={...(YE=wn.baseStyle)==null?void 0:YE.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Wf.reference,[Wf.variable]:"colors.white",_dark:{[Wf.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Wf.reference}},kZ={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},_Z=AZ({field:IZ,icon:kZ}),Hf={paddingInlineEnd:"8"},ZE,XE,UE,KE,JE,QE,qE,eT,EZ={lg:{...(ZE=wn.sizes)==null?void 0:ZE.lg,field:{...(XE=wn.sizes)==null?void 0:XE.lg.field,...Hf}},md:{...(UE=wn.sizes)==null?void 0:UE.md,field:{...(KE=wn.sizes)==null?void 0:KE.md.field,...Hf}},sm:{...(JE=wn.sizes)==null?void 0:JE.sm,field:{...(QE=wn.sizes)==null?void 0:QE.sm.field,...Hf}},xs:{...(qE=wn.sizes)==null?void 0:qE.xs,field:{...(eT=wn.sizes)==null?void 0:eT.xs.field,...Hf},icon:{insetEnd:"1"}}},TZ=SZ({baseStyle:_Z,sizes:EZ,variants:wn.variants,defaultProps:wn.defaultProps}),x0=fn("skeleton-start-color"),w0=fn("skeleton-end-color"),PZ={[x0.variable]:"colors.gray.100",[w0.variable]:"colors.gray.400",_dark:{[x0.variable]:"colors.gray.800",[w0.variable]:"colors.gray.600"},background:x0.reference,borderColor:w0.reference,opacity:.7,borderRadius:"sm"},RZ={baseStyle:PZ},C0=fn("skip-link-bg"),OZ={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[C0.variable]:"colors.white",_dark:{[C0.variable]:"colors.gray.700"},bg:C0.reference}},MZ={baseStyle:OZ},{defineMultiStyleConfig:LZ,definePartsStyle:Wy}=Bn(v9.keys),dh=fn("slider-thumb-size"),hh=fn("slider-track-size"),ss=fn("slider-bg"),DZ=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...QA({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},$Z=e=>({...QA({orientation:e.orientation,horizontal:{h:hh.reference},vertical:{w:hh.reference}}),overflow:"hidden",borderRadius:"sm",[ss.variable]:"colors.gray.200",_dark:{[ss.variable]:"colors.whiteAlpha.200"},_disabled:{[ss.variable]:"colors.gray.300",_dark:{[ss.variable]:"colors.whiteAlpha.300"}},bg:ss.reference}),NZ=e=>{const{orientation:t}=e;return{...QA({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:dh.reference,h:dh.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},FZ=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ss.variable]:`colors.${t}.500`,_dark:{[ss.variable]:`colors.${t}.200`},bg:ss.reference}},BZ=Wy(e=>({container:DZ(e),track:$Z(e),thumb:NZ(e),filledTrack:FZ(e)})),WZ=Wy({container:{[dh.variable]:"sizes.4",[hh.variable]:"sizes.1"}}),HZ=Wy({container:{[dh.variable]:"sizes.3.5",[hh.variable]:"sizes.1"}}),zZ=Wy({container:{[dh.variable]:"sizes.2.5",[hh.variable]:"sizes.0.5"}}),VZ={lg:WZ,md:HZ,sm:zZ},jZ=LZ({baseStyle:BZ,sizes:VZ,defaultProps:{size:"md",colorScheme:"blue"}}),Xs=Ir("spinner-size"),GZ={width:[Xs.reference],height:[Xs.reference]},YZ={xs:{[Xs.variable]:"sizes.3"},sm:{[Xs.variable]:"sizes.4"},md:{[Xs.variable]:"sizes.6"},lg:{[Xs.variable]:"sizes.8"},xl:{[Xs.variable]:"sizes.12"}},ZZ={baseStyle:GZ,sizes:YZ,defaultProps:{size:"md"}},{defineMultiStyleConfig:XZ,definePartsStyle:B$}=Bn(y9.keys),UZ={fontWeight:"medium"},KZ={opacity:.8,marginBottom:"2"},JZ={verticalAlign:"baseline",fontWeight:"semibold"},QZ={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},qZ=B$({container:{},label:UZ,helpText:KZ,number:JZ,icon:QZ}),eX={md:B$({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},tX=XZ({baseStyle:qZ,sizes:eX,defaultProps:{size:"md"}}),S0=fn("kbd-bg"),nX={[S0.variable]:"colors.gray.100",_dark:{[S0.variable]:"colors.whiteAlpha.100"},bg:S0.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},rX={baseStyle:nX},iX={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},oX={baseStyle:iX},{defineMultiStyleConfig:aX,definePartsStyle:sX}=Bn(c9.keys),lX={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},cX=sX({icon:lX}),uX=aX({baseStyle:cX}),{defineMultiStyleConfig:dX,definePartsStyle:hX}=Bn(u9.keys),Do=fn("menu-bg"),A0=fn("menu-shadow"),fX={[Do.variable]:"#fff",[A0.variable]:"shadows.sm",_dark:{[Do.variable]:"colors.gray.700",[A0.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Do.reference,boxShadow:A0.reference},pX={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Do.variable]:"colors.gray.100",_dark:{[Do.variable]:"colors.whiteAlpha.100"}},_active:{[Do.variable]:"colors.gray.200",_dark:{[Do.variable]:"colors.whiteAlpha.200"}},_expanded:{[Do.variable]:"colors.gray.100",_dark:{[Do.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Do.reference},gX={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},mX={opacity:.6},vX={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},yX={transitionProperty:"common",transitionDuration:"normal"},bX=hX({button:yX,list:fX,item:pX,groupTitle:gX,command:mX,divider:vX}),xX=dX({baseStyle:bX}),{defineMultiStyleConfig:wX,definePartsStyle:eC}=Bn(d9.keys),I0=fn("modal-bg"),k0=fn("modal-shadow"),CX={bg:"blackAlpha.600",zIndex:"modal"},SX=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},AX=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",color:"inherit",my:"16",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,[I0.variable]:"colors.white",[k0.variable]:"shadows.lg",_dark:{[I0.variable]:"colors.gray.700",[k0.variable]:"shadows.dark-lg"},bg:I0.reference,boxShadow:k0.reference}},IX={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},kX={position:"absolute",top:"2",insetEnd:"3"},_X=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},EX={px:"6",py:"4"},TX=eC(e=>({overlay:CX,dialogContainer:li(SX,e),dialog:li(AX,e),header:IX,closeButton:kX,body:li(_X,e),footer:EX}));function uo(e){return eC(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var PX={xs:uo("xs"),sm:uo("sm"),md:uo("md"),lg:uo("lg"),xl:uo("xl"),"2xl":uo("2xl"),"3xl":uo("3xl"),"4xl":uo("4xl"),"5xl":uo("5xl"),"6xl":uo("6xl"),full:uo("full")},RX=wX({baseStyle:TX,sizes:PX,defaultProps:{size:"md"}}),{defineMultiStyleConfig:OX,definePartsStyle:W$}=Bn(h9.keys),eI=Ir("number-input-stepper-width"),H$=Ir("number-input-input-padding"),MX=ma(eI).add("0.5rem").toString(),_0=Ir("number-input-bg"),E0=Ir("number-input-color"),T0=Ir("number-input-border-color"),LX={[eI.variable]:"sizes.6",[H$.variable]:MX},DX=e=>{var t,n;return(n=(t=li(wn.baseStyle,e))==null?void 0:t.field)!=null?n:{}},$X={width:eI.reference},NX={borderStart:"1px solid",borderStartColor:T0.reference,color:E0.reference,bg:_0.reference,[E0.variable]:"colors.chakra-body-text",[T0.variable]:"colors.chakra-border-color",_dark:{[E0.variable]:"colors.whiteAlpha.800",[T0.variable]:"colors.whiteAlpha.300"},_active:{[_0.variable]:"colors.gray.200",_dark:{[_0.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},FX=W$(e=>{var t;return{root:LX,field:(t=li(DX,e))!=null?t:{},stepperGroup:$X,stepper:NX}});function zf(e){var t,n,r;const i=(t=wn.sizes)==null?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(r=(n=i.field)==null?void 0:n.fontSize)!=null?r:"md",c=M$.fontSizes[a];return W$({field:{...i.field,paddingInlineEnd:H$.reference,verticalAlign:"top"},stepper:{fontSize:ma(c).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var BX={xs:zf("xs"),sm:zf("sm"),md:zf("md"),lg:zf("lg")},WX=OX({baseStyle:FX,sizes:BX,variants:wn.variants,defaultProps:wn.defaultProps}),tT,HX={...(tT=wn.baseStyle)==null?void 0:tT.field,textAlign:"center"},zX={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},nT,rT,VX={outline:e=>{var t,n,r;return(r=(n=li((t=wn.variants)==null?void 0:t.outline,e))==null?void 0:n.field)!=null?r:{}},flushed:e=>{var t,n,r;return(r=(n=li((t=wn.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)!=null?r:{}},filled:e=>{var t,n,r;return(r=(n=li((t=wn.variants)==null?void 0:t.filled,e))==null?void 0:n.field)!=null?r:{}},unstyled:(rT=(nT=wn.variants)==null?void 0:nT.unstyled.field)!=null?rT:{}},jX={baseStyle:HX,sizes:zX,variants:VX,defaultProps:wn.defaultProps},{defineMultiStyleConfig:GX,definePartsStyle:YX}=Bn(f9.keys),Vf=Ir("popper-bg"),ZX=Ir("popper-arrow-bg"),iT=Ir("popper-arrow-shadow-color"),XX={zIndex:10},UX={[Vf.variable]:"colors.white",bg:Vf.reference,[ZX.variable]:Vf.reference,[iT.variable]:"colors.gray.200",_dark:{[Vf.variable]:"colors.gray.700",[iT.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},KX={px:3,py:2,borderBottomWidth:"1px"},JX={px:3,py:2},QX={px:3,py:2,borderTopWidth:"1px"},qX={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},eU=YX({popper:XX,content:UX,header:KX,body:JX,footer:QX,closeButton:qX}),tU=GX({baseStyle:eU}),{definePartsStyle:tC,defineMultiStyleConfig:nU}=Bn(i9.keys),P0=fn("drawer-bg"),R0=fn("drawer-box-shadow");function Bl(e){return tC(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var rU={bg:"blackAlpha.600",zIndex:"overlay"},iU={display:"flex",zIndex:"modal",justifyContent:"center"},oU=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[P0.variable]:"colors.white",[R0.variable]:"shadows.lg",_dark:{[P0.variable]:"colors.gray.700",[R0.variable]:"shadows.dark-lg"},bg:P0.reference,boxShadow:R0.reference}},aU={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},sU={position:"absolute",top:"2",insetEnd:"3"},lU={px:"6",py:"2",flex:"1",overflow:"auto"},cU={px:"6",py:"4"},uU=tC(e=>({overlay:rU,dialogContainer:iU,dialog:li(oU,e),header:aU,closeButton:sU,body:lU,footer:cU})),dU={xs:Bl("xs"),sm:Bl("md"),md:Bl("lg"),lg:Bl("2xl"),xl:Bl("4xl"),full:Bl("full")},hU=nU({baseStyle:uU,sizes:dU,defaultProps:{size:"xs"}}),{definePartsStyle:fU,defineMultiStyleConfig:pU}=Bn(o9.keys),gU={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},mU={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},vU={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},yU=fU({preview:gU,input:mU,textarea:vU}),bU=pU({baseStyle:yU}),{definePartsStyle:xU,defineMultiStyleConfig:wU}=Bn(a9.keys),Tc=fn("form-control-color"),CU={marginStart:"1",[Tc.variable]:"colors.red.500",_dark:{[Tc.variable]:"colors.red.300"},color:Tc.reference},SU={mt:"2",[Tc.variable]:"colors.gray.600",_dark:{[Tc.variable]:"colors.whiteAlpha.600"},color:Tc.reference,lineHeight:"normal",fontSize:"sm"},AU=xU({container:{width:"100%",position:"relative"},requiredIndicator:CU,helperText:SU}),IU=wU({baseStyle:AU}),{definePartsStyle:kU,defineMultiStyleConfig:_U}=Bn(s9.keys),Pc=fn("form-error-color"),EU={[Pc.variable]:"colors.red.500",_dark:{[Pc.variable]:"colors.red.300"},color:Pc.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},TU={marginEnd:"0.5em",[Pc.variable]:"colors.red.500",_dark:{[Pc.variable]:"colors.red.300"},color:Pc.reference},PU=kU({text:EU,icon:TU}),RU=_U({baseStyle:PU}),OU={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},MU={baseStyle:OU},LU={fontFamily:"heading",fontWeight:"bold"},DU={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},$U={baseStyle:LU,sizes:DU,defaultProps:{size:"xl"}},{defineMultiStyleConfig:NU,definePartsStyle:FU}=Bn(n9.keys),BU={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},WU=FU({link:BU}),HU=NU({baseStyle:WU}),zU={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},z$=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:jt("inherit","whiteAlpha.900")(e),_hover:{bg:jt("gray.100","whiteAlpha.200")(e)},_active:{bg:jt("gray.200","whiteAlpha.300")(e)}};const r=Kc(`${t}.200`,.12)(n),i=Kc(`${t}.200`,.24)(n);return{color:jt(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:jt(`${t}.50`,r)(e)},_active:{bg:jt(`${t}.100`,i)(e)}}},VU=e=>{const{colorScheme:t}=e,n=jt("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...li(z$,e)}},jU={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},GU=e=>{var t;const{colorScheme:n}=e;if(n==="gray"){const u=jt("gray.100","whiteAlpha.200")(e);return{bg:u,_hover:{bg:jt("gray.200","whiteAlpha.300")(e),_disabled:{bg:u}},_active:{bg:jt("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:i="white",hoverBg:o=`${n}.600`,activeBg:a=`${n}.700`}=(t=jU[n])!=null?t:{},c=jt(r,`${n}.200`)(e);return{bg:c,color:jt(i,"gray.800")(e),_hover:{bg:jt(o,`${n}.300`)(e),_disabled:{bg:c}},_active:{bg:jt(a,`${n}.400`)(e)}}},YU=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:jt(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:jt(`${t}.700`,`${t}.500`)(e)}}},ZU={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},XU={ghost:z$,outline:VU,solid:GU,link:YU,unstyled:ZU},UU={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},KU={baseStyle:zU,variants:XU,sizes:UU,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:sl,defineMultiStyleConfig:JU}=Bn(S9.keys),im=fn("card-bg"),Sa=fn("card-padding"),V$=fn("card-shadow"),_p=fn("card-radius"),j$=fn("card-border-width","0"),G$=fn("card-border-color"),QU=sl({container:{[im.variable]:"colors.chakra-body-bg",backgroundColor:im.reference,boxShadow:V$.reference,borderRadius:_p.reference,color:"chakra-body-text",borderWidth:j$.reference,borderColor:G$.reference},body:{padding:Sa.reference,flex:"1 1 0%"},header:{padding:Sa.reference},footer:{padding:Sa.reference}}),qU={sm:sl({container:{[_p.variable]:"radii.base",[Sa.variable]:"space.3"}}),md:sl({container:{[_p.variable]:"radii.md",[Sa.variable]:"space.5"}}),lg:sl({container:{[_p.variable]:"radii.xl",[Sa.variable]:"space.7"}})},eK={elevated:sl({container:{[V$.variable]:"shadows.base",_dark:{[im.variable]:"colors.gray.700"}}}),outline:sl({container:{[j$.variable]:"1px",[G$.variable]:"colors.chakra-border-color"}}),filled:sl({container:{[im.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Sa.variable]:0},header:{[Sa.variable]:0},footer:{[Sa.variable]:0}}},tK=JU({baseStyle:QU,variants:eK,sizes:qU,defaultProps:{variant:"elevated",size:"md"}}),_d=Ir("close-button-size"),Bu=Ir("close-button-bg"),nK={w:[_d.reference],h:[_d.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Bu.variable]:"colors.blackAlpha.100",_dark:{[Bu.variable]:"colors.whiteAlpha.100"}},_active:{[Bu.variable]:"colors.blackAlpha.200",_dark:{[Bu.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Bu.reference},rK={lg:{[_d.variable]:"sizes.10",fontSize:"md"},md:{[_d.variable]:"sizes.8",fontSize:"xs"},sm:{[_d.variable]:"sizes.6",fontSize:"2xs"}},iK={baseStyle:nK,sizes:rK,defaultProps:{size:"md"}},{variants:oK,defaultProps:aK}=Id,sK={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:lr.bg.reference,color:lr.color.reference,boxShadow:lr.shadow.reference},lK={baseStyle:sK,variants:oK,defaultProps:aK},cK={w:"100%",mx:"auto",maxW:"prose",px:"4"},uK={baseStyle:cK},dK={opacity:.6,borderColor:"inherit"},hK={borderStyle:"solid"},fK={borderStyle:"dashed"},pK={solid:hK,dashed:fK},gK={baseStyle:dK,variants:pK,defaultProps:{variant:"solid"}},{definePartsStyle:mK,defineMultiStyleConfig:vK}=Bn(q4.keys),yK={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},bK={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},xK={pt:"2",px:"4",pb:"5"},wK={fontSize:"1.25em"},CK=mK({container:yK,button:bK,panel:xK,icon:wK}),SK=vK({baseStyle:CK}),{definePartsStyle:qh,defineMultiStyleConfig:AK}=Bn(e9.keys),Di=fn("alert-fg"),Ma=fn("alert-bg"),IK=qh({container:{bg:Ma.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Di.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Di.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function tI(e){const{theme:t,colorScheme:n}=e,r=Kc(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var kK=qh(e=>{const{colorScheme:t}=e,n=tI(e);return{container:{[Di.variable]:`colors.${t}.500`,[Ma.variable]:n.light,_dark:{[Di.variable]:`colors.${t}.200`,[Ma.variable]:n.dark}}}}),_K=qh(e=>{const{colorScheme:t}=e,n=tI(e);return{container:{[Di.variable]:`colors.${t}.500`,[Ma.variable]:n.light,_dark:{[Di.variable]:`colors.${t}.200`,[Ma.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Di.reference}}}),EK=qh(e=>{const{colorScheme:t}=e,n=tI(e);return{container:{[Di.variable]:`colors.${t}.500`,[Ma.variable]:n.light,_dark:{[Di.variable]:`colors.${t}.200`,[Ma.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Di.reference}}}),TK=qh(e=>{const{colorScheme:t}=e;return{container:{[Di.variable]:"colors.white",[Ma.variable]:`colors.${t}.500`,_dark:{[Di.variable]:"colors.gray.900",[Ma.variable]:`colors.${t}.200`},color:Di.reference}}}),PK={subtle:kK,"left-accent":_K,"top-accent":EK,solid:TK},RK=AK({baseStyle:IK,variants:PK,defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Y$,defineMultiStyleConfig:OK}=Bn(t9.keys),Rc=fn("avatar-border-color"),O0=fn("avatar-bg"),MK={borderRadius:"full",border:"0.2em solid",[Rc.variable]:"white",_dark:{[Rc.variable]:"colors.gray.800"},borderColor:Rc.reference},LK={[O0.variable]:"colors.gray.200",_dark:{[O0.variable]:"colors.whiteAlpha.400"},bgColor:O0.reference},oT=fn("avatar-background"),DK=e=>{const{name:t,theme:n}=e,r=t?V9({string:t}):"colors.gray.400",i=H9(r)(n);let o="white";return i||(o="gray.800"),{bg:oT.reference,"&:not([data-loaded])":{[oT.variable]:r},color:o,[Rc.variable]:"colors.white",_dark:{[Rc.variable]:"colors.gray.800"},borderColor:Rc.reference,verticalAlign:"top"}},$K=Y$(e=>({badge:li(MK,e),excessLabel:li(LK,e),container:li(DK,e)}));function Za(e){const t=e!=="100%"?D$[e]:void 0;return Y$({container:{width:e,height:e,fontSize:`calc(${t!=null?t:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t!=null?t:e} / 2.5)`,lineHeight:e!=="100%"?t!=null?t:e:void 0}})}var NK={"2xs":Za(4),xs:Za(6),sm:Za(8),md:Za(12),lg:Za(16),xl:Za(24),"2xl":Za(32),full:Za("100%")},FK=OK({baseStyle:$K,sizes:NK,defaultProps:{size:"md"}}),BK={Accordion:SK,Alert:RK,Avatar:FK,Badge:Id,Breadcrumb:HU,Button:KU,Checkbox:rm,CloseButton:iK,Code:lK,Container:uK,Divider:gK,Drawer:hU,Editable:bU,Form:IU,FormError:RU,FormLabel:MU,Heading:$U,Input:wn,Kbd:rX,Link:oX,List:uX,Menu:xX,Modal:RX,NumberInput:WX,PinInput:jX,Popover:tU,Progress:cZ,Radio:CZ,Select:TZ,Skeleton:RZ,SkipLink:MZ,Slider:jZ,Spinner:ZZ,Stat:tX,Switch:oY,Table:hY,Tabs:_Y,Tag:WY,Textarea:QY,Tooltip:tZ,Card:tK},Z$={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},X$={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},U$="ltr",K$={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},J$={semanticTokens:Z$,direction:U$,...$$,components:BK,styles:X$,config:K$};({...$$});function ad(e){return typeof e=="function"}function WK(...e){return t=>e.reduce((n,r)=>r(n),t)}var HK=e=>function(...n){let r=[...n],i=n[n.length-1];return T4(i)&&r.length>1?r=r.slice(0,r.length-1):i=e,WK(...r.map(o=>a=>ad(o)?o(a):zK(a,o)))(i)},qIe=HK(J$);function zK(...e){return Ji({},...e,Q$)}function Q$(e,t,n,r){if((ad(e)||ad(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...i)=>{const o=ad(e)?e(...i):e,a=ad(t)?t(...i):t;return Ji({},o,a,Q$)}}function VK(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function q$(e){var t;return VK(e)&&(t=e.ownerDocument)!=null?t:document}function jK(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var GK=jK();function YK(e,t){const n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}function ZK(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r {const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const c=t.get(r);if(c.has(i))return c.get(i);const u=e(r,i,o,a);return c.set(i,u),u}},eN=XK(ZK);function tN(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var nN=e=>tN(e,t=>t!=null);function UK(e){return typeof e=="function"}function rN(e,...t){return UK(e)?e(...t):e}function KK(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}const iN=1/60*1e3,JK=typeof performance<"u"?()=>performance.now():()=>Date.now(),oN=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(JK()),iN);function QK(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,c={schedule:(u,d=!1,p=!1)=>{const I=p&&i,P=I?t:n;return d&&a.add(u),P.indexOf(u)===-1&&(P.push(u),I&&i&&(r=t.length)),u},cancel:u=>{const d=n.indexOf(u);d!==-1&&n.splice(d,1),a.delete(u)},process:u=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let d=0;d (e[t]=QK(()=>fh=!0),e),{}),e6=ef.reduce((e,t)=>{const n=Hy[t];return e[t]=(r,i=!1,o=!1)=>(fh||r6(),n.schedule(r,i,o)),e},{}),t6=ef.reduce((e,t)=>(e[t]=Hy[t].cancel,e),{});ef.reduce((e,t)=>(e[t]=()=>Hy[t].process(Oc),e),{});const n6=e=>Hy[e].process(Oc),aN=e=>{fh=!1,Oc.delta=nC?iN:Math.max(Math.min(e-Oc.timestamp,qK),1),Oc.timestamp=e,rC=!0,ef.forEach(n6),rC=!1,fh&&(nC=!1,oN(aN))},r6=()=>{fh=!0,nC=!0,rC||oN(aN)},aT=()=>Oc;var i6=typeof Element<"u",o6=typeof Map=="function",a6=typeof Set=="function",s6=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ep(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ep(e[r],t[r]))return!1;return!0}var o;if(o6&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!Ep(r.value[1],t.get(r.value[0])))return!1;return!0}if(a6&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(s6&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(i6&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Ep(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var sN=function(t,n){try{return Ep(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function lN(e,t={}){var n;const{styleConfig:r,...i}=t,{theme:o,colorMode:a}=k$(),c=e?eN(o,`components.${e}`):void 0,u=r||c,d=Ji({theme:o,colorMode:a},(n=u==null?void 0:u.defaultProps)!=null?n:{},nN(YK(i,["children"]))),p=de.exports.useRef({});if(u){const P=k4(u)(d);sN(p.current,P)||(p.current=P)}return p.current}function Eo(e,t={}){return lN(e,t)}function Vr(e,t={}){return lN(e,t)}var l6=new Set([...p4,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),c6=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function u6(e){return c6.has(e)||!l6.has(e)}function nI(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function d6(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const r of t)if(r!=null)for(const i in r)!Object.prototype.hasOwnProperty.call(r,i)||(i in n&&delete n[i],n[i]=r[i]);return n}var h6=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f6=aL(function(e){return h6.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),p6=f6,g6=function(t){return t!=="theme"},sT=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?p6:g6},lT=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},m6=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return hL(n,r,i),Lz(function(){return fL(n,r,i)}),null},v6=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var c=lT(t,n,r),u=c||sT(i),d=!u("as");return function(){var p=arguments,I=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&I.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)I.push.apply(I,p);else{I.push(p[0][0]);for(var P=p.length,F=1;F t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,c=tN(a,(I,P)=>m4(P)),u=rN(e,t),d=d6({},i,u,nN(c),o),p=O$(d)(t.theme);return r?[p,r]:p};function M0(e,t){const{baseStyle:n,...r}=t!=null?t:{};r.shouldForwardProp||(r.shouldForwardProp=u6);const i=x6({baseStyle:n}),o=b6(e,r)(i);return vt.forwardRef(function(u,d){const{colorMode:p,forced:I}=YA();return Ae(o,{ref:d,"data-theme":I?p:void 0,...u})})}function w6(){const e=new Map;return new Proxy(M0,{apply(t,n,r){return M0(...r)},get(t,n){return e.has(n)||e.set(n,M0(n)),e.get(n)}})}var pt=w6();function At(e){return de.exports.forwardRef(e)}function cN(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=de.exports.createContext(void 0);i.displayName=r;function o(){var a;const c=de.exports.useContext(i);if(!c&&t){const u=new Error(n);throw u.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,u,o),u}return c}return[i.Provider,o,i]}function C6(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=de.exports.useMemo(()=>d4(n),[n]);return It(Nz,{theme:i,children:[Ae(S6,{root:t}),r]})}function S6({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return Ae(by,{styles:n=>({[t]:n.__cssVars})})}cN({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `
` "});function A6(e){return cN({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function I6(){const{colorMode:e}=YA();return Ae(by,{styles:t=>{const n=eN(t,"styles.global"),r=rN(n,{theme:t,colorMode:e});return r?O$(r)(t):void 0}})}var rI=de.exports.createContext({getDocument(){return document},getWindow(){return window}});rI.displayName="EnvironmentContext";function k6({defer:e}={}){const[,t]=de.exports.useReducer(n=>n+1,0);return Zo(()=>{!e||t()},[e]),de.exports.useContext(rI)}function uN(e){const{children:t,environment:n,disabled:r}=e,i=de.exports.useRef(null),o=de.exports.useMemo(()=>n||{getDocument:()=>{var c,u;return(u=(c=i.current)==null?void 0:c.ownerDocument)!=null?u:document},getWindow:()=>{var c,u;return(u=(c=i.current)==null?void 0:c.ownerDocument.defaultView)!=null?u:window}},[n]),a=!r||!n;return It(rI.Provider,{value:o,children:[t,a&&Ae("span",{id:"__chakra_env",hidden:!0,ref:i})]})}uN.displayName="EnvironmentProvider";var _6=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:i,resetCSS:o=!0,theme:a={},environment:c,cssVarsRoot:u,disableEnvironment:d}=e,p=Ae(uN,{environment:c,disabled:d,children:t});return Ae(C6,{theme:a,cssVarsRoot:u,children:It(I$,{colorModeManager:n,options:a.config,children:[o?Ae(Yz,{scope:i}):Ae(Gz,{}),Ae(I6,{}),r?Ae(wL,{zIndex:r,children:p}):p]})})},E6=(e,t)=>e.find(n=>n.id===t);function uT(e,t){const n=dN(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function dN(e,t){for(const[n,r]of Object.entries(e))if(E6(r,t))return n}function T6(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function P6(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}function nr(e,t=[]){const n=de.exports.useRef(e);return de.exports.useEffect(()=>{n.current=e}),de.exports.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function R6(e,t){const n=nr(e);de.exports.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function La(e,t){const n=de.exports.useRef(!1),r=de.exports.useRef(!1);de.exports.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),de.exports.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}const iI=de.exports.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),zy=de.exports.createContext({});function O6(){return de.exports.useContext(zy).visualElement}const mu=de.exports.createContext(null),Pl=typeof document<"u",Ed=Pl?de.exports.useLayoutEffect:de.exports.useEffect,hN=de.exports.createContext({strict:!1});function M6(e,t,n,r){const i=O6(),o=de.exports.useContext(hN),a=de.exports.useContext(mu),c=de.exports.useContext(iI).reducedMotion,u=de.exports.useRef();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const d=u.current;return Ed(()=>{d&&d.render()}),Ed(()=>{d&&d.animationState&&d.animationState.animateChanges()}),Ed(()=>()=>d&&d.notify("Unmount"),[]),d}function dc(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function L6(e,t,n){return de.exports.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):dc(n)&&(n.current=r))},[t])}function ph(e){return typeof e=="string"||Array.isArray(e)}function Vy(e){return typeof e=="object"&&typeof e.start=="function"}const D6=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function jy(e){return Vy(e.animate)||D6.some(t=>ph(e[t]))}function fN(e){return Boolean(jy(e)||e.variants)}function $6(e,t){if(jy(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ph(n)?n:void 0,animate:ph(r)?r:void 0}}return e.inherit!==!1?t:{}}function N6(e){const{initial:t,animate:n}=$6(e,de.exports.useContext(zy));return de.exports.useMemo(()=>({initial:t,animate:n}),[dT(t),dT(n)])}function dT(e){return Array.isArray(e)?e.join(" "):e}const ca=e=>({isEnabled:t=>e.some(n=>!!t[n])}),gh={measureLayout:ca(["layout","layoutId","drag"]),animation:ca(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:ca(["exit"]),drag:ca(["drag","dragControls"]),focus:ca(["whileFocus"]),hover:ca(["whileHover","onHoverStart","onHoverEnd"]),tap:ca(["whileTap","onTap","onTapStart","onTapCancel"]),pan:ca(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:ca(["whileInView","onViewportEnter","onViewportLeave"])};function F6(e){for(const t in e)t==="projectionNodeConstructor"?gh.projectionNodeConstructor=e[t]:gh[t].Component=e[t]}function Gy(e){const t=de.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}const Td={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let B6=1;function W6(){return Gy(()=>{if(Td.hasEverUpdated)return B6++})}const oI=de.exports.createContext({});class H6 extends vt.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pN=de.exports.createContext({}),z6=Symbol.for("motionComponentSymbol");function V6({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&F6(e);function a(u,d){const p={...de.exports.useContext(iI),...u,layoutId:j6(u)},{isStatic:I}=p;let P=null;const F=N6(u),B=I?void 0:W6(),N=i(u,I);if(!I&&Pl){F.visualElement=M6(o,N,p,t);const D=de.exports.useContext(hN).strict,T=de.exports.useContext(pN);F.visualElement&&(P=F.visualElement.loadFeatures(p,D,e,B,n||gh.projectionNodeConstructor,T))}return It(H6,{visualElement:F.visualElement,props:p,children:[P,Ae(zy.Provider,{value:F,children:r(o,u,B,L6(N,F.visualElement,d),N,I,F.visualElement)})]})}const c=de.exports.forwardRef(a);return c[z6]=o,c}function j6({layoutId:e}){const t=de.exports.useContext(oI).id;return t&&e!==void 0?t+"-"+e:e}function G6(e){function t(r,i={}){return V6(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Y6=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function aI(e){return typeof e!="string"||e.includes("-")?!1:!!(Y6.indexOf(e)>-1||/[A-Z]/.test(e))}const am={};function Z6(e){Object.assign(am,e)}const sm=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rl=new Set(sm);function gN(e,{layout:t,layoutId:n}){return Rl.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!am[e]||e==="opacity")}const ta=e=>!!(e!=null&&e.getVelocity),X6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},U6=(e,t)=>sm.indexOf(e)-sm.indexOf(t);function K6({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(U6);for(const c of t)a+=`${X6[c]||c}(${e[c]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mN(e){return e.startsWith("--")}const J6=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Jc=(e,t,n)=>Math.min(Math.max(n,e),t),Ol={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Pd={...Ol,transform:e=>Jc(0,1,e)},jf={...Ol,default:1},Rd=e=>Math.round(e*1e5)/1e5,mh=/(-)?([\d]*\.?[\d])+/g,iC=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Q6=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function tf(e){return typeof e=="string"}const nf=e=>({test:t=>tf(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ka=nf("deg"),Jo=nf("%"),Yt=nf("px"),q6=nf("vh"),e7=nf("vw"),hT={...Jo,parse:e=>Jo.parse(e)/100,transform:e=>Jo.transform(e*100)},fT={...Ol,transform:Math.round},vN={borderWidth:Yt,borderTopWidth:Yt,borderRightWidth:Yt,borderBottomWidth:Yt,borderLeftWidth:Yt,borderRadius:Yt,radius:Yt,borderTopLeftRadius:Yt,borderTopRightRadius:Yt,borderBottomRightRadius:Yt,borderBottomLeftRadius:Yt,width:Yt,maxWidth:Yt,height:Yt,maxHeight:Yt,size:Yt,top:Yt,right:Yt,bottom:Yt,left:Yt,padding:Yt,paddingTop:Yt,paddingRight:Yt,paddingBottom:Yt,paddingLeft:Yt,margin:Yt,marginTop:Yt,marginRight:Yt,marginBottom:Yt,marginLeft:Yt,rotate:Ka,rotateX:Ka,rotateY:Ka,rotateZ:Ka,scale:jf,scaleX:jf,scaleY:jf,scaleZ:jf,skew:Ka,skewX:Ka,skewY:Ka,distance:Yt,translateX:Yt,translateY:Yt,translateZ:Yt,x:Yt,y:Yt,z:Yt,perspective:Yt,transformPerspective:Yt,opacity:Pd,originX:hT,originY:hT,originZ:Yt,zIndex:fT,fillOpacity:Pd,strokeOpacity:Pd,numOctaves:fT};function sI(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:c,transformOrigin:u}=e;c.length=0;let d=!1,p=!1,I=!0;for(const P in t){const F=t[P];if(mN(P)){o[P]=F;continue}const B=vN[P],N=J6(F,B);if(Rl.has(P)){if(d=!0,a[P]=N,c.push(P),!I)continue;F!==(B.default||0)&&(I=!1)}else P.startsWith("origin")?(p=!0,u[P]=N):i[P]=N}if(t.transform||(d||r?i.transform=K6(e,n,I,r):i.transform&&(i.transform="none")),p){const{originX:P="50%",originY:F="50%",originZ:B=0}=u;i.transformOrigin=`${P} ${F} ${B}`}}const lI=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function yN(e,t,n){for(const r in t)!ta(t[r])&&!gN(r,n)&&(e[r]=t[r])}function t7({transformTemplate:e},t,n){return de.exports.useMemo(()=>{const r=lI();return sI(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function n7(e,t,n){const r=e.style||{},i={};return yN(i,r,e),Object.assign(i,t7(e,t,n)),e.transformValues?e.transformValues(i):i}function r7(e,t,n){const r={},i=n7(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const i7=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],o7=["whileTap","onTap","onTapStart","onTapCancel"],a7=["onPan","onPanStart","onPanSessionStart","onPanEnd"],s7=["whileInView","onViewportEnter","onViewportLeave","viewport"],l7=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...s7,...o7,...i7,...a7]);function lm(e){return l7.has(e)}let bN=e=>!lm(e);function c7(e){!e||(bN=t=>t.startsWith("on")?!lm(t):e(t))}try{c7(require("@emotion/is-prop-valid").default)}catch{}function u7(e,t,n){const r={};for(const i in e)(bN(i)||n===!0&&lm(i)||!t&&!lm(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function pT(e,t,n){return typeof e=="string"?e:Yt.transform(t+n*e)}function d7(e,t,n){const r=pT(t,e.x,e.width),i=pT(n,e.y,e.height);return`${r} ${i}`}const h7={offset:"stroke-dashoffset",array:"stroke-dasharray"},f7={offset:"strokeDashoffset",array:"strokeDasharray"};function p7(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?h7:f7;e[o.offset]=Yt.transform(-r);const a=Yt.transform(t),c=Yt.transform(n);e[o.array]=`${a} ${c}`}function cI(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:c=0,...u},d,p,I){if(sI(e,u,d,I),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:P,style:F,dimensions:B}=e;P.transform&&(B&&(F.transform=P.transform),delete P.transform),B&&(r!==void 0||i!==void 0||F.transform)&&(F.transformOrigin=d7(B,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(P.x=t),n!==void 0&&(P.y=n),o!==void 0&&p7(P,o,a,c,!1)}const xN=()=>({...lI(),attrs:{}}),uI=e=>typeof e=="string"&&e.toLowerCase()==="svg";function g7(e,t,n,r){const i=de.exports.useMemo(()=>{const o=xN();return cI(o,t,{enableHardwareAcceleration:!1},uI(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};yN(o,e.style,e),i.style={...o,...i.style}}return i}function m7(e=!1){return(n,r,i,o,{latestValues:a},c)=>{const d=(aI(n)?g7:r7)(r,a,c,n),I={...u7(r,typeof n=="string",e),...d,ref:o};return i&&(I["data-projection-id"]=i),de.exports.createElement(n,I)}}const dI=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function wN(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const CN=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function SN(e,t,n,r){wN(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(CN.has(i)?i:dI(i),t.attrs[i])}function hI(e){const{style:t}=e,n={};for(const r in t)(ta(t[r])||gN(r,e))&&(n[r]=t[r]);return n}function AN(e){const t=hI(e);for(const n in e)if(ta(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function fI(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const cm=e=>Array.isArray(e),v7=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),y7=e=>cm(e)?e[e.length-1]||0:e;function Tp(e){const t=ta(e)?e.get():e;return v7(t)?t.toValue():t}function b7({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:x7(r,i,o,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const IN=e=>(t,n)=>{const r=de.exports.useContext(zy),i=de.exports.useContext(mu),o=()=>b7(e,t,r,i);return n?o():Gy(o)};function x7(e,t,n,r){const i={},o=r(e);for(const P in o)i[P]=Tp(o[P]);let{initial:a,animate:c}=e;const u=jy(e),d=fN(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const I=p?c:a;return I&&typeof I!="boolean"&&!Vy(I)&&(Array.isArray(I)?I:[I]).forEach(F=>{const B=fI(e,F);if(!B)return;const{transitionEnd:N,transition:D,...T}=B;for(const M in T){let O=T[M];if(Array.isArray(O)){const L=p?O.length-1:0;O=O[L]}O!==null&&(i[M]=O)}for(const M in N)i[M]=N[M]}),i}const w7={useVisualState:IN({scrapeMotionValuesFromProps:AN,createRenderState:xN,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}cI(n,r,{enableHardwareAcceleration:!1},uI(t.tagName),e.transformTemplate),SN(t,n)}})},C7={useVisualState:IN({scrapeMotionValuesFromProps:hI,createRenderState:lI})};function S7(e,{forwardMotionProps:t=!1},n,r,i){return{...aI(e)?w7:C7,preloadedFeatures:n,useRender:m7(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var Mn;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Mn||(Mn={}));function Yy(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function oC(e,t,n,r){de.exports.useEffect(()=>{const i=e.current;if(n&&i)return Yy(i,t,n,r)},[e,t,n,r])}function A7({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(Mn.Focus,!0)},i=()=>{n&&n.setActive(Mn.Focus,!1)};oC(t,"focus",e?r:void 0),oC(t,"blur",e?i:void 0)}function kN(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function _N(e){return!!e.touches}function I7(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const k7={pageX:0,pageY:0};function _7(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||k7;return{x:r[t+"X"],y:r[t+"Y"]}}function E7(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function pI(e,t="page"){return{point:_N(e)?_7(e,t):E7(e,t)}}const EN=(e,t=!1)=>{const n=r=>e(r,pI(r));return t?I7(n):n},T7=()=>Pl&&window.onpointerdown===null,P7=()=>Pl&&window.ontouchstart===null,R7=()=>Pl&&window.onmousedown===null,O7={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},M7={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function TN(e){return T7()?e:P7()?M7[e]:R7()?O7[e]:e}function Mc(e,t,n,r){return Yy(e,TN(t),EN(n,t==="pointerdown"),r)}function um(e,t,n,r){return oC(e,TN(t),n&&EN(n,t==="pointerdown"),r)}function PN(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const gT=PN("dragHorizontal"),mT=PN("dragVertical");function RN(e){let t=!1;if(e==="y")t=mT();else if(e==="x")t=gT();else{const n=gT(),r=mT();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function ON(){const e=RN(!0);return e?(e(),!1):!0}function vT(e,t,n){return(r,i)=>{!kN(r)||ON()||(e.animationState&&e.animationState.setActive(Mn.Hover,t),n&&n(r,i))}}function L7({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){um(r,"pointerenter",e||n?vT(r,!0,e):void 0,{passive:!e}),um(r,"pointerleave",t||n?vT(r,!1,t):void 0,{passive:!t})}const MN=(e,t)=>t?e===t?!0:MN(e,t.parentElement):!1;function gI(e){return de.exports.useEffect(()=>()=>e(),[])}const D7=(e,t)=>n=>t(e(n)),Zy=(...e)=>e.reduce(D7);function $7({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=de.exports.useRef(!1),c=de.exports.useRef(null),u={passive:!(t||e||n||F)};function d(){c.current&&c.current(),c.current=null}function p(){return d(),a.current=!1,i.animationState&&i.animationState.setActive(Mn.Tap,!1),!ON()}function I(B,N){!p()||(MN(i.current,B.target)?e&&e(B,N):n&&n(B,N))}function P(B,N){!p()||n&&n(B,N)}function F(B,N){d(),!a.current&&(a.current=!0,c.current=Zy(Mc(window,"pointerup",I,u),Mc(window,"pointercancel",P,u)),i.animationState&&i.animationState.setActive(Mn.Tap,!0),t&&t(B,N))}um(i,"pointerdown",o?F:void 0,u),gI(d)}const N7="production",LN=typeof process>"u"||process.env===void 0?N7:"production",yT=new Set;function DN(e,t,n){e||yT.has(t)||(console.warn(t),n&&console.warn(n),yT.add(t))}const aC=new WeakMap,L0=new WeakMap,F7=e=>{const t=aC.get(e.target);t&&t(e)},B7=e=>{e.forEach(F7)};function W7({root:e,...t}){const n=e||document;L0.has(n)||L0.set(n,{});const r=L0.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(B7,{root:e,...t})),r[i]}function H7(e,t,n){const r=W7(t);return aC.set(e,n),r.observe(e),()=>{aC.delete(e),r.unobserve(e)}}function z7({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=de.exports.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?G7:j7)(a,o.current,e,i)}const V7={some:0,all:1};function j7(e,t,n,{root:r,margin:i,amount:o="some",once:a}){de.exports.useEffect(()=>{if(!e||!n.current)return;const c={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:V7[o]},u=d=>{const{isIntersecting:p}=d;if(t.isInView===p||(t.isInView=p,a&&!p&&t.hasEnteredView))return;p&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(Mn.InView,p);const I=n.getProps(),P=p?I.onViewportEnter:I.onViewportLeave;P&&P(d)};return H7(n.current,c,u)},[e,r,i,o])}function G7(e,t,n,{fallback:r=!0}){de.exports.useEffect(()=>{!e||!r||(LN!=="production"&&DN(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(Mn.InView,!0)}))},[e])}const ds=e=>t=>(e(t),null),Y7={inView:ds(z7),tap:ds($7),focus:ds(A7),hover:ds(L7)};function mI(){const e=de.exports.useContext(mu);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=de.exports.useId();return de.exports.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Z7(){return X7(de.exports.useContext(mu))}function X7(e){return e===null?!0:e.isPresent}function $N(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r /^\-?\d*\.?\d+$/.test(e),K7=e=>/^0[^.\s]+$/.test(e),Aa={delta:0,timestamp:0},NN=1/60*1e3,J7=typeof performance<"u"?()=>performance.now():()=>Date.now(),FN=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(J7()),NN);function Q7(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,c={schedule:(u,d=!1,p=!1)=>{const I=p&&i,P=I?t:n;return d&&a.add(u),P.indexOf(u)===-1&&(P.push(u),I&&i&&(r=t.length)),u},cancel:u=>{const d=n.indexOf(u);d!==-1&&n.splice(d,1),a.delete(u)},process:u=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let d=0;d (e[t]=Q7(()=>vh=!0),e),{}),xi=rf.reduce((e,t)=>{const n=Xy[t];return e[t]=(r,i=!1,o=!1)=>(vh||t8(),n.schedule(r,i,o)),e},{}),Is=rf.reduce((e,t)=>(e[t]=Xy[t].cancel,e),{}),D0=rf.reduce((e,t)=>(e[t]=()=>Xy[t].process(Aa),e),{}),e8=e=>Xy[e].process(Aa),BN=e=>{vh=!1,Aa.delta=sC?NN:Math.max(Math.min(e-Aa.timestamp,q7),1),Aa.timestamp=e,lC=!0,rf.forEach(e8),lC=!1,vh&&(sC=!1,FN(BN))},t8=()=>{vh=!0,sC=!0,lC||FN(BN)};function vI(e,t){e.indexOf(t)===-1&&e.push(t)}function yI(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class bI{constructor(){this.subscriptions=[]}add(t){return vI(this.subscriptions,t),()=>yI(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class r8{constructor(t,n={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:a}=Aa;this.lastUpdated!==a&&(this.timeDelta=o,this.lastUpdated=a,xi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>xi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=n8(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){return this.events[t]||(this.events[t]=new bI),this.events[t].add(n)}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?xI(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function Qc(e,t){return new r8(e,t)}const wI=(e,t)=>n=>Boolean(tf(n)&&Q6.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),WN=(e,t,n)=>r=>{if(!tf(r))return r;const[i,o,a,c]=r.match(mh);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},i8=e=>Jc(0,255,e),$0={...Ol,transform:e=>Math.round(i8(e))},qs={test:wI("rgb","red"),parse:WN("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+$0.transform(e)+", "+$0.transform(t)+", "+$0.transform(n)+", "+Rd(Pd.transform(r))+")"};function o8(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const cC={test:wI("#"),parse:o8,transform:qs.transform},hc={test:wI("hsl","hue"),parse:WN("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jo.transform(Rd(t))+", "+Jo.transform(Rd(n))+", "+Rd(Pd.transform(r))+")"},ni={test:e=>qs.test(e)||cC.test(e)||hc.test(e),parse:e=>qs.test(e)?qs.parse(e):hc.test(e)?hc.parse(e):cC.parse(e),transform:e=>tf(e)?e:e.hasOwnProperty("red")?qs.transform(e):hc.transform(e)},HN="${c}",zN="${n}";function a8(e){var t,n;return isNaN(e)&&tf(e)&&(((t=e.match(mh))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(iC))===null||n===void 0?void 0:n.length)||0)>0}function dm(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0,r=0;const i=e.match(iC);i&&(n=i.length,e=e.replace(iC,HN),t.push(...i.map(ni.parse)));const o=e.match(mh);return o&&(r=o.length,e=e.replace(mh,zN),t.push(...o.map(Ol.parse))),{values:t,numColors:n,numNumbers:r,tokenised:e}}function VN(e){return dm(e).values}function jN(e){const{values:t,numColors:n,tokenised:r}=dm(e),i=t.length;return o=>{let a=r;for(let c=0;ctypeof e=="number"?0:e;function l8(e){const t=VN(e);return jN(e)(t.map(s8))}const ks={test:a8,parse:VN,createTransformer:jN,getAnimatableNone:l8},c8=new Set(["brightness","contrast","saturate","opacity"]);function u8(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(mh)||[];if(!r)return e;const i=n.replace(r,"");let o=c8.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const d8=/([a-z-]*)\(.*?\)/g,uC={...ks,getAnimatableNone:e=>{const t=e.match(d8);return t?t.map(u8).join(" "):e}},h8={...vN,color:ni,backgroundColor:ni,outlineColor:ni,fill:ni,stroke:ni,borderColor:ni,borderTopColor:ni,borderRightColor:ni,borderBottomColor:ni,borderLeftColor:ni,filter:uC,WebkitFilter:uC},CI=e=>h8[e];function SI(e,t){var n;let r=CI(e);return r!==uC&&(r=ks),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const GN=e=>t=>t.test(e),f8={test:e=>e==="auto",parse:e=>e},YN=[Ol,Yt,Jo,Ka,e7,q6,f8],Wu=e=>YN.find(GN(e)),p8=[...YN,ni,ks],g8=e=>p8.find(GN(e));function m8(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function v8(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Uy(e,t,n){const r=e.getProps();return fI(r,t,n!==void 0?n:r.custom,m8(e),v8(e))}function y8(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Qc(n))}function b8(e,t){const n=Uy(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const c=y7(o[a]);y8(e,a,c)}}function x8(e,t,n){var r,i;const o=Object.keys(t).filter(c=>!e.hasValue(c)),a=o.length;if(!!a)for(let c=0;c`${e}: ${t}`;function A8(e,t){const{MotionAppearAnimations:n}=window,r=S8(e,Rl.has(t)?"transform":t),i=n&&n.get(r);return i?(xi.render(()=>{try{i.cancel(),n.delete(r)}catch{}}),i.currentTime||0):0}const I8="framerAppearId",k8="data-"+dI(I8);var _8=function(){},fm=function(){};const Pp=e=>e*1e3,E8={current:!1},AI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,II=e=>t=>1-e(1-t),kI=e=>e*e,T8=II(kI),_I=AI(kI),rr=(e,t,n)=>-n*e+n*t+e;function N0(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function P8({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;i=N0(u,c,e+1/3),o=N0(u,c,e),a=N0(u,c,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const F0=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},R8=[cC,qs,hc],O8=e=>R8.find(t=>t.test(e));function bT(e){const t=O8(e);let n=t.parse(e);return t===hc&&(n=P8(n)),n}const ZN=(e,t)=>{const n=bT(e),r=bT(t),i={...n};return o=>(i.red=F0(n.red,r.red,o),i.green=F0(n.green,r.green,o),i.blue=F0(n.blue,r.blue,o),i.alpha=rr(n.alpha,r.alpha,o),qs.transform(i))};function XN(e,t){return typeof e=="number"?n=>rr(e,t,n):ni.test(e)?ZN(e,t):KN(e,t)}const UN=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>XN(o,t[a]));return o=>{for(let a=0;a {const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=XN(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},KN=(e,t)=>{const n=ks.createTransformer(t),r=dm(e),i=dm(t);return r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Zy(UN(r.values,i.values),n):a=>`${a>0?t:e}`},pm=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},xT=(e,t)=>n=>rr(e,t,n);function L8(e){return typeof e=="number"?xT:typeof e=="string"?ni.test(e)?ZN:KN:Array.isArray(e)?UN:typeof e=="object"?M8:xT}function D8(e,t,n){const r=[],i=n||L8(e[0]),o=e.length-1;for(let a=0;a e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=D8(t,r,i),c=a.length,u=d=>{let p=0;if(c>1)for(;p u(Jc(e[0],e[o-1],d)):u}const EI=e=>e,QN=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$8=1e-7,N8=12;function F8(e,t,n,r,i){let o,a,c=0;do a=t+(n-t)/2,o=QN(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>$8&&++c F8(o,0,1,e,n);return o=>o===0||o===1?o:QN(i(o),t,r)}const eF=e=>1-Math.sin(Math.acos(e)),TI=II(eF),B8=AI(TI),tF=qN(.33,1.53,.69,.99),PI=II(tF),W8=AI(PI),H8=e=>(e*=2)<1?.5*PI(e):.5*(2-Math.pow(2,-10*(e-1))),z8={linear:EI,easeIn:kI,easeInOut:_I,easeOut:T8,circIn:eF,circInOut:B8,circOut:TI,backIn:PI,backInOut:W8,backOut:tF,anticipate:H8},wT=e=>{if(Array.isArray(e)){fm(e.length===4);const[t,n,r,i]=e;return qN(t,n,r,i)}else if(typeof e=="string")return z8[e];return e},V8=e=>Array.isArray(e)&&typeof e[0]!="number";function j8(e,t){return e.map(()=>t||_I).splice(0,e.length-1)}function G8(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Y8(e,t){return e.map(n=>n*t)}function gm({keyframes:e,ease:t=_I,times:n,duration:r=300}){e=[...e];const i=gm[0],o=V8(t)?t.map(wT):wT(t),a={done:!1,value:i},c=Y8(n&&n.length===gm.length?n:G8(e),r);function u(){return JN(c,e,{ease:Array.isArray(o)?o:j8(e,o)})}let d=u();return{next:p=>(a.value=d(p),a.done=p>=r,a),flipTarget:()=>{e.reverse(),d=u()}}}const B0=.001,Z8=.01,CT=10,X8=.05,U8=1;function K8({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;_8(e<=CT*1e3);let a=1-t;a=Jc(X8,U8,a),e=Jc(Z8,CT,e/1e3),a<1?(i=d=>{const p=d*a,I=p*e,P=p-n,F=dC(d,a),B=Math.exp(-I);return B0-P/F*B},o=d=>{const I=d*a*e,P=I*n+n,F=Math.pow(a,2)*Math.pow(d,2)*e,B=Math.exp(-I),N=dC(Math.pow(d,2),a);return(-i(d)+B0>0?-1:1)*((P-F)*B)/N}):(i=d=>{const p=Math.exp(-d*e),I=(d-n)*e+1;return-B0+p*I},o=d=>{const p=Math.exp(-d*e),I=(n-d)*(e*e);return p*I});const c=5/e,u=Q8(i,o,c);if(e=e*1e3,isNaN(u))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const J8=12;function Q8(e,t,n){let r=n;for(let i=1;i e[n]!==void 0)}function tJ(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ST(e,eJ)&&ST(e,q8)){const n=K8(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}const nJ=5;function nF({keyframes:e,restSpeed:t=2,restDelta:n=.01,...r}){let i=e[0],o=e[e.length-1];const a={done:!1,value:i},{stiffness:c,damping:u,mass:d,velocity:p,duration:I,isResolvedFromDuration:P}=tJ(r);let F=rJ,B=p?-(p/1e3):0;const N=u/(2*Math.sqrt(c*d));function D(){const T=o-i,M=Math.sqrt(c/d)/1e3;if(n===void 0&&(n=Math.min(Math.abs(o-i)/100,.4)),N<1){const O=dC(M,N);F=L=>{const x=Math.exp(-N*M*L);return o-x*((B+N*M*T)/O*Math.sin(O*L)+T*Math.cos(O*L))}}else if(N===1)F=O=>o-Math.exp(-M*O)*(T+(B+M*T)*O);else{const O=M*Math.sqrt(N*N-1);F=L=>{const x=Math.exp(-N*M*L),b=Math.min(O*L,300);return o-x*((B+N*M*T)*Math.sinh(b)+O*T*Math.cosh(b))/O}}}return D(),{next:T=>{const M=F(T);if(P)a.done=T>=I;else{let O=B;if(T!==0)if(N<1){const b=Math.max(0,T-nJ);O=xI(M-F(b),T-b)}else O=0;const L=Math.abs(O)<=t,x=Math.abs(o-M)<=n;a.done=L&&x}return a.value=a.done?o:M,a},flipTarget:()=>{B=-B,[i,o]=[o,i],D()}}}nF.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const rJ=e=>0;function iJ({keyframes:e=[0],velocity:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a=e[0],c={done:!1,value:a};let u=n*t;const d=a+u,p=o===void 0?d:o(d);return p!==d&&(u=p-a),{next:I=>{const P=-u*Math.exp(-I/r);return c.done=!(P>i||P<-i),c.value=c.done?p:p+P,c},flipTarget:()=>{}}}const oJ={decay:iJ,keyframes:gm,tween:gm,spring:nF};function rF(e,t,n=0){return e-t-n}function aJ(e,t=0,n=0,r=!0){return r?rF(t+-e,t,n):t-(e-t)+n}function sJ(e,t,n,r){return r?e>=t+n:e<=-n}const lJ=e=>{const t=({delta:n})=>e(n);return{start:()=>xi.update(t,!0),stop:()=>Is.update(t)}};function mm({duration:e,driver:t=lJ,elapsed:n=0,repeat:r=0,repeatType:i="loop",repeatDelay:o=0,keyframes:a,autoplay:c=!0,onPlay:u,onStop:d,onComplete:p,onRepeat:I,onUpdate:P,type:F="keyframes",...B}){var N,D;let T,M=0,O=e,L,x=!1,b=!0,C;const g=oJ[a.length>2?"keyframes":F],w=a[0],f=a[a.length-1];!((D=(N=g).needsInterpolation)===null||D===void 0)&&D.call(N,w,f)&&(C=JN([0,100],[w,f],{clamp:!1}),a=[0,100]);const m=g({...B,duration:e,keyframes:a});function E(){M++,i==="reverse"?(b=M%2===0,n=aJ(n,O,o,b)):(n=rF(n,O,o),i==="mirror"&&m.flipTarget()),x=!1,I&&I()}function S(){T.stop(),p&&p()}function y($){if(b||($=-$),n+=$,!x){const V=m.next(Math.max(0,n));L=V.value,C&&(L=C(L)),x=b?V.done:n<=0}P&&P(L),x&&(M===0&&(O=O!==void 0?O:n),M {d&&d(),T.stop()},sample:$=>m.next(Math.max(0,$))}}function cJ(e){return!e||Array.isArray(e)||typeof e=="string"&&iF[e]}const sd=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,iF={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sd([0,.65,.55,1]),circOut:sd([.55,0,1,.45]),backIn:sd([.31,.01,.66,-.59]),backOut:sd([.33,1.53,.69,.99])};function uJ(e){if(!!e)return Array.isArray(e)?sd(e):iF[e]}function dJ(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:c,times:u}={}){return e.animate({[t]:n,offset:u},{delay:r,duration:i,easing:uJ(c),fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}const Gf=10;function hJ(e,t,{onUpdate:n,onComplete:r,...i}){let{keyframes:o,duration:a=.3,elapsed:c=0,ease:u}=i;if(i.type==="spring"||!cJ(i.ease)){const p=mm(i);let I={done:!1,value:o[0]};const P=[];let F=0;for(;!I.done;)I=p.sample(F),P.push(I.value),F+=Gf;o=P,a=F-Gf,u="linear"}const d=dJ(e.owner.current,t,o,{...i,delay:-c,duration:a,ease:u});return d.onfinish=()=>{e.set(o[o.length-1]),r&&r()},()=>{const{currentTime:p}=d;if(p){const I=mm(i);e.setWithVelocity(I.sample(p-Gf).value,I.sample(p).value,Gf)}xi.update(()=>d.cancel())}}function oF(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Is.read(r),e(o-t))};return xi.read(r,!0),()=>Is.read(r)}function fJ({keyframes:e,elapsed:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),()=>{});return t?oF(i,-t):i()}function pJ({keyframes:e,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:c=10,restDelta:u=1,modifyTarget:d,driver:p,onUpdate:I,onComplete:P,onStop:F}){const B=e[0];let N;function D(L){return n!==void 0&&L r}function T(L){return n===void 0?r:r===void 0||Math.abs(n-L) {var b;I==null||I(x),(b=L.onUpdate)===null||b===void 0||b.call(L,x)},onComplete:P,onStop:F})}function O(L){M({type:"spring",stiffness:a,damping:c,restDelta:u,...L})}if(D(B))O({velocity:t,keyframes:[B,T(B)]});else{let L=i*t+B;typeof d<"u"&&(L=d(L));const x=T(L),b=x===n?-1:1;let C,g;const w=f=>{C=g,g=f,t=xI(f-C,Aa.delta),(b===1&&f>x||b===-1&&f N==null?void 0:N.stop()}}const Hs=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Yf=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),W0=()=>({type:"keyframes",ease:"linear",duration:.3}),gJ={type:"keyframes",duration:.8},AT={x:Hs,y:Hs,z:Hs,rotate:Hs,rotateX:Hs,rotateY:Hs,rotateZ:Hs,scaleX:Yf,scaleY:Yf,scale:Yf,opacity:W0,backgroundColor:W0,color:W0,default:Yf},mJ=(e,{keyframes:t})=>t.length>2?gJ:(AT[e]||AT.default)(t[1]),hC=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&ks.test(t)&&!t.startsWith("url("));function vJ({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:c,from:u,...d}){return!!Object.keys(d).length}function IT(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function kT(e){return typeof e=="number"?0:SI("",e)}function aF(e,t){return e[t]||e.default||e}function yJ(e,t,n,r){const i=hC(t,n);let o=r.from!==void 0?r.from:e.get();return o==="none"&&i&&typeof n=="string"?o=SI(t,n):IT(o)&&typeof n=="string"?o=kT(n):!Array.isArray(n)&&IT(n)&&typeof o=="string"&&(n=kT(o)),Array.isArray(n)?(n[0]===null&&(n[0]=o),n):[o,n]}const _T={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},H0={},sF={};for(const e in _T)sF[e]=()=>(H0[e]===void 0&&(H0[e]=_T[e]()),H0[e]);const bJ=new Set(["opacity"]),RI=(e,t,n,r={})=>i=>{const o=aF(r,e)||{},a=o.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Pp(a);const u=yJ(t,e,n,o),d=u[0],p=u[u.length-1],I=hC(e,d),P=hC(e,p);let F={keyframes:u,velocity:t.getVelocity(),...o,elapsed:c,onUpdate:T=>{t.set(T),o.onUpdate&&o.onUpdate(T)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!I||!P||E8.current||o.type===!1)return fJ(F);if(o.type==="inertia"){const T=pJ(F);return()=>T.stop()}vJ(o)||(F={...F,...mJ(e,F)}),F.duration&&(F.duration=Pp(F.duration)),F.repeatDelay&&(F.repeatDelay=Pp(F.repeatDelay));const B=t.owner,N=B&&B.current;if(sF.waapi()&&bJ.has(e)&&!F.repeatDelay&&F.repeatType!=="mirror"&&F.damping!==0&&B&&N instanceof HTMLElement&&!B.getProps().onUpdate)return hJ(t,e,F);{const T=mm(F);return()=>T.stop()}};function xJ(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>fC(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=fC(e,t,n);else{const i=typeof t=="function"?Uy(e,t,n.custom):t;r=lF(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function fC(e,t,n={}){var r;const i=Uy(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>lF(e,i,n):()=>Promise.resolve(),c=!((r=e.variantChildren)===null||r===void 0)&&r.size?(d=0)=>{const{delayChildren:p=0,staggerChildren:I,staggerDirection:P}=o;return wJ(e,t,p+d,I,P,n)}:()=>Promise.resolve(),{when:u}=o;if(u){const[d,p]=u==="beforeChildren"?[a,c]:[c,a];return d().then(p)}else return Promise.all([a(),c(n.delay)])}function lF(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:c,...u}=e.makeTargetAnimatable(t);const d=e.getValue("willChange");r&&(a=r);const p=[],I=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const P in u){const F=e.getValue(P),B=u[P];if(!F||B===void 0||I&&SJ(I,P))continue;let N={delay:n,elapsed:0,...a};if(e.shouldReduceMotion&&Rl.has(P)&&(N={...N,type:!1,delay:0}),!F.hasAnimated){const T=e.getProps()[k8];T&&(N.elapsed=A8(T,P))}let D=F.start(RI(P,F,B,N));hm(d)&&(d.add(P),D=D.then(()=>d.remove(P))),p.push(D)}return Promise.all(p).then(()=>{c&&b8(e,c)})}function wJ(e,t,n=0,r=0,i=1,o){const a=[],c=(e.variantChildren.size-1)*r,u=i===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(e.variantChildren).sort(CJ).forEach((d,p)=>{a.push(fC(d,t,{...o,delay:n+u(p)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function CJ(e,t){return e.sortNodePosition(t)}function SJ({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const OI=[Mn.Animate,Mn.InView,Mn.Focus,Mn.Hover,Mn.Tap,Mn.Drag,Mn.Exit],AJ=[...OI].reverse(),IJ=OI.length;function kJ(e){return t=>Promise.all(t.map(({animation:n,options:r})=>xJ(e,n,r)))}function _J(e){let t=kJ(e);const n=TJ();let r=!0;const i=(u,d)=>{const p=Uy(e,d);if(p){const{transition:I,transitionEnd:P,...F}=p;u={...u,...F,...P}}return u};function o(u){t=u(e)}function a(u,d){const p=e.getProps(),I=e.getVariantContext(!0)||{},P=[],F=new Set;let B={},N=1/0;for(let T=0;T N&&x;const f=Array.isArray(L)?L:[L];let m=f.reduce(i,{});b===!1&&(m={});const{prevResolvedValues:E={}}=O,S={...E,...m},y=_=>{w=!0,F.delete(_),O.needsAnimating[_]=!0};for(const _ in S){const $=m[_],V=E[_];B.hasOwnProperty(_)||($!==V?cm($)&&cm(V)?!$N($,V)||g?y(_):O.protectedKeys[_]=!0:$!==void 0?y(_):F.add(_):$!==void 0&&F.has(_)?y(_):O.protectedKeys[_]=!0)}O.prevProp=L,O.prevResolvedValues=m,O.isActive&&(B={...B,...m}),r&&e.blockInitialAnimation&&(w=!1),w&&!C&&P.push(...f.map(_=>({animation:_,options:{type:M,...u}})))}if(F.size){const T={};F.forEach(M=>{const O=e.getBaseTarget(M);O!==void 0&&(T[M]=O)}),P.push({animation:T})}let D=Boolean(P.length);return r&&p.initial===!1&&!e.manuallyAnimateOnMount&&(D=!1),r=!1,D?t(P):Promise.resolve()}function c(u,d,p){var I;if(n[u].isActive===d)return Promise.resolve();(I=e.variantChildren)===null||I===void 0||I.forEach(F=>{var B;return(B=F.animationState)===null||B===void 0?void 0:B.setActive(u,d)}),n[u].isActive=d;const P=a(p,u);for(const F in n)n[F].protectedKeys={};return P}return{animateChanges:a,setActive:c,setAnimateFunction:o,getState:()=>n}}function EJ(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$N(t,e):!1}function zs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function TJ(){return{[Mn.Animate]:zs(!0),[Mn.InView]:zs(),[Mn.Hover]:zs(),[Mn.Tap]:zs(),[Mn.Drag]:zs(),[Mn.Focus]:zs(),[Mn.Exit]:zs()}}const PJ={animation:ds(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=_J(e)),Vy(t)&&de.exports.useEffect(()=>t.subscribe(e),[t])}),exit:ds(e=>{const{custom:t,visualElement:n}=e,[r,i]=mI(),o=de.exports.useContext(mu);de.exports.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(Mn.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})},ET=(e,t)=>Math.abs(e-t);function RJ(e,t){const n=ET(e.x,t.x),r=ET(e.y,t.y);return Math.sqrt(n**2+r**2)}class cF{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=V0(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,I=RJ(d.offset,{x:0,y:0})>=3;if(!p&&!I)return;const{point:P}=d,{timestamp:F}=Aa;this.history.push({...P,timestamp:F});const{onStart:B,onMove:N}=this.handlers;p||(B&&B(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,d)},this.handlePointerMove=(d,p)=>{if(this.lastMoveEvent=d,this.lastMoveEventInfo=z0(p,this.transformPagePoint),kN(d)&&d.buttons===0){this.handlePointerUp(d,p);return}xi.update(this.updatePoint,!0)},this.handlePointerUp=(d,p)=>{this.end();const{onEnd:I,onSessionEnd:P}=this.handlers,F=V0(z0(p,this.transformPagePoint),this.history);this.startEvent&&I&&I(d,F),P&&P(d,F)},_N(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=pI(t),o=z0(i,this.transformPagePoint),{point:a}=o,{timestamp:c}=Aa;this.history=[{...a,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,V0(o,this.history)),this.removeListeners=Zy(Mc(window,"pointermove",this.handlePointerMove),Mc(window,"pointerup",this.handlePointerUp),Mc(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Is.update(this.updatePoint)}}function z0(e,t){return t?{point:t(e.point)}:e}function TT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function V0({point:e},t){return{point:e,delta:TT(e,uF(t)),offset:TT(e,OJ(t)),velocity:MJ(t,.1)}}function OJ(e){return e[0]}function uF(e){return e[e.length-1]}function MJ(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=uF(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Pp(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ni(e){return e.max-e.min}function pC(e,t=0,n=.01){return Math.abs(e-t)<=n}function PT(e,t,n,r=.5){e.origin=r,e.originPoint=rr(t.min,t.max,e.origin),e.scale=Ni(n)/Ni(t),(pC(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=rr(n.min,n.max,e.origin)-e.originPoint,(pC(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Od(e,t,n,r){PT(e.x,t.x,n.x,r==null?void 0:r.originX),PT(e.y,t.y,n.y,r==null?void 0:r.originY)}function RT(e,t,n){e.min=n.min+t.min,e.max=e.min+Ni(t)}function LJ(e,t,n){RT(e.x,t.x,n.x),RT(e.y,t.y,n.y)}function OT(e,t,n){e.min=t.min-n.min,e.max=e.min+Ni(t)}function Md(e,t,n){OT(e.x,t.x,n.x),OT(e.y,t.y,n.y)}function DJ(e,{min:t,max:n},r){return t!==void 0&&e n&&(e=r?rr(n,e,r.max):Math.min(e,n)),e}function MT(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function $J(e,{top:t,left:n,bottom:r,right:i}){return{x:MT(e.x,n,i),y:MT(e.y,t,r)}}function LT(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min r?n=pm(t.min,t.max-r,e.min):r>i&&(n=pm(e.min,e.max-i,t.min)),Jc(0,1,n)}function BJ(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const gC=.35;function WJ(e=gC){return e===!1?e=0:e===!0&&(e=gC),{x:DT(e,"left","right"),y:DT(e,"top","bottom")}}function DT(e,t,n){return{min:$T(e,t),max:$T(e,n)}}function $T(e,t){return typeof e=="number"?e:e[t]||0}const NT=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ld=()=>({x:NT(),y:NT()}),FT=()=>({min:0,max:0}),xr=()=>({x:FT(),y:FT()});function Lo(e){return[e("x"),e("y")]}function dF({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function HJ({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function zJ(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function j0(e){return e===void 0||e===1}function mC({scale:e,scaleX:t,scaleY:n}){return!j0(e)||!j0(t)||!j0(n)}function Gs(e){return mC(e)||hF(e)||e.z||e.rotate||e.rotateX||e.rotateY}function hF(e){return BT(e.x)||BT(e.y)}function BT(e){return e&&e!=="0%"}function vm(e,t,n){const r=e-n,i=t*r;return n+i}function WT(e,t,n,r,i){return i!==void 0&&(e=vm(e,i,r)),vm(e,n,r)+t}function vC(e,t=0,n=1,r,i){e.min=WT(e.min,t,n,r,i),e.max=WT(e.max,t,n,r,i)}function fF(e,{x:t,y:n}){vC(e.x,t.translate,t.scale,t.originPoint),vC(e.y,n.translate,n.scale,n.originPoint)}function VJ(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let c,u;for(let d=0;d1.0000000000001||e<.999999999999?e:1}function ts(e,t){e.min=e.min+t,e.max=e.max+t}function zT(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,a=rr(e.min,e.max,o);vC(e,t[n],t[r],a,t.scale)}const jJ=["x","scaleX","originX"],GJ=["y","scaleY","originY"];function fc(e,t){zT(e.x,t,jJ),zT(e.y,t,GJ)}function pF(e,t){return dF(zJ(e.getBoundingClientRect(),t))}function YJ(e,t,n){const r=pF(e,n),{scroll:i}=t;return i&&(ts(r.x,i.offset.x),ts(r.y,i.offset.y)),r}const ZJ=new WeakMap;class XJ{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xr(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){if(this.visualElement.isPresent===!1)return;const r=c=>{this.stopAnimation(),n&&this.snapToCursor(pI(c,"page").point)},i=(c,u)=>{var d;const{drag:p,dragPropagation:I,onDragStart:P}=this.getProps();p&&!I&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=RN(p),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lo(F=>{var B,N;let D=this.getAxisMotionValue(F).get()||0;if(Jo.test(D)){const T=(N=(B=this.visualElement.projection)===null||B===void 0?void 0:B.layout)===null||N===void 0?void 0:N.layoutBox[F];T&&(D=Ni(T)*(parseFloat(D)/100))}this.originPoint[F]=D}),P==null||P(c,u),(d=this.visualElement.animationState)===null||d===void 0||d.setActive(Mn.Drag,!0))},o=(c,u)=>{const{dragPropagation:d,dragDirectionLock:p,onDirectionLock:I,onDrag:P}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:F}=u;if(p&&this.currentDirection===null){this.currentDirection=UJ(F),this.currentDirection!==null&&(I==null||I(this.currentDirection));return}this.updateAxis("x",u.point,F),this.updateAxis("y",u.point,F),this.visualElement.render(),P==null||P(c,u)},a=(c,u)=>this.stop(c,u);this.panSession=new cF(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(Mn.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Zf(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=DJ(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&dc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=$J(r.layoutBox,t):this.constraints=!1,this.elastic=WJ(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Lo(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=BJ(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!dc(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=YJ(r,i.root,this.visualElement.getTransformPagePoint());let a=NJ(i.layout.layoutBox,o);if(n){const c=n(HJ(a));this.hasMutatedConstraints=!!c,c&&(a=dF(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=Lo(p=>{if(!Zf(p,n,this.currentDirection))return;let I=(u==null?void 0:u[p])||{};a&&(I={min:0,max:0});const P=i?200:1e6,F=i?40:1e7,B={type:"inertia",velocity:r?t[p]:0,bounceStiffness:P,bounceDamping:F,timeConstant:750,restDelta:1,restSpeed:10,...o,...I};return this.startAxisValueAnimation(p,B)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(RI(t,r,0,n))}stopAnimation(){Lo(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n;const r="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(t,((n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])||0)}snapToCursor(t){Lo(n=>{const{drag:r}=this.getProps();if(!Zf(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:c}=i.layout.layoutBox[n];o.set(t[n]-rr(a,c,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!dc(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Lo(c=>{const u=this.getAxisMotionValue(c);if(u){const d=u.get();o[c]=FJ({min:d,max:d},this.constraints[c])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Lo(c=>{if(!Zf(c,n,null))return;const u=this.getAxisMotionValue(c),{min:d,max:p}=this.constraints[c];u.set(rr(d,p,o[c]))})}addListeners(){var t;if(!this.visualElement.current)return;ZJ.set(this.visualElement,this);const n=this.visualElement.current,r=Mc(n,"pointerdown",d=>{const{drag:p,dragListener:I=!0}=this.getProps();p&&I&&this.start(d)}),i=()=>{const{dragConstraints:d}=this.getProps();dc(d)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const c=Yy(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p})=>{this.isDragging&&p&&(Lo(I=>{const P=this.getAxisMotionValue(I);!P||(this.originPoint[I]+=d[I].translate,P.set(P.get()+d[I].translate))}),this.visualElement.render())});return()=>{c(),r(),a(),u==null||u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=gC,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:c}}}function Zf(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function UJ(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function KJ(e){const{dragControls:t,visualElement:n}=e,r=Gy(()=>new XJ(n));de.exports.useEffect(()=>t&&t.subscribe(r),[r,t]),de.exports.useEffect(()=>r.addListeners(),[r])}function JJ({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=de.exports.useRef(null),{transformPagePoint:c}=de.exports.useContext(iI),u={onSessionStart:r,onStart:t,onMove:e,onEnd:(p,I)=>{a.current=null,n&&n(p,I)}};de.exports.useEffect(()=>{a.current!==null&&a.current.updateHandlers(u)});function d(p){a.current=new cF(p,u,{transformPagePoint:c})}um(i,"pointerdown",o&&d),gI(()=>a.current&&a.current.end())}const QJ={pan:ds(JJ),drag:ds(KJ)};function yC(e){return typeof e=="string"&&e.startsWith("var(--")}const gF=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function qJ(e){const t=gF.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function bC(e,t,n=1){const[r,i]=qJ(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():yC(i)?bC(i,t,n+1):i}function eQ(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!yC(o))return;const a=bC(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!yC(o))continue;const a=bC(o,r);!a||(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const tQ=new Set(["width","height","top","left","right","bottom","x","y"]),mF=e=>tQ.has(e),nQ=e=>Object.keys(e).some(mF),vF=(e,t)=>{e.set(t,!1),e.set(t)},VT=e=>e===Ol||e===Yt;var jT;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(jT||(jT={}));const GT=(e,t)=>parseFloat(e.split(", ")[t]),YT=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return GT(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?GT(o[1],e):0}},rQ=new Set(["x","y","z"]),iQ=sm.filter(e=>!rQ.has(e));function oQ(e){const t=[];return iQ.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZT={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:YT(4,13),y:YT(5,14)},aQ=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,c={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(d=>{c[d]=ZT[d](r,o)}),t.render();const u=t.measureViewportBox();return n.forEach(d=>{const p=t.getValue(d);vF(p,c[d]),e[d]=ZT[d](u,o)}),e},sQ=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(mF);let o=[],a=!1;const c=[];if(i.forEach(u=>{const d=e.getValue(u);if(!e.hasValue(u))return;let p=n[u],I=Wu(p);const P=t[u];let F;if(cm(P)){const B=P.length,N=P[0]===null?1:0;p=P[N],I=Wu(p);for(let D=N;D=0?window.pageYOffset:null,d=aQ(t,e,c);return o.length&&o.forEach(([p,I])=>{e.getValue(p).set(I)}),e.render(),Pl&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function lQ(e,t,n,r){return nQ(t)?sQ(e,t,n,r):{target:t,transitionEnd:r}}const cQ=(e,t,n,r)=>{const i=eQ(e,t,r);return t=i.target,r=i.transitionEnd,lQ(e,t,n,r)},xC={current:null},yF={current:!1};function uQ(){if(yF.current=!0,!!Pl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xC.current=e.matches;e.addListener(t),t()}else xC.current=!1}function dQ(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ta(o))e.addValue(i,o),hm(r)&&r.add(i);else if(ta(a))e.addValue(i,Qc(o,{owner:e})),hm(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const c=e.getValue(i);!c.hasAnimated&&c.set(o)}else{const c=e.getStaticValue(i);e.addValue(i,Qc(c!==void 0?c:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const bF=Object.keys(gh),hQ=bF.length,XT=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class fQ{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{!this.current||(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>xi.render(this.render,!1,!0);const{latestValues:a,renderState:c}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=c,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=jy(n),this.isVariantNode=fN(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(n);for(const p in d){const I=d[p];a[p]!==void 0&&ta(I)&&(I.set(a[p],!1),hm(u)&&u.add(p))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),yF.current||uQ(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:xC.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Is.update(this.notifyUpdate),Is.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=Rl.has(t),i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&xi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const c=[];for(let u=0;u this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:a,layoutScroll:P})}return c}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;n r.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Qc(n,{owner:this}),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=fI(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ta(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new bI),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const xF=["initial",...OI],pQ=xF.length;class wF extends fQ{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=C8(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){x8(this,r,a);const c=cQ(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function gQ(e){return window.getComputedStyle(e)}class mQ extends wF{readValueFromInstance(t,n){if(Rl.has(n)){const r=CI(n);return r&&r.default||0}else{const r=gQ(t),i=(mN(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return pF(t,n)}build(t,n,r,i){sI(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return hI(t)}renderInstance(t,n,r,i){wN(t,n,r,i)}}class vQ extends wF{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return Rl.has(n)?((r=CI(n))===null||r===void 0?void 0:r.default)||0:(n=CN.has(n)?n:dI(n),t.getAttribute(n))}measureInstanceViewportBox(){return xr()}scrapeMotionValuesFromProps(t){return AN(t)}build(t,n,r,i){cI(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){SN(t,n,r,i)}mount(t){this.isSVGTag=uI(t.tagName),super.mount(t)}}const yQ=(e,t)=>aI(e)?new vQ(t,{enableHardwareAcceleration:!1}):new mQ(t,{enableHardwareAcceleration:!0});function UT(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Hu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Yt.test(e))e=parseFloat(e);else return e;const n=UT(e,t.target.x),r=UT(e,t.target.y);return`${n}% ${r}%`}},KT="_$css",bQ={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(gF,F=>(o.push(F),KT)));const a=ks.parse(e);if(a.length>5)return r;const c=ks.createTransformer(e),u=typeof a[0]!="number"?1:0,d=n.x.scale*t.x,p=n.y.scale*t.y;a[0+u]/=d,a[1+u]/=p;const I=rr(d,p,.5);typeof a[2+u]=="number"&&(a[2+u]/=I),typeof a[3+u]=="number"&&(a[3+u]/=I);let P=c(a);if(i){let F=0;P=P.replace(KT,()=>{const B=o[F];return F++,B})}return P}};class xQ extends vt.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Z6(CQ),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Td.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||xi.postRender(()=>{var c;!((c=a.getStack())===null||c===void 0)&&c.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function wQ(e){const[t,n]=mI(),r=de.exports.useContext(oI);return Ae(xQ,{...e,layoutGroup:r,switchLayoutGroup:de.exports.useContext(pN),isPresent:t,safeToRemove:n})}const CQ={borderRadius:{...Hu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Hu,borderTopRightRadius:Hu,borderBottomLeftRadius:Hu,borderBottomRightRadius:Hu,boxShadow:bQ},SQ={measureLayout:wQ};function AQ(e,t,n={}){const r=ta(e)?e:Qc(e);return r.start(RI("",r,t,n)),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const CF=["TopLeft","TopRight","BottomLeft","BottomRight"],IQ=CF.length,JT=e=>typeof e=="string"?parseFloat(e):e,QT=e=>typeof e=="number"||Yt.test(e);function kQ(e,t,n,r,i,o){i?(e.opacity=rr(0,n.opacity!==void 0?n.opacity:1,_Q(r)),e.opacityExit=rr(t.opacity!==void 0?t.opacity:1,0,EQ(r))):o&&(e.opacity=rr(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a r t?1:n(pm(e,t,r))}function eP(e,t){e.min=t.min,e.max=t.max}function ho(e,t){eP(e.x,t.x),eP(e.y,t.y)}function tP(e,t,n,r,i){return e-=t,e=vm(e,1/n,r),i!==void 0&&(e=vm(e,1/i,r)),e}function TQ(e,t=0,n=1,r=.5,i,o=e,a=e){if(Jo.test(t)&&(t=parseFloat(t),t=rr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=rr(o.min,o.max,r);e===o&&(c-=t),e.min=tP(e.min,t,n,c,i),e.max=tP(e.max,t,n,c,i)}function nP(e,t,[n,r,i],o,a){TQ(e,t[n],t[r],t[i],t.scale,o,a)}const PQ=["x","scaleX","originX"],RQ=["y","scaleY","originY"];function rP(e,t,n,r){nP(e.x,t,PQ,n==null?void 0:n.x,r==null?void 0:r.x),nP(e.y,t,RQ,n==null?void 0:n.y,r==null?void 0:r.y)}function iP(e){return e.translate===0&&e.scale===1}function AF(e){return iP(e.x)&&iP(e.y)}function IF(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function oP(e){return Ni(e.x)/Ni(e.y)}class OQ{constructor(){this.members=[]}add(t){vI(this.members,t),t.scheduleRender()}remove(t){if(yI(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function aP(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:u,rotateX:d,rotateY:p}=n;u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),p&&(r+=`rotateY(${p}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const MQ=(e,t)=>e.depth-t.depth;class LQ{constructor(){this.children=[],this.isDirty=!1}add(t){vI(this.children,t),this.isDirty=!0}remove(t){yI(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(MQ),this.isDirty=!1,this.children.forEach(t)}}const sP=["","X","Y","Z"],lP=1e3;let DQ=0;function kF({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,c={},u=t==null?void 0:t()){this.id=DQ++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(FQ),this.nodes.forEach(HQ),this.nodes.forEach(zQ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=c,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let d=0;d this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,P&&P(),P=oF(F,250),Td.hasAnimatedSinceResize&&(Td.hasAnimatedSinceResize=!1,this.nodes.forEach(uP))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&I&&(d||p)&&this.addEventListener("didUpdate",({delta:P,hasLayoutChanged:F,hasRelativeTargetChanged:B,layout:N})=>{var D,T,M,O,L;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=(T=(D=this.options.transition)!==null&&D!==void 0?D:I.getDefaultTransition())!==null&&T!==void 0?T:ZQ,{onLayoutAnimationStart:b,onLayoutAnimationComplete:C}=I.getProps(),g=!this.targetLayout||!IF(this.targetLayout,N)||B,w=!F&&B;if(((M=this.resumeFrom)===null||M===void 0?void 0:M.instance)||w||F&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(P,w);const f={...aF(x,"layout"),onPlay:b,onComplete:C};I.shouldReduceMotion&&(f.delay=0,f.type=!1),this.startAnimation(f)}else!F&&this.animationProgress===0&&uP(this),this.isLead()&&((L=(O=this.options).onExitComplete)===null||L===void 0||L.call(O));this.targetLayout=N})}unmount(){var a,c;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(c=this.parent)===null||c===void 0||c.children.delete(this),this.instance=void 0,Is.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(VQ),this.animationId++)}willUpdate(a=!0){var c,u,d;if(this.root.isUpdateBlocked()){(u=(c=this.options).onExitComplete)===null||u===void 0||u.call(c);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let F=0;F {this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u {var O;const L=M/1e3;dP(F.x,a.x,L),dP(F.y,a.y,L),this.setTargetDelta(F),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&((O=this.relativeParent)===null||O===void 0?void 0:O.layout)&&(Md(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox),GQ(this.relativeTarget,this.relativeTargetOrigin,B,L)),N&&(this.animationValues=P,kQ(P,I,this.latestValues,L,T,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(0)}startAnimation(a){var c,u;this.notifyListeners("animationStart"),(c=this.currentAnimation)===null||c===void 0||c.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Is.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xi.update(()=>{Td.hasAnimatedSinceResize=!0,this.currentAnimation=AQ(0,lP,{...a,onUpdate:d=>{var p;this.mixTargetDelta(d),(p=a.onUpdate)===null||p===void 0||p.call(a,d)},onComplete:()=>{var d;(d=a.onComplete)===null||d===void 0||d.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,lP),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:d,latestValues:p}=a;if(!(!c||!u||!d)){if(this!==a&&this.layout&&d&&_F(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||xr();const I=Ni(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+I;const P=Ni(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+P}ho(c,u),fc(c,p),Od(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(a,c){var u,d,p;this.sharedNodes.has(a)||this.sharedNodes.set(a,new OQ),this.sharedNodes.get(a).add(c),c.promote({transition:(u=c.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(p=(d=c.options.initialPromotionConfig)===null||d===void 0?void 0:d.shouldPreserveFollowOpacity)===null||p===void 0?void 0:p.call(d,c)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:u}=a;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(c=!0),!c)return;const d={};for(let p=0;p {var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(cP),this.root.sharedNodes.clear()}}}function $Q(e){e.updateLayout()}function NQ(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:c}=e.options,u=i.source!==e.layout.source;c==="size"?Lo(F=>{const B=u?i.measuredBox[F]:i.layoutBox[F],N=Ni(B);B.min=o[F].min,B.max=B.min+N}):_F(c,i.layoutBox,o)&&Lo(F=>{const B=u?i.measuredBox[F]:i.layoutBox[F],N=Ni(o[F]);B.max=B.min+N});const d=Ld();Od(d,o,i.layoutBox);const p=Ld();u?Od(p,e.applyTransform(a,!0),i.measuredBox):Od(p,o,i.layoutBox);const I=!AF(d);let P=!1;if(!e.resumeFrom){const F=e.getClosestProjectingParent();if(F&&!F.resumeFrom){const{snapshot:B,layout:N}=F;if(B&&N){const D=xr();Md(D,i.layoutBox,B.layoutBox);const T=xr();Md(T,o,N.layoutBox),IF(D,T)||(P=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:p,layoutDelta:d,hasLayoutChanged:I,hasRelativeTargetChanged:P})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function FQ(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function BQ(e){e.clearSnapshot()}function cP(e){e.clearMeasurements()}function WQ(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function uP(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function HQ(e){e.resolveTargetDelta()}function zQ(e){e.calcProjection()}function VQ(e){e.resetRotation()}function jQ(e){e.removeLeadSnapshot()}function dP(e,t,n){e.translate=rr(t.translate,0,n),e.scale=rr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hP(e,t,n,r){e.min=rr(t.min,n.min,r),e.max=rr(t.max,n.max,r)}function GQ(e,t,n,r){hP(e.x,t.x,n.x,r),hP(e.y,t.y,n.y,r)}function YQ(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const ZQ={duration:.45,ease:[.4,0,.1,1]};function XQ(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function fP(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function UQ(e){fP(e.x),fP(e.y)}function _F(e,t,n){return e==="position"||e==="preserve-aspect"&&!pC(oP(t),oP(n),.2)}const KQ=kF({attachResizeListener:(e,t)=>Yy(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),G0={current:void 0},JQ=kF({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!G0.current){const e=new KQ(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),G0.current=e}return G0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),QQ={...PJ,...Y7,...QJ,...SQ},aa=G6((e,t)=>S7(e,t,QQ,yQ,JQ));function EF(){const e=de.exports.useRef(!1);return Ed(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function qQ(){const e=EF(),[t,n]=de.exports.useState(0),r=de.exports.useCallback(()=>{e.current&&n(t+1)},[t]);return[de.exports.useCallback(()=>xi.postRender(r),[r]),t]}class eq extends de.exports.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function tq({children:e,isPresent:t}){const n=de.exports.useId(),r=de.exports.useRef(null),i=de.exports.useRef({width:0,height:0,top:0,left:0});return de.exports.useInsertionEffect(()=>{const{width:o,height:a,top:c,left:u}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const d=document.createElement("style");return document.head.appendChild(d),d.sheet&&d.sheet.insertRule(` + )`;return{...!r&&i&&o,...r?{bgImage:c}:{bgColor:a}}},iZ={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},oZ=e=>({bg:jt("gray.100","whiteAlpha.300")(e)}),aZ=e=>({transitionProperty:"common",transitionDuration:"slow",...rZ(e)}),sZ=od(e=>({label:iZ,filledTrack:aZ(e),track:oZ(e)})),lZ={xs:od({track:{h:"1"}}),sm:od({track:{h:"2"}}),md:od({track:{h:"3"}}),lg:od({track:{h:"4"}})},cZ=nZ({sizes:lZ,baseStyle:sZ,defaultProps:{size:"md",colorScheme:"blue"}}),uZ=e=>typeof e=="function";function li(e,...t){return uZ(e)?e(...t):e}var{definePartsStyle:Ip,defineMultiStyleConfig:dZ}=Bn(r9.keys),kd=fn("checkbox-size"),hZ=e=>{const{colorScheme:t}=e;return{w:kd.reference,h:kd.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:jt(`${t}.500`,`${t}.200`)(e),borderColor:jt(`${t}.500`,`${t}.200`)(e),color:jt("white","gray.900")(e),_hover:{bg:jt(`${t}.600`,`${t}.300`)(e),borderColor:jt(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:jt("gray.200","transparent")(e),bg:jt("gray.200","whiteAlpha.300")(e),color:jt("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:jt(`${t}.500`,`${t}.200`)(e),borderColor:jt(`${t}.500`,`${t}.200`)(e),color:jt("white","gray.900")(e)},_disabled:{bg:jt("gray.100","whiteAlpha.100")(e),borderColor:jt("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:jt("red.500","red.300")(e)}}},fZ={_disabled:{cursor:"not-allowed"}},pZ={userSelect:"none",_disabled:{opacity:.4}},gZ={transitionProperty:"transform",transitionDuration:"normal"},mZ=Ip(e=>({icon:gZ,container:fZ,control:li(hZ,e),label:pZ})),vZ={sm:Ip({control:{[kd.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ip({control:{[kd.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ip({control:{[kd.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},rm=dZ({baseStyle:mZ,sizes:vZ,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:yZ,definePartsStyle:kp}=Bn(g9.keys),bZ=e=>{var t;const n=(t=li(rm.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n==null?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},xZ=kp(e=>{var t,n,r,i;return{label:(n=(t=rm).baseStyle)==null?void 0:n.call(t,e).label,container:(i=(r=rm).baseStyle)==null?void 0:i.call(r,e).container,control:bZ(e)}}),wZ={md:kp({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:kp({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:kp({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},CZ=yZ({baseStyle:xZ,sizes:wZ,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:SZ,definePartsStyle:AZ}=Bn(m9.keys),Wf=fn("select-bg"),YE,IZ={...(YE=wn.baseStyle)==null?void 0:YE.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Wf.reference,[Wf.variable]:"colors.white",_dark:{[Wf.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Wf.reference}},kZ={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},_Z=AZ({field:IZ,icon:kZ}),Hf={paddingInlineEnd:"8"},ZE,XE,UE,KE,JE,QE,qE,eT,EZ={lg:{...(ZE=wn.sizes)==null?void 0:ZE.lg,field:{...(XE=wn.sizes)==null?void 0:XE.lg.field,...Hf}},md:{...(UE=wn.sizes)==null?void 0:UE.md,field:{...(KE=wn.sizes)==null?void 0:KE.md.field,...Hf}},sm:{...(JE=wn.sizes)==null?void 0:JE.sm,field:{...(QE=wn.sizes)==null?void 0:QE.sm.field,...Hf}},xs:{...(qE=wn.sizes)==null?void 0:qE.xs,field:{...(eT=wn.sizes)==null?void 0:eT.xs.field,...Hf},icon:{insetEnd:"1"}}},TZ=SZ({baseStyle:_Z,sizes:EZ,variants:wn.variants,defaultProps:wn.defaultProps}),x0=fn("skeleton-start-color"),w0=fn("skeleton-end-color"),PZ={[x0.variable]:"colors.gray.100",[w0.variable]:"colors.gray.400",_dark:{[x0.variable]:"colors.gray.800",[w0.variable]:"colors.gray.600"},background:x0.reference,borderColor:w0.reference,opacity:.7,borderRadius:"sm"},RZ={baseStyle:PZ},C0=fn("skip-link-bg"),OZ={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[C0.variable]:"colors.white",_dark:{[C0.variable]:"colors.gray.700"},bg:C0.reference}},MZ={baseStyle:OZ},{defineMultiStyleConfig:LZ,definePartsStyle:Wy}=Bn(v9.keys),dh=fn("slider-thumb-size"),hh=fn("slider-track-size"),ss=fn("slider-bg"),DZ=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...QA({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},$Z=e=>({...QA({orientation:e.orientation,horizontal:{h:hh.reference},vertical:{w:hh.reference}}),overflow:"hidden",borderRadius:"sm",[ss.variable]:"colors.gray.200",_dark:{[ss.variable]:"colors.whiteAlpha.200"},_disabled:{[ss.variable]:"colors.gray.300",_dark:{[ss.variable]:"colors.whiteAlpha.300"}},bg:ss.reference}),NZ=e=>{const{orientation:t}=e;return{...QA({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:dh.reference,h:dh.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},FZ=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ss.variable]:`colors.${t}.500`,_dark:{[ss.variable]:`colors.${t}.200`},bg:ss.reference}},BZ=Wy(e=>({container:DZ(e),track:$Z(e),thumb:NZ(e),filledTrack:FZ(e)})),WZ=Wy({container:{[dh.variable]:"sizes.4",[hh.variable]:"sizes.1"}}),HZ=Wy({container:{[dh.variable]:"sizes.3.5",[hh.variable]:"sizes.1"}}),VZ=Wy({container:{[dh.variable]:"sizes.2.5",[hh.variable]:"sizes.0.5"}}),zZ={lg:WZ,md:HZ,sm:VZ},jZ=LZ({baseStyle:BZ,sizes:zZ,defaultProps:{size:"md",colorScheme:"blue"}}),Xs=Ir("spinner-size"),GZ={width:[Xs.reference],height:[Xs.reference]},YZ={xs:{[Xs.variable]:"sizes.3"},sm:{[Xs.variable]:"sizes.4"},md:{[Xs.variable]:"sizes.6"},lg:{[Xs.variable]:"sizes.8"},xl:{[Xs.variable]:"sizes.12"}},ZZ={baseStyle:GZ,sizes:YZ,defaultProps:{size:"md"}},{defineMultiStyleConfig:XZ,definePartsStyle:B$}=Bn(y9.keys),UZ={fontWeight:"medium"},KZ={opacity:.8,marginBottom:"2"},JZ={verticalAlign:"baseline",fontWeight:"semibold"},QZ={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},qZ=B$({container:{},label:UZ,helpText:KZ,number:JZ,icon:QZ}),eX={md:B$({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},tX=XZ({baseStyle:qZ,sizes:eX,defaultProps:{size:"md"}}),S0=fn("kbd-bg"),nX={[S0.variable]:"colors.gray.100",_dark:{[S0.variable]:"colors.whiteAlpha.100"},bg:S0.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},rX={baseStyle:nX},iX={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},oX={baseStyle:iX},{defineMultiStyleConfig:aX,definePartsStyle:sX}=Bn(c9.keys),lX={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},cX=sX({icon:lX}),uX=aX({baseStyle:cX}),{defineMultiStyleConfig:dX,definePartsStyle:hX}=Bn(u9.keys),Do=fn("menu-bg"),A0=fn("menu-shadow"),fX={[Do.variable]:"#fff",[A0.variable]:"shadows.sm",_dark:{[Do.variable]:"colors.gray.700",[A0.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Do.reference,boxShadow:A0.reference},pX={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Do.variable]:"colors.gray.100",_dark:{[Do.variable]:"colors.whiteAlpha.100"}},_active:{[Do.variable]:"colors.gray.200",_dark:{[Do.variable]:"colors.whiteAlpha.200"}},_expanded:{[Do.variable]:"colors.gray.100",_dark:{[Do.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Do.reference},gX={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},mX={opacity:.6},vX={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},yX={transitionProperty:"common",transitionDuration:"normal"},bX=hX({button:yX,list:fX,item:pX,groupTitle:gX,command:mX,divider:vX}),xX=dX({baseStyle:bX}),{defineMultiStyleConfig:wX,definePartsStyle:eC}=Bn(d9.keys),I0=fn("modal-bg"),k0=fn("modal-shadow"),CX={bg:"blackAlpha.600",zIndex:"modal"},SX=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},AX=e=>{const{scrollBehavior:t}=e;return{borderRadius:"md",color:"inherit",my:"16",zIndex:"modal",maxH:t==="inside"?"calc(100% - 7.5rem)":void 0,[I0.variable]:"colors.white",[k0.variable]:"shadows.lg",_dark:{[I0.variable]:"colors.gray.700",[k0.variable]:"shadows.dark-lg"},bg:I0.reference,boxShadow:k0.reference}},IX={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},kX={position:"absolute",top:"2",insetEnd:"3"},_X=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},EX={px:"6",py:"4"},TX=eC(e=>({overlay:CX,dialogContainer:li(SX,e),dialog:li(AX,e),header:IX,closeButton:kX,body:li(_X,e),footer:EX}));function uo(e){return eC(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var PX={xs:uo("xs"),sm:uo("sm"),md:uo("md"),lg:uo("lg"),xl:uo("xl"),"2xl":uo("2xl"),"3xl":uo("3xl"),"4xl":uo("4xl"),"5xl":uo("5xl"),"6xl":uo("6xl"),full:uo("full")},RX=wX({baseStyle:TX,sizes:PX,defaultProps:{size:"md"}}),{defineMultiStyleConfig:OX,definePartsStyle:W$}=Bn(h9.keys),eI=Ir("number-input-stepper-width"),H$=Ir("number-input-input-padding"),MX=ma(eI).add("0.5rem").toString(),_0=Ir("number-input-bg"),E0=Ir("number-input-color"),T0=Ir("number-input-border-color"),LX={[eI.variable]:"sizes.6",[H$.variable]:MX},DX=e=>{var t,n;return(n=(t=li(wn.baseStyle,e))==null?void 0:t.field)!=null?n:{}},$X={width:eI.reference},NX={borderStart:"1px solid",borderStartColor:T0.reference,color:E0.reference,bg:_0.reference,[E0.variable]:"colors.chakra-body-text",[T0.variable]:"colors.chakra-border-color",_dark:{[E0.variable]:"colors.whiteAlpha.800",[T0.variable]:"colors.whiteAlpha.300"},_active:{[_0.variable]:"colors.gray.200",_dark:{[_0.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},FX=W$(e=>{var t;return{root:LX,field:(t=li(DX,e))!=null?t:{},stepperGroup:$X,stepper:NX}});function Vf(e){var t,n,r;const i=(t=wn.sizes)==null?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(r=(n=i.field)==null?void 0:n.fontSize)!=null?r:"md",c=M$.fontSizes[a];return W$({field:{...i.field,paddingInlineEnd:H$.reference,verticalAlign:"top"},stepper:{fontSize:ma(c).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var BX={xs:Vf("xs"),sm:Vf("sm"),md:Vf("md"),lg:Vf("lg")},WX=OX({baseStyle:FX,sizes:BX,variants:wn.variants,defaultProps:wn.defaultProps}),tT,HX={...(tT=wn.baseStyle)==null?void 0:tT.field,textAlign:"center"},VX={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},nT,rT,zX={outline:e=>{var t,n,r;return(r=(n=li((t=wn.variants)==null?void 0:t.outline,e))==null?void 0:n.field)!=null?r:{}},flushed:e=>{var t,n,r;return(r=(n=li((t=wn.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)!=null?r:{}},filled:e=>{var t,n,r;return(r=(n=li((t=wn.variants)==null?void 0:t.filled,e))==null?void 0:n.field)!=null?r:{}},unstyled:(rT=(nT=wn.variants)==null?void 0:nT.unstyled.field)!=null?rT:{}},jX={baseStyle:HX,sizes:VX,variants:zX,defaultProps:wn.defaultProps},{defineMultiStyleConfig:GX,definePartsStyle:YX}=Bn(f9.keys),zf=Ir("popper-bg"),ZX=Ir("popper-arrow-bg"),iT=Ir("popper-arrow-shadow-color"),XX={zIndex:10},UX={[zf.variable]:"colors.white",bg:zf.reference,[ZX.variable]:zf.reference,[iT.variable]:"colors.gray.200",_dark:{[zf.variable]:"colors.gray.700",[iT.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},KX={px:3,py:2,borderBottomWidth:"1px"},JX={px:3,py:2},QX={px:3,py:2,borderTopWidth:"1px"},qX={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},eU=YX({popper:XX,content:UX,header:KX,body:JX,footer:QX,closeButton:qX}),tU=GX({baseStyle:eU}),{definePartsStyle:tC,defineMultiStyleConfig:nU}=Bn(i9.keys),P0=fn("drawer-bg"),R0=fn("drawer-box-shadow");function Bl(e){return tC(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var rU={bg:"blackAlpha.600",zIndex:"overlay"},iU={display:"flex",zIndex:"modal",justifyContent:"center"},oU=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[P0.variable]:"colors.white",[R0.variable]:"shadows.lg",_dark:{[P0.variable]:"colors.gray.700",[R0.variable]:"shadows.dark-lg"},bg:P0.reference,boxShadow:R0.reference}},aU={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},sU={position:"absolute",top:"2",insetEnd:"3"},lU={px:"6",py:"2",flex:"1",overflow:"auto"},cU={px:"6",py:"4"},uU=tC(e=>({overlay:rU,dialogContainer:iU,dialog:li(oU,e),header:aU,closeButton:sU,body:lU,footer:cU})),dU={xs:Bl("xs"),sm:Bl("md"),md:Bl("lg"),lg:Bl("2xl"),xl:Bl("4xl"),full:Bl("full")},hU=nU({baseStyle:uU,sizes:dU,defaultProps:{size:"xs"}}),{definePartsStyle:fU,defineMultiStyleConfig:pU}=Bn(o9.keys),gU={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},mU={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},vU={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},yU=fU({preview:gU,input:mU,textarea:vU}),bU=pU({baseStyle:yU}),{definePartsStyle:xU,defineMultiStyleConfig:wU}=Bn(a9.keys),Tc=fn("form-control-color"),CU={marginStart:"1",[Tc.variable]:"colors.red.500",_dark:{[Tc.variable]:"colors.red.300"},color:Tc.reference},SU={mt:"2",[Tc.variable]:"colors.gray.600",_dark:{[Tc.variable]:"colors.whiteAlpha.600"},color:Tc.reference,lineHeight:"normal",fontSize:"sm"},AU=xU({container:{width:"100%",position:"relative"},requiredIndicator:CU,helperText:SU}),IU=wU({baseStyle:AU}),{definePartsStyle:kU,defineMultiStyleConfig:_U}=Bn(s9.keys),Pc=fn("form-error-color"),EU={[Pc.variable]:"colors.red.500",_dark:{[Pc.variable]:"colors.red.300"},color:Pc.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},TU={marginEnd:"0.5em",[Pc.variable]:"colors.red.500",_dark:{[Pc.variable]:"colors.red.300"},color:Pc.reference},PU=kU({text:EU,icon:TU}),RU=_U({baseStyle:PU}),OU={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},MU={baseStyle:OU},LU={fontFamily:"heading",fontWeight:"bold"},DU={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},$U={baseStyle:LU,sizes:DU,defaultProps:{size:"xl"}},{defineMultiStyleConfig:NU,definePartsStyle:FU}=Bn(n9.keys),BU={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},WU=FU({link:BU}),HU=NU({baseStyle:WU}),VU={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},V$=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:jt("inherit","whiteAlpha.900")(e),_hover:{bg:jt("gray.100","whiteAlpha.200")(e)},_active:{bg:jt("gray.200","whiteAlpha.300")(e)}};const r=Kc(`${t}.200`,.12)(n),i=Kc(`${t}.200`,.24)(n);return{color:jt(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:jt(`${t}.50`,r)(e)},_active:{bg:jt(`${t}.100`,i)(e)}}},zU=e=>{const{colorScheme:t}=e,n=jt("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...li(V$,e)}},jU={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},GU=e=>{var t;const{colorScheme:n}=e;if(n==="gray"){const u=jt("gray.100","whiteAlpha.200")(e);return{bg:u,_hover:{bg:jt("gray.200","whiteAlpha.300")(e),_disabled:{bg:u}},_active:{bg:jt("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:i="white",hoverBg:o=`${n}.600`,activeBg:a=`${n}.700`}=(t=jU[n])!=null?t:{},c=jt(r,`${n}.200`)(e);return{bg:c,color:jt(i,"gray.800")(e),_hover:{bg:jt(o,`${n}.300`)(e),_disabled:{bg:c}},_active:{bg:jt(a,`${n}.400`)(e)}}},YU=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:jt(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:jt(`${t}.700`,`${t}.500`)(e)}}},ZU={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},XU={ghost:V$,outline:zU,solid:GU,link:YU,unstyled:ZU},UU={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},KU={baseStyle:VU,variants:XU,sizes:UU,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:sl,defineMultiStyleConfig:JU}=Bn(S9.keys),im=fn("card-bg"),Sa=fn("card-padding"),z$=fn("card-shadow"),_p=fn("card-radius"),j$=fn("card-border-width","0"),G$=fn("card-border-color"),QU=sl({container:{[im.variable]:"colors.chakra-body-bg",backgroundColor:im.reference,boxShadow:z$.reference,borderRadius:_p.reference,color:"chakra-body-text",borderWidth:j$.reference,borderColor:G$.reference},body:{padding:Sa.reference,flex:"1 1 0%"},header:{padding:Sa.reference},footer:{padding:Sa.reference}}),qU={sm:sl({container:{[_p.variable]:"radii.base",[Sa.variable]:"space.3"}}),md:sl({container:{[_p.variable]:"radii.md",[Sa.variable]:"space.5"}}),lg:sl({container:{[_p.variable]:"radii.xl",[Sa.variable]:"space.7"}})},eK={elevated:sl({container:{[z$.variable]:"shadows.base",_dark:{[im.variable]:"colors.gray.700"}}}),outline:sl({container:{[j$.variable]:"1px",[G$.variable]:"colors.chakra-border-color"}}),filled:sl({container:{[im.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Sa.variable]:0},header:{[Sa.variable]:0},footer:{[Sa.variable]:0}}},tK=JU({baseStyle:QU,variants:eK,sizes:qU,defaultProps:{variant:"elevated",size:"md"}}),_d=Ir("close-button-size"),Bu=Ir("close-button-bg"),nK={w:[_d.reference],h:[_d.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Bu.variable]:"colors.blackAlpha.100",_dark:{[Bu.variable]:"colors.whiteAlpha.100"}},_active:{[Bu.variable]:"colors.blackAlpha.200",_dark:{[Bu.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Bu.reference},rK={lg:{[_d.variable]:"sizes.10",fontSize:"md"},md:{[_d.variable]:"sizes.8",fontSize:"xs"},sm:{[_d.variable]:"sizes.6",fontSize:"2xs"}},iK={baseStyle:nK,sizes:rK,defaultProps:{size:"md"}},{variants:oK,defaultProps:aK}=Id,sK={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:lr.bg.reference,color:lr.color.reference,boxShadow:lr.shadow.reference},lK={baseStyle:sK,variants:oK,defaultProps:aK},cK={w:"100%",mx:"auto",maxW:"prose",px:"4"},uK={baseStyle:cK},dK={opacity:.6,borderColor:"inherit"},hK={borderStyle:"solid"},fK={borderStyle:"dashed"},pK={solid:hK,dashed:fK},gK={baseStyle:dK,variants:pK,defaultProps:{variant:"solid"}},{definePartsStyle:mK,defineMultiStyleConfig:vK}=Bn(q4.keys),yK={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},bK={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},xK={pt:"2",px:"4",pb:"5"},wK={fontSize:"1.25em"},CK=mK({container:yK,button:bK,panel:xK,icon:wK}),SK=vK({baseStyle:CK}),{definePartsStyle:qh,defineMultiStyleConfig:AK}=Bn(e9.keys),Di=fn("alert-fg"),Ma=fn("alert-bg"),IK=qh({container:{bg:Ma.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Di.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Di.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function tI(e){const{theme:t,colorScheme:n}=e,r=Kc(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}var kK=qh(e=>{const{colorScheme:t}=e,n=tI(e);return{container:{[Di.variable]:`colors.${t}.500`,[Ma.variable]:n.light,_dark:{[Di.variable]:`colors.${t}.200`,[Ma.variable]:n.dark}}}}),_K=qh(e=>{const{colorScheme:t}=e,n=tI(e);return{container:{[Di.variable]:`colors.${t}.500`,[Ma.variable]:n.light,_dark:{[Di.variable]:`colors.${t}.200`,[Ma.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Di.reference}}}),EK=qh(e=>{const{colorScheme:t}=e,n=tI(e);return{container:{[Di.variable]:`colors.${t}.500`,[Ma.variable]:n.light,_dark:{[Di.variable]:`colors.${t}.200`,[Ma.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Di.reference}}}),TK=qh(e=>{const{colorScheme:t}=e;return{container:{[Di.variable]:"colors.white",[Ma.variable]:`colors.${t}.500`,_dark:{[Di.variable]:"colors.gray.900",[Ma.variable]:`colors.${t}.200`},color:Di.reference}}}),PK={subtle:kK,"left-accent":_K,"top-accent":EK,solid:TK},RK=AK({baseStyle:IK,variants:PK,defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Y$,defineMultiStyleConfig:OK}=Bn(t9.keys),Rc=fn("avatar-border-color"),O0=fn("avatar-bg"),MK={borderRadius:"full",border:"0.2em solid",[Rc.variable]:"white",_dark:{[Rc.variable]:"colors.gray.800"},borderColor:Rc.reference},LK={[O0.variable]:"colors.gray.200",_dark:{[O0.variable]:"colors.whiteAlpha.400"},bgColor:O0.reference},oT=fn("avatar-background"),DK=e=>{const{name:t,theme:n}=e,r=t?z9({string:t}):"colors.gray.400",i=H9(r)(n);let o="white";return i||(o="gray.800"),{bg:oT.reference,"&:not([data-loaded])":{[oT.variable]:r},color:o,[Rc.variable]:"colors.white",_dark:{[Rc.variable]:"colors.gray.800"},borderColor:Rc.reference,verticalAlign:"top"}},$K=Y$(e=>({badge:li(MK,e),excessLabel:li(LK,e),container:li(DK,e)}));function Za(e){const t=e!=="100%"?D$[e]:void 0;return Y$({container:{width:e,height:e,fontSize:`calc(${t!=null?t:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${t!=null?t:e} / 2.5)`,lineHeight:e!=="100%"?t!=null?t:e:void 0}})}var NK={"2xs":Za(4),xs:Za(6),sm:Za(8),md:Za(12),lg:Za(16),xl:Za(24),"2xl":Za(32),full:Za("100%")},FK=OK({baseStyle:$K,sizes:NK,defaultProps:{size:"md"}}),BK={Accordion:SK,Alert:RK,Avatar:FK,Badge:Id,Breadcrumb:HU,Button:KU,Checkbox:rm,CloseButton:iK,Code:lK,Container:uK,Divider:gK,Drawer:hU,Editable:bU,Form:IU,FormError:RU,FormLabel:MU,Heading:$U,Input:wn,Kbd:rX,Link:oX,List:uX,Menu:xX,Modal:RX,NumberInput:WX,PinInput:jX,Popover:tU,Progress:cZ,Radio:CZ,Select:TZ,Skeleton:RZ,SkipLink:MZ,Slider:jZ,Spinner:ZZ,Stat:tX,Switch:oY,Table:hY,Tabs:_Y,Tag:WY,Textarea:QY,Tooltip:tZ,Card:tK},Z$={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},X$={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},U$="ltr",K$={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},J$={semanticTokens:Z$,direction:U$,...$$,components:BK,styles:X$,config:K$};({...$$});function ad(e){return typeof e=="function"}function WK(...e){return t=>e.reduce((n,r)=>r(n),t)}var HK=e=>function(...n){let r=[...n],i=n[n.length-1];return T4(i)&&r.length>1?r=r.slice(0,r.length-1):i=e,WK(...r.map(o=>a=>ad(o)?o(a):VK(a,o)))(i)},oke=HK(J$);function VK(...e){return Ji({},...e,Q$)}function Q$(e,t,n,r){if((ad(e)||ad(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...i)=>{const o=ad(e)?e(...i):e,a=ad(t)?t(...i):t;return Ji({},o,a,Q$)}}function zK(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function q$(e){var t;return zK(e)&&(t=e.ownerDocument)!=null?t:document}function jK(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var GK=jK();function YK(e,t){const n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}function ZK(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r {const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const c=t.get(r);if(c.has(i))return c.get(i);const u=e(r,i,o,a);return c.set(i,u),u}},eN=XK(ZK);function tN(e,t){const n={};return Object.keys(e).forEach(r=>{const i=e[r];t(i,r,e)&&(n[r]=i)}),n}var nN=e=>tN(e,t=>t!=null);function UK(e){return typeof e=="function"}function rN(e,...t){return UK(e)?e(...t):e}function KK(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}const iN=1/60*1e3,JK=typeof performance<"u"?()=>performance.now():()=>Date.now(),oN=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(JK()),iN);function QK(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,c={schedule:(u,d=!1,p=!1)=>{const I=p&&i,P=I?t:n;return d&&a.add(u),P.indexOf(u)===-1&&(P.push(u),I&&i&&(r=t.length)),u},cancel:u=>{const d=n.indexOf(u);d!==-1&&n.splice(d,1),a.delete(u)},process:u=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let d=0;d (e[t]=QK(()=>fh=!0),e),{}),e6=ef.reduce((e,t)=>{const n=Hy[t];return e[t]=(r,i=!1,o=!1)=>(fh||r6(),n.schedule(r,i,o)),e},{}),t6=ef.reduce((e,t)=>(e[t]=Hy[t].cancel,e),{});ef.reduce((e,t)=>(e[t]=()=>Hy[t].process(Oc),e),{});const n6=e=>Hy[e].process(Oc),aN=e=>{fh=!1,Oc.delta=nC?iN:Math.max(Math.min(e-Oc.timestamp,qK),1),Oc.timestamp=e,rC=!0,ef.forEach(n6),rC=!1,fh&&(nC=!1,oN(aN))},r6=()=>{fh=!0,nC=!0,rC||oN(aN)},aT=()=>Oc;var i6=typeof Element<"u",o6=typeof Map=="function",a6=typeof Set=="function",s6=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ep(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ep(e[r],t[r]))return!1;return!0}var o;if(o6&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!Ep(r.value[1],t.get(r.value[0])))return!1;return!0}if(a6&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(s6&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(i6&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Ep(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var sN=function(t,n){try{return Ep(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};function lN(e,t={}){var n;const{styleConfig:r,...i}=t,{theme:o,colorMode:a}=k$(),c=e?eN(o,`components.${e}`):void 0,u=r||c,d=Ji({theme:o,colorMode:a},(n=u==null?void 0:u.defaultProps)!=null?n:{},nN(YK(i,["children"]))),p=de.exports.useRef({});if(u){const P=k4(u)(d);sN(p.current,P)||(p.current=P)}return p.current}function Eo(e,t={}){return lN(e,t)}function zr(e,t={}){return lN(e,t)}var l6=new Set([...p4,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),c6=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function u6(e){return c6.has(e)||!l6.has(e)}function nI(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function d6(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const r of t)if(r!=null)for(const i in r)!Object.prototype.hasOwnProperty.call(r,i)||(i in n&&delete n[i],n[i]=r[i]);return n}var h6=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f6=aL(function(e){return h6.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),p6=f6,g6=function(t){return t!=="theme"},sT=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?p6:g6},lT=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},m6=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return hL(n,r,i),LV(function(){return fL(n,r,i)}),null},v6=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var c=lT(t,n,r),u=c||sT(i),d=!u("as");return function(){var p=arguments,I=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&I.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)I.push.apply(I,p);else{I.push(p[0][0]);for(var P=p.length,F=1;F t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,c=tN(a,(I,P)=>m4(P)),u=rN(e,t),d=d6({},i,u,nN(c),o),p=O$(d)(t.theme);return r?[p,r]:p};function M0(e,t){const{baseStyle:n,...r}=t!=null?t:{};r.shouldForwardProp||(r.shouldForwardProp=u6);const i=x6({baseStyle:n}),o=b6(e,r)(i);return vt.forwardRef(function(u,d){const{colorMode:p,forced:I}=YA();return Se(o,{ref:d,"data-theme":I?p:void 0,...u})})}function w6(){const e=new Map;return new Proxy(M0,{apply(t,n,r){return M0(...r)},get(t,n){return e.has(n)||e.set(n,M0(n)),e.get(n)}})}var pt=w6();function It(e){return de.exports.forwardRef(e)}function cN(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,i=de.exports.createContext(void 0);i.displayName=r;function o(){var a;const c=de.exports.useContext(i);if(!c&&t){const u=new Error(n);throw u.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,u,o),u}return c}return[i.Provider,o,i]}function C6(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=de.exports.useMemo(()=>d4(n),[n]);return At(NV,{theme:i,children:[Se(S6,{root:t}),r]})}function S6({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return Se(by,{styles:n=>({[t]:n.__cssVars})})}cN({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `
` "});function A6(e){return cN({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function I6(){const{colorMode:e}=YA();return Se(by,{styles:t=>{const n=eN(t,"styles.global"),r=rN(n,{theme:t,colorMode:e});return r?O$(r)(t):void 0}})}var rI=de.exports.createContext({getDocument(){return document},getWindow(){return window}});rI.displayName="EnvironmentContext";function k6({defer:e}={}){const[,t]=de.exports.useReducer(n=>n+1,0);return Zo(()=>{!e||t()},[e]),de.exports.useContext(rI)}function uN(e){const{children:t,environment:n,disabled:r}=e,i=de.exports.useRef(null),o=de.exports.useMemo(()=>n||{getDocument:()=>{var c,u;return(u=(c=i.current)==null?void 0:c.ownerDocument)!=null?u:document},getWindow:()=>{var c,u;return(u=(c=i.current)==null?void 0:c.ownerDocument.defaultView)!=null?u:window}},[n]),a=!r||!n;return At(rI.Provider,{value:o,children:[t,a&&Se("span",{id:"__chakra_env",hidden:!0,ref:i})]})}uN.displayName="EnvironmentProvider";var _6=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:i,resetCSS:o=!0,theme:a={},environment:c,cssVarsRoot:u,disableEnvironment:d}=e,p=Se(uN,{environment:c,disabled:d,children:t});return Se(C6,{theme:a,cssVarsRoot:u,children:At(I$,{colorModeManager:n,options:a.config,children:[o?Se(YV,{scope:i}):Se(GV,{}),Se(I6,{}),r?Se(wL,{zIndex:r,children:p}):p]})})},E6=(e,t)=>e.find(n=>n.id===t);function uT(e,t){const n=dN(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function dN(e,t){for(const[n,r]of Object.entries(e))if(E6(r,t))return n}function T6(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function P6(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}function nr(e,t=[]){const n=de.exports.useRef(e);return de.exports.useEffect(()=>{n.current=e}),de.exports.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function R6(e,t){const n=nr(e);de.exports.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}function La(e,t){const n=de.exports.useRef(!1),r=de.exports.useRef(!1);de.exports.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),de.exports.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])}const iI=de.exports.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Vy=de.exports.createContext({});function O6(){return de.exports.useContext(Vy).visualElement}const mu=de.exports.createContext(null),Pl=typeof document<"u",Ed=Pl?de.exports.useLayoutEffect:de.exports.useEffect,hN=de.exports.createContext({strict:!1});function M6(e,t,n,r){const i=O6(),o=de.exports.useContext(hN),a=de.exports.useContext(mu),c=de.exports.useContext(iI).reducedMotion,u=de.exports.useRef();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const d=u.current;return Ed(()=>{d&&d.render()}),Ed(()=>{d&&d.animationState&&d.animationState.animateChanges()}),Ed(()=>()=>d&&d.notify("Unmount"),[]),d}function dc(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function L6(e,t,n){return de.exports.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):dc(n)&&(n.current=r))},[t])}function ph(e){return typeof e=="string"||Array.isArray(e)}function zy(e){return typeof e=="object"&&typeof e.start=="function"}const D6=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function jy(e){return zy(e.animate)||D6.some(t=>ph(e[t]))}function fN(e){return Boolean(jy(e)||e.variants)}function $6(e,t){if(jy(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ph(n)?n:void 0,animate:ph(r)?r:void 0}}return e.inherit!==!1?t:{}}function N6(e){const{initial:t,animate:n}=$6(e,de.exports.useContext(Vy));return de.exports.useMemo(()=>({initial:t,animate:n}),[dT(t),dT(n)])}function dT(e){return Array.isArray(e)?e.join(" "):e}const ca=e=>({isEnabled:t=>e.some(n=>!!t[n])}),gh={measureLayout:ca(["layout","layoutId","drag"]),animation:ca(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:ca(["exit"]),drag:ca(["drag","dragControls"]),focus:ca(["whileFocus"]),hover:ca(["whileHover","onHoverStart","onHoverEnd"]),tap:ca(["whileTap","onTap","onTapStart","onTapCancel"]),pan:ca(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:ca(["whileInView","onViewportEnter","onViewportLeave"])};function F6(e){for(const t in e)t==="projectionNodeConstructor"?gh.projectionNodeConstructor=e[t]:gh[t].Component=e[t]}function Gy(e){const t=de.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}const Td={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let B6=1;function W6(){return Gy(()=>{if(Td.hasEverUpdated)return B6++})}const oI=de.exports.createContext({});class H6 extends vt.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:n}=this.props;return t&&t.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const pN=de.exports.createContext({}),V6=Symbol.for("motionComponentSymbol");function z6({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:r,useVisualState:i,Component:o}){e&&F6(e);function a(u,d){const p={...de.exports.useContext(iI),...u,layoutId:j6(u)},{isStatic:I}=p;let P=null;const F=N6(u),B=I?void 0:W6(),N=i(u,I);if(!I&&Pl){F.visualElement=M6(o,N,p,t);const D=de.exports.useContext(hN).strict,T=de.exports.useContext(pN);F.visualElement&&(P=F.visualElement.loadFeatures(p,D,e,B,n||gh.projectionNodeConstructor,T))}return At(H6,{visualElement:F.visualElement,props:p,children:[P,Se(Vy.Provider,{value:F,children:r(o,u,B,L6(N,F.visualElement,d),N,I,F.visualElement)})]})}const c=de.exports.forwardRef(a);return c[V6]=o,c}function j6({layoutId:e}){const t=de.exports.useContext(oI).id;return t&&e!==void 0?t+"-"+e:e}function G6(e){function t(r,i={}){return z6(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Y6=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function aI(e){return typeof e!="string"||e.includes("-")?!1:!!(Y6.indexOf(e)>-1||/[A-Z]/.test(e))}const am={};function Z6(e){Object.assign(am,e)}const sm=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rl=new Set(sm);function gN(e,{layout:t,layoutId:n}){return Rl.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!am[e]||e==="opacity")}const ta=e=>!!(e!=null&&e.getVelocity),X6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},U6=(e,t)=>sm.indexOf(e)-sm.indexOf(t);function K6({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";t.sort(U6);for(const c of t)a+=`${X6[c]||c}(${e[c]}) `;return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}function mN(e){return e.startsWith("--")}const J6=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Jc=(e,t,n)=>Math.min(Math.max(n,e),t),Ol={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Pd={...Ol,transform:e=>Jc(0,1,e)},jf={...Ol,default:1},Rd=e=>Math.round(e*1e5)/1e5,mh=/(-)?([\d]*\.?[\d])+/g,iC=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Q6=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function tf(e){return typeof e=="string"}const nf=e=>({test:t=>tf(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ka=nf("deg"),Jo=nf("%"),Yt=nf("px"),q6=nf("vh"),e7=nf("vw"),hT={...Jo,parse:e=>Jo.parse(e)/100,transform:e=>Jo.transform(e*100)},fT={...Ol,transform:Math.round},vN={borderWidth:Yt,borderTopWidth:Yt,borderRightWidth:Yt,borderBottomWidth:Yt,borderLeftWidth:Yt,borderRadius:Yt,radius:Yt,borderTopLeftRadius:Yt,borderTopRightRadius:Yt,borderBottomRightRadius:Yt,borderBottomLeftRadius:Yt,width:Yt,maxWidth:Yt,height:Yt,maxHeight:Yt,size:Yt,top:Yt,right:Yt,bottom:Yt,left:Yt,padding:Yt,paddingTop:Yt,paddingRight:Yt,paddingBottom:Yt,paddingLeft:Yt,margin:Yt,marginTop:Yt,marginRight:Yt,marginBottom:Yt,marginLeft:Yt,rotate:Ka,rotateX:Ka,rotateY:Ka,rotateZ:Ka,scale:jf,scaleX:jf,scaleY:jf,scaleZ:jf,skew:Ka,skewX:Ka,skewY:Ka,distance:Yt,translateX:Yt,translateY:Yt,translateZ:Yt,x:Yt,y:Yt,z:Yt,perspective:Yt,transformPerspective:Yt,opacity:Pd,originX:hT,originY:hT,originZ:Yt,zIndex:fT,fillOpacity:Pd,strokeOpacity:Pd,numOctaves:fT};function sI(e,t,n,r){const{style:i,vars:o,transform:a,transformKeys:c,transformOrigin:u}=e;c.length=0;let d=!1,p=!1,I=!0;for(const P in t){const F=t[P];if(mN(P)){o[P]=F;continue}const B=vN[P],N=J6(F,B);if(Rl.has(P)){if(d=!0,a[P]=N,c.push(P),!I)continue;F!==(B.default||0)&&(I=!1)}else P.startsWith("origin")?(p=!0,u[P]=N):i[P]=N}if(t.transform||(d||r?i.transform=K6(e,n,I,r):i.transform&&(i.transform="none")),p){const{originX:P="50%",originY:F="50%",originZ:B=0}=u;i.transformOrigin=`${P} ${F} ${B}`}}const lI=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function yN(e,t,n){for(const r in t)!ta(t[r])&&!gN(r,n)&&(e[r]=t[r])}function t7({transformTemplate:e},t,n){return de.exports.useMemo(()=>{const r=lI();return sI(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function n7(e,t,n){const r=e.style||{},i={};return yN(i,r,e),Object.assign(i,t7(e,t,n)),e.transformValues?e.transformValues(i):i}function r7(e,t,n){const r={},i=n7(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),r.style=i,r}const i7=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],o7=["whileTap","onTap","onTapStart","onTapCancel"],a7=["onPan","onPanStart","onPanSessionStart","onPanEnd"],s7=["whileInView","onViewportEnter","onViewportLeave","viewport"],l7=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...s7,...o7,...i7,...a7]);function lm(e){return l7.has(e)}let bN=e=>!lm(e);function c7(e){!e||(bN=t=>t.startsWith("on")?!lm(t):e(t))}try{c7(require("@emotion/is-prop-valid").default)}catch{}function u7(e,t,n){const r={};for(const i in e)(bN(i)||n===!0&&lm(i)||!t&&!lm(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function pT(e,t,n){return typeof e=="string"?e:Yt.transform(t+n*e)}function d7(e,t,n){const r=pT(t,e.x,e.width),i=pT(n,e.y,e.height);return`${r} ${i}`}const h7={offset:"stroke-dashoffset",array:"stroke-dasharray"},f7={offset:"strokeDashoffset",array:"strokeDasharray"};function p7(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?h7:f7;e[o.offset]=Yt.transform(-r);const a=Yt.transform(t),c=Yt.transform(n);e[o.array]=`${a} ${c}`}function cI(e,{attrX:t,attrY:n,originX:r,originY:i,pathLength:o,pathSpacing:a=1,pathOffset:c=0,...u},d,p,I){if(sI(e,u,d,I),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:P,style:F,dimensions:B}=e;P.transform&&(B&&(F.transform=P.transform),delete P.transform),B&&(r!==void 0||i!==void 0||F.transform)&&(F.transformOrigin=d7(B,r!==void 0?r:.5,i!==void 0?i:.5)),t!==void 0&&(P.x=t),n!==void 0&&(P.y=n),o!==void 0&&p7(P,o,a,c,!1)}const xN=()=>({...lI(),attrs:{}}),uI=e=>typeof e=="string"&&e.toLowerCase()==="svg";function g7(e,t,n,r){const i=de.exports.useMemo(()=>{const o=xN();return cI(o,t,{enableHardwareAcceleration:!1},uI(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};yN(o,e.style,e),i.style={...o,...i.style}}return i}function m7(e=!1){return(n,r,i,o,{latestValues:a},c)=>{const d=(aI(n)?g7:r7)(r,a,c,n),I={...u7(r,typeof n=="string",e),...d,ref:o};return i&&(I["data-projection-id"]=i),de.exports.createElement(n,I)}}const dI=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function wN(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const CN=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function SN(e,t,n,r){wN(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(CN.has(i)?i:dI(i),t.attrs[i])}function hI(e){const{style:t}=e,n={};for(const r in t)(ta(t[r])||gN(r,e))&&(n[r]=t[r]);return n}function AN(e){const t=hI(e);for(const n in e)if(ta(e[n])){const r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function fI(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}const cm=e=>Array.isArray(e),v7=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),y7=e=>cm(e)?e[e.length-1]||0:e;function Tp(e){const t=ta(e)?e.get():e;return v7(t)?t.toValue():t}function b7({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:x7(r,i,o,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const IN=e=>(t,n)=>{const r=de.exports.useContext(Vy),i=de.exports.useContext(mu),o=()=>b7(e,t,r,i);return n?o():Gy(o)};function x7(e,t,n,r){const i={},o=r(e);for(const P in o)i[P]=Tp(o[P]);let{initial:a,animate:c}=e;const u=jy(e),d=fN(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const I=p?c:a;return I&&typeof I!="boolean"&&!zy(I)&&(Array.isArray(I)?I:[I]).forEach(F=>{const B=fI(e,F);if(!B)return;const{transitionEnd:N,transition:D,...T}=B;for(const M in T){let O=T[M];if(Array.isArray(O)){const L=p?O.length-1:0;O=O[L]}O!==null&&(i[M]=O)}for(const M in N)i[M]=N[M]}),i}const w7={useVisualState:IN({scrapeMotionValuesFromProps:AN,createRenderState:xN,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}cI(n,r,{enableHardwareAcceleration:!1},uI(t.tagName),e.transformTemplate),SN(t,n)}})},C7={useVisualState:IN({scrapeMotionValuesFromProps:hI,createRenderState:lI})};function S7(e,{forwardMotionProps:t=!1},n,r,i){return{...aI(e)?w7:C7,preloadedFeatures:n,useRender:m7(t),createVisualElement:r,projectionNodeConstructor:i,Component:e}}var Mn;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Mn||(Mn={}));function Yy(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function oC(e,t,n,r){de.exports.useEffect(()=>{const i=e.current;if(n&&i)return Yy(i,t,n,r)},[e,t,n,r])}function A7({whileFocus:e,visualElement:t}){const{animationState:n}=t,r=()=>{n&&n.setActive(Mn.Focus,!0)},i=()=>{n&&n.setActive(Mn.Focus,!1)};oC(t,"focus",e?r:void 0),oC(t,"blur",e?i:void 0)}function kN(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function _N(e){return!!e.touches}function I7(e){return t=>{const n=t instanceof MouseEvent;(!n||n&&t.button===0)&&e(t)}}const k7={pageX:0,pageY:0};function _7(e,t="page"){const r=e.touches[0]||e.changedTouches[0]||k7;return{x:r[t+"X"],y:r[t+"Y"]}}function E7(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function pI(e,t="page"){return{point:_N(e)?_7(e,t):E7(e,t)}}const EN=(e,t=!1)=>{const n=r=>e(r,pI(r));return t?I7(n):n},T7=()=>Pl&&window.onpointerdown===null,P7=()=>Pl&&window.ontouchstart===null,R7=()=>Pl&&window.onmousedown===null,O7={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},M7={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function TN(e){return T7()?e:P7()?M7[e]:R7()?O7[e]:e}function Mc(e,t,n,r){return Yy(e,TN(t),EN(n,t==="pointerdown"),r)}function um(e,t,n,r){return oC(e,TN(t),n&&EN(n,t==="pointerdown"),r)}function PN(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const gT=PN("dragHorizontal"),mT=PN("dragVertical");function RN(e){let t=!1;if(e==="y")t=mT();else if(e==="x")t=gT();else{const n=gT(),r=mT();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function ON(){const e=RN(!0);return e?(e(),!1):!0}function vT(e,t,n){return(r,i)=>{!kN(r)||ON()||(e.animationState&&e.animationState.setActive(Mn.Hover,t),n&&n(r,i))}}function L7({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:r}){um(r,"pointerenter",e||n?vT(r,!0,e):void 0,{passive:!e}),um(r,"pointerleave",t||n?vT(r,!1,t):void 0,{passive:!t})}const MN=(e,t)=>t?e===t?!0:MN(e,t.parentElement):!1;function gI(e){return de.exports.useEffect(()=>()=>e(),[])}const D7=(e,t)=>n=>t(e(n)),Zy=(...e)=>e.reduce(D7);function $7({onTap:e,onTapStart:t,onTapCancel:n,whileTap:r,visualElement:i}){const o=e||t||n||r,a=de.exports.useRef(!1),c=de.exports.useRef(null),u={passive:!(t||e||n||F)};function d(){c.current&&c.current(),c.current=null}function p(){return d(),a.current=!1,i.animationState&&i.animationState.setActive(Mn.Tap,!1),!ON()}function I(B,N){!p()||(MN(i.current,B.target)?e&&e(B,N):n&&n(B,N))}function P(B,N){!p()||n&&n(B,N)}function F(B,N){d(),!a.current&&(a.current=!0,c.current=Zy(Mc(window,"pointerup",I,u),Mc(window,"pointercancel",P,u)),i.animationState&&i.animationState.setActive(Mn.Tap,!0),t&&t(B,N))}um(i,"pointerdown",o?F:void 0,u),gI(d)}const N7="production",LN=typeof process>"u"||process.env===void 0?N7:"production",yT=new Set;function DN(e,t,n){e||yT.has(t)||(console.warn(t),n&&console.warn(n),yT.add(t))}const aC=new WeakMap,L0=new WeakMap,F7=e=>{const t=aC.get(e.target);t&&t(e)},B7=e=>{e.forEach(F7)};function W7({root:e,...t}){const n=e||document;L0.has(n)||L0.set(n,{});const r=L0.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(B7,{root:e,...t})),r[i]}function H7(e,t,n){const r=W7(t);return aC.set(e,n),r.observe(e),()=>{aC.delete(e),r.unobserve(e)}}function V7({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:r,viewport:i={}}){const o=de.exports.useRef({hasEnteredView:!1,isInView:!1});let a=Boolean(t||n||r);i.once&&o.current.hasEnteredView&&(a=!1),(typeof IntersectionObserver>"u"?G7:j7)(a,o.current,e,i)}const z7={some:0,all:1};function j7(e,t,n,{root:r,margin:i,amount:o="some",once:a}){de.exports.useEffect(()=>{if(!e||!n.current)return;const c={root:r==null?void 0:r.current,rootMargin:i,threshold:typeof o=="number"?o:z7[o]},u=d=>{const{isIntersecting:p}=d;if(t.isInView===p||(t.isInView=p,a&&!p&&t.hasEnteredView))return;p&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(Mn.InView,p);const I=n.getProps(),P=p?I.onViewportEnter:I.onViewportLeave;P&&P(d)};return H7(n.current,c,u)},[e,r,i,o])}function G7(e,t,n,{fallback:r=!0}){de.exports.useEffect(()=>{!e||!r||(LN!=="production"&&DN(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(Mn.InView,!0)}))},[e])}const ds=e=>t=>(e(t),null),Y7={inView:ds(V7),tap:ds($7),focus:ds(A7),hover:ds(L7)};function mI(){const e=de.exports.useContext(mu);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=de.exports.useId();return de.exports.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}function Z7(){return X7(de.exports.useContext(mu))}function X7(e){return e===null?!0:e.isPresent}function $N(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r /^\-?\d*\.?\d+$/.test(e),K7=e=>/^0[^.\s]+$/.test(e),Aa={delta:0,timestamp:0},NN=1/60*1e3,J7=typeof performance<"u"?()=>performance.now():()=>Date.now(),FN=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(J7()),NN);function Q7(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,c={schedule:(u,d=!1,p=!1)=>{const I=p&&i,P=I?t:n;return d&&a.add(u),P.indexOf(u)===-1&&(P.push(u),I&&i&&(r=t.length)),u},cancel:u=>{const d=n.indexOf(u);d!==-1&&n.splice(d,1),a.delete(u)},process:u=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let d=0;d (e[t]=Q7(()=>vh=!0),e),{}),xi=rf.reduce((e,t)=>{const n=Xy[t];return e[t]=(r,i=!1,o=!1)=>(vh||t8(),n.schedule(r,i,o)),e},{}),Is=rf.reduce((e,t)=>(e[t]=Xy[t].cancel,e),{}),D0=rf.reduce((e,t)=>(e[t]=()=>Xy[t].process(Aa),e),{}),e8=e=>Xy[e].process(Aa),BN=e=>{vh=!1,Aa.delta=sC?NN:Math.max(Math.min(e-Aa.timestamp,q7),1),Aa.timestamp=e,lC=!0,rf.forEach(e8),lC=!1,vh&&(sC=!1,FN(BN))},t8=()=>{vh=!0,sC=!0,lC||FN(BN)};function vI(e,t){e.indexOf(t)===-1&&e.push(t)}function yI(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class bI{constructor(){this.subscriptions=[]}add(t){return vI(this.subscriptions,t),()=>yI(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class r8{constructor(t,n={}){this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:a}=Aa;this.lastUpdated!==a&&(this.timeDelta=o,this.lastUpdated=a,xi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>xi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=n8(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){return this.events[t]||(this.events[t]=new bI),this.events[t].add(n)}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t){this.passiveEffect=t}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?xI(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.stopAnimation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function Qc(e,t){return new r8(e,t)}const wI=(e,t)=>n=>Boolean(tf(n)&&Q6.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),WN=(e,t,n)=>r=>{if(!tf(r))return r;const[i,o,a,c]=r.match(mh);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},i8=e=>Jc(0,255,e),$0={...Ol,transform:e=>Math.round(i8(e))},qs={test:wI("rgb","red"),parse:WN("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+$0.transform(e)+", "+$0.transform(t)+", "+$0.transform(n)+", "+Rd(Pd.transform(r))+")"};function o8(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const cC={test:wI("#"),parse:o8,transform:qs.transform},hc={test:wI("hsl","hue"),parse:WN("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jo.transform(Rd(t))+", "+Jo.transform(Rd(n))+", "+Rd(Pd.transform(r))+")"},ni={test:e=>qs.test(e)||cC.test(e)||hc.test(e),parse:e=>qs.test(e)?qs.parse(e):hc.test(e)?hc.parse(e):cC.parse(e),transform:e=>tf(e)?e:e.hasOwnProperty("red")?qs.transform(e):hc.transform(e)},HN="${c}",VN="${n}";function a8(e){var t,n;return isNaN(e)&&tf(e)&&(((t=e.match(mh))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(iC))===null||n===void 0?void 0:n.length)||0)>0}function dm(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0,r=0;const i=e.match(iC);i&&(n=i.length,e=e.replace(iC,HN),t.push(...i.map(ni.parse)));const o=e.match(mh);return o&&(r=o.length,e=e.replace(mh,VN),t.push(...o.map(Ol.parse))),{values:t,numColors:n,numNumbers:r,tokenised:e}}function zN(e){return dm(e).values}function jN(e){const{values:t,numColors:n,tokenised:r}=dm(e),i=t.length;return o=>{let a=r;for(let c=0;ctypeof e=="number"?0:e;function l8(e){const t=zN(e);return jN(e)(t.map(s8))}const ks={test:a8,parse:zN,createTransformer:jN,getAnimatableNone:l8},c8=new Set(["brightness","contrast","saturate","opacity"]);function u8(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(mh)||[];if(!r)return e;const i=n.replace(r,"");let o=c8.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const d8=/([a-z-]*)\(.*?\)/g,uC={...ks,getAnimatableNone:e=>{const t=e.match(d8);return t?t.map(u8).join(" "):e}},h8={...vN,color:ni,backgroundColor:ni,outlineColor:ni,fill:ni,stroke:ni,borderColor:ni,borderTopColor:ni,borderRightColor:ni,borderBottomColor:ni,borderLeftColor:ni,filter:uC,WebkitFilter:uC},CI=e=>h8[e];function SI(e,t){var n;let r=CI(e);return r!==uC&&(r=ks),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}const GN=e=>t=>t.test(e),f8={test:e=>e==="auto",parse:e=>e},YN=[Ol,Yt,Jo,Ka,e7,q6,f8],Wu=e=>YN.find(GN(e)),p8=[...YN,ni,ks],g8=e=>p8.find(GN(e));function m8(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function v8(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Uy(e,t,n){const r=e.getProps();return fI(r,t,n!==void 0?n:r.custom,m8(e),v8(e))}function y8(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Qc(n))}function b8(e,t){const n=Uy(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){const c=y7(o[a]);y8(e,a,c)}}function x8(e,t,n){var r,i;const o=Object.keys(t).filter(c=>!e.hasValue(c)),a=o.length;if(!!a)for(let c=0;c`${e}: ${t}`;function A8(e,t){const{MotionAppearAnimations:n}=window,r=S8(e,Rl.has(t)?"transform":t),i=n&&n.get(r);return i?(xi.render(()=>{try{i.cancel(),n.delete(r)}catch{}}),i.currentTime||0):0}const I8="framerAppearId",k8="data-"+dI(I8);var _8=function(){},fm=function(){};const Pp=e=>e*1e3,E8={current:!1},AI=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,II=e=>t=>1-e(1-t),kI=e=>e*e,T8=II(kI),_I=AI(kI),rr=(e,t,n)=>-n*e+n*t+e;function N0(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function P8({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;i=N0(u,c,e+1/3),o=N0(u,c,e),a=N0(u,c,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}const F0=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},R8=[cC,qs,hc],O8=e=>R8.find(t=>t.test(e));function bT(e){const t=O8(e);let n=t.parse(e);return t===hc&&(n=P8(n)),n}const ZN=(e,t)=>{const n=bT(e),r=bT(t),i={...n};return o=>(i.red=F0(n.red,r.red,o),i.green=F0(n.green,r.green,o),i.blue=F0(n.blue,r.blue,o),i.alpha=rr(n.alpha,r.alpha,o),qs.transform(i))};function XN(e,t){return typeof e=="number"?n=>rr(e,t,n):ni.test(e)?ZN(e,t):KN(e,t)}const UN=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,a)=>XN(o,t[a]));return o=>{for(let a=0;a {const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=XN(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},KN=(e,t)=>{const n=ks.createTransformer(t),r=dm(e),i=dm(t);return r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Zy(UN(r.values,i.values),n):a=>`${a>0?t:e}`},pm=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},xT=(e,t)=>n=>rr(e,t,n);function L8(e){return typeof e=="number"?xT:typeof e=="string"?ni.test(e)?ZN:KN:Array.isArray(e)?UN:typeof e=="object"?M8:xT}function D8(e,t,n){const r=[],i=n||L8(e[0]),o=e.length-1;for(let a=0;a e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=D8(t,r,i),c=a.length,u=d=>{let p=0;if(c>1)for(;p u(Jc(e[0],e[o-1],d)):u}const EI=e=>e,QN=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$8=1e-7,N8=12;function F8(e,t,n,r,i){let o,a,c=0;do a=t+(n-t)/2,o=QN(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>$8&&++c F8(o,0,1,e,n);return o=>o===0||o===1?o:QN(i(o),t,r)}const eF=e=>1-Math.sin(Math.acos(e)),TI=II(eF),B8=AI(TI),tF=qN(.33,1.53,.69,.99),PI=II(tF),W8=AI(PI),H8=e=>(e*=2)<1?.5*PI(e):.5*(2-Math.pow(2,-10*(e-1))),V8={linear:EI,easeIn:kI,easeInOut:_I,easeOut:T8,circIn:eF,circInOut:B8,circOut:TI,backIn:PI,backInOut:W8,backOut:tF,anticipate:H8},wT=e=>{if(Array.isArray(e)){fm(e.length===4);const[t,n,r,i]=e;return qN(t,n,r,i)}else if(typeof e=="string")return V8[e];return e},z8=e=>Array.isArray(e)&&typeof e[0]!="number";function j8(e,t){return e.map(()=>t||_I).splice(0,e.length-1)}function G8(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Y8(e,t){return e.map(n=>n*t)}function gm({keyframes:e,ease:t=_I,times:n,duration:r=300}){e=[...e];const i=gm[0],o=z8(t)?t.map(wT):wT(t),a={done:!1,value:i},c=Y8(n&&n.length===gm.length?n:G8(e),r);function u(){return JN(c,e,{ease:Array.isArray(o)?o:j8(e,o)})}let d=u();return{next:p=>(a.value=d(p),a.done=p>=r,a),flipTarget:()=>{e.reverse(),d=u()}}}const B0=.001,Z8=.01,CT=10,X8=.05,U8=1;function K8({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;_8(e<=CT*1e3);let a=1-t;a=Jc(X8,U8,a),e=Jc(Z8,CT,e/1e3),a<1?(i=d=>{const p=d*a,I=p*e,P=p-n,F=dC(d,a),B=Math.exp(-I);return B0-P/F*B},o=d=>{const I=d*a*e,P=I*n+n,F=Math.pow(a,2)*Math.pow(d,2)*e,B=Math.exp(-I),N=dC(Math.pow(d,2),a);return(-i(d)+B0>0?-1:1)*((P-F)*B)/N}):(i=d=>{const p=Math.exp(-d*e),I=(d-n)*e+1;return-B0+p*I},o=d=>{const p=Math.exp(-d*e),I=(n-d)*(e*e);return p*I});const c=5/e,u=Q8(i,o,c);if(e=e*1e3,isNaN(u))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const J8=12;function Q8(e,t,n){let r=n;for(let i=1;i e[n]!==void 0)}function tJ(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ST(e,eJ)&&ST(e,q8)){const n=K8(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}const nJ=5;function nF({keyframes:e,restSpeed:t=2,restDelta:n=.01,...r}){let i=e[0],o=e[e.length-1];const a={done:!1,value:i},{stiffness:c,damping:u,mass:d,velocity:p,duration:I,isResolvedFromDuration:P}=tJ(r);let F=rJ,B=p?-(p/1e3):0;const N=u/(2*Math.sqrt(c*d));function D(){const T=o-i,M=Math.sqrt(c/d)/1e3;if(n===void 0&&(n=Math.min(Math.abs(o-i)/100,.4)),N<1){const O=dC(M,N);F=L=>{const x=Math.exp(-N*M*L);return o-x*((B+N*M*T)/O*Math.sin(O*L)+T*Math.cos(O*L))}}else if(N===1)F=O=>o-Math.exp(-M*O)*(T+(B+M*T)*O);else{const O=M*Math.sqrt(N*N-1);F=L=>{const x=Math.exp(-N*M*L),b=Math.min(O*L,300);return o-x*((B+N*M*T)*Math.sinh(b)+O*T*Math.cosh(b))/O}}}return D(),{next:T=>{const M=F(T);if(P)a.done=T>=I;else{let O=B;if(T!==0)if(N<1){const b=Math.max(0,T-nJ);O=xI(M-F(b),T-b)}else O=0;const L=Math.abs(O)<=t,x=Math.abs(o-M)<=n;a.done=L&&x}return a.value=a.done?o:M,a},flipTarget:()=>{B=-B,[i,o]=[o,i],D()}}}nF.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const rJ=e=>0;function iJ({keyframes:e=[0],velocity:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a=e[0],c={done:!1,value:a};let u=n*t;const d=a+u,p=o===void 0?d:o(d);return p!==d&&(u=p-a),{next:I=>{const P=-u*Math.exp(-I/r);return c.done=!(P>i||P<-i),c.value=c.done?p:p+P,c},flipTarget:()=>{}}}const oJ={decay:iJ,keyframes:gm,tween:gm,spring:nF};function rF(e,t,n=0){return e-t-n}function aJ(e,t=0,n=0,r=!0){return r?rF(t+-e,t,n):t-(e-t)+n}function sJ(e,t,n,r){return r?e>=t+n:e<=-n}const lJ=e=>{const t=({delta:n})=>e(n);return{start:()=>xi.update(t,!0),stop:()=>Is.update(t)}};function mm({duration:e,driver:t=lJ,elapsed:n=0,repeat:r=0,repeatType:i="loop",repeatDelay:o=0,keyframes:a,autoplay:c=!0,onPlay:u,onStop:d,onComplete:p,onRepeat:I,onUpdate:P,type:F="keyframes",...B}){var N,D;let T,M=0,O=e,L,x=!1,b=!0,C;const g=oJ[a.length>2?"keyframes":F],w=a[0],f=a[a.length-1];!((D=(N=g).needsInterpolation)===null||D===void 0)&&D.call(N,w,f)&&(C=JN([0,100],[w,f],{clamp:!1}),a=[0,100]);const m=g({...B,duration:e,keyframes:a});function E(){M++,i==="reverse"?(b=M%2===0,n=aJ(n,O,o,b)):(n=rF(n,O,o),i==="mirror"&&m.flipTarget()),x=!1,I&&I()}function S(){T.stop(),p&&p()}function y($){if(b||($=-$),n+=$,!x){const z=m.next(Math.max(0,n));L=z.value,C&&(L=C(L)),x=b?z.done:n<=0}P&&P(L),x&&(M===0&&(O=O!==void 0?O:n),M {d&&d(),T.stop()},sample:$=>m.next(Math.max(0,$))}}function cJ(e){return!e||Array.isArray(e)||typeof e=="string"&&iF[e]}const sd=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,iF={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sd([0,.65,.55,1]),circOut:sd([.55,0,1,.45]),backIn:sd([.31,.01,.66,-.59]),backOut:sd([.33,1.53,.69,.99])};function uJ(e){if(!!e)return Array.isArray(e)?sd(e):iF[e]}function dJ(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:c,times:u}={}){return e.animate({[t]:n,offset:u},{delay:r,duration:i,easing:uJ(c),fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}const Gf=10;function hJ(e,t,{onUpdate:n,onComplete:r,...i}){let{keyframes:o,duration:a=.3,elapsed:c=0,ease:u}=i;if(i.type==="spring"||!cJ(i.ease)){const p=mm(i);let I={done:!1,value:o[0]};const P=[];let F=0;for(;!I.done;)I=p.sample(F),P.push(I.value),F+=Gf;o=P,a=F-Gf,u="linear"}const d=dJ(e.owner.current,t,o,{...i,delay:-c,duration:a,ease:u});return d.onfinish=()=>{e.set(o[o.length-1]),r&&r()},()=>{const{currentTime:p}=d;if(p){const I=mm(i);e.setWithVelocity(I.sample(p-Gf).value,I.sample(p).value,Gf)}xi.update(()=>d.cancel())}}function oF(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Is.read(r),e(o-t))};return xi.read(r,!0),()=>Is.read(r)}function fJ({keyframes:e,elapsed:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),()=>{});return t?oF(i,-t):i()}function pJ({keyframes:e,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:c=10,restDelta:u=1,modifyTarget:d,driver:p,onUpdate:I,onComplete:P,onStop:F}){const B=e[0];let N;function D(L){return n!==void 0&&L r}function T(L){return n===void 0?r:r===void 0||Math.abs(n-L) {var b;I==null||I(x),(b=L.onUpdate)===null||b===void 0||b.call(L,x)},onComplete:P,onStop:F})}function O(L){M({type:"spring",stiffness:a,damping:c,restDelta:u,...L})}if(D(B))O({velocity:t,keyframes:[B,T(B)]});else{let L=i*t+B;typeof d<"u"&&(L=d(L));const x=T(L),b=x===n?-1:1;let C,g;const w=f=>{C=g,g=f,t=xI(f-C,Aa.delta),(b===1&&f>x||b===-1&&f N==null?void 0:N.stop()}}const Hs=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Yf=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),W0=()=>({type:"keyframes",ease:"linear",duration:.3}),gJ={type:"keyframes",duration:.8},AT={x:Hs,y:Hs,z:Hs,rotate:Hs,rotateX:Hs,rotateY:Hs,rotateZ:Hs,scaleX:Yf,scaleY:Yf,scale:Yf,opacity:W0,backgroundColor:W0,color:W0,default:Yf},mJ=(e,{keyframes:t})=>t.length>2?gJ:(AT[e]||AT.default)(t[1]),hC=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&ks.test(t)&&!t.startsWith("url("));function vJ({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:c,from:u,...d}){return!!Object.keys(d).length}function IT(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function kT(e){return typeof e=="number"?0:SI("",e)}function aF(e,t){return e[t]||e.default||e}function yJ(e,t,n,r){const i=hC(t,n);let o=r.from!==void 0?r.from:e.get();return o==="none"&&i&&typeof n=="string"?o=SI(t,n):IT(o)&&typeof n=="string"?o=kT(n):!Array.isArray(n)&&IT(n)&&typeof o=="string"&&(n=kT(o)),Array.isArray(n)?(n[0]===null&&(n[0]=o),n):[o,n]}const _T={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},H0={},sF={};for(const e in _T)sF[e]=()=>(H0[e]===void 0&&(H0[e]=_T[e]()),H0[e]);const bJ=new Set(["opacity"]),RI=(e,t,n,r={})=>i=>{const o=aF(r,e)||{},a=o.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Pp(a);const u=yJ(t,e,n,o),d=u[0],p=u[u.length-1],I=hC(e,d),P=hC(e,p);let F={keyframes:u,velocity:t.getVelocity(),...o,elapsed:c,onUpdate:T=>{t.set(T),o.onUpdate&&o.onUpdate(T)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!I||!P||E8.current||o.type===!1)return fJ(F);if(o.type==="inertia"){const T=pJ(F);return()=>T.stop()}vJ(o)||(F={...F,...mJ(e,F)}),F.duration&&(F.duration=Pp(F.duration)),F.repeatDelay&&(F.repeatDelay=Pp(F.repeatDelay));const B=t.owner,N=B&&B.current;if(sF.waapi()&&bJ.has(e)&&!F.repeatDelay&&F.repeatType!=="mirror"&&F.damping!==0&&B&&N instanceof HTMLElement&&!B.getProps().onUpdate)return hJ(t,e,F);{const T=mm(F);return()=>T.stop()}};function xJ(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>fC(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=fC(e,t,n);else{const i=typeof t=="function"?Uy(e,t,n.custom):t;r=lF(e,i,n)}return r.then(()=>e.notify("AnimationComplete",t))}function fC(e,t,n={}){var r;const i=Uy(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>lF(e,i,n):()=>Promise.resolve(),c=!((r=e.variantChildren)===null||r===void 0)&&r.size?(d=0)=>{const{delayChildren:p=0,staggerChildren:I,staggerDirection:P}=o;return wJ(e,t,p+d,I,P,n)}:()=>Promise.resolve(),{when:u}=o;if(u){const[d,p]=u==="beforeChildren"?[a,c]:[c,a];return d().then(p)}else return Promise.all([a(),c(n.delay)])}function lF(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:c,...u}=e.makeTargetAnimatable(t);const d=e.getValue("willChange");r&&(a=r);const p=[],I=i&&((o=e.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const P in u){const F=e.getValue(P),B=u[P];if(!F||B===void 0||I&&SJ(I,P))continue;let N={delay:n,elapsed:0,...a};if(e.shouldReduceMotion&&Rl.has(P)&&(N={...N,type:!1,delay:0}),!F.hasAnimated){const T=e.getProps()[k8];T&&(N.elapsed=A8(T,P))}let D=F.start(RI(P,F,B,N));hm(d)&&(d.add(P),D=D.then(()=>d.remove(P))),p.push(D)}return Promise.all(p).then(()=>{c&&b8(e,c)})}function wJ(e,t,n=0,r=0,i=1,o){const a=[],c=(e.variantChildren.size-1)*r,u=i===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(e.variantChildren).sort(CJ).forEach((d,p)=>{a.push(fC(d,t,{...o,delay:n+u(p)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function CJ(e,t){return e.sortNodePosition(t)}function SJ({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}const OI=[Mn.Animate,Mn.InView,Mn.Focus,Mn.Hover,Mn.Tap,Mn.Drag,Mn.Exit],AJ=[...OI].reverse(),IJ=OI.length;function kJ(e){return t=>Promise.all(t.map(({animation:n,options:r})=>xJ(e,n,r)))}function _J(e){let t=kJ(e);const n=TJ();let r=!0;const i=(u,d)=>{const p=Uy(e,d);if(p){const{transition:I,transitionEnd:P,...F}=p;u={...u,...F,...P}}return u};function o(u){t=u(e)}function a(u,d){const p=e.getProps(),I=e.getVariantContext(!0)||{},P=[],F=new Set;let B={},N=1/0;for(let T=0;T N&&x;const f=Array.isArray(L)?L:[L];let m=f.reduce(i,{});b===!1&&(m={});const{prevResolvedValues:E={}}=O,S={...E,...m},y=_=>{w=!0,F.delete(_),O.needsAnimating[_]=!0};for(const _ in S){const $=m[_],z=E[_];B.hasOwnProperty(_)||($!==z?cm($)&&cm(z)?!$N($,z)||g?y(_):O.protectedKeys[_]=!0:$!==void 0?y(_):F.add(_):$!==void 0&&F.has(_)?y(_):O.protectedKeys[_]=!0)}O.prevProp=L,O.prevResolvedValues=m,O.isActive&&(B={...B,...m}),r&&e.blockInitialAnimation&&(w=!1),w&&!C&&P.push(...f.map(_=>({animation:_,options:{type:M,...u}})))}if(F.size){const T={};F.forEach(M=>{const O=e.getBaseTarget(M);O!==void 0&&(T[M]=O)}),P.push({animation:T})}let D=Boolean(P.length);return r&&p.initial===!1&&!e.manuallyAnimateOnMount&&(D=!1),r=!1,D?t(P):Promise.resolve()}function c(u,d,p){var I;if(n[u].isActive===d)return Promise.resolve();(I=e.variantChildren)===null||I===void 0||I.forEach(F=>{var B;return(B=F.animationState)===null||B===void 0?void 0:B.setActive(u,d)}),n[u].isActive=d;const P=a(p,u);for(const F in n)n[F].protectedKeys={};return P}return{animateChanges:a,setActive:c,setAnimateFunction:o,getState:()=>n}}function EJ(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$N(t,e):!1}function Vs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function TJ(){return{[Mn.Animate]:Vs(!0),[Mn.InView]:Vs(),[Mn.Hover]:Vs(),[Mn.Tap]:Vs(),[Mn.Drag]:Vs(),[Mn.Focus]:Vs(),[Mn.Exit]:Vs()}}const PJ={animation:ds(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=_J(e)),zy(t)&&de.exports.useEffect(()=>t.subscribe(e),[t])}),exit:ds(e=>{const{custom:t,visualElement:n}=e,[r,i]=mI(),o=de.exports.useContext(mu);de.exports.useEffect(()=>{n.isPresent=r;const a=n.animationState&&n.animationState.setActive(Mn.Exit,!r,{custom:o&&o.custom||t});a&&!r&&a.then(i)},[r])})},ET=(e,t)=>Math.abs(e-t);function RJ(e,t){const n=ET(e.x,t.x),r=ET(e.y,t.y);return Math.sqrt(n**2+r**2)}class cF{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=z0(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,I=RJ(d.offset,{x:0,y:0})>=3;if(!p&&!I)return;const{point:P}=d,{timestamp:F}=Aa;this.history.push({...P,timestamp:F});const{onStart:B,onMove:N}=this.handlers;p||(B&&B(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,d)},this.handlePointerMove=(d,p)=>{if(this.lastMoveEvent=d,this.lastMoveEventInfo=V0(p,this.transformPagePoint),kN(d)&&d.buttons===0){this.handlePointerUp(d,p);return}xi.update(this.updatePoint,!0)},this.handlePointerUp=(d,p)=>{this.end();const{onEnd:I,onSessionEnd:P}=this.handlers,F=z0(V0(p,this.transformPagePoint),this.history);this.startEvent&&I&&I(d,F),P&&P(d,F)},_N(t)&&t.touches.length>1)return;this.handlers=n,this.transformPagePoint=r;const i=pI(t),o=V0(i,this.transformPagePoint),{point:a}=o,{timestamp:c}=Aa;this.history=[{...a,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,z0(o,this.history)),this.removeListeners=Zy(Mc(window,"pointermove",this.handlePointerMove),Mc(window,"pointerup",this.handlePointerUp),Mc(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Is.update(this.updatePoint)}}function V0(e,t){return t?{point:t(e.point)}:e}function TT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function z0({point:e},t){return{point:e,delta:TT(e,uF(t)),offset:TT(e,OJ(t)),velocity:MJ(t,.1)}}function OJ(e){return e[0]}function uF(e){return e[e.length-1]}function MJ(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=uF(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Pp(t)));)n--;if(!r)return{x:0,y:0};const o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ni(e){return e.max-e.min}function pC(e,t=0,n=.01){return Math.abs(e-t)<=n}function PT(e,t,n,r=.5){e.origin=r,e.originPoint=rr(t.min,t.max,e.origin),e.scale=Ni(n)/Ni(t),(pC(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=rr(n.min,n.max,e.origin)-e.originPoint,(pC(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Od(e,t,n,r){PT(e.x,t.x,n.x,r==null?void 0:r.originX),PT(e.y,t.y,n.y,r==null?void 0:r.originY)}function RT(e,t,n){e.min=n.min+t.min,e.max=e.min+Ni(t)}function LJ(e,t,n){RT(e.x,t.x,n.x),RT(e.y,t.y,n.y)}function OT(e,t,n){e.min=t.min-n.min,e.max=e.min+Ni(t)}function Md(e,t,n){OT(e.x,t.x,n.x),OT(e.y,t.y,n.y)}function DJ(e,{min:t,max:n},r){return t!==void 0&&e n&&(e=r?rr(n,e,r.max):Math.min(e,n)),e}function MT(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function $J(e,{top:t,left:n,bottom:r,right:i}){return{x:MT(e.x,n,i),y:MT(e.y,t,r)}}function LT(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min r?n=pm(t.min,t.max-r,e.min):r>i&&(n=pm(e.min,e.max-i,t.min)),Jc(0,1,n)}function BJ(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const gC=.35;function WJ(e=gC){return e===!1?e=0:e===!0&&(e=gC),{x:DT(e,"left","right"),y:DT(e,"top","bottom")}}function DT(e,t,n){return{min:$T(e,t),max:$T(e,n)}}function $T(e,t){return typeof e=="number"?e:e[t]||0}const NT=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ld=()=>({x:NT(),y:NT()}),FT=()=>({min:0,max:0}),xr=()=>({x:FT(),y:FT()});function Lo(e){return[e("x"),e("y")]}function dF({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function HJ({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function VJ(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function j0(e){return e===void 0||e===1}function mC({scale:e,scaleX:t,scaleY:n}){return!j0(e)||!j0(t)||!j0(n)}function Gs(e){return mC(e)||hF(e)||e.z||e.rotate||e.rotateX||e.rotateY}function hF(e){return BT(e.x)||BT(e.y)}function BT(e){return e&&e!=="0%"}function vm(e,t,n){const r=e-n,i=t*r;return n+i}function WT(e,t,n,r,i){return i!==void 0&&(e=vm(e,i,r)),vm(e,n,r)+t}function vC(e,t=0,n=1,r,i){e.min=WT(e.min,t,n,r,i),e.max=WT(e.max,t,n,r,i)}function fF(e,{x:t,y:n}){vC(e.x,t.translate,t.scale,t.originPoint),vC(e.y,n.translate,n.scale,n.originPoint)}function zJ(e,t,n,r=!1){var i,o;const a=n.length;if(!a)return;t.x=t.y=1;let c,u;for(let d=0;d1.0000000000001||e<.999999999999?e:1}function ts(e,t){e.min=e.min+t,e.max=e.max+t}function VT(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,a=rr(e.min,e.max,o);vC(e,t[n],t[r],a,t.scale)}const jJ=["x","scaleX","originX"],GJ=["y","scaleY","originY"];function fc(e,t){VT(e.x,t,jJ),VT(e.y,t,GJ)}function pF(e,t){return dF(VJ(e.getBoundingClientRect(),t))}function YJ(e,t,n){const r=pF(e,n),{scroll:i}=t;return i&&(ts(r.x,i.offset.x),ts(r.y,i.offset.y)),r}const ZJ=new WeakMap;class XJ{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xr(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){if(this.visualElement.isPresent===!1)return;const r=c=>{this.stopAnimation(),n&&this.snapToCursor(pI(c,"page").point)},i=(c,u)=>{var d;const{drag:p,dragPropagation:I,onDragStart:P}=this.getProps();p&&!I&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=RN(p),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lo(F=>{var B,N;let D=this.getAxisMotionValue(F).get()||0;if(Jo.test(D)){const T=(N=(B=this.visualElement.projection)===null||B===void 0?void 0:B.layout)===null||N===void 0?void 0:N.layoutBox[F];T&&(D=Ni(T)*(parseFloat(D)/100))}this.originPoint[F]=D}),P==null||P(c,u),(d=this.visualElement.animationState)===null||d===void 0||d.setActive(Mn.Drag,!0))},o=(c,u)=>{const{dragPropagation:d,dragDirectionLock:p,onDirectionLock:I,onDrag:P}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:F}=u;if(p&&this.currentDirection===null){this.currentDirection=UJ(F),this.currentDirection!==null&&(I==null||I(this.currentDirection));return}this.updateAxis("x",u.point,F),this.updateAxis("y",u.point,F),this.visualElement.render(),P==null||P(c,u)},a=(c,u)=>this.stop(c,u);this.panSession=new cF(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(t,n)}cancel(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(Mn.Drag,!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Zf(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=DJ(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&dc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=$J(r.layoutBox,t):this.constraints=!1,this.elastic=WJ(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Lo(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=BJ(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!dc(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=YJ(r,i.root,this.visualElement.getTransformPagePoint());let a=NJ(i.layout.layoutBox,o);if(n){const c=n(HJ(a));this.hasMutatedConstraints=!!c,c&&(a=dF(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=Lo(p=>{if(!Zf(p,n,this.currentDirection))return;let I=(u==null?void 0:u[p])||{};a&&(I={min:0,max:0});const P=i?200:1e6,F=i?40:1e7,B={type:"inertia",velocity:r?t[p]:0,bounceStiffness:P,bounceDamping:F,timeConstant:750,restDelta:1,restSpeed:10,...o,...I};return this.startAxisValueAnimation(p,B)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(RI(t,r,0,n))}stopAnimation(){Lo(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var n;const r="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(t,((n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])||0)}snapToCursor(t){Lo(n=>{const{drag:r}=this.getProps();if(!Zf(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:c}=i.layout.layoutBox[n];o.set(t[n]-rr(a,c,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!dc(r)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Lo(c=>{const u=this.getAxisMotionValue(c);if(u){const d=u.get();o[c]=FJ({min:d,max:d},this.constraints[c])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",(t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Lo(c=>{if(!Zf(c,n,null))return;const u=this.getAxisMotionValue(c),{min:d,max:p}=this.constraints[c];u.set(rr(d,p,o[c]))})}addListeners(){var t;if(!this.visualElement.current)return;ZJ.set(this.visualElement,this);const n=this.visualElement.current,r=Mc(n,"pointerdown",d=>{const{drag:p,dragListener:I=!0}=this.getProps();p&&I&&this.start(d)}),i=()=>{const{dragConstraints:d}=this.getProps();dc(d)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",i);o&&!o.layout&&((t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout()),i();const c=Yy(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",({delta:d,hasLayoutChanged:p})=>{this.isDragging&&p&&(Lo(I=>{const P=this.getAxisMotionValue(I);!P||(this.originPoint[I]+=d[I].translate,P.set(P.get()+d[I].translate))}),this.visualElement.render())});return()=>{c(),r(),a(),u==null||u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=gC,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:c}}}function Zf(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function UJ(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function KJ(e){const{dragControls:t,visualElement:n}=e,r=Gy(()=>new XJ(n));de.exports.useEffect(()=>t&&t.subscribe(r),[r,t]),de.exports.useEffect(()=>r.addListeners(),[r])}function JJ({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:r,visualElement:i}){const o=e||t||n||r,a=de.exports.useRef(null),{transformPagePoint:c}=de.exports.useContext(iI),u={onSessionStart:r,onStart:t,onMove:e,onEnd:(p,I)=>{a.current=null,n&&n(p,I)}};de.exports.useEffect(()=>{a.current!==null&&a.current.updateHandlers(u)});function d(p){a.current=new cF(p,u,{transformPagePoint:c})}um(i,"pointerdown",o&&d),gI(()=>a.current&&a.current.end())}const QJ={pan:ds(JJ),drag:ds(KJ)};function yC(e){return typeof e=="string"&&e.startsWith("var(--")}const gF=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function qJ(e){const t=gF.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function bC(e,t,n=1){const[r,i]=qJ(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():yC(i)?bC(i,t,n+1):i}function eQ(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!yC(o))return;const a=bC(o,r);a&&i.set(a)});for(const i in t){const o=t[i];if(!yC(o))continue;const a=bC(o,r);!a||(t[i]=a,n&&n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const tQ=new Set(["width","height","top","left","right","bottom","x","y"]),mF=e=>tQ.has(e),nQ=e=>Object.keys(e).some(mF),vF=(e,t)=>{e.set(t,!1),e.set(t)},zT=e=>e===Ol||e===Yt;var jT;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(jT||(jT={}));const GT=(e,t)=>parseFloat(e.split(", ")[t]),YT=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return GT(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?GT(o[1],e):0}},rQ=new Set(["x","y","z"]),iQ=sm.filter(e=>!rQ.has(e));function oQ(e){const t=[];return iQ.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ZT={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:YT(4,13),y:YT(5,14)},aQ=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,c={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(d=>{c[d]=ZT[d](r,o)}),t.render();const u=t.measureViewportBox();return n.forEach(d=>{const p=t.getValue(d);vF(p,c[d]),e[d]=ZT[d](u,o)}),e},sQ=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(mF);let o=[],a=!1;const c=[];if(i.forEach(u=>{const d=e.getValue(u);if(!e.hasValue(u))return;let p=n[u],I=Wu(p);const P=t[u];let F;if(cm(P)){const B=P.length,N=P[0]===null?1:0;p=P[N],I=Wu(p);for(let D=N;D=0?window.pageYOffset:null,d=aQ(t,e,c);return o.length&&o.forEach(([p,I])=>{e.getValue(p).set(I)}),e.render(),Pl&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function lQ(e,t,n,r){return nQ(t)?sQ(e,t,n,r):{target:t,transitionEnd:r}}const cQ=(e,t,n,r)=>{const i=eQ(e,t,r);return t=i.target,r=i.transitionEnd,lQ(e,t,n,r)},xC={current:null},yF={current:!1};function uQ(){if(yF.current=!0,!!Pl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xC.current=e.matches;e.addListener(t),t()}else xC.current=!1}function dQ(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(ta(o))e.addValue(i,o),hm(r)&&r.add(i);else if(ta(a))e.addValue(i,Qc(o,{owner:e})),hm(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const c=e.getValue(i);!c.hasAnimated&&c.set(o)}else{const c=e.getStaticValue(i);e.addValue(i,Qc(c!==void 0?c:o))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const bF=Object.keys(gh),hQ=bF.length,XT=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class fQ{constructor({parent:t,props:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{!this.current||(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>xi.render(this.render,!1,!0);const{latestValues:a,renderState:c}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=c,this.parent=t,this.props=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=jy(n),this.isVariantNode=fN(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(n);for(const p in d){const I=d[p];a[p]!==void 0&&ta(I)&&(I.set(a[p],!1),hm(u)&&u.add(p))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var n;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),yF.current||uQ(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:xC.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,n,r;(t=this.projection)===null||t===void 0||t.unmount(),Is.update(this.notifyUpdate),Is.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(r=this.parent)===null||r===void 0||r.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(t,n){const r=Rl.has(t),i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&xi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,n,r,i,o,a){const c=[];for(let u=0;u this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:a,layoutScroll:P})}return c}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xr()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let n=0;n r.variantChildren.delete(t)}addValue(t,n){this.hasValue(t)&&this.removeValue(t),this.values.set(t,n),this.latestValues[t]=n.get(),this.bindToMotionValue(t,n)}removeValue(t){var n;this.values.delete(t),(n=this.valueSubscriptions.get(t))===null||n===void 0||n(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Qc(n,{owner:this}),this.addValue(t,r)),r}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=fI(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ta(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new bI),this.events[t].add(n)}notify(t,...n){var r;(r=this.events[t])===null||r===void 0||r.notify(...n)}}const xF=["initial",...OI],pQ=xF.length;class wF extends fQ{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){var r;return(r=t.style)===null||r===void 0?void 0:r[n]}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let a=C8(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){x8(this,r,a);const c=cQ(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function gQ(e){return window.getComputedStyle(e)}class mQ extends wF{readValueFromInstance(t,n){if(Rl.has(n)){const r=CI(n);return r&&r.default||0}else{const r=gQ(t),i=(mN(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return pF(t,n)}build(t,n,r,i){sI(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t){return hI(t)}renderInstance(t,n,r,i){wN(t,n,r,i)}}class vQ extends wF{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){var r;return Rl.has(n)?((r=CI(n))===null||r===void 0?void 0:r.default)||0:(n=CN.has(n)?n:dI(n),t.getAttribute(n))}measureInstanceViewportBox(){return xr()}scrapeMotionValuesFromProps(t){return AN(t)}build(t,n,r,i){cI(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){SN(t,n,r,i)}mount(t){this.isSVGTag=uI(t.tagName),super.mount(t)}}const yQ=(e,t)=>aI(e)?new vQ(t,{enableHardwareAcceleration:!1}):new mQ(t,{enableHardwareAcceleration:!0});function UT(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Hu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Yt.test(e))e=parseFloat(e);else return e;const n=UT(e,t.target.x),r=UT(e,t.target.y);return`${n}% ${r}%`}},KT="_$css",bQ={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=e.includes("var("),o=[];i&&(e=e.replace(gF,F=>(o.push(F),KT)));const a=ks.parse(e);if(a.length>5)return r;const c=ks.createTransformer(e),u=typeof a[0]!="number"?1:0,d=n.x.scale*t.x,p=n.y.scale*t.y;a[0+u]/=d,a[1+u]/=p;const I=rr(d,p,.5);typeof a[2+u]=="number"&&(a[2+u]/=I),typeof a[3+u]=="number"&&(a[3+u]/=I);let P=c(a);if(i){let F=0;P=P.replace(KT,()=>{const B=o[F];return F++,B})}return P}};class xQ extends vt.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Z6(CQ),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Td.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||xi.postRender(()=>{var c;!((c=a.getStack())===null||c===void 0)&&c.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),r!=null&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t==null||t()}render(){return null}}function wQ(e){const[t,n]=mI(),r=de.exports.useContext(oI);return Se(xQ,{...e,layoutGroup:r,switchLayoutGroup:de.exports.useContext(pN),isPresent:t,safeToRemove:n})}const CQ={borderRadius:{...Hu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Hu,borderTopRightRadius:Hu,borderBottomLeftRadius:Hu,borderBottomRightRadius:Hu,boxShadow:bQ},SQ={measureLayout:wQ};function AQ(e,t,n={}){const r=ta(e)?e:Qc(e);return r.start(RI("",r,t,n)),{stop:()=>r.stop(),isAnimating:()=>r.isAnimating()}}const CF=["TopLeft","TopRight","BottomLeft","BottomRight"],IQ=CF.length,JT=e=>typeof e=="string"?parseFloat(e):e,QT=e=>typeof e=="number"||Yt.test(e);function kQ(e,t,n,r,i,o){i?(e.opacity=rr(0,n.opacity!==void 0?n.opacity:1,_Q(r)),e.opacityExit=rr(t.opacity!==void 0?t.opacity:1,0,EQ(r))):o&&(e.opacity=rr(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a r t?1:n(pm(e,t,r))}function e2(e,t){e.min=t.min,e.max=t.max}function ho(e,t){e2(e.x,t.x),e2(e.y,t.y)}function t2(e,t,n,r,i){return e-=t,e=vm(e,1/n,r),i!==void 0&&(e=vm(e,1/i,r)),e}function TQ(e,t=0,n=1,r=.5,i,o=e,a=e){if(Jo.test(t)&&(t=parseFloat(t),t=rr(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=rr(o.min,o.max,r);e===o&&(c-=t),e.min=t2(e.min,t,n,c,i),e.max=t2(e.max,t,n,c,i)}function n2(e,t,[n,r,i],o,a){TQ(e,t[n],t[r],t[i],t.scale,o,a)}const PQ=["x","scaleX","originX"],RQ=["y","scaleY","originY"];function r2(e,t,n,r){n2(e.x,t,PQ,n==null?void 0:n.x,r==null?void 0:r.x),n2(e.y,t,RQ,n==null?void 0:n.y,r==null?void 0:r.y)}function i2(e){return e.translate===0&&e.scale===1}function AF(e){return i2(e.x)&&i2(e.y)}function IF(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function o2(e){return Ni(e.x)/Ni(e.y)}class OQ{constructor(){this.members=[]}add(t){vI(this.members,t),t.scheduleRender()}remove(t){if(yI(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){var r;const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function a2(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:u,rotateX:d,rotateY:p}=n;u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),p&&(r+=`rotateY(${p}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const MQ=(e,t)=>e.depth-t.depth;class LQ{constructor(){this.children=[],this.isDirty=!1}add(t){vI(this.children,t),this.isDirty=!0}remove(t){yI(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(MQ),this.isDirty=!1,this.children.forEach(t)}}const s2=["","X","Y","Z"],l2=1e3;let DQ=0;function kF({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a,c={},u=t==null?void 0:t()){this.id=DQ++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(FQ),this.nodes.forEach(HQ),this.nodes.forEach(VQ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=a,this.latestValues=c,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(let d=0;d this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,P&&P(),P=oF(F,250),Td.hasAnimatedSinceResize&&(Td.hasAnimatedSinceResize=!1,this.nodes.forEach(u2))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&I&&(d||p)&&this.addEventListener("didUpdate",({delta:P,hasLayoutChanged:F,hasRelativeTargetChanged:B,layout:N})=>{var D,T,M,O,L;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=(T=(D=this.options.transition)!==null&&D!==void 0?D:I.getDefaultTransition())!==null&&T!==void 0?T:ZQ,{onLayoutAnimationStart:b,onLayoutAnimationComplete:C}=I.getProps(),g=!this.targetLayout||!IF(this.targetLayout,N)||B,w=!F&&B;if(((M=this.resumeFrom)===null||M===void 0?void 0:M.instance)||w||F&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(P,w);const f={...aF(x,"layout"),onPlay:b,onComplete:C};I.shouldReduceMotion&&(f.delay=0,f.type=!1),this.startAnimation(f)}else!F&&this.animationProgress===0&&u2(this),this.isLead()&&((L=(O=this.options).onExitComplete)===null||L===void 0||L.call(O));this.targetLayout=N})}unmount(){var a,c;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(c=this.parent)===null||c===void 0||c.children.delete(this),this.instance=void 0,Is.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1}startUpdate(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(zQ),this.animationId++)}willUpdate(a=!0){var c,u,d;if(this.root.isUpdateBlocked()){(u=(c=this.options).onExitComplete)===null||u===void 0||u.call(c);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let F=0;F {this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var a;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u {var O;const L=M/1e3;d2(F.x,a.x,L),d2(F.y,a.y,L),this.setTargetDelta(F),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&((O=this.relativeParent)===null||O===void 0?void 0:O.layout)&&(Md(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox),GQ(this.relativeTarget,this.relativeTargetOrigin,B,L)),N&&(this.animationValues=P,kQ(P,I,this.latestValues,L,T,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(0)}startAnimation(a){var c,u;this.notifyListeners("animationStart"),(c=this.currentAnimation)===null||c===void 0||c.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Is.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xi.update(()=>{Td.hasAnimatedSinceResize=!0,this.currentAnimation=AQ(0,l2,{...a,onUpdate:d=>{var p;this.mixTargetDelta(d),(p=a.onUpdate)===null||p===void 0||p.call(a,d)},onComplete:()=>{var d;(d=a.onComplete)===null||d===void 0||d.call(a),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,l2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:d,latestValues:p}=a;if(!(!c||!u||!d)){if(this!==a&&this.layout&&d&&_F(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||xr();const I=Ni(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+I;const P=Ni(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+P}ho(c,u),fc(c,p),Od(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(a,c){var u,d,p;this.sharedNodes.has(a)||this.sharedNodes.set(a,new OQ),this.sharedNodes.get(a).add(c),c.promote({transition:(u=c.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(p=(d=c.options.initialPromotionConfig)===null||d===void 0?void 0:d.shouldPreserveFollowOpacity)===null||p===void 0?void 0:p.call(d,c)})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:u}=a;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(c=!0),!c)return;const d={};for(let p=0;p {var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(c2),this.root.sharedNodes.clear()}}}function $Q(e){e.updateLayout()}function NQ(e){var t,n,r;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:c}=e.options,u=i.source!==e.layout.source;c==="size"?Lo(F=>{const B=u?i.measuredBox[F]:i.layoutBox[F],N=Ni(B);B.min=o[F].min,B.max=B.min+N}):_F(c,i.layoutBox,o)&&Lo(F=>{const B=u?i.measuredBox[F]:i.layoutBox[F],N=Ni(o[F]);B.max=B.min+N});const d=Ld();Od(d,o,i.layoutBox);const p=Ld();u?Od(p,e.applyTransform(a,!0),i.measuredBox):Od(p,o,i.layoutBox);const I=!AF(d);let P=!1;if(!e.resumeFrom){const F=e.getClosestProjectingParent();if(F&&!F.resumeFrom){const{snapshot:B,layout:N}=F;if(B&&N){const D=xr();Md(D,i.layoutBox,B.layoutBox);const T=xr();Md(T,o,N.layoutBox),IF(D,T)||(P=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:p,layoutDelta:d,hasLayoutChanged:I,hasRelativeTargetChanged:P})}else e.isLead()&&((r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n));e.options.transition=void 0}function FQ(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function BQ(e){e.clearSnapshot()}function c2(e){e.clearMeasurements()}function WQ(e){const{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function u2(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function HQ(e){e.resolveTargetDelta()}function VQ(e){e.calcProjection()}function zQ(e){e.resetRotation()}function jQ(e){e.removeLeadSnapshot()}function d2(e,t,n){e.translate=rr(t.translate,0,n),e.scale=rr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function h2(e,t,n,r){e.min=rr(t.min,n.min,r),e.max=rr(t.max,n.max,r)}function GQ(e,t,n,r){h2(e.x,t.x,n.x,r),h2(e.y,t.y,n.y,r)}function YQ(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const ZQ={duration:.45,ease:[.4,0,.1,1]};function XQ(e,t){let n=e.root;for(let o=e.path.length-1;o>=0;o--)if(Boolean(e.path[o].instance)){n=e.path[o];break}const i=(n&&n!==e.root?n.instance:document).querySelector(`[data-projection-id="${t}"]`);i&&e.mount(i,!0)}function f2(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function UQ(e){f2(e.x),f2(e.y)}function _F(e,t,n){return e==="position"||e==="preserve-aspect"&&!pC(o2(t),o2(n),.2)}const KQ=kF({attachResizeListener:(e,t)=>Yy(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),G0={current:void 0},JQ=kF({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!G0.current){const e=new KQ(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),G0.current=e}return G0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),QQ={...PJ,...Y7,...QJ,...SQ},aa=G6((e,t)=>S7(e,t,QQ,yQ,JQ));function EF(){const e=de.exports.useRef(!1);return Ed(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function qQ(){const e=EF(),[t,n]=de.exports.useState(0),r=de.exports.useCallback(()=>{e.current&&n(t+1)},[t]);return[de.exports.useCallback(()=>xi.postRender(r),[r]),t]}class eq extends de.exports.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function tq({children:e,isPresent:t}){const n=de.exports.useId(),r=de.exports.useRef(null),i=de.exports.useRef({width:0,height:0,top:0,left:0});return de.exports.useInsertionEffect(()=>{const{width:o,height:a,top:c,left:u}=i.current;if(t||!r.current||!o||!a)return;r.current.dataset.motionPopId=n;const d=document.createElement("style");return document.head.appendChild(d),d.sheet&&d.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${o}px !important; @@ -345,8 +345,8 @@ Error generating stack: `+o.message+` top: ${c}px !important; left: ${u}px !important; } - `),()=>{document.head.removeChild(d)}},[t]),Ae(eq,{isPresent:t,childRef:r,sizeRef:i,children:de.exports.cloneElement(e,{ref:r})})}const Y0=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const c=Gy(nq),u=de.exports.useId(),d=de.exports.useMemo(()=>({id:u,initial:t,isPresent:n,custom:i,onExitComplete:p=>{c.set(p,!0);for(const I of c.values())if(!I)return;r&&r()},register:p=>(c.set(p,!1),()=>c.delete(p))}),o?void 0:[n]);return de.exports.useMemo(()=>{c.forEach((p,I)=>c.set(I,!1))},[n]),de.exports.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),a==="popLayout"&&(e=Ae(tq,{isPresent:n,children:e})),Ae(mu.Provider,{value:d,children:e})};function nq(){return new Map}const Jl=e=>e.key||"";function rq(e,t){e.forEach(n=>{const r=Jl(n);t.set(r,n)})}function iq(e){const t=[];return de.exports.Children.forEach(e,n=>{de.exports.isValidElement(n)&&t.push(n)}),t}const Ml=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait",DN(!1,"Replace exitBeforeEnter with mode='wait'"));let[c]=qQ();const u=de.exports.useContext(oI).forceRender;u&&(c=u);const d=EF(),p=iq(e);let I=p;const P=new Set,F=de.exports.useRef(I),B=de.exports.useRef(new Map).current,N=de.exports.useRef(!0);if(Ed(()=>{N.current=!1,rq(p,B),F.current=I}),gI(()=>{N.current=!0,B.clear(),P.clear()}),N.current)return Ae(Ao,{children:I.map(O=>Ae(Y0,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a,children:O},Jl(O)))});I=[...I];const D=F.current.map(Jl),T=p.map(Jl),M=D.length;for(let O=0;O {if(T.indexOf(O)!==-1)return;const L=B.get(O);if(!L)return;const x=D.indexOf(O),b=()=>{B.delete(O),P.delete(O);const C=F.current.findIndex(g=>g.key===O);if(F.current.splice(C,1),!P.size){if(F.current=p,d.current===!1)return;c(),r&&r()}};I.splice(x,0,Ae(Y0,{isPresent:!1,onExitComplete:b,custom:t,presenceAffectsLayout:o,mode:a,children:L},Jl(L)))}),I=I.map(O=>{const L=O.key;return P.has(L)?O:Ae(Y0,{isPresent:!0,presenceAffectsLayout:o,mode:a,children:O},Jl(O))}),LN!=="production"&&a==="wait"&&I.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),Ae(Ao,{children:P.size?I:I.map(O=>de.exports.cloneElement(O))})};var Bo=function(){return Bo=Object.assign||function(t){for(var n,r=1,i=arguments.length;r{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},PF=de.exports.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:c=5e3,containerStyle:u,motionVariants:d=aq,toastSpacing:p="0.5rem"}=e,[I,P]=de.exports.useState(c),F=Z7();La(()=>{F||r==null||r()},[F]),La(()=>{P(c)},[c]);const B=()=>P(null),N=()=>P(c),D=()=>{F&&i()};de.exports.useEffect(()=>{F&&o&&i()},[F,o,i]),R6(D,I);const T=de.exports.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:p,...u}),[u,p]),M=de.exports.useMemo(()=>T6(a),[a]);return Ae(aa.li,{layout:!0,className:"chakra-toast",variants:d,initial:"initial",animate:"animate",exit:"exit",onHoverStart:B,onHoverEnd:N,custom:{position:a},style:M,children:Ae(pt.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:T,children:Ki(n,{id:t,onClose:D})})})});PF.displayName="ToastComponent";function sq(e,t){var n;const r=e!=null?e:"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[r];return(n=o==null?void 0:o[t])!=null?n:r}var pP={path:It("g",{stroke:"currentColor",strokeWidth:"1.5",children:[Ae("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),Ae("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),Ae("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Wa=At((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:c,__css:u,...d}=e,p=Bt("chakra-icon",c),I=Eo("Icon",e),P={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...u,...I},F={ref:t,focusable:o,className:p,__css:P},B=r!=null?r:pP.viewBox;if(n&&typeof n!="string")return Ae(pt.svg,{as:n,...F,...d});const N=a!=null?a:pP.path;return Ae(pt.svg,{verticalAlign:"middle",viewBox:B,...F,...d,children:N})});Wa.displayName="Icon";function lq(e){return Ae(Wa,{viewBox:"0 0 24 24",...e,children:Ae("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function cq(e){return Ae(Wa,{viewBox:"0 0 24 24",...e,children:Ae("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function gP(e){return Ae(Wa,{viewBox:"0 0 24 24",...e,children:Ae("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var uq=Ms({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),MI=At((e,t)=>{const n=Eo("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:c,...u}=Dn(e),d=Bt("chakra-spinner",c),p={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${uq} ${o} linear infinite`,...n};return Ae(pt.div,{ref:t,__css:p,className:d,...u,children:r&&Ae(pt.span,{srOnly:!0,children:r})})});MI.displayName="Spinner";var[dq,LI]=In({name:"AlertContext",hookName:"useAlertContext",providerName:" "}),[hq,DI]=In({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:" "}),RF={info:{icon:cq,colorScheme:"blue"},warning:{icon:gP,colorScheme:"orange"},success:{icon:lq,colorScheme:"green"},error:{icon:gP,colorScheme:"red"},loading:{icon:MI,colorScheme:"blue"}};function fq(e){return RF[e].colorScheme}function pq(e){return RF[e].icon}var OF=At(function(t,n){const r=DI(),{status:i}=LI(),o={display:"inline",...r.description};return Ae(pt.div,{ref:n,"data-status":i,...t,className:Bt("chakra-alert__desc",t.className),__css:o})});OF.displayName="AlertDescription";function MF(e){const{status:t}=LI(),n=pq(t),r=DI(),i=t==="loading"?r.spinner:r.icon;return Ae(pt.span,{display:"inherit","data-status":t,...e,className:Bt("chakra-alert__icon",e.className),__css:i,children:e.children||Ae(n,{h:"100%",w:"100%"})})}MF.displayName="AlertIcon";var LF=At(function(t,n){const r=DI(),{status:i}=LI();return Ae(pt.div,{ref:n,"data-status":i,...t,className:Bt("chakra-alert__title",t.className),__css:r.title})});LF.displayName="AlertTitle";var DF=At(function(t,n){var r;const{status:i="info",addRole:o=!0,...a}=Dn(t),c=(r=t.colorScheme)!=null?r:fq(i),u=Vr("Alert",{...t,colorScheme:c}),d={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...u.container};return Ae(dq,{value:{status:i},children:Ae(hq,{value:u,children:Ae(pt.div,{"data-status":i,role:o?"alert":void 0,ref:n,...a,className:Bt("chakra-alert",t.className),__css:d})})})});DF.displayName="Alert";function gq(e){return Ae(Wa,{focusable:"false","aria-hidden":!0,...e,children:Ae("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var Ky=At(function(t,n){const r=Eo("CloseButton",t),{children:i,isDisabled:o,__css:a,...c}=Dn(t),u={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return Ae(pt.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...u,...r,...a},...c,children:i||Ae(gq,{width:"1em",height:"1em"})})});Ky.displayName="CloseButton";var mq={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Wo=vq(mq);function vq(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(c=>c.id!=i)}))},notify:(i,o)=>{const a=yq(i,o),{position:c,id:u}=a;return r(d=>{var p,I;const F=c.includes("top")?[a,...(p=d[c])!=null?p:[]]:[...(I=d[c])!=null?I:[],a];return{...d,[c]:F}}),u},update:(i,o)=>{!i||r(a=>{const c={...a},{position:u,index:d}=uT(c,i);return u&&d!==-1&&(c[u][d]={...c[u][d],...o,message:$F(o)}),c})},closeAll:({positions:i}={})=>{r(o=>{const a=["bottom","bottom-right","bottom-left","top","top-left","top-right"];return(i!=null?i:a).reduce((u,d)=>(u[d]=o[d].map(p=>({...p,requestClose:!0})),u),{...o})})},close:i=>{r(o=>{const a=dN(o,i);return a?{...o,[a]:o[a].map(c=>c.id==i?{...c,requestClose:!0}:c)}:o})},isActive:i=>Boolean(uT(Wo.getState(),i).position)}}var mP=0;function yq(e,t={}){var n,r;mP+=1;const i=(n=t.id)!=null?n:mP,o=(r=t.position)!=null?r:"bottom";return{id:i,message:e,position:o,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Wo.removeToast(String(i),o),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var bq=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:c,colorScheme:u,icon:d}=e,p=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return It(DF,{addRole:!1,status:t,variant:n,id:p==null?void 0:p.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:u,children:[Ae(MF,{children:d}),It(pt.div,{flex:"1",maxWidth:"100%",children:[i&&Ae(LF,{id:p==null?void 0:p.title,children:i}),c&&Ae(OF,{id:p==null?void 0:p.description,display:"block",children:c})]}),o&&Ae(Ky,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function $F(e={}){const{render:t,toastComponent:n=bq}=e;return i=>typeof t=="function"?t({...i,...e}):Ae(n,{...i,...e})}function xq(e,t){const n=i=>{var o;return{...t,...i,position:sq((o=i==null?void 0:i.position)!=null?o:t==null?void 0:t.position,e)}},r=i=>{const o=n(i),a=$F(o);return Wo.notify(a,o)};return r.update=(i,o)=>{Wo.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(c=>r.update(a,{status:"success",duration:5e3,...Ki(o.success,c)})).catch(c=>r.update(a,{status:"error",duration:5e3,...Ki(o.error,c)}))},r.closeAll=Wo.closeAll,r.close=Wo.close,r.isActive=Wo.isActive,r}var[wq,Cq]=In({name:"ToastOptionsContext",strict:!1}),Sq=e=>{const t=de.exports.useSyncExternalStore(Wo.subscribe,Wo.getState,Wo.getState),{motionVariants:n,component:r=PF,portalProps:i}=e,a=Object.keys(t).map(c=>{const u=t[c];return Ae("ul",{role:"region","aria-live":"polite",id:`chakra-toast-manager-${c}`,style:P6(c),children:Ae(Ml,{initial:!1,children:u.map(d=>Ae(r,{motionVariants:n,...d},d.id))})},c)});return Ae(gu,{...i,children:a})};function tke(e){const{theme:t}=k$(),n=Cq();return de.exports.useMemo(()=>xq(t.direction,{...n,...e}),[e,t.direction,n])}var Aq=e=>function({children:n,theme:r=e,toastOptions:i,...o}){return It(_6,{theme:r,...o,children:[Ae(wq,{value:i==null?void 0:i.defaultOptions,children:n}),Ae(Sq,{...i})]})},nke=Aq(J$),Iq=Object.defineProperty,kq=(e,t,n)=>t in e?Iq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,er=(e,t,n)=>(kq(e,typeof t!="symbol"?t+"":t,n),n);function vP(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var _q=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function yP(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function bP(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var wC=typeof window<"u"?de.exports.useLayoutEffect:de.exports.useEffect,ym=e=>e,Eq=class{constructor(){er(this,"descendants",new Map),er(this,"register",e=>{if(e!=null)return _q(e)?this.registerNode(e):t=>{this.registerNode(t,e)}}),er(this,"unregister",e=>{this.descendants.delete(e);const t=vP(Array.from(this.descendants.keys()));this.assignIndex(t)}),er(this,"destroy",()=>{this.descendants.clear()}),er(this,"assignIndex",e=>{this.descendants.forEach(t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()})}),er(this,"count",()=>this.descendants.size),er(this,"enabledCount",()=>this.enabledValues().length),er(this,"values",()=>Array.from(this.descendants.values()).sort((t,n)=>t.index-n.index)),er(this,"enabledValues",()=>this.values().filter(e=>!e.disabled)),er(this,"item",e=>{if(this.count()!==0)return this.values()[e]}),er(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]}),er(this,"first",()=>this.item(0)),er(this,"firstEnabled",()=>this.enabledItem(0)),er(this,"last",()=>this.item(this.descendants.size-1)),er(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)}),er(this,"indexOf",e=>{var t,n;return e&&(n=(t=this.descendants.get(e))==null?void 0:t.index)!=null?n:-1}),er(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e))),er(this,"next",(e,t=!0)=>{const n=yP(e,this.count(),t);return this.item(n)}),er(this,"nextEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=yP(r,this.enabledCount(),t);return this.enabledItem(i)}),er(this,"prev",(e,t=!0)=>{const n=bP(e,this.count()-1,t);return this.item(n)}),er(this,"prevEnabled",(e,t=!0)=>{const n=this.item(e);if(!n)return;const r=this.enabledIndexOf(n.node),i=bP(r,this.enabledCount()-1,t);return this.enabledItem(i)}),er(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const n=Array.from(this.descendants.keys()).concat(e),r=vP(n);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(r)})}};function Tq(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function _n(...e){return t=>{e.forEach(n=>{Tq(n,t)})}}function Pq(...e){return de.exports.useMemo(()=>_n(...e),e)}function Rq(){const e=de.exports.useRef(new Eq);return wC(()=>()=>e.current.destroy()),e.current}var[Oq,NF]=In({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function Mq(e){const t=NF(),[n,r]=de.exports.useState(-1),i=de.exports.useRef(null);wC(()=>()=>{!i.current||t.unregister(i.current)},[]),wC(()=>{if(!i.current)return;const a=Number(i.current.dataset.index);n!=a&&!Number.isNaN(a)&&r(a)});const o=ym(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:_n(o,i)}}function $I(){return[ym(Oq),()=>ym(NF()),()=>Rq(),i=>Mq(i)]}var[Lq,Jy]=In({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:" "}),[Dq,NI]=In({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:" "}),[$q,rke,Nq,Fq]=$I(),Bq=At(function(t,n){const{getButtonProps:r}=NI(),i=r(t,n),a={display:"flex",alignItems:"center",width:"100%",outline:0,...Jy().button};return Ae(pt.button,{...i,className:Bt("chakra-accordion__button",t.className),__css:a})});Bq.displayName="AccordionButton";function Qy(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(P,F)=>P!==F}=e,o=nr(r),a=nr(i),[c,u]=de.exports.useState(n),d=t!==void 0,p=d?t:c,I=nr(P=>{const B=typeof P=="function"?P(p):P;!a(p,B)||(d||u(B),o(B))},[d,o,p,a]);return[p,I]}function Wq(e){const{onChange:t,defaultIndex:n,index:r,allowMultiple:i,allowToggle:o,...a}=e;Vq(e),jq(e);const c=Nq(),[u,d]=de.exports.useState(-1);de.exports.useEffect(()=>()=>{d(-1)},[]);const[p,I]=Qy({value:r,defaultValue(){return i?n!=null?n:[]:n!=null?n:-1},onChange:t});return{index:p,setIndex:I,htmlProps:a,getAccordionItemProps:F=>{let B=!1;return F!==null&&(B=Array.isArray(p)?p.includes(F):p===F),{isOpen:B,onChange:D=>{if(F!==null)if(i&&Array.isArray(p)){const T=D?p.concat(F):p.filter(M=>M!==F);I(T)}else D?I(F):o&&I(-1)}}},focusedIndex:u,setFocusedIndex:d,descendants:c}}var[Hq,FI]=In({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function zq(e){const{isDisabled:t,isFocusable:n,id:r,...i}=e,{getAccordionItemProps:o,setFocusedIndex:a}=FI(),c=de.exports.useRef(null),u=de.exports.useId(),d=r!=null?r:u,p=`accordion-button-${d}`,I=`accordion-panel-${d}`;Gq(e);const{register:P,index:F,descendants:B}=Fq({disabled:t&&!n}),{isOpen:N,onChange:D}=o(F===-1?null:F);Yq({isOpen:N,isDisabled:t});const T=()=>{D==null||D(!0)},M=()=>{D==null||D(!1)},O=de.exports.useCallback(()=>{D==null||D(!N),a(F)},[F,a,N,D]),L=de.exports.useCallback(g=>{const f={ArrowDown:()=>{const m=B.nextEnabled(F);m==null||m.node.focus()},ArrowUp:()=>{const m=B.prevEnabled(F);m==null||m.node.focus()},Home:()=>{const m=B.firstEnabled();m==null||m.node.focus()},End:()=>{const m=B.lastEnabled();m==null||m.node.focus()}}[g.key];f&&(g.preventDefault(),f(g))},[B,F]),x=de.exports.useCallback(()=>{a(F)},[a,F]),b=de.exports.useCallback(function(w={},f=null){return{...w,type:"button",ref:_n(P,c,f),id:p,disabled:!!t,"aria-expanded":!!N,"aria-controls":I,onClick:Wt(w.onClick,O),onFocus:Wt(w.onFocus,x),onKeyDown:Wt(w.onKeyDown,L)}},[p,t,N,O,x,L,I,P]),C=de.exports.useCallback(function(w={},f=null){return{...w,ref:f,role:"region",id:I,"aria-labelledby":p,hidden:!N}},[p,N,I]);return{isOpen:N,isDisabled:t,isFocusable:n,onOpen:T,onClose:M,getButtonProps:b,getPanelProps:C,htmlProps:i}}function Vq(e){const t=e.index||e.defaultIndex,n=t!=null&&!Array.isArray(t)&&e.allowMultiple;Qh({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})}function jq(e){Qh({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}function Gq(e){Qh({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. - `})}function Yq(e){Qh({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Zq(e){const{isOpen:t,isDisabled:n}=NI(),{reduceMotion:r}=FI(),i=Bt("chakra-accordion__icon",e.className),o=Jy(),a={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:r?void 0:"transform 0.2s",transformOrigin:"center",...o.icon};return Ae(Wa,{viewBox:"0 0 24 24","aria-hidden":!0,className:i,__css:a,...e,children:Ae("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}Zq.displayName="AccordionIcon";var Xq=At(function(t,n){const{children:r,className:i}=t,{htmlProps:o,...a}=zq(t),u={...Jy().container,overflowAnchor:"none"},d=de.exports.useMemo(()=>a,[a]);return Ae(Dq,{value:d,children:Ae(pt.div,{ref:n,...o,className:Bt("chakra-accordion__item",i),__css:u,children:typeof r=="function"?r({isExpanded:!!a.isOpen,isDisabled:!!a.isDisabled}):r})})});Xq.displayName="AccordionItem";var pc={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},ll={enter:{duration:.2,ease:pc.easeOut},exit:{duration:.1,ease:pc.easeIn}},Ia={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},Uq=e=>e!=null&&parseInt(e.toString(),10)>0,xP={exit:{height:{duration:.2,ease:pc.ease},opacity:{duration:.3,ease:pc.ease}},enter:{height:{duration:.3,ease:pc.ease},opacity:{duration:.4,ease:pc.ease}}},Kq={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>{var o;return{...e&&{opacity:Uq(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(o=n==null?void 0:n.exit)!=null?o:Ia.exit(xP.exit,i)}},enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>{var o;return{...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(o=n==null?void 0:n.enter)!=null?o:Ia.enter(xP.enter,i)}}},FF=de.exports.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:c,className:u,transition:d,transitionEnd:p,...I}=e,[P,F]=de.exports.useState(!1);de.exports.useEffect(()=>{const M=setTimeout(()=>{F(!0)});return()=>clearTimeout(M)},[]),Qh({condition:Number(o)>0&&!!r,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const B=parseFloat(o.toString())>0,N={startingHeight:o,endingHeight:a,animateOpacity:i,transition:P?d:{enter:{duration:0}},transitionEnd:{enter:p==null?void 0:p.enter,exit:r?p==null?void 0:p.exit:{...p==null?void 0:p.exit,display:B?"block":"none"}}},D=r?n:!0,T=n||r?"enter":"exit";return Ae(Ml,{initial:!1,custom:N,children:D&&Ae(aa.div,{ref:t,...I,className:Bt("chakra-collapse",u),style:{overflow:"hidden",display:"block",...c},custom:N,variants:Kq,initial:r?"exit":!1,animate:T,exit:"exit"})})});FF.displayName="Collapse";var Jq={enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:(r=e==null?void 0:e.enter)!=null?r:Ia.enter(ll.enter,n),transitionEnd:t==null?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:(r=e==null?void 0:e.exit)!=null?r:Ia.exit(ll.exit,n),transitionEnd:t==null?void 0:t.exit}}},BF={initial:"exit",animate:"enter",exit:"exit",variants:Jq},Qq=de.exports.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:c,delay:u,...d}=t,p=i||r?"enter":"exit",I=r?i&&r:!0,P={transition:a,transitionEnd:c,delay:u};return Ae(Ml,{custom:P,children:I&&Ae(aa.div,{ref:n,className:Bt("chakra-fade",o),custom:P,...BF,animate:p,...d})})});Qq.displayName="Fade";var qq={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>{var o;return{opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(o=n==null?void 0:n.exit)!=null?o:Ia.exit(ll.exit,i)}},enter:({transitionEnd:e,transition:t,delay:n})=>{var r;return{opacity:1,scale:1,transition:(r=t==null?void 0:t.enter)!=null?r:Ia.enter(ll.enter,n),transitionEnd:e==null?void 0:e.enter}}},WF={initial:"exit",animate:"enter",exit:"exit",variants:qq},eee=de.exports.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:c,transition:u,transitionEnd:d,delay:p,...I}=t,P=r?i&&r:!0,F=i||r?"enter":"exit",B={initialScale:a,reverse:o,transition:u,transitionEnd:d,delay:p};return Ae(Ml,{custom:B,children:P&&Ae(aa.div,{ref:n,className:Bt("chakra-offset-slide",c),...WF,animate:F,custom:B,...I})})});eee.displayName="ScaleFade";var tee={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>{var o;return{opacity:0,x:e,y:t,transition:(o=n==null?void 0:n.exit)!=null?o:Ia.exit(ll.exit,i),transitionEnd:r==null?void 0:r.exit}},enter:({transition:e,transitionEnd:t,delay:n})=>{var r;return{opacity:1,x:0,y:0,transition:(r=e==null?void 0:e.enter)!=null?r:Ia.enter(ll.enter,n),transitionEnd:t==null?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{var a;const c={x:t,y:e};return{opacity:0,transition:(a=n==null?void 0:n.exit)!=null?a:Ia.exit(ll.exit,o),...i?{...c,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...c,...r==null?void 0:r.exit}}}}},CC={initial:"initial",animate:"enter",exit:"exit",variants:tee},nee=de.exports.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:c=0,offsetY:u=8,transition:d,transitionEnd:p,delay:I,...P}=t,F=r?i&&r:!0,B=i||r?"enter":"exit",N={offsetX:c,offsetY:u,reverse:o,transition:d,transitionEnd:p,delay:I};return Ae(Ml,{custom:N,children:F&&Ae(aa.div,{ref:n,className:Bt("chakra-offset-slide",a),custom:N,...CC,animate:B,...P})})});nee.displayName="SlideFade";var ree=At(function(t,n){const{className:r,motionProps:i,...o}=t,{reduceMotion:a}=FI(),{getPanelProps:c,isOpen:u}=NI(),d=c(o,n),p=Bt("chakra-accordion__panel",r),I=Jy();a||delete d.hidden;const P=Ae(pt.div,{...d,__css:I.panel,className:p});return a?P:Ae(FF,{in:u,...i,children:P})});ree.displayName="AccordionPanel";var iee=At(function({children:t,reduceMotion:n,...r},i){const o=Vr("Accordion",r),a=Dn(r),{htmlProps:c,descendants:u,...d}=Wq(a),p=de.exports.useMemo(()=>({...d,reduceMotion:!!n}),[d,n]);return Ae($q,{value:u,children:Ae(Hq,{value:p,children:Ae(Lq,{value:o,children:Ae(pt.div,{ref:i,...c,className:Bt("chakra-accordion",r.className),__css:o.root,children:t})})})})});iee.displayName="Accordion";function BI(e){return de.exports.Children.toArray(e).filter(t=>de.exports.isValidElement(t))}var[oee,aee]=In({strict:!1,name:"ButtonGroupContext"}),see={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},lee={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},cee=At(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:c="0.5rem",isAttached:u,isDisabled:d,orientation:p="horizontal",...I}=t,P=Bt("chakra-button__group",a),F=de.exports.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:d}),[r,i,o,d]);let B={display:"inline-flex",...u?see[p]:lee[p](c)};const N=p==="vertical";return Ae(oee,{value:F,children:Ae(pt.div,{ref:n,role:"group",__css:B,className:P,"data-attached":u?"":void 0,"data-orientation":p,flexDir:N?"column":void 0,...I})})});cee.displayName="ButtonGroup";function uee(e){const[t,n]=de.exports.useState(!e);return{ref:de.exports.useCallback(o=>{!o||n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}function SC(e){const{children:t,className:n,...r}=e,i=de.exports.isValidElement(t)?de.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=Bt("chakra-button__icon",n);return Ae(pt.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o,children:i})}SC.displayName="ButtonIcon";function AC(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=Ae(MI,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...c}=e,u=Bt("chakra-button__spinner",o),d=n==="start"?"marginEnd":"marginStart",p=de.exports.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[d]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,d,r]);return Ae(pt.div,{className:u,...c,__css:p,children:i})}AC.displayName="ButtonSpinner";var HF=At((e,t)=>{const n=aee(),r=Eo("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:c,leftIcon:u,rightIcon:d,loadingText:p,iconSpacing:I="0.5rem",type:P,spinner:F,spinnerPlacement:B="start",className:N,as:D,...T}=Dn(e),M=de.exports.useMemo(()=>{const b={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:b}}},[r,n]),{ref:O,type:L}=uee(D),x={rightIcon:d,leftIcon:u,iconSpacing:I,children:c};return It(pt.button,{ref:Pq(t,O),as:D,type:P!=null?P:L,"data-active":Qt(a),"data-loading":Qt(o),__css:M,className:Bt("chakra-button",N),...T,disabled:i||o,children:[o&&B==="start"&&Ae(AC,{className:"chakra-button__spinner--start",label:p,placement:"start",spacing:I,children:F}),o?p||Ae(pt.span,{opacity:0,children:Ae(wP,{...x})}):Ae(wP,{...x}),o&&B==="end"&&Ae(AC,{className:"chakra-button__spinner--end",label:p,placement:"end",spacing:I,children:F})]})});HF.displayName="Button";function wP(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return It(Ao,{children:[t&&Ae(SC,{marginEnd:i,children:t}),r,n&&Ae(SC,{marginStart:i,children:n})]})}var dee=At((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,c=n||r,u=de.exports.isValidElement(c)?de.exports.cloneElement(c,{"aria-hidden":!0,focusable:!1}):null;return Ae(HF,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a,children:u})});dee.displayName="IconButton";var[hee,ike]=A6("Card"),oke=At(function(t,n){const{className:r,children:i,direction:o="column",justify:a,align:c,...u}=Dn(t),d=Vr("Card",t);return Ae(pt.div,{ref:n,className:Bt("chakra-card",r),__css:{display:"flex",flexDirection:o,justifyContent:a,alignItems:c,position:"relative",minWidth:0,wordWrap:"break-word",...d.container},...u,children:Ae(hee,{value:d,children:i})})}),[ake,fee]=In({name:"CheckboxGroupContext",strict:!1});function CP(e){return e&&yr(e)&&yr(e.target)}function ske(e={}){const{defaultValue:t,value:n,onChange:r,isDisabled:i,isNative:o}=e,a=nr(r),[c,u]=Qy({value:n,defaultValue:t||[],onChange:a}),d=de.exports.useCallback(I=>{if(!c)return;const P=CP(I)?I.target.checked:!c.includes(I),F=CP(I)?I.target.value:I,B=P?[...c,F]:c.filter(N=>String(N)!==String(F));u(B)},[u,c]),p=de.exports.useCallback((I={})=>({...I,[o?"checked":"isChecked"]:c.some(F=>String(I.value)===String(F)),onChange:d}),[d,o,c]);return{value:c,isDisabled:i,onChange:d,setValue:u,getCheckboxProps:p}}function pee(e){return Ae(pt.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:Ae("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function gee(e){return Ae(pt.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:Ae("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function mee(e){const{isIndeterminate:t,isChecked:n,...r}=e,i=t?gee:pee;return n||t?Ae(pt.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:Ae(i,{...r})}):null}var[vee,zF]=In({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in " " `}),[yee,Ll]=In({strict:!1,name:"FormControlContext"});function bee(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,c=de.exports.useId(),u=t||`field-${c}`,d=`${u}-label`,p=`${u}-feedback`,I=`${u}-helptext`,[P,F]=de.exports.useState(!1),[B,N]=de.exports.useState(!1),[D,T]=de.exports.useState(!1),M=de.exports.useCallback((C={},g=null)=>({id:I,...C,ref:_n(g,w=>{!w||N(!0)})}),[I]),O=de.exports.useCallback((C={},g=null)=>({...C,ref:g,"data-focus":Qt(D),"data-disabled":Qt(i),"data-invalid":Qt(r),"data-readonly":Qt(o),id:C.id!==void 0?C.id:d,htmlFor:C.htmlFor!==void 0?C.htmlFor:u}),[u,i,D,r,o,d]),L=de.exports.useCallback((C={},g=null)=>({id:p,...C,ref:_n(g,w=>{!w||F(!0)}),"aria-live":"polite"}),[p]),x=de.exports.useCallback((C={},g=null)=>({...C,...a,ref:g,role:"group"}),[a]),b=de.exports.useCallback((C={},g=null)=>({...C,ref:g,role:"presentation","aria-hidden":!0,children:C.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!D,onFocus:()=>T(!0),onBlur:()=>T(!1),hasFeedbackText:P,setHasFeedbackText:F,hasHelpText:B,setHasHelpText:N,id:u,labelId:d,feedbackId:p,helpTextId:I,htmlProps:a,getHelpTextProps:M,getErrorMessageProps:L,getRootProps:x,getLabelProps:O,getRequiredIndicatorProps:b}}var xee=At(function(t,n){const r=Vr("Form",t),i=Dn(t),{getRootProps:o,htmlProps:a,...c}=bee(i),u=Bt("chakra-form-control",t.className);return Ae(yee,{value:c,children:Ae(vee,{value:r,children:Ae(pt.div,{...o({},n),className:u,__css:r.container})})})});xee.displayName="FormControl";var wee=At(function(t,n){const r=Ll(),i=zF(),o=Bt("chakra-form__helper-text",t.className);return Ae(pt.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});wee.displayName="FormHelperText";var[Cee,See]=In({name:"FormErrorStylesContext",errorMessage:`useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in " " `}),Aee=At((e,t)=>{const n=Vr("FormError",e),r=Dn(e),i=Ll();return i!=null&&i.isInvalid?Ae(Cee,{value:n,children:Ae(pt.div,{...i==null?void 0:i.getErrorMessageProps(r,t),className:Bt("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...n.text}})}):null});Aee.displayName="FormErrorMessage";var Iee=At((e,t)=>{const n=See(),r=Ll();if(!(r!=null&&r.isInvalid))return null;const i=Bt("chakra-form__error-icon",e.className);return Ae(Wa,{ref:t,"aria-hidden":!0,...e,__css:n.icon,className:i,children:Ae("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})});Iee.displayName="FormErrorIcon";var kee=At(function(t,n){var r;const i=Eo("FormLabel",t),o=Dn(t),{className:a,children:c,requiredIndicator:u=Ae(VF,{}),optionalIndicator:d=null,...p}=o,I=Ll(),P=(r=I==null?void 0:I.getLabelProps(p,n))!=null?r:{ref:n,...p};return It(pt.label,{...P,className:Bt("chakra-form__label",o.className),__css:{display:"block",textAlign:"start",...i},children:[c,I!=null&&I.isRequired?u:d]})});kee.displayName="FormLabel";var VF=At(function(t,n){const r=Ll(),i=zF();if(!(r!=null&&r.isRequired))return null;const o=Bt("chakra-form__required-indicator",t.className);return Ae(pt.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});VF.displayName="RequiredIndicator";function WI(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=HI(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":Ca(n),"aria-required":Ca(i),"aria-readonly":Ca(r)}}function HI(e){var t,n,r;const i=Ll(),{id:o,disabled:a,readOnly:c,required:u,isRequired:d,isInvalid:p,isReadOnly:I,isDisabled:P,onFocus:F,onBlur:B,...N}=e,D=e["aria-describedby"]?[e["aria-describedby"]]:[];return(i==null?void 0:i.hasFeedbackText)&&(i==null?void 0:i.isInvalid)&&D.push(i.feedbackId),i!=null&&i.hasHelpText&&D.push(i.helpTextId),{...N,"aria-describedby":D.join(" ")||void 0,id:o!=null?o:i==null?void 0:i.id,isDisabled:(t=a!=null?a:P)!=null?t:i==null?void 0:i.isDisabled,isReadOnly:(n=c!=null?c:I)!=null?n:i==null?void 0:i.isReadOnly,isRequired:(r=u!=null?u:d)!=null?r:i==null?void 0:i.isRequired,isInvalid:p!=null?p:i==null?void 0:i.isInvalid,onFocus:Wt(i==null?void 0:i.onFocus,F),onBlur:Wt(i==null?void 0:i.onBlur,B)}}var _ee={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},SP=!1,of=null,xl=!1,IC=!1,kC=new Set;function zI(e,t){kC.forEach(n=>n(e,t))}var Eee=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function Tee(e){return!(e.metaKey||!Eee&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function AP(e){xl=!0,Tee(e)&&(of="keyboard",zI("keyboard",e))}function Wl(e){if(of="pointer",e.type==="mousedown"||e.type==="pointerdown"){xl=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;zI("pointer",e)}}function Pee(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function Ree(e){Pee(e)&&(xl=!0,of="virtual")}function Oee(e){e.target===window||e.target===document||(!xl&&!IC&&(of="virtual",zI("virtual",e)),xl=!1,IC=!1)}function Mee(){xl=!1,IC=!0}function IP(){return of!=="pointer"}function Lee(){if(typeof window>"u"||SP)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){xl=!0,e.apply(this,n)},document.addEventListener("keydown",AP,!0),document.addEventListener("keyup",AP,!0),document.addEventListener("click",Ree,!0),window.addEventListener("focus",Oee,!0),window.addEventListener("blur",Mee,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Wl,!0),document.addEventListener("pointermove",Wl,!0),document.addEventListener("pointerup",Wl,!0)):(document.addEventListener("mousedown",Wl,!0),document.addEventListener("mousemove",Wl,!0),document.addEventListener("mouseup",Wl,!0)),SP=!0}function jF(e){Lee(),e(IP());const t=()=>e(IP());return kC.add(t),()=>{kC.delete(t)}}function Dee(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function GF(e={}){const t=HI(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:c,onFocus:u,"aria-describedby":d}=t,{defaultChecked:p,isChecked:I,isFocusable:P,onChange:F,isIndeterminate:B,name:N,value:D,tabIndex:T=void 0,"aria-label":M,"aria-labelledby":O,"aria-invalid":L,...x}=e,b=Dee(x,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),C=nr(F),g=nr(c),w=nr(u),[f,m]=de.exports.useState(!1),[E,S]=de.exports.useState(!1),[y,_]=de.exports.useState(!1),[$,V]=de.exports.useState(!1);de.exports.useEffect(()=>jF(m),[]);const H=de.exports.useRef(null),[X,Q]=de.exports.useState(!0),[re,ue]=de.exports.useState(!!p),le=I!==void 0,ve=le?I:re,z=de.exports.useCallback(we=>{if(r||n){we.preventDefault();return}le||ue(ve?we.target.checked:B?!0:we.target.checked),C==null||C(we)},[r,n,ve,le,B,C]);Zo(()=>{H.current&&(H.current.indeterminate=Boolean(B))},[B]),La(()=>{n&&S(!1)},[n,S]),Zo(()=>{const we=H.current;!(we!=null&&we.form)||(we.form.onreset=()=>{ue(!!p)})},[]);const Z=n&&!P,ce=de.exports.useCallback(we=>{we.key===" "&&V(!0)},[V]),Y=de.exports.useCallback(we=>{we.key===" "&&V(!1)},[V]);Zo(()=>{if(!H.current)return;H.current.checked!==ve&&ue(H.current.checked)},[H.current]);const ie=de.exports.useCallback((we={},be=null)=>{const ee=se=>{E&&se.preventDefault(),V(!0)};return{...we,ref:be,"data-active":Qt($),"data-hover":Qt(y),"data-checked":Qt(ve),"data-focus":Qt(E),"data-focus-visible":Qt(E&&f),"data-indeterminate":Qt(B),"data-disabled":Qt(n),"data-invalid":Qt(o),"data-readonly":Qt(r),"aria-hidden":!0,onMouseDown:Wt(we.onMouseDown,ee),onMouseUp:Wt(we.onMouseUp,()=>V(!1)),onMouseEnter:Wt(we.onMouseEnter,()=>_(!0)),onMouseLeave:Wt(we.onMouseLeave,()=>_(!1))}},[$,ve,n,E,f,y,B,o,r]),he=de.exports.useCallback((we={},be=null)=>({...b,...we,ref:_n(be,ee=>{!ee||Q(ee.tagName==="LABEL")}),onClick:Wt(we.onClick,()=>{var ee;X||((ee=H.current)==null||ee.click(),requestAnimationFrame(()=>{var se;(se=H.current)==null||se.focus()}))}),"data-disabled":Qt(n),"data-checked":Qt(ve),"data-invalid":Qt(o)}),[b,n,ve,o,X]),fe=de.exports.useCallback((we={},be=null)=>({...we,ref:_n(H,be),type:"checkbox",name:N,value:D,id:a,tabIndex:T,onChange:Wt(we.onChange,z),onBlur:Wt(we.onBlur,g,()=>S(!1)),onFocus:Wt(we.onFocus,w,()=>S(!0)),onKeyDown:Wt(we.onKeyDown,ce),onKeyUp:Wt(we.onKeyUp,Y),required:i,checked:ve,disabled:Z,readOnly:r,"aria-label":M,"aria-labelledby":O,"aria-invalid":L?Boolean(L):o,"aria-describedby":d,"aria-disabled":n,style:_ee}),[N,D,a,z,g,w,ce,Y,i,ve,Z,r,M,O,L,o,d,n,T]),Ce=de.exports.useCallback((we={},be=null)=>({...we,ref:be,onMouseDown:Wt(we.onMouseDown,$ee),"data-disabled":Qt(n),"data-checked":Qt(ve),"data-invalid":Qt(o)}),[ve,n,o]);return{state:{isInvalid:o,isFocused:E,isChecked:ve,isActive:$,isHovered:y,isIndeterminate:B,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:he,getCheckboxProps:ie,getInputProps:fe,getLabelProps:Ce,htmlProps:b}}function $ee(e){e.preventDefault(),e.stopPropagation()}var Nee={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},Fee={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},Bee=Ms({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),Wee=Ms({from:{opacity:0},to:{opacity:1}}),Hee=Ms({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),zee=At(function(t,n){const r=fee(),i={...r,...t},o=Vr("Checkbox",i),a=Dn(t),{spacing:c="0.5rem",className:u,children:d,iconColor:p,iconSize:I,icon:P=Ae(mee,{}),isChecked:F,isDisabled:B=r==null?void 0:r.isDisabled,onChange:N,inputProps:D,...T}=a;let M=F;(r==null?void 0:r.value)&&a.value&&(M=r.value.includes(a.value));let O=N;(r==null?void 0:r.onChange)&&a.value&&(O=ZA(r.onChange,N));const{state:L,getInputProps:x,getCheckboxProps:b,getLabelProps:C,getRootProps:g}=GF({...T,isDisabled:B,isChecked:M,onChange:O}),w=de.exports.useMemo(()=>({animation:L.isIndeterminate?`${Wee} 20ms linear, ${Hee} 200ms linear`:`${Bee} 200ms linear`,fontSize:I,color:p,...o.icon}),[p,I,L.isIndeterminate,o.icon]),f=de.exports.cloneElement(P,{__css:w,isIndeterminate:L.isIndeterminate,isChecked:L.isChecked});return It(pt.label,{__css:{...Fee,...o.container},className:Bt("chakra-checkbox",u),...g(),children:[Ae("input",{className:"chakra-checkbox__input",...x(D,n)}),Ae(pt.span,{__css:{...Nee,...o.control},className:"chakra-checkbox__control",...b(),children:f}),d&&Ae(pt.span,{className:"chakra-checkbox__label",...C(),__css:{marginStart:c,...o.label},children:d})]})});zee.displayName="Checkbox";function Vee(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function VI(e,t){let n=Vee(e);const r=10**(t!=null?t:10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function _C(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function kP(e,t,n){return(e-t)*100/(n-t)}function jee(e,t,n){return(n-t)*e+t}function _P(e,t,n){const r=Math.round((e-t)/n)*n+t,i=_C(n);return VI(r,i)}function Rp(e,t,n){return e==null?e:(n {var f;return r==null?"":(f=Z0(r,o,n))!=null?f:""}),P=typeof i<"u",F=P?i:p,B=YF(Ja(F),o),N=n!=null?n:B,D=de.exports.useCallback(f=>{f!==F&&(P||I(f.toString()),d==null||d(f.toString(),Ja(f)))},[d,P,F]),T=de.exports.useCallback(f=>{let m=f;return u&&(m=Rp(m,a,c)),VI(m,N)},[N,u,c,a]),M=de.exports.useCallback((f=o)=>{let m;F===""?m=Ja(f):m=Ja(F)+f,m=T(m),D(m)},[T,o,D,F]),O=de.exports.useCallback((f=o)=>{let m;F===""?m=Ja(-f):m=Ja(F)-f,m=T(m),D(m)},[T,o,D,F]),L=de.exports.useCallback(()=>{var f;let m;r==null?m="":m=(f=Z0(r,o,n))!=null?f:a,D(m)},[r,n,o,D,a]),x=de.exports.useCallback(f=>{var m;const E=(m=Z0(f,o,N))!=null?m:a;D(E)},[N,o,D,a]),b=Ja(F);return{isOutOfRange:b>c||b{const o=typeof e=="function"?e():e!=null?e:document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e!=null?e:document;o==null||o.removeEventListener(t,i,r)}}function Yee(e){return"current"in e}var ZF=()=>typeof window<"u";function Zee(){var e;const t=navigator.userAgentData;return(e=t==null?void 0:t.platform)!=null?e:navigator.platform}var Xee=e=>ZF()&&e.test(navigator.vendor),Uee=e=>ZF()&&e.test(Zee()),Kee=()=>Uee(/mac|iphone|ipad|ipod/i),Jee=()=>Kee()&&Xee(/apple/i);function Qee(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o,a;return(a=(o=t.current)==null?void 0:o.ownerDocument)!=null?a:document};cl(i,"pointerdown",o=>{if(!Jee()||!r)return;const a=o.target,u=(n!=null?n:[t]).some(d=>{const p=Yee(d)?d.current:d;return(p==null?void 0:p.contains(a))||p===a});i().activeElement!==a&&u&&(o.preventDefault(),a.focus())})}function XF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o =0)&&(n[i]=e[i]);return n}var UF={exports:{}},qee="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ete=qee,tte=ete;function KF(){}function JF(){}JF.resetWarningCache=KF;var nte=function(){function e(r,i,o,a,c,u){if(u!==tte){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:JF,resetWarningCache:KF};return n.PropTypes=n,n};UF.exports=nte();var EC="data-focus-lock",QF="data-focus-lock-disabled",rte="data-no-focus-lock",ite="data-autofocus-inside",ote="data-no-autofocus";function ate(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ste(e,t){var n=de.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function qF(e,t){return ste(t||null,function(n){return e.forEach(function(r){return ate(r,n)})})}var X0={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function e5(e){return e}function t5(e,t){t===void 0&&(t=e5);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(c){return c!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(o),a=n}var u=function(){var p=a;a=[],p.forEach(o)},d=function(){return Promise.resolve().then(u)};d(),n={push:function(p){a.push(p),d()},filter:function(p){return a=a.filter(p),n}}}};return i}function jI(e,t){return t===void 0&&(t=e5),t5(e,t)}function n5(e){e===void 0&&(e={});var t=t5(null);return t.options=Bo({async:!0,ssr:!1},e),t}var r5=function(e){var t=e.sideCar,n=TF(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Ae(r,{...Bo({},n)})};r5.isSideCarExport=!0;function lte(e,t){return e.useMedium(t),r5}var i5=jI({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),o5=jI(),cte=jI(),ute=n5({async:!0}),dte=[],GI=de.exports.forwardRef(function(t,n){var r,i=de.exports.useState(),o=i[0],a=i[1],c=de.exports.useRef(),u=de.exports.useRef(!1),d=de.exports.useRef(null),p=t.children,I=t.disabled,P=t.noFocusGuards,F=t.persistentFocus,B=t.crossFrame,N=t.autoFocus;t.allowTextSelection;var D=t.group,T=t.className,M=t.whiteList,O=t.hasPositiveIndices,L=t.shards,x=L===void 0?dte:L,b=t.as,C=b===void 0?"div":b,g=t.lockProps,w=g===void 0?{}:g,f=t.sideCar,m=t.returnFocus,E=t.focusOptions,S=t.onActivation,y=t.onDeactivation,_=de.exports.useState({}),$=_[0],V=de.exports.useCallback(function(){d.current=d.current||document&&document.activeElement,c.current&&S&&S(c.current),u.current=!0},[S]),H=de.exports.useCallback(function(){u.current=!1,y&&y(c.current)},[y]);de.exports.useEffect(function(){I||(d.current=null)},[]);var X=de.exports.useCallback(function(ce){var Y=d.current;if(Y&&Y.focus){var ie=typeof m=="function"?m(Y):m;if(ie){var he=typeof ie=="object"?ie:void 0;d.current=null,ce?Promise.resolve().then(function(){return Y.focus(he)}):Y.focus(he)}}},[m]),Q=de.exports.useCallback(function(ce){u.current&&i5.useMedium(ce)},[]),re=o5.useMedium,ue=de.exports.useCallback(function(ce){c.current!==ce&&(c.current=ce,a(ce))},[]),le=qt((r={},r[QF]=I&&"disabled",r[EC]=D,r),w),ve=P!==!0,z=ve&&P!=="tail",Z=qF([n,ue]);return It(Ao,{children:[ve&&[Ae("div",{"data-focus-guard":!0,tabIndex:I?-1:0,style:X0},"guard-first"),O?Ae("div",{"data-focus-guard":!0,tabIndex:I?-1:1,style:X0},"guard-nearest"):null],!I&&Ae(f,{id:$,sideCar:ute,observed:o,disabled:I,persistentFocus:F,crossFrame:B,autoFocus:N,whiteList:M,shards:x,onActivation:V,onDeactivation:H,returnFocus:X,focusOptions:E}),Ae(C,{ref:Z,...le,className:T,onBlur:re,onFocus:Q,children:p}),z&&Ae("div",{"data-focus-guard":!0,tabIndex:I?-1:0,style:X0})]})});GI.propTypes={};GI.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const a5=GI;function bm(e,t){return bm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},bm(e,t)}function Dl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bm(e,t)}function Er(e){return Er=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Er(e)}function hte(e,t){if(Er(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Er(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function s5(e){var t=hte(e,"string");return Er(t)==="symbol"?t:String(t)}function Hi(e,t,n){return t=s5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fte(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function c(){a=e(o.map(function(d){return d.props})),t(a)}var u=function(d){Dl(p,d);function p(){return d.apply(this,arguments)||this}p.peek=function(){return a};var I=p.prototype;return I.componentDidMount=function(){o.push(this),c()},I.componentDidUpdate=function(){c()},I.componentWillUnmount=function(){var F=o.indexOf(this);o.splice(F,1),c()},I.render=function(){return Ae(i,{...this.props})},p}(de.exports.PureComponent);return Hi(u,"displayName","SideEffect("+n(i)+")"),u}}var sa=function(e){for(var t=Array(e.length),n=0;n =0}).sort(wte)},Cte=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],ZI=Cte.join(","),Ste="".concat(ZI,", [data-focus-guard]"),v5=function(e,t){return sa((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?Ste:ZI)?[r]:[],v5(r))},[])},Ate=function(e,t){var n;return e instanceof HTMLIFrameElement&&((n=e.contentDocument)===null||n===void 0?void 0:n.body)?qy([e.contentDocument.body],t):[e]},qy=function(e,t){return e.reduce(function(n,r){var i,o=v5(r,t),a=(i=[]).concat.apply(i,o.map(function(c){return Ate(c,t)}));return n.concat(a,r.parentNode?sa(r.parentNode.querySelectorAll(ZI)).filter(function(c){return c===r}):[])},[])},Ite=function(e){var t=e.querySelectorAll("[".concat(ite,"]"));return sa(t).map(function(n){return qy([n])}).reduce(function(n,r){return n.concat(r)},[])},XI=function(e,t){return sa(e).filter(function(n){return d5(t,n)}).filter(function(n){return yte(n)})},EP=function(e,t){return t===void 0&&(t=new Map),sa(e).filter(function(n){return h5(t,n)})},TC=function(e,t,n){return m5(XI(qy(e,n),t),!0,n)},TP=function(e,t){return m5(XI(qy(e),t),!1)},kte=function(e,t){return XI(Ite(e),t)},Lc=function(e,t){return e.shadowRoot?Lc(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:sa(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var i=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return i?Lc(i,t):!1}return Lc(n,t)})},_te=function(e){for(var t=new Set,n=e.length,r=0;r 0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,c){return!t.has(c)})},y5=function(e){return e.parentNode?y5(e.parentNode):e},UI=function(e){var t=xm(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(EC);return n.push.apply(n,i?_te(sa(y5(r).querySelectorAll("[".concat(EC,'="').concat(i,'"]:not([').concat(QF,'="disabled"])')))):[r]),n},[])},Ete=function(e){try{return e()}catch{return}},yh=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?yh(t.shadowRoot):t instanceof HTMLIFrameElement&&Ete(function(){return t.contentWindow.document})?yh(t.contentWindow.document):t}},Tte=function(e,t){return e===t},Pte=function(e,t){return Boolean(sa(e.querySelectorAll("iframe")).some(function(n){return Tte(n,t)}))},b5=function(e,t){return t===void 0&&(t=yh(l5(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:UI(e).some(function(n){return Lc(n,t)||Pte(n,t)})},Rte=function(e){e===void 0&&(e=document);var t=yh(e);return t?sa(e.querySelectorAll("[".concat(rte,"]"))).some(function(n){return Lc(n,t)}):!1},Ote=function(e,t){return t.filter(g5).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},KI=function(e,t){return g5(e)&&e.name?Ote(e,t):e},Mte=function(e){var t=new Set;return e.forEach(function(n){return t.add(KI(n,e))}),e.filter(function(n){return t.has(n)})},PP=function(e){return e[0]&&e.length>1?KI(e[0],e):e[0]},RP=function(e,t){return e.length>1?e.indexOf(KI(e[t],e)):t},x5="NEW_FOCUS",Lte=function(e,t,n,r){var i=e.length,o=e[0],a=e[i-1],c=YI(n);if(!(n&&e.indexOf(n)>=0)){var u=n!==void 0?t.indexOf(n):-1,d=r?t.indexOf(r):u,p=r?e.indexOf(r):-1,I=u-d,P=t.indexOf(o),F=t.indexOf(a),B=Mte(t),N=n!==void 0?B.indexOf(n):-1,D=N-(r?B.indexOf(r):u),T=RP(e,0),M=RP(e,i-1);if(u===-1||p===-1)return x5;if(!I&&p>=0)return p;if(u<=P&&c&&Math.abs(I)>1)return M;if(u>=F&&c&&Math.abs(I)>1)return T;if(I&&Math.abs(D)>1)return p;if(u<=P)return M;if(u>F)return T;if(I)return Math.abs(I)>1?p:(i+p+I)%i}},Dte=function(e){return function(t){var n,r=(n=f5(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},$te=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=EP(r.filter(Dte(n)));return i&&i.length?PP(i):PP(EP(t))},PC=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&PC(e.parentNode.host||e.parentNode,t),t},U0=function(e,t){for(var n=PC(e),r=PC(t),i=0;i =0)return o}return!1},w5=function(e,t,n){var r=xm(e),i=xm(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(c){a=U0(a||c,c)||a,n.filter(Boolean).forEach(function(u){var d=U0(o,u);d&&(!a||Lc(d,a)?a=d:a=U0(d,a))})}),a},Nte=function(e,t){return e.reduce(function(n,r){return n.concat(kte(r,t))},[])},Fte=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(xte)},Bte=function(e,t){var n=yh(xm(e).length>0?document:l5(e).ownerDocument),r=UI(e).filter(wm),i=w5(n||e,e,r),o=new Map,a=TP(r,o),c=TC(r,o).filter(function(F){var B=F.node;return wm(B)});if(!(!c[0]&&(c=a,!c[0]))){var u=TP([i],o).map(function(F){var B=F.node;return B}),d=Fte(u,c),p=d.map(function(F){var B=F.node;return B}),I=Lte(p,u,n,t);if(I===x5){var P=$te(a,p,Nte(r,o));if(P)return{node:P};console.warn("focus-lock: cannot find any node to move focus into");return}return I===void 0?I:d[I]}},Wte=function(e){var t=UI(e).filter(wm),n=w5(e,e,t),r=new Map,i=TC([n],r,!0),o=TC(t,r).filter(function(a){var c=a.node;return wm(c)}).map(function(a){var c=a.node;return c});return i.map(function(a){var c=a.node,u=a.index;return{node:c,index:u,lockItem:o.indexOf(c)>=0,guard:YI(c)}})},Hte=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},K0=0,J0=!1,zte=function(e,t,n){n===void 0&&(n={});var r=Bte(e,t);if(!J0&&r){if(K0>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),J0=!0,setTimeout(function(){J0=!1},1);return}K0++,Hte(r.node,n.focusOptions),K0--}};const C5=zte;function S5(e){var t=window,n=t.setImmediate;typeof n<"u"?n(e):setTimeout(e,1)}var Vte=function(){return document&&document.activeElement===document.body},jte=function(){return Vte()||Rte()},Dc=null,gc=null,$c=null,bh=!1,Gte=function(){return!0},Yte=function(t){return(Dc.whiteList||Gte)(t)},Zte=function(t,n){$c={observerNode:t,portaledElement:n}},Xte=function(t){return $c&&$c.portaledElement===t};function OP(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var Ute=function(t){return t&&"current"in t?t.current:t},Kte=function(t){return t?Boolean(bh):bh==="meanwhile"},Jte=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Qte=function(t,n){return n.some(function(r){return Jte(t,r,r)})},Cm=function(){var t=!1;if(Dc){var n=Dc,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,c=n.crossFrame,u=n.focusOptions,d=r||$c&&$c.portaledElement,p=document&&document.activeElement;if(d){var I=[d].concat(a.map(Ute).filter(Boolean));if((!p||Yte(p))&&(i||Kte(c)||!jte()||!gc&&o)&&(d&&!(b5(I)||p&&Qte(p,I)||Xte(p))&&(document&&!gc&&p&&!o?(p.blur&&p.blur(),document.body.focus()):(t=C5(I,gc,{focusOptions:u}),$c={})),bh=!1,gc=document&&document.activeElement),document){var P=document&&document.activeElement,F=Wte(I),B=F.map(function(N){var D=N.node;return D}).indexOf(P);B>-1&&(F.filter(function(N){var D=N.guard,T=N.node;return D&&T.dataset.focusAutoGuard}).forEach(function(N){var D=N.node;return D.removeAttribute("tabIndex")}),OP(B,F.length,1,F),OP(B,-1,-1,F))}}}return t},A5=function(t){Cm()&&t&&(t.stopPropagation(),t.preventDefault())},JI=function(){return S5(Cm)},qte=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Zte(r,n)},ene=function(){return null},I5=function(){bh="just",setTimeout(function(){bh="meanwhile"},0)},tne=function(){document.addEventListener("focusin",A5),document.addEventListener("focusout",JI),window.addEventListener("blur",I5)},nne=function(){document.removeEventListener("focusin",A5),document.removeEventListener("focusout",JI),window.removeEventListener("blur",I5)};function rne(e){return e.filter(function(t){var n=t.disabled;return!n})}function ine(e){var t=e.slice(-1)[0];t&&!Dc&&tne();var n=Dc,r=n&&t&&t.id===n.id;Dc=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(gc=null,(!r||n.observed!==t.observed)&&t.onActivation(),Cm(),S5(Cm)):(nne(),gc=null)}i5.assignSyncMedium(qte);o5.assignMedium(JI);cte.assignMedium(function(e){return e({moveFocusInside:C5,focusInside:b5})});const one=fte(rne,ine)(ene);var k5=de.exports.forwardRef(function(t,n){return Ae(a5,{sideCar:one,ref:n,...t})}),_5=a5.propTypes||{};_5.sideCar;XF(_5,["sideCar"]);k5.propTypes={};const MP=k5;function E5(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function T5(e){var t;if(!E5(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}function ane(e){var t,n;return(n=(t=P5(e))==null?void 0:t.defaultView)!=null?n:window}function P5(e){return E5(e)?e.ownerDocument:document}function sne(e){return P5(e).activeElement}var R5=e=>e.hasAttribute("tabindex"),lne=e=>R5(e)&&e.tabIndex===-1;function cne(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function O5(e){return e.parentElement&&O5(e.parentElement)?!0:e.hidden}function une(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function M5(e){if(!T5(e)||O5(e)||cne(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():une(e)?!0:R5(e)}function dne(e){return e?T5(e)&&M5(e)&&!lne(e):!1}var hne=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],fne=hne.join(),pne=e=>e.offsetWidth>0&&e.offsetHeight>0;function L5(e){const t=Array.from(e.querySelectorAll(fne));return t.unshift(e),t.filter(n=>M5(n)&&pne(n))}var LP,gne=(LP=MP.default)!=null?LP:MP,D5=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:c,persistentFocus:u,lockFocusAcrossFrames:d}=e,p=de.exports.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&L5(r.current).length===0&&requestAnimationFrame(()=>{var B;(B=r.current)==null||B.focus()})},[t,r]),I=de.exports.useCallback(()=>{var F;(F=n==null?void 0:n.current)==null||F.focus()},[n]);return Ae(gne,{crossFrame:d,persistentFocus:u,autoFocus:c,disabled:a,onActivation:p,onDeactivation:I,returnFocus:i&&!n,children:o})};D5.displayName="FocusLock";var mne=GK?de.exports.useLayoutEffect:de.exports.useEffect;function RC(e,t=[]){const n=de.exports.useRef(e);return mne(()=>{n.current=e}),de.exports.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function lke(e){const{ref:t,handler:n,enabled:r=!0}=e,i=RC(n),a=de.exports.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;de.exports.useEffect(()=>{if(!r)return;const c=I=>{Q0(I,t)&&(a.isPointerDown=!0)},u=I=>{if(a.ignoreEmulatedMouseEvents){a.ignoreEmulatedMouseEvents=!1;return}a.isPointerDown&&n&&Q0(I,t)&&(a.isPointerDown=!1,i(I))},d=I=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&Q0(I,t)&&(a.isPointerDown=!1,i(I))},p=q$(t.current);return p.addEventListener("mousedown",c,!0),p.addEventListener("mouseup",u,!0),p.addEventListener("touchstart",c,!0),p.addEventListener("touchend",d,!0),()=>{p.removeEventListener("mousedown",c,!0),p.removeEventListener("mouseup",u,!0),p.removeEventListener("touchstart",c,!0),p.removeEventListener("touchend",d,!0)}},[n,t,i,a,r])}function Q0(e,t){var n;const r=e.target;return e.button>0||r&&!q$(r).contains(r)?!1:!((n=t.current)!=null&&n.contains(r))}function vne(e,t){const n=de.exports.useId();return de.exports.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function yne(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function cke(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=RC(n),a=RC(t),[c,u]=de.exports.useState(e.defaultIsOpen||!1),[d,p]=yne(r,c),I=vne(i,"disclosure"),P=de.exports.useCallback(()=>{d||u(!1),a==null||a()},[d,a]),F=de.exports.useCallback(()=>{d||u(!0),o==null||o()},[d,o]),B=de.exports.useCallback(()=>{(p?P:F)()},[p,F,P]);return{isOpen:!!p,onOpen:F,onClose:P,onToggle:B,isControlled:d,getButtonProps:(N={})=>({...N,"aria-expanded":p,"aria-controls":I,onClick:KK(N.onClick,B)}),getDisclosureProps:(N={})=>({...N,hidden:!p,id:I})}}var bne=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r "u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var I=DP[t.format]||DP.default;window.clipboardData.setData(I,e)}else p.clipboardData.clearData(),p.clipboardData.setData(t.format,e);t.onCopy&&(p.preventDefault(),t.onCopy(p.clipboardData))}),document.body.appendChild(c),o.selectNodeContents(c),a.addRange(o);var d=document.execCommand("copy");if(!d)throw new Error("copy command was unsuccessful");u=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(I){n&&console.error("unable to copy using clipboardData: ",I),n&&console.error("falling back to prompt"),r=Cne("message"in t?t.message:wne),window.prompt(r,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(o):a.removeAllRanges()),c&&document.body.removeChild(c),i()}return u}var Ane=Sne,[Ine,$5]=In({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in " " `}),kne=At(function(t,n){const r=Vr("Input",t),{children:i,className:o,...a}=Dn(t),c=Bt("chakra-input__group",o),u={},d=BI(i),p=r.field;d.forEach(P=>{var F,B;!r||(p&&P.type.id==="InputLeftElement"&&(u.paddingStart=(F=p.height)!=null?F:p.h),p&&P.type.id==="InputRightElement"&&(u.paddingEnd=(B=p.height)!=null?B:p.h),P.type.id==="InputRightAddon"&&(u.borderEndRadius=0),P.type.id==="InputLeftAddon"&&(u.borderStartRadius=0))});const I=d.map(P=>{var F,B;const N=nI({size:((F=P.props)==null?void 0:F.size)||t.size,variant:((B=P.props)==null?void 0:B.variant)||t.variant});return P.type.id!=="Input"?de.exports.cloneElement(P,N):de.exports.cloneElement(P,Object.assign(N,u,P.props))});return Ae(pt.div,{className:c,ref:n,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate"},"data-group":!0,...a,children:Ae(Ine,{value:r,children:I})})});kne.displayName="InputGroup";var _ne={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},Ene=pt("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),QI=At(function(t,n){var r;const{placement:i="left",...o}=t,a=(r=_ne[i])!=null?r:{},c=$5();return Ae(Ene,{ref:n,...o,__css:{...c.addon,...a}})});QI.displayName="InputAddon";var N5=At(function(t,n){return Ae(QI,{ref:n,placement:"left",...t,className:Bt("chakra-input__left-addon",t.className)})});N5.displayName="InputLeftAddon";N5.id="InputLeftAddon";var F5=At(function(t,n){return Ae(QI,{ref:n,placement:"right",...t,className:Bt("chakra-input__right-addon",t.className)})});F5.displayName="InputRightAddon";F5.id="InputRightAddon";var Tne=pt("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),eb=At(function(t,n){var r,i;const{placement:o="left",...a}=t,c=$5(),u=c.field,p={[o==="left"?"insetStart":"insetEnd"]:"0",width:(r=u==null?void 0:u.height)!=null?r:u==null?void 0:u.h,height:(i=u==null?void 0:u.height)!=null?i:u==null?void 0:u.h,fontSize:u==null?void 0:u.fontSize,...c.element};return Ae(Tne,{ref:n,__css:p,...a})});eb.id="InputElement";eb.displayName="InputElement";var B5=At(function(t,n){const{className:r,...i}=t,o=Bt("chakra-input__left-element",r);return Ae(eb,{ref:n,placement:"left",className:o,...i})});B5.id="InputLeftElement";B5.displayName="InputLeftElement";var W5=At(function(t,n){const{className:r,...i}=t,o=Bt("chakra-input__right-element",r);return Ae(eb,{ref:n,placement:"right",className:o,...i})});W5.id="InputRightElement";W5.displayName="InputRightElement";var H5=At(function(t,n){const{htmlSize:r,...i}=t,o=Vr("Input",i),a=Dn(i),c=WI(a),u=Bt("chakra-input",t.className);return Ae(pt.input,{size:r,...c,__css:o.field,ref:n,className:u})});H5.displayName="Input";H5.id="Input";var z5=At(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:c,row:u,autoFlow:d,autoRows:p,templateRows:I,autoColumns:P,templateColumns:F,...B}=t,N={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:P,gridColumn:c,gridRow:u,gridAutoFlow:d,gridAutoRows:p,gridTemplateRows:I,gridTemplateColumns:F};return Ae(pt.div,{ref:n,__css:N,...B})});z5.displayName="Grid";var V5=Object.freeze(["base","sm","md","lg","xl","2xl"]);function af(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):yr(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}function Pne(e,t=V5){const n={};return e.forEach((r,i)=>{const o=t[i];r!=null&&(n[o]=r)}),n}var Rne=At(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:c,...u}=t,d=Fs(),p=c?Mne(c,d):Lne(r);return Ae(z5,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:p,...u})});Rne.displayName="SimpleGrid";function One(e){return typeof e=="number"?`${e}px`:e}function Mne(e,t){return af(e,n=>{const r=cG("sizes",n,One(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function Lne(e){return af(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var Dne=At(function(t,n){const r=Eo("Text",t),{className:i,align:o,decoration:a,casing:c,...u}=Dn(t),d=nI({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return Ae(pt.p,{ref:n,className:Bt("chakra-text",t.className),...d,...u,__css:r})});Dne.displayName="Text";var j5=e=>Ae(pt.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});j5.displayName="StackItem";var OC="& > *:not(style) ~ *:not(style)";function $ne(e){const{spacing:t,direction:n}=e,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:n,[OC]:af(n,i=>r[i])}}function Nne(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":af(n,i=>r[i])}}var qI=At((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:c,children:u,divider:d,className:p,shouldWrapChildren:I,...P}=e,F=n?"row":r!=null?r:"column",B=de.exports.useMemo(()=>$ne({direction:F,spacing:a}),[F,a]),N=de.exports.useMemo(()=>Nne({spacing:a,direction:F}),[a,F]),D=!!d,T=!I&&!D,M=de.exports.useMemo(()=>{const L=BI(u);return T?L:L.map((x,b)=>{const C=typeof x.key<"u"?x.key:b,g=b+1===L.length,f=I?Ae(j5,{children:x},C):x;if(!D)return f;const m=de.exports.cloneElement(d,{__css:N}),E=g?null:m;return It(de.exports.Fragment,{children:[f,E]},C)})},[d,N,D,T,I,u]),O=Bt("chakra-stack",p);return Ae(pt.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:B.flexDirection,flexWrap:c,className:O,__css:D?{}:{[OC]:B[OC]},...P,children:M})});qI.displayName="Stack";var Fne=At((e,t)=>Ae(qI,{align:"center",...e,direction:"column",ref:t}));Fne.displayName="VStack";var Bne=At((e,t)=>Ae(qI,{align:"center",...e,direction:"row",ref:t}));Bne.displayName="HStack";function $P(e){return af(e,t=>t==="auto"?"auto":`span ${t}/span ${t}`)}var Wne=At(function(t,n){const{area:r,colSpan:i,colStart:o,colEnd:a,rowEnd:c,rowSpan:u,rowStart:d,...p}=t,I=nI({gridArea:r,gridColumn:$P(i),gridRow:$P(u),gridColumnStart:o,gridColumnEnd:a,gridRowStart:d,gridRowEnd:c});return Ae(pt.div,{ref:n,__css:I,...p})});Wne.displayName="GridItem";var G5=pt("div");G5.displayName="Box";var Y5=At(function(t,n){const{size:r,centerContent:i=!0,...o}=t;return Ae(G5,{ref:n,boxSize:r,__css:{...i?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...o})});Y5.displayName="Square";var Hne=At(function(t,n){const{size:r,...i}=t;return Ae(Y5,{size:r,ref:n,borderRadius:"9999px",...i})});Hne.displayName="Circle";var zne=At(function(t,n){const r=Eo("Link",t),{className:i,isExternal:o,...a}=Dn(t);return Ae(pt.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:Bt("chakra-link",i),...a,__css:r})});zne.displayName="Link";var Vne=At(function(t,n){const r=Eo("Badge",t),{className:i,...o}=Dn(t);return Ae(pt.span,{ref:n,className:Bt("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});Vne.displayName="Badge";var jne=At(function(t,n){const{className:r,centerContent:i,...o}=Dn(t),a=Eo("Container",t);return Ae(pt.div,{ref:n,className:Bt("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});jne.displayName="Container";var Gne=At(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:c,grow:u,shrink:d,...p}=t,I={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:c,flexGrow:u,flexShrink:d};return Ae(pt.div,{ref:n,__css:I,...p})});Gne.displayName="Flex";function Yne(e,t={}){const{ssr:n=!0,fallback:r}=t,{getWindow:i}=k6(),o=Array.isArray(e)?e:[e];let a=Array.isArray(r)?r:[r];a=a.filter(d=>d!=null);const[c,u]=de.exports.useState(()=>o.map((d,p)=>({media:d,matches:n?!!a[p]:i().matchMedia(d).matches})));return de.exports.useEffect(()=>{const d=i();u(o.map(P=>({media:P,matches:d.matchMedia(P).matches})));const p=o.map(P=>d.matchMedia(P)),I=P=>{u(F=>F.slice().map(B=>B.media===P.media?{...B,matches:P.matches}:B))};return p.forEach(P=>{typeof P.addListener=="function"?P.addListener(I):P.addEventListener("change",I)}),()=>{p.forEach(P=>{typeof P.removeListener=="function"?P.removeListener(I):P.removeEventListener("change",I)})}},[i]),c.map(d=>d.matches)}function Zne(e,t,n=V5){let r=Object.keys(e).indexOf(t);if(r!==-1)return e[t];let i=n.indexOf(t);for(;i>=0;){const o=n[i];if(e.hasOwnProperty(o)){r=i;break}i-=1}if(r!==-1){const o=n[r];return e[o]}}function Xne(e){var t,n;const r=yr(e)?e:{fallback:e!=null?e:"base"},o=Fs().__breakpoints.details.map(({minMaxQuery:d,breakpoint:p})=>({breakpoint:p,query:d.replace("@media screen and ","")})),a=o.map(d=>d.breakpoint===r.fallback),u=Yne(o.map(d=>d.query),{fallback:a,ssr:r.ssr}).findIndex(d=>d==!0);return(n=(t=o[u])==null?void 0:t.breakpoint)!=null?n:r.fallback}function uke(e,t){var n;const r=yr(t)?t:{fallback:t!=null?t:"base"},i=Xne(r),o=Fs();if(!i)return;const a=Array.from(((n=o.__breakpoints)==null?void 0:n.keys)||[]),c=Array.isArray(e)?Object.fromEntries(Object.entries(Pne(e,a)).map(([u,d])=>[u,d])):e;return Zne(c,i,a)}function Une(e){const{key:t}=e;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function Kne(e={}){const{timeout:t=300,preventDefault:n=()=>!0}=e,[r,i]=de.exports.useState([]),o=de.exports.useRef(),a=()=>{o.current&&(clearTimeout(o.current),o.current=null)},c=()=>{a(),o.current=setTimeout(()=>{i([]),o.current=null},t)};de.exports.useEffect(()=>a,[]);function u(d){return p=>{if(p.key==="Backspace"){const I=[...r];I.pop(),i(I);return}if(Une(p)){const I=r.concat(p.key);n(p)&&(p.preventDefault(),p.stopPropagation()),i(I),d(I.join("")),c()}}}return u}function Jne(e,t,n,r){if(t==null)return r;if(!r)return e.find(a=>n(a).toLowerCase().startsWith(t.toLowerCase()));const i=e.filter(o=>n(o).toLowerCase().startsWith(t.toLowerCase()));if(i.length>0){let o;return i.includes(r)?(o=i.indexOf(r)+1,o===i.length&&(o=0),i[o]):(o=e.indexOf(i[0]),e[o])}return r}function Qne(){const e=de.exports.useRef(new Map),t=e.current,n=de.exports.useCallback((i,o,a,c)=>{e.current.set(a,{type:o,el:i,options:c}),i.addEventListener(o,a,c)},[]),r=de.exports.useCallback((i,o,a,c)=>{i.removeEventListener(o,a,c),e.current.delete(a)},[]);return de.exports.useEffect(()=>()=>{t.forEach((i,o)=>{r(i.el,i.type,o,i.options)})},[r,t]),{add:n,remove:r}}function q0(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return n!=="INPUT"&&n!=="TEXTAREA"&&r!==!0}function Z5(e={}){const{ref:t,isDisabled:n,isFocusable:r,clickOnEnter:i=!0,clickOnSpace:o=!0,onMouseDown:a,onMouseUp:c,onClick:u,onKeyDown:d,onKeyUp:p,tabIndex:I,onMouseOver:P,onMouseLeave:F,...B}=e,[N,D]=de.exports.useState(!0),[T,M]=de.exports.useState(!1),O=Qne(),L=V=>{!V||V.tagName!=="BUTTON"&&D(!1)},x=N?I:I||0,b=n&&!r,C=de.exports.useCallback(V=>{if(n){V.stopPropagation(),V.preventDefault();return}V.currentTarget.focus(),u==null||u(V)},[n,u]),g=de.exports.useCallback(V=>{T&&q0(V)&&(V.preventDefault(),V.stopPropagation(),M(!1),O.remove(document,"keyup",g,!1))},[T,O]),w=de.exports.useCallback(V=>{if(d==null||d(V),n||V.defaultPrevented||V.metaKey||!q0(V.nativeEvent)||N)return;const H=i&&V.key==="Enter";o&&V.key===" "&&(V.preventDefault(),M(!0)),H&&(V.preventDefault(),V.currentTarget.click()),O.add(document,"keyup",g,!1)},[n,N,d,i,o,O,g]),f=de.exports.useCallback(V=>{if(p==null||p(V),n||V.defaultPrevented||V.metaKey||!q0(V.nativeEvent)||N)return;o&&V.key===" "&&(V.preventDefault(),M(!1),V.currentTarget.click())},[o,N,n,p]),m=de.exports.useCallback(V=>{V.button===0&&(M(!1),O.remove(document,"mouseup",m,!1))},[O]),E=de.exports.useCallback(V=>{if(V.button!==0)return;if(n){V.stopPropagation(),V.preventDefault();return}N||M(!0),V.currentTarget.focus({preventScroll:!0}),O.add(document,"mouseup",m,!1),a==null||a(V)},[n,N,a,O,m]),S=de.exports.useCallback(V=>{V.button===0&&(N||M(!1),c==null||c(V))},[c,N]),y=de.exports.useCallback(V=>{if(n){V.preventDefault();return}P==null||P(V)},[n,P]),_=de.exports.useCallback(V=>{T&&(V.preventDefault(),M(!1)),F==null||F(V)},[T,F]),$=_n(t,L);return N?{...B,ref:$,type:"button","aria-disabled":b?void 0:n,disabled:b,onClick:C,onMouseDown:a,onMouseUp:c,onKeyUp:p,onKeyDown:d,onMouseOver:P,onMouseLeave:F}:{...B,ref:$,role:"button","data-active":Qt(T),"aria-disabled":n?"true":void 0,tabIndex:b?void 0:x,onClick:C,onMouseDown:E,onMouseUp:S,onKeyUp:f,onKeyDown:w,onMouseOver:y,onMouseLeave:_}}function qne(e){const t=e.current;if(!t)return!1;const n=sne(t);return!n||t.contains(n)?!1:!!dne(n)}function X5(e,t){const{shouldFocus:n,visible:r,focusRef:i}=t,o=n&&!r;La(()=>{if(!o||qne(e))return;const a=(i==null?void 0:i.current)||e.current;a&&requestAnimationFrame(()=>{a.focus()})},[o,e,i])}var ere={preventScroll:!0,shouldFocus:!1};function tre(e,t=ere){const{focusRef:n,preventScroll:r,shouldFocus:i,visible:o}=t,a=nre(e)?e.current:e,c=i&&o,u=de.exports.useRef(c),d=de.exports.useRef(o);Zo(()=>{!d.current&&o&&(u.current=c),d.current=o},[o,c]);const p=de.exports.useCallback(()=>{if(!(!o||!a||!u.current)&&(u.current=!1,!a.contains(document.activeElement)))if(n!=null&&n.current)requestAnimationFrame(()=>{var I;(I=n.current)==null||I.focus({preventScroll:r})});else{const I=L5(a);I.length>0&&requestAnimationFrame(()=>{I[0].focus({preventScroll:r})})}},[o,r,a,n]);La(()=>{p()},[p]),cl(a,"transitionend",p)}function nre(e){return"current"in e}var Hl=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),fr={arrowShadowColor:Hl("--popper-arrow-shadow-color"),arrowSize:Hl("--popper-arrow-size","8px"),arrowSizeHalf:Hl("--popper-arrow-size-half"),arrowBg:Hl("--popper-arrow-bg"),transformOrigin:Hl("--popper-transform-origin"),arrowOffset:Hl("--popper-arrow-offset")};function rre(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var ire={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},ore=e=>ire[e],NP={scroll:!0,resize:!0};function are(e){let t;return typeof e=="object"?t={enabled:!0,options:{...NP,...e}}:t={enabled:e,options:NP},t}var sre={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},lre={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{FP(e)},effect:({state:e})=>()=>{FP(e)}},FP=e=>{e.elements.popper.style.setProperty(fr.transformOrigin.var,ore(e.placement))},cre={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{ure(e)}},ure=e=>{var t;if(!e.placement)return;const n=dre(e.placement);if(((t=e.elements)==null?void 0:t.arrow)&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:fr.arrowSize.varRef,height:fr.arrowSize.varRef,zIndex:-1});const r={[fr.arrowSizeHalf.var]:`calc(${fr.arrowSize.varRef} / 2)`,[fr.arrowOffset.var]:`calc(${fr.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},dre=e=>{if(e.startsWith("top"))return{property:"bottom",value:fr.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:fr.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:fr.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:fr.arrowOffset.varRef}},hre={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{BP(e)},effect:({state:e})=>()=>{BP(e)}},BP=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=rre(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:fr.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},fre={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},pre={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function gre(e,t="ltr"){var n,r;const i=((n=fre[e])==null?void 0:n[t])||e;return t==="ltr"?i:(r=pre[e])!=null?r:i}var wi="top",ro="bottom",io="right",Ci="left",ek="auto",sf=[wi,ro,io,Ci],qc="start",xh="end",mre="clippingParents",U5="viewport",zu="popper",vre="reference",WP=sf.reduce(function(e,t){return e.concat([t+"-"+qc,t+"-"+xh])},[]),K5=[].concat(sf,[ek]).reduce(function(e,t){return e.concat([t,t+"-"+qc,t+"-"+xh])},[]),yre="beforeRead",bre="read",xre="afterRead",wre="beforeMain",Cre="main",Sre="afterMain",Are="beforeWrite",Ire="write",kre="afterWrite",_re=[yre,bre,xre,wre,Cre,Sre,Are,Ire,kre];function na(e){return e?(e.nodeName||"").toLowerCase():null}function oo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wl(e){var t=oo(e).Element;return e instanceof t||e instanceof Element}function qi(e){var t=oo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tk(e){if(typeof ShadowRoot>"u")return!1;var t=oo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ere(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!qi(o)||!na(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var c=i[a];c===!1?o.removeAttribute(a):o.setAttribute(a,c===!0?"":c)}))})}function Tre(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=a.reduce(function(u,d){return u[d]="",u},{});!qi(i)||!na(i)||(Object.assign(i.style,c),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}const Pre={name:"applyStyles",enabled:!0,phase:"write",fn:Ere,effect:Tre,requires:["computeStyles"]};function Qo(e){return e.split("-")[0]}var ul=Math.max,Sm=Math.min,eu=Math.round;function MC(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function J5(){return!/^((?!chrome|android).)*safari/i.test(MC())}function tu(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&qi(e)&&(i=e.offsetWidth>0&&eu(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&eu(r.height)/e.offsetHeight||1);var a=wl(e)?oo(e):window,c=a.visualViewport,u=!J5()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/i,p=(r.top+(u&&c?c.offsetTop:0))/o,I=r.width/i,P=r.height/o;return{width:I,height:P,top:p,right:d+I,bottom:p+P,left:d,x:d,y:p}}function nk(e){var t=tu(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Q5(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Da(e){return oo(e).getComputedStyle(e)}function Rre(e){return["table","td","th"].indexOf(na(e))>=0}function Bs(e){return((wl(e)?e.ownerDocument:e.document)||window.document).documentElement}function tb(e){return na(e)==="html"?e:e.assignedSlot||e.parentNode||(tk(e)?e.host:null)||Bs(e)}function HP(e){return!qi(e)||Da(e).position==="fixed"?null:e.offsetParent}function Ore(e){var t=/firefox/i.test(MC()),n=/Trident/i.test(MC());if(n&&qi(e)){var r=Da(e);if(r.position==="fixed")return null}var i=tb(e);for(tk(i)&&(i=i.host);qi(i)&&["html","body"].indexOf(na(i))<0;){var o=Da(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function lf(e){for(var t=oo(e),n=HP(e);n&&Rre(n)&&Da(n).position==="static";)n=HP(n);return n&&(na(n)==="html"||na(n)==="body"&&Da(n).position==="static")?t:n||Ore(e)||t}function rk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dd(e,t,n){return ul(e,Sm(t,n))}function Mre(e,t,n){var r=Dd(e,t,n);return r>n?n:r}function q5(){return{top:0,right:0,bottom:0,left:0}}function eB(e){return Object.assign({},q5(),e)}function tB(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Lre=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,eB(typeof t!="number"?t:tB(t,sf))};function Dre(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Qo(n.placement),u=rk(c),d=[Ci,io].indexOf(c)>=0,p=d?"height":"width";if(!(!o||!a)){var I=Lre(i.padding,n),P=nk(o),F=u==="y"?wi:Ci,B=u==="y"?ro:io,N=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],D=a[u]-n.rects.reference[u],T=lf(o),M=T?u==="y"?T.clientHeight||0:T.clientWidth||0:0,O=N/2-D/2,L=I[F],x=M-P[p]-I[B],b=M/2-P[p]/2+O,C=Dd(L,b,x),g=u;n.modifiersData[r]=(t={},t[g]=C,t.centerOffset=C-b,t)}}function $re(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!Q5(t.elements.popper,i)||(t.elements.arrow=i))}const Nre={name:"arrow",enabled:!0,phase:"main",fn:Dre,effect:$re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nu(e){return e.split("-")[1]}var Fre={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bre(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:eu(t*i)/i||0,y:eu(n*i)/i||0}}function zP(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,I=e.isFixed,P=a.x,F=P===void 0?0:P,B=a.y,N=B===void 0?0:B,D=typeof p=="function"?p({x:F,y:N}):{x:F,y:N};F=D.x,N=D.y;var T=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),O=Ci,L=wi,x=window;if(d){var b=lf(n),C="clientHeight",g="clientWidth";if(b===oo(n)&&(b=Bs(n),Da(b).position!=="static"&&c==="absolute"&&(C="scrollHeight",g="scrollWidth")),b=b,i===wi||(i===Ci||i===io)&&o===xh){L=ro;var w=I&&b===x&&x.visualViewport?x.visualViewport.height:b[C];N-=w-r.height,N*=u?1:-1}if(i===Ci||(i===wi||i===ro)&&o===xh){O=io;var f=I&&b===x&&x.visualViewport?x.visualViewport.width:b[g];F-=f-r.width,F*=u?1:-1}}var m=Object.assign({position:c},d&&Fre),E=p===!0?Bre({x:F,y:N}):{x:F,y:N};if(F=E.x,N=E.y,u){var S;return Object.assign({},m,(S={},S[L]=M?"0":"",S[O]=T?"0":"",S.transform=(x.devicePixelRatio||1)<=1?"translate("+F+"px, "+N+"px)":"translate3d("+F+"px, "+N+"px, 0)",S))}return Object.assign({},m,(t={},t[L]=M?N+"px":"",t[O]=T?F+"px":"",t.transform="",t))}function Wre(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,c=n.roundOffsets,u=c===void 0?!0:c,d={placement:Qo(t.placement),variation:nu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zP(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zP(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Hre={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Wre,data:{}};var Xf={passive:!0};function zre(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,c=a===void 0?!0:a,u=oo(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",n.update,Xf)}),c&&u.addEventListener("resize",n.update,Xf),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",n.update,Xf)}),c&&u.removeEventListener("resize",n.update,Xf)}}const Vre={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zre,data:{}};var jre={left:"right",right:"left",bottom:"top",top:"bottom"};function Op(e){return e.replace(/left|right|bottom|top/g,function(t){return jre[t]})}var Gre={start:"end",end:"start"};function VP(e){return e.replace(/start|end/g,function(t){return Gre[t]})}function ik(e){var t=oo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ok(e){return tu(Bs(e)).left+ik(e).scrollLeft}function Yre(e,t){var n=oo(e),r=Bs(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,c=0,u=0;if(i){o=i.width,a=i.height;var d=J5();(d||!d&&t==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:c+ok(e),y:u}}function Zre(e){var t,n=Bs(e),r=ik(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=ul(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ul(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-r.scrollLeft+ok(e),u=-r.scrollTop;return Da(i||n).direction==="rtl"&&(c+=ul(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:c,y:u}}function ak(e){var t=Da(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function nB(e){return["html","body","#document"].indexOf(na(e))>=0?e.ownerDocument.body:qi(e)&&ak(e)?e:nB(tb(e))}function $d(e,t){var n;t===void 0&&(t=[]);var r=nB(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=oo(r),a=i?[o].concat(o.visualViewport||[],ak(r)?r:[]):r,c=t.concat(a);return i?c:c.concat($d(tb(a)))}function LC(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Xre(e,t){var n=tu(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function jP(e,t,n){return t===U5?LC(Yre(e,n)):wl(t)?Xre(t,n):LC(Zre(Bs(e)))}function Ure(e){var t=$d(tb(e)),n=["absolute","fixed"].indexOf(Da(e).position)>=0,r=n&&qi(e)?lf(e):e;return wl(r)?t.filter(function(i){return wl(i)&&Q5(i,r)&&na(i)!=="body"}):[]}function Kre(e,t,n,r){var i=t==="clippingParents"?Ure(e):[].concat(t),o=[].concat(i,[n]),a=o[0],c=o.reduce(function(u,d){var p=jP(e,d,r);return u.top=ul(p.top,u.top),u.right=Sm(p.right,u.right),u.bottom=Sm(p.bottom,u.bottom),u.left=ul(p.left,u.left),u},jP(e,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function rB(e){var t=e.reference,n=e.element,r=e.placement,i=r?Qo(r):null,o=r?nu(r):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(i){case wi:u={x:a,y:t.y-n.height};break;case ro:u={x:a,y:t.y+t.height};break;case io:u={x:t.x+t.width,y:c};break;case Ci:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=i?rk(i):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case qc:u[d]=u[d]-(t[p]/2-n[p]/2);break;case xh:u[d]=u[d]+(t[p]/2-n[p]/2);break}}return u}function wh(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,c=n.boundary,u=c===void 0?mre:c,d=n.rootBoundary,p=d===void 0?U5:d,I=n.elementContext,P=I===void 0?zu:I,F=n.altBoundary,B=F===void 0?!1:F,N=n.padding,D=N===void 0?0:N,T=eB(typeof D!="number"?D:tB(D,sf)),M=P===zu?vre:zu,O=e.rects.popper,L=e.elements[B?M:P],x=Kre(wl(L)?L:L.contextElement||Bs(e.elements.popper),u,p,a),b=tu(e.elements.reference),C=rB({reference:b,element:O,strategy:"absolute",placement:i}),g=LC(Object.assign({},O,C)),w=P===zu?g:b,f={top:x.top-w.top+T.top,bottom:w.bottom-x.bottom+T.bottom,left:x.left-w.left+T.left,right:w.right-x.right+T.right},m=e.modifiersData.offset;if(P===zu&&m){var E=m[i];Object.keys(f).forEach(function(S){var y=[io,ro].indexOf(S)>=0?1:-1,_=[wi,ro].indexOf(S)>=0?"y":"x";f[S]+=E[_]*y})}return f}function Jre(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?K5:u,p=nu(r),I=p?c?WP:WP.filter(function(B){return nu(B)===p}):sf,P=I.filter(function(B){return d.indexOf(B)>=0});P.length===0&&(P=I);var F=P.reduce(function(B,N){return B[N]=wh(e,{placement:N,boundary:i,rootBoundary:o,padding:a})[Qo(N)],B},{});return Object.keys(F).sort(function(B,N){return F[B]-F[N]})}function Qre(e){if(Qo(e)===ek)return[];var t=Op(e);return[VP(e),t,VP(t)]}function qre(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,c=a===void 0?!0:a,u=n.fallbackPlacements,d=n.padding,p=n.boundary,I=n.rootBoundary,P=n.altBoundary,F=n.flipVariations,B=F===void 0?!0:F,N=n.allowedAutoPlacements,D=t.options.placement,T=Qo(D),M=T===D,O=u||(M||!B?[Op(D)]:Qre(D)),L=[D].concat(O).reduce(function(ve,z){return ve.concat(Qo(z)===ek?Jre(t,{placement:z,boundary:p,rootBoundary:I,padding:d,flipVariations:B,allowedAutoPlacements:N}):z)},[]),x=t.rects.reference,b=t.rects.popper,C=new Map,g=!0,w=L[0],f=0;f =0,_=y?"width":"height",$=wh(t,{placement:m,boundary:p,rootBoundary:I,altBoundary:P,padding:d}),V=y?S?io:Ci:S?ro:wi;x[_]>b[_]&&(V=Op(V));var H=Op(V),X=[];if(o&&X.push($[E]<=0),c&&X.push($[V]<=0,$[H]<=0),X.every(function(ve){return ve})){w=m,g=!1;break}C.set(m,X)}if(g)for(var Q=B?3:1,re=function(z){var Z=L.find(function(ce){var Y=C.get(ce);if(Y)return Y.slice(0,z).every(function(ie){return ie})});if(Z)return w=Z,"break"},ue=Q;ue>0;ue--){var le=re(ue);if(le==="break")break}t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}const eie={name:"flip",enabled:!0,phase:"main",fn:qre,requiresIfExists:["offset"],data:{_skip:!1}};function GP(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function YP(e){return[wi,io,ro,Ci].some(function(t){return e[t]>=0})}function tie(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=wh(t,{elementContext:"reference"}),c=wh(t,{altBoundary:!0}),u=GP(a,r),d=GP(c,i,o),p=YP(u),I=YP(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:I},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":I})}const nie={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:tie};function rie(e,t,n){var r=Qo(e),i=[Ci,wi].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],c=o[1];return a=a||0,c=(c||0)*i,[Ci,io].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function iie(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=K5.reduce(function(p,I){return p[I]=rie(I,t.rects,o),p},{}),c=a[t.placement],u=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const oie={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:iie};function aie(e){var t=e.state,n=e.name;t.modifiersData[n]=rB({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const sie={name:"popperOffsets",enabled:!0,phase:"read",fn:aie,data:{}};function lie(e){return e==="x"?"y":"x"}function cie(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,c=a===void 0?!1:a,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,I=n.padding,P=n.tether,F=P===void 0?!0:P,B=n.tetherOffset,N=B===void 0?0:B,D=wh(t,{boundary:u,rootBoundary:d,padding:I,altBoundary:p}),T=Qo(t.placement),M=nu(t.placement),O=!M,L=rk(T),x=lie(L),b=t.modifiersData.popperOffsets,C=t.rects.reference,g=t.rects.popper,w=typeof N=="function"?N(Object.assign({},t.rects,{placement:t.placement})):N,f=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),m=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(!!b){if(o){var S,y=L==="y"?wi:Ci,_=L==="y"?ro:io,$=L==="y"?"height":"width",V=b[L],H=V+D[y],X=V-D[_],Q=F?-g[$]/2:0,re=M===qc?C[$]:g[$],ue=M===qc?-g[$]:-C[$],le=t.elements.arrow,ve=F&&le?nk(le):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:q5(),Z=z[y],ce=z[_],Y=Dd(0,C[$],ve[$]),ie=O?C[$]/2-Q-Y-Z-f.mainAxis:re-Y-Z-f.mainAxis,he=O?-C[$]/2+Q+Y+ce+f.mainAxis:ue+Y+ce+f.mainAxis,fe=t.elements.arrow&&lf(t.elements.arrow),Ce=fe?L==="y"?fe.clientTop||0:fe.clientLeft||0:0,Pe=(S=m==null?void 0:m[L])!=null?S:0,we=V+ie-Pe-Ce,be=V+he-Pe,ee=Dd(F?Sm(H,we):H,V,F?ul(X,be):X);b[L]=ee,E[L]=ee-V}if(c){var se,ge=L==="x"?wi:Ci,U=L==="x"?ro:io,q=b[x],oe=x==="y"?"height":"width",xe=q+D[ge],ke=q-D[U],Te=[wi,Ci].indexOf(T)!==-1,Ne=(se=m==null?void 0:m[x])!=null?se:0,Ge=Te?xe:q-C[oe]-g[oe]-Ne+f.altAxis,nt=Te?q+C[oe]+g[oe]-Ne-f.altAxis:ke,He=F&&Te?Mre(Ge,q,nt):Dd(F?Ge:xe,q,F?nt:ke);b[x]=He,E[x]=He-q}t.modifiersData[r]=E}}const uie={name:"preventOverflow",enabled:!0,phase:"main",fn:cie,requiresIfExists:["offset"]};function die(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function hie(e){return e===oo(e)||!qi(e)?ik(e):die(e)}function fie(e){var t=e.getBoundingClientRect(),n=eu(t.width)/e.offsetWidth||1,r=eu(t.height)/e.offsetHeight||1;return n!==1||r!==1}function pie(e,t,n){n===void 0&&(n=!1);var r=qi(t),i=qi(t)&&fie(t),o=Bs(t),a=tu(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((na(t)!=="body"||ak(o))&&(c=hie(t)),qi(t)?(u=tu(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=ok(o))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function gie(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&i(u)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function mie(e){var t=gie(e);return _re.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function vie(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function yie(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ZP={placement:"bottom",modifiers:[],strategy:"absolute"};function XP(){for(var e=arguments.length,t=new Array(e),n=0;n {}),O=de.exports.useCallback(()=>{var f;!t||!B.current||!N.current||((f=M.current)==null||f.call(M),D.current=iB(B.current,N.current,{placement:T,modifiers:[hre,cre,lre,{...sre,enabled:!!P},{name:"eventListeners",...are(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:c!=null?c:[0,u]}},{name:"flip",enabled:!!d,options:{padding:8}},{name:"preventOverflow",enabled:!!I,options:{boundary:p}},...n!=null?n:[]],strategy:i}),D.current.forceUpdate(),M.current=D.current.destroy)},[T,t,n,P,a,o,c,u,d,I,p,i]);de.exports.useEffect(()=>()=>{var f;!B.current&&!N.current&&((f=D.current)==null||f.destroy(),D.current=null)},[]);const L=de.exports.useCallback(f=>{B.current=f,O()},[O]),x=de.exports.useCallback((f={},m=null)=>({...f,ref:_n(L,m)}),[L]),b=de.exports.useCallback(f=>{N.current=f,O()},[O]),C=de.exports.useCallback((f={},m=null)=>({...f,ref:_n(b,m),style:{...f.style,position:i,minWidth:P?void 0:"max-content",inset:"0 auto auto 0"}}),[i,b,P]),g=de.exports.useCallback((f={},m=null)=>{const{size:E,shadowColor:S,bg:y,style:_,...$}=f;return{...$,ref:m,"data-popper-arrow":"",style:wie(f)}},[]),w=de.exports.useCallback((f={},m=null)=>({...f,ref:m,"data-popper-arrow-inner":""}),[]);return{update(){var f;(f=D.current)==null||f.update()},forceUpdate(){var f;(f=D.current)==null||f.forceUpdate()},transformOrigin:fr.transformOrigin.varRef,referenceRef:L,popperRef:b,getPopperProps:C,getArrowProps:g,getArrowInnerProps:w,getReferenceProps:x}}function wie(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}function lk(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=nr(n),a=nr(t),[c,u]=de.exports.useState(e.defaultIsOpen||!1),d=r!==void 0?r:c,p=r!==void 0,I=de.exports.useId(),P=i!=null?i:`disclosure-${I}`,F=de.exports.useCallback(()=>{p||u(!1),a==null||a()},[p,a]),B=de.exports.useCallback(()=>{p||u(!0),o==null||o()},[p,o]),N=de.exports.useCallback(()=>{d?F():B()},[d,B,F]);function D(M={}){return{...M,"aria-expanded":d,"aria-controls":P,onClick(O){var L;(L=M.onClick)==null||L.call(M,O),N()}}}function T(M={}){return{...M,hidden:!d,id:P}}return{isOpen:d,onOpen:B,onClose:F,onToggle:N,isControlled:p,getButtonProps:D,getDisclosureProps:T}}function Cie(e){const{ref:t,handler:n,enabled:r=!0}=e,i=nr(n),a=de.exports.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;de.exports.useEffect(()=>{if(!r)return;const c=I=>{ex(I,t)&&(a.isPointerDown=!0)},u=I=>{if(a.ignoreEmulatedMouseEvents){a.ignoreEmulatedMouseEvents=!1;return}a.isPointerDown&&n&&ex(I,t)&&(a.isPointerDown=!1,i(I))},d=I=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&ex(I,t)&&(a.isPointerDown=!1,i(I))},p=oB(t.current);return p.addEventListener("mousedown",c,!0),p.addEventListener("mouseup",u,!0),p.addEventListener("touchstart",c,!0),p.addEventListener("touchend",d,!0),()=>{p.removeEventListener("mousedown",c,!0),p.removeEventListener("mouseup",u,!0),p.removeEventListener("touchstart",c,!0),p.removeEventListener("touchend",d,!0)}},[n,t,i,a,r])}function ex(e,t){var n;const r=e.target;return e.button>0||r&&!oB(r).contains(r)?!1:!((n=t.current)!=null&&n.contains(r))}function oB(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function aB(e){const{isOpen:t,ref:n}=e,[r,i]=de.exports.useState(t),[o,a]=de.exports.useState(!1);return de.exports.useEffect(()=>{o||(i(t),a(!0))},[t,o,r]),cl(()=>n.current,"animationend",()=>{i(t)}),{present:!(t?!1:!r),onComplete(){var u;const d=ane(n.current),p=new d.CustomEvent("animationend",{bubbles:!0});(u=n.current)==null||u.dispatchEvent(p)}}}function ck(e){const{wasSelected:t,enabled:n,isSelected:r,mode:i="unmount"}=e;return!!(!n||r||i==="keepMounted"&&t)}var[Sie,Aie,Iie,kie]=$I(),[_ie,cf]=In({strict:!1,name:"MenuContext"});function Eie(e,...t){const n=de.exports.useId(),r=e||n;return de.exports.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}function sB(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function UP(e){return sB(e).activeElement===e}function Tie(e={}){const{id:t,closeOnSelect:n=!0,closeOnBlur:r=!0,initialFocusRef:i,autoSelect:o=!0,isLazy:a,isOpen:c,defaultIsOpen:u,onClose:d,onOpen:p,placement:I="bottom-start",lazyBehavior:P="unmount",direction:F,computePositionOnMount:B=!1,...N}=e,D=de.exports.useRef(null),T=de.exports.useRef(null),M=Iie(),O=de.exports.useCallback(()=>{requestAnimationFrame(()=>{var le;(le=D.current)==null||le.focus({preventScroll:!1})})},[]),L=de.exports.useCallback(()=>{const le=setTimeout(()=>{var ve;if(i)(ve=i.current)==null||ve.focus();else{const z=M.firstEnabled();z&&S(z.index)}});H.current.add(le)},[M,i]),x=de.exports.useCallback(()=>{const le=setTimeout(()=>{const ve=M.lastEnabled();ve&&S(ve.index)});H.current.add(le)},[M]),b=de.exports.useCallback(()=>{p==null||p(),o?L():O()},[o,L,O,p]),{isOpen:C,onOpen:g,onClose:w,onToggle:f}=lk({isOpen:c,defaultIsOpen:u,onClose:d,onOpen:b});Cie({enabled:C&&r,ref:D,handler:le=>{var ve;(ve=T.current)!=null&&ve.contains(le.target)||w()}});const m=sk({...N,enabled:C||B,placement:I,direction:F}),[E,S]=de.exports.useState(-1);La(()=>{C||S(-1)},[C]),X5(D,{focusRef:T,visible:C,shouldFocus:!0});const y=aB({isOpen:C,ref:D}),[_,$]=Eie(t,"menu-button","menu-list"),V=de.exports.useCallback(()=>{g(),O()},[g,O]),H=de.exports.useRef(new Set([]));$ie(()=>{H.current.forEach(le=>clearTimeout(le)),H.current.clear()});const X=de.exports.useCallback(()=>{g(),L()},[L,g]),Q=de.exports.useCallback(()=>{g(),x()},[g,x]),re=de.exports.useCallback(()=>{var le,ve;const z=sB(D.current),Z=(le=D.current)==null?void 0:le.contains(z.activeElement);if(!(C&&!Z))return;const Y=(ve=M.item(E))==null?void 0:ve.node;Y==null||Y.focus()},[C,E,M]),ue=de.exports.useRef(null);return{openAndFocusMenu:V,openAndFocusFirstItem:X,openAndFocusLastItem:Q,onTransitionEnd:re,unstable__animationState:y,descendants:M,popper:m,buttonId:_,menuId:$,forceUpdate:m.forceUpdate,orientation:"vertical",isOpen:C,onToggle:f,onOpen:g,onClose:w,menuRef:D,buttonRef:T,focusedIndex:E,closeOnSelect:n,closeOnBlur:r,autoSelect:o,setFocusedIndex:S,isLazy:a,lazyBehavior:P,initialFocusRef:i,rafId:ue}}function Pie(e={},t=null){const n=cf(),{onToggle:r,popper:i,openAndFocusFirstItem:o,openAndFocusLastItem:a}=n,c=de.exports.useCallback(u=>{const d=u.key,I={Enter:o,ArrowDown:o,ArrowUp:a}[d];I&&(u.preventDefault(),u.stopPropagation(),I(u))},[o,a]);return{...e,ref:_n(n.buttonRef,t,i.referenceRef),id:n.buttonId,"data-active":Qt(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:Wt(e.onClick,r),onKeyDown:Wt(e.onKeyDown,c)}}function DC(e){var t;return Lie(e)&&!!((t=e==null?void 0:e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function Rie(e={},t=null){const n=cf();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within