ados-rcm 1.1.614 → 1.1.616
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('@charset "UTF-8";._NoSelect_29290_1{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._NoTransition_29290_6{--Transition-Enabled: 0}._IsFixedShape_29290_10{overflow:hidden;white-space:nowrap}._IsCursorPointer_29290_15{cursor:pointer}._IsInteractive_29290_19:before{position:absolute;top:0;left:0;width:100%;height:100%;color:block;content:"";background-color:#000;border-radius:inherit;opacity:0;transition:all var(--Transition)}._IsInteractive_29290_19:hover:before{opacity:.06}._IsInteractive_29290_19:focus:before{opacity:.12}._IsInteractive_29290_19:active:before{opacity:.16}._Display1_11vgm_1{font-size:3.5rem;font-weight:700}._Display2_11vgm_6{font-size:2.75rem;font-weight:600}._Title1_11vgm_11{font-size:2.25rem;font-weight:600}._Title2_11vgm_16{font-size:1.625rem;font-weight:600}._Title3_11vgm_21{font-size:1.5rem;font-weight:600}._Headline1_11vgm_26{font-size:1.375rem;font-weight:500}._Headline2_11vgm_31{font-size:1.25rem;font-weight:400}._Body1Normal_11vgm_36,._Body1Reading_11vgm_41{font-size:1rem;font-weight:400}._Label1_11vgm_46{font-size:.875rem;font-weight:400}._Label2_11vgm_51{font-size:.8125rem;font-weight:400}._Caption1_11vgm_56{font-size:.75rem;font-weight:400}._Caption2_11vgm_61{font-size:.6875rem;font-weight:400}._Regular_11vgm_66{font-weight:400}._Medium_11vgm_70{font-weight:500}._SemiBold_11vgm_74{font-weight:600}._Bold_11vgm_78{font-weight:700}._AProgressBar_17v9w_1{display:flex;flex-direction:column;width:100%;padding:4px 0}._AProgressBar_17v9w_1 ._Header_17v9w_7{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}._AProgressBar_17v9w_1 ._Header_17v9w_7 ._Percentage_17v9w_13{transition:color calc(var(--Transition-Enabled) * var(--Transition))}._AProgressBar_17v9w_1 ._BarContainer_17v9w_16{position:relative;width:100%;height:8px;overflow:hidden;background-color:var(--line-neutral);border-radius:4px;transition:background-color calc(var(--Transition-Enabled) * var(--Transition))}._AProgressBar_17v9w_1 ._BarContainer_17v9w_16 ._Bar_17v9w_16{height:100%;background-color:var(--acent-brand);border-radius:inherit;transition:width calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition))}._AProgressBar_17v9w_1._CustomHeight_17v9w_31 ._BarContainer_17v9w_16{height:var(--progress-bar-height)}._AProgressBar_17v9w_1._CustomRadius_17v9w_34 ._BarContainer_17v9w_16,._AProgressBar_17v9w_1._CustomRadius_17v9w_34 ._BarContainer_17v9w_16 ._Bar_17v9w_16{border-radius:var(--progress-bar-radius)}._AProgressBar_17v9w_1._CustomColor_17v9w_40 ._BarContainer_17v9w_16{background-color:var(--progress-bar-background-custom)}._AProgressBar_17v9w_1._CustomColor_17v9w_40 ._BarContainer_17v9w_16 ._Bar_17v9w_16{background-color:var(--progress-bar-color-custom)}._Tooltip_1khnz_1{position:fixed;z-index:100;visibility:hidden;width:fit-content;height:fit-content;padding:4px 10px;text-overflow:ellipsis;color:var(--ATooltip_color);white-space:break-all;pointer-events:none;background-color:var(--ATooltip_background-color);border-radius:5px;opacity:0;transition:opacity var(--Transition) ease-in-out,background-color var(--Transition) ease-in-out}._Tooltip_1khnz_1 ._Arrow_1khnz_17{position:absolute;pointer-events:none;content:"";border-color:var(--ATooltip_background-color)}._ABase_c7a1t_1{position:relative;display:flex;flex-direction:column}._ABase_c7a1t_1._UseDimming_c7a1t_6 ._UseDimming_c7a1t_6 ._Dimmer_c7a1t_6,._ABase_c7a1t_1._UseDimming_c7a1t_6 ._UseDimming_c7a1t_6 ._Spinner_c7a1t_9{z-index:0}._ABase_c7a1t_1._Dimmed_c7a1t_12 ._Dimmed_c7a1t_12 ._Dimmer_c7a1t_6,._ABase_c7a1t_1._Dimmed_c7a1t_12 ._Dimmed_c7a1t_12 ._Spinner_c7a1t_9{opacity:0}._ABase_c7a1t_1._HasProgress_c7a1t_18>*:not(._Dimmer_c7a1t_6,._Spinner_c7a1t_9){visibility:hidden}._Dimmer_c7a1t_6{position:absolute;top:0;left:0;z-index:100;width:100%;height:100%;overflow:hidden;pointer-events:none;background-color:var(--ABase_Dimming_background-color);border-radius:inherit;opacity:0;transition:opacity var(--Transition),background-color var(--Transition)}._Dimmer_c7a1t_6._IsDimmed_c7a1t_36{pointer-events:all;cursor:progress;opacity:.5}._Dimmer_c7a1t_6._IsLoading_c7a1t_41{pointer-events:all;cursor:wait;opacity:.5}._Dimmer_c7a1t_6._IsDisabled_c7a1t_46{pointer-events:all;cursor:not-allowed;opacity:.5}._Dimmer_c7a1t_6._HasProgress_c7a1t_18{background-color:var(--ABase_Dimming_background-color);opacity:.9}._Spinner_c7a1t_9{position:absolute;top:0;left:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity var(--Transition)}._Spinner_c7a1t_9 svg{width:50px;max-width:50%;height:50px;max-height:50%}._Spinner_c7a1t_9._IsLoading_c7a1t_41{opacity:1}._Spinner_c7a1t_9._IsLoading_c7a1t_41._IsDisabled_c7a1t_46{opacity:.5}._Spinner_c7a1t_9._HasProgress_c7a1t_18{display:flex;justify-content:center}._Spinner_c7a1t_9._HasProgress_c7a1t_18>*{width:calc(100% - 20px);max-width:300px}._AButton_vulhu_1{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:90px;height:34px;padding:0 18px;white-space:nowrap;border-radius:2px;transition:color var(--Transition),background-color var(--Transition),border var(--Transition)}._AButton_vulhu_1._Primary_vulhu_14{color:var(--AButton_Primary_color);background-color:var(--AButton_Primary_background-color);border:var(--AButton_Primary_border)}._AButton_vulhu_1._Secondary_vulhu_19{color:var(--AButton_Secondary_color);background-color:var(--AButton_Secondary_background-color);border:var(--AButton_Secondary_border)}._AButton_vulhu_1._Alter_vulhu_24{color:var(--AButton_Alter_color);background-color:var(--AButton_Alter_background-color);border:var(--AButton_Alter_border)}._AIconButton_vulhu_30{box-sizing:border-box;display:flex;align-items:center;justify-content:center}._AIconButton_vulhu_30._Primary_vulhu_14{min-width:34px;max-width:34px;min-height:34px;max-height:34px;color:var(--AIconButton_Primary_color);background-color:var(--AIconButton_Primary_background-color);border:var(--AIconButton_Primary_border);border-radius:6px;transition:border var(--Transition),background-color var(--Transition),color var(--Transition)}._AIconButton_vulhu_30._Primary_vulhu_14:hover{background-color:var(--AIconButton_Primary_hover_background-color)}._AIconButton_vulhu_30._Primary_vulhu_14:active{background-color:var(--AIconButton_Primary_active_background-color)}._AIconButton_vulhu_30._Secondary_vulhu_19{min-width:24px;max-width:24px;min-height:24px;max-height:24px;color:var(--AIconButton_Secondary_color);background-color:var(--AIconButton_Secondary_background-color);border:none;border-radius:9999px;transition:background-color var(--Transition),color var(--Transition)}._AIconButton_vulhu_30._Secondary_vulhu_19:hover{background-color:var(--AIconButton_Secondary_hover_background-color)}._AIconButton_vulhu_30._Secondary_vulhu_19:active{background-color:var(--AIconButton_Secondary_active_background-color)}._AThemeButton_vulhu_71{width:28px;height:28px;color:var(--AIconButton_Primary_color);border-radius:14px;transition:color var(--Transition)}._AWrap_u1f1h_1{position:relative;z-index:0;display:flex;flex-direction:column}._Label_u1f1h_8{display:flex;flex-direction:row;gap:4px;align-items:center;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;color:inherit;white-space:nowrap}._Label_u1f1h_8 ._Asterisk_u1f1h_19{color:var(--alert-danger)}._HelperTextConatiner_u1f1h_23{display:flex;flex-grow:0;flex-direction:row;overflow:hidden;color:inherit;transition:all var(--Transition) ease-in-out}._HelperText_u1f1h_23{height:fit-content;overflow:hidden;color:inherit;transition:all var(--Transition)}._HelperText_u1f1h_23._Error_u1f1h_38{color:var(--AWrap_Error_color)}._ASwitch_nlcij_1{cursor:pointer;border-radius:26px}._Track_nlcij_6{min-width:26px;max-width:26px;border:var(--ASwitch_Track_Falsy_border);border-radius:26px;transition:transform .15s cubic-bezier(.4,0,.2,1),border-color var(--Transition)}._Track_nlcij_6._Truthy_nlcij_13{border:var(--ASwitch_Track_Truthy_border)}._Thumb_nlcij_17{position:absolute;top:50%;border:var(--ASwitch_Thumb_border);border-radius:50%;transform:translate(-9px,-50%);transition:transform .15s cubic-bezier(.4,0,.2,1),border-color var(--Transition)}._Thumb_nlcij_17._Truthy_nlcij_13{transform:translate(17px,-50%)}._ACheckBoxWrap_1ozuz_1{color:var(--ACheckBox_color);cursor:pointer;border-radius:4px;transition:color var(--Transition)}._ACheckBox_1ozuz_1{min-width:16px;max-width:16px;min-height:16px;max-height:16px}._ARowFrame_j9gdv_1{display:flex;flex-direction:row;align-items:center}._AColFrame_j9gdv_7{display:flex;flex-direction:column;align-items:center}._AOverflowFrame_j9gdv_13{display:block;max-width:100%;max-height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._ADivideFrame_j9gdv_22{position:relative;display:flex;flex-grow:1;overflow:hidden;opacity:0;transition:opacity var(--Transition) cubic-bezier(.4,0,.2,1)}._ADivideFrame_j9gdv_22._Row_j9gdv_30{flex-direction:row}._ADivideFrame_j9gdv_22._Col_j9gdv_33{flex-direction:column}._ADivideFrame_j9gdv_22._FadeIn_j9gdv_36{opacity:1}._ADivideFrame_j9gdv_22._NoTransition_j9gdv_39{transition:none!important}._ChildFrame_j9gdv_43{position:relative;box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;overflow:hidden;transition:width var(--Transition) cubic-bezier(.4,0,.2,1),height var(--Transition) cubic-bezier(.4,0,.2,1),min-width var(--Transition) cubic-bezier(.4,0,.2,1),min-height var(--Transition) cubic-bezier(.4,0,.2,1),max-width var(--Transition) cubic-bezier(.4,0,.2,1),max-height var(--Transition) cubic-bezier(.4,0,.2,1)}._ChildFrame_j9gdv_43._Row_j9gdv_30{overflow-x:auto}._ChildFrame_j9gdv_43._Col_j9gdv_33{overflow-y:auto}._ChildFrame_j9gdv_43._NoTransition_j9gdv_39{transition:none!important}._ChildFrame_j9gdv_43:has(._ExpandButtonOverlay_j9gdv_61)._Row_j9gdv_30{overflow:hidden}._ChildFrame_j9gdv_43:has(._ExpandButtonOverlay_j9gdv_61)._Col_j9gdv_33{overflow:hidden}._Divider_j9gdv_68{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;transition:left var(--Transition) cubic-bezier(.4,0,.2,1),top var(--Transition) cubic-bezier(.4,0,.2,1)}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Row_j9gdv_30{cursor:ew-resize}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Row_j9gdv_30 ._DividerInner_j9gdv_79{min-width:2px;max-width:2px}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Col_j9gdv_33{cursor:ns-resize}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Col_j9gdv_33 ._DividerInner_j9gdv_79{min-height:2px;max-height:2px}._Divider_j9gdv_68._Row_j9gdv_30{min-width:11px;max-width:11px;min-height:100%;max-height:100%;margin-right:-5.5px;margin-left:-5.5px}._Divider_j9gdv_68._Row_j9gdv_30 ._DividerInner_j9gdv_79{min-width:1px;max-width:1px;min-height:100%;max-height:100%}._Divider_j9gdv_68._Row_j9gdv_30._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76){cursor:ew-resize}._Divider_j9gdv_68._Row_j9gdv_30._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76) ._DividerInner_j9gdv_79{min-width:2px;max-width:2px}._Divider_j9gdv_68._Col_j9gdv_33{min-width:100%;max-width:100%;min-height:11px;max-height:11px;margin-top:-5.5px;margin-bottom:-5.5px}._Divider_j9gdv_68._Col_j9gdv_33 ._DividerInner_j9gdv_79{min-width:100%;max-width:100%;min-height:1px;max-height:1px}._Divider_j9gdv_68._Col_j9gdv_33._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76){cursor:ns-resize}._Divider_j9gdv_68._Col_j9gdv_33._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76) ._DividerInner_j9gdv_79{min-height:2px;max-height:2px}._DividerInner_j9gdv_79{position:absolute;background-color:var(--ADivideFrame_DividerInner_background-color);transition:all var(--Transition) cubic-bezier(.4,0,.2,1)}._RemoteButton_j9gdv_139{display:flex;flex-shrink:0;width:fit-content;padding:21px 10px 24px}._isExpanded_j9gdv_146{transform:scaleX(-1)}._IsMoving_j9gdv_76,._NoTransition_j9gdv_39{transition:none}._NoDraggable_j9gdv_76{cursor:default}._ExpandButtonOverlay_j9gdv_61{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:auto;cursor:pointer;background-color:var(--background-normal);opacity:0;transition:background-color var(--Transition) cubic-bezier(.4,0,.2,1);animation:_fade-in_j9gdv_1 var(--Transition) cubic-bezier(.4,0,.2,1) forwards}._ExpandButtonOverlay_j9gdv_61:hover{background-color:var(--elevation-10)}@keyframes _fade-in_j9gdv_1{0%{opacity:0}to{opacity:1}}._ExpandButton_j9gdv_61{position:absolute;top:50%;left:50%;color:var(--acent-brand);opacity:0;transition:all var(--Transition) cubic-bezier(.4,0,.2,1);animation:_fade-in_j9gdv_1 var(--Transition) cubic-bezier(.4,0,.2,1) .1s forwards}._ASpace_1okqf_1{width:0;height:0;transition:all var(--Transition)}._AChipsContainer_1ag9v_1{display:flex;flex-flow:row wrap}._AChip_1ag9v_1{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:center;min-width:32px;min-height:26px;padding:4px 6px;color:var(--AChip_color);background-color:var(--AChip_background-color);border:var(--AChip_border);border-radius:16px}._AChip_1ag9v_1._Clickable_1ag9v_21:hover{color:var(--AChip_hover_color);background-color:var(--AChip_hover_background-color)}._AChipDelete_1ag9v_26{position:absolute;right:0;aspect-ratio:1/1;margin-right:6px;color:var(--AChip_DeleteButton_color);border:var(--AChip_DeleteButton_border);border-radius:50%}._AChipDelete_1ag9v_26:hover,._IsHover_1ag9v_40{color:var(--AChip_DeleteButton_hover_color);border:var(--AChip_DeleteButton_hover_border)}._AChipDeleteIcon_1ag9v_45{position:absolute;right:0;z-index:2;margin-right:8px}input{font-family:Pretendard,sans-serif;font-size:1rem;font-weight:400}._InputContainer_1adq8_7{z-index:1;box-sizing:border-box;display:flex;flex-direction:row;height:34px;word-break:none;white-space:nowrap;resize:none;border:none;border-radius:6px;transition:border var(--Transition),background-color var(--Transition)}._AInput_1adq8_21{box-sizing:border-box;width:100%;padding:8px 12px;text-overflow:ellipsis;color:inherit;background-color:transparent;border:none;transition:color var(--Transition)}._AInput_1adq8_21:focus{outline:none}._AInput_1adq8_21::placeholder{transition:all var(--Transition);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._AInput_1adq8_21::-webkit-calendar-picker-indicator{display:none!important}._LeftAddon_1adq8_43{box-sizing:border-box;display:flex;align-items:center}._RightAddon_1adq8_49{display:flex;flex-direction:row;align-items:center}._ErrorHelperText_1adq8_55{color:var(--AInput_Error_HelperText_color)}._Primary_1adq8_59{color:var(--AInput_Primary_color);background-color:var(--AInput_Primary_background-color);border:var(--AInput_Primary_border)}._Primary_1adq8_59:hover:not(._UnAvailable_1adq8_64){border:var(--AInput_Primary_hover_border)}._Primary_1adq8_59:focus-within:not(._UnAvailable_1adq8_64){background-color:var(--AInput_Primary_focus_background-color);border:var(--AInput_Primary_focus_border)}._Primary_1adq8_59 ::placeholder{color:var(--AInput_Primary_placeholder_color)}._Secondary_1adq8_75{color:var(--AInput_Secondary_color);background-color:var(--AInput_Secondary_background-color);border:var(--AInput_Secondary_border)}._Secondary_1adq8_75:hover:not(._UnAvailable_1adq8_64){border:var(--AInput_Secondary_hover_border)}._Secondary_1adq8_75:focus-within:not(._UnAvailable_1adq8_64){border:var(--AInput_Secondary_focus_border)}._Secondary_1adq8_75 ::placeholder{color:var(--AInput_Secondary_placeholder_color)}._ReadOnly_1adq8_90{color:var(--AInput_ReadOnly_color);cursor:not-allowed;background-color:var(--AInput_ReadOnly_background-color);border:var(--AInput_ReadOnly_border)}._Error_1adq8_55{color:var(--AInput_Error_color);background-color:var(--AInput_Error_background-color);border:var(--AInput_Error_border)}._Error_1adq8_55 ::placeholder{color:var(--AInput_Error_placeholder_color)}._ANumInputUnitSelect_1adq8_106{padding:0;color:var(--line-strong)}._ASelect_1gbzd_1{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:200px;height:34px;overflow:hidden;cursor:pointer;border-radius:6px}._ASelect_1gbzd_1 ._Arrow_1gbzd_14{position:relative;display:flex;align-items:center;justify-content:center;height:100%;pointer-events:none;transition:border var(--Transition)}._ASelect_1gbzd_1._Primary_1gbzd_23{border:var(--ASelect_Primary_border);transition:border var(--Transition)}._ASelect_1gbzd_1._Primary_1gbzd_23 ._Arrow_1gbzd_14{min-width:30px;max-width:50px;aspect-ratio:1/1;color:var(--ASelect_Primary_Arrow_color);border-left:var(--ASelect_Primary_border)}._ASelect_1gbzd_1._Primary_1gbzd_23:hover:not(._UnAvailable_1gbzd_34),._ASelect_1gbzd_1._Primary_1gbzd_23._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34){border:var(--ASelect_Primary_hover_border)}._ASelect_1gbzd_1._Primary_1gbzd_23:hover:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14,._ASelect_1gbzd_1._Primary_1gbzd_23._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14{border-left:var(--ASelect_Primary_hover_border);transition:border-left var(--Transition)}._ASelect_1gbzd_1._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_background-color);border:var(--ASelect_Secondary_border);transition:border var(--Transition),background-color var(--Transition)}._ASelect_1gbzd_1._Secondary_1gbzd_41 ._Arrow_1gbzd_14{color:var(--ASelect_Secondary_Arrow_color);transition:color var(--Transition)}._ASelect_1gbzd_1._Secondary_1gbzd_41:hover:not(._UnAvailable_1gbzd_34),._ASelect_1gbzd_1._Secondary_1gbzd_41._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34){border:var(--ASelect_Secondary_hover_border)}._ASelect_1gbzd_1._Secondary_1gbzd_41:hover:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14,._ASelect_1gbzd_1._Secondary_1gbzd_41._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14{transition:border-left var(--Transition)}._Placeholder_1gbzd_57{color:var(--ASelect_Placeholder_color)}._ValuesContainer_1gbzd_61{display:flex;flex-grow:1;overflow:hidden;white-space:nowrap}._Values_1gbzd_61{box-sizing:border-box;display:block;width:100%;height:100%;padding:8px 0 8px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._Options_1gbzd_80{position:fixed;z-index:100;box-sizing:border-box;visibility:hidden;width:fit-content;overflow:overlay;cursor:pointer;border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;opacity:0;transition:opacity var(--Transition),visibility var(--Transition),background-color var(--Transition),border var(--Transition)}._Options_1gbzd_80._Raw_1gbzd_93,._Options_1gbzd_80._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Options_background-color);border:var(--ASelect_Primary_Options_border)}._Options_1gbzd_80._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Options_background-color);border:var(--ASelect_Secondary_Options_border)}._Option_1gbzd_80{display:flex;flex-grow:1;flex-direction:row;align-items:center;padding-left:12px;transition:background-color var(--Transition)}._Option_1gbzd_80:hover._Raw_1gbzd_93,._Option_1gbzd_80:hover._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Option_hover_background-color)}._Option_1gbzd_80:hover._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Option_hover_background-color)}._Option_1gbzd_80:active._Raw_1gbzd_93,._Option_1gbzd_80:active._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Option_active_background-color)}._Option_1gbzd_80:active._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Option_active_background-color)}._Option_1gbzd_80._Selected_1gbzd_122._Raw_1gbzd_93,._Option_1gbzd_80._Selected_1gbzd_122._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Option_Selected_background-color)}._Option_1gbzd_80._Selected_1gbzd_122._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Option_Selected_background-color)}._CheckBox_1gbzd_129{position:sticky;left:0;z-index:2;display:flex;flex-direction:row;align-items:center;min-height:100%;padding-right:12px;background-color:inherit}._Anchor_27s50_1{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;height:34px;color:var(--ADatePicker_Anchor_color);border:var(--ADatePicker_Anchor_border);border-radius:6px;transition:all var(--Transition)}._Anchor_27s50_1:hover{border:var(--ADatePicker_Anchor_hover_border)}._Anchor_27s50_1:focus{border:var(--ADatePicker_Anchor_focus_border)}._Anchor_27s50_1._Primary_27s50_18{padding:8px}._Anchor_27s50_1._Secondary_27s50_21{padding:8px 4px 8px 12px}._Placeholder_27s50_25{color:var(--ADatePicker_Anchor_Placeholder_color);transition:all var(--Transition)}._Icon_27s50_30._Primary_27s50_18{color:var(--ADatePicker_Anchor_Icon_Primary_color)}._Icon_27s50_30._Secondary_27s50_21{color:var(--ADatePicker_Anchor_Icon_Secondary_color)}._ADatePicker_27s50_37{position:fixed;z-index:100;overflow:hidden;background-color:var(--ADatePicker_background-color);border:var(--ADatePicker_border);border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;transition:background-color var(--Transition),opacity var(--Transition),visibility var(--Transition)}._StringInputWrap_27s50_48{display:flex;flex:1}._StringInputContainer_27s50_53{box-sizing:border-box;display:flex;flex-direction:column;padding:10px;background-color:var(--ADatePicker_StringInputContainer_background-color)}._StringInput_27s50_48{text-align:center}._String_27s50_48{border-color:var(--ADatePicker_StringInputContainer_background-color)}._String_27s50_48._IsIdx_27s50_68{border:var(--ADatePicker_String_border)}._CalendarContainer_27s50_72{display:flex;flex-direction:column;padding:10px}._Header_27s50_78{justify-content:space-between}._Prev_27s50_82,._Next_27s50_83{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:24px;max-width:24px;min-height:24px;max-height:24px;cursor:pointer;border-radius:4px}._Prev_27s50_82{background-color:var(--ADatePicker_Prev_background-color)}._Prev_27s50_82:after{margin-left:-6px;content:"";border:4px solid transparent;border-right:var(--ADatePicker_Prev_border-right)}._Next_27s50_83{background-color:var(--ADatePicker_Next_background-color)}._Next_27s50_83:after{margin-left:6px;content:"";border:4px solid transparent;border-left:var(--ADatePicker_Next_border-left)}._MonthYear_27s50_116{display:flex;flex-direction:row}._Select_27s50_121{min-height:100%;max-height:35px}._Calendar_27s50_72{display:flex;flex-direction:column}._Cell_27s50_131{display:flex;align-items:center;justify-content:center;min-width:40px;max-width:40px;min-height:24px;max-height:24px;color:var(--ADatePicker_Cell_color);background-color:transparent;border-radius:0}._Cell_27s50_131._IsNotCurrentMonth_27s50_143{color:var(--ADatePicker_Cell_IsNotCurrentMonth_color);pointer-events:none}._Cell_27s50_131._IsSelected_27s50_147{color:var(--ADatePicker_Cell_IsSelected_color);background-color:var(--ADatePicker_Cell_IsSelected_background-color)}._Cell_27s50_131._IsDisabled_27s50_151{background-color:var(--ADatePicker_Cell_IsDisabled_color)}._Cell_27s50_131._IsHovered_27s50_154{background-color:var(--ADatePicker_Cell_IsHovered_background-color)}._Week_27s50_158{display:flex;flex-direction:row}._WeekDay_27s50_163{cursor:default}._Anchor_1x8q1_1{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;height:34px;color:var(--ADateRangePicker_Anchor_color);border:var(--ADateRangePicker_Anchor_border);border-radius:6px;transition:all var(--Transition)}._Anchor_1x8q1_1:hover{border:var(--ADateRangePicker_Anchor_hover_border)}._Anchor_1x8q1_1:focus{border:var(--ADateRangePicker_Anchor_focus_border)}._Anchor_1x8q1_1._Primary_1x8q1_18{padding:8px 4px 8px 8px}._Anchor_1x8q1_1._Secondary_1x8q1_22{padding:8px 4px 8px 12px}._Placeholder_1x8q1_26{color:var(--ADateRangePicker_Anchor_Placeholder_color);transition:all var(--Transition)}._Icon_1x8q1_31._Primary_1x8q1_18{color:var(--ADateRangePicker_Anchor_Icon_Primary_color)}._Icon_1x8q1_31._Secondary_1x8q1_22{color:var(--ADateRangePicker_Anchor_Icon_Secondary_color)}._ADateRangePicker_1x8q1_38{position:fixed;z-index:100;overflow:hidden;background-color:var(--ADateRangePicker_background-color);border:var(--ADateRangePicker_border);border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;transition:background-color var(--Transition),opacity var(--Transition),visibility var(--Transition)}._StringInputWrap_1x8q1_49{display:flex}._StringInputContainer_1x8q1_53{box-sizing:border-box;display:flex;flex-direction:column;width:300px;padding:10px;background-color:var(--ADateRangePicker_StringInputContainer_background-color)}._StringInput_1x8q1_49{text-align:center}._String_1x8q1_49{border-color:var(--ADateRangePicker_StringInputContainer_background-color)}._String_1x8q1_49._IsIdx_1x8q1_69{border:var(--ADateRangePicker_String_border)}._CalendarContainer_1x8q1_73{display:flex;flex-direction:column;padding:10px}._Header_1x8q1_79{justify-content:space-between}._Prev_1x8q1_83,._Next_1x8q1_84{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:24px;max-width:24px;min-height:24px;max-height:24px;cursor:pointer;border-radius:4px}._Prev_1x8q1_83{background-color:var(--ADateRangePicker_Prev_background-color)}._Prev_1x8q1_83:after{margin-left:-6px;content:"";border:4px solid transparent;border-right:var(--ADateRangePicker_Prev_border-right)}._Next_1x8q1_84{background-color:var(--ADateRangePicker_Next_background-color)}._Next_1x8q1_84:after{margin-left:6px;content:"";border:4px solid transparent;border-left:var(--ADateRangePicker_Next_border-left)}._MonthYear_1x8q1_117{display:flex;flex-direction:row}._Select_1x8q1_122{min-height:100%;max-height:35px}._Calendar_1x8q1_73{display:flex;flex-direction:column}._Cell_1x8q1_132{display:flex;align-items:center;justify-content:center;min-width:40px;max-width:40px;min-height:24px;max-height:24px;color:var(--ADateRangePicker_Cell_color);background-color:transparent;border-radius:0}._Cell_1x8q1_132._IsNotCurrentMonth_1x8q1_144{color:var(--ADateRangePicker_Cell_IsNotCurrentMonth_color);pointer-events:none}._Cell_1x8q1_132._IsSelected_1x8q1_148{color:var(--ADateRangePicker_Cell_IsSelected_color);background-color:var(--ADateRangePicker_Cell_IsSelected_background-color)}._Cell_1x8q1_132._IsDisabled_1x8q1_152{background-color:var(--ADateRangePicker_Cell_IsDisabled_color)}._Cell_1x8q1_132._IsHovered_1x8q1_155{background-color:var(--ADateRangePicker_Cell_IsHovered_background-color)}._Week_1x8q1_159{display:flex;flex-direction:row}._WeekDay_1x8q1_164{cursor:default}._ChoiceButton_1x8q1_168{flex:1;width:unset;min-width:unset;height:24px;border-radius:4px}._ChoiceButton_1x8q1_168+._ChoiceButton_1x8q1_168{margin-left:8px}._Paper_e69j5_1{position:fixed;top:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background-color:var(--ADialog_Paper_background-color);transition:opacity var(--Transition),visibility var(--Transition)}._Card_e69j5_15{display:flex;flex-direction:column;min-width:400px;max-width:80%;max-height:80%;overflow:overlay;background-color:var(--ADialog_background-color);border:var(--ADialog_border);border-radius:4px}._Card_e69j5_15 ._Body_e69j5_26{box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;width:100%;padding:20px;overflow:overlay}._Card_e69j5_15 ._Body_e69j5_26 ._Title_e69j5_35{box-sizing:border-box;display:flex;flex-grow:0;width:100%;margin-bottom:12px}._Card_e69j5_15 ._Body_e69j5_26 ._Content_e69j5_42{overflow:overlay}._Card_e69j5_15 ._Action_e69j5_45{box-sizing:border-box;display:flex;flex-grow:1;align-items:center;justify-content:flex-end;width:100%;min-height:82px;max-height:82px;padding:25.5px 24px;overflow:hidden;background-color:var(--ADialog_Action_background-color)}._Card_e69j5_15 ._Action_e69j5_45 ._Button_e69j5_58{box-sizing:border-box;display:flex;flex:1;width:172px;max-width:172px;min-height:30px;padding:1px 6px}._AFileBox_1hlo1_1{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:300px;height:100px;padding:20px;cursor:default;background-color:var(--AFileBox_background-color);border:var(--AFileBox_border);border-radius:6px;transition:border var(--Transition),background-color var(--Transition)}._SelectedFile_1hlo1_16{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--AFileBox_SelectedFile_color);transition:all var(--Transition)}._Dropping_1hlo1_26{color:var(--AFileBox_Dropping_color);transition:all var(--Transition)}._AFileUploader_i2nun_1{position:relative;box-sizing:border-box;width:100%;padding:0;margin-top:8px;cursor:default;border:none;display:flex;flex-direction:row;gap:0;align-items:flex-start;justify-content:flex-start}._LabelContainer_i2nun_16{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;width:100%}._LabelButton_i2nun_25{height:1rem;text-decoration:underline;text-underline-offset:2px;cursor:pointer}._LabelButton_i2nun_25:hover:not(._Disabled_i2nun_31){color:var(--AFileUploader_brand_color)}._LabelButton_i2nun_25._Delete_i2nun_34:hover:not(._Disabled_i2nun_31){color:var(--AFileUploader_error_color)}._FileSize_i2nun_38{flex-shrink:0;margin-left:8px;color:var(--AFileUploader_text_color);white-space:nowrap}._TotalFileSize_i2nun_45{color:var(--AFileUploader_text_color)}._FileBox_i2nun_49{position:relative;box-sizing:border-box;width:180px;min-width:180px;height:40px;min-height:40px;padding:0;color:var(--AFileUploader_brand_color);background-color:var(--AFileUploader_background-color);border:1.5px dashed var(--AFileUploader_brand_color);border-radius:8px;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;transition:border-color calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition))}._FileBox_i2nun_49._FileBoxFullSize_i2nun_68{top:0;right:0;bottom:0;left:0;width:100%;height:100%;transition:width calc(var(--Transition-Enabled) * var(--Transition)),height calc(var(--Transition-Enabled) * var(--Transition))}._SelectRenderer_i2nun_75{display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;z-index:1;flex-grow:1;height:100%;border-radius:8px}._ChipsContainer_i2nun_87{display:flex;flex-direction:row;gap:0;align-items:flex-start;justify-content:flex-start;flex-flow:row wrap;gap:8px;align-content:flex-start;width:100%;height:100%}._FileChip_i2nun_100{z-index:1;flex:0 1 auto;width:auto;min-width:180px;max-width:100%;height:40px;padding:6px 12px;background-color:var(--AFileUploader_background-color);border-radius:8px;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition)),color calc(var(--Transition-Enabled) * var(--Transition))}._FileChipContent_i2nun_113{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;width:100%;min-width:0;max-width:100%}._FileNameContainer_i2nun_124{flex:1;min-width:0;max-width:100%}._ButtonRenderer_i2nun_130{box-sizing:border-box;flex-shrink:0;margin-left:12px;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center}._ErrorBorder_i2nun_141{border-color:var(--AFileUploader_error_color)}._ErrorColor_i2nun_145{color:var(--AFileUploader_error_color)}._ErrorCursor_i2nun_149{cursor:not-allowed}._Disabled_i2nun_31{color:var(--AFileUploader_text_color);cursor:not-allowed;border-color:var(--AFileUploader_disabled_color)}._DropIdle_i2nun_159{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;transition:color calc(var(--Transition-Enabled) * var(--Transition))}._AFloatMenu_xco8u_1{position:fixed;z-index:100;border:var(--AFloatMenu_border);border-radius:4px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;transition:opacity var(--Transition),visibility var(--Transition),border var(--Transition),background-color var(--Transition)}._Content_xco8u_10{display:flex;align-items:center;justify-content:center;min-height:34px;color:var(--AFloatMenu_color);background-color:var(--AFloatMenu_background-color)}._Content_xco8u_10:hover{background-color:var(--AFloatMenu_hover_background-color)}._Content_xco8u_10:nth-child(1){border-top-left-radius:4px;border-top-right-radius:4px}._Content_xco8u_10:nth-last-child(1){border-bottom-right-radius:4px;border-bottom-left-radius:4px}._AListView_1nv5l_1{box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;cursor:default;transition:border var(--Transition)}._Row_1nv5l_10{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;width:100%;transition:border var(--Transition)}._Label_1nv5l_19{box-sizing:border-box;display:flex;align-items:center;min-width:120px;max-width:120px;height:100%;transition:border var(--Transition)}._Content_1nv5l_29{box-sizing:border-box;display:flex;flex:1;align-items:center;min-height:100%;transition:border var(--Transition)}._ALoadingBorder_kwc1g_1{position:relative;width:100%;min-height:2px;max-height:2px;overflow:hidden;background-color:var(--ALoadingBorder_background-color)}._ALoadingBorder_kwc1g_1 ._ProgressBar_kwc1g_9{position:absolute;width:100%;height:100%;background-color:var(--ALoadingBorder_ProgressBar_background-color)}._ALoadingBorder_kwc1g_1 ._ProgressBar_kwc1g_9._IsLoading_kwc1g_15{width:0;animation:ease-in-out _load_kwc1g_1 3s infinite}._ALoadingBorder_kwc1g_1 ._Cover_kwc1g_19{position:absolute;width:100%;height:2px;background-color:var(--ALoadingBorder_Cover_background-color)}._ALoadingBorder_kwc1g_1 ._Cover_kwc1g_19._IsLoading_kwc1g_15{opacity:0}@keyframes _load_kwc1g_1{0%{left:0;width:100%}25%{left:100%;width:0;animation-timing-function:cubic-bezier(1,0,.6,1.5)}26%{left:0}50%{width:100%}75%{left:100%;width:0;animation-timing-function:cubic-bezier(1,0,.6,1.5)}76%{left:0}to{width:100%}}._Container_ez8dc_1{display:flex;flex-direction:row;align-items:center}._Option_ez8dc_7{flex-shrink:0}._Option_ez8dc_7+._Option_ez8dc_7{margin-left:10px}._RadioButton_ez8dc_14{box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin-right:4px;border:var(--ARadioSelect_RadioButton_border);border-radius:50%;transition:border-color calc(var(--Transition-Enabled) * var(--Transition))}._RadioButton_ez8dc_14 ._InnerCircle_ez8dc_24{display:flex;border-radius:50%;transition:all var(--Transition)}._RadioButton_ez8dc_14 ._InnerCircle_ez8dc_24._isChecked_ez8dc_29{background-color:var(--ARadioSelect_RadioButton_InnerCircle_isChecked_background-color)}._AMultiSelect_19uuu_1{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:200px;height:34px;overflow:hidden;cursor:pointer;border-radius:6px;transition:opacity var(--Transition),border var(--Transition)}._AMultiSelect_19uuu_1 ._Arrow_19uuu_15{position:relative;display:flex;align-items:center;justify-content:center;height:100%;pointer-events:none;transition:border var(--Transition)}._AMultiSelect_19uuu_1._Primary_19uuu_24{border:var(--AMultiSelect_Primary_border);transition:border var(--Transition)}._AMultiSelect_19uuu_1._Primary_19uuu_24 ._Arrow_19uuu_15{min-width:30px;max-width:50px;aspect-ratio:1/1;color:var(--AMultiSelect_Primary_Arrow_color);border-left:var(--AMultiSelect_Primary_border)}._AMultiSelect_19uuu_1._Primary_19uuu_24:hover:not(._UnAvailable_19uuu_35),._AMultiSelect_19uuu_1._Primary_19uuu_24._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35){border:var(--AMultiSelect_Primary_hover_border)}._AMultiSelect_19uuu_1._Primary_19uuu_24:hover:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15,._AMultiSelect_19uuu_1._Primary_19uuu_24._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15{border-left:var(--AMultiSelect_Primary_hover_border);transition:border-left var(--Transition)}._AMultiSelect_19uuu_1._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_background-color);border:var(--AMultiSelect_Secondary_border);transition:background-color var(--Transition)}._AMultiSelect_19uuu_1._Secondary_19uuu_42 ._Arrow_19uuu_15{color:var(--AMultiSelect_Secondary_Arrow_color);transition:color var(--Transition)}._AMultiSelect_19uuu_1._Secondary_19uuu_42:hover:not(._UnAvailable_19uuu_35),._AMultiSelect_19uuu_1._Secondary_19uuu_42._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35){border:var(--AMultiSelect_Secondary_hover_border)}._AMultiSelect_19uuu_1._Secondary_19uuu_42:hover:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15,._AMultiSelect_19uuu_1._Secondary_19uuu_42._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15{transition:color var(--Transition)}._Placeholder_19uuu_58{color:var(--AMultiSelect_Placeholder_color);transition:all var(--Transition)}._ValuesContainer_19uuu_63{display:flex;flex-grow:1;overflow:hidden;white-space:nowrap}._Values_19uuu_63{box-sizing:border-box;display:block;width:100%;height:100%;padding:8px 0 8px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._Options_19uuu_82{position:fixed;z-index:100;box-sizing:border-box;visibility:hidden;width:fit-content;overflow:overlay;cursor:pointer;border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;opacity:0;transition:opacity var(--Transition),visibility var(--Transition),background-color var(--Transition),border var(--Transition)}._Options_19uuu_82._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Options_background-color);border:var(--AMultiSelect_Primary_Options_border)}._Options_19uuu_82._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Options_background-color);border:var(--AMultiSelect_Secondary_Options_border)}._Option_19uuu_82{display:flex;flex-grow:1;flex-direction:row;align-items:center;padding-left:12px;transition:background-color var(--Transition)}._Option_19uuu_82:hover._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Option_hover_background-color)}._Option_19uuu_82:hover._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Option_hover_background-color)}._Option_19uuu_82:active._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Option_active_background-color)}._Option_19uuu_82:active._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Option_active_background-color)}._Option_19uuu_82._Selected_19uuu_124._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Option_Selected_background-color)}._Option_19uuu_82._Selected_19uuu_124._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Option_Selected_background-color)}._CheckBox_19uuu_131{position:sticky;left:0;z-index:2;display:flex;flex-direction:row;align-items:center;min-height:100%;padding-right:12px;background-color:inherit}._Container_10ion_1{display:flex;flex-direction:column;align-items:center;width:100%;height:100%}._Steps_10ion_9{display:flex;flex-direction:row;align-items:center;width:50%;overflow:overlay}._Step_10ion_9{position:relative;display:flex;flex-grow:1;flex-direction:column;align-items:center;padding:10px}._OutCircle_10ion_26{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:34px;min-height:34px;max-height:34px;background-color:var(--AStepper_OutCircle_background-color);border-radius:17px}._OutCircle_10ion_26._IsOver_10ion_37{background-color:var(--AStepper_OutCircle_IsOver_background-color)}._InCircle_10ion_41{min-width:22px;max-width:22px;min-height:22px;max-height:22px;background-color:var(--AStepper_InCircle_background-color);border-radius:22px;transition:background-color var(--Transition)}._InCircle_10ion_41._IsOver_10ion_37{background-color:var(--AStepper_InCircle_IsOver_background-color)}._Line_10ion_54{position:absolute;top:27px;display:flex;width:50%;height:1px;background-color:var(--AStepper_Line_background-color);transition:background-color var(--Transition)}._Line_10ion_54._IsOver_10ion_37{background-color:var(--AStepper_Line_IsOver_background-color)}._Line_10ion_54._Left_10ion_66{left:0}._Line_10ion_54._Right_10ion_69{right:0}._ContentContainer_10ion_73{display:flex;flex-grow:1;flex-direction:row;width:100%;overflow-x:hidden}._Content_10ion_73{display:flex;flex-grow:1;min-width:100%;transition:all var(--Transition);transition-timing-function:cubic-bezier(.075,.82,.165,1)}._ATab_9eg6z_1{position:relative;box-sizing:border-box;display:flex;flex-grow:1;flex-direction:row;overflow:hidden visible}._ATab_9eg6z_1 ._Addon_9eg6z_9{display:flex;align-items:center;min-height:100%}._ATab_9eg6z_1 ._Option_9eg6z_14{position:relative;z-index:2;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:center;font-weight:400;color:var(--color, var(--label-normal));transition:color var(--Transition)}._ATab_9eg6z_1 ._Option_9eg6z_14._Underline_9eg6z_26._IsSelected_9eg6z_26{text-decoration-line:underline;text-decoration-thickness:auto;text-decoration-style:solid;text-underline-position:from-font;text-underline-offset:2px;text-decoration-skip-ink:auto}._ATab_9eg6z_1 ._Option_9eg6z_14._IsSelected_9eg6z_26{font-weight:700}._ATab_9eg6z_1 ._IndicatorTrack_9eg6z_37{position:absolute;bottom:0;box-sizing:border-box;display:flex;width:100%;border-bottom:var(--ATab_IndicatorTrack_Primary_border-bottom);transition:border var(--Transition)}._ATab_9eg6z_1 ._Indicator_9eg6z_37{position:absolute;bottom:0;height:4px;background-color:var(--color, var(--ATab_Indicator_Primary_background-color));transition:var(--Transition);transition-timing-function:cubic-bezier(.075,.82,.165,1)}._ATab_9eg6z_1._Primary_9eg6z_54 ._IndicatorTrack_9eg6z_37{min-width:100%}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Option_9eg6z_14{border:var(--ATab_Option_Secondary_border);border-top-left-radius:4px;border-top-right-radius:4px;transition:border var(--Transition),color var(--Transition)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Option_9eg6z_14._IsDisabled_9eg6z_63{border:var(--ATab_Option_Secondary_IsDisabled_border)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Option_9eg6z_14._IsSelected_9eg6z_26{border-bottom:var(--ATab_Option_Secondary_IsSelected_border-bottom)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._IndicatorTrack_9eg6z_37{min-width:100%;border-bottom:var(--ATab_Option_Secondary_border);transition:border-bottom var(--Transition)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Indicator_9eg6z_37{display:none}._ATab_9eg6z_1._Tertiary_9eg6z_77{overflow:hidden}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._Option_9eg6z_14{color:var(--color, var(--ATab_Option_Tertiary_color));transition:color var(--Transition)}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._Option_9eg6z_14._IsSelected_9eg6z_26{color:var(--color, var(--ATab_Option_Tertiary_IsSelected_color));transition:color var(--Transition)}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._IndicatorTrack_9eg6z_37{box-sizing:border-box;background-color:var(--color, var(--ATab_IndicatorTrack_Tertiary_background-color));border-radius:8px;transition:background-color var(--Transition),border var(--Transition)}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._Indicator_9eg6z_37{top:50%;z-index:1;background-color:var(--color, var(--ATab_Indicator_Tertiary_background-color));border-radius:6px;transition:background-color var(--Transition)}._ATab_9eg6z_1._Quaternary_9eg6z_101 ._Option_9eg6z_14{color:var(--color, var(--ATab_Option_Quaternary_color));transition:color var(--Transition)}._ATab_9eg6z_1._Quaternary_9eg6z_101 ._Option_9eg6z_14._IsSelected_9eg6z_26{color:var(--color, var(--ATab_Option_Quaternary_IsSelected_color));transition:color var(--Transition)}._ATab_9eg6z_1._Quaternary_9eg6z_101 ._IndicatorTrack_9eg6z_37,._ATab_9eg6z_1._Quaternary_9eg6z_101 ._Indicator_9eg6z_37{display:none}._ATable_12zow_1{display:flex;flex-grow:1;flex-direction:column;overflow:hidden auto}._BodyHeader_ys4y0_1{position:relative;flex-direction:column;width:100%;transition:border var(--Transition)}._BodyHeader_ys4y0_1 ._TRow_ys4y0_7{position:relative}._OverflowSpace_ys4y0_11{box-sizing:border-box;transition:background-color var(--Transition)}._BodyBody_ys4y0_16{position:relative;box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;width:100%;height:100%;overflow:hidden auto}._TRow_ys4y0_7{box-sizing:border-box;display:flex;flex-direction:row;border-bottom:var(--ATableBody_TRow_border-bottom);transition:border var(--Transition)}._IsSelected_ys4y0_35{background-color:var(--ATableBody_TRow_IsSelected_background-color)}._IsSelectable_ys4y0_39{cursor:pointer;transition:background-color var(--Transition)}._IsSelectable_ys4y0_39:hover{background-color:var(--ATableBody_TRow_IsSelectable_hover_background-color)}._IsRowMarked_ys4y0_47{color:var(--ATableBody_TD_IsMarked_color);background-color:var(--ATableBody_TD_IsMarked_background-color)}._TH_ys4y0_52{color:var(--ATableBody_TH_color);transition:color var(--Transition)}._TD_ys4y0_57._IsMarked_ys4y0_57,._IsMarked_ys4y0_57{background-color:var(--ATableBody_TD_IsMarked_background-color)}._TD_ys4y0_57,._TH_ys4y0_52{position:relative;box-sizing:border-box;display:flex;flex-grow:1;align-items:center;justify-content:flex-start;overflow:hidden}._Resizer_ys4y0_76{z-index:1;box-sizing:border-box;display:flex;flex-direction:row;min-width:11px;max-width:11px;min-height:100%;margin-right:-5.5px;margin-left:-5.5px;transition:all var(--Transition)}._Resizer_ys4y0_76:hover:not(._IsMoving_ys4y0_88){cursor:not-allowed}._Resizer_ys4y0_76:hover:not(._IsMoving_ys4y0_88)._IsResizable_ys4y0_91{cursor:col-resize}._Resizer_ys4y0_76:hover:not(._IsMoving_ys4y0_88) ._ResizerCenter_ys4y0_94{background-color:var(--ATableBody_Resizer_hover_ResizerCenter_background-color)}._Resizer_ys4y0_76._IsResizable_ys4y0_91:active ._ResizerCenter_ys4y0_94{background-color:var(--ATableBody_Resizer_active_ResizerCenter_background-color)}._Resizer_ys4y0_76._IsResizable_ys4y0_91:active ._ResizerOut_ys4y0_100{background-color:var(--ATableBody_Resizer_active_ResizerOut_background-color);opacity:.125}._Resizer_ys4y0_76._IsResizable_ys4y0_91:active ._ResizerIn_ys4y0_104{background-color:var(--ATableBody_Resizer_active_ResizerIn_background-color);opacity:.25}._Resizer_ys4y0_76._IsMoving_ys4y0_88{cursor:col-resize}._ResizerOut_ys4y0_100,._ResizerIn_ys4y0_104{display:flex;justify-content:center;min-width:1px;max-width:1px;height:100%;transition:all var(--Transition)}._ResizerCenter_ys4y0_94{display:flex;justify-content:center;min-width:1px;max-width:1px;height:100%;transition:background-color var(--Transition)}._IsClicked_ys4y0_139,._IsClicked_ys4y0_139 *{transition:width 0s,background-color var(--Transition),height .1s}._NoItems_ys4y0_146{display:flex;flex-grow:1;justify-content:center}._Content_ys4y0_152{padding:4px 8px}._ATableFooter_w090q_1{display:flex;justify-content:center;min-width:100%;height:32px;max-height:32px;margin-top:8px}._Button_w090q_10{display:flex;flex-direction:row;align-items:center;justify-content:center;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;max-height:24px;overflow:hidden;cursor:pointer;border-radius:4px;transition:all var(--Transition)}._Button_w090q_10._IsSelected_w090q_26{color:var(--ATableFooter_Button_IsSelected_color);cursor:default;background-color:var(--ATableFooter_Button_IsSelected_background-color)}._Button_w090q_10._IsDisabled_w090q_31{color:var(--ATableFooter_Button_IsDisabled_color);cursor:default}._Button_w090q_10+._Button_w090q_10{margin-left:8px}._Filter_1b9j0_1{position:relative;z-index:10;display:flex;flex-direction:column;align-items:center;width:100%;transition:padding var(--Transition)}._SelectFilter_1b9j0_11{margin-right:8px}._MainFilter_1b9j0_15{position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:center;width:100%;margin-top:8px;transition:var(--Transition) width}._IsOpen_1b9j0_26{width:calc(100% - 18px)}._SubFilters_1b9j0_30{position:absolute;top:0;z-index:0;box-sizing:border-box;width:100%;padding:48px 8px 8px;background-color:var(--ATableFilter_SubFilters_background-color);border:var(--ATableFilter_SubFilters_border);border-radius:6px;transition:all var(--Transition)}._Input_1b9j0_44{width:100%}._Main_1b9j0_15{min-height:34px;max-height:34px}._Sub_1b9j0_30,._Sub_1b9j0_30 input{min-height:32px;max-height:32px}._Actions_1b9j0_62{flex-grow:1;justify-content:space-between}._Icon_1b9j0_67{overflow:hidden;color:var(--ATableFilter_Icon_color);cursor:pointer;transition:all var(--Transition)}._LeftIcon_1b9j0_74{overflow:hidden;transition:all var(--Transition)}._CircleAlertOutline_1b9j0_79{margin-right:6px;overflow:hidden;color:var(--ATableFilter_Alert_color);cursor:default;transition:all var(--Transition)}._Rotate_1b9j0_87{animation:_rotate_1b9j0_1 var(--Transition) ease-in-out}@keyframes _rotate_1b9j0_1{0%{transform:rotate(0)}to{transform:rotate(-180deg)}}._ATableHeader_1hzfz_1{display:flex;flex-direction:row;align-items:center;max-width:100%;margin-bottom:8px;overflow:visible;white-space:nowrap}._LeftHeaderContent_1hzfz_11{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;height:100%}._RightHeaderContent_1hzfz_19{display:flex;align-items:flex-end;justify-content:flex-end;width:100%;height:100%}._TopRightAddon_1hzfz_27{margin-left:8px;white-space:nowrap}._HItem_1hzfz_32{display:flex}._HItem_1hzfz_32+._HItem_1hzfz_32{align-items:center;min-height:34px;margin-right:8px}._HItem_1hzfz_32:first-child{align-items:center;min-height:34px;margin-right:8px}._AText_1asz6_1{flex-shrink:0;overflow:hidden;text-overflow:ellipsis}textarea{font-family:Pretendard,sans-serif;font-size:1rem;font-weight:400}._Base_cpm4t_7{border-radius:6px}._ATextArea_cpm4t_11{z-index:1;box-sizing:border-box;display:flex;flex-grow:1;padding:8px 12px;overflow:overlay;word-break:none;white-space:nowrap;resize:none;border:none;border-radius:inherit;transition:all var(--Transition)}._ATextArea_cpm4t_11:focus{outline:none}._ATextArea_cpm4t_11::placeholder{opacity:.6;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._Primary_cpm4t_34{color:var(--ATextArea_Primary_color);background-color:var(--ATextArea_Primary_background-color);border:var(--ATextArea_Primary_border)}._Primary_cpm4t_34:hover:not(._UnAvailable_cpm4t_39){border:var(--ATextArea_Primary_hover_border)}._Primary_cpm4t_34:focus:not(._UnAvailable_cpm4t_39){background-color:var(--ATextArea_Primary_focus_background-color);border:var(--ATextArea_Primary_focus_border)}._Secondary_cpm4t_47{color:var(--ATextArea_Secondary_color);background-color:var(--ATextArea_Secondary_background-color);border:var(--ATextArea_Secondary_border)}._Secondary_cpm4t_47:hover:not(._UnAvailable_cpm4t_39){border:var(--ATextArea_Secondary_hover_border)}._Secondary_cpm4t_47:focus:not(._UnAvailable_cpm4t_39){border:var(--ATextArea_Secondary_focus_border)}._ReadOnly_cpm4t_59{color:var(--ATextArea_ReadOnly_color);cursor:not-allowed;background-color:var(--ATextArea_ReadOnly_background-color);border:var(--ATextArea_ReadOnly_border)}._Error_cpm4t_66{color:var(--ATextArea_Error_color);background-color:var(--ATextArea_Error_background-color);border:var(--ATextArea_Error_border)}._Error_cpm4t_66::placeholder{color:var(--ATextArea_Error_placeholder_color)}.ql-toolbar .ql-picker:not(.ql-color-picker):not(.ql-icon-picker).ql-table-up{width:28px}.ql-toolbar .ql-picker:not(.ql-color-picker):not(.ql-icon-picker).ql-table-up .ql-picker-label{padding:2px 4px}.ql-toolbar .ql-picker:not(.ql-color-picker):not(.ql-icon-picker).ql-table-up .ql-picker-label svg{position:static;margin-top:0}.ql-toolbar .ql-picker.ql-expanded .ql-picker-options{z-index:1}.ql-editor .ql-table{display:table;border-collapse:collapse;table-layout:fixed;width:auto}.ql-editor .ql-table[data-full]{width:100%}.ql-editor .ql-table-wrapper{width:100%;overflow:auto;scrollbar-width:none}.ql-editor .ql-table-caption{position:relative;word-break:break-word;outline:0}.ql-editor .ql-table-caption .ql-table-caption--switch{display:flex;align-items:center;justify-content:center;padding:2px;border-radius:4px;border:1px solid #0003;font-size:12px;cursor:pointer;background-color:#fff}.ql-editor .ql-table-caption .ql-table-caption--switch:hover{background-color:#eee}.ql-editor .ql-table-cell{padding:8px 12px;border-color:transparent;font-size:14px;outline:0;overflow:auto}.ql-editor .ql-table-cell-inner{display:inline-block;min-width:100%;word-break:break-word;outline:0;counter-reset:list-0}.ql-editor .ql-table col{border-collapse:separate;text-indent:initial;display:table-column;table-layout:fixed}.ql-editor .ql-table tr+tr td{border-top:none}.ql-editor .ql-table td{border:1px solid #a1a1aa}.ql-editor .ql-table td+td{border-left:none}.table-up-toolbox{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.table-up-toolbox *{pointer-events:all}.table-up-tooltip{position:absolute;z-index:20;padding:.25rem .75rem;border-radius:.25rem;font-size:.75rem;color:#fff;white-space:nowrap;background-color:#303133;transition:opacity .15s linear}.table-up-tooltip.transparent{opacity:0}.table-up-tooltip.hidden{display:none}.table-up-button{--table-btn-color:#606266;--table-btn-bg-hover:#f3f4f6;--table-btn-color-border:#dcdfe6;--table-btn-border:.0625rem solid var(--table-btn-color-border);--table-btn-confirm-color-border:#409eff;--table-btn-confirm-bg:#409eff;--table-btn-confirm-hover:#79bbff;--table-btn-confirm-outline-focus-visible:.125rem solid #a0cfff;box-sizing:border-box;display:inline-flex;height:2rem;line-height:1;margin:0;padding:.5rem 1rem;border-radius:.25rem;border:var(--table-btn-border);color:var(--table-btn-color);background-color:transparent;font-size:.875rem;cursor:pointer}.table-up-button+.table-up-button{margin-left:.375rem}.table-up-button:hover{background-color:var(--table-btn-bg-hover)}.table-up-button.confirm{border-color:var(--table-btn-confirm-color-border);background-color:var(--table-btn-confirm-bg);color:#fff}.table-up-button.confirm:hover{border-color:var(--table-btn-confirm-hover);background-color:var(--table-btn-confirm-hover)}.table-up-button.confirm:focus-visible{outline:var(--table-btn-confirm-outline-focus-visible);outline-offset:.0625rem}.table-up-dialog{--dialog-bg:rgba(0, 0, 0, .5);--dialog-color-border:#ebeef5;--dialog-color-boxshadow:rgba(0, 0, 0, .12);--dialog-border:.0625rem solid var(--dialog-color-border);--dialog-boxshadow:0 0 .75rem var(--dialog-color-boxshadow);position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--dialog-bg);overflow:auto}.table-up-dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;padding:1rem;overflow:auto;text-align:center}.table-up-dialog__overlay:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.table-up-dialog__content{display:inline-block;max-width:50vw;width:100%;vertical-align:middle;background-color:#fff;border-radius:.25rem;border:var(--dialog-border);font-size:1.125rem;box-shadow:var(--dialog-boxshadow);text-align:left;overflow:hidden;box-sizing:border-box}.table-up-color-picker{--color-picker-bg-color:#ffffff;box-sizing:border-box;display:inline-flex;flex-direction:column;width:16.75rem;padding:.5rem;border-radius:.375rem;background:var(--color-picker-bg-color);box-shadow:0 0 .375rem #b2b5b8}.table-up-color-picker__content{box-sizing:border-box;width:100%;height:11.75rem;padding-top:.5rem}.table-up-color-picker__selector{width:14.375rem;height:9.375rem;position:absolute}.table-up-color-picker__background{width:100%;height:100%;background:linear-gradient(to top,#000 0,#0000),linear-gradient(to right,#fff 0,#fff0)}.table-up-color-picker__background-handle{box-sizing:border-box;position:absolute;border:.0625rem solid #fff;cursor:pointer;top:0;left:14.375rem;border-radius:100%;width:.625rem;height:.625rem;transform:translate(-.3125rem,-.3125rem)}.table-up-color-picker__hue{width:.75rem;height:9.375rem;margin-left:15rem;position:absolute;background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.table-up-color-picker__hue-handle{box-sizing:border-box;position:absolute;border:.0625rem solid #fff;cursor:pointer;background-color:#fff;box-shadow:0 0 .125rem #0009;left:0;width:1rem;height:.625rem;transform:translate(-.125rem,-.3125rem)}.table-up-color-picker__alpha{width:14.375rem;height:.75rem;position:absolute;margin-top:10rem;background:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(135deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(135deg,transparent 75%,#ccc 75%);background-size:.75rem .75rem;background-position:0 0,.375rem 0,.375rem -.375rem,0 .375rem}.table-up-color-picker__alpha-bg{position:relative;height:100%;background:linear-gradient(to right,#fff0 0,#fff)}.table-up-color-picker__alpha-handle{box-sizing:border-box;position:absolute;border:.0625rem solid #fff;cursor:pointer;background-color:#fff;box-shadow:0 0 .125rem #0009;top:0;width:.625rem;height:1rem;transform:translate(-.3125rem,-.125rem)}.table-up-color-picker__action{box-sizing:border-box;display:flex;align-items:center;gap:.375rem;width:100%;padding-top:.5rem;border-top:.0625rem solid #e9ecef}.table-up-color-picker__action-item{flex:1;display:inline-flex;align-items:center;font-size:.75rem}.table-up-color-picker__input{box-sizing:border-box;width:100%;height:1.375rem;margin-left:.125rem;padding:.125rem 0 .125rem .25rem;background-color:#fff;border:.0625rem solid #ced4da;border-radius:.25rem;outline:0;color:#405057}.table-up-tooltip .table-up-color-picker{--color-picker-bg-color:transparent;box-shadow:none;width:15.75rem;padding:.5rem 0}.ql-container .table-up-selection{--select-color:#0589f340;display:none;position:absolute;overflow:hidden;pointer-events:none;z-index:-1}.ql-container .table-up-selection__line{position:absolute;background-color:var(--select-color);pointer-events:none}.table-up-resize-line__col,.table-up-resize-line__row{position:absolute;z-index:0}.table-up-resize-line__col.is-hidden,.table-up-resize-line__row.is-hidden{display:none}.table-up-resize-line__col:after,.table-up-resize-line__col:before,.table-up-resize-line__row:after,.table-up-resize-line__row:before{content:"";display:block;position:absolute;top:0;z-index:1}.table-up-resize-line__row{height:.0625rem;cursor:ns-resize}.table-up-resize-line__row:after,.table-up-resize-line__row:before{width:100%;height:.5rem}.table-up-resize-line__row:before{transform:translateY(-.5rem)}.table-up-resize-line__col{width:.0625rem;cursor:ew-resize}.table-up-resize-line__col:after,.table-up-resize-line__col:before{height:100%;width:.5rem}.table-up-resize-line__col:before{transform:translate(-.5rem)}.table-up-resize-box{position:absolute;z-index:0}.table-up-resize-box.is-hidden{display:none}.table-up-resize-box.is-caption-bottom .table-up-resize-box__corner{border-top-width:0;border-bottom-width:.0625rem;border-top-left-radius:0;border-bottom-left-radius:50%}.table-up-resize-box.is-align-right .table-up-resize-box__col-separator{left:-.125rem}.table-up-resize-box.is-align-right .table-up-resize-box__corner{border-left-width:0;border-right-width:.0625rem;border-top-left-radius:0;border-top-right-radius:50%}.table-up-resize-box.is-align-right.is-caption-bottom .table-up-resize-box__corner{border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:50%}.table-up-resize-box__col,.table-up-resize-box__row{position:absolute;top:0;left:0;overflow:hidden}.table-up-resize-box__col-wrapper,.table-up-resize-box__row-wrapper{display:flex}.table-up-resize-box__col-header,.table-up-resize-box__row-header{position:relative;flex-shrink:0;background-color:#f3f4f5;border:.0625rem solid #ccc}.table-up-resize-box__col-wrapper{height:100%}.table-up-resize-box__col-header{height:100%;cursor:pointer;border-right-color:transparent}.table-up-resize-box__col-header:last-child{border-right-color:#ccc}.table-up-resize-box__col-separator{position:absolute;top:0;bottom:0;right:-.125rem;width:.125rem;cursor:ew-resize;z-index:0}.table-up-resize-box__col-separator:after{right:-.375rem}.table-up-resize-box__col-separator:before{left:-.375rem}.table-up-resize-box__col-separator:after,.table-up-resize-box__col-separator:before{content:"";position:absolute;top:0;display:block;width:.5rem;height:100%;z-index:1}.table-up-resize-box__row-wrapper{flex-direction:column;width:100%}.table-up-resize-box__row-header{width:100%;cursor:pointer;border-bottom-color:transparent}.table-up-resize-box__row-header:last-child{border-bottom-color:#ccc}.table-up-resize-box__row-separator{position:absolute;left:0;right:0;bottom:-.125rem;height:.125rem;cursor:ns-resize;z-index:0}.table-up-resize-box__row-separator:after{bottom:-.375rem}.table-up-resize-box__row-separator:before{top:-.375rem}.table-up-resize-box__row-separator:after,.table-up-resize-box__row-separator:before{content:"";position:absolute;left:0;display:block;width:100%;height:.5rem;z-index:1}.table-up-resize-box__corner{position:absolute;top:0;left:0;background-color:#f3f4f5;border:.0625rem solid #ccc;border-right-width:0;border-bottom-width:0;border-top-left-radius:50%;cursor:pointer}.table-up-drag-line{position:fixed;z-index:0;background-color:#409eff}.table-up-drag-line.is-col{width:.125rem;cursor:ew-resize}.table-up-drag-line.is-row{height:.125rem;cursor:ns-resize}.table-up-scale{position:absolute;top:0;left:0;overflow:hidden;pointer-events:none}.table-up-scale__block{position:absolute;top:0;left:0;transform:translate(-100%,-100%);width:.75rem;height:.75rem;background-color:#f1f5f9;border:.0625rem solid grey;cursor:nwse-resize;pointer-events:all}.table-up-scale.is-align-right .table-up-scale__block{cursor:nesw-resize}.table-up-scale.is-hidden{display:none}.table-up-scrollbar{position:absolute;z-index:1;transition:opacity .15s linear}.table-up-scrollbar__container{position:relative}.table-up-scrollbar.is-transparent{opacity:0}.table-up-scrollbar.is-vertical{top:.125rem;bottom:.125rem;left:-.5rem;width:.375rem}.table-up-scrollbar.is-vertical .table-up-scrollbar__thumb{width:100%}.table-up-scrollbar.is-horizontal{bottom:.125rem;left:.125rem;right:.125rem;height:.375rem}.table-up-scrollbar.is-horizontal .table-up-scrollbar__thumb{height:100%}.table-up-scrollbar__thumb{border-radius:.3125rem;background-color:#d2d2d2;cursor:pointer}.table-up-scrollbar__thumb:hover{background-color:#a1a1aa}.table-up-scrollbar--origin.ql-container .ql-table-wrapper{scrollbar-width:inherit}.table-up-align,.table-up-menu{position:absolute;z-index:1;display:none;align-items:center;padding:.25rem;border-radius:.375rem;box-shadow:0 0 .5rem #00000080;background-color:#fff;font-size:.875rem}.table-up-align__item,.table-up-menu__item{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:.25rem;border-radius:.25rem;cursor:pointer}.table-up-align__item:hover,.table-up-menu__item:hover{background-color:#eee}.table-up-align__item.is-break,.table-up-menu__item.is-break{align-self:stretch;width:.0625rem;padding:0;margin:.125rem .25rem;background-color:#a3a3a3;cursor:default}.table-up-align .icon,.table-up-menu .icon{display:flex;flex-shrink:0;font-size:1.25rem}.table-up-align span,.table-up-menu span{text-wrap:nowrap}.table-up-menu.is-contextmenu{flex-direction:column;padding:.25rem .5rem;max-height:21.875rem;overflow-y:auto;overflow-x:hidden}.table-up-menu.is-contextmenu .table-up-menu__item{display:flex;justify-content:flex-start;width:100%;gap:.25rem;cursor:pointer}.table-up-menu.is-contextmenu .is-break{width:100%;height:.0625rem;flex-shrink:0;margin:.25rem 0;background-color:#a3a3a3}.table-up-align--active{display:flex}.table-up-align .icon{width:1.25rem;height:1.25rem}.table-up-color-map{display:flex;flex-direction:column}.table-up-color-map--used{display:flex;align-items:center;justify-content:center;flex-direction:row-reverse;margin-top:.25rem;padding-top:.25rem;border-top:.0625rem solid #ccc}.table-up-color-map__content{display:flex;flex-direction:column}.table-up-color-map__content-row{display:flex;align-items:center;justify-content:center;gap:.25rem}.table-up-color-map__item{width:.875rem;height:.875rem;margin:.125rem;border:.0625rem solid #a3a3a3;cursor:pointer}.table-up-color-map__btn{display:flex;align-items:center;justify-content:center;flex:1;height:1.25rem;padding:0 .375rem;color:#303133;background-color:#fff;cursor:pointer}.table-up-color-map__btn:hover{background-color:#edeeef}.table-up-input__item{--input-height:2rem;--input-inner-height:calc(var(--input-height) - .125rem);--input-color-text:#606266;--input-color-boxshaow:#dcdfe6;--input-color-focus:#409eff;--input-color-error:#f56c6c;--input-boxshaow:0 0 0 .0625rem var(--input-color-boxshaow) inset;--input-boxshaow-focus:0 0 0 .0625rem var(--input-color-focus) inset;--input-boxshaow-error:0 0 0 .0625rem var(--input-color-error) inset;display:flex;align-items:center}.table-up-input__item+.table-up-input__item{margin-top:1.125rem}.table-up-input__label{width:5rem;flex-shrink:0}.table-up-input__input{box-sizing:border-box;position:relative;display:flex;flex-wrap:wrap;width:100%;height:var(--input-height);line-height:var(--input-height);padding:.0625rem .5rem;border-radius:.25rem;box-shadow:var(--input-boxshaow);transition:box-shadow .2s linear}.table-up-input__input.focus{box-shadow:var(--input-boxshaow-focus)}.table-up-input__input input{width:100%;height:var(--input-inner-height);line-height:var(--input-inner-height);flex-grow:1;font-size:.875rem;color:var(--input-color-text);outline:0;border:0;padding:0}.table-up-input__input.error{box-shadow:var(--input-boxshaow-error)}.table-up-input__error-tip{position:absolute;top:100%;left:0;font-size:.75rem;color:var(--input-color-error);line-height:1rem}.ql-snow .table-up-select-box{--select-box-color-bg-hover:#f5f5f5;--select-box-color-bg-active:#e0f2fe;--select-box-custom-color-text:#0d0d0d;--select-box-custom-color-bg:transparent;--select-box-custom-color-bg-hover:#ebebeb}.table-up-select-box{--select-box-color-border:#e5e7eb;--select-box-border:.0625rem solid var(--select-box-color-border);--select-box-color-active:#0ea5e9;--select-box-color-bg-hover:#f5f5f5;--select-box-color-bg-active:transparent;--select-box-custom-color-text:#f5f5f5;--select-box-custom-color-bg:transparent;--select-box-custom-color-bg-hover:#2c2c2c}.table-up-select-box__block{display:flex;width:10rem;flex-wrap:wrap;align-items:center;justify-content:center}.table-up-select-box__item{margin:.125rem;height:1rem;width:1rem;border:var(--select-box-border)}.table-up-select-box__item.active{border-color:var(--select-box-color-active);background-color:var(--select-box-color-bg-active)}.table-up-select-box__custom{padding:.5rem;color:var(--select-box-custom-color-text);background-color:var(--select-box-custom-color-bg);font-size:1rem;text-align:center;cursor:pointer}.table-up-select-box__custom:hover{background-color:var(--select-box-custom-color-bg-hover)}.table-up-creator{padding:1.5rem}.table-up-creator__input{display:flex;flex-direction:column;width:100%}.table-up-creator__control{margin-top:1rem;text-align:right}.table-up-creator__checkbox{--check-color:#212121;--checked-color:#506eec;display:flex;align-items:center;margin-top:.25rem;cursor:pointer;font-size:.75rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.table-up-creator__checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.125rem;height:1.125rem;border:.0625rem solid var(--check-color);border-radius:.3125rem;background-color:transparent;display:inline-block;position:relative;margin-right:.625rem;cursor:pointer}.table-up-creator__checkbox input:before{content:"";background-color:var(--checked-color);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:.625rem;height:.625rem;border-radius:.1875rem;transition:all .2s ease-in-out}.table-up-creator__checkbox input:checked:before{transform:translate(-50%,-50%) scale(1)}._AEditorWrapper_iia8p_1{display:flex;flex:1 1 auto;overflow:auto}._AEditorContainer_iia8p_7{position:relative;box-sizing:border-box;display:flex;width:100%;overflow:hidden}._AEditorContainer_iia8p_7 ._AEditor_iia8p_1{display:flex;flex-grow:1;flex-direction:column;overflow:auto}._AEditorContainer_iia8p_7 ._AEditor_iia8p_1.Title .ql-editor p{line-height:1.2rem}._Primary_iia8p_24 .ql-toolbar.ql-snow{border:var(--AEditor_Primary_border);border-bottom:none}._Primary_iia8p_24 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:hover{border:var(--AEditor_Primary_hover_border)}._Primary_iia8p_24 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:focus-within{border:var(--AEditor_Primary_focus_border)}._Primary_iia8p_24 .ql-container.ql-snow{border:var(--AEditor_Primary_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Primary_iia8p_24 .ql-container.ql-snow:not(.UnAvailable):hover{border:var(--AEditor_Primary_hover_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Primary_iia8p_24 .ql-container.ql-snow:not(.UnAvailable):focus-within{border:var(--AEditor_Primary_focus_border)}._Primary_iia8p_24 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:var(--AEditor_Primary_border)}._Primary_iia8p_24 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:hover){border:var(--AEditor_Primary_hover_border);border-bottom:none}._Primary_iia8p_24 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:focus-within){border:var(--AEditor_Primary_focus_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow{display:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow{border:var(--AEditor_ReadOnly_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:hover{border:var(--AEditor_ReadOnly_hover_border)}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:focus-within{border:var(--AEditor_ReadOnly_focus_border)}._ReadOnly_iia8p_54 .ql-container.ql-snow{border:var(--AEditor_ReadOnly_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._ReadOnly_iia8p_54 .ql-container.ql-snow:not(.UnAvailable):hover{border:var(--AEditor_ReadOnly_hover_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._ReadOnly_iia8p_54 .ql-container.ql-snow:not(.UnAvailable):focus-within{border:var(--AEditor_ReadOnly_focus_border)}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:var(--AEditor_ReadOnly_border)}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:hover){border:var(--AEditor_ReadOnly_hover_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:focus-within){border:var(--AEditor_ReadOnly_focus_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-radius:var(--AEditor_border-radius)!important}._Error_iia8p_91{color:var(--AEditor_Error_color);transition:color calc(var(--Transition-Enabled) * var(--Transition))}._Error_iia8p_91 .ql-toolbar.ql-snow{border:var(--AEditor_Error_border);border-bottom:none}._Error_iia8p_91 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:hover{border:var(--AEditor_Error_hover_border)}._Error_iia8p_91 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:focus-within{border:var(--AEditor_Error_focus_border)}._Error_iia8p_91 .ql-container.ql-snow{border:var(--AEditor_Error_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Error_iia8p_91 .ql-container.ql-snow:not(.UnAvailable):hover{border:var(--AEditor_Error_hover_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Error_iia8p_91 .ql-container.ql-snow:not(.UnAvailable):focus-within{border:var(--AEditor_Error_focus_border)}._Error_iia8p_91 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:var(--AEditor_Error_border)}._Error_iia8p_91 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:hover){border:var(--AEditor_Error_hover_border);border-bottom:none}._Error_iia8p_91 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:focus-within){border:var(--AEditor_Error_focus_border);border-bottom:none}._Raw_iia8p_125 *{transition:none}._Raw_iia8p_125 .ql-toolbar.ql-snow{display:none}._Raw_iia8p_125 .ql-container.ql-snow{border:none}._Raw_iia8p_125 .ql-toolbar.ql-snow+.ql-container.ql-snow{border:none;border-radius:0}._Raw_iia8p_125 .ql-snow .ql-editor{padding:0}._LimitContainer_iia8p_142{flex-direction:column;justify-content:center;overflow:hidden}._LimitContainer_iia8p_142 ._Limit_iia8p_142,._LimitContainer_iia8p_142 ._Error_iia8p_91{transition:color calc(var(--Transition-Enabled) * var(--Transition))}._LimitContainer_iia8p_142 ._Limit_iia8p_142{color:var(--AEditor_Addon_Secondary_color)}._LimitContainer_iia8p_142 ._Error_iia8p_91{color:var(--AEditor_Error_color)}._Limit_iia8p_142{color:var(--AEditor_Addon_Secondary_color)}._Limit_iia8p_142 ._Error_iia8p_91{color:var(--AEditor_Error_color)}._Indicator_iia8p_165{position:absolute;right:8px;z-index:1;align-items:center;transform:translateY(-1px)}._Resizer_iia8p_173{position:absolute;right:1px;left:1px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:auto;margin:0;cursor:row-resize;border-radius:0 0 var(--AEditor_border-radius) var(--AEditor_border-radius);opacity:.75;transition:background-color calc(var(--Transition-Enabled) * var(--Transition));transform:translateY(-1px);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._Resizer_iia8p_173:before{width:40px;height:4px;content:"";background-color:var(--AEditor_Addon_Secondary_color);border-radius:2px;transition:width calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition))}._Resizer_iia8p_173:hover,._Resizer_iia8p_173:active{background-color:var(--AEditor_Addon_hover_background-color)}._Resizer_iia8p_173:hover:before,._Resizer_iia8p_173:active:before{width:50px}._ql-image-resizer-overlay_iia8p_206{position:absolute;box-sizing:border-box;cursor:pointer;border:1px dashed var(--AEditor_Addon_Primary_color);transition:border calc(var(--Transition-Enabled) * var(--Transition))}._ql-image-resizer-handle_iia8p_213{position:absolute;box-sizing:border-box;width:12px;height:12px;background-color:var(--static-white);border:1px solid var(--AEditor_Addon_Primary_color);opacity:.8;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}._ql-image-resizer-display_iia8p_223{position:absolute;right:0;bottom:-25px;z-index:1;padding:2px 6px;color:var(--static-white);pointer-events:none;background-color:#000000bf;border-radius:3px}._ql-image-resizer-toolbar_iia8p_234{position:absolute;top:-12px;right:0;left:0;box-sizing:border-box;text-align:center}._ql-image-resizer-toolbar-button_iia8p_242{display:inline-block;width:24px;height:24px;padding:2px;vertical-align:middle;cursor:pointer;background:var(--elevation-0);border:1px solid var(--AEditor_Addon_Primary_color);border-right:none;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}._ql-image-resizer-toolbar-button_iia8p_242:first-child{border-radius:var(--AEditor_border-radius) 0 0 var(--AEditor_border-radius)}._ql-image-resizer-toolbar-button_iia8p_242:last-child{border-right:1px solid var(--AEditor_Addon_Primary_color);border-radius:0 var(--AEditor_border-radius) var(--AEditor_border-radius) 0}._ql-image-resizer-toolbar-button_iia8p_242 svg{display:inline-block;width:100%;height:100%;fill:var(--AEditor_Addon_Primary_color);stroke:var(--AEditor_Addon_Primary_color);stroke-width:1}.ql-container{position:relative;height:var(--content-height);max-height:var(--content-max-height);margin:0;overflow:hidden;border-radius:0 0 var(--AEditor_border-radius) var(--AEditor_border-radius);transition:color calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition))}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container .table-up-toolbox .table-up-menu{background-color:var(--elevation-0);border:1px solid var(--AEditor_Addon_Secondary_color);transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}.ql-container .table-up-toolbox .table-up-menu__item:hover{background-color:var(--AEditor_Addon_hover_background-color)}.ql-snow{color:var(--AEditor_Addon_Primary_color);box-sizing:border-box;font-family:pretendard,sans-serif}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-stroke,.ql-snow .ql-stroke-miter{stroke:var(--AEditor_Addon_Primary_color)}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-stroke{fill:none;stroke:var(--AEditor_Addon_Primary_color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-thick,.ql-snow .ql-stroke.ql-thick{stroke-width:2}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-formats{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ql-snow .ql-formats:after{clear:both;display:table;content:none}.ql-snow .ql-tooltip{position:absolute;left:20px!important;z-index:10;padding:4px 12px;color:var(--AEditor_Addon_Primary_color);white-space:nowrap;background-color:var(--AEditor_Addon_Primary_background-color);border:1px solid var(--AEditor_Addon_Primary_color);border-radius:var(--AEditor_border-radius);box-shadow:none;transform:translateY(10px)}.ql-snow .ql-tooltip a{line-height:26px;text-decoration:none;cursor:pointer}.ql-snow .ql-tooltip a.ql-action:after{padding-right:8px;margin-left:8px;content:var(--edit-text);border-right:1px solid var(--AEditor_Addon_Primary_color)}.ql-snow .ql-tooltip a.ql-remove:before{margin-left:8px;content:var(--remove-text)}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-tooltip:before{margin-right:8px;line-height:26px;content:var(--visit-url-text)}.ql-snow .ql-tooltip input[type=text]{display:none;width:300px;height:26px;padding:3px 5px;outline:none;border:1px solid var(--AEditor_Addon_Primary_color);border-radius:var(--AEditor_border-radius)}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{padding-right:0;content:var(--save-text);border-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:var(--enter-link-text)}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:var(--enter-video-text)}.ql-snow .ql-picker{position:relative;display:inline-block;height:var(--icon-size);vertical-align:middle;color:var(--AEditor_Addon_Primary_color);font-weight:500}.ql-snow .ql-picker-label{position:relative;display:inline-block;width:100%;height:100%;padding:0 2px 0 8px;cursor:pointer}.ql-snow .ql-picker-options{position:absolute;display:none;min-width:100%;padding:4px 8px;white-space:nowrap;background-color:var(--AEditor_Addon_Primary_background-color);border:var(--AEditor_Addon_Primary_border);border-radius:var(--AEditor_Option_border-radius);box-shadow:none;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow .ql-picker-options .ql-picker-item{display:block;cursor:pointer}.ql-snow .ql-picker-options .ql-picker-item:hover,.ql-snow .ql-picker-options .ql-picker-item.ql-selected{color:var(--acent-brand)}.ql-snow .ql-picker-options .ql-picker-item:hover .ql-fill,.ql-snow .ql-picker-options .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:var(--acent-brand)}.ql-snow .ql-picker-options .ql-picker-item:hover .ql-stroke,.ql-snow .ql-picker-options .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-stroke-miter{stroke:var(--acent-brand)}.ql-snow .ql-picker.ql-expanded .ql-picker-label{z-index:2;color:var(--AEditor_Addon_Primary_color);border-color:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-picker.ql-expanded .ql-picker-options{z-index:1;display:grid}.ql-snow .ql-picker.ql-color-picker,.ql-snow .ql-picker.ql-icon-picker{width:var(--icon-size)}.ql-snow .ql-picker.ql-color-picker .ql-picker-label,.ql-snow .ql-picker.ql-icon-picker .ql-picker-label{padding:0}.ql-snow .ql-picker.ql-color-picker .ql-picker-options,.ql-snow .ql-picker.ql-icon-picker .ql-picker-options{grid-template-rows:repeat(var(--title-color-picker-row),auto);grid-auto-flow:column;gap:2px;width:auto;padding:4px}.ql-snow .ql-picker.ql-color-picker .ql-picker-item,.ql-snow .ql-picker.ql-icon-picker .ql-picker-item{width:var(--icon-size);height:var(--icon-size)}.ql-snow .ql-picker.ql-color-picker .ql-picker-item.ql-selected,.ql-snow .ql-picker.ql-color-picker .ql-picker-item:hover,.ql-snow .ql-picker.ql-icon-picker .ql-picker-item.ql-selected,.ql-snow .ql-picker.ql-icon-picker .ql-picker-item:hover{outline:2px solid var(--AEditor_Addon_Primary_color);outline-offset:-1px}.ql-snow .ql-picker:not(.ql-color-picker,.ql-icon-picker,.ql-table-up) svg{position:absolute;visibility:hidden}.ql-snow .ql-picker:not(.ql-color-picker,.ql-icon-picker,.ql-table-up) svg polygon{display:none}.ql-snow .ql-picker.ql-header{width:100px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:var(--default-text)}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:3em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:2.5em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:.75em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:100px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:var(--default-text)}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-size:sans-serif}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-size:monospace}.ql-snow .ql-picker.ql-size{width:100px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:var(--default-text)}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:12px}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=normal]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=normal]:before{content:"normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=normal]:before{font-size:16px}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:24px}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow.ql-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:var(--toolbar-padding);background-color:var(--AEditor_Addon_Secondary_background-color);border:1px solid var(--AEditor_Addon_Primary_color);border-radius:var(--AEditor_border-radius) var(--AEditor_border-radius) 0 0;transition:color calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow.ql-toolbar:after{content:none}.ql-snow.ql-toolbar.ql-toolbar-has-right-action{position:relative}.ql-snow.ql-toolbar .ql-right-action{order:9999;margin-left:auto}.ql-snow.ql-toolbar button{float:left;display:inline-block;width:var(--icon-size);height:var(--icon-size);padding:0;cursor:pointer;background:none;border:none}.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=text]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button.ql-selected,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label:focus,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item:focus,.ql-snow.ql-toolbar .ql-picker-item.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected{color:var(--acent-brand)}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:var(--acent-brand)}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:var(--acent-brand)}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active){color:var(--AEditor_Addon_Primary_color)}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:var(--AEditor_Addon_Primary_color)}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:var(--AEditor_Addon_Primary_color)}}.ql-snow.ql-toolbar .ql-header .ql-picker-label{display:flex;align-items:center;font-size:var(--title-header-font-size);background-color:var(--AEditor_Addon_Primary_background-color);border:var(--AEditor_Addon_Primary_border);border-radius:var(--AEditor_Select_border-radius);transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow.ql-toolbar .ql-header:after{position:absolute;top:50%;right:2px;z-index:3;width:16px;height:16px;content:"";background-color:var(--AEditor_Addon_Primary_color);-webkit-mask-image:var(--arrow-background);mask-image:var(--arrow-background);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;transform:translateY(-50%)}.ql-snow.ql-toolbar .ql-color-picker.ql-color .ql-picker-item{background-color:var(--label-normal)}.ql-snow.ql-toolbar .ql-picker:not(.ql-color-picker,.ql-icon-picker).ql-table-up{width:fit-content}.ql-snow.ql-toolbar .ql-picker:not(.ql-color-picker,.ql-icon-picker).ql-table-up .ql-picker-label{padding:0}.ql-snow.ql-toolbar .ql-picker:not(.ql-color-picker,.ql-icon-picker).ql-table-up .ql-picker-options .table-up-select-box__item{border:var(--AEditor_Addon_Primary_border)}.ql-snow.ql-container{border:1px solid var(--AEditor_Addon_Primary_color)}.ql-snow.ql-container .ql-readonly-fullscreen{position:absolute;top:12px;right:12px;z-index:100;display:flex;align-items:center;justify-content:center;padding:.3rem;cursor:pointer;background:var(--AEditor_Addon_Primary_background-color);border:var(--AEditor_Addon_Primary_border);border-radius:var(--AEditor_border-radius);box-shadow:0 4px 10px #00000014;opacity:.8;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow.ql-container .ql-readonly-fullscreen:hover{background:var(--AEditor_Addon_hover_background-color);opacity:1}.ql-snow.ql-container .ql-readonly-fullscreen.ql-active{background-color:var(--AEditor_Addon_hover_background-color);opacity:1}.ql-snow.ql-container .ql-readonly-fullscreen.ql-active svg{stroke:var(--AEditor_Addon_hover_color);stroke-width:2}.ql-snow.ql-container .ql-readonly-fullscreen svg{opacity:.8;transform:scale(.8)}.ql-snow.ql-container.ql-has-v-scrollbar .ql-readonly-fullscreen{right:calc(12px + (var(--Scrollbar-width, 12px)))}.ql-snow.ql-toolbar+.ql-snow.ql-container{border-top:0}.ql-snow .ql-editor{height:100%;padding:var(--editor-padding);overflow:hidden auto;white-space:pre-wrap;outline:none;counter-reset:list-0,list-1,list-2,list-3,list-4,list-5,list-6,list-7,list-8,list-9}.ql-snow .ql-editor .ql-ui{position:absolute}.ql-snow .ql-editor.ql-blank:before{position:absolute;right:15px;left:15px;font-style:italic;color:#0009;pointer-events:none;content:attr(data-placeholder)}.ql-snow .ql-editor>*{cursor:text}.ql-snow .ql-editor p,.ql-snow .ql-editor ol,.ql-snow .ql-editor pre,.ql-snow .ql-editor blockquote,.ql-snow .ql-editor h1,.ql-snow .ql-editor h2,.ql-snow .ql-editor h3,.ql-snow .ql-editor h4,.ql-snow .ql-editor h5,.ql-snow .ql-editor h6{padding:0;margin:0}.ql-snow .ql-editor h1{font-size:3em}.ql-snow .ql-editor h2{font-size:2.5em}.ql-snow .ql-editor h3{font-size:2em}.ql-snow .ql-editor h4{font-size:.75em}.ql-snow .ql-editor h5{font-size:.67em}.ql-snow .ql-editor blockquote{padding-left:16px;margin:4px 0;border-left:4px solid var(--AEditor_Addon_hover_color, skyblue)}.ql-snow .ql-editor table{width:100%;table-layout:fixed;border-collapse:collapse}.ql-snow .ql-editor table td{padding:2px 4px;outline:none;border:1px solid var(--AEditor_Addon_Primary_color, #000)}.ql-snow .ql-editor ol{padding-left:1.5em}.ql-snow .ql-editor li{position:relative;padding-left:1.5em;list-style-type:none}.ql-snow .ql-editor li>.ql-ui:before{display:inline-block;width:1.2em;margin-right:.3em;margin-left:-1.5em;text-align:right;white-space:nowrap}.ql-snow .ql-editor li[data-list=checked]>.ql-ui,.ql-snow .ql-editor li[data-list=unchecked]>.ql-ui{color:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-snow .ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-snow .ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}.ql-snow .ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-snow .ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-snow .ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-snow .ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-snow .ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-snow .ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-snow .ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-snow .ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-snow .ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-snow .ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-snow .ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) ". "}.ql-snow .ql-editor .ql-indent-1{padding-left:3em}.ql-snow .ql-editor li.ql-indent-1{padding-left:4.5em}.ql-snow .ql-editor .ql-indent-2{padding-left:6em}.ql-snow .ql-editor li.ql-indent-2{padding-left:7.5em}.ql-snow .ql-editor .ql-indent-3{padding-left:9em}.ql-snow .ql-editor li.ql-indent-3{padding-left:10.5em}.ql-snow .ql-editor .ql-indent-4{padding-left:12em}.ql-snow .ql-editor li.ql-indent-4{padding-left:13.5em}.ql-snow .ql-editor .ql-indent-5{padding-left:15em}.ql-snow .ql-editor li.ql-indent-5{padding-left:16.5em}.ql-snow .ql-editor .ql-indent-6{padding-left:18em}.ql-snow .ql-editor li.ql-indent-6{padding-left:19.5em}.ql-snow .ql-editor .ql-indent-7{padding-left:21em}.ql-snow .ql-editor li.ql-indent-7{padding-left:22.5em}.ql-snow .ql-editor .ql-indent-8{padding-left:24em}.ql-snow .ql-editor li.ql-indent-8{padding-left:25.5em}.ql-snow .ql-editor .ql-indent-9{padding-left:27em}.ql-snow .ql-editor li.ql-indent-9{padding-left:28.5em}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-editor .ql-video{display:block;max-width:100%}.ql-snow .ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-snow .ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-snow .ql-editor .ql-bg-black{background-color:var(--static-black, #000)}.ql-snow .ql-editor .ql-color-black{color:var(--static-black, #000)}.ql-snow .ql-editor .ql-bg-red{background-color:var(--red-45, #e60000)}.ql-snow .ql-editor .ql-color-red{color:var(--red-45, #e60000)}.ql-snow .ql-editor .ql-bg-orange{background-color:var(--orange-45, #f90)}.ql-snow .ql-editor .ql-color-orange{color:var(--orange-45, #f90)}.ql-snow .ql-editor .ql-bg-yellow{background-color:var(--yellow-45, #ff0)}.ql-snow .ql-editor .ql-color-yellow{color:var(--yellow-45, #ff0)}.ql-snow .ql-editor .ql-bg-green{background-color:var(--green-45, #008a00)}.ql-snow .ql-editor .ql-color-green{color:var(--green-45, #008a00)}.ql-snow .ql-editor .ql-bg-blue{background-color:var(--blue-45, #007bff)}.ql-snow .ql-editor .ql-color-blue{color:var(--blue-45, #007bff)}.ql-snow .ql-editor .ql-bg-purple{background-color:var(--purple-45, #93f)}.ql-snow .ql-editor .ql-color-purple{color:var(--purple-45, #93f)}.ql-snow .ql-editor .ql-bg-white{background-color:var(--static-white, #fff)}.ql-snow .ql-editor .ql-color-white{color:var(--static-white, #fff)}.ql-snow .ql-editor .ql-size-small{font-size:.75em}.ql-snow .ql-editor .ql-size-normal{font-size:1em}.ql-snow .ql-editor .ql-size-large{font-size:1.5em}.ql-snow .ql-editor .ql-size-huge{font-size:2.5em}.ql-snow .ql-editor .ql-align-center{text-align:center}.ql-snow .ql-editor .ql-align-justify{text-align:justify}.ql-snow .ql-editor .ql-align-right{text-align:right}.ql-editor-wrap{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:var(--AEditor_Addon_Primary_background-color)}.ql-editor-wrap .quill,.ql-editor-wrap .ql-container{max-height:none!important}.ql-toolbar .ql-right-action{order:9999;margin-left:auto}.ql-editor-wrap>.quill{width:100%;height:100%}._AWrap_muwz7_1{position:relative;display:flex;flex-grow:1;width:100%;height:100%;overflow:hidden}._AContainer_muwz7_10{position:relative;display:flex;width:100%;height:100%;overflow:overlay}._ATree_muwz7_18{position:relative;display:flex;flex-grow:1;flex-direction:column;width:100%;min-height:fit-content;background-color:var(--ATree_background-color);border-radius:2px;transition:background-color var(--Transition)}._ATreeBody_muwz7_30{display:flex;flex-grow:1;flex-direction:column}._TreeTopAddon_muwz7_36{position:sticky;top:0;z-index:10;display:flex;align-items:center;background-color:var(--ATree_background-color);transition:background-color var(--Transition)}._CoverBorder_muwz7_46{position:absolute;top:0;box-sizing:border-box;width:100%;border-top:1px solid transparent;transition:border-top var(--Transition)}._InsertBorder_muwz7_55{position:absolute;top:1;z-index:3;width:100%;pointer-events:none}._InsertBorder_muwz7_55:before,._InsertBorder_muwz7_55:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-position:0 calc(var(--InsertBorder_height, 40px) - 1px);background-size:100% var(--InsertBorder_height, 40px);opacity:0;transition:opacity var(--Transition)}._InsertBorder_muwz7_55:before{background-image:linear-gradient(to bottom,var(--neutral-30) 1px,transparent 1px)}._InsertBorder_muwz7_55:after{background-image:linear-gradient(to bottom,var(--neutral-79) 1px,transparent 1px)}html[data-theme=dark] ._InsertBorder_muwz7_55:before,html[data-theme=light] ._InsertBorder_muwz7_55:after{opacity:1}._ATreeHeader_muwz7_86{box-sizing:border-box;padding-top:8px;margin-bottom:8px}._ATreeBodyHeader_muwz7_92{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;min-height:50px;border-bottom:var(--ATreeBodyHeader_border-bottom);transition:border-bottom var(--Transition)}._ATreeBodyHeaderResources_muwz7_102{display:flex;flex-direction:column;justify-content:flex-start}._ATreeItem_muwz7_108{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;width:100%;height:var(--ATreeItem_height, 40px);min-height:var(--ATreeItem_height, 40px);white-space:nowrap;background-color:var(--ATree_background-color);transition:border var(--Transition),background-color var(--Transition)}._ATreeItem_muwz7_108:nth-last-child(1){border-bottom:none}._ATreeItem_muwz7_108._IsSelectUsed_muwz7_124{cursor:var(--ATreeItem_cursor, pointer)}._ATreeItem_muwz7_108._IsSelectUsed_muwz7_124._IsSelected_muwz7_127{color:var(--ATreeItem_select_color);background-color:var(--ATreeItem_select_background-color);transition:background-color var(--Transition),color var(--Transition)}._ATreeItem_muwz7_108._IsSelectUsed_muwz7_124._IsSearchSelected_muwz7_132{background-color:var(--ATreeItem_search_background-color);border-top:var(--ATreeItem_search_border-top);border-bottom:var(--ATreeItem_search_border-bottom)}._ATreeItem_muwz7_108._IsSelectUsed_muwz7_124:active{background-color:var(--ATreeItem_active_background-color)}._ATreeItem_muwz7_108._IsSelectUsed_muwz7_124:hover,._ATreeItem_muwz7_108._IsSelectUsed_muwz7_124._IsHovered_muwz7_143{background-color:var(--ATreeItem_hover_background-color)}._CheckBox_muwz7_147{position:sticky;left:0;z-index:2;display:flex;flex-direction:row;align-items:center;min-height:100%;padding:0 12px;background-color:inherit}._Indents_muwz7_159{display:flex;flex-direction:row;min-width:fit-content;height:100%}._ExpandIcon_muwz7_166{z-index:1;display:flex;align-items:center;justify-content:center;min-width:24px;max-width:24px;min-height:24px;margin-right:8px;cursor:pointer}._Content_muwz7_178{display:flex;flex-grow:1;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden}._RightSticky_muwz7_187{position:sticky;right:0;display:flex;align-items:center;height:100%;padding:0 8px}._SearchInputWrap_muwz7_196{display:flex;flex-grow:1;overflow:hidden}._SearchInput_muwz7_196{display:flex;min-height:32px;overflow:hidden}._RightAddon_muwz7_208{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;height:100%;padding-right:0;cursor:pointer;transition:color var(--Transition)}._RightAddonIcon_muwz7_219{min-width:24px;max-width:24px;min-height:24px;max-height:24px}._Loader_muwz7_226{flex-grow:1;justify-content:center}._IsChildOfDragSource_muwz7_231{opacity:.5;transition:all .15s ease}')),document.head.appendChild(r)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('@charset "UTF-8";._NoSelect_29290_1{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._NoTransition_29290_6{--Transition-Enabled: 0}._IsFixedShape_29290_10{overflow:hidden;white-space:nowrap}._IsCursorPointer_29290_15{cursor:pointer}._IsInteractive_29290_19:before{position:absolute;top:0;left:0;width:100%;height:100%;color:block;content:"";background-color:#000;border-radius:inherit;opacity:0;transition:all var(--Transition)}._IsInteractive_29290_19:hover:before{opacity:.06}._IsInteractive_29290_19:focus:before{opacity:.12}._IsInteractive_29290_19:active:before{opacity:.16}._Display1_11vgm_1{font-size:3.5rem;font-weight:700}._Display2_11vgm_6{font-size:2.75rem;font-weight:600}._Title1_11vgm_11{font-size:2.25rem;font-weight:600}._Title2_11vgm_16{font-size:1.625rem;font-weight:600}._Title3_11vgm_21{font-size:1.5rem;font-weight:600}._Headline1_11vgm_26{font-size:1.375rem;font-weight:500}._Headline2_11vgm_31{font-size:1.25rem;font-weight:400}._Body1Normal_11vgm_36,._Body1Reading_11vgm_41{font-size:1rem;font-weight:400}._Label1_11vgm_46{font-size:.875rem;font-weight:400}._Label2_11vgm_51{font-size:.8125rem;font-weight:400}._Caption1_11vgm_56{font-size:.75rem;font-weight:400}._Caption2_11vgm_61{font-size:.6875rem;font-weight:400}._Regular_11vgm_66{font-weight:400}._Medium_11vgm_70{font-weight:500}._SemiBold_11vgm_74{font-weight:600}._Bold_11vgm_78{font-weight:700}._AProgressBar_17v9w_1{display:flex;flex-direction:column;width:100%;padding:4px 0}._AProgressBar_17v9w_1 ._Header_17v9w_7{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}._AProgressBar_17v9w_1 ._Header_17v9w_7 ._Percentage_17v9w_13{transition:color calc(var(--Transition-Enabled) * var(--Transition))}._AProgressBar_17v9w_1 ._BarContainer_17v9w_16{position:relative;width:100%;height:8px;overflow:hidden;background-color:var(--line-neutral);border-radius:4px;transition:background-color calc(var(--Transition-Enabled) * var(--Transition))}._AProgressBar_17v9w_1 ._BarContainer_17v9w_16 ._Bar_17v9w_16{height:100%;background-color:var(--acent-brand);border-radius:inherit;transition:width calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition))}._AProgressBar_17v9w_1._CustomHeight_17v9w_31 ._BarContainer_17v9w_16{height:var(--progress-bar-height)}._AProgressBar_17v9w_1._CustomRadius_17v9w_34 ._BarContainer_17v9w_16,._AProgressBar_17v9w_1._CustomRadius_17v9w_34 ._BarContainer_17v9w_16 ._Bar_17v9w_16{border-radius:var(--progress-bar-radius)}._AProgressBar_17v9w_1._CustomColor_17v9w_40 ._BarContainer_17v9w_16{background-color:var(--progress-bar-background-custom)}._AProgressBar_17v9w_1._CustomColor_17v9w_40 ._BarContainer_17v9w_16 ._Bar_17v9w_16{background-color:var(--progress-bar-color-custom)}._Tooltip_1khnz_1{position:fixed;z-index:100;visibility:hidden;width:fit-content;height:fit-content;padding:4px 10px;text-overflow:ellipsis;color:var(--ATooltip_color);white-space:break-all;pointer-events:none;background-color:var(--ATooltip_background-color);border-radius:5px;opacity:0;transition:opacity var(--Transition) ease-in-out,background-color var(--Transition) ease-in-out}._Tooltip_1khnz_1 ._Arrow_1khnz_17{position:absolute;pointer-events:none;content:"";border-color:var(--ATooltip_background-color)}._ABase_c7a1t_1{position:relative;display:flex;flex-direction:column}._ABase_c7a1t_1._UseDimming_c7a1t_6 ._UseDimming_c7a1t_6 ._Dimmer_c7a1t_6,._ABase_c7a1t_1._UseDimming_c7a1t_6 ._UseDimming_c7a1t_6 ._Spinner_c7a1t_9{z-index:0}._ABase_c7a1t_1._Dimmed_c7a1t_12 ._Dimmed_c7a1t_12 ._Dimmer_c7a1t_6,._ABase_c7a1t_1._Dimmed_c7a1t_12 ._Dimmed_c7a1t_12 ._Spinner_c7a1t_9{opacity:0}._ABase_c7a1t_1._HasProgress_c7a1t_18>*:not(._Dimmer_c7a1t_6,._Spinner_c7a1t_9){visibility:hidden}._Dimmer_c7a1t_6{position:absolute;top:0;left:0;z-index:100;width:100%;height:100%;overflow:hidden;pointer-events:none;background-color:var(--ABase_Dimming_background-color);border-radius:inherit;opacity:0;transition:opacity var(--Transition),background-color var(--Transition)}._Dimmer_c7a1t_6._IsDimmed_c7a1t_36{pointer-events:all;cursor:progress;opacity:.5}._Dimmer_c7a1t_6._IsLoading_c7a1t_41{pointer-events:all;cursor:wait;opacity:.5}._Dimmer_c7a1t_6._IsDisabled_c7a1t_46{pointer-events:all;cursor:not-allowed;opacity:.5}._Dimmer_c7a1t_6._HasProgress_c7a1t_18{background-color:var(--ABase_Dimming_background-color);opacity:.9}._Spinner_c7a1t_9{position:absolute;top:0;left:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity var(--Transition)}._Spinner_c7a1t_9 svg{width:50px;max-width:50%;height:50px;max-height:50%}._Spinner_c7a1t_9._IsLoading_c7a1t_41{opacity:1}._Spinner_c7a1t_9._IsLoading_c7a1t_41._IsDisabled_c7a1t_46{opacity:.5}._Spinner_c7a1t_9._HasProgress_c7a1t_18{display:flex;justify-content:center}._Spinner_c7a1t_9._HasProgress_c7a1t_18>*{width:calc(100% - 20px);max-width:300px}._AButton_vulhu_1{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:90px;height:34px;padding:0 18px;white-space:nowrap;border-radius:2px;transition:color var(--Transition),background-color var(--Transition),border var(--Transition)}._AButton_vulhu_1._Primary_vulhu_14{color:var(--AButton_Primary_color);background-color:var(--AButton_Primary_background-color);border:var(--AButton_Primary_border)}._AButton_vulhu_1._Secondary_vulhu_19{color:var(--AButton_Secondary_color);background-color:var(--AButton_Secondary_background-color);border:var(--AButton_Secondary_border)}._AButton_vulhu_1._Alter_vulhu_24{color:var(--AButton_Alter_color);background-color:var(--AButton_Alter_background-color);border:var(--AButton_Alter_border)}._AIconButton_vulhu_30{box-sizing:border-box;display:flex;align-items:center;justify-content:center}._AIconButton_vulhu_30._Primary_vulhu_14{min-width:34px;max-width:34px;min-height:34px;max-height:34px;color:var(--AIconButton_Primary_color);background-color:var(--AIconButton_Primary_background-color);border:var(--AIconButton_Primary_border);border-radius:6px;transition:border var(--Transition),background-color var(--Transition),color var(--Transition)}._AIconButton_vulhu_30._Primary_vulhu_14:hover{background-color:var(--AIconButton_Primary_hover_background-color)}._AIconButton_vulhu_30._Primary_vulhu_14:active{background-color:var(--AIconButton_Primary_active_background-color)}._AIconButton_vulhu_30._Secondary_vulhu_19{min-width:24px;max-width:24px;min-height:24px;max-height:24px;color:var(--AIconButton_Secondary_color);background-color:var(--AIconButton_Secondary_background-color);border:none;border-radius:9999px;transition:background-color var(--Transition),color var(--Transition)}._AIconButton_vulhu_30._Secondary_vulhu_19:hover{background-color:var(--AIconButton_Secondary_hover_background-color)}._AIconButton_vulhu_30._Secondary_vulhu_19:active{background-color:var(--AIconButton_Secondary_active_background-color)}._AThemeButton_vulhu_71{width:28px;height:28px;color:var(--AIconButton_Primary_color);border-radius:14px;transition:color var(--Transition)}._AWrap_u1f1h_1{position:relative;z-index:0;display:flex;flex-direction:column}._Label_u1f1h_8{display:flex;flex-direction:row;gap:4px;align-items:center;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;color:inherit;white-space:nowrap}._Label_u1f1h_8 ._Asterisk_u1f1h_19{color:var(--alert-danger)}._HelperTextConatiner_u1f1h_23{display:flex;flex-grow:0;flex-direction:row;overflow:hidden;color:inherit;transition:all var(--Transition) ease-in-out}._HelperText_u1f1h_23{height:fit-content;overflow:hidden;color:inherit;transition:all var(--Transition)}._HelperText_u1f1h_23._Error_u1f1h_38{color:var(--AWrap_Error_color)}._ASwitch_nlcij_1{cursor:pointer;border-radius:26px}._Track_nlcij_6{min-width:26px;max-width:26px;border:var(--ASwitch_Track_Falsy_border);border-radius:26px;transition:transform .15s cubic-bezier(.4,0,.2,1),border-color var(--Transition)}._Track_nlcij_6._Truthy_nlcij_13{border:var(--ASwitch_Track_Truthy_border)}._Thumb_nlcij_17{position:absolute;top:50%;border:var(--ASwitch_Thumb_border);border-radius:50%;transform:translate(-9px,-50%);transition:transform .15s cubic-bezier(.4,0,.2,1),border-color var(--Transition)}._Thumb_nlcij_17._Truthy_nlcij_13{transform:translate(17px,-50%)}._ACheckBoxWrap_1ozuz_1{color:var(--ACheckBox_color);cursor:pointer;border-radius:4px;transition:color var(--Transition)}._ACheckBox_1ozuz_1{min-width:16px;max-width:16px;min-height:16px;max-height:16px}._ARowFrame_j9gdv_1{display:flex;flex-direction:row;align-items:center}._AColFrame_j9gdv_7{display:flex;flex-direction:column;align-items:center}._AOverflowFrame_j9gdv_13{display:block;max-width:100%;max-height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._ADivideFrame_j9gdv_22{position:relative;display:flex;flex-grow:1;overflow:hidden;opacity:0;transition:opacity var(--Transition) cubic-bezier(.4,0,.2,1)}._ADivideFrame_j9gdv_22._Row_j9gdv_30{flex-direction:row}._ADivideFrame_j9gdv_22._Col_j9gdv_33{flex-direction:column}._ADivideFrame_j9gdv_22._FadeIn_j9gdv_36{opacity:1}._ADivideFrame_j9gdv_22._NoTransition_j9gdv_39{transition:none!important}._ChildFrame_j9gdv_43{position:relative;box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;overflow:hidden;transition:width var(--Transition) cubic-bezier(.4,0,.2,1),height var(--Transition) cubic-bezier(.4,0,.2,1),min-width var(--Transition) cubic-bezier(.4,0,.2,1),min-height var(--Transition) cubic-bezier(.4,0,.2,1),max-width var(--Transition) cubic-bezier(.4,0,.2,1),max-height var(--Transition) cubic-bezier(.4,0,.2,1)}._ChildFrame_j9gdv_43._Row_j9gdv_30{overflow-x:auto}._ChildFrame_j9gdv_43._Col_j9gdv_33{overflow-y:auto}._ChildFrame_j9gdv_43._NoTransition_j9gdv_39{transition:none!important}._ChildFrame_j9gdv_43:has(._ExpandButtonOverlay_j9gdv_61)._Row_j9gdv_30{overflow:hidden}._ChildFrame_j9gdv_43:has(._ExpandButtonOverlay_j9gdv_61)._Col_j9gdv_33{overflow:hidden}._Divider_j9gdv_68{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;transition:left var(--Transition) cubic-bezier(.4,0,.2,1),top var(--Transition) cubic-bezier(.4,0,.2,1)}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Row_j9gdv_30{cursor:ew-resize}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Row_j9gdv_30 ._DividerInner_j9gdv_79{min-width:2px;max-width:2px}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Col_j9gdv_33{cursor:ns-resize}._Divider_j9gdv_68:hover:not(._IsMoving_j9gdv_76,._NoDraggable_j9gdv_76)._Col_j9gdv_33 ._DividerInner_j9gdv_79{min-height:2px;max-height:2px}._Divider_j9gdv_68._Row_j9gdv_30{min-width:11px;max-width:11px;min-height:100%;max-height:100%;margin-right:-5.5px;margin-left:-5.5px}._Divider_j9gdv_68._Row_j9gdv_30 ._DividerInner_j9gdv_79{min-width:1px;max-width:1px;min-height:100%;max-height:100%}._Divider_j9gdv_68._Row_j9gdv_30._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76){cursor:ew-resize}._Divider_j9gdv_68._Row_j9gdv_30._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76) ._DividerInner_j9gdv_79{min-width:2px;max-width:2px}._Divider_j9gdv_68._Col_j9gdv_33{min-width:100%;max-width:100%;min-height:11px;max-height:11px;margin-top:-5.5px;margin-bottom:-5.5px}._Divider_j9gdv_68._Col_j9gdv_33 ._DividerInner_j9gdv_79{min-width:100%;max-width:100%;min-height:1px;max-height:1px}._Divider_j9gdv_68._Col_j9gdv_33._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76){cursor:ns-resize}._Divider_j9gdv_68._Col_j9gdv_33._IsClicked_j9gdv_104:not(._NoDraggable_j9gdv_76) ._DividerInner_j9gdv_79{min-height:2px;max-height:2px}._DividerInner_j9gdv_79{position:absolute;background-color:var(--ADivideFrame_DividerInner_background-color);transition:all var(--Transition) cubic-bezier(.4,0,.2,1)}._RemoteButton_j9gdv_139{display:flex;flex-shrink:0;width:fit-content;padding:21px 10px 24px}._isExpanded_j9gdv_146{transform:scaleX(-1)}._IsMoving_j9gdv_76,._NoTransition_j9gdv_39{transition:none}._NoDraggable_j9gdv_76{cursor:default}._ExpandButtonOverlay_j9gdv_61{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:auto;cursor:pointer;background-color:var(--background-normal);opacity:0;transition:background-color var(--Transition) cubic-bezier(.4,0,.2,1);animation:_fade-in_j9gdv_1 var(--Transition) cubic-bezier(.4,0,.2,1) forwards}._ExpandButtonOverlay_j9gdv_61:hover{background-color:var(--elevation-10)}@keyframes _fade-in_j9gdv_1{0%{opacity:0}to{opacity:1}}._ExpandButton_j9gdv_61{position:absolute;top:50%;left:50%;color:var(--acent-brand);opacity:0;transition:all var(--Transition) cubic-bezier(.4,0,.2,1);animation:_fade-in_j9gdv_1 var(--Transition) cubic-bezier(.4,0,.2,1) .1s forwards}._ASpace_1okqf_1{width:0;height:0;transition:all var(--Transition)}._AChipsContainer_1ag9v_1{display:flex;flex-flow:row wrap}._AChip_1ag9v_1{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:center;min-width:32px;min-height:26px;padding:4px 6px;color:var(--AChip_color);background-color:var(--AChip_background-color);border:var(--AChip_border);border-radius:16px}._AChip_1ag9v_1._Clickable_1ag9v_21:hover{color:var(--AChip_hover_color);background-color:var(--AChip_hover_background-color)}._AChipDelete_1ag9v_26{position:absolute;right:0;aspect-ratio:1/1;margin-right:6px;color:var(--AChip_DeleteButton_color);border:var(--AChip_DeleteButton_border);border-radius:50%}._AChipDelete_1ag9v_26:hover,._IsHover_1ag9v_40{color:var(--AChip_DeleteButton_hover_color);border:var(--AChip_DeleteButton_hover_border)}._AChipDeleteIcon_1ag9v_45{position:absolute;right:0;z-index:2;margin-right:8px}input{font-family:Pretendard,sans-serif;font-size:1rem;font-weight:400}._InputContainer_1adq8_7{z-index:1;box-sizing:border-box;display:flex;flex-direction:row;height:34px;word-break:none;white-space:nowrap;resize:none;border:none;border-radius:6px;transition:border var(--Transition),background-color var(--Transition)}._AInput_1adq8_21{box-sizing:border-box;width:100%;padding:8px 12px;text-overflow:ellipsis;color:inherit;background-color:transparent;border:none;transition:color var(--Transition)}._AInput_1adq8_21:focus{outline:none}._AInput_1adq8_21::placeholder{transition:all var(--Transition);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._AInput_1adq8_21::-webkit-calendar-picker-indicator{display:none!important}._LeftAddon_1adq8_43{box-sizing:border-box;display:flex;align-items:center}._RightAddon_1adq8_49{display:flex;flex-direction:row;align-items:center}._ErrorHelperText_1adq8_55{color:var(--AInput_Error_HelperText_color)}._Primary_1adq8_59{color:var(--AInput_Primary_color);background-color:var(--AInput_Primary_background-color);border:var(--AInput_Primary_border)}._Primary_1adq8_59:hover:not(._UnAvailable_1adq8_64){border:var(--AInput_Primary_hover_border)}._Primary_1adq8_59:focus-within:not(._UnAvailable_1adq8_64){background-color:var(--AInput_Primary_focus_background-color);border:var(--AInput_Primary_focus_border)}._Primary_1adq8_59 ::placeholder{color:var(--AInput_Primary_placeholder_color)}._Secondary_1adq8_75{color:var(--AInput_Secondary_color);background-color:var(--AInput_Secondary_background-color);border:var(--AInput_Secondary_border)}._Secondary_1adq8_75:hover:not(._UnAvailable_1adq8_64){border:var(--AInput_Secondary_hover_border)}._Secondary_1adq8_75:focus-within:not(._UnAvailable_1adq8_64){border:var(--AInput_Secondary_focus_border)}._Secondary_1adq8_75 ::placeholder{color:var(--AInput_Secondary_placeholder_color)}._ReadOnly_1adq8_90{color:var(--AInput_ReadOnly_color);cursor:not-allowed;background-color:var(--AInput_ReadOnly_background-color);border:var(--AInput_ReadOnly_border)}._Error_1adq8_55{color:var(--AInput_Error_color);background-color:var(--AInput_Error_background-color);border:var(--AInput_Error_border)}._Error_1adq8_55 ::placeholder{color:var(--AInput_Error_placeholder_color)}._ANumInputUnitSelect_1adq8_106{padding:0;color:var(--line-strong)}._ASelect_1gbzd_1{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:200px;height:34px;overflow:hidden;cursor:pointer;border-radius:6px}._ASelect_1gbzd_1 ._Arrow_1gbzd_14{position:relative;display:flex;align-items:center;justify-content:center;height:100%;pointer-events:none;transition:border var(--Transition)}._ASelect_1gbzd_1._Primary_1gbzd_23{border:var(--ASelect_Primary_border);transition:border var(--Transition)}._ASelect_1gbzd_1._Primary_1gbzd_23 ._Arrow_1gbzd_14{min-width:30px;max-width:50px;aspect-ratio:1/1;color:var(--ASelect_Primary_Arrow_color);border-left:var(--ASelect_Primary_border)}._ASelect_1gbzd_1._Primary_1gbzd_23:hover:not(._UnAvailable_1gbzd_34),._ASelect_1gbzd_1._Primary_1gbzd_23._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34){border:var(--ASelect_Primary_hover_border)}._ASelect_1gbzd_1._Primary_1gbzd_23:hover:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14,._ASelect_1gbzd_1._Primary_1gbzd_23._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14{border-left:var(--ASelect_Primary_hover_border);transition:border-left var(--Transition)}._ASelect_1gbzd_1._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_background-color);border:var(--ASelect_Secondary_border);transition:border var(--Transition),background-color var(--Transition)}._ASelect_1gbzd_1._Secondary_1gbzd_41 ._Arrow_1gbzd_14{color:var(--ASelect_Secondary_Arrow_color);transition:color var(--Transition)}._ASelect_1gbzd_1._Secondary_1gbzd_41:hover:not(._UnAvailable_1gbzd_34),._ASelect_1gbzd_1._Secondary_1gbzd_41._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34){border:var(--ASelect_Secondary_hover_border)}._ASelect_1gbzd_1._Secondary_1gbzd_41:hover:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14,._ASelect_1gbzd_1._Secondary_1gbzd_41._IsOpen_1gbzd_34:not(._UnAvailable_1gbzd_34) ._Arrow_1gbzd_14{transition:border-left var(--Transition)}._Placeholder_1gbzd_57{color:var(--ASelect_Placeholder_color)}._ValuesContainer_1gbzd_61{display:flex;flex-grow:1;overflow:hidden;white-space:nowrap}._Values_1gbzd_61{box-sizing:border-box;display:block;width:100%;height:100%;padding:8px 0 8px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._Options_1gbzd_80{position:fixed;z-index:100;box-sizing:border-box;visibility:hidden;width:fit-content;overflow:overlay;cursor:pointer;border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;opacity:0;transition:opacity var(--Transition),visibility var(--Transition),background-color var(--Transition),border var(--Transition)}._Options_1gbzd_80._Raw_1gbzd_93,._Options_1gbzd_80._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Options_background-color);border:var(--ASelect_Primary_Options_border)}._Options_1gbzd_80._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Options_background-color);border:var(--ASelect_Secondary_Options_border)}._Option_1gbzd_80{display:flex;flex-grow:1;flex-direction:row;align-items:center;padding-left:12px;transition:background-color var(--Transition)}._Option_1gbzd_80:hover._Raw_1gbzd_93,._Option_1gbzd_80:hover._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Option_hover_background-color)}._Option_1gbzd_80:hover._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Option_hover_background-color)}._Option_1gbzd_80:active._Raw_1gbzd_93,._Option_1gbzd_80:active._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Option_active_background-color)}._Option_1gbzd_80:active._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Option_active_background-color)}._Option_1gbzd_80._Selected_1gbzd_122._Raw_1gbzd_93,._Option_1gbzd_80._Selected_1gbzd_122._Primary_1gbzd_23{background-color:var(--ASelect_Primary_Option_Selected_background-color)}._Option_1gbzd_80._Selected_1gbzd_122._Secondary_1gbzd_41{background-color:var(--ASelect_Secondary_Option_Selected_background-color)}._CheckBox_1gbzd_129{position:sticky;left:0;z-index:2;display:flex;flex-direction:row;align-items:center;min-height:100%;padding-right:12px;background-color:inherit}._Anchor_27s50_1{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;height:34px;color:var(--ADatePicker_Anchor_color);border:var(--ADatePicker_Anchor_border);border-radius:6px;transition:all var(--Transition)}._Anchor_27s50_1:hover{border:var(--ADatePicker_Anchor_hover_border)}._Anchor_27s50_1:focus{border:var(--ADatePicker_Anchor_focus_border)}._Anchor_27s50_1._Primary_27s50_18{padding:8px}._Anchor_27s50_1._Secondary_27s50_21{padding:8px 4px 8px 12px}._Placeholder_27s50_25{color:var(--ADatePicker_Anchor_Placeholder_color);transition:all var(--Transition)}._Icon_27s50_30._Primary_27s50_18{color:var(--ADatePicker_Anchor_Icon_Primary_color)}._Icon_27s50_30._Secondary_27s50_21{color:var(--ADatePicker_Anchor_Icon_Secondary_color)}._ADatePicker_27s50_37{position:fixed;z-index:100;overflow:hidden;background-color:var(--ADatePicker_background-color);border:var(--ADatePicker_border);border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;transition:background-color var(--Transition),opacity var(--Transition),visibility var(--Transition)}._StringInputWrap_27s50_48{display:flex;flex:1}._StringInputContainer_27s50_53{box-sizing:border-box;display:flex;flex-direction:column;padding:10px;background-color:var(--ADatePicker_StringInputContainer_background-color)}._StringInput_27s50_48{text-align:center}._String_27s50_48{border-color:var(--ADatePicker_StringInputContainer_background-color)}._String_27s50_48._IsIdx_27s50_68{border:var(--ADatePicker_String_border)}._CalendarContainer_27s50_72{display:flex;flex-direction:column;padding:10px}._Header_27s50_78{justify-content:space-between}._Prev_27s50_82,._Next_27s50_83{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:24px;max-width:24px;min-height:24px;max-height:24px;cursor:pointer;border-radius:4px}._Prev_27s50_82{background-color:var(--ADatePicker_Prev_background-color)}._Prev_27s50_82:after{margin-left:-6px;content:"";border:4px solid transparent;border-right:var(--ADatePicker_Prev_border-right)}._Next_27s50_83{background-color:var(--ADatePicker_Next_background-color)}._Next_27s50_83:after{margin-left:6px;content:"";border:4px solid transparent;border-left:var(--ADatePicker_Next_border-left)}._MonthYear_27s50_116{display:flex;flex-direction:row}._Select_27s50_121{min-height:100%;max-height:35px}._Calendar_27s50_72{display:flex;flex-direction:column}._Cell_27s50_131{display:flex;align-items:center;justify-content:center;min-width:40px;max-width:40px;min-height:24px;max-height:24px;color:var(--ADatePicker_Cell_color);background-color:transparent;border-radius:0}._Cell_27s50_131._IsNotCurrentMonth_27s50_143{color:var(--ADatePicker_Cell_IsNotCurrentMonth_color);pointer-events:none}._Cell_27s50_131._IsSelected_27s50_147{color:var(--ADatePicker_Cell_IsSelected_color);background-color:var(--ADatePicker_Cell_IsSelected_background-color)}._Cell_27s50_131._IsDisabled_27s50_151{background-color:var(--ADatePicker_Cell_IsDisabled_color)}._Cell_27s50_131._IsHovered_27s50_154{background-color:var(--ADatePicker_Cell_IsHovered_background-color)}._Week_27s50_158{display:flex;flex-direction:row}._WeekDay_27s50_163{cursor:default}._Anchor_1x8q1_1{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;height:34px;color:var(--ADateRangePicker_Anchor_color);border:var(--ADateRangePicker_Anchor_border);border-radius:6px;transition:all var(--Transition)}._Anchor_1x8q1_1:hover{border:var(--ADateRangePicker_Anchor_hover_border)}._Anchor_1x8q1_1:focus{border:var(--ADateRangePicker_Anchor_focus_border)}._Anchor_1x8q1_1._Primary_1x8q1_18{padding:8px 4px 8px 8px}._Anchor_1x8q1_1._Secondary_1x8q1_22{padding:8px 4px 8px 12px}._Placeholder_1x8q1_26{color:var(--ADateRangePicker_Anchor_Placeholder_color);transition:all var(--Transition)}._Icon_1x8q1_31._Primary_1x8q1_18{color:var(--ADateRangePicker_Anchor_Icon_Primary_color)}._Icon_1x8q1_31._Secondary_1x8q1_22{color:var(--ADateRangePicker_Anchor_Icon_Secondary_color)}._ADateRangePicker_1x8q1_38{position:fixed;z-index:100;overflow:hidden;background-color:var(--ADateRangePicker_background-color);border:var(--ADateRangePicker_border);border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;transition:background-color var(--Transition),opacity var(--Transition),visibility var(--Transition)}._StringInputWrap_1x8q1_49{display:flex}._StringInputContainer_1x8q1_53{box-sizing:border-box;display:flex;flex-direction:column;width:300px;padding:10px;background-color:var(--ADateRangePicker_StringInputContainer_background-color)}._StringInput_1x8q1_49{text-align:center}._String_1x8q1_49{border-color:var(--ADateRangePicker_StringInputContainer_background-color)}._String_1x8q1_49._IsIdx_1x8q1_69{border:var(--ADateRangePicker_String_border)}._CalendarContainer_1x8q1_73{display:flex;flex-direction:column;padding:10px}._Header_1x8q1_79{justify-content:space-between}._Prev_1x8q1_83,._Next_1x8q1_84{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:24px;max-width:24px;min-height:24px;max-height:24px;cursor:pointer;border-radius:4px}._Prev_1x8q1_83{background-color:var(--ADateRangePicker_Prev_background-color)}._Prev_1x8q1_83:after{margin-left:-6px;content:"";border:4px solid transparent;border-right:var(--ADateRangePicker_Prev_border-right)}._Next_1x8q1_84{background-color:var(--ADateRangePicker_Next_background-color)}._Next_1x8q1_84:after{margin-left:6px;content:"";border:4px solid transparent;border-left:var(--ADateRangePicker_Next_border-left)}._MonthYear_1x8q1_117{display:flex;flex-direction:row}._Select_1x8q1_122{min-height:100%;max-height:35px}._Calendar_1x8q1_73{display:flex;flex-direction:column}._Cell_1x8q1_132{display:flex;align-items:center;justify-content:center;min-width:40px;max-width:40px;min-height:24px;max-height:24px;color:var(--ADateRangePicker_Cell_color);background-color:transparent;border-radius:0}._Cell_1x8q1_132._IsNotCurrentMonth_1x8q1_144{color:var(--ADateRangePicker_Cell_IsNotCurrentMonth_color);pointer-events:none}._Cell_1x8q1_132._IsSelected_1x8q1_148{color:var(--ADateRangePicker_Cell_IsSelected_color);background-color:var(--ADateRangePicker_Cell_IsSelected_background-color)}._Cell_1x8q1_132._IsDisabled_1x8q1_152{background-color:var(--ADateRangePicker_Cell_IsDisabled_color)}._Cell_1x8q1_132._IsHovered_1x8q1_155{background-color:var(--ADateRangePicker_Cell_IsHovered_background-color)}._Week_1x8q1_159{display:flex;flex-direction:row}._WeekDay_1x8q1_164{cursor:default}._ChoiceButton_1x8q1_168{flex:1;width:unset;min-width:unset;height:24px;border-radius:4px}._ChoiceButton_1x8q1_168+._ChoiceButton_1x8q1_168{margin-left:8px}._Paper_e69j5_1{position:fixed;top:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background-color:var(--ADialog_Paper_background-color);transition:opacity var(--Transition),visibility var(--Transition)}._Card_e69j5_15{display:flex;flex-direction:column;min-width:400px;max-width:80%;max-height:80%;overflow:overlay;background-color:var(--ADialog_background-color);border:var(--ADialog_border);border-radius:4px}._Card_e69j5_15 ._Body_e69j5_26{box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;width:100%;padding:20px;overflow:overlay}._Card_e69j5_15 ._Body_e69j5_26 ._Title_e69j5_35{box-sizing:border-box;display:flex;flex-grow:0;width:100%;margin-bottom:12px}._Card_e69j5_15 ._Body_e69j5_26 ._Content_e69j5_42{overflow:overlay}._Card_e69j5_15 ._Action_e69j5_45{box-sizing:border-box;display:flex;flex-grow:1;align-items:center;justify-content:flex-end;width:100%;min-height:82px;max-height:82px;padding:25.5px 24px;overflow:hidden;background-color:var(--ADialog_Action_background-color)}._Card_e69j5_15 ._Action_e69j5_45 ._Button_e69j5_58{box-sizing:border-box;display:flex;flex:1;width:172px;max-width:172px;min-height:30px;padding:1px 6px}._AFileBox_1hlo1_1{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:300px;height:100px;padding:20px;cursor:default;background-color:var(--AFileBox_background-color);border:var(--AFileBox_border);border-radius:6px;transition:border var(--Transition),background-color var(--Transition)}._SelectedFile_1hlo1_16{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--AFileBox_SelectedFile_color);transition:all var(--Transition)}._Dropping_1hlo1_26{color:var(--AFileBox_Dropping_color);transition:all var(--Transition)}._AFileUploader_i2nun_1{position:relative;box-sizing:border-box;width:100%;padding:0;margin-top:8px;cursor:default;border:none;display:flex;flex-direction:row;gap:0;align-items:flex-start;justify-content:flex-start}._LabelContainer_i2nun_16{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;width:100%}._LabelButton_i2nun_25{height:1rem;text-decoration:underline;text-underline-offset:2px;cursor:pointer}._LabelButton_i2nun_25:hover:not(._Disabled_i2nun_31){color:var(--AFileUploader_brand_color)}._LabelButton_i2nun_25._Delete_i2nun_34:hover:not(._Disabled_i2nun_31){color:var(--AFileUploader_error_color)}._FileSize_i2nun_38{flex-shrink:0;margin-left:8px;color:var(--AFileUploader_text_color);white-space:nowrap}._TotalFileSize_i2nun_45{color:var(--AFileUploader_text_color)}._FileBox_i2nun_49{position:relative;box-sizing:border-box;width:180px;min-width:180px;height:40px;min-height:40px;padding:0;color:var(--AFileUploader_brand_color);background-color:var(--AFileUploader_background-color);border:1.5px dashed var(--AFileUploader_brand_color);border-radius:8px;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;transition:border-color calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition))}._FileBox_i2nun_49._FileBoxFullSize_i2nun_68{top:0;right:0;bottom:0;left:0;width:100%;height:100%;transition:width calc(var(--Transition-Enabled) * var(--Transition)),height calc(var(--Transition-Enabled) * var(--Transition))}._SelectRenderer_i2nun_75{display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;z-index:1;flex-grow:1;height:100%;border-radius:8px}._ChipsContainer_i2nun_87{display:flex;flex-direction:row;gap:0;align-items:flex-start;justify-content:flex-start;flex-flow:row wrap;gap:8px;align-content:flex-start;width:100%;height:100%}._FileChip_i2nun_100{z-index:1;flex:0 1 auto;width:auto;min-width:180px;max-width:100%;height:40px;padding:6px 12px;background-color:var(--AFileUploader_background-color);border-radius:8px;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition)),color calc(var(--Transition-Enabled) * var(--Transition))}._FileChipContent_i2nun_113{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;width:100%;min-width:0;max-width:100%}._FileNameContainer_i2nun_124{flex:1;min-width:0;max-width:100%}._ButtonRenderer_i2nun_130{box-sizing:border-box;flex-shrink:0;margin-left:12px;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center}._ErrorBorder_i2nun_141{border-color:var(--AFileUploader_error_color)}._ErrorColor_i2nun_145{color:var(--AFileUploader_error_color)}._ErrorCursor_i2nun_149{cursor:not-allowed}._Disabled_i2nun_31{color:var(--AFileUploader_text_color);cursor:not-allowed;border-color:var(--AFileUploader_disabled_color)}._DropIdle_i2nun_159{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;gap:0;align-items:center;justify-content:center;transition:color calc(var(--Transition-Enabled) * var(--Transition))}._AFloatMenu_xco8u_1{position:fixed;z-index:100;border:var(--AFloatMenu_border);border-radius:4px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;transition:opacity var(--Transition),visibility var(--Transition),border var(--Transition),background-color var(--Transition)}._Content_xco8u_10{display:flex;align-items:center;justify-content:center;min-height:34px;color:var(--AFloatMenu_color);background-color:var(--AFloatMenu_background-color)}._Content_xco8u_10:hover{background-color:var(--AFloatMenu_hover_background-color)}._Content_xco8u_10:nth-child(1){border-top-left-radius:4px;border-top-right-radius:4px}._Content_xco8u_10:nth-last-child(1){border-bottom-right-radius:4px;border-bottom-left-radius:4px}._AListView_1nv5l_1{box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;cursor:default;transition:border var(--Transition)}._Row_1nv5l_10{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;width:100%;transition:border var(--Transition)}._Label_1nv5l_19{box-sizing:border-box;display:flex;align-items:center;min-width:120px;max-width:120px;height:100%;transition:border var(--Transition)}._Content_1nv5l_29{box-sizing:border-box;display:flex;flex:1;align-items:center;min-height:100%;transition:border var(--Transition)}._ALoadingBorder_kwc1g_1{position:relative;width:100%;min-height:2px;max-height:2px;overflow:hidden;background-color:var(--ALoadingBorder_background-color)}._ALoadingBorder_kwc1g_1 ._ProgressBar_kwc1g_9{position:absolute;width:100%;height:100%;background-color:var(--ALoadingBorder_ProgressBar_background-color)}._ALoadingBorder_kwc1g_1 ._ProgressBar_kwc1g_9._IsLoading_kwc1g_15{width:0;animation:ease-in-out _load_kwc1g_1 3s infinite}._ALoadingBorder_kwc1g_1 ._Cover_kwc1g_19{position:absolute;width:100%;height:2px;background-color:var(--ALoadingBorder_Cover_background-color)}._ALoadingBorder_kwc1g_1 ._Cover_kwc1g_19._IsLoading_kwc1g_15{opacity:0}@keyframes _load_kwc1g_1{0%{left:0;width:100%}25%{left:100%;width:0;animation-timing-function:cubic-bezier(1,0,.6,1.5)}26%{left:0}50%{width:100%}75%{left:100%;width:0;animation-timing-function:cubic-bezier(1,0,.6,1.5)}76%{left:0}to{width:100%}}._Container_ez8dc_1{display:flex;flex-direction:row;align-items:center}._Option_ez8dc_7{flex-shrink:0}._Option_ez8dc_7+._Option_ez8dc_7{margin-left:10px}._RadioButton_ez8dc_14{box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin-right:4px;border:var(--ARadioSelect_RadioButton_border);border-radius:50%;transition:border-color calc(var(--Transition-Enabled) * var(--Transition))}._RadioButton_ez8dc_14 ._InnerCircle_ez8dc_24{display:flex;border-radius:50%;transition:all var(--Transition)}._RadioButton_ez8dc_14 ._InnerCircle_ez8dc_24._isChecked_ez8dc_29{background-color:var(--ARadioSelect_RadioButton_InnerCircle_isChecked_background-color)}._AMultiSelect_19uuu_1{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:200px;height:34px;overflow:hidden;cursor:pointer;border-radius:6px;transition:opacity var(--Transition),border var(--Transition)}._AMultiSelect_19uuu_1 ._Arrow_19uuu_15{position:relative;display:flex;align-items:center;justify-content:center;height:100%;pointer-events:none;transition:border var(--Transition)}._AMultiSelect_19uuu_1._Primary_19uuu_24{border:var(--AMultiSelect_Primary_border);transition:border var(--Transition)}._AMultiSelect_19uuu_1._Primary_19uuu_24 ._Arrow_19uuu_15{min-width:30px;max-width:50px;aspect-ratio:1/1;color:var(--AMultiSelect_Primary_Arrow_color);border-left:var(--AMultiSelect_Primary_border)}._AMultiSelect_19uuu_1._Primary_19uuu_24:hover:not(._UnAvailable_19uuu_35),._AMultiSelect_19uuu_1._Primary_19uuu_24._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35){border:var(--AMultiSelect_Primary_hover_border)}._AMultiSelect_19uuu_1._Primary_19uuu_24:hover:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15,._AMultiSelect_19uuu_1._Primary_19uuu_24._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15{border-left:var(--AMultiSelect_Primary_hover_border);transition:border-left var(--Transition)}._AMultiSelect_19uuu_1._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_background-color);border:var(--AMultiSelect_Secondary_border);transition:background-color var(--Transition)}._AMultiSelect_19uuu_1._Secondary_19uuu_42 ._Arrow_19uuu_15{color:var(--AMultiSelect_Secondary_Arrow_color);transition:color var(--Transition)}._AMultiSelect_19uuu_1._Secondary_19uuu_42:hover:not(._UnAvailable_19uuu_35),._AMultiSelect_19uuu_1._Secondary_19uuu_42._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35){border:var(--AMultiSelect_Secondary_hover_border)}._AMultiSelect_19uuu_1._Secondary_19uuu_42:hover:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15,._AMultiSelect_19uuu_1._Secondary_19uuu_42._IsOpen_19uuu_35:not(._UnAvailable_19uuu_35) ._Arrow_19uuu_15{transition:color var(--Transition)}._Placeholder_19uuu_58{color:var(--AMultiSelect_Placeholder_color);transition:all var(--Transition)}._ValuesContainer_19uuu_63{display:flex;flex-grow:1;overflow:hidden;white-space:nowrap}._Values_19uuu_63{box-sizing:border-box;display:block;width:100%;height:100%;padding:8px 0 8px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._Options_19uuu_82{position:fixed;z-index:100;box-sizing:border-box;visibility:hidden;width:fit-content;overflow:overlay;cursor:pointer;border-radius:6px;box-shadow:#0003 0 5px 5px -3px,#00000024 0 8px 10px 1px,#0000001f 0 3px 14px 2px;opacity:0;transition:opacity var(--Transition),visibility var(--Transition),background-color var(--Transition),border var(--Transition)}._Options_19uuu_82._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Options_background-color);border:var(--AMultiSelect_Primary_Options_border)}._Options_19uuu_82._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Options_background-color);border:var(--AMultiSelect_Secondary_Options_border)}._Option_19uuu_82{display:flex;flex-grow:1;flex-direction:row;align-items:center;padding-left:12px;transition:background-color var(--Transition)}._Option_19uuu_82:hover._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Option_hover_background-color)}._Option_19uuu_82:hover._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Option_hover_background-color)}._Option_19uuu_82:active._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Option_active_background-color)}._Option_19uuu_82:active._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Option_active_background-color)}._Option_19uuu_82._Selected_19uuu_124._Primary_19uuu_24{background-color:var(--AMultiSelect_Primary_Option_Selected_background-color)}._Option_19uuu_82._Selected_19uuu_124._Secondary_19uuu_42{background-color:var(--AMultiSelect_Secondary_Option_Selected_background-color)}._CheckBox_19uuu_131{position:sticky;left:0;z-index:2;display:flex;flex-direction:row;align-items:center;min-height:100%;padding-right:12px;background-color:inherit}._Container_10ion_1{display:flex;flex-direction:column;align-items:center;width:100%;height:100%}._Steps_10ion_9{display:flex;flex-direction:row;align-items:center;width:50%;overflow:overlay}._Step_10ion_9{position:relative;display:flex;flex-grow:1;flex-direction:column;align-items:center;padding:10px}._OutCircle_10ion_26{display:flex;align-items:center;justify-content:center;min-width:34px;max-width:34px;min-height:34px;max-height:34px;background-color:var(--AStepper_OutCircle_background-color);border-radius:17px}._OutCircle_10ion_26._IsOver_10ion_37{background-color:var(--AStepper_OutCircle_IsOver_background-color)}._InCircle_10ion_41{min-width:22px;max-width:22px;min-height:22px;max-height:22px;background-color:var(--AStepper_InCircle_background-color);border-radius:22px;transition:background-color var(--Transition)}._InCircle_10ion_41._IsOver_10ion_37{background-color:var(--AStepper_InCircle_IsOver_background-color)}._Line_10ion_54{position:absolute;top:27px;display:flex;width:50%;height:1px;background-color:var(--AStepper_Line_background-color);transition:background-color var(--Transition)}._Line_10ion_54._IsOver_10ion_37{background-color:var(--AStepper_Line_IsOver_background-color)}._Line_10ion_54._Left_10ion_66{left:0}._Line_10ion_54._Right_10ion_69{right:0}._ContentContainer_10ion_73{display:flex;flex-grow:1;flex-direction:row;width:100%;overflow-x:hidden}._Content_10ion_73{display:flex;flex-grow:1;min-width:100%;transition:all var(--Transition);transition-timing-function:cubic-bezier(.075,.82,.165,1)}._ATab_9eg6z_1{position:relative;box-sizing:border-box;display:flex;flex-grow:1;flex-direction:row;overflow:hidden visible}._ATab_9eg6z_1 ._Addon_9eg6z_9{display:flex;align-items:center;min-height:100%}._ATab_9eg6z_1 ._Option_9eg6z_14{position:relative;z-index:2;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:center;font-weight:400;color:var(--color, var(--label-normal));transition:color var(--Transition)}._ATab_9eg6z_1 ._Option_9eg6z_14._Underline_9eg6z_26._IsSelected_9eg6z_26{text-decoration-line:underline;text-decoration-thickness:auto;text-decoration-style:solid;text-underline-position:from-font;text-underline-offset:2px;text-decoration-skip-ink:auto}._ATab_9eg6z_1 ._Option_9eg6z_14._IsSelected_9eg6z_26{font-weight:700}._ATab_9eg6z_1 ._IndicatorTrack_9eg6z_37{position:absolute;bottom:0;box-sizing:border-box;display:flex;width:100%;border-bottom:var(--ATab_IndicatorTrack_Primary_border-bottom);transition:border var(--Transition)}._ATab_9eg6z_1 ._Indicator_9eg6z_37{position:absolute;bottom:0;height:4px;background-color:var(--color, var(--ATab_Indicator_Primary_background-color));transition:var(--Transition);transition-timing-function:cubic-bezier(.075,.82,.165,1)}._ATab_9eg6z_1._Primary_9eg6z_54 ._IndicatorTrack_9eg6z_37{min-width:100%}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Option_9eg6z_14{border:var(--ATab_Option_Secondary_border);border-top-left-radius:4px;border-top-right-radius:4px;transition:border var(--Transition),color var(--Transition)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Option_9eg6z_14._IsDisabled_9eg6z_63{border:var(--ATab_Option_Secondary_IsDisabled_border)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Option_9eg6z_14._IsSelected_9eg6z_26{border-bottom:var(--ATab_Option_Secondary_IsSelected_border-bottom)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._IndicatorTrack_9eg6z_37{min-width:100%;border-bottom:var(--ATab_Option_Secondary_border);transition:border-bottom var(--Transition)}._ATab_9eg6z_1._Secondary_9eg6z_57 ._Indicator_9eg6z_37{display:none}._ATab_9eg6z_1._Tertiary_9eg6z_77{overflow:hidden}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._Option_9eg6z_14{color:var(--color, var(--ATab_Option_Tertiary_color));transition:color var(--Transition)}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._Option_9eg6z_14._IsSelected_9eg6z_26{color:var(--color, var(--ATab_Option_Tertiary_IsSelected_color));transition:color var(--Transition)}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._IndicatorTrack_9eg6z_37{box-sizing:border-box;background-color:var(--color, var(--ATab_IndicatorTrack_Tertiary_background-color));border-radius:8px;transition:background-color var(--Transition),border var(--Transition)}._ATab_9eg6z_1._Tertiary_9eg6z_77 ._Indicator_9eg6z_37{top:50%;z-index:1;background-color:var(--color, var(--ATab_Indicator_Tertiary_background-color));border-radius:6px;transition:background-color var(--Transition)}._ATab_9eg6z_1._Quaternary_9eg6z_101 ._Option_9eg6z_14{color:var(--color, var(--ATab_Option_Quaternary_color));transition:color var(--Transition)}._ATab_9eg6z_1._Quaternary_9eg6z_101 ._Option_9eg6z_14._IsSelected_9eg6z_26{color:var(--color, var(--ATab_Option_Quaternary_IsSelected_color));transition:color var(--Transition)}._ATab_9eg6z_1._Quaternary_9eg6z_101 ._IndicatorTrack_9eg6z_37,._ATab_9eg6z_1._Quaternary_9eg6z_101 ._Indicator_9eg6z_37{display:none}._ATable_12zow_1{display:flex;flex-grow:1;flex-direction:column;overflow:hidden auto}._BodyHeader_ys4y0_1{position:relative;flex-direction:column;width:100%;transition:border var(--Transition)}._BodyHeader_ys4y0_1 ._TRow_ys4y0_7{position:relative}._OverflowSpace_ys4y0_11{box-sizing:border-box;transition:background-color var(--Transition)}._BodyBody_ys4y0_16{position:relative;box-sizing:border-box;display:flex;flex-grow:1;flex-direction:column;width:100%;height:100%;overflow:hidden auto}._TRow_ys4y0_7{box-sizing:border-box;display:flex;flex-direction:row;border-bottom:var(--ATableBody_TRow_border-bottom);transition:border var(--Transition)}._IsSelected_ys4y0_35{background-color:var(--ATableBody_TRow_IsSelected_background-color)}._IsSelectable_ys4y0_39{cursor:pointer;transition:background-color var(--Transition)}._IsSelectable_ys4y0_39:hover{background-color:var(--ATableBody_TRow_IsSelectable_hover_background-color)}._IsRowMarked_ys4y0_47{color:var(--ATableBody_TD_IsMarked_color);background-color:var(--ATableBody_TD_IsMarked_background-color)}._TH_ys4y0_52{color:var(--ATableBody_TH_color);transition:color var(--Transition)}._TD_ys4y0_57._IsMarked_ys4y0_57,._IsMarked_ys4y0_57{background-color:var(--ATableBody_TD_IsMarked_background-color)}._TD_ys4y0_57,._TH_ys4y0_52{position:relative;box-sizing:border-box;display:flex;flex-grow:1;align-items:center;justify-content:flex-start;overflow:hidden}._Resizer_ys4y0_76{z-index:1;box-sizing:border-box;display:flex;flex-direction:row;min-width:11px;max-width:11px;min-height:100%;margin-right:-5.5px;margin-left:-5.5px;transition:all var(--Transition)}._Resizer_ys4y0_76:hover:not(._IsMoving_ys4y0_88){cursor:not-allowed}._Resizer_ys4y0_76:hover:not(._IsMoving_ys4y0_88)._IsResizable_ys4y0_91{cursor:col-resize}._Resizer_ys4y0_76:hover:not(._IsMoving_ys4y0_88) ._ResizerCenter_ys4y0_94{background-color:var(--ATableBody_Resizer_hover_ResizerCenter_background-color)}._Resizer_ys4y0_76._IsResizable_ys4y0_91:active ._ResizerCenter_ys4y0_94{background-color:var(--ATableBody_Resizer_active_ResizerCenter_background-color)}._Resizer_ys4y0_76._IsResizable_ys4y0_91:active ._ResizerOut_ys4y0_100{background-color:var(--ATableBody_Resizer_active_ResizerOut_background-color);opacity:.125}._Resizer_ys4y0_76._IsResizable_ys4y0_91:active ._ResizerIn_ys4y0_104{background-color:var(--ATableBody_Resizer_active_ResizerIn_background-color);opacity:.25}._Resizer_ys4y0_76._IsMoving_ys4y0_88{cursor:col-resize}._ResizerOut_ys4y0_100,._ResizerIn_ys4y0_104{display:flex;justify-content:center;min-width:1px;max-width:1px;height:100%;transition:all var(--Transition)}._ResizerCenter_ys4y0_94{display:flex;justify-content:center;min-width:1px;max-width:1px;height:100%;transition:background-color var(--Transition)}._IsClicked_ys4y0_139,._IsClicked_ys4y0_139 *{transition:width 0s,background-color var(--Transition),height .1s}._NoItems_ys4y0_146{display:flex;flex-grow:1;justify-content:center}._Content_ys4y0_152{padding:4px 8px}._ATableFooter_w090q_1{display:flex;justify-content:center;min-width:100%;height:32px;max-height:32px;margin-top:8px}._Button_w090q_10{display:flex;flex-direction:row;align-items:center;justify-content:center;width:24px;min-width:24px;max-width:24px;height:24px;min-height:24px;max-height:24px;overflow:hidden;cursor:pointer;border-radius:4px;transition:all var(--Transition)}._Button_w090q_10._IsSelected_w090q_26{color:var(--ATableFooter_Button_IsSelected_color);cursor:default;background-color:var(--ATableFooter_Button_IsSelected_background-color)}._Button_w090q_10._IsDisabled_w090q_31{color:var(--ATableFooter_Button_IsDisabled_color);cursor:default}._Button_w090q_10+._Button_w090q_10{margin-left:8px}._Filter_1b9j0_1{position:relative;z-index:10;display:flex;flex-direction:column;align-items:center;width:100%;transition:padding var(--Transition)}._SelectFilter_1b9j0_11{margin-right:8px}._MainFilter_1b9j0_15{position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:center;width:100%;margin-top:8px;transition:var(--Transition) width}._IsOpen_1b9j0_26{width:calc(100% - 18px)}._SubFilters_1b9j0_30{position:absolute;top:0;z-index:0;box-sizing:border-box;width:100%;padding:48px 8px 8px;background-color:var(--ATableFilter_SubFilters_background-color);border:var(--ATableFilter_SubFilters_border);border-radius:6px;transition:all var(--Transition)}._Input_1b9j0_44{width:100%}._Main_1b9j0_15{min-height:34px;max-height:34px}._Sub_1b9j0_30,._Sub_1b9j0_30 input{min-height:32px;max-height:32px}._Actions_1b9j0_62{flex-grow:1;justify-content:space-between}._Icon_1b9j0_67{overflow:hidden;color:var(--ATableFilter_Icon_color);cursor:pointer;transition:all var(--Transition)}._LeftIcon_1b9j0_74{overflow:hidden;transition:all var(--Transition)}._CircleAlertOutline_1b9j0_79{margin-right:6px;overflow:hidden;color:var(--ATableFilter_Alert_color);cursor:default;transition:all var(--Transition)}._Rotate_1b9j0_87{animation:_rotate_1b9j0_1 var(--Transition) ease-in-out}@keyframes _rotate_1b9j0_1{0%{transform:rotate(0)}to{transform:rotate(-180deg)}}._ATableHeader_1hzfz_1{display:flex;flex-direction:row;align-items:center;max-width:100%;margin-bottom:8px;overflow:visible;white-space:nowrap}._LeftHeaderContent_1hzfz_11{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;height:100%}._RightHeaderContent_1hzfz_19{display:flex;align-items:flex-end;justify-content:flex-end;width:100%;height:100%}._TopRightAddon_1hzfz_27{margin-left:8px;white-space:nowrap}._HItem_1hzfz_32{display:flex}._HItem_1hzfz_32+._HItem_1hzfz_32{align-items:center;min-height:34px;margin-right:8px}._HItem_1hzfz_32:first-child{align-items:center;min-height:34px;margin-right:8px}._AText_1asz6_1{flex-shrink:0;overflow:hidden;text-overflow:ellipsis}textarea{font-family:Pretendard,sans-serif;font-size:1rem;font-weight:400}._Base_cpm4t_7{border-radius:6px}._ATextArea_cpm4t_11{z-index:1;box-sizing:border-box;display:flex;flex-grow:1;padding:8px 12px;overflow:overlay;word-break:none;white-space:nowrap;resize:none;border:none;border-radius:inherit;transition:all var(--Transition)}._ATextArea_cpm4t_11:focus{outline:none}._ATextArea_cpm4t_11::placeholder{opacity:.6;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._Primary_cpm4t_34{color:var(--ATextArea_Primary_color);background-color:var(--ATextArea_Primary_background-color);border:var(--ATextArea_Primary_border)}._Primary_cpm4t_34:hover:not(._UnAvailable_cpm4t_39){border:var(--ATextArea_Primary_hover_border)}._Primary_cpm4t_34:focus:not(._UnAvailable_cpm4t_39){background-color:var(--ATextArea_Primary_focus_background-color);border:var(--ATextArea_Primary_focus_border)}._Secondary_cpm4t_47{color:var(--ATextArea_Secondary_color);background-color:var(--ATextArea_Secondary_background-color);border:var(--ATextArea_Secondary_border)}._Secondary_cpm4t_47:hover:not(._UnAvailable_cpm4t_39){border:var(--ATextArea_Secondary_hover_border)}._Secondary_cpm4t_47:focus:not(._UnAvailable_cpm4t_39){border:var(--ATextArea_Secondary_focus_border)}._ReadOnly_cpm4t_59{color:var(--ATextArea_ReadOnly_color);cursor:not-allowed;background-color:var(--ATextArea_ReadOnly_background-color);border:var(--ATextArea_ReadOnly_border)}._Error_cpm4t_66{color:var(--ATextArea_Error_color);background-color:var(--ATextArea_Error_background-color);border:var(--ATextArea_Error_border)}._Error_cpm4t_66::placeholder{color:var(--ATextArea_Error_placeholder_color)}.ql-toolbar .ql-picker:not(.ql-color-picker):not(.ql-icon-picker).ql-table-up{width:28px}.ql-toolbar .ql-picker:not(.ql-color-picker):not(.ql-icon-picker).ql-table-up .ql-picker-label{padding:2px 4px}.ql-toolbar .ql-picker:not(.ql-color-picker):not(.ql-icon-picker).ql-table-up .ql-picker-label svg{position:static;margin-top:0}.ql-toolbar .ql-picker.ql-expanded .ql-picker-options{z-index:1}.ql-editor .ql-table{display:table;border-collapse:collapse;table-layout:fixed;width:auto}.ql-editor .ql-table[data-full]{width:100%}.ql-editor .ql-table-wrapper{width:100%;overflow:auto;scrollbar-width:none}.ql-editor .ql-table-caption{position:relative;word-break:break-word;outline:0}.ql-editor .ql-table-caption .ql-table-caption--switch{display:flex;align-items:center;justify-content:center;padding:2px;border-radius:4px;border:1px solid #0003;font-size:12px;cursor:pointer;background-color:#fff}.ql-editor .ql-table-caption .ql-table-caption--switch:hover{background-color:#eee}.ql-editor .ql-table-cell{padding:8px 12px;border-color:transparent;font-size:14px;outline:0;overflow:auto}.ql-editor .ql-table-cell-inner{display:inline-block;min-width:100%;word-break:break-word;outline:0;counter-reset:list-0}.ql-editor .ql-table col{border-collapse:separate;text-indent:initial;display:table-column;table-layout:fixed}.ql-editor .ql-table tr+tr td{border-top:none}.ql-editor .ql-table td{border:1px solid #a1a1aa}.ql-editor .ql-table td+td{border-left:none}.table-up-toolbox{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.table-up-toolbox *{pointer-events:all}.table-up-tooltip{position:absolute;z-index:20;padding:.25rem .75rem;border-radius:.25rem;font-size:.75rem;color:#fff;white-space:nowrap;background-color:#303133;transition:opacity .15s linear}.table-up-tooltip.transparent{opacity:0}.table-up-tooltip.hidden{display:none}.table-up-button{--table-btn-color:#606266;--table-btn-bg-hover:#f3f4f6;--table-btn-color-border:#dcdfe6;--table-btn-border:.0625rem solid var(--table-btn-color-border);--table-btn-confirm-color-border:#409eff;--table-btn-confirm-bg:#409eff;--table-btn-confirm-hover:#79bbff;--table-btn-confirm-outline-focus-visible:.125rem solid #a0cfff;box-sizing:border-box;display:inline-flex;height:2rem;line-height:1;margin:0;padding:.5rem 1rem;border-radius:.25rem;border:var(--table-btn-border);color:var(--table-btn-color);background-color:transparent;font-size:.875rem;cursor:pointer}.table-up-button+.table-up-button{margin-left:.375rem}.table-up-button:hover{background-color:var(--table-btn-bg-hover)}.table-up-button.confirm{border-color:var(--table-btn-confirm-color-border);background-color:var(--table-btn-confirm-bg);color:#fff}.table-up-button.confirm:hover{border-color:var(--table-btn-confirm-hover);background-color:var(--table-btn-confirm-hover)}.table-up-button.confirm:focus-visible{outline:var(--table-btn-confirm-outline-focus-visible);outline-offset:.0625rem}.table-up-dialog{--dialog-bg:rgba(0, 0, 0, .5);--dialog-color-border:#ebeef5;--dialog-color-boxshadow:rgba(0, 0, 0, .12);--dialog-border:.0625rem solid var(--dialog-color-border);--dialog-boxshadow:0 0 .75rem var(--dialog-color-boxshadow);position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--dialog-bg);overflow:auto}.table-up-dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;padding:1rem;overflow:auto;text-align:center}.table-up-dialog__overlay:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.table-up-dialog__content{display:inline-block;max-width:50vw;width:100%;vertical-align:middle;background-color:#fff;border-radius:.25rem;border:var(--dialog-border);font-size:1.125rem;box-shadow:var(--dialog-boxshadow);text-align:left;overflow:hidden;box-sizing:border-box}.table-up-color-picker{--color-picker-bg-color:#ffffff;box-sizing:border-box;display:inline-flex;flex-direction:column;width:16.75rem;padding:.5rem;border-radius:.375rem;background:var(--color-picker-bg-color);box-shadow:0 0 .375rem #b2b5b8}.table-up-color-picker__content{box-sizing:border-box;width:100%;height:11.75rem;padding-top:.5rem}.table-up-color-picker__selector{width:14.375rem;height:9.375rem;position:absolute}.table-up-color-picker__background{width:100%;height:100%;background:linear-gradient(to top,#000 0,#0000),linear-gradient(to right,#fff 0,#fff0)}.table-up-color-picker__background-handle{box-sizing:border-box;position:absolute;border:.0625rem solid #fff;cursor:pointer;top:0;left:14.375rem;border-radius:100%;width:.625rem;height:.625rem;transform:translate(-.3125rem,-.3125rem)}.table-up-color-picker__hue{width:.75rem;height:9.375rem;margin-left:15rem;position:absolute;background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.table-up-color-picker__hue-handle{box-sizing:border-box;position:absolute;border:.0625rem solid #fff;cursor:pointer;background-color:#fff;box-shadow:0 0 .125rem #0009;left:0;width:1rem;height:.625rem;transform:translate(-.125rem,-.3125rem)}.table-up-color-picker__alpha{width:14.375rem;height:.75rem;position:absolute;margin-top:10rem;background:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(135deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(135deg,transparent 75%,#ccc 75%);background-size:.75rem .75rem;background-position:0 0,.375rem 0,.375rem -.375rem,0 .375rem}.table-up-color-picker__alpha-bg{position:relative;height:100%;background:linear-gradient(to right,#fff0 0,#fff)}.table-up-color-picker__alpha-handle{box-sizing:border-box;position:absolute;border:.0625rem solid #fff;cursor:pointer;background-color:#fff;box-shadow:0 0 .125rem #0009;top:0;width:.625rem;height:1rem;transform:translate(-.3125rem,-.125rem)}.table-up-color-picker__action{box-sizing:border-box;display:flex;align-items:center;gap:.375rem;width:100%;padding-top:.5rem;border-top:.0625rem solid #e9ecef}.table-up-color-picker__action-item{flex:1;display:inline-flex;align-items:center;font-size:.75rem}.table-up-color-picker__input{box-sizing:border-box;width:100%;height:1.375rem;margin-left:.125rem;padding:.125rem 0 .125rem .25rem;background-color:#fff;border:.0625rem solid #ced4da;border-radius:.25rem;outline:0;color:#405057}.table-up-tooltip .table-up-color-picker{--color-picker-bg-color:transparent;box-shadow:none;width:15.75rem;padding:.5rem 0}.ql-container .table-up-selection{--select-color:#0589f340;display:none;position:absolute;overflow:hidden;pointer-events:none;z-index:-1}.ql-container .table-up-selection__line{position:absolute;background-color:var(--select-color);pointer-events:none}.table-up-resize-line__col,.table-up-resize-line__row{position:absolute;z-index:0}.table-up-resize-line__col.is-hidden,.table-up-resize-line__row.is-hidden{display:none}.table-up-resize-line__col:after,.table-up-resize-line__col:before,.table-up-resize-line__row:after,.table-up-resize-line__row:before{content:"";display:block;position:absolute;top:0;z-index:1}.table-up-resize-line__row{height:.0625rem;cursor:ns-resize}.table-up-resize-line__row:after,.table-up-resize-line__row:before{width:100%;height:.5rem}.table-up-resize-line__row:before{transform:translateY(-.5rem)}.table-up-resize-line__col{width:.0625rem;cursor:ew-resize}.table-up-resize-line__col:after,.table-up-resize-line__col:before{height:100%;width:.5rem}.table-up-resize-line__col:before{transform:translate(-.5rem)}.table-up-resize-box{position:absolute;z-index:0}.table-up-resize-box.is-hidden{display:none}.table-up-resize-box.is-caption-bottom .table-up-resize-box__corner{border-top-width:0;border-bottom-width:.0625rem;border-top-left-radius:0;border-bottom-left-radius:50%}.table-up-resize-box.is-align-right .table-up-resize-box__col-separator{left:-.125rem}.table-up-resize-box.is-align-right .table-up-resize-box__corner{border-left-width:0;border-right-width:.0625rem;border-top-left-radius:0;border-top-right-radius:50%}.table-up-resize-box.is-align-right.is-caption-bottom .table-up-resize-box__corner{border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:50%}.table-up-resize-box__col,.table-up-resize-box__row{position:absolute;top:0;left:0;overflow:hidden}.table-up-resize-box__col-wrapper,.table-up-resize-box__row-wrapper{display:flex}.table-up-resize-box__col-header,.table-up-resize-box__row-header{position:relative;flex-shrink:0;background-color:#f3f4f5;border:.0625rem solid #ccc}.table-up-resize-box__col-wrapper{height:100%}.table-up-resize-box__col-header{height:100%;cursor:pointer;border-right-color:transparent}.table-up-resize-box__col-header:last-child{border-right-color:#ccc}.table-up-resize-box__col-separator{position:absolute;top:0;bottom:0;right:-.125rem;width:.125rem;cursor:ew-resize;z-index:0}.table-up-resize-box__col-separator:after{right:-.375rem}.table-up-resize-box__col-separator:before{left:-.375rem}.table-up-resize-box__col-separator:after,.table-up-resize-box__col-separator:before{content:"";position:absolute;top:0;display:block;width:.5rem;height:100%;z-index:1}.table-up-resize-box__row-wrapper{flex-direction:column;width:100%}.table-up-resize-box__row-header{width:100%;cursor:pointer;border-bottom-color:transparent}.table-up-resize-box__row-header:last-child{border-bottom-color:#ccc}.table-up-resize-box__row-separator{position:absolute;left:0;right:0;bottom:-.125rem;height:.125rem;cursor:ns-resize;z-index:0}.table-up-resize-box__row-separator:after{bottom:-.375rem}.table-up-resize-box__row-separator:before{top:-.375rem}.table-up-resize-box__row-separator:after,.table-up-resize-box__row-separator:before{content:"";position:absolute;left:0;display:block;width:100%;height:.5rem;z-index:1}.table-up-resize-box__corner{position:absolute;top:0;left:0;background-color:#f3f4f5;border:.0625rem solid #ccc;border-right-width:0;border-bottom-width:0;border-top-left-radius:50%;cursor:pointer}.table-up-drag-line{position:fixed;z-index:0;background-color:#409eff}.table-up-drag-line.is-col{width:.125rem;cursor:ew-resize}.table-up-drag-line.is-row{height:.125rem;cursor:ns-resize}.table-up-scale{position:absolute;top:0;left:0;overflow:hidden;pointer-events:none}.table-up-scale__block{position:absolute;top:0;left:0;transform:translate(-100%,-100%);width:.75rem;height:.75rem;background-color:#f1f5f9;border:.0625rem solid grey;cursor:nwse-resize;pointer-events:all}.table-up-scale.is-align-right .table-up-scale__block{cursor:nesw-resize}.table-up-scale.is-hidden{display:none}.table-up-scrollbar{position:absolute;z-index:1;transition:opacity .15s linear}.table-up-scrollbar__container{position:relative}.table-up-scrollbar.is-transparent{opacity:0}.table-up-scrollbar.is-vertical{top:.125rem;bottom:.125rem;left:-.5rem;width:.375rem}.table-up-scrollbar.is-vertical .table-up-scrollbar__thumb{width:100%}.table-up-scrollbar.is-horizontal{bottom:.125rem;left:.125rem;right:.125rem;height:.375rem}.table-up-scrollbar.is-horizontal .table-up-scrollbar__thumb{height:100%}.table-up-scrollbar__thumb{border-radius:.3125rem;background-color:#d2d2d2;cursor:pointer}.table-up-scrollbar__thumb:hover{background-color:#a1a1aa}.table-up-scrollbar--origin.ql-container .ql-table-wrapper{scrollbar-width:inherit}.table-up-align,.table-up-menu{position:absolute;z-index:1;display:none;align-items:center;padding:.25rem;border-radius:.375rem;box-shadow:0 0 .5rem #00000080;background-color:#fff;font-size:.875rem}.table-up-align__item,.table-up-menu__item{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:.25rem;border-radius:.25rem;cursor:pointer}.table-up-align__item:hover,.table-up-menu__item:hover{background-color:#eee}.table-up-align__item.is-break,.table-up-menu__item.is-break{align-self:stretch;width:.0625rem;padding:0;margin:.125rem .25rem;background-color:#a3a3a3;cursor:default}.table-up-align .icon,.table-up-menu .icon{display:flex;flex-shrink:0;font-size:1.25rem}.table-up-align span,.table-up-menu span{text-wrap:nowrap}.table-up-menu.is-contextmenu{flex-direction:column;padding:.25rem .5rem;max-height:21.875rem;overflow-y:auto;overflow-x:hidden}.table-up-menu.is-contextmenu .table-up-menu__item{display:flex;justify-content:flex-start;width:100%;gap:.25rem;cursor:pointer}.table-up-menu.is-contextmenu .is-break{width:100%;height:.0625rem;flex-shrink:0;margin:.25rem 0;background-color:#a3a3a3}.table-up-align--active{display:flex}.table-up-align .icon{width:1.25rem;height:1.25rem}.table-up-color-map{display:flex;flex-direction:column}.table-up-color-map--used{display:flex;align-items:center;justify-content:center;flex-direction:row-reverse;margin-top:.25rem;padding-top:.25rem;border-top:.0625rem solid #ccc}.table-up-color-map__content{display:flex;flex-direction:column}.table-up-color-map__content-row{display:flex;align-items:center;justify-content:center;gap:.25rem}.table-up-color-map__item{width:.875rem;height:.875rem;margin:.125rem;border:.0625rem solid #a3a3a3;cursor:pointer}.table-up-color-map__btn{display:flex;align-items:center;justify-content:center;flex:1;height:1.25rem;padding:0 .375rem;color:#303133;background-color:#fff;cursor:pointer}.table-up-color-map__btn:hover{background-color:#edeeef}.table-up-input__item{--input-height:2rem;--input-inner-height:calc(var(--input-height) - .125rem);--input-color-text:#606266;--input-color-boxshaow:#dcdfe6;--input-color-focus:#409eff;--input-color-error:#f56c6c;--input-boxshaow:0 0 0 .0625rem var(--input-color-boxshaow) inset;--input-boxshaow-focus:0 0 0 .0625rem var(--input-color-focus) inset;--input-boxshaow-error:0 0 0 .0625rem var(--input-color-error) inset;display:flex;align-items:center}.table-up-input__item+.table-up-input__item{margin-top:1.125rem}.table-up-input__label{width:5rem;flex-shrink:0}.table-up-input__input{box-sizing:border-box;position:relative;display:flex;flex-wrap:wrap;width:100%;height:var(--input-height);line-height:var(--input-height);padding:.0625rem .5rem;border-radius:.25rem;box-shadow:var(--input-boxshaow);transition:box-shadow .2s linear}.table-up-input__input.focus{box-shadow:var(--input-boxshaow-focus)}.table-up-input__input input{width:100%;height:var(--input-inner-height);line-height:var(--input-inner-height);flex-grow:1;font-size:.875rem;color:var(--input-color-text);outline:0;border:0;padding:0}.table-up-input__input.error{box-shadow:var(--input-boxshaow-error)}.table-up-input__error-tip{position:absolute;top:100%;left:0;font-size:.75rem;color:var(--input-color-error);line-height:1rem}.ql-snow .table-up-select-box{--select-box-color-bg-hover:#f5f5f5;--select-box-color-bg-active:#e0f2fe;--select-box-custom-color-text:#0d0d0d;--select-box-custom-color-bg:transparent;--select-box-custom-color-bg-hover:#ebebeb}.table-up-select-box{--select-box-color-border:#e5e7eb;--select-box-border:.0625rem solid var(--select-box-color-border);--select-box-color-active:#0ea5e9;--select-box-color-bg-hover:#f5f5f5;--select-box-color-bg-active:transparent;--select-box-custom-color-text:#f5f5f5;--select-box-custom-color-bg:transparent;--select-box-custom-color-bg-hover:#2c2c2c}.table-up-select-box__block{display:flex;width:10rem;flex-wrap:wrap;align-items:center;justify-content:center}.table-up-select-box__item{margin:.125rem;height:1rem;width:1rem;border:var(--select-box-border)}.table-up-select-box__item.active{border-color:var(--select-box-color-active);background-color:var(--select-box-color-bg-active)}.table-up-select-box__custom{padding:.5rem;color:var(--select-box-custom-color-text);background-color:var(--select-box-custom-color-bg);font-size:1rem;text-align:center;cursor:pointer}.table-up-select-box__custom:hover{background-color:var(--select-box-custom-color-bg-hover)}.table-up-creator{padding:1.5rem}.table-up-creator__input{display:flex;flex-direction:column;width:100%}.table-up-creator__control{margin-top:1rem;text-align:right}.table-up-creator__checkbox{--check-color:#212121;--checked-color:#506eec;display:flex;align-items:center;margin-top:.25rem;cursor:pointer;font-size:.75rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.table-up-creator__checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.125rem;height:1.125rem;border:.0625rem solid var(--check-color);border-radius:.3125rem;background-color:transparent;display:inline-block;position:relative;margin-right:.625rem;cursor:pointer}.table-up-creator__checkbox input:before{content:"";background-color:var(--checked-color);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);width:.625rem;height:.625rem;border-radius:.1875rem;transition:all .2s ease-in-out}.table-up-creator__checkbox input:checked:before{transform:translate(-50%,-50%) scale(1)}._AEditorWrapper_iia8p_1{display:flex;flex:1 1 auto;overflow:auto}._AEditorContainer_iia8p_7{position:relative;box-sizing:border-box;display:flex;width:100%;overflow:hidden}._AEditorContainer_iia8p_7 ._AEditor_iia8p_1{display:flex;flex-grow:1;flex-direction:column;overflow:auto}._AEditorContainer_iia8p_7 ._AEditor_iia8p_1.Title .ql-editor p{line-height:1.2rem}._Primary_iia8p_24 .ql-toolbar.ql-snow{border:var(--AEditor_Primary_border);border-bottom:none}._Primary_iia8p_24 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:hover{border:var(--AEditor_Primary_hover_border)}._Primary_iia8p_24 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:focus-within{border:var(--AEditor_Primary_focus_border)}._Primary_iia8p_24 .ql-container.ql-snow{border:var(--AEditor_Primary_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Primary_iia8p_24 .ql-container.ql-snow:not(.UnAvailable):hover{border:var(--AEditor_Primary_hover_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Primary_iia8p_24 .ql-container.ql-snow:not(.UnAvailable):focus-within{border:var(--AEditor_Primary_focus_border)}._Primary_iia8p_24 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:var(--AEditor_Primary_border)}._Primary_iia8p_24 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:hover){border:var(--AEditor_Primary_hover_border);border-bottom:none}._Primary_iia8p_24 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:focus-within){border:var(--AEditor_Primary_focus_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow{display:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow{border:var(--AEditor_ReadOnly_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:hover{border:var(--AEditor_ReadOnly_hover_border)}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:focus-within{border:var(--AEditor_ReadOnly_focus_border)}._ReadOnly_iia8p_54 .ql-container.ql-snow{border:var(--AEditor_ReadOnly_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._ReadOnly_iia8p_54 .ql-container.ql-snow:not(.UnAvailable):hover{border:var(--AEditor_ReadOnly_hover_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._ReadOnly_iia8p_54 .ql-container.ql-snow:not(.UnAvailable):focus-within{border:var(--AEditor_ReadOnly_focus_border)}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:var(--AEditor_ReadOnly_border)}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:hover){border:var(--AEditor_ReadOnly_hover_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:focus-within){border:var(--AEditor_ReadOnly_focus_border);border-bottom:none}._ReadOnly_iia8p_54 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-radius:var(--AEditor_border-radius)!important}._Error_iia8p_91{color:var(--AEditor_Error_color);transition:color calc(var(--Transition-Enabled) * var(--Transition))}._Error_iia8p_91 .ql-toolbar.ql-snow{border:var(--AEditor_Error_border);border-bottom:none}._Error_iia8p_91 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:hover{border:var(--AEditor_Error_hover_border)}._Error_iia8p_91 .ql-toolbar.ql-snow:not(.UnAvailable)+.ql-container.ql-snow:focus-within{border:var(--AEditor_Error_focus_border)}._Error_iia8p_91 .ql-container.ql-snow{border:var(--AEditor_Error_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Error_iia8p_91 .ql-container.ql-snow:not(.UnAvailable):hover{border:var(--AEditor_Error_hover_border)}._ql-toolbar_iia8p_24._ql-snow_iia8p_24+._Error_iia8p_91 .ql-container.ql-snow:not(.UnAvailable):focus-within{border:var(--AEditor_Error_focus_border)}._Error_iia8p_91 .ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:var(--AEditor_Error_border)}._Error_iia8p_91 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:hover){border:var(--AEditor_Error_hover_border);border-bottom:none}._Error_iia8p_91 .ql-toolbar.ql-snow:has(+.ql-container.ql-snow:focus-within){border:var(--AEditor_Error_focus_border);border-bottom:none}._Raw_iia8p_125 *{transition:none}._Raw_iia8p_125 .ql-toolbar.ql-snow{display:none}._Raw_iia8p_125 .ql-container.ql-snow{border:none}._Raw_iia8p_125 .ql-toolbar.ql-snow+.ql-container.ql-snow{border:none;border-radius:0}._Raw_iia8p_125 .ql-snow .ql-editor{padding:0}._LimitContainer_iia8p_142{flex-direction:column;justify-content:center;overflow:hidden}._LimitContainer_iia8p_142 ._Limit_iia8p_142,._LimitContainer_iia8p_142 ._Error_iia8p_91{transition:color calc(var(--Transition-Enabled) * var(--Transition))}._LimitContainer_iia8p_142 ._Limit_iia8p_142{color:var(--AEditor_Addon_Secondary_color)}._LimitContainer_iia8p_142 ._Error_iia8p_91{color:var(--AEditor_Error_color)}._Limit_iia8p_142{color:var(--AEditor_Addon_Secondary_color)}._Limit_iia8p_142 ._Error_iia8p_91{color:var(--AEditor_Error_color)}._Indicator_iia8p_165{position:absolute;right:8px;z-index:1;align-items:center;transform:translateY(-1px)}._Resizer_iia8p_173{position:absolute;right:1px;left:1px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:auto;margin:0;cursor:row-resize;border-radius:0 0 var(--AEditor_border-radius) var(--AEditor_border-radius);opacity:.75;transition:background-color calc(var(--Transition-Enabled) * var(--Transition));transform:translateY(-1px);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}._Resizer_iia8p_173:before{width:40px;height:4px;content:"";background-color:var(--AEditor_Addon_Secondary_color);border-radius:2px;transition:width calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition))}._Resizer_iia8p_173:hover,._Resizer_iia8p_173:active{background-color:var(--AEditor_Addon_hover_background-color)}._Resizer_iia8p_173:hover:before,._Resizer_iia8p_173:active:before{width:50px}._ql-image-resizer-overlay_iia8p_206{position:absolute;box-sizing:border-box;cursor:pointer;border:1px dashed var(--AEditor_Addon_Primary_color);transition:border calc(var(--Transition-Enabled) * var(--Transition))}._ql-image-resizer-handle_iia8p_213{position:absolute;box-sizing:border-box;width:12px;height:12px;background-color:var(--static-white);border:1px solid var(--AEditor_Addon_Primary_color);opacity:.8;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}._ql-image-resizer-display_iia8p_223{position:absolute;right:0;bottom:-25px;z-index:1;padding:2px 6px;color:var(--static-white);pointer-events:none;background-color:#000000bf;border-radius:3px}._ql-image-resizer-toolbar_iia8p_234{position:absolute;top:-12px;right:0;left:0;box-sizing:border-box;text-align:center}._ql-image-resizer-toolbar-button_iia8p_242{display:inline-block;width:24px;height:24px;padding:2px;vertical-align:middle;cursor:pointer;background:var(--elevation-0);border:1px solid var(--AEditor_Addon_Primary_color);border-right:none;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}._ql-image-resizer-toolbar-button_iia8p_242:first-child{border-radius:var(--AEditor_border-radius) 0 0 var(--AEditor_border-radius)}._ql-image-resizer-toolbar-button_iia8p_242:last-child{border-right:1px solid var(--AEditor_Addon_Primary_color);border-radius:0 var(--AEditor_border-radius) var(--AEditor_border-radius) 0}._ql-image-resizer-toolbar-button_iia8p_242 svg{display:inline-block;width:100%;height:100%;fill:var(--AEditor_Addon_Primary_color);stroke:var(--AEditor_Addon_Primary_color);stroke-width:1}.ql-container{position:relative;height:var(--content-height);max-height:var(--content-max-height);margin:0;overflow:hidden;border-radius:0 0 var(--AEditor_border-radius) var(--AEditor_border-radius);transition:color calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition))}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container .table-up-toolbox .table-up-menu{background-color:var(--elevation-0);border:1px solid var(--AEditor_Addon_Secondary_color);transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}.ql-container .table-up-toolbox .table-up-menu__item:hover{background-color:var(--AEditor_Addon_hover_background-color)}.ql-snow{color:var(--AEditor_Addon_Primary_color);box-sizing:border-box;font-family:pretendard,sans-serif}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-stroke,.ql-snow .ql-stroke-miter{stroke:var(--AEditor_Addon_Primary_color)}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-stroke{fill:none;stroke:var(--AEditor_Addon_Primary_color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-thick,.ql-snow .ql-stroke.ql-thick{stroke-width:2}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-formats{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ql-snow .ql-formats:after{clear:both;display:table;content:none}.ql-snow .ql-tooltip{position:absolute;left:20px!important;z-index:10;padding:4px 12px;color:var(--AEditor_Addon_Primary_color);white-space:nowrap;background-color:var(--AEditor_Addon_Primary_background-color);border:1px solid var(--AEditor_Addon_Primary_color);border-radius:var(--AEditor_border-radius);box-shadow:none;transform:translateY(10px)}.ql-snow .ql-tooltip a{line-height:26px;text-decoration:none;cursor:pointer}.ql-snow .ql-tooltip a.ql-action:after{padding-right:8px;margin-left:8px;content:var(--edit-text);border-right:1px solid var(--AEditor_Addon_Primary_color)}.ql-snow .ql-tooltip a.ql-remove:before{margin-left:8px;content:var(--remove-text)}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-tooltip:before{margin-right:8px;line-height:26px;content:var(--visit-url-text)}.ql-snow .ql-tooltip input[type=text]{display:none;width:300px;height:26px;padding:3px 5px;outline:none;border:1px solid var(--AEditor_Addon_Primary_color);border-radius:var(--AEditor_border-radius)}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{padding-right:0;content:var(--save-text);border-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:var(--enter-link-text)}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:var(--enter-video-text)}.ql-snow .ql-picker{position:relative;display:inline-block;height:var(--icon-size);vertical-align:middle;color:var(--AEditor_Addon_Primary_color);font-weight:500}.ql-snow .ql-picker-label{position:relative;display:inline-block;width:100%;height:100%;padding:0 2px 0 8px;cursor:pointer}.ql-snow .ql-picker-options{position:absolute;display:none;min-width:100%;padding:4px 8px;white-space:nowrap;background-color:var(--AEditor_Addon_Primary_background-color);border:var(--AEditor_Addon_Primary_border);border-radius:var(--AEditor_Option_border-radius);box-shadow:none;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow .ql-picker-options .ql-picker-item{display:block;cursor:pointer}.ql-snow .ql-picker-options .ql-picker-item:hover,.ql-snow .ql-picker-options .ql-picker-item.ql-selected{color:var(--acent-brand)}.ql-snow .ql-picker-options .ql-picker-item:hover .ql-fill,.ql-snow .ql-picker-options .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:var(--acent-brand)}.ql-snow .ql-picker-options .ql-picker-item:hover .ql-stroke,.ql-snow .ql-picker-options .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-picker-options .ql-picker-item.ql-selected .ql-stroke-miter{stroke:var(--acent-brand)}.ql-snow .ql-picker.ql-expanded .ql-picker-label{z-index:2;color:var(--AEditor_Addon_Primary_color);border-color:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-picker.ql-expanded .ql-picker-options{z-index:1;display:grid}.ql-snow .ql-picker.ql-color-picker,.ql-snow .ql-picker.ql-icon-picker{width:var(--icon-size)}.ql-snow .ql-picker.ql-color-picker .ql-picker-label,.ql-snow .ql-picker.ql-icon-picker .ql-picker-label{padding:0}.ql-snow .ql-picker.ql-color-picker .ql-picker-options,.ql-snow .ql-picker.ql-icon-picker .ql-picker-options{grid-template-rows:repeat(var(--title-color-picker-row),auto);grid-auto-flow:column;gap:2px;width:auto;padding:4px}.ql-snow .ql-picker.ql-color-picker .ql-picker-item,.ql-snow .ql-picker.ql-icon-picker .ql-picker-item{width:var(--icon-size);height:var(--icon-size)}.ql-snow .ql-picker.ql-color-picker .ql-picker-item.ql-selected,.ql-snow .ql-picker.ql-color-picker .ql-picker-item:hover,.ql-snow .ql-picker.ql-icon-picker .ql-picker-item.ql-selected,.ql-snow .ql-picker.ql-icon-picker .ql-picker-item:hover{outline:2px solid var(--AEditor_Addon_Primary_color);outline-offset:-1px}.ql-snow .ql-picker:not(.ql-color-picker,.ql-icon-picker,.ql-table-up) svg{position:absolute;visibility:hidden}.ql-snow .ql-picker:not(.ql-color-picker,.ql-icon-picker,.ql-table-up) svg polygon{display:none}.ql-snow .ql-picker.ql-header{width:100px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:var(--default-text)}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:3em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:2.5em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:.75em}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:100px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:var(--default-text)}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-size:sans-serif}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-size:monospace}.ql-snow .ql-picker.ql-size{width:100px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:var(--default-text)}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:12px}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=normal]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=normal]:before{content:"normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=normal]:before{font-size:16px}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:24px}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow.ql-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:var(--toolbar-padding);background-color:var(--AEditor_Addon_Secondary_background-color);border:1px solid var(--AEditor_Addon_Primary_color);border-radius:var(--AEditor_border-radius) var(--AEditor_border-radius) 0 0;transition:color calc(var(--Transition-Enabled) * var(--Transition)),background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow.ql-toolbar:after{content:none}.ql-snow.ql-toolbar.ql-toolbar-has-right-action{position:relative}.ql-snow.ql-toolbar .ql-right-action{order:9999;margin-left:auto}.ql-snow.ql-toolbar button{float:left;display:inline-block;width:var(--icon-size);height:var(--icon-size);padding:0;cursor:pointer;background:none;border:none}.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=text]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button.ql-selected,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label:focus,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item:focus,.ql-snow.ql-toolbar .ql-picker-item.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected{color:var(--acent-brand)}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:var(--acent-brand)}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:focus .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:focus .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:var(--acent-brand)}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active){color:var(--AEditor_Addon_Primary_color)}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:var(--AEditor_Addon_Primary_color)}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:var(--AEditor_Addon_Primary_color)}}.ql-snow.ql-toolbar .ql-header .ql-picker-label{display:flex;align-items:center;font-size:var(--title-header-font-size);background-color:var(--AEditor_Addon_Primary_background-color);border:var(--AEditor_Addon_Primary_border);border-radius:var(--AEditor_Select_border-radius);transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow.ql-toolbar .ql-header:after{position:absolute;top:50%;right:2px;z-index:3;width:16px;height:16px;content:"";background-color:var(--AEditor_Addon_Primary_color);-webkit-mask-image:var(--arrow-background);mask-image:var(--arrow-background);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;transform:translateY(-50%)}.ql-snow.ql-toolbar .ql-color-picker.ql-color .ql-picker-item{background-color:var(--label-normal)}.ql-snow.ql-toolbar .ql-picker:not(.ql-color-picker,.ql-icon-picker).ql-table-up{width:fit-content}.ql-snow.ql-toolbar .ql-picker:not(.ql-color-picker,.ql-icon-picker).ql-table-up .ql-picker-label{padding:0}.ql-snow.ql-toolbar .ql-picker:not(.ql-color-picker,.ql-icon-picker).ql-table-up .ql-picker-options .table-up-select-box__item{border:var(--AEditor_Addon_Primary_border)}.ql-snow.ql-container{border:1px solid var(--AEditor_Addon_Primary_color)}.ql-snow.ql-container .ql-readonly-fullscreen{position:absolute;top:12px;right:12px;z-index:100;display:flex;align-items:center;justify-content:center;padding:.3rem;cursor:pointer;background:var(--AEditor_Addon_Primary_background-color);border:var(--AEditor_Addon_Primary_border);border-radius:var(--AEditor_border-radius);box-shadow:0 4px 10px #00000014;opacity:.8;transition:background-color calc(var(--Transition-Enabled) * var(--Transition)),border-color calc(var(--Transition-Enabled) * var(--Transition))}.ql-snow.ql-container .ql-readonly-fullscreen:hover{background:var(--AEditor_Addon_hover_background-color);opacity:1}.ql-snow.ql-container .ql-readonly-fullscreen.ql-active{background-color:var(--AEditor_Addon_hover_background-color);opacity:1}.ql-snow.ql-container .ql-readonly-fullscreen.ql-active svg{stroke:var(--AEditor_Addon_hover_color);stroke-width:2}.ql-snow.ql-container .ql-readonly-fullscreen svg{opacity:.8;transform:scale(.8)}.ql-snow.ql-container.ql-has-v-scrollbar .ql-readonly-fullscreen{right:calc(12px + (var(--Scrollbar-width, 12px)))}.ql-snow.ql-toolbar+.ql-snow.ql-container{border-top:0}.ql-snow .ql-editor{height:100%;padding:var(--editor-padding);overflow:hidden auto;white-space:pre-wrap;outline:none;counter-reset:list-0,list-1,list-2,list-3,list-4,list-5,list-6,list-7,list-8,list-9}.ql-snow .ql-editor .ql-ui{position:absolute}.ql-snow .ql-editor.ql-blank:before{position:absolute;right:15px;left:15px;font-style:italic;color:#0009;pointer-events:none;content:attr(data-placeholder)}.ql-snow .ql-editor>*{cursor:text}.ql-snow .ql-editor p,.ql-snow .ql-editor ol,.ql-snow .ql-editor pre,.ql-snow .ql-editor blockquote,.ql-snow .ql-editor h1,.ql-snow .ql-editor h2,.ql-snow .ql-editor h3,.ql-snow .ql-editor h4,.ql-snow .ql-editor h5,.ql-snow .ql-editor h6{padding:0;margin:0}.ql-snow .ql-editor h1{font-size:3em}.ql-snow .ql-editor h2{font-size:2.5em}.ql-snow .ql-editor h3{font-size:2em}.ql-snow .ql-editor h4{font-size:.75em}.ql-snow .ql-editor h5{font-size:.67em}.ql-snow .ql-editor blockquote{padding-left:16px;margin:4px 0;border-left:4px solid var(--AEditor_Addon_hover_color, skyblue)}.ql-snow .ql-editor table{width:100%;table-layout:fixed;border-collapse:collapse}.ql-snow .ql-editor table td{padding:2px 4px;outline:none;border:1px solid var(--AEditor_Addon_Primary_color, #000)}.ql-snow .ql-editor ol{padding-left:1.5em}.ql-snow .ql-editor li{position:relative;padding-left:1.5em;list-style-type:none}.ql-snow .ql-editor li>.ql-ui:before{display:inline-block;width:1.2em;margin-right:.3em;margin-left:-1.5em;text-align:right;white-space:nowrap}.ql-snow .ql-editor li[data-list=checked]>.ql-ui,.ql-snow .ql-editor li[data-list=unchecked]>.ql-ui{color:var(--AEditor_Addon_Primary_color)}.ql-snow .ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-snow .ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-snow .ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}.ql-snow .ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-snow .ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-snow .ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-snow .ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-snow .ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-snow .ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-snow .ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-snow .ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-snow .ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-snow .ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman) ". "}.ql-snow .ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-snow .ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) ". "}.ql-snow .ql-editor .ql-indent-1{padding-left:3em}.ql-snow .ql-editor li.ql-indent-1{padding-left:4.5em}.ql-snow .ql-editor .ql-indent-2{padding-left:6em}.ql-snow .ql-editor li.ql-indent-2{padding-left:7.5em}.ql-snow .ql-editor .ql-indent-3{padding-left:9em}.ql-snow .ql-editor li.ql-indent-3{padding-left:10.5em}.ql-snow .ql-editor .ql-indent-4{padding-left:12em}.ql-snow .ql-editor li.ql-indent-4{padding-left:13.5em}.ql-snow .ql-editor .ql-indent-5{padding-left:15em}.ql-snow .ql-editor li.ql-indent-5{padding-left:16.5em}.ql-snow .ql-editor .ql-indent-6{padding-left:18em}.ql-snow .ql-editor li.ql-indent-6{padding-left:19.5em}.ql-snow .ql-editor .ql-indent-7{padding-left:21em}.ql-snow .ql-editor li.ql-indent-7{padding-left:22.5em}.ql-snow .ql-editor .ql-indent-8{padding-left:24em}.ql-snow .ql-editor li.ql-indent-8{padding-left:25.5em}.ql-snow .ql-editor .ql-indent-9{padding-left:27em}.ql-snow .ql-editor li.ql-indent-9{padding-left:28.5em}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-editor .ql-video{display:block;max-width:100%}.ql-snow .ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-snow .ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-snow .ql-editor .ql-bg-black{background-color:var(--static-black, #000)}.ql-snow .ql-editor .ql-color-black{color:var(--static-black, #000)}.ql-snow .ql-editor .ql-bg-red{background-color:var(--red-45, #e60000)}.ql-snow .ql-editor .ql-color-red{color:var(--red-45, #e60000)}.ql-snow .ql-editor .ql-bg-orange{background-color:var(--orange-45, #f90)}.ql-snow .ql-editor .ql-color-orange{color:var(--orange-45, #f90)}.ql-snow .ql-editor .ql-bg-yellow{background-color:var(--yellow-45, #ff0)}.ql-snow .ql-editor .ql-color-yellow{color:var(--yellow-45, #ff0)}.ql-snow .ql-editor .ql-bg-green{background-color:var(--green-45, #008a00)}.ql-snow .ql-editor .ql-color-green{color:var(--green-45, #008a00)}.ql-snow .ql-editor .ql-bg-blue{background-color:var(--blue-45, #007bff)}.ql-snow .ql-editor .ql-color-blue{color:var(--blue-45, #007bff)}.ql-snow .ql-editor .ql-bg-purple{background-color:var(--purple-45, #93f)}.ql-snow .ql-editor .ql-color-purple{color:var(--purple-45, #93f)}.ql-snow .ql-editor .ql-bg-white{background-color:var(--static-white, #fff)}.ql-snow .ql-editor .ql-color-white{color:var(--static-white, #fff)}.ql-snow .ql-editor .ql-size-small{font-size:.75em}.ql-snow .ql-editor .ql-size-normal{font-size:1em}.ql-snow .ql-editor .ql-size-large{font-size:1.5em}.ql-snow .ql-editor .ql-size-huge{font-size:2.5em}.ql-snow .ql-editor .ql-align-center{text-align:center}.ql-snow .ql-editor .ql-align-justify{text-align:justify}.ql-snow .ql-editor .ql-align-right{text-align:right}.ql-editor-wrap{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background-color:var(--AEditor_Addon_Primary_background-color)}.ql-editor-wrap .quill,.ql-editor-wrap .ql-container{max-height:none!important}.ql-toolbar .ql-right-action{order:9999;margin-left:auto}.ql-editor-wrap>.quill{width:100%;height:100%}._AWrap_9tqty_1{position:relative;display:flex;flex-grow:1;width:100%;height:100%;overflow:hidden}._AContainer_9tqty_10{position:relative;display:flex;width:100%;height:100%;overflow:overlay}._ATree_9tqty_18{position:relative;display:flex;flex-grow:1;flex-direction:column;width:100%;min-height:fit-content;background-color:var(--ATree_background-color);border-radius:2px;transition:background-color var(--Transition)}._ATreeBody_9tqty_30{display:flex;flex-grow:1;flex-direction:column}._TreeTopAddon_9tqty_36{position:sticky;top:0;z-index:10;display:flex;align-items:center;background-color:var(--ATree_background-color);transition:background-color var(--Transition)}._CoverBorder_9tqty_46{position:absolute;top:0;box-sizing:border-box;width:100%;border-top:1px solid transparent;transition:border-top var(--Transition)}._InsertBorder_9tqty_55{position:absolute;top:1;z-index:3;width:100%;pointer-events:none}._InsertBorder_9tqty_55:before,._InsertBorder_9tqty_55:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-position:0 calc(var(--InsertBorder_height, 40px) - 1px);background-size:100% var(--InsertBorder_height, 40px);opacity:0;transition:opacity var(--Transition)}._InsertBorder_9tqty_55:before{background-image:linear-gradient(to bottom,var(--neutral-30) 1px,transparent 1px)}._InsertBorder_9tqty_55:after{background-image:linear-gradient(to bottom,var(--neutral-79) 1px,transparent 1px)}html[data-theme=dark] ._InsertBorder_9tqty_55:before,html[data-theme=light] ._InsertBorder_9tqty_55:after{opacity:1}._ATreeHeader_9tqty_86{box-sizing:border-box;padding-top:8px;margin-bottom:8px}._ATreeBodyHeader_9tqty_92{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;min-height:50px;border-bottom:var(--ATreeBodyHeader_border-bottom);transition:border-bottom var(--Transition)}._ATreeBodyHeaderResources_9tqty_102{display:flex;flex-direction:column;justify-content:flex-start}._ATreeItem_9tqty_108{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;width:100%;height:var(--ATreeItem_height, 40px);min-height:var(--ATreeItem_height, 40px);white-space:nowrap;background-color:var(--ATree_background-color);transition:all var(--Transition)}._ATreeItem_9tqty_108:nth-last-child(1){border-bottom:none}._ATreeItem_9tqty_108._IsSelectUsed_9tqty_124{cursor:var(--ATreeItem_cursor, pointer)}._ATreeItem_9tqty_108._IsSelectUsed_9tqty_124._IsSelected_9tqty_127{color:var(--ATreeItem_select_color);background-color:var(--ATreeItem_select_background-color);transition:all var(--Transition)}._ATreeItem_9tqty_108._IsSelectUsed_9tqty_124._IsSearchSelected_9tqty_132{background-color:var(--ATreeItem_search_background-color);border-top:var(--ATreeItem_search_border-top);border-bottom:var(--ATreeItem_search_border-bottom);transition:all var(--Transition)}._ATreeItem_9tqty_108._IsSelectUsed_9tqty_124:active{background-color:var(--ATreeItem_active_background-color)}._ATreeItem_9tqty_108._IsSelectUsed_9tqty_124:hover,._ATreeItem_9tqty_108._IsSelectUsed_9tqty_124._IsHovered_9tqty_144{background-color:var(--ATreeItem_hover_background-color)}._CheckBox_9tqty_148{position:sticky;left:0;z-index:2;display:flex;flex-direction:row;align-items:center;min-height:100%;padding:0 12px;background-color:inherit}._Indents_9tqty_160{display:flex;flex-direction:row;min-width:fit-content;height:100%}._ExpandIcon_9tqty_167{z-index:1;display:flex;align-items:center;justify-content:center;min-width:24px;max-width:24px;min-height:24px;margin-right:8px;cursor:pointer}._Content_9tqty_179{display:flex;flex-grow:1;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden}._RightSticky_9tqty_188{position:sticky;right:0;display:flex;align-items:center;height:100%;padding:0 8px}._SearchInputWrap_9tqty_197{display:flex;flex-grow:1;overflow:hidden}._SearchInput_9tqty_197{display:flex;min-height:32px;overflow:hidden}._RightAddon_9tqty_209{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;height:100%;padding-right:0;cursor:pointer;transition:color var(--Transition)}._RightAddonIcon_9tqty_220{min-width:24px;max-width:24px;min-height:24px;max-height:24px}._Loader_9tqty_227{flex-grow:1;justify-content:center}._IsChildOfDragSource_9tqty_232{opacity:.5;transition:all .15s ease}')),document.head.appendChild(r)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
2
2
|
"use strict";var mT=Object.defineProperty;var vT=(r,e,t)=>e in r?mT(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var fe=(r,e,t)=>vT(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react"),Ls=require("react-dom");var Di=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yf(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function yT(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}),t}var ip={exports:{}},Vf={};/**
|
3
3
|
* @license React
|
4
4
|
* react-jsx-runtime.production.min.js
|
@@ -166,7 +166,7 @@ ${B["Invalid file(s)"]}: ${Nt}${At?`
|
|
166
166
|
`),f=new Blob([u],{type:"text/csv;charset=UTF-8"}),p=URL.createObjectURL(f),m=document.createElement("a");m.href=p,m.download=c,m.click(),URL.revokeObjectURL(p)},l8=r=>{const e=lr.keys(r);if(e.length!==1)return;const t=e[0];if(t!=="")return;const n=r[t];if(n.type==="String")return n.value},c8=r=>{const e=Object.entries(r);let t={};return e.forEach(([n,o])=>{!o||o.value===void 0||o.value===null||o.value===""||(o.type==="DateRange"?(t[o.sFilterKey]=o.value.sDate,t[o.eFilterKey]=o.value.eDate):t[o.filterKey??n]=o.value)}),t},u8=r=>{const e=lr.keys(r).filter(o=>o!=="");if(e.length!==1)return;const t=e[0],n=r[t];return!n||n.value===void 0||n.value===null||n.value===""?{selectedKey:t,value:void 0}:{selectedKey:t,value:n.value}},Bl={applyFilteration:n8,applySortation:o8,applyPagination:i8,getPages:CC,getRangedPages:s8,downloadCsv:a8,getSingleFilterValue:l8,getMultiFilterValues:c8,getSelectFilterValue:u8},d8="_ATable_12zow_1",f8={ATable:d8};function SC(r,e,t,n){S.useEffect(()=>{if(r)return r.addEventListener(e,t,n),()=>{r.removeEventListener(e,t,n)}},[r,e,t,n])}const h8="_BodyHeader_ys4y0_1",p8="_TRow_ys4y0_7",g8="_OverflowSpace_ys4y0_11",m8="_BodyBody_ys4y0_16",v8="_IsSelected_ys4y0_35",y8="_IsSelectable_ys4y0_39",b8="_IsRowMarked_ys4y0_47",x8="_TH_ys4y0_52",w8="_TD_ys4y0_57",C8="_IsMarked_ys4y0_57",S8="_Resizer_ys4y0_76",_8="_IsMoving_ys4y0_88",A8="_IsResizable_ys4y0_91",E8="_ResizerCenter_ys4y0_94",T8="_ResizerOut_ys4y0_100",R8="_ResizerIn_ys4y0_104",k8="_IsClicked_ys4y0_139",I8="_NoItems_ys4y0_146",M8="_Content_ys4y0_152",On={BodyHeader:h8,TRow:p8,OverflowSpace:g8,BodyBody:m8,IsSelected:v8,IsSelectable:y8,IsRowMarked:b8,TH:x8,TD:w8,IsMarked:C8,Resizer:S8,IsMoving:_8,IsResizable:A8,ResizerCenter:E8,ResizerOut:T8,ResizerIn:R8,IsClicked:k8,NoItems:I8,Content:M8},Fc=25,hm=50,L8=r=>{const{defs:e,isEqual:t,rProps:n,useSelect:o,isTableDisabled:i,isSelectMulti:a,selectDisabled:c,appliedFilteration:u,useSortation:f,pagination:p,pagedItems:m,noMarking:g,noDefHeader:v,isLoading:w,showRows:T,RowRenderer:_=N8,isRowRendered:A,rowHeight:R,resources:O}=r,[I,F]=S.useMemo(()=>o??[],[o]),B=S.useCallback(Ce=>{i||!F||!I||c!=null&&c(Ce)||(a?I.some(Pe=>t(Pe,Ce))?F(I.filter(Pe=>!t(Pe,Ce))):F([...I,Ce]):F([Ce]))},[I,c,F,t,i,a]);S.useEffect(()=>{a||!I||!F||I.length>1&&F([I[I.length-1]])},[I,F,a]),S.useEffect(()=>{if(!I||!F)return;I.filter(Pe=>c==null?void 0:c(Pe)).length>0&&F(I.filter(Pe=>!(c!=null&&c(Pe))))},[I,F,c]);const[z,j]=f,V=S.useCallback((Ce,Pe)=>{j&&((z==null?void 0:z.defKey)===Ce?z.isAsc===!0?j({defKey:Ce,isAsc:!1,sortF:Pe}):z.isAsc===!1?j(void 0):j({defKey:Ce,isAsc:!0,sortF:Pe}):j({defKey:Ce,isAsc:!0,sortF:Pe}))},[z,j]),[ue,P]=S.useState({elem:null,row:null}),U=S.useRef(null),G=S.useRef(null),Q=S.useCallback(()=>P({elem:U.current,row:G.current}),[]);S.useEffect(()=>Q(),[m.length,Q]),SC(window,"resize",Q);const[re,ie]=S.useState(R);S.useEffect(()=>{const{row:Ce}=ue;Ce!=null&&ie(Ce.clientHeight)},[ue,re]);const se=S.useMemo(()=>{const{elem:Ce}=ue;return Ce?Math.floor(Ce.clientHeight/re):0},[ue,re]),ne=S.useMemo(()=>T||(m.length<=se?se:m.length),[se,T,m]),be=S.useMemo(()=>{if(T!==void 0)return T*re},[T,re]),te=S.useMemo(()=>be,[be]),de=S.useMemo(()=>{const{elem:Ce}=ue;return Ce?Ce.getBoundingClientRect().height/re<m.length:!1},[ue,re,m.length]),[ge,Ee]=S.useState(),Be=S.useMemo(()=>{const{elem:Ce}=ue;return!ge||!Ce?"100%":Ce.clientHeight+(A?0:50)},[ge,A,ue]),oe=S.useRef(null),[ve,we]=S.useState({}),Oe=S.useRef({x:0,y:0}),Se=S.useRef({}),Ae=S.useMemo(()=>lr.keys(ve),[ve]),Ie=S.useCallback((Ce,Pe)=>{const He=oe.current;if(!He)return;const Je=[];He.childNodes.forEach(dt=>{dt.classList.contains(On.TH)&&Je.push(dt)});const wt={};lr.keys(e).forEach((dt,mt)=>{const Fe=Je[mt];if(!Fe)return;const rt=Fe.getBoundingClientRect().width;wt[dt]=rt}),Se.current=wt,Ee(Pe),Oe.current={x:Ce.clientX,y:Ce.clientY};const Xe=dt=>{if(!oe.current)return;const Fe=dt.clientX-Oe.current.x,rt=O8(e,Pe,Se.current,Fe);we(rt)};document.addEventListener("mousemove",Xe);const Qe=()=>{Ee(void 0),document.removeEventListener("mousemove",Xe),document.removeEventListener("mouseup",Qe)};document.addEventListener("mouseup",Qe)},[e]),Ye=S.useCallback(()=>{Ee(void 0),we({})},[]),Ne=S.useMemo(()=>{if(Ae.length===0){const He={},Je=lr.keys(e);for(let wt=0;wt<Je.length;wt++){const Xe=Je[wt],Qe=e[Xe],dt=Er.getContent(Qe.colSpan,{defKey:Xe,def:Qe}),mt=Qe.width??80,Fe=Qe.minWidth??Fc,rt=Qe.maxWidth,At={width:mt,minWidth:Fe,maxWidth:rt,flexGrow:dt??1};if(He[Xe]=At,dt!==void 0){for(let Nt=1;Nt<Math.min(dt,Je.length-wt);Nt++){const kt=e[Je[wt+Nt]],Dt=kt.width??80,Jt=kt.minWidth??Fc,or=kt.maxWidth;At.width+=Dt,At.minWidth+=Jt,At.maxWidth!==void 0&&(or!==void 0?At.maxWidth+=or:At.maxWidth=void 0)}wt+=dt-1}}return He}const Ce={},Pe=lr.keys(e);for(let He=0;He<Pe.length;He++){let Je=Pe[He];const wt=e[Je];let Xe=ve[Je];const Qe=Er.getContent(wt.colSpan,{defKey:Je,def:wt}),dt=wt.minWidth??Fc,mt=wt.maxWidth,Fe={width:Xe,minWidth:dt,maxWidth:mt,flexGrow:Qe??1};if(Ce[Je]=Fe,Qe!==void 0){for(let rt=1;rt<Math.min(Qe,Pe.length-He);rt++){const At=e[Pe[He+rt]],Nt=ve[Pe[He+rt]],kt=At.minWidth??Fc,Dt=At.maxWidth;Fe.width+=Nt,Fe.minWidth+=kt,Fe.maxWidth!==void 0&&(Dt!==void 0?Fe.maxWidth+=Dt:Fe.maxWidth=void 0)}He+=Qe-1}}return Ce},[e,Ae,ve]),We=S.useRef(null),Ve=S.useMemo(()=>Bl.getSingleFilterValue(u),[u]);return S.useEffect(()=>{U.current&&U.current.scrollTo({top:0})},[p.page]),S.useEffect(()=>{A&&G.current&&G.current.scrollIntoView({behavior:"smooth",block:"center"})},[I,m,A]),C.jsxs(C.Fragment,{children:[C.jsx(Iv,{isLoading:w}),C.jsx("div",{ref:We,className:Ke.clsx(On.BodyHeader,ge!==void 0&&On.IsClicked),style:{display:v||A?"none":"flex"},children:C.jsx("div",{ref:oe,className:On.TRow,style:{minHeight:hm,maxHeight:hm},children:lr.map(e,([Ce],Pe)=>{const He=e[Ce],Je=Er.getContent(He.hContent,{defKey:Ce,def:He}),wt=He.name,Xe=Pe===lr.keys(e).length-1,Qe=He.width??80,dt=He.minWidth??Fc,mt=He.maxWidth,Fe={width:Qe,minWidth:dt,maxWidth:mt,justifyContent:Er.getContent(He.hAlign,{defKey:Ce,def:He})??"flex-start",...Er.getContent(He.hStyle,{defKey:Ce,def:He})};Ae.includes(Ce)&&(Fe.width=ve[Ce]);const rt=He.isSortable,At=(z==null?void 0:z.defKey)===Ce,Nt=z==null?void 0:z.isAsc;return C.jsxs(S.Fragment,{children:[C.jsxs("div",{className:Ke.clsx(On.TH,"Label1",rt?"IsClickable":"NoSelect"),style:Fe,onClick:()=>rt&&V(Ce,He.sortF),children:[C.jsx(tl,{children:Je??wt,className:On.Content}),rt&&C.jsx(en,{icon:At?Nt?"SortUp":"SortDown":"SortBoth",style:{width:16,height:16}})]}),!Xe&&C.jsxs("div",{className:Ke.sclsx(On,"Resizer","IsResizable","NoSelect",ge!==void 0&&"IsMoving"),onDoubleClick:Ye,onMouseDown:kt=>Ie(kt,Ce),children:[C.jsx("div",{className:On.ResizerOut}),C.jsx("div",{className:On.ResizerIn}),C.jsx("div",{className:On.ResizerCenter,style:{height:Be}}),C.jsx("div",{className:On.ResizerIn}),C.jsx("div",{className:On.ResizerOut})]}),Xe&&C.jsx(zn,{className:On.OverflowSpace,h:hm,style:{color:Fe.color,backgroundColor:Fe.backgroundColor,transition:Fe.transition},w:"var(--Scrollbar-width)"})]},Ce)})})}),C.jsxs("div",{ref:U,className:Ke.clsx(On.BodyBody,ge!==void 0&&On.IsClicked),style:{overflowY:de?"scroll":"hidden",minHeight:be,maxHeight:te},children:[m.map((Ce,Pe)=>{const He=Er.getContent(n,{item:Ce}),Je=F&&!i,wt=I==null?void 0:I.some(mt=>t(mt,Ce)),Xe=I&&(c==null?void 0:c(Ce)),Qe=typeof Xe=="string"?Xe:void 0,dt={...Ce};return A&&lr.keys(e).forEach(mt=>{const Fe=e[mt],rt=Er.getContent(Fe.content,{defKey:mt,def:Fe,item:Ce});let At=!1;if(Ve&&!g){const Nt=Er.getContent(Fe.asText,{defKey:mt,def:Fe,item:Ce});Nt!==void 0?At=Nt.toString().toLowerCase().includes(Ve.toLowerCase()):["string","number"].includes(typeof rt)&&rt!==void 0&&rt!==null&&(At=rt.toString().toLowerCase().includes(Ve.toLowerCase()))}dt[mt]=C.jsx("span",{className:Ke.clsx(At&&On.IsRowMarked),children:dt[mt]})}),C.jsx(Yr,{isDisabled:Xe,tooltip:Qe,...He,abaseRef:wt?G:void 0,className:Ke.clsx(He==null?void 0:He.className,Je&&On.IsSelectable,wt&&On.IsSelected),onClick:mt=>{var Fe;B(Ce),(Fe=He==null?void 0:He.onClick)==null||Fe.call(He,mt)},children:C.jsx(_,{defs:e,isBodyBodyOverflowed:de,item:Ce,markedItem:dt,noMarking:g,rowHeight:R,singleFilterValue:Ve,spanWidths:Ne})},Pe)}),C.jsx(D8,{isRowRendered:A,itemsLength:m.length,resources:O,rowHeight:re,showRows:ne})]})]})},D8=r=>{const{showRows:e,itemsLength:t,resources:n,isRowRendered:o,rowHeight:i}=r,a=S.useMemo(()=>t===0?e:e-t,[e,t]);return Array.from({length:a},(c,u)=>C.jsx("div",{className:Ke.clsx(On.TRow,"NoSelect"),style:{minHeight:i,maxHeight:i,...o&&{border:"none"}},children:t===0&&u===Math.floor(e/2)&&C.jsx(kn,{className:On.NoItems,children:n["No Items"]})},u))};function O8(r,e,t,n){const o={...t},i=lr.keys(r).findIndex(f=>f===e)+1,a=Object.entries(r);let c=i-1,u=i;if(n<0){for(;n<0&&!(c<0||u>=a.length);){const[f,p]=[a[c][0],a[c][1]],[m,g]=[a[u][0],a[u][1]],v=p.minWidth??Fc,w=g.maxWidth,T=o[f],_=o[m];let A=T-v;w!==void 0&&(A=Math.min(A,w-_));let R=-n;R=Math.min(R,A),T-R<=v&&c--,w!==void 0&&_+R>=w&&u++,o[f]=T-R,o[m]=_+R,n+=R}return o}else if(n>0){for(;n>0&&!(c<0||u>=a.length);){const[f,p]=[a[c][0],a[c][1]],[m,g]=[a[u][0],a[u][1]],v=g.minWidth??Fc,w=p.maxWidth,T=o[m],_=o[f];let A=T-v;w!==void 0&&(A=Math.min(A,w-_));let R=n;R=Math.min(R,A),T-R<=v&&u++,w!==void 0&&_+R>=w&&c--,o[m]=T-R,o[f]=_+R,n-=R}return o}return o}const N8=r=>{const{defs:e,item:t,noMarking:n,spanWidths:o,singleFilterValue:i,isBodyBodyOverflowed:a,rowHeight:c}=r;return C.jsx("div",{className:Ke.clsx(On.TRow),style:{minHeight:c,maxHeight:c},children:lr.map(e,([u],f)=>{const p=o[u];if(p===void 0)return null;const m=f===lr.keys(e).length-1,g=e[u],v=Er.getContent(g.content,{defKey:u,def:g,item:t}),w={width:p.width,minWidth:p.minWidth,maxWidth:p.maxWidth,flexGrow:p.flexGrow,justifyContent:Er.getContent(g.align,{defKey:u,def:g,item:t})??"flex-start",...Er.getContent(g.style,{defKey:u,def:g,item:t})};let T=!1;if(i&&!n){const _=Er.getContent(g.asText,{defKey:u,def:g,item:t});_!==void 0?T=_.toString().toLowerCase().includes(i.toLowerCase()):["string","number"].includes(typeof v)&&v!==void 0&&v!==null&&(T=v.toString().toLowerCase().includes(i.toLowerCase()))}return C.jsxs(S.Fragment,{children:[C.jsx("div",{className:Ke.clsx(On.TD,"Label1",T&&On.IsMarked),style:w,children:C.jsx(tl,{children:v,className:On.Content})}),!a&&m&&C.jsx(zn,{className:On.OverflowSpace,h:c,style:{color:w.color,backgroundColor:w.backgroundColor},w:"var(--Scrollbar-width)"})]},u)})})},P8="_ATableFooter_w090q_1",B8="_Button_w090q_10",F8="_IsSelected_w090q_26",j8="_IsDisabled_w090q_31",oa={ATableFooter:P8,Button:B8,IsSelected:F8,IsDisabled:j8},z8=r=>{const{pages:e,rangedPages:t,pageF:n,pagination:o}=r,i=S.useMemo(()=>e[e.length-1],[e]);return C.jsxs(kn,{className:oa.ATableFooter,children:[C.jsx(en,{className:Ke.clsx(oa.Button,o.page===1&&oa.IsDisabled),icon:"FirstPage",onClick:n.moveFirst}),C.jsx(en,{className:Ke.clsx(oa.Button,o.page===1&&oa.IsDisabled),icon:"NavigateBefore",onClick:n.movePrev}),t.map(a=>C.jsx("div",{className:Ke.clsx(oa.Button,"NoSelect",o.page===a&&oa.IsSelected),onClick:()=>n.move(a),children:a},a)),C.jsx(en,{className:Ke.clsx(oa.Button,o.page===i&&oa.IsDisabled),icon:"NavigateNext",onClick:n.moveNext}),C.jsx(en,{className:Ke.clsx(oa.Button,o.page===i&&oa.IsDisabled),icon:"LastPage",onClick:n.moveLast})]})},H8="_Filter_1b9j0_1",$8="_SelectFilter_1b9j0_11",q8="_MainFilter_1b9j0_15",U8="_IsOpen_1b9j0_26",W8="_SubFilters_1b9j0_30",V8="_Input_1b9j0_44",G8="_Main_1b9j0_15",Y8="_Sub_1b9j0_30",Z8="_Actions_1b9j0_62",K8="_Icon_1b9j0_67",X8="_LeftIcon_1b9j0_74",J8="_CircleAlertOutline_1b9j0_79",Q8="_Rotate_1b9j0_87",Or={Filter:H8,SelectFilter:$8,MainFilter:q8,IsOpen:U8,SubFilters:W8,Input:V8,Main:G8,Sub:Y8,Actions:Z8,Icon:K8,LeftIcon:X8,CircleAlertOutline:J8,Rotate:Q8},e9=r=>{const{defs:e,useFilteration:t,hasToggleFilteration:n,filterF:o,isRowRendered:i,isFilterSort:a,filterType:c,resources:u,placeholder:f}=r,[p,m]=S.useState([]),[g,v]=S.useMemo(()=>t,[t]),w=S.useMemo(()=>c==="Select",[c]),T=S.useMemo(()=>lr.keys(g).map(oe=>String(oe)),[g]),[_,A]=S.useState(w&&T.length>0?T[0]:null),R=S.useCallback((oe,ve,we)=>{if(!v)return;const Oe={...g};oe.value=ve,v(Oe),m(Se=>Se.map((Ae,Ie)=>Ie===(we?we+1:0)?"":Ae))},[g,v]),O=S.useMemo(()=>{let oe=[],ve=lr.keys(g);w&&_&&(ve=ve.filter(we=>we===_));for(const we of ve)oe.push({key:we,def:e[we],filter:g[we]});return oe},[g,e,w,_]),I=S.useMemo(()=>O.length>0?O[0]:null,[O]),F=S.useMemo(()=>p.length>0?p[0]:"",[p]),B=S.useMemo(()=>O.length>1?O.slice(1):[],[O]),z=S.useMemo(()=>p.length>1?p.slice(1):[],[p]),j=S.useMemo(()=>B.length>0,[B]),[V,ue]=S.useState(!1),[P,U]=S.useState(!1),G=S.useRef(null),Q=S.useCallback(()=>ue(!1),[]),re=S.useRef(null),ie=S.useCallback(()=>{U(!1),ue(!0),re.current&&(document.removeEventListener("mousedown",re.current),re.current=null)},[]),se=S.useCallback(()=>{const oe=ve=>{const we=document.getElementById("root"),Oe=ve.target,Se=G.current;!we||!Se||!Oe||!Se.contains(Oe)&&we.contains(Oe)&&ie()};return re.current=oe,oe},[ie]),ne=S.useCallback(()=>{ue(!0),U(!0),setTimeout(()=>{const oe=se();document.addEventListener("mousedown",oe)},0)},[se]),be=S.useMemo(()=>P?ie:ne,[P,ne,ie]),te=S.useCallback(()=>{const oe=O.map((ve,we)=>ve.filter.type==="String"&&ve.filter.validation?ve.filter.validation(ve.filter.value||""):ve.filter.type==="Date"&&ve.filter.validation||ve.filter.type==="DateRange"&&ve.filter.validation?ve.filter.validation(ve.filter.value):p[we]);return m(oe),oe.every(ve=>!ve)},[p,O]),de=S.useCallback(oe=>{oe.key==="Enter"?(te()&&o.apply(),oe.stopPropagation()):oe.key==="Escape"&&(U(!1),oe.currentTarget.focus(),oe.currentTarget.blur(),oe.stopPropagation())},[te,U,o]),ge=S.useMemo(()=>({open:ne,close:ie,toggle:be,validate:te}),[ne,ie,be,te]),Ee=S.useCallback(()=>{o.clear()},[o]),Be=S.useCallback(oe=>{if(!v||!oe)return;A(oe);const ve={...g};lr.keys(ve).forEach(we=>{if(we!==oe&&ve[we])switch(ve[we].type){case"String":ve[we].value="";break;case"Select":ve[we].value=null;break;case"Date":ve[we].value=void 0;break;case"DateRange":ve[we].value=void 0;break}}),m([]),v(ve),o.clear(),setTimeout(()=>{var Oe;const we=(Oe=G.current)==null?void 0:Oe.querySelector("input");we&&we.focus()},0)},[g,v,m,o]);return I?C.jsxs(C.Fragment,{children:[w&&C.jsx(zl,{isAutoWidth:!0,className:Ke.clsx(Or.SelectFilter),options:T,type:"Secondary",useSelect:[_,Be],OptionRenderer:({option:oe})=>{const ve=e[oe];let we;if(ve!=null&&ve.hContent){const Oe={defKey:oe,def:ve};we=typeof ve.hContent=="function"?ve.hContent(Oe):ve.hContent}else{const Oe=g[oe],Se=(ve==null?void 0:ve.name)||(Oe==null?void 0:Oe.placeholder)||String(oe);we=C.jsx("span",{children:Se})}return we}}),C.jsxs("div",{ref:G,className:Ke.clsx(Or.Filter),tabIndex:-1,style:{minWidth:i?a?180:void 0:180,maxWidth:i?a?300:void 0:300},onKeyDown:de,onClick:oe=>{oe.preventDefault(),oe.stopPropagation()},children:[C.jsx(t9,{errorMessage:F,filterF:o,filterSet:I,hasSelectFilterType:w,hasSubFilters:j,hasToggleFilteration:n,isOpen:P,placeholder:f,popupF:ge,resources:u,onChange:R}),!w&&C.jsx(r9,{errorMessages:z,filterF:o,isOpen:P,isTransitioning:V,placeholder:f,resources:u,subFilterSets:B,validate:te,onChange:R,onClearClick:Ee,onTransitionEnd:Q})]})]}):null},t9=r=>{var g,v,w,T;const{filterSet:e,hasToggleFilteration:t,hasSelectFilterType:n,onChange:o,filterF:i,hasSubFilters:a,popupF:c,isOpen:u,resources:f,errorMessage:p,placeholder:m}=r;if(e.filter.type==="String"){const _=[e.filter.value??"",I=>o(e.filter,I)],A=m??e.filter.placeholder??((g=e.def)==null?void 0:g.name),R=e.filter.icon,O=e.filter.iconTooltip??A;return C.jsxs("div",{className:Ke.clsx(Or.MainFilter,u&&Or.IsOpen),children:[C.jsx(Ya,{icon:R??"Type",isOpen:u,tooltip:O}),C.jsx(Gc,{autoFocus:e.filter.autoFocus,className:Ke.clsx(Or.Input,Or.Main),dataList:e.filter.dataList,LeftAddon:t&&C.jsx(dp,{isOpen:u,filterF:i,popupF:c,resources:f}),maxLength:e.filter.maxLength,placeholder:A??f["Search(Placeholder)"],type:p?"Error":"Primary",useValue:_,wrapProps:{style:{width:"100%",boxSizing:"border-box"}},RightAddon:C.jsx(fp,{errorMessage:p,filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:u,popupF:c,resources:f})})]})}else if(e.filter.type==="Select"){const _=[e.filter.value??null,I=>{o(e.filter,I),n&&setTimeout(()=>{c.validate()&&i.apply()},0)}],A=m??e.filter.placeholder??((v=e.def)==null?void 0:v.name),R=e.filter.icon,O=e.filter.iconTooltip??A;return C.jsxs("div",{className:Ke.clsx(Or.MainFilter,u&&Or.IsOpen),children:[C.jsx(Ya,{icon:R??"Menu",isOpen:u,tooltip:O}),C.jsx(zl,{className:Ke.clsx(Or.Input,Or.Main),OptionRenderer:e.filter.OptionRenderer,options:e.filter.options,placeholder:A,useSelect:_,SelectedRenderer:({OptionRenderer:I,selectedOption:F})=>F===null?A||e.filter.placeholder:C.jsxs(C.Fragment,{children:[t&&C.jsx(dp,{isOpen:u,filterF:i,popupF:c,resources:f}),C.jsx(I,{option:F}),C.jsx(fp,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,hideSearchButton:!0,isOpen:u,popupF:c,resources:f})]})})]})}else if(e.filter.type==="Date"){const _=[e.filter.value,I=>o(e.filter,I)],A=m??e.filter.placeholder??((w=e.def)==null?void 0:w.name),R=e.filter.icon,O=e.filter.iconTooltip??A;return C.jsxs("div",{className:Ke.clsx(Or.MainFilter,u&&Or.IsOpen),children:[C.jsx(Ya,{icon:R??"CalendarDay",isOpen:u,tooltip:O}),C.jsx(Rv,{className:Ke.clsx(Or.DatePicker,Or.Input,Or.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,placeholder:A,type:"Raw",useDate:_,LeftAddon:C.jsxs(C.Fragment,{children:[t&&C.jsx(dp,{isOpen:u,filterF:i,popupF:c,resources:f}),!t&&C.jsx(zn,{w:u?0:6}),C.jsx(Ya,{icon:R??"CalendarDay",isOpen:!u,tooltip:O}),C.jsx(zn,{w:u?8:0})]}),RightAddon:C.jsx(fp,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:u,popupF:c,resources:f})})]})}else if(e.filter.type==="DateRange"){const _=[e.filter.value,F=>o(e.filter,F)],{noDefaultChoices:A}=e.filter,R=m??e.filter.placeholder??((T=e.def)==null?void 0:T.name),O=e.filter.icon,I=e.filter.iconTooltip??R;return C.jsxs("div",{className:Ke.clsx(Or.MainFilter,u&&Or.IsOpen),children:[C.jsx(Ya,{icon:O??"CalendarDay",isOpen:u,tooltip:I}),C.jsx(Ev,{className:Ke.clsx(Or.DatePicker,Or.Input,Or.Main),maxDate:e.filter.maxDate,minDate:e.filter.minDate,noDefaultChoices:A,placeholder:R,type:"Raw",useDateRange:_,LeftAddon:C.jsxs(C.Fragment,{children:[t&&C.jsx(dp,{isOpen:u,filterF:i,popupF:c,resources:f}),!t&&C.jsx(zn,{w:u?0:6}),C.jsx(Ya,{icon:O??"CalendarDay",isOpen:!u,tooltip:I}),C.jsx(zn,{w:u?8:0})]}),RightAddon:C.jsx(fp,{filterF:i,hasSelectFilterType:n,hasSubFilters:a,isOpen:u,popupF:c,resources:f})})]})}return null},dp=r=>{const{filterF:e,popupF:t,resources:n,isOpen:o}=r;return C.jsx(ho,{className:Or.Icon,icon:"Convert",style:{width:o?0:24,marginLeft:o?0:8},tooltip:n["Toggle Filter"],type:"Raw",onMouseDown:i=>i.currentTarget.classList.remove(Or.Rotate),onClick:i=>{i.currentTarget.classList.add(Or.Rotate),e.toggle(),t.close(),i.stopPropagation()}})},fp=r=>{const{hasSubFilters:e,popupF:t,isOpen:n,resources:o,errorMessage:i,hideSearchButton:a,hasSelectFilterType:c,filterF:u}=r,f=S.useCallback(g=>{g.stopPropagation(),t.open()},[t]),p=S.useCallback(g=>{g.stopPropagation(),t.close()},[t]),m=S.useCallback(g=>{g.stopPropagation(),t.validate()&&u.apply()},[t,u]);return C.jsxs(S.Fragment,{children:[i&&C.jsx(ho,{className:Or.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:i,type:"Raw"}),e&&!c&&C.jsx(ho,{className:Or.Icon,icon:"ListAdd",type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",marginRight:-24,pointerEvents:n?"none":void 0},onClick:f}),e&&!c&&C.jsx(ho,{className:Or.Icon,icon:"ListRemove",type:"Raw",style:{opacity:+n,visibility:+n?"visible":"hidden",marginRight:n?-24:0,pointerEvents:n?void 0:"none"},onClick:p}),!a&&C.jsx(ho,{className:Or.Icon,icon:"Search",tooltip:o["Search(Button)"],type:"Raw",style:{opacity:+!n,visibility:+!n?"visible":"hidden",pointerEvents:n?"none":void 0,marginRight:4},onClick:m})]})},r9=r=>{const{subFilterSets:e,onChange:t,onClearClick:n,isOpen:o,isTransitioning:i,onTransitionEnd:a,resources:c,errorMessages:u,placeholder:f,filterF:p,validate:m}=r;return!o&&!i?null:C.jsxs("div",{className:Or.SubFilters,style:{opacity:+o,visibility:+o?"visible":"hidden"},onTransitionEnd:a,children:[e.map((g,v)=>{var w,T,_,A;if(g.filter.type==="String"){const R=[g.filter.value??"",z=>t(g.filter,z,v)],O=u[v],I=f??g.filter.placeholder??((w=g.def)==null?void 0:w.name),F=g.filter.icon,B=g.filter.iconTooltip??I;return C.jsxs(kn,{style:{marginBottom:6},children:[C.jsx(Ya,{icon:F??"Type",tooltip:B}),C.jsx(Gc,{autoFocus:g.filter.autoFocus,className:Ke.clsx(Or.Input,Or.Sub),dataList:g.filter.dataList,maxLength:g.filter.maxLength,placeholder:I??c["Search(Placeholder)"],type:O?"Error":"Secondary",useValue:R,wrapProps:{style:{width:"100%"}},RightAddon:O&&C.jsx(ho,{className:Or.CircleAlertOutline,icon:"CircleAlertOutline",iconSize:"xs",tooltip:O,type:"Raw"})}),C.jsx(zn,{h:8})]},v)}else if(g.filter.type==="Select"){const R=[g.filter.value??null,B=>t(g.filter,B)],O=f??g.filter.placeholder??((T=g.def)==null?void 0:T.name),I=g.filter.icon,F=g.filter.iconTooltip??O;return C.jsxs(kn,{style:{marginBottom:6},children:[C.jsx(Ya,{icon:I??"Menu",tooltip:F}),C.jsx(zl,{arrowProps:{style:{marginRight:4}},className:Ke.clsx(Or.Input,Or.Sub),OptionRenderer:g.filter.OptionRenderer,options:g.filter.options,placeholder:O,type:"Secondary",useSelect:R}),C.jsx(zn,{h:8})]},v)}else if(g.filter.type==="Date"){const R=[g.filter.value,B=>t(g.filter,B)],O=f??g.filter.placeholder??((_=g.def)==null?void 0:_.name),I=g.filter.icon,F=g.filter.iconTooltip??O;return C.jsxs(kn,{style:{marginBottom:6},children:[C.jsx(Ya,{icon:I??"CalendarDay",tooltip:F}),C.jsx(Rv,{className:Ke.clsx(Or.DatePicker,Or.Input,Or.Sub),LeftAddon:C.jsx(zn,{w:12}),maxDate:g.filter.maxDate,minDate:g.filter.minDate,placeholder:O,type:"Raw",useDate:R}),C.jsx(zn,{h:8})]},v)}else if(g.filter.type==="DateRange"){const R=[g.filter.value,z=>t(g.filter,z)],{noDefaultChoices:O}=g.filter,I=f??g.filter.placeholder??((A=g.def)==null?void 0:A.name),F=g.filter.icon,B=g.filter.iconTooltip??I;return C.jsxs(kn,{style:{marginBottom:6},children:[C.jsx(Ya,{icon:F??"CalendarDay",tooltip:B}),C.jsx(Ev,{className:Ke.clsx(Or.DatePicker,Or.Input,Or.Sub),LeftAddon:C.jsx(zn,{w:12}),maxDate:g.filter.maxDate,minDate:g.filter.minDate,noDefaultChoices:O,placeholder:I,type:"Raw",useDateRange:R})]},v)}else return null}),C.jsxs(kn,{className:Or.Actions,children:[C.jsx(Go,{type:"Secondary",onClick:n,children:c["Clear(Button)"]}),C.jsx(Go,{onClick:()=>{m()&&p.apply()},children:c["Search(Button)"]})]})]})},Ya=r=>{const{icon:e,tooltip:t,isOpen:n=!0}=r;return C.jsx(ho,{className:Or.LeftIcon,icon:e,tooltip:t,type:"Raw",style:{width:n?24:0,marginRight:n?4:0,opacity:+n}})},n9="_ATableHeader_1hzfz_1",o9="_LeftHeaderContent_1hzfz_11",i9="_RightHeaderContent_1hzfz_19",s9="_TopRightAddon_1hzfz_27",a9="_HItem_1hzfz_32",Pu={ATableHeader:n9,LeftHeaderContent:o9,RightHeaderContent:i9,TopRightAddon:s9,HItem:a9},l9=r=>{const{defs:e,title:t,totalCount:n,useCheck:o,useFilteration:i,hasToggleFilteration:a,filterF:c,noFilter:u,noCount:f,isFiltered:p,TopLeftAddon:m,TopRightAddon:g,useSortation:v,resources:w=wr.ATable,filterType:T,placeholder:_}=r,[A]=S.useMemo(()=>o||[],[o]),R=S.useMemo(()=>p?w["Searched n items"](n):w["Total n items"](n),[w,p,n]),[O]=i,[I,F]=v,[B,z]=S.useState(!1),j=S.useMemo(()=>{const se=lr.values(O).filter(te=>te.type==="DateRange"),ne=lr.keys(O).filter(te=>se.includes(O[te])),be=lr.keys(e).filter(te=>e[te].isSortable);return ne.length>0?(ne.length>1&&z(!0),be.map(de=>ne.includes(de)?[de+"_Asc",de+"_Desc"]:de).flat()):be},[e,O]),V=S.useMemo(()=>r.isRowRendered&&j.length>0,[j.length,r.isRowRendered]),ue=S.useCallback((se,ne)=>{F&&(I==null?void 0:I.defKey)===se&&(I.isAsc===!0?F({defKey:se,isAsc:!1,sortF:ne}):F({defKey:se,isAsc:!0,sortF:ne}))},[I,F]),P=S.useRef(),[U,G]=S.useState(),[Q,re]=S.useState(I?I.defKey:j[0]),ie=S.useMemo(()=>{if(!U)return{};const se=e[U];return{SortUp:{onClick:()=>{F==null||F({defKey:U,isAsc:!0,sortF:se.sortF}),re(U)},content:()=>w["Sort up"]},SortDown:{onClick:()=>{F==null||F({defKey:U,isAsc:!1,sortF:se.sortF}),re(U)},content:()=>w["Sort down"]}}},[F,U,e,w]);return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:Ke.clsx(Pu.ATableHeader),children:[C.jsxs("div",{className:Ke.clsx(Pu.LeftHeaderContent,"NoSelect"),children:[C.jsxs(kn,{style:{marginBottom:V?8:0},children:[m&&C.jsx("div",{className:Ke.clsx(Pu.HItem),children:m}),t&&C.jsx("div",{className:Ke.clsx(Pu.HItem),style:{whiteSpace:"nowrap"},children:t}),!f&&C.jsxs("div",{className:Ke.clsx(Pu.HItem),style:{maxHeight:14,...V&&{minHeight:14,color:"var(--label-neutral)"}},children:[R,A&&A.length>0&&C.jsxs(C.Fragment,{children:[" / ",w["Checked n items"](A.length)]})]})]}),V&&C.jsx(bC,{options:j,optionWidth:"fit-content",tabProps:{style:{marginRight:8}},type:"Tertiary",useSelect:[Q,()=>{}],optionProps:{style:{cursor:"default"},onClick:se=>{var te;const ne=se.currentTarget.textContent;if(ne===w[ne])return;se.currentTarget.querySelector("svg")===null&&((te=P.current)==null||te.open(se.currentTarget))}},OptionRenderer:se=>{const ne=/_Asc|_Desc/.test(se.option),be=(I==null?void 0:I.defKey)===se.option,te=Q===se.option,de=I==null?void 0:I.isAsc,ge=()=>{if(ne){G(void 0),re(se.option);const[oe,ve]=se.option.split("_"),we=ve==="Asc";F==null||F({defKey:oe,isAsc:we,sortF:e[oe].sortF})}else te?ue(se.option,e[se.option].sortF):G(se.option)},Be=ne?(oe=>{const[ve,we]=oe.split("_");return(B?ve+" ":"")+w[we]})(se.option):w["Sort by x"](se.option);return C.jsxs(kn,{className:Ke.clsx(!(ne&&te)&&"IsClickable"),style:{height:"100%"},onClick:ge,children:[Be,te&&!ne&&C.jsx(en,{icon:be?de?"RowSortUp":"RowSortDown":"RowSortBoth",style:{marginRight:-5,marginLeft:4}})]},se.option)}})]}),C.jsx(Xu,{}),C.jsxs("div",{className:Ke.clsx(Pu.RightHeaderContent,"NoSelect"),children:[!u&&C.jsx(e9,{defs:e,filterF:c,filterType:T,hasToggleFilteration:a,isFilterSort:j.length>0,isRowRendered:r.isRowRendered,placeholder:_,resources:w,useFilteration:i}),g&&C.jsx(kn,{children:g,className:Ke.clsx(Pu.TopRightAddon)})]})]}),C.jsx(mC,{actionRef:P,defs:ie,position:bf.S,width:100,onClose:()=>G(void 0)})]})},c9=r=>{const{defs:e,pk:t,defaultDef:n,rProps:o,useSelect:i,isSelectMulti:a,selectDisabled:c,useCheck:u,checkDisabled:f,isLoading:p,isDisabled:m,title:g,entireItems:v,onStateChange:w,pagedItems:T,totalCount:_,useFilteration:A,useToggleFilteration:R,filterType:O="Default",placeholder:I,rowHeight:F=40,usePagination:B,useSortation:z,showRows:j,noHeader:V,noDefHeader:ue,noFooter:P,noFilter:U,noCount:G,noMarking:Q,noStateChangeOnMount:re,TopLeftAddon:ie,TopRightAddon:se,actionRef:ne,RowRenderer:be,resources:te}=r,de=S.useMemo(()=>({...wr.ATable,...te}),[te]),ge=S.useCallback((Me,tt)=>t!==void 0?Array.isArray(t)?t.every(Re=>Za.isEqual(Me[Re],tt[Re])):Za.isEqual(Me[t],tt[t]):Za.isEqual(Me,tt),[t]),Ee=S.useMemo(()=>({content:u9,...n}),[n]),Be=S.useMemo(()=>{const Me={};return lr.keys(e).forEach(tt=>{const Re=e[tt],it={...Ee,...Re};Me[tt]=it}),Me},[Ee,e]),[oe,ve]=vn(Za.cloneDeep(A),{"":{type:"String",placeholder:de["Search(Placeholder)"],value:""}}),[we,Oe]=vn(Za.cloneDeep(R),void 0),[Se,Ae]=S.useState(!1),[Ie,Ye]=S.useMemo(()=>Se&&we?[we,Oe]:[oe,ve],[oe,Se,ve,Oe,we]),[Ne,We]=S.useState(Ie),Ve=S.useMemo(()=>v?Bl.applyFilteration(v,Be,Ne):[],[v,Be,Ne]),Ce=S.useMemo(()=>{for(const Me in Ne){const tt=Ne[Me];if(tt.value!==void 0&&tt.value!==null&&tt.value!=="")return!0}return!1},[Ne]),[Pe,He]=vn(z,void 0),Je=S.useMemo(()=>Bl.applySortation(Ve,Be,Pe),[Ve,Be,Pe]),wt=S.useMemo(()=>{if(T!==void 0)return Bl.applySortation(T,Be,Pe)},[T,Be,Pe]),[Xe,Qe]=vn(B,{page:1,pageSize:50,pageRange:10}),dt=S.useMemo(()=>({pageSize:50,page:1,pageRange:10,...Xe}),[Xe]),{pagedItems:mt,totalCount:Fe,pagination:rt}=S.useMemo(()=>{const Me={...dt};if(wt!==void 0){let tt=_??wt.length;const Re=Bl.getPages(tt,Me.pageSize);return Me.page>Re.length?Me.page=Re.length:Me.page<1&&(Me.page=1),{pagedItems:wt,totalCount:tt,pagination:Me}}else if(v!==void 0){const tt=_??Je.length,Re=Bl.getPages(tt,Me.pageSize);return Me.page>Re.length?Me.page=Re.length:Me.page<1&&(Me.page=1),{pagedItems:Bl.applyPagination(Je,Me.page,Me.pageSize),totalCount:tt,pagination:Me}}else return{pagedItems:[],totalCount:_??0,pagination:dt}},[v,wt,_,dt,Je]),{pages:At,rangedPages:Nt}=S.useMemo(()=>Bl.getRangedPages(rt.page,Fe,rt.pageSize,rt.pageRange),[Fe,rt.pageSize,rt.page,rt.pageRange]),[kt,Dt]=S.useMemo(()=>u??[],[u]),Jt=S.useMemo(()=>mt.filter(Me=>kt==null?void 0:kt.some(tt=>ge(tt,Me))),[mt,kt,ge]),or=S.useMemo(()=>mt.filter(Me=>!(f!=null&&f(Me))),[mt,f]),ar=S.useMemo(()=>or.length>0&&or.every(Me=>Jt.some(tt=>ge(tt,Me))),[Jt,or,ge]),tr=S.useMemo(()=>ar?!1:or.some(Me=>Jt.some(tt=>ge(tt,Me))),[Jt,or,ar,ge]),dr=S.useCallback(()=>{!kt||!Dt||m||Dt(ar||tr?kt.filter(Me=>!or.some(tt=>ge(tt,Me))):[...kt,...or])},[kt,Dt,ar,tr,or,m,ge]),ke=S.useCallback(Me=>{!kt||!Dt||m||(kt.some(tt=>ge(tt,Me))?Dt(kt.filter(tt=>!ge(tt,Me))):Dt([...kt,Me]))},[kt,Dt,m,ge]);S.useEffect(()=>{if(!Dt||!kt||!f)return;kt.filter(tt=>f(tt)).length>0&&Dt(kt.filter(tt=>!f(tt)))},[f,kt,Dt]);const ae=S.useMemo(()=>({hContent:kt&&C.jsx(af,{isIndeterminate:tr,useCheck:[ar,dr]}),content:Me=>{const{item:tt}=Me,Re=f==null?void 0:f(tt),it=typeof Re=="string"?Re:void 0,ht=kt==null?void 0:kt.some(Bt=>ge(Bt,tt));return C.jsx(af,{isDisabled:Re,style:{zIndex:1},tooltip:it,useCheck:[ht,()=>ke(tt)],onClick:Bt=>Bt.stopPropagation()})},minWidth:32,maxWidth:32}),[kt,ar,tr,ge,dr,f,ke]),st=S.useMemo(()=>u?{checkDef:ae,...Be}:Be,[Be,ae,u]),[vt,Ht]=S.useState(!1),Pt=S.useMemo(()=>p??vt,[p,vt]),Et=S.useCallback(async Me=>{w&&(Ht(!0),await w(Me),Ht(!1)),Qe==null||Qe(Me.pagination),He==null||He(Me.sortation),We(Me.filteration)},[w,Qe,He]);S.useEffect(()=>{if(!ne)return;const Me=Re=>{const it={entireItems:v,filteration:Ie,pagination:rt,sortation:Pe},ht=Re?Re(it):it;Et(ht)},tt=Re=>{const it={...rt,page:1},ht=Re?Re(Ie):Ie;Et({entireItems:v,filteration:ht,pagination:it,sortation:Pe}),Ye==null||Ye(ht)};ne.current={fireOnStateChange:Me,applyFilteration:tt}},[ne,Et,v,Ye,Ie,rt,Pe]);const jt=S.useCallback(Me=>{Me.page===rt.page&&Me.pageSize===rt.pageSize||(Me.page<1?Me.page=1:Me.page>At[At.length-1]&&(Me.page=At[At.length-1]),Et({entireItems:v,filteration:Ne,pagination:Me,sortation:Pe}))},[rt,At,Et,v,Ne,Pe]),Ze=S.useCallback(Me=>{Ye&&Ye(Me)},[Ye]),ct=S.useCallback(Me=>{Et({entireItems:v,filteration:Ne,pagination:rt,sortation:Me})},[Et,v,Ne,rt]),ft=S.useCallback(Me=>{jt({...rt,page:Me})},[jt,rt]),Ct=S.useCallback(()=>{ft(rt.page-1)},[ft,rt.page]),Ot=S.useCallback(()=>{ft(rt.page+1)},[ft,rt.page]),at=S.useCallback(()=>{ft(1)},[ft]),St=S.useCallback(()=>{ft(At[At.length-1])},[ft,At]),Ft=S.useMemo(()=>({move:ft,movePrev:Ct,moveNext:Ot,moveFirst:at,moveLast:St}),[ft,Ct,Ot,at,St]),Qt=S.useCallback(()=>{const Me={...rt,page:1};Et({entireItems:v,filteration:Ie,pagination:Me,sortation:Pe})},[Ie,rt,Et,v,Pe]),$t=S.useCallback(()=>{Ae(!Se)},[Se]),vr=S.useCallback(()=>{Se&&we?Oe==null||Oe(k0(we)):Ye==null||Ye(k0(oe))},[Se,we,Oe,oe,Ye]),Br=S.useMemo(()=>({apply:Qt,toggle:$t,clear:vr}),[Qt,$t,vr]);xC(()=>{re||Et({entireItems:v,filteration:Ie,pagination:rt,sortation:Pe})});const pr=S.useMemo(()=>lr.map(Be,([tt])=>Be[tt].minWidth??Fc).reduce((tt,Re)=>tt+Re,0),[Be]),he=S.useMemo(()=>be!==void 0,[be]);return C.jsxs(Yr,{className:f8.ATable,isDisabled:m,style:{minWidth:pr},children:[!V&&C.jsx(l9,{defs:Be,filterF:Br,filterType:O,hasToggleFilteration:we!==void 0,isFiltered:Ce,isRowRendered:he,noCount:G,noFilter:U,placeholder:I,resources:de,title:g,TopLeftAddon:ie,TopRightAddon:se,totalCount:Fe,useCheck:u&&kt?[kt,Dt]:void 0,useFilteration:[Ie,Ze],useSortation:[Pe,ct]}),C.jsx(L8,{appliedFilteration:Ne,defs:st,isEqual:ge,isLoading:Pt,isRowRendered:he,isSelectMulti:a,isTableDisabled:m,noDefHeader:ue,noMarking:Q,pagedItems:mt,pagination:rt,resources:de,rowHeight:F,RowRenderer:be,rProps:o,selectDisabled:c,showRows:j,useSelect:i,useSortation:[Pe,ct]}),!P&&C.jsx(z8,{pageF:Ft,pages:At,pagination:rt,rangedPages:Nt})]})},u9=r=>{const{defKey:e,item:t}=r;if(lr.hasKey(t,e)){const n=t[e];return lr.isReactNode(n)?n:null}else return null};function k0(r){const e={...r};for(const t in e)e[t].value=void 0;return e}const d9="_AText_1asz6_1",f9={AText:d9},_C=r=>{const{text:e,styled:t,style:n}=r,o=S.useMemo(()=>{if(e)if(t)if(n){if(t===!0)return n==="bold"?C.jsx("b",{children:e}):C.jsx("span",{style:n,children:e});if(typeof t=="string"){const i=e.split(t);return n==="bold"?i.map((a,c)=>C.jsxs(S.Fragment,{children:[hp(a),c<i.length-1?C.jsx("b",{children:hp(t)}):""]},c)):i.map((a,c)=>C.jsxs(S.Fragment,{children:[hp(a),c<i.length-1&&C.jsx("span",{style:n,children:hp(t)})]},c))}}else return e;else return e;else return""},[e,n,t]);return C.jsx("div",{className:Ke.clsx("Body1Reading",f9.AText,"NoSelect"),children:o})};function hp(r){const e=r.split(`
|
167
167
|
`);return e.map((t,n)=>C.jsxs(S.Fragment,{children:[t,n!==e.length-1&&C.jsx("br",{})]},n))}const h9="_Base_cpm4t_7",p9="_ATextArea_cpm4t_11",g9="_Primary_cpm4t_34",m9="_UnAvailable_cpm4t_39",v9="_Secondary_cpm4t_47",y9="_ReadOnly_cpm4t_59",pp={Base:h9,ATextArea:p9,Primary:g9,UnAvailable:m9,Secondary:v9,ReadOnly:y9,Error:"_Error_cpm4t_66"},b9=["Primary","Secondary","ReadOnly","Error"],x9=r=>{const{onEnterPress:e,errorMessage:t,type:n="Primary",textAreaRef:o,useValue:i,rows:a,isReadonly:c,placeholder:u,maxLength:f,tabIndex:p,autoFocus:m,textAreaProps:g,...v}=r,[{wrapId:w,wrapProps:T,labelProps:_,...A},R]=Ku(v),O=S.useMemo(()=>w9(t)?"Error":n,[t,n]),I=S.useMemo(()=>O==="ReadOnly"?!0:c,[O,c]),F=S.useMemo(()=>R.isDisabled||R.isLoading,[R.isDisabled,R.isLoading]),[B,z]=vn(i,""),j=S.useCallback(P=>{z&&z(P)},[z]),V=S.useCallback(P=>{var U;F||(j(P.target.value),(U=g==null?void 0:g.onChange)==null||U.call(g,P))},[F,j,g]),ue=S.useCallback(P=>{var U;if(!F){if((U=g==null?void 0:g.onKeyDown)==null||U.call(g,P),P.key==="Tab"){const G=P.currentTarget.selectionStart,Q=P.currentTarget.selectionEnd;P.currentTarget.value=P.currentTarget.value.substring(0,G)+" "+P.currentTarget.value.substring(Q),P.currentTarget.selectionStart=P.currentTarget.selectionEnd=G+1,P.preventDefault()}else P.key==="Enter"&&(e==null||e(P.currentTarget.value),P.stopPropagation());P.key!=="Escape"&&P.stopPropagation()}},[F,e,g]);return C.jsx(Vc,{wrapId:w,wrapProps:T,labelProps:_,...A,children:C.jsx(Yr,{...R,className:Ke.clsx(pp.Base,R.className),children:C.jsx("textarea",{...g,ref:o,autoFocus:m,className:Ke.clsx(pp.ATextArea,pp[O],F&&pp.UnAvailable,g==null?void 0:g.className),maxLength:f,placeholder:u,readOnly:I,rows:a,tabIndex:R.isDisabled||R.isLoading?-1:p,value:B,onChange:V,onKeyDown:ue})})})};function w9(r){return Array.isArray(r)?r.filter(Boolean).length>0:!!r}/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:AC,setPrototypeOf:I0,isFrozen:C9,getPrototypeOf:S9,getOwnPropertyDescriptor:_9}=Object;let{freeze:mi,seal:Os,create:EC}=Object,{apply:N1,construct:P1}=typeof Reflect<"u"&&Reflect;mi||(mi=function(e){return e});Os||(Os=function(e){return e});N1||(N1=function(e,t,n){return e.apply(t,n)});P1||(P1=function(e,t){return new e(...t)});const gp=vi(Array.prototype.forEach),A9=vi(Array.prototype.lastIndexOf),M0=vi(Array.prototype.pop),Kf=vi(Array.prototype.push),E9=vi(Array.prototype.splice),Hp=vi(String.prototype.toLowerCase),pm=vi(String.prototype.toString),L0=vi(String.prototype.match),Xf=vi(String.prototype.replace),T9=vi(String.prototype.indexOf),R9=vi(String.prototype.trim),aa=vi(Object.prototype.hasOwnProperty),pi=vi(RegExp.prototype.test),Jf=k9(TypeError);function vi(r){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return N1(r,e,n)}}function k9(r){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return P1(r,t)}}function Wr(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Hp;I0&&I0(r,null);let n=e.length;for(;n--;){let o=e[n];if(typeof o=="string"){const i=t(o);i!==o&&(C9(e)||(e[n]=i),o=i)}r[o]=!0}return r}function I9(r){for(let e=0;e<r.length;e++)aa(r,e)||(r[e]=null);return r}function Pl(r){const e=EC(null);for(const[t,n]of AC(r))aa(r,t)&&(Array.isArray(n)?e[t]=I9(n):n&&typeof n=="object"&&n.constructor===Object?e[t]=Pl(n):e[t]=n);return e}function Qf(r,e){for(;r!==null;){const n=_9(r,e);if(n){if(n.get)return vi(n.get);if(typeof n.value=="function")return vi(n.value)}r=S9(r)}function t(){return null}return t}const D0=mi(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),gm=mi(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),mm=mi(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M9=mi(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),vm=mi(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L9=mi(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O0=mi(["#text"]),N0=mi(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),ym=mi(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P0=mi(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),mp=mi(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D9=Os(/\{\{[\w\W]*|[\w\W]*\}\}/gm),O9=Os(/<%[\w\W]*|[\w\W]*%>/gm),N9=Os(/\$\{[\w\W]*/gm),P9=Os(/^data-[\-\w.\u00B7-\uFFFF]+$/),B9=Os(/^aria-[\-\w]+$/),TC=Os(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F9=Os(/^(?:\w+script|data):/i),j9=Os(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),RC=Os(/^html$/i),z9=Os(/^[a-z][.\w]*(-[.\w]+)+$/i);var B0=Object.freeze({__proto__:null,ARIA_ATTR:B9,ATTR_WHITESPACE:j9,CUSTOM_ELEMENT:z9,DATA_ATTR:P9,DOCTYPE_NAME:RC,ERB_EXPR:O9,IS_ALLOWED_URI:TC,IS_SCRIPT_OR_DATA:F9,MUSTACHE_EXPR:D9,TMPLIT_EXPR:N9});const eh={element:1,text:3,progressingInstruction:7,comment:8,document:9},H9=function(){return typeof window>"u"?null:window},$9=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},F0=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function kC(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:H9();const e=It=>kC(It);if(e.version="3.2.6",e.removed=[],!r||!r.document||r.document.nodeType!==eh.document||!r.Element)return e.isSupported=!1,e;let{document:t}=r;const n=t,o=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:c,Element:u,NodeFilter:f,NamedNodeMap:p=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:m,DOMParser:g,trustedTypes:v}=r,w=u.prototype,T=Qf(w,"cloneNode"),_=Qf(w,"remove"),A=Qf(w,"nextSibling"),R=Qf(w,"childNodes"),O=Qf(w,"parentNode");if(typeof a=="function"){const It=t.createElement("template");It.content&&It.content.ownerDocument&&(t=It.content.ownerDocument)}let I,F="";const{implementation:B,createNodeIterator:z,createDocumentFragment:j,getElementsByTagName:V}=t,{importNode:ue}=n;let P=F0();e.isSupported=typeof AC=="function"&&typeof O=="function"&&B&&B.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:U,ERB_EXPR:G,TMPLIT_EXPR:Q,DATA_ATTR:re,ARIA_ATTR:ie,IS_SCRIPT_OR_DATA:se,ATTR_WHITESPACE:ne,CUSTOM_ELEMENT:be}=B0;let{IS_ALLOWED_URI:te}=B0,de=null;const ge=Wr({},[...D0,...gm,...mm,...vm,...O0]);let Ee=null;const Be=Wr({},[...N0,...ym,...P0,...mp]);let oe=Object.seal(EC(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,we=null,Oe=!0,Se=!0,Ae=!1,Ie=!0,Ye=!1,Ne=!0,We=!1,Ve=!1,Ce=!1,Pe=!1,He=!1,Je=!1,wt=!0,Xe=!1;const Qe="user-content-";let dt=!0,mt=!1,Fe={},rt=null;const At=Wr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Nt=null;const kt=Wr({},["audio","video","img","source","image","track"]);let Dt=null;const Jt=Wr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),or="http://www.w3.org/1998/Math/MathML",ar="http://www.w3.org/2000/svg",tr="http://www.w3.org/1999/xhtml";let dr=tr,ke=!1,ae=null;const st=Wr({},[or,ar,tr],pm);let vt=Wr({},["mi","mo","mn","ms","mtext"]),Ht=Wr({},["annotation-xml"]);const Pt=Wr({},["title","style","font","a","script"]);let Et=null;const jt=["application/xhtml+xml","text/html"],Ze="text/html";let ct=null,ft=null;const Ct=t.createElement("form"),Ot=function(pe){return pe instanceof RegExp||pe instanceof Function},at=function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ft&&ft===pe)){if((!pe||typeof pe!="object")&&(pe={}),pe=Pl(pe),Et=jt.indexOf(pe.PARSER_MEDIA_TYPE)===-1?Ze:pe.PARSER_MEDIA_TYPE,ct=Et==="application/xhtml+xml"?pm:Hp,de=aa(pe,"ALLOWED_TAGS")?Wr({},pe.ALLOWED_TAGS,ct):ge,Ee=aa(pe,"ALLOWED_ATTR")?Wr({},pe.ALLOWED_ATTR,ct):Be,ae=aa(pe,"ALLOWED_NAMESPACES")?Wr({},pe.ALLOWED_NAMESPACES,pm):st,Dt=aa(pe,"ADD_URI_SAFE_ATTR")?Wr(Pl(Jt),pe.ADD_URI_SAFE_ATTR,ct):Jt,Nt=aa(pe,"ADD_DATA_URI_TAGS")?Wr(Pl(kt),pe.ADD_DATA_URI_TAGS,ct):kt,rt=aa(pe,"FORBID_CONTENTS")?Wr({},pe.FORBID_CONTENTS,ct):At,ve=aa(pe,"FORBID_TAGS")?Wr({},pe.FORBID_TAGS,ct):Pl({}),we=aa(pe,"FORBID_ATTR")?Wr({},pe.FORBID_ATTR,ct):Pl({}),Fe=aa(pe,"USE_PROFILES")?pe.USE_PROFILES:!1,Oe=pe.ALLOW_ARIA_ATTR!==!1,Se=pe.ALLOW_DATA_ATTR!==!1,Ae=pe.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=pe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ye=pe.SAFE_FOR_TEMPLATES||!1,Ne=pe.SAFE_FOR_XML!==!1,We=pe.WHOLE_DOCUMENT||!1,Pe=pe.RETURN_DOM||!1,He=pe.RETURN_DOM_FRAGMENT||!1,Je=pe.RETURN_TRUSTED_TYPE||!1,Ce=pe.FORCE_BODY||!1,wt=pe.SANITIZE_DOM!==!1,Xe=pe.SANITIZE_NAMED_PROPS||!1,dt=pe.KEEP_CONTENT!==!1,mt=pe.IN_PLACE||!1,te=pe.ALLOWED_URI_REGEXP||TC,dr=pe.NAMESPACE||tr,vt=pe.MATHML_TEXT_INTEGRATION_POINTS||vt,Ht=pe.HTML_INTEGRATION_POINTS||Ht,oe=pe.CUSTOM_ELEMENT_HANDLING||{},pe.CUSTOM_ELEMENT_HANDLING&&Ot(pe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(oe.tagNameCheck=pe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),pe.CUSTOM_ELEMENT_HANDLING&&Ot(pe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(oe.attributeNameCheck=pe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),pe.CUSTOM_ELEMENT_HANDLING&&typeof pe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(oe.allowCustomizedBuiltInElements=pe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ye&&(Se=!1),He&&(Pe=!0),Fe&&(de=Wr({},O0),Ee=[],Fe.html===!0&&(Wr(de,D0),Wr(Ee,N0)),Fe.svg===!0&&(Wr(de,gm),Wr(Ee,ym),Wr(Ee,mp)),Fe.svgFilters===!0&&(Wr(de,mm),Wr(Ee,ym),Wr(Ee,mp)),Fe.mathMl===!0&&(Wr(de,vm),Wr(Ee,P0),Wr(Ee,mp))),pe.ADD_TAGS&&(de===ge&&(de=Pl(de)),Wr(de,pe.ADD_TAGS,ct)),pe.ADD_ATTR&&(Ee===Be&&(Ee=Pl(Ee)),Wr(Ee,pe.ADD_ATTR,ct)),pe.ADD_URI_SAFE_ATTR&&Wr(Dt,pe.ADD_URI_SAFE_ATTR,ct),pe.FORBID_CONTENTS&&(rt===At&&(rt=Pl(rt)),Wr(rt,pe.FORBID_CONTENTS,ct)),dt&&(de["#text"]=!0),We&&Wr(de,["html","head","body"]),de.table&&(Wr(de,["tbody"]),delete ve.tbody),pe.TRUSTED_TYPES_POLICY){if(typeof pe.TRUSTED_TYPES_POLICY.createHTML!="function")throw Jf('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof pe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Jf('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');I=pe.TRUSTED_TYPES_POLICY,F=I.createHTML("")}else I===void 0&&(I=$9(v,o)),I!==null&&typeof F=="string"&&(F=I.createHTML(""));mi&&mi(pe),ft=pe}},St=Wr({},[...gm,...mm,...M9]),Ft=Wr({},[...vm,...L9]),Qt=function(pe){let lt=O(pe);(!lt||!lt.tagName)&&(lt={namespaceURI:dr,tagName:"template"});const bt=Hp(pe.tagName),fr=Hp(lt.tagName);return ae[pe.namespaceURI]?pe.namespaceURI===ar?lt.namespaceURI===tr?bt==="svg":lt.namespaceURI===or?bt==="svg"&&(fr==="annotation-xml"||vt[fr]):!!St[bt]:pe.namespaceURI===or?lt.namespaceURI===tr?bt==="math":lt.namespaceURI===ar?bt==="math"&&Ht[fr]:!!Ft[bt]:pe.namespaceURI===tr?lt.namespaceURI===ar&&!Ht[fr]||lt.namespaceURI===or&&!vt[fr]?!1:!Ft[bt]&&(Pt[bt]||!St[bt]):!!(Et==="application/xhtml+xml"&&ae[pe.namespaceURI]):!1},$t=function(pe){Kf(e.removed,{element:pe});try{O(pe).removeChild(pe)}catch{_(pe)}},vr=function(pe,lt){try{Kf(e.removed,{attribute:lt.getAttributeNode(pe),from:lt})}catch{Kf(e.removed,{attribute:null,from:lt})}if(lt.removeAttribute(pe),pe==="is")if(Pe||He)try{$t(lt)}catch{}else try{lt.setAttribute(pe,"")}catch{}},Br=function(pe){let lt=null,bt=null;if(Ce)pe="<remove></remove>"+pe;else{const cr=L0(pe,/^[\r\n\t ]+/);bt=cr&&cr[0]}Et==="application/xhtml+xml"&&dr===tr&&(pe='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+pe+"</body></html>");const fr=I?I.createHTML(pe):pe;if(dr===tr)try{lt=new g().parseFromString(fr,Et)}catch{}if(!lt||!lt.documentElement){lt=B.createDocument(dr,"template",null);try{lt.documentElement.innerHTML=ke?F:fr}catch{}}const Fr=lt.body||lt.documentElement;return pe&&bt&&Fr.insertBefore(t.createTextNode(bt),Fr.childNodes[0]||null),dr===tr?V.call(lt,We?"html":"body")[0]:We?lt.documentElement:Fr},pr=function(pe){return z.call(pe.ownerDocument||pe,pe,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},he=function(pe){return pe instanceof m&&(typeof pe.nodeName!="string"||typeof pe.textContent!="string"||typeof pe.removeChild!="function"||!(pe.attributes instanceof p)||typeof pe.removeAttribute!="function"||typeof pe.setAttribute!="function"||typeof pe.namespaceURI!="string"||typeof pe.insertBefore!="function"||typeof pe.hasChildNodes!="function")},Me=function(pe){return typeof c=="function"&&pe instanceof c};function tt(It,pe,lt){gp(It,bt=>{bt.call(e,pe,lt,ft)})}const Re=function(pe){let lt=null;if(tt(P.beforeSanitizeElements,pe,null),he(pe))return $t(pe),!0;const bt=ct(pe.nodeName);if(tt(P.uponSanitizeElement,pe,{tagName:bt,allowedTags:de}),Ne&&pe.hasChildNodes()&&!Me(pe.firstElementChild)&&pi(/<[/\w!]/g,pe.innerHTML)&&pi(/<[/\w!]/g,pe.textContent)||pe.nodeType===eh.progressingInstruction||Ne&&pe.nodeType===eh.comment&&pi(/<[/\w]/g,pe.data))return $t(pe),!0;if(!de[bt]||ve[bt]){if(!ve[bt]&&ht(bt)&&(oe.tagNameCheck instanceof RegExp&&pi(oe.tagNameCheck,bt)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(bt)))return!1;if(dt&&!rt[bt]){const fr=O(pe)||pe.parentNode,Fr=R(pe)||pe.childNodes;if(Fr&&fr){const cr=Fr.length;for(let xr=cr-1;xr>=0;--xr){const tn=T(Fr[xr],!0);tn.__removalCount=(pe.__removalCount||0)+1,fr.insertBefore(tn,A(pe))}}}return $t(pe),!0}return pe instanceof u&&!Qt(pe)||(bt==="noscript"||bt==="noembed"||bt==="noframes")&&pi(/<\/no(script|embed|frames)/i,pe.innerHTML)?($t(pe),!0):(Ye&&pe.nodeType===eh.text&&(lt=pe.textContent,gp([U,G,Q],fr=>{lt=Xf(lt,fr," ")}),pe.textContent!==lt&&(Kf(e.removed,{element:pe.cloneNode()}),pe.textContent=lt)),tt(P.afterSanitizeElements,pe,null),!1)},it=function(pe,lt,bt){if(wt&&(lt==="id"||lt==="name")&&(bt in t||bt in Ct))return!1;if(!(Se&&!we[lt]&&pi(re,lt))){if(!(Oe&&pi(ie,lt))){if(!Ee[lt]||we[lt]){if(!(ht(pe)&&(oe.tagNameCheck instanceof RegExp&&pi(oe.tagNameCheck,pe)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(pe))&&(oe.attributeNameCheck instanceof RegExp&&pi(oe.attributeNameCheck,lt)||oe.attributeNameCheck instanceof Function&&oe.attributeNameCheck(lt))||lt==="is"&&oe.allowCustomizedBuiltInElements&&(oe.tagNameCheck instanceof RegExp&&pi(oe.tagNameCheck,bt)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(bt))))return!1}else if(!Dt[lt]){if(!pi(te,Xf(bt,ne,""))){if(!((lt==="src"||lt==="xlink:href"||lt==="href")&&pe!=="script"&&T9(bt,"data:")===0&&Nt[pe])){if(!(Ae&&!pi(se,Xf(bt,ne,"")))){if(bt)return!1}}}}}}return!0},ht=function(pe){return pe!=="annotation-xml"&&L0(pe,be)},Bt=function(pe){tt(P.beforeSanitizeAttributes,pe,null);const{attributes:lt}=pe;if(!lt||he(pe))return;const bt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee,forceKeepAttr:void 0};let fr=lt.length;for(;fr--;){const Fr=lt[fr],{name:cr,namespaceURI:xr,value:tn}=Fr,sn=ct(cr),Pn=tn;let Hr=cr==="value"?Pn:R9(Pn);if(bt.attrName=sn,bt.attrValue=Hr,bt.keepAttr=!0,bt.forceKeepAttr=void 0,tt(P.uponSanitizeAttribute,pe,bt),Hr=bt.attrValue,Xe&&(sn==="id"||sn==="name")&&(vr(cr,pe),Hr=Qe+Hr),Ne&&pi(/((--!?|])>)|<\/(style|title)/i,Hr)){vr(cr,pe);continue}if(bt.forceKeepAttr)continue;if(!bt.keepAttr){vr(cr,pe);continue}if(!Ie&&pi(/\/>/i,Hr)){vr(cr,pe);continue}Ye&&gp([U,G,Q],In=>{Hr=Xf(Hr,In," ")});const rn=ct(pe.nodeName);if(!it(rn,sn,Hr)){vr(cr,pe);continue}if(I&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!xr)switch(v.getAttributeType(rn,sn)){case"TrustedHTML":{Hr=I.createHTML(Hr);break}case"TrustedScriptURL":{Hr=I.createScriptURL(Hr);break}}if(Hr!==Pn)try{xr?pe.setAttributeNS(xr,cr,Hr):pe.setAttribute(cr,Hr),he(pe)?$t(pe):M0(e.removed)}catch{vr(cr,pe)}}tt(P.afterSanitizeAttributes,pe,null)},Gt=function It(pe){let lt=null;const bt=pr(pe);for(tt(P.beforeSanitizeShadowDOM,pe,null);lt=bt.nextNode();)tt(P.uponSanitizeShadowNode,lt,null),Re(lt),Bt(lt),lt.content instanceof i&&It(lt.content);tt(P.afterSanitizeShadowDOM,pe,null)};return e.sanitize=function(It){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},lt=null,bt=null,fr=null,Fr=null;if(ke=!It,ke&&(It="<!-->"),typeof It!="string"&&!Me(It))if(typeof It.toString=="function"){if(It=It.toString(),typeof It!="string")throw Jf("dirty is not a string, aborting")}else throw Jf("toString is not a function");if(!e.isSupported)return It;if(Ve||at(pe),e.removed=[],typeof It=="string"&&(mt=!1),mt){if(It.nodeName){const tn=ct(It.nodeName);if(!de[tn]||ve[tn])throw Jf("root node is forbidden and cannot be sanitized in-place")}}else if(It instanceof c)lt=Br("<!---->"),bt=lt.ownerDocument.importNode(It,!0),bt.nodeType===eh.element&&bt.nodeName==="BODY"||bt.nodeName==="HTML"?lt=bt:lt.appendChild(bt);else{if(!Pe&&!Ye&&!We&&It.indexOf("<")===-1)return I&&Je?I.createHTML(It):It;if(lt=Br(It),!lt)return Pe?null:Je?F:""}lt&&Ce&&$t(lt.firstChild);const cr=pr(mt?It:lt);for(;fr=cr.nextNode();)Re(fr),Bt(fr),fr.content instanceof i&&Gt(fr.content);if(mt)return It;if(Pe){if(He)for(Fr=j.call(lt.ownerDocument);lt.firstChild;)Fr.appendChild(lt.firstChild);else Fr=lt;return(Ee.shadowroot||Ee.shadowrootmode)&&(Fr=ue.call(n,Fr,!0)),Fr}let xr=We?lt.outerHTML:lt.innerHTML;return We&&de["!doctype"]&<.ownerDocument&<.ownerDocument.doctype&<.ownerDocument.doctype.name&&pi(RC,lt.ownerDocument.doctype.name)&&(xr="<!DOCTYPE "+lt.ownerDocument.doctype.name+`>
|
168
168
|
`+xr),Ye&&gp([U,G,Q],tn=>{xr=Xf(xr,tn," ")}),I&&Je?I.createHTML(xr):xr},e.setConfig=function(){let It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};at(It),Ve=!0},e.clearConfig=function(){ft=null,Ve=!1},e.isValidAttribute=function(It,pe,lt){ft||at({});const bt=ct(It),fr=ct(pe);return it(bt,fr,lt)},e.addHook=function(It,pe){typeof pe=="function"&&Kf(P[It],pe)},e.removeHook=function(It,pe){if(pe!==void 0){const lt=A9(P[It],pe);return lt===-1?void 0:E9(P[It],lt,1)[0]}return M0(P[It])},e.removeHooks=function(It){P[It]=[]},e.removeAllHooks=function(){P=F0()},e}var q9=kC(),vp={exports:{}},bm,j0;function U9(){if(j0)return bm;j0=1;var r=-1,e=1,t=0;function n(P,U,G,Q,re){if(P===U)return P?[[t,P]]:[];if(G!=null){var ie=V(P,U,G);if(ie)return ie}var se=c(P,U),ne=P.substring(0,se);P=P.substring(se),U=U.substring(se),se=f(P,U);var be=P.substring(P.length-se);P=P.substring(0,P.length-se),U=U.substring(0,U.length-se);var te=o(P,U);return ne&&te.unshift([t,ne]),be&&te.push([t,be]),R(te,re),Q&&m(te),te}function o(P,U){var G;if(!P)return[[e,U]];if(!U)return[[r,P]];var Q=P.length>U.length?P:U,re=P.length>U.length?U:P,ie=Q.indexOf(re);if(ie!==-1)return G=[[e,Q.substring(0,ie)],[t,re],[e,Q.substring(ie+re.length)]],P.length>U.length&&(G[0][0]=G[2][0]=r),G;if(re.length===1)return[[r,P],[e,U]];var se=p(P,U);if(se){var ne=se[0],be=se[1],te=se[2],de=se[3],ge=se[4],Ee=n(ne,te),Be=n(be,de);return Ee.concat([[t,ge]],Be)}return i(P,U)}function i(P,U){for(var G=P.length,Q=U.length,re=Math.ceil((G+Q)/2),ie=re,se=2*re,ne=new Array(se),be=new Array(se),te=0;te<se;te++)ne[te]=-1,be[te]=-1;ne[ie+1]=0,be[ie+1]=0;for(var de=G-Q,ge=de%2!==0,Ee=0,Be=0,oe=0,ve=0,we=0;we<re;we++){for(var Oe=-we+Ee;Oe<=we-Be;Oe+=2){var Se=ie+Oe,Ae;Oe===-we||Oe!==we&&ne[Se-1]<ne[Se+1]?Ae=ne[Se+1]:Ae=ne[Se-1]+1;for(var Ie=Ae-Oe;Ae<G&&Ie<Q&&P.charAt(Ae)===U.charAt(Ie);)Ae++,Ie++;if(ne[Se]=Ae,Ae>G)Be+=2;else if(Ie>Q)Ee+=2;else if(ge){var Ye=ie+de-Oe;if(Ye>=0&&Ye<se&&be[Ye]!==-1){var Ne=G-be[Ye];if(Ae>=Ne)return a(P,U,Ae,Ie)}}}for(var We=-we+oe;We<=we-ve;We+=2){var Ye=ie+We,Ne;We===-we||We!==we&&be[Ye-1]<be[Ye+1]?Ne=be[Ye+1]:Ne=be[Ye-1]+1;for(var Ve=Ne-We;Ne<G&&Ve<Q&&P.charAt(G-Ne-1)===U.charAt(Q-Ve-1);)Ne++,Ve++;if(be[Ye]=Ne,Ne>G)ve+=2;else if(Ve>Q)oe+=2;else if(!ge){var Se=ie+de-We;if(Se>=0&&Se<se&&ne[Se]!==-1){var Ae=ne[Se],Ie=ie+Ae-Se;if(Ne=G-Ne,Ae>=Ne)return a(P,U,Ae,Ie)}}}}return[[r,P],[e,U]]}function a(P,U,G,Q){var re=P.substring(0,G),ie=U.substring(0,Q),se=P.substring(G),ne=U.substring(Q),be=n(re,ie),te=n(se,ne);return be.concat(te)}function c(P,U){if(!P||!U||P.charAt(0)!==U.charAt(0))return 0;for(var G=0,Q=Math.min(P.length,U.length),re=Q,ie=0;G<re;)P.substring(ie,re)==U.substring(ie,re)?(G=re,ie=G):Q=re,re=Math.floor((Q-G)/2+G);return O(P.charCodeAt(re-1))&&re--,re}function u(P,U){var G=P.length,Q=U.length;if(G==0||Q==0)return 0;G>Q?P=P.substring(G-Q):G<Q&&(U=U.substring(0,G));var re=Math.min(G,Q);if(P==U)return re;for(var ie=0,se=1;;){var ne=P.substring(re-se),be=U.indexOf(ne);if(be==-1)return ie;se+=be,(be==0||P.substring(re-se)==U.substring(0,se))&&(ie=se,se++)}}function f(P,U){if(!P||!U||P.slice(-1)!==U.slice(-1))return 0;for(var G=0,Q=Math.min(P.length,U.length),re=Q,ie=0;G<re;)P.substring(P.length-re,P.length-ie)==U.substring(U.length-re,U.length-ie)?(G=re,ie=G):Q=re,re=Math.floor((Q-G)/2+G);return I(P.charCodeAt(P.length-re))&&re--,re}function p(P,U){var G=P.length>U.length?P:U,Q=P.length>U.length?U:P;if(G.length<4||Q.length*2<G.length)return null;function re(Be,oe,ve){for(var we=Be.substring(ve,ve+Math.floor(Be.length/4)),Oe=-1,Se="",Ae,Ie,Ye,Ne;(Oe=oe.indexOf(we,Oe+1))!==-1;){var We=c(Be.substring(ve),oe.substring(Oe)),Ve=f(Be.substring(0,ve),oe.substring(0,Oe));Se.length<Ve+We&&(Se=oe.substring(Oe-Ve,Oe)+oe.substring(Oe,Oe+We),Ae=Be.substring(0,ve-Ve),Ie=Be.substring(ve+We),Ye=oe.substring(0,Oe-Ve),Ne=oe.substring(Oe+We))}return Se.length*2>=Be.length?[Ae,Ie,Ye,Ne,Se]:null}var ie=re(G,Q,Math.ceil(G.length/4)),se=re(G,Q,Math.ceil(G.length/2)),ne;if(!ie&&!se)return null;se?ie?ne=ie[4].length>se[4].length?ie:se:ne=se:ne=ie;var be,te,de,ge;P.length>U.length?(be=ne[0],te=ne[1],de=ne[2],ge=ne[3]):(de=ne[0],ge=ne[1],be=ne[2],te=ne[3]);var Ee=ne[4];return[be,te,de,ge,Ee]}function m(P){for(var U=!1,G=[],Q=0,re=null,ie=0,se=0,ne=0,be=0,te=0;ie<P.length;)P[ie][0]==t?(G[Q++]=ie,se=be,ne=te,be=0,te=0,re=P[ie][1]):(P[ie][0]==e?be+=P[ie][1].length:te+=P[ie][1].length,re&&re.length<=Math.max(se,ne)&&re.length<=Math.max(be,te)&&(P.splice(G[Q-1],0,[r,re]),P[G[Q-1]+1][0]=e,Q--,Q--,ie=Q>0?G[Q-1]:-1,se=0,ne=0,be=0,te=0,re=null,U=!0)),ie++;for(U&&R(P),A(P),ie=1;ie<P.length;){if(P[ie-1][0]==r&&P[ie][0]==e){var de=P[ie-1][1],ge=P[ie][1],Ee=u(de,ge),Be=u(ge,de);Ee>=Be?(Ee>=de.length/2||Ee>=ge.length/2)&&(P.splice(ie,0,[t,ge.substring(0,Ee)]),P[ie-1][1]=de.substring(0,de.length-Ee),P[ie+1][1]=ge.substring(Ee),ie++):(Be>=de.length/2||Be>=ge.length/2)&&(P.splice(ie,0,[t,de.substring(0,Be)]),P[ie-1][0]=e,P[ie-1][1]=ge.substring(0,ge.length-Be),P[ie+1][0]=r,P[ie+1][1]=de.substring(Be),ie++),ie++}ie++}}var g=/[^a-zA-Z0-9]/,v=/\s/,w=/[\r\n]/,T=/\n\r?\n$/,_=/^\r?\n\r?\n/;function A(P){function U(Be,oe){if(!Be||!oe)return 6;var ve=Be.charAt(Be.length-1),we=oe.charAt(0),Oe=ve.match(g),Se=we.match(g),Ae=Oe&&ve.match(v),Ie=Se&&we.match(v),Ye=Ae&&ve.match(w),Ne=Ie&&we.match(w),We=Ye&&Be.match(T),Ve=Ne&&oe.match(_);return We||Ve?5:Ye||Ne?4:Oe&&!Ae&&Ie?3:Ae||Ie?2:Oe||Se?1:0}for(var G=1;G<P.length-1;){if(P[G-1][0]==t&&P[G+1][0]==t){var Q=P[G-1][1],re=P[G][1],ie=P[G+1][1],se=f(Q,re);if(se){var ne=re.substring(re.length-se);Q=Q.substring(0,Q.length-se),re=ne+re.substring(0,re.length-se),ie=ne+ie}for(var be=Q,te=re,de=ie,ge=U(Q,re)+U(re,ie);re.charAt(0)===ie.charAt(0);){Q+=re.charAt(0),re=re.substring(1)+ie.charAt(0),ie=ie.substring(1);var Ee=U(Q,re)+U(re,ie);Ee>=ge&&(ge=Ee,be=Q,te=re,de=ie)}P[G-1][1]!=be&&(be?P[G-1][1]=be:(P.splice(G-1,1),G--),P[G][1]=te,de?P[G+1][1]=de:(P.splice(G+1,1),G--))}G++}}function R(P,U){P.push([t,""]);for(var G=0,Q=0,re=0,ie="",se="",ne;G<P.length;){if(G<P.length-1&&!P[G][1]){P.splice(G,1);continue}switch(P[G][0]){case e:re++,se+=P[G][1],G++;break;case r:Q++,ie+=P[G][1],G++;break;case t:var be=G-re-Q-1;if(U){if(be>=0&&B(P[be][1])){var te=P[be][1].slice(-1);if(P[be][1]=P[be][1].slice(0,-1),ie=te+ie,se=te+se,!P[be][1]){P.splice(be,1),G--;var de=be-1;P[de]&&P[de][0]===e&&(re++,se=P[de][1]+se,de--),P[de]&&P[de][0]===r&&(Q++,ie=P[de][1]+ie,de--),be=de}}if(F(P[G][1])){var te=P[G][1].charAt(0);P[G][1]=P[G][1].slice(1),ie+=te,se+=te}}if(G<P.length-1&&!P[G][1]){P.splice(G,1);break}if(ie.length>0||se.length>0){ie.length>0&&se.length>0&&(ne=c(se,ie),ne!==0&&(be>=0?P[be][1]+=se.substring(0,ne):(P.splice(0,0,[t,se.substring(0,ne)]),G++),se=se.substring(ne),ie=ie.substring(ne)),ne=f(se,ie),ne!==0&&(P[G][1]=se.substring(se.length-ne)+P[G][1],se=se.substring(0,se.length-ne),ie=ie.substring(0,ie.length-ne)));var ge=re+Q;ie.length===0&&se.length===0?(P.splice(G-ge,ge),G=G-ge):ie.length===0?(P.splice(G-ge,ge,[e,se]),G=G-ge+1):se.length===0?(P.splice(G-ge,ge,[r,ie]),G=G-ge+1):(P.splice(G-ge,ge,[r,ie],[e,se]),G=G-ge+2)}G!==0&&P[G-1][0]===t?(P[G-1][1]+=P[G][1],P.splice(G,1)):G++,re=0,Q=0,ie="",se="";break}}P[P.length-1][1]===""&&P.pop();var Ee=!1;for(G=1;G<P.length-1;)P[G-1][0]===t&&P[G+1][0]===t&&(P[G][1].substring(P[G][1].length-P[G-1][1].length)===P[G-1][1]?(P[G][1]=P[G-1][1]+P[G][1].substring(0,P[G][1].length-P[G-1][1].length),P[G+1][1]=P[G-1][1]+P[G+1][1],P.splice(G-1,1),Ee=!0):P[G][1].substring(0,P[G+1][1].length)==P[G+1][1]&&(P[G-1][1]+=P[G+1][1],P[G][1]=P[G][1].substring(P[G+1][1].length)+P[G+1][1],P.splice(G+1,1),Ee=!0)),G++;Ee&&R(P,U)}function O(P){return P>=55296&&P<=56319}function I(P){return P>=56320&&P<=57343}function F(P){return I(P.charCodeAt(0))}function B(P){return O(P.charCodeAt(P.length-1))}function z(P){for(var U=[],G=0;G<P.length;G++)P[G][1].length>0&&U.push(P[G]);return U}function j(P,U,G,Q){return B(P)||F(Q)?null:z([[t,P],[r,U],[e,G],[t,Q]])}function V(P,U,G){var Q=typeof G=="number"?{index:G,length:0}:G.oldRange,re=typeof G=="number"?null:G.newRange,ie=P.length,se=U.length;if(Q.length===0&&(re===null||re.length===0)){var ne=Q.index,be=P.slice(0,ne),te=P.slice(ne),de=re?re.index:null;e:{var ge=ne+se-ie;if(de!==null&&de!==ge||ge<0||ge>se)break e;var Ee=U.slice(0,ge),Be=U.slice(ge);if(Be!==te)break e;var oe=Math.min(ne,ge),ve=be.slice(0,oe),we=Ee.slice(0,oe);if(ve!==we)break e;var Oe=be.slice(oe),Se=Ee.slice(oe);return j(ve,Oe,Se,te)}e:{if(de!==null&&de!==ne)break e;var Ae=ne,Ee=U.slice(0,Ae),Be=U.slice(Ae);if(Ee!==be)break e;var Ie=Math.min(ie-Ae,se-Ae),Ye=te.slice(te.length-Ie),Ne=Be.slice(Be.length-Ie);if(Ye!==Ne)break e;var Oe=te.slice(0,te.length-Ie),Se=Be.slice(0,Be.length-Ie);return j(be,Oe,Se,Ye)}}if(Q.length>0&&re&&re.length===0)e:{var ve=P.slice(0,Q.index),Ye=P.slice(Q.index+Q.length),oe=ve.length,Ie=Ye.length;if(se<oe+Ie)break e;var we=U.slice(0,oe),Ne=U.slice(se-Ie);if(ve!==we||Ye!==Ne)break e;var Oe=P.slice(oe,ie-Ie),Se=U.slice(oe,se-Ie);return j(ve,Oe,Se,Ye)}return null}function ue(P,U,G,Q){return n(P,U,G,Q,!0)}return ue.INSERT=e,ue.DELETE=r,ue.EQUAL=t,bm=ue,bm}var dh={exports:{}};dh.exports;var z0;function IC(){return z0||(z0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",c="[object Boolean]",u="[object Date]",f="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",v="[object Number]",w="[object Object]",T="[object Promise]",_="[object RegExp]",A="[object Set]",R="[object String]",O="[object Symbol]",I="[object WeakMap]",F="[object ArrayBuffer]",B="[object DataView]",z="[object Float32Array]",j="[object Float64Array]",V="[object Int8Array]",ue="[object Int16Array]",P="[object Int32Array]",U="[object Uint8Array]",G="[object Uint8ClampedArray]",Q="[object Uint16Array]",re="[object Uint32Array]",ie=/[\\^$.*+?()[\]{}|]/g,se=/\w*$/,ne=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,te={};te[i]=te[a]=te[F]=te[B]=te[c]=te[u]=te[z]=te[j]=te[V]=te[ue]=te[P]=te[g]=te[v]=te[w]=te[_]=te[A]=te[R]=te[O]=te[U]=te[G]=te[Q]=te[re]=!0,te[f]=te[p]=te[I]=!1;var de=typeof Di=="object"&&Di&&Di.Object===Object&&Di,ge=typeof self=="object"&&self&&self.Object===Object&&self,Ee=de||ge||Function("return this")(),Be=e&&!e.nodeType&&e,oe=Be&&!0&&r&&!r.nodeType&&r,ve=oe&&oe.exports===Be;function we(D,J){return D.set(J[0],J[1]),D}function Oe(D,J){return D.add(J),D}function Se(D,J){for(var xe=-1,ot=D?D.length:0;++xe<ot&&J(D[xe],xe,D)!==!1;);return D}function Ae(D,J){for(var xe=-1,ot=J.length,ir=D.length;++xe<ot;)D[ir+xe]=J[xe];return D}function Ie(D,J,xe,ot){for(var ir=-1,Kt=D?D.length:0;++ir<Kt;)xe=J(xe,D[ir],ir,D);return xe}function Ye(D,J){for(var xe=-1,ot=Array(D);++xe<D;)ot[xe]=J(xe);return ot}function Ne(D,J){return D==null?void 0:D[J]}function We(D){var J=!1;if(D!=null&&typeof D.toString!="function")try{J=!!(D+"")}catch{}return J}function Ve(D){var J=-1,xe=Array(D.size);return D.forEach(function(ot,ir){xe[++J]=[ir,ot]}),xe}function Ce(D,J){return function(xe){return D(J(xe))}}function Pe(D){var J=-1,xe=Array(D.size);return D.forEach(function(ot){xe[++J]=ot}),xe}var He=Array.prototype,Je=Function.prototype,wt=Object.prototype,Xe=Ee["__core-js_shared__"],Qe=function(){var D=/[^.]+$/.exec(Xe&&Xe.keys&&Xe.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),dt=Je.toString,mt=wt.hasOwnProperty,Fe=wt.toString,rt=RegExp("^"+dt.call(mt).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),At=ve?Ee.Buffer:void 0,Nt=Ee.Symbol,kt=Ee.Uint8Array,Dt=Ce(Object.getPrototypeOf,Object),Jt=Object.create,or=wt.propertyIsEnumerable,ar=He.splice,tr=Object.getOwnPropertySymbols,dr=At?At.isBuffer:void 0,ke=Ce(Object.keys,Object),ae=qt(Ee,"DataView"),st=qt(Ee,"Map"),vt=qt(Ee,"Promise"),Ht=qt(Ee,"Set"),Pt=qt(Ee,"WeakMap"),Et=qt(Object,"create"),jt=dn(ae),Ze=dn(st),ct=dn(vt),ft=dn(Ht),Ct=dn(Pt),Ot=Nt?Nt.prototype:void 0,at=Ot?Ot.valueOf:void 0;function St(D){var J=-1,xe=D?D.length:0;for(this.clear();++J<xe;){var ot=D[J];this.set(ot[0],ot[1])}}function Ft(){this.__data__=Et?Et(null):{}}function Qt(D){return this.has(D)&&delete this.__data__[D]}function $t(D){var J=this.__data__;if(Et){var xe=J[D];return xe===n?void 0:xe}return mt.call(J,D)?J[D]:void 0}function vr(D){var J=this.__data__;return Et?J[D]!==void 0:mt.call(J,D)}function Br(D,J){var xe=this.__data__;return xe[D]=Et&&J===void 0?n:J,this}St.prototype.clear=Ft,St.prototype.delete=Qt,St.prototype.get=$t,St.prototype.has=vr,St.prototype.set=Br;function pr(D){var J=-1,xe=D?D.length:0;for(this.clear();++J<xe;){var ot=D[J];this.set(ot[0],ot[1])}}function he(){this.__data__=[]}function Me(D){var J=this.__data__,xe=Hr(J,D);if(xe<0)return!1;var ot=J.length-1;return xe==ot?J.pop():ar.call(J,xe,1),!0}function tt(D){var J=this.__data__,xe=Hr(J,D);return xe<0?void 0:J[xe][1]}function Re(D){return Hr(this.__data__,D)>-1}function it(D,J){var xe=this.__data__,ot=Hr(xe,D);return ot<0?xe.push([D,J]):xe[ot][1]=J,this}pr.prototype.clear=he,pr.prototype.delete=Me,pr.prototype.get=tt,pr.prototype.has=Re,pr.prototype.set=it;function ht(D){var J=-1,xe=D?D.length:0;for(this.clear();++J<xe;){var ot=D[J];this.set(ot[0],ot[1])}}function Bt(){this.__data__={hash:new St,map:new(st||pr),string:new St}}function Gt(D){return Rt(this,D).delete(D)}function It(D){return Rt(this,D).get(D)}function pe(D){return Rt(this,D).has(D)}function lt(D,J){return Rt(this,D).set(D,J),this}ht.prototype.clear=Bt,ht.prototype.delete=Gt,ht.prototype.get=It,ht.prototype.has=pe,ht.prototype.set=lt;function bt(D){this.__data__=new pr(D)}function fr(){this.__data__=new pr}function Fr(D){return this.__data__.delete(D)}function cr(D){return this.__data__.get(D)}function xr(D){return this.__data__.has(D)}function tn(D,J){var xe=this.__data__;if(xe instanceof pr){var ot=xe.__data__;if(!st||ot.length<t-1)return ot.push([D,J]),this;xe=this.__data__=new ht(ot)}return xe.set(D,J),this}bt.prototype.clear=fr,bt.prototype.delete=Fr,bt.prototype.get=cr,bt.prototype.has=xr,bt.prototype.set=tn;function sn(D,J){var xe=Pi(D)||so(D)?Ye(D.length,String):[],ot=xe.length,ir=!!ot;for(var Kt in D)mt.call(D,Kt)&&!(ir&&(Kt=="length"||Ln(Kt,ot)))&&xe.push(Kt);return xe}function Pn(D,J,xe){var ot=D[J];(!(mt.call(D,J)&&Xn(ot,xe))||xe===void 0&&!(J in D))&&(D[J]=xe)}function Hr(D,J){for(var xe=D.length;xe--;)if(Xn(D[xe][0],J))return xe;return-1}function rn(D,J){return D&&Ue(J,zr(J),D)}function In(D,J,xe,ot,ir,Kt,_r){var Ir;if(ot&&(Ir=Kt?ot(D,ir,Kt,_r):ot(D)),Ir!==void 0)return Ir;if(!lo(D))return D;var Cr=Pi(D);if(Cr){if(Ir=kr(D),!J)return le(D,Ir)}else{var Lr=Vt(D),fn=Lr==p||Lr==m;if($n(D))return Fn(D,J);if(Lr==w||Lr==i||fn&&!Kt){if(We(D))return Kt?D:{};if(Ir=an(fn?{}:D),!J)return ze(D,rn(Ir,D))}else{if(!te[Lr])return Kt?D:{};Ir=Mn(D,Lr,In,J)}}_r||(_r=new bt);var qn=_r.get(D);if(qn)return qn;if(_r.set(D,Ir),!Cr)var nn=xe?nt(D):zr(D);return Se(nn||D,function(Vr,hn){nn&&(hn=Vr,Vr=D[hn]),Pn(Ir,hn,In(Vr,J,xe,ot,hn,D,_r))}),Ir}function Bn(D){return lo(D)?Jt(D):{}}function _o(D,J,xe){var ot=J(D);return Pi(D)?ot:Ae(ot,xe(D))}function Do(D){return Fe.call(D)}function Oo(D){if(!lo(D)||Kn(D))return!1;var J=Bi(D)||We(D)?rt:ne;return J.test(dn(D))}function Hn(D){if(!No(D))return ke(D);var J=[];for(var xe in Object(D))mt.call(D,xe)&&xe!="constructor"&&J.push(xe);return J}function Fn(D,J){if(J)return D.slice();var xe=new D.constructor(D.length);return D.copy(xe),xe}function Cn(D){var J=new D.constructor(D.byteLength);return new kt(J).set(new kt(D)),J}function io(D,J){var xe=J?Cn(D.buffer):D.buffer;return new D.constructor(xe,D.byteOffset,D.byteLength)}function yn(D,J,xe){var ot=J?xe(Ve(D),!0):Ve(D);return Ie(ot,we,new D.constructor)}function En(D){var J=new D.constructor(D.source,se.exec(D));return J.lastIndex=D.lastIndex,J}function k(D,J,xe){var ot=J?xe(Pe(D),!0):Pe(D);return Ie(ot,Oe,new D.constructor)}function $(D){return at?Object(at.call(D)):{}}function X(D,J){var xe=J?Cn(D.buffer):D.buffer;return new D.constructor(xe,D.byteOffset,D.length)}function le(D,J){var xe=-1,ot=D.length;for(J||(J=Array(ot));++xe<ot;)J[xe]=D[xe];return J}function Ue(D,J,xe,ot){xe||(xe={});for(var ir=-1,Kt=J.length;++ir<Kt;){var _r=J[ir],Ir=void 0;Pn(xe,_r,Ir===void 0?D[_r]:Ir)}return xe}function ze(D,J){return Ue(D,Yt(D),J)}function nt(D){return _o(D,zr,Yt)}function Rt(D,J){var xe=D.__data__;return po(J)?xe[typeof J=="string"?"string":"hash"]:xe.map}function qt(D,J){var xe=Ne(D,J);return Oo(xe)?xe:void 0}var Yt=tr?Ce(tr,Object):Mr,Vt=Do;(ae&&Vt(new ae(new ArrayBuffer(1)))!=B||st&&Vt(new st)!=g||vt&&Vt(vt.resolve())!=T||Ht&&Vt(new Ht)!=A||Pt&&Vt(new Pt)!=I)&&(Vt=function(D){var J=Fe.call(D),xe=J==w?D.constructor:void 0,ot=xe?dn(xe):void 0;if(ot)switch(ot){case jt:return B;case Ze:return g;case ct:return T;case ft:return A;case Ct:return I}return J});function kr(D){var J=D.length,xe=D.constructor(J);return J&&typeof D[0]=="string"&&mt.call(D,"index")&&(xe.index=D.index,xe.input=D.input),xe}function an(D){return typeof D.constructor=="function"&&!No(D)?Bn(Dt(D)):{}}function Mn(D,J,xe,ot){var ir=D.constructor;switch(J){case F:return Cn(D);case c:case u:return new ir(+D);case B:return io(D,ot);case z:case j:case V:case ue:case P:case U:case G:case Q:case re:return X(D,ot);case g:return yn(D,ot,xe);case v:case R:return new ir(D);case _:return En(D);case A:return k(D,ot,xe);case O:return $(D)}}function Ln(D,J){return J=J??o,!!J&&(typeof D=="number"||be.test(D))&&D>-1&&D%1==0&&D<J}function po(D){var J=typeof D;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?D!=="__proto__":D===null}function Kn(D){return!!Qe&&Qe in D}function No(D){var J=D&&D.constructor,xe=typeof J=="function"&&J.prototype||wt;return D===xe}function dn(D){if(D!=null){try{return dt.call(D)}catch{}try{return D+""}catch{}}return""}function Ao(D){return In(D,!0,!0)}function Xn(D,J){return D===J||D!==D&&J!==J}function so(D){return bi(D)&&mt.call(D,"callee")&&(!or.call(D,"callee")||Fe.call(D)==i)}var Pi=Array.isArray;function yi(D){return D!=null&&ao(D.length)&&!Bi(D)}function bi(D){return ri(D)&&yi(D)}var $n=dr||jr;function Bi(D){var J=lo(D)?Fe.call(D):"";return J==p||J==m}function ao(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=o}function lo(D){var J=typeof D;return!!D&&(J=="object"||J=="function")}function ri(D){return!!D&&typeof D=="object"}function zr(D){return yi(D)?sn(D):Hn(D)}function Mr(){return[]}function jr(){return!1}r.exports=Ao}(dh,dh.exports)),dh.exports}var fh={exports:{}};fh.exports;var H0;function MC(){return H0||(H0=1,function(r,e){var t=200,n="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,c="[object Arguments]",u="[object Array]",f="[object AsyncFunction]",p="[object Boolean]",m="[object Date]",g="[object Error]",v="[object Function]",w="[object GeneratorFunction]",T="[object Map]",_="[object Number]",A="[object Null]",R="[object Object]",O="[object Promise]",I="[object Proxy]",F="[object RegExp]",B="[object Set]",z="[object String]",j="[object Symbol]",V="[object Undefined]",ue="[object WeakMap]",P="[object ArrayBuffer]",U="[object DataView]",G="[object Float32Array]",Q="[object Float64Array]",re="[object Int8Array]",ie="[object Int16Array]",se="[object Int32Array]",ne="[object Uint8Array]",be="[object Uint8ClampedArray]",te="[object Uint16Array]",de="[object Uint32Array]",ge=/[\\^$.*+?()[\]{}|]/g,Ee=/^\[object .+?Constructor\]$/,Be=/^(?:0|[1-9]\d*)$/,oe={};oe[G]=oe[Q]=oe[re]=oe[ie]=oe[se]=oe[ne]=oe[be]=oe[te]=oe[de]=!0,oe[c]=oe[u]=oe[P]=oe[p]=oe[U]=oe[m]=oe[g]=oe[v]=oe[T]=oe[_]=oe[R]=oe[F]=oe[B]=oe[z]=oe[ue]=!1;var ve=typeof Di=="object"&&Di&&Di.Object===Object&&Di,we=typeof self=="object"&&self&&self.Object===Object&&self,Oe=ve||we||Function("return this")(),Se=e&&!e.nodeType&&e,Ae=Se&&!0&&r&&!r.nodeType&&r,Ie=Ae&&Ae.exports===Se,Ye=Ie&&ve.process,Ne=function(){try{return Ye&&Ye.binding&&Ye.binding("util")}catch{}}(),We=Ne&&Ne.isTypedArray;function Ve(D,J){for(var xe=-1,ot=D==null?0:D.length,ir=0,Kt=[];++xe<ot;){var _r=D[xe];J(_r,xe,D)&&(Kt[ir++]=_r)}return Kt}function Ce(D,J){for(var xe=-1,ot=J.length,ir=D.length;++xe<ot;)D[ir+xe]=J[xe];return D}function Pe(D,J){for(var xe=-1,ot=D==null?0:D.length;++xe<ot;)if(J(D[xe],xe,D))return!0;return!1}function He(D,J){for(var xe=-1,ot=Array(D);++xe<D;)ot[xe]=J(xe);return ot}function Je(D){return function(J){return D(J)}}function wt(D,J){return D.has(J)}function Xe(D,J){return D==null?void 0:D[J]}function Qe(D){var J=-1,xe=Array(D.size);return D.forEach(function(ot,ir){xe[++J]=[ir,ot]}),xe}function dt(D,J){return function(xe){return D(J(xe))}}function mt(D){var J=-1,xe=Array(D.size);return D.forEach(function(ot){xe[++J]=ot}),xe}var Fe=Array.prototype,rt=Function.prototype,At=Object.prototype,Nt=Oe["__core-js_shared__"],kt=rt.toString,Dt=At.hasOwnProperty,Jt=function(){var D=/[^.]+$/.exec(Nt&&Nt.keys&&Nt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),or=At.toString,ar=RegExp("^"+kt.call(Dt).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tr=Ie?Oe.Buffer:void 0,dr=Oe.Symbol,ke=Oe.Uint8Array,ae=At.propertyIsEnumerable,st=Fe.splice,vt=dr?dr.toStringTag:void 0,Ht=Object.getOwnPropertySymbols,Pt=tr?tr.isBuffer:void 0,Et=dt(Object.keys,Object),jt=Yt(Oe,"DataView"),Ze=Yt(Oe,"Map"),ct=Yt(Oe,"Promise"),ft=Yt(Oe,"Set"),Ct=Yt(Oe,"WeakMap"),Ot=Yt(Object,"create"),at=dn(jt),St=dn(Ze),Ft=dn(ct),Qt=dn(ft),$t=dn(Ct),vr=dr?dr.prototype:void 0,Br=vr?vr.valueOf:void 0;function pr(D){var J=-1,xe=D==null?0:D.length;for(this.clear();++J<xe;){var ot=D[J];this.set(ot[0],ot[1])}}function he(){this.__data__=Ot?Ot(null):{},this.size=0}function Me(D){var J=this.has(D)&&delete this.__data__[D];return this.size-=J?1:0,J}function tt(D){var J=this.__data__;if(Ot){var xe=J[D];return xe===n?void 0:xe}return Dt.call(J,D)?J[D]:void 0}function Re(D){var J=this.__data__;return Ot?J[D]!==void 0:Dt.call(J,D)}function it(D,J){var xe=this.__data__;return this.size+=this.has(D)?0:1,xe[D]=Ot&&J===void 0?n:J,this}pr.prototype.clear=he,pr.prototype.delete=Me,pr.prototype.get=tt,pr.prototype.has=Re,pr.prototype.set=it;function ht(D){var J=-1,xe=D==null?0:D.length;for(this.clear();++J<xe;){var ot=D[J];this.set(ot[0],ot[1])}}function Bt(){this.__data__=[],this.size=0}function Gt(D){var J=this.__data__,xe=Fn(J,D);if(xe<0)return!1;var ot=J.length-1;return xe==ot?J.pop():st.call(J,xe,1),--this.size,!0}function It(D){var J=this.__data__,xe=Fn(J,D);return xe<0?void 0:J[xe][1]}function pe(D){return Fn(this.__data__,D)>-1}function lt(D,J){var xe=this.__data__,ot=Fn(xe,D);return ot<0?(++this.size,xe.push([D,J])):xe[ot][1]=J,this}ht.prototype.clear=Bt,ht.prototype.delete=Gt,ht.prototype.get=It,ht.prototype.has=pe,ht.prototype.set=lt;function bt(D){var J=-1,xe=D==null?0:D.length;for(this.clear();++J<xe;){var ot=D[J];this.set(ot[0],ot[1])}}function fr(){this.size=0,this.__data__={hash:new pr,map:new(Ze||ht),string:new pr}}function Fr(D){var J=qt(this,D).delete(D);return this.size-=J?1:0,J}function cr(D){return qt(this,D).get(D)}function xr(D){return qt(this,D).has(D)}function tn(D,J){var xe=qt(this,D),ot=xe.size;return xe.set(D,J),this.size+=xe.size==ot?0:1,this}bt.prototype.clear=fr,bt.prototype.delete=Fr,bt.prototype.get=cr,bt.prototype.has=xr,bt.prototype.set=tn;function sn(D){var J=-1,xe=D==null?0:D.length;for(this.__data__=new bt;++J<xe;)this.add(D[J])}function Pn(D){return this.__data__.set(D,n),this}function Hr(D){return this.__data__.has(D)}sn.prototype.add=sn.prototype.push=Pn,sn.prototype.has=Hr;function rn(D){var J=this.__data__=new ht(D);this.size=J.size}function In(){this.__data__=new ht,this.size=0}function Bn(D){var J=this.__data__,xe=J.delete(D);return this.size=J.size,xe}function _o(D){return this.__data__.get(D)}function Do(D){return this.__data__.has(D)}function Oo(D,J){var xe=this.__data__;if(xe instanceof ht){var ot=xe.__data__;if(!Ze||ot.length<t-1)return ot.push([D,J]),this.size=++xe.size,this;xe=this.__data__=new bt(ot)}return xe.set(D,J),this.size=xe.size,this}rn.prototype.clear=In,rn.prototype.delete=Bn,rn.prototype.get=_o,rn.prototype.has=Do,rn.prototype.set=Oo;function Hn(D,J){var xe=so(D),ot=!xe&&Xn(D),ir=!xe&&!ot&&yi(D),Kt=!xe&&!ot&&!ir&&ri(D),_r=xe||ot||ir||Kt,Ir=_r?He(D.length,String):[],Cr=Ir.length;for(var Lr in D)Dt.call(D,Lr)&&!(_r&&(Lr=="length"||ir&&(Lr=="offset"||Lr=="parent")||Kt&&(Lr=="buffer"||Lr=="byteLength"||Lr=="byteOffset")||Mn(Lr,Cr)))&&Ir.push(Lr);return Ir}function Fn(D,J){for(var xe=D.length;xe--;)if(Ao(D[xe][0],J))return xe;return-1}function Cn(D,J,xe){var ot=J(D);return so(D)?ot:Ce(ot,xe(D))}function io(D){return D==null?D===void 0?V:A:vt&&vt in Object(D)?Vt(D):No(D)}function yn(D){return lo(D)&&io(D)==c}function En(D,J,xe,ot,ir){return D===J?!0:D==null||J==null||!lo(D)&&!lo(J)?D!==D&&J!==J:k(D,J,xe,ot,En,ir)}function k(D,J,xe,ot,ir,Kt){var _r=so(D),Ir=so(J),Cr=_r?u:an(D),Lr=Ir?u:an(J);Cr=Cr==c?R:Cr,Lr=Lr==c?R:Lr;var fn=Cr==R,qn=Lr==R,nn=Cr==Lr;if(nn&&yi(D)){if(!yi(J))return!1;_r=!0,fn=!1}if(nn&&!fn)return Kt||(Kt=new rn),_r||ri(D)?Ue(D,J,xe,ot,ir,Kt):ze(D,J,Cr,xe,ot,ir,Kt);if(!(xe&o)){var Vr=fn&&Dt.call(D,"__wrapped__"),hn=qn&&Dt.call(J,"__wrapped__");if(Vr||hn){var go=Vr?D.value():D,Eo=hn?J.value():J;return Kt||(Kt=new rn),ir(go,Eo,xe,ot,Kt)}}return nn?(Kt||(Kt=new rn),nt(D,J,xe,ot,ir,Kt)):!1}function $(D){if(!ao(D)||po(D))return!1;var J=$n(D)?ar:Ee;return J.test(dn(D))}function X(D){return lo(D)&&Bi(D.length)&&!!oe[io(D)]}function le(D){if(!Kn(D))return Et(D);var J=[];for(var xe in Object(D))Dt.call(D,xe)&&xe!="constructor"&&J.push(xe);return J}function Ue(D,J,xe,ot,ir,Kt){var _r=xe&o,Ir=D.length,Cr=J.length;if(Ir!=Cr&&!(_r&&Cr>Ir))return!1;var Lr=Kt.get(D);if(Lr&&Kt.get(J))return Lr==J;var fn=-1,qn=!0,nn=xe&i?new sn:void 0;for(Kt.set(D,J),Kt.set(J,D);++fn<Ir;){var Vr=D[fn],hn=J[fn];if(ot)var go=_r?ot(hn,Vr,fn,J,D,Kt):ot(Vr,hn,fn,D,J,Kt);if(go!==void 0){if(go)continue;qn=!1;break}if(nn){if(!Pe(J,function(Eo,Jn){if(!wt(nn,Jn)&&(Vr===Eo||ir(Vr,Eo,xe,ot,Kt)))return nn.push(Jn)})){qn=!1;break}}else if(!(Vr===hn||ir(Vr,hn,xe,ot,Kt))){qn=!1;break}}return Kt.delete(D),Kt.delete(J),qn}function ze(D,J,xe,ot,ir,Kt,_r){switch(xe){case U:if(D.byteLength!=J.byteLength||D.byteOffset!=J.byteOffset)return!1;D=D.buffer,J=J.buffer;case P:return!(D.byteLength!=J.byteLength||!Kt(new ke(D),new ke(J)));case p:case m:case _:return Ao(+D,+J);case g:return D.name==J.name&&D.message==J.message;case F:case z:return D==J+"";case T:var Ir=Qe;case B:var Cr=ot&o;if(Ir||(Ir=mt),D.size!=J.size&&!Cr)return!1;var Lr=_r.get(D);if(Lr)return Lr==J;ot|=i,_r.set(D,J);var fn=Ue(Ir(D),Ir(J),ot,ir,Kt,_r);return _r.delete(D),fn;case j:if(Br)return Br.call(D)==Br.call(J)}return!1}function nt(D,J,xe,ot,ir,Kt){var _r=xe&o,Ir=Rt(D),Cr=Ir.length,Lr=Rt(J),fn=Lr.length;if(Cr!=fn&&!_r)return!1;for(var qn=Cr;qn--;){var nn=Ir[qn];if(!(_r?nn in J:Dt.call(J,nn)))return!1}var Vr=Kt.get(D);if(Vr&&Kt.get(J))return Vr==J;var hn=!0;Kt.set(D,J),Kt.set(J,D);for(var go=_r;++qn<Cr;){nn=Ir[qn];var Eo=D[nn],Jn=J[nn];if(ot)var Fi=_r?ot(Jn,Eo,nn,J,D,Kt):ot(Eo,Jn,nn,D,J,Kt);if(!(Fi===void 0?Eo===Jn||ir(Eo,Jn,xe,ot,Kt):Fi)){hn=!1;break}go||(go=nn=="constructor")}if(hn&&!go){var ni=D.constructor,bn=J.constructor;ni!=bn&&"constructor"in D&&"constructor"in J&&!(typeof ni=="function"&&ni instanceof ni&&typeof bn=="function"&&bn instanceof bn)&&(hn=!1)}return Kt.delete(D),Kt.delete(J),hn}function Rt(D){return Cn(D,zr,kr)}function qt(D,J){var xe=D.__data__;return Ln(J)?xe[typeof J=="string"?"string":"hash"]:xe.map}function Yt(D,J){var xe=Xe(D,J);return $(xe)?xe:void 0}function Vt(D){var J=Dt.call(D,vt),xe=D[vt];try{D[vt]=void 0;var ot=!0}catch{}var ir=or.call(D);return ot&&(J?D[vt]=xe:delete D[vt]),ir}var kr=Ht?function(D){return D==null?[]:(D=Object(D),Ve(Ht(D),function(J){return ae.call(D,J)}))}:Mr,an=io;(jt&&an(new jt(new ArrayBuffer(1)))!=U||Ze&&an(new Ze)!=T||ct&&an(ct.resolve())!=O||ft&&an(new ft)!=B||Ct&&an(new Ct)!=ue)&&(an=function(D){var J=io(D),xe=J==R?D.constructor:void 0,ot=xe?dn(xe):"";if(ot)switch(ot){case at:return U;case St:return T;case Ft:return O;case Qt:return B;case $t:return ue}return J});function Mn(D,J){return J=J??a,!!J&&(typeof D=="number"||Be.test(D))&&D>-1&&D%1==0&&D<J}function Ln(D){var J=typeof D;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?D!=="__proto__":D===null}function po(D){return!!Jt&&Jt in D}function Kn(D){var J=D&&D.constructor,xe=typeof J=="function"&&J.prototype||At;return D===xe}function No(D){return or.call(D)}function dn(D){if(D!=null){try{return kt.call(D)}catch{}try{return D+""}catch{}}return""}function Ao(D,J){return D===J||D!==D&&J!==J}var Xn=yn(function(){return arguments}())?yn:function(D){return lo(D)&&Dt.call(D,"callee")&&!ae.call(D,"callee")},so=Array.isArray;function Pi(D){return D!=null&&Bi(D.length)&&!$n(D)}var yi=Pt||jr;function bi(D,J){return En(D,J)}function $n(D){if(!ao(D))return!1;var J=io(D);return J==v||J==w||J==f||J==I}function Bi(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=a}function ao(D){var J=typeof D;return D!=null&&(J=="object"||J=="function")}function lo(D){return D!=null&&typeof D=="object"}var ri=We?Je(We):X;function zr(D){return Pi(D)?Hn(D):le(D)}function Mr(){return[]}function jr(){return!1}r.exports=bi}(fh,fh.exports)),fh.exports}var yp={},$0;function W9(){if($0)return yp;$0=1,Object.defineProperty(yp,"__esModule",{value:!0});const r=IC(),e=MC();var t;return function(n){function o(u={},f={},p=!1){typeof u!="object"&&(u={}),typeof f!="object"&&(f={});let m=r(f);p||(m=Object.keys(m).reduce((g,v)=>(m[v]!=null&&(g[v]=m[v]),g),{}));for(const g in u)u[g]!==void 0&&f[g]===void 0&&(m[g]=u[g]);return Object.keys(m).length>0?m:void 0}n.compose=o;function i(u={},f={}){typeof u!="object"&&(u={}),typeof f!="object"&&(f={});const p=Object.keys(u).concat(Object.keys(f)).reduce((m,g)=>(e(u[g],f[g])||(m[g]=f[g]===void 0?null:f[g]),m),{});return Object.keys(p).length>0?p:void 0}n.diff=i;function a(u={},f={}){u=u||{};const p=Object.keys(f).reduce((m,g)=>(f[g]!==u[g]&&u[g]!==void 0&&(m[g]=f[g]),m),{});return Object.keys(u).reduce((m,g)=>(u[g]!==f[g]&&f[g]===void 0&&(m[g]=null),m),p)}n.invert=a;function c(u,f,p=!1){if(typeof u!="object")return f;if(typeof f!="object")return;if(!p)return f;const m=Object.keys(f).reduce((g,v)=>(u[v]===void 0&&(g[v]=f[v]),g),{});return Object.keys(m).length>0?m:void 0}n.transform=c}(t||(t={})),yp.default=t,yp}var bp={},q0;function LC(){if(q0)return bp;q0=1,Object.defineProperty(bp,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),bp.default=r,bp}var xp={},U0;function V9(){if(U0)return xp;U0=1,Object.defineProperty(xp,"__esModule",{value:!0});const r=LC();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const o=this.ops[this.index];if(o){const i=this.offset,a=r.default.length(o);if(n>=a-i?(n=a-i,this.index+=1,this.offset=0):this.offset+=n,typeof o.delete=="number")return{delete:n};{const c={};return o.attributes&&(c.attributes=o.attributes),typeof o.retain=="number"?c.retain=n:typeof o.retain=="object"&&o.retain!==null?c.retain=o.retain:typeof o.insert=="string"?c.insert=o.insert.substr(i,n):c.insert=o.insert,c}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,o=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=n,this.index=o,[i].concat(a)}}else return[]}}return xp.default=e,xp}var W0;function G9(){return W0||(W0=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=U9(),n=IC(),o=MC(),i=W9();e.AttributeMap=i.default;const a=LC();e.Op=a.default;const c=V9();e.OpIterator=c.default;const u="\0",f=(m,g)=>{if(typeof m!="object"||m===null)throw new Error(`cannot retain a ${typeof m}`);if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);const v=Object.keys(m)[0];if(!v||v!==Object.keys(g)[0])throw new Error(`embed types not matched: ${v} != ${Object.keys(g)[0]}`);return[v,m[v],g[v]]};class p{constructor(g){Array.isArray(g)?this.ops=g:g!=null&&Array.isArray(g.ops)?this.ops=g.ops:this.ops=[]}static registerEmbed(g,v){this.handlers[g]=v}static unregisterEmbed(g){delete this.handlers[g]}static getHandler(g){const v=this.handlers[g];if(!v)throw new Error(`no handlers for embed type "${g}"`);return v}insert(g,v){const w={};return typeof g=="string"&&g.length===0?this:(w.insert=g,v!=null&&typeof v=="object"&&Object.keys(v).length>0&&(w.attributes=v),this.push(w))}delete(g){return g<=0?this:this.push({delete:g})}retain(g,v){if(typeof g=="number"&&g<=0)return this;const w={retain:g};return v!=null&&typeof v=="object"&&Object.keys(v).length>0&&(w.attributes=v),this.push(w)}push(g){let v=this.ops.length,w=this.ops[v-1];if(g=n(g),typeof w=="object"){if(typeof g.delete=="number"&&typeof w.delete=="number")return this.ops[v-1]={delete:w.delete+g.delete},this;if(typeof w.delete=="number"&&g.insert!=null&&(v-=1,w=this.ops[v-1],typeof w!="object"))return this.ops.unshift(g),this;if(o(g.attributes,w.attributes)){if(typeof g.insert=="string"&&typeof w.insert=="string")return this.ops[v-1]={insert:w.insert+g.insert},typeof g.attributes=="object"&&(this.ops[v-1].attributes=g.attributes),this;if(typeof g.retain=="number"&&typeof w.retain=="number")return this.ops[v-1]={retain:w.retain+g.retain},typeof g.attributes=="object"&&(this.ops[v-1].attributes=g.attributes),this}}return v===this.ops.length?this.ops.push(g):this.ops.splice(v,0,g),this}chop(){const g=this.ops[this.ops.length-1];return g&&typeof g.retain=="number"&&!g.attributes&&this.ops.pop(),this}filter(g){return this.ops.filter(g)}forEach(g){this.ops.forEach(g)}map(g){return this.ops.map(g)}partition(g){const v=[],w=[];return this.forEach(T=>{(g(T)?v:w).push(T)}),[v,w]}reduce(g,v){return this.ops.reduce(g,v)}changeLength(){return this.reduce((g,v)=>v.insert?g+a.default.length(v):v.delete?g-v.delete:g,0)}length(){return this.reduce((g,v)=>g+a.default.length(v),0)}slice(g=0,v=1/0){const w=[],T=new c.default(this.ops);let _=0;for(;_<v&&T.hasNext();){let A;_<g?A=T.next(g-_):(A=T.next(v-_),w.push(A)),_+=a.default.length(A)}return new p(w)}compose(g){const v=new c.default(this.ops),w=new c.default(g.ops),T=[],_=w.peek();if(_!=null&&typeof _.retain=="number"&&_.attributes==null){let R=_.retain;for(;v.peekType()==="insert"&&v.peekLength()<=R;)R-=v.peekLength(),T.push(v.next());_.retain-R>0&&w.next(_.retain-R)}const A=new p(T);for(;v.hasNext()||w.hasNext();)if(w.peekType()==="insert")A.push(w.next());else if(v.peekType()==="delete")A.push(v.next());else{const R=Math.min(v.peekLength(),w.peekLength()),O=v.next(R),I=w.next(R);if(I.retain){const F={};if(typeof O.retain=="number")F.retain=typeof I.retain=="number"?R:I.retain;else if(typeof I.retain=="number")O.retain==null?F.insert=O.insert:F.retain=O.retain;else{const z=O.retain==null?"insert":"retain",[j,V,ue]=f(O[z],I.retain),P=p.getHandler(j);F[z]={[j]:P.compose(V,ue,z==="retain")}}const B=i.default.compose(O.attributes,I.attributes,typeof O.retain=="number");if(B&&(F.attributes=B),A.push(F),!w.hasNext()&&o(A.ops[A.ops.length-1],F)){const z=new p(v.rest());return A.concat(z).chop()}}else typeof I.delete=="number"&&(typeof O.retain=="number"||typeof O.retain=="object"&&O.retain!==null)&&A.push(I)}return A.chop()}concat(g){const v=new p(this.ops.slice());return g.ops.length>0&&(v.push(g.ops[0]),v.ops=v.ops.concat(g.ops.slice(1))),v}diff(g,v){if(this.ops===g.ops)return new p;const w=[this,g].map(O=>O.map(I=>{if(I.insert!=null)return typeof I.insert=="string"?I.insert:u;const F=O===g?"on":"with";throw new Error("diff() called "+F+" non-document")}).join("")),T=new p,_=t(w[0],w[1],v,!0),A=new c.default(this.ops),R=new c.default(g.ops);return _.forEach(O=>{let I=O[1].length;for(;I>0;){let F=0;switch(O[0]){case t.INSERT:F=Math.min(R.peekLength(),I),T.push(R.next(F));break;case t.DELETE:F=Math.min(I,A.peekLength()),A.next(F),T.delete(F);break;case t.EQUAL:F=Math.min(A.peekLength(),R.peekLength(),I);const B=A.next(F),z=R.next(F);o(B.insert,z.insert)?T.retain(F,i.default.diff(B.attributes,z.attributes)):T.push(z).delete(F);break}I-=F}}),T.chop()}eachLine(g,v=`
|
169
|
-
`){const w=new c.default(this.ops);let T=new p,_=0;for(;w.hasNext();){if(w.peekType()!=="insert")return;const A=w.peek(),R=a.default.length(A)-w.peekLength(),O=typeof A.insert=="string"?A.insert.indexOf(v,R)-R:-1;if(O<0)T.push(w.next());else if(O>0)T.push(w.next(O));else{if(g(T,w.next(1).attributes||{},_)===!1)return;_+=1,T=new p}}T.length()>0&&g(T,{},_)}invert(g){const v=new p;return this.reduce((w,T)=>{if(T.insert)v.delete(a.default.length(T));else{if(typeof T.retain=="number"&&T.attributes==null)return v.retain(T.retain),w+T.retain;if(T.delete||typeof T.retain=="number"){const _=T.delete||T.retain;return g.slice(w,w+_).forEach(R=>{T.delete?v.push(R):T.retain&&T.attributes&&v.retain(a.default.length(R),i.default.invert(T.attributes,R.attributes))}),w+_}else if(typeof T.retain=="object"&&T.retain!==null){const _=g.slice(w,w+1),A=new c.default(_.ops).next(),[R,O,I]=f(T.retain,A.insert),F=p.getHandler(R);return v.retain({[R]:F.invert(O,I)},i.default.invert(T.attributes,A.attributes)),w+1}}return w},0),v.chop()}transform(g,v=!1){if(v=!!v,typeof g=="number")return this.transformPosition(g,v);const w=g,T=new c.default(this.ops),_=new c.default(w.ops),A=new p;for(;T.hasNext()||_.hasNext();)if(T.peekType()==="insert"&&(v||_.peekType()!=="insert"))A.retain(a.default.length(T.next()));else if(_.peekType()==="insert")A.push(_.next());else{const R=Math.min(T.peekLength(),_.peekLength()),O=T.next(R),I=_.next(R);if(O.delete)continue;if(I.delete)A.push(I);else{const F=O.retain,B=I.retain;let z=typeof B=="object"&&B!==null?B:R;if(typeof F=="object"&&F!==null&&typeof B=="object"&&B!==null){const j=Object.keys(F)[0];if(j===Object.keys(B)[0]){const V=p.getHandler(j);V&&(z={[j]:V.transform(F[j],B[j],v)})}}A.retain(z,i.default.transform(O.attributes,I.attributes,v))}}return A.chop()}transformPosition(g,v=!1){v=!!v;const w=new c.default(this.ops);let T=0;for(;w.hasNext()&&T<=g;){const _=w.peekLength(),A=w.peekType();if(w.next(),A==="delete"){g-=Math.min(_,g-T);continue}else A==="insert"&&(T<g||!v)&&(g+=_);T+=_}return g}}p.Op=a.default,p.OpIterator=c.default,p.AttributeMap=i.default,p.handlers={},e.default=p,r.exports=p,r.exports.default=p}(vp,vp.exports)),vp.exports}var Ds=G9();const rr=yf(Ds);var DC=typeof global=="object"&&global&&global.Object===Object&&global,Y9=typeof self=="object"&&self&&self.Object===Object&&self,sl=DC||Y9||Function("return this")(),Yc=sl.Symbol,OC=Object.prototype,Z9=OC.hasOwnProperty,K9=OC.toString,th=Yc?Yc.toStringTag:void 0;function X9(r){var e=Z9.call(r,th),t=r[th];try{r[th]=void 0;var n=!0}catch{}var o=K9.call(r);return n&&(e?r[th]=t:delete r[th]),o}var J9=Object.prototype,Q9=J9.toString;function eM(r){return Q9.call(r)}var tM="[object Null]",rM="[object Undefined]",V0=Yc?Yc.toStringTag:void 0;function xf(r){return r==null?r===void 0?rM:tM:V0&&V0 in Object(r)?X9(r):eM(r)}function Hl(r){return r!=null&&typeof r=="object"}var Vu=Array.isArray;function Xc(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function NC(r){return r}var nM="[object AsyncFunction]",oM="[object Function]",iM="[object GeneratorFunction]",sM="[object Proxy]";function Mv(r){if(!Xc(r))return!1;var e=xf(r);return e==oM||e==iM||e==nM||e==sM}var xm=sl["__core-js_shared__"],G0=function(){var r=/[^.]+$/.exec(xm&&xm.keys&&xm.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function aM(r){return!!G0&&G0 in r}var lM=Function.prototype,cM=lM.toString;function Ju(r){if(r!=null){try{return cM.call(r)}catch{}try{return r+""}catch{}}return""}var uM=/[\\^$.*+?()[\]{}|]/g,dM=/^\[object .+?Constructor\]$/,fM=Function.prototype,hM=Object.prototype,pM=fM.toString,gM=hM.hasOwnProperty,mM=RegExp("^"+pM.call(gM).replace(uM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vM(r){if(!Xc(r)||aM(r))return!1;var e=Mv(r)?mM:dM;return e.test(Ju(r))}function yM(r,e){return r==null?void 0:r[e]}function Qu(r,e){var t=yM(r,e);return vM(t)?t:void 0}var B1=Qu(sl,"WeakMap"),Y0=Object.create,bM=function(){function r(){}return function(e){if(!Xc(e))return{};if(Y0)return Y0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function xM(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function wM(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var CM=800,SM=16,_M=Date.now;function AM(r){var e=0,t=0;return function(){var n=_M(),o=SM-(n-t);if(t=n,o>0){if(++e>=CM)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function EM(r){return function(){return r}}var tg=function(){try{var r=Qu(Object,"defineProperty");return r({},"",{}),r}catch{}}(),TM=tg?function(r,e){return tg(r,"toString",{configurable:!0,enumerable:!1,value:EM(e),writable:!0})}:NC,RM=AM(TM);function kM(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var IM=9007199254740991,MM=/^(?:0|[1-9]\d*)$/;function PC(r,e){var t=typeof r;return e=e??IM,!!e&&(t=="number"||t!="symbol"&&MM.test(r))&&r>-1&&r%1==0&&r<e}function Lv(r,e,t){e=="__proto__"&&tg?tg(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function Bh(r,e){return r===e||r!==r&&e!==e}var LM=Object.prototype,DM=LM.hasOwnProperty;function BC(r,e,t){var n=r[e];(!(DM.call(r,e)&&Bh(n,t))||t===void 0&&!(e in r))&&Lv(r,e,t)}function OM(r,e,t,n){var o=!t;t||(t={});for(var i=-1,a=e.length;++i<a;){var c=e[i],u=void 0;u===void 0&&(u=r[c]),o?Lv(t,c,u):BC(t,c,u)}return t}var Z0=Math.max;function NM(r,e,t){return e=Z0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,o=-1,i=Z0(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=n[o];return c[e]=t(a),xM(r,this,c)}}function PM(r,e){return RM(NM(r,e,NC),r+"")}var BM=9007199254740991;function FC(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=BM}function _g(r){return r!=null&&FC(r.length)&&!Mv(r)}function FM(r,e,t){if(!Xc(t))return!1;var n=typeof e;return(n=="number"?_g(t)&&PC(e,t.length):n=="string"&&e in t)?Bh(t[e],r):!1}function jM(r){return PM(function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,a=o>2?t[2]:void 0;for(i=r.length>3&&typeof i=="function"?(o--,i):void 0,a&&FM(t[0],t[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var c=t[n];c&&r(e,c,n,i)}return e})}var zM=Object.prototype;function Dv(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||zM;return r===t}function HM(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var $M="[object Arguments]";function K0(r){return Hl(r)&&xf(r)==$M}var jC=Object.prototype,qM=jC.hasOwnProperty,UM=jC.propertyIsEnumerable,F1=K0(function(){return arguments}())?K0:function(r){return Hl(r)&&qM.call(r,"callee")&&!UM.call(r,"callee")};function WM(){return!1}var zC=typeof exports=="object"&&exports&&!exports.nodeType&&exports,X0=zC&&typeof module=="object"&&module&&!module.nodeType&&module,VM=X0&&X0.exports===zC,J0=VM?sl.Buffer:void 0,GM=J0?J0.isBuffer:void 0,_h=GM||WM,YM="[object Arguments]",ZM="[object Array]",KM="[object Boolean]",XM="[object Date]",JM="[object Error]",QM="[object Function]",eL="[object Map]",tL="[object Number]",rL="[object Object]",nL="[object RegExp]",oL="[object Set]",iL="[object String]",sL="[object WeakMap]",aL="[object ArrayBuffer]",lL="[object DataView]",cL="[object Float32Array]",uL="[object Float64Array]",dL="[object Int8Array]",fL="[object Int16Array]",hL="[object Int32Array]",pL="[object Uint8Array]",gL="[object Uint8ClampedArray]",mL="[object Uint16Array]",vL="[object Uint32Array]",Nn={};Nn[cL]=Nn[uL]=Nn[dL]=Nn[fL]=Nn[hL]=Nn[pL]=Nn[gL]=Nn[mL]=Nn[vL]=!0;Nn[YM]=Nn[ZM]=Nn[aL]=Nn[KM]=Nn[lL]=Nn[XM]=Nn[JM]=Nn[QM]=Nn[eL]=Nn[tL]=Nn[rL]=Nn[nL]=Nn[oL]=Nn[iL]=Nn[sL]=!1;function yL(r){return Hl(r)&&FC(r.length)&&!!Nn[xf(r)]}function Ov(r){return function(e){return r(e)}}var HC=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ph=HC&&typeof module=="object"&&module&&!module.nodeType&&module,bL=ph&&ph.exports===HC,wm=bL&&DC.process,lf=function(){try{var r=ph&&ph.require&&ph.require("util").types;return r||wm&&wm.binding&&wm.binding("util")}catch{}}(),Q0=lf&&lf.isTypedArray,Nv=Q0?Ov(Q0):yL,xL=Object.prototype,wL=xL.hasOwnProperty;function $C(r,e){var t=Vu(r),n=!t&&F1(r),o=!t&&!n&&_h(r),i=!t&&!n&&!o&&Nv(r),a=t||n||o||i,c=a?HM(r.length,String):[],u=c.length;for(var f in r)(e||wL.call(r,f))&&!(a&&(f=="length"||o&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||PC(f,u)))&&c.push(f);return c}function qC(r,e){return function(t){return r(e(t))}}var CL=qC(Object.keys,Object),SL=Object.prototype,_L=SL.hasOwnProperty;function AL(r){if(!Dv(r))return CL(r);var e=[];for(var t in Object(r))_L.call(r,t)&&t!="constructor"&&e.push(t);return e}function EL(r){return _g(r)?$C(r):AL(r)}function TL(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var RL=Object.prototype,kL=RL.hasOwnProperty;function IL(r){if(!Xc(r))return TL(r);var e=Dv(r),t=[];for(var n in r)n=="constructor"&&(e||!kL.call(r,n))||t.push(n);return t}function UC(r){return _g(r)?$C(r,!0):IL(r)}var Ah=Qu(Object,"create");function ML(){this.__data__=Ah?Ah(null):{},this.size=0}function LL(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var DL="__lodash_hash_undefined__",OL=Object.prototype,NL=OL.hasOwnProperty;function PL(r){var e=this.__data__;if(Ah){var t=e[r];return t===DL?void 0:t}return NL.call(e,r)?e[r]:void 0}var BL=Object.prototype,FL=BL.hasOwnProperty;function jL(r){var e=this.__data__;return Ah?e[r]!==void 0:FL.call(e,r)}var zL="__lodash_hash_undefined__";function HL(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Ah&&e===void 0?zL:e,this}function Gu(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Gu.prototype.clear=ML;Gu.prototype.delete=LL;Gu.prototype.get=PL;Gu.prototype.has=jL;Gu.prototype.set=HL;function $L(){this.__data__=[],this.size=0}function Ag(r,e){for(var t=r.length;t--;)if(Bh(r[t][0],e))return t;return-1}var qL=Array.prototype,UL=qL.splice;function WL(r){var e=this.__data__,t=Ag(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():UL.call(e,t,1),--this.size,!0}function VL(r){var e=this.__data__,t=Ag(e,r);return t<0?void 0:e[t][1]}function GL(r){return Ag(this.__data__,r)>-1}function YL(r,e){var t=this.__data__,n=Ag(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function Ul(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Ul.prototype.clear=$L;Ul.prototype.delete=WL;Ul.prototype.get=VL;Ul.prototype.has=GL;Ul.prototype.set=YL;var Eh=Qu(sl,"Map");function ZL(){this.size=0,this.__data__={hash:new Gu,map:new(Eh||Ul),string:new Gu}}function KL(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Eg(r,e){var t=r.__data__;return KL(e)?t[typeof e=="string"?"string":"hash"]:t.map}function XL(r){var e=Eg(this,r).delete(r);return this.size-=e?1:0,e}function JL(r){return Eg(this,r).get(r)}function QL(r){return Eg(this,r).has(r)}function e7(r,e){var t=Eg(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function ed(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}ed.prototype.clear=ZL;ed.prototype.delete=XL;ed.prototype.get=JL;ed.prototype.has=QL;ed.prototype.set=e7;function t7(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}var WC=qC(Object.getPrototypeOf,Object),r7="[object Object]",n7=Function.prototype,o7=Object.prototype,VC=n7.toString,i7=o7.hasOwnProperty,s7=VC.call(Object);function a7(r){if(!Hl(r)||xf(r)!=r7)return!1;var e=WC(r);if(e===null)return!0;var t=i7.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&VC.call(t)==s7}function l7(){this.__data__=new Ul,this.size=0}function c7(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function u7(r){return this.__data__.get(r)}function d7(r){return this.__data__.has(r)}var f7=200;function h7(r,e){var t=this.__data__;if(t instanceof Ul){var n=t.__data__;if(!Eh||n.length<f7-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new ed(n)}return t.set(r,e),this.size=t.size,this}function Ja(r){var e=this.__data__=new Ul(r);this.size=e.size}Ja.prototype.clear=l7;Ja.prototype.delete=c7;Ja.prototype.get=u7;Ja.prototype.has=d7;Ja.prototype.set=h7;var GC=typeof exports=="object"&&exports&&!exports.nodeType&&exports,eb=GC&&typeof module=="object"&&module&&!module.nodeType&&module,p7=eb&&eb.exports===GC,tb=p7?sl.Buffer:void 0,rb=tb?tb.allocUnsafe:void 0;function YC(r,e){if(e)return r.slice();var t=r.length,n=rb?rb(t):new r.constructor(t);return r.copy(n),n}function g7(r,e){for(var t=-1,n=r==null?0:r.length,o=0,i=[];++t<n;){var a=r[t];e(a,t,r)&&(i[o++]=a)}return i}function m7(){return[]}var v7=Object.prototype,y7=v7.propertyIsEnumerable,nb=Object.getOwnPropertySymbols,b7=nb?function(r){return r==null?[]:(r=Object(r),g7(nb(r),function(e){return y7.call(r,e)}))}:m7;function x7(r,e,t){var n=e(r);return Vu(r)?n:t7(n,t(r))}function j1(r){return x7(r,EL,b7)}var z1=Qu(sl,"DataView"),H1=Qu(sl,"Promise"),$1=Qu(sl,"Set"),ob="[object Map]",w7="[object Object]",ib="[object Promise]",sb="[object Set]",ab="[object WeakMap]",lb="[object DataView]",C7=Ju(z1),S7=Ju(Eh),_7=Ju(H1),A7=Ju($1),E7=Ju(B1),ca=xf;(z1&&ca(new z1(new ArrayBuffer(1)))!=lb||Eh&&ca(new Eh)!=ob||H1&&ca(H1.resolve())!=ib||$1&&ca(new $1)!=sb||B1&&ca(new B1)!=ab)&&(ca=function(r){var e=xf(r),t=e==w7?r.constructor:void 0,n=t?Ju(t):"";if(n)switch(n){case C7:return lb;case S7:return ob;case _7:return ib;case A7:return sb;case E7:return ab}return e});var T7=Object.prototype,R7=T7.hasOwnProperty;function k7(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&R7.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var rg=sl.Uint8Array;function Pv(r){var e=new r.constructor(r.byteLength);return new rg(e).set(new rg(r)),e}function I7(r,e){var t=Pv(r.buffer);return new r.constructor(t,r.byteOffset,r.byteLength)}var M7=/\w*$/;function L7(r){var e=new r.constructor(r.source,M7.exec(r));return e.lastIndex=r.lastIndex,e}var cb=Yc?Yc.prototype:void 0,ub=cb?cb.valueOf:void 0;function D7(r){return ub?Object(ub.call(r)):{}}function ZC(r,e){var t=e?Pv(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var O7="[object Boolean]",N7="[object Date]",P7="[object Map]",B7="[object Number]",F7="[object RegExp]",j7="[object Set]",z7="[object String]",H7="[object Symbol]",$7="[object ArrayBuffer]",q7="[object DataView]",U7="[object Float32Array]",W7="[object Float64Array]",V7="[object Int8Array]",G7="[object Int16Array]",Y7="[object Int32Array]",Z7="[object Uint8Array]",K7="[object Uint8ClampedArray]",X7="[object Uint16Array]",J7="[object Uint32Array]";function Q7(r,e,t){var n=r.constructor;switch(e){case $7:return Pv(r);case O7:case N7:return new n(+r);case q7:return I7(r);case U7:case W7:case V7:case G7:case Y7:case Z7:case K7:case X7:case J7:return ZC(r,t);case P7:return new n;case B7:case z7:return new n(r);case F7:return L7(r);case j7:return new n;case H7:return D7(r)}}function KC(r){return typeof r.constructor=="function"&&!Dv(r)?bM(WC(r)):{}}var eD="[object Map]";function tD(r){return Hl(r)&&ca(r)==eD}var db=lf&&lf.isMap,rD=db?Ov(db):tD,nD="[object Set]";function oD(r){return Hl(r)&&ca(r)==nD}var fb=lf&&lf.isSet,iD=fb?Ov(fb):oD,sD=1,XC="[object Arguments]",aD="[object Array]",lD="[object Boolean]",cD="[object Date]",uD="[object Error]",JC="[object Function]",dD="[object GeneratorFunction]",fD="[object Map]",hD="[object Number]",QC="[object Object]",pD="[object RegExp]",gD="[object Set]",mD="[object String]",vD="[object Symbol]",yD="[object WeakMap]",bD="[object ArrayBuffer]",xD="[object DataView]",wD="[object Float32Array]",CD="[object Float64Array]",SD="[object Int8Array]",_D="[object Int16Array]",AD="[object Int32Array]",ED="[object Uint8Array]",TD="[object Uint8ClampedArray]",RD="[object Uint16Array]",kD="[object Uint32Array]",Rn={};Rn[XC]=Rn[aD]=Rn[bD]=Rn[xD]=Rn[lD]=Rn[cD]=Rn[wD]=Rn[CD]=Rn[SD]=Rn[_D]=Rn[AD]=Rn[fD]=Rn[hD]=Rn[QC]=Rn[pD]=Rn[gD]=Rn[mD]=Rn[vD]=Rn[ED]=Rn[TD]=Rn[RD]=Rn[kD]=!0;Rn[uD]=Rn[JC]=Rn[yD]=!1;function $p(r,e,t,n,o,i){var a,c=e&sD;if(a!==void 0)return a;if(!Xc(r))return r;var u=Vu(r);if(u)a=k7(r);else{var f=ca(r),p=f==JC||f==dD;if(_h(r))return YC(r,c);if(f==QC||f==XC||p&&!o)a=p?{}:KC(r);else{if(!Rn[f])return o?r:{};a=Q7(r,f,c)}}i||(i=new Ja);var m=i.get(r);if(m)return m;i.set(r,a),iD(r)?r.forEach(function(w){a.add($p(w,e,t,w,r,i))}):rD(r)&&r.forEach(function(w,T){a.set(T,$p(w,e,t,T,r,i))});var g=j1,v=u?void 0:g(r);return kM(v||r,function(w,T){v&&(T=w,w=r[T]),BC(a,T,$p(w,e,t,T,r,i))}),a}var ID=1,MD=4;function Qd(r){return $p(r,ID|MD)}var LD="__lodash_hash_undefined__";function DD(r){return this.__data__.set(r,LD),this}function OD(r){return this.__data__.has(r)}function ng(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new ed;++e<t;)this.add(r[e])}ng.prototype.add=ng.prototype.push=DD;ng.prototype.has=OD;function ND(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function PD(r,e){return r.has(e)}var BD=1,FD=2;function e2(r,e,t,n,o,i){var a=t&BD,c=r.length,u=e.length;if(c!=u&&!(a&&u>c))return!1;var f=i.get(r),p=i.get(e);if(f&&p)return f==e&&p==r;var m=-1,g=!0,v=t&FD?new ng:void 0;for(i.set(r,e),i.set(e,r);++m<c;){var w=r[m],T=e[m];if(n)var _=a?n(T,w,m,e,r,i):n(w,T,m,r,e,i);if(_!==void 0){if(_)continue;g=!1;break}if(v){if(!ND(e,function(A,R){if(!PD(v,R)&&(w===A||o(w,A,t,n,i)))return v.push(R)})){g=!1;break}}else if(!(w===T||o(w,T,t,n,i))){g=!1;break}}return i.delete(r),i.delete(e),g}function jD(r){var e=-1,t=Array(r.size);return r.forEach(function(n,o){t[++e]=[o,n]}),t}function zD(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var HD=1,$D=2,qD="[object Boolean]",UD="[object Date]",WD="[object Error]",VD="[object Map]",GD="[object Number]",YD="[object RegExp]",ZD="[object Set]",KD="[object String]",XD="[object Symbol]",JD="[object ArrayBuffer]",QD="[object DataView]",hb=Yc?Yc.prototype:void 0,Cm=hb?hb.valueOf:void 0;function eO(r,e,t,n,o,i,a){switch(t){case QD:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case JD:return!(r.byteLength!=e.byteLength||!i(new rg(r),new rg(e)));case qD:case UD:case GD:return Bh(+r,+e);case WD:return r.name==e.name&&r.message==e.message;case YD:case KD:return r==e+"";case VD:var c=jD;case ZD:var u=n&HD;if(c||(c=zD),r.size!=e.size&&!u)return!1;var f=a.get(r);if(f)return f==e;n|=$D,a.set(r,e);var p=e2(c(r),c(e),n,o,i,a);return a.delete(r),p;case XD:if(Cm)return Cm.call(r)==Cm.call(e)}return!1}var tO=1,rO=Object.prototype,nO=rO.hasOwnProperty;function oO(r,e,t,n,o,i){var a=t&tO,c=j1(r),u=c.length,f=j1(e),p=f.length;if(u!=p&&!a)return!1;for(var m=u;m--;){var g=c[m];if(!(a?g in e:nO.call(e,g)))return!1}var v=i.get(r),w=i.get(e);if(v&&w)return v==e&&w==r;var T=!0;i.set(r,e),i.set(e,r);for(var _=a;++m<u;){g=c[m];var A=r[g],R=e[g];if(n)var O=a?n(R,A,g,e,r,i):n(A,R,g,r,e,i);if(!(O===void 0?A===R||o(A,R,t,n,i):O)){T=!1;break}_||(_=g=="constructor")}if(T&&!_){var I=r.constructor,F=e.constructor;I!=F&&"constructor"in r&&"constructor"in e&&!(typeof I=="function"&&I instanceof I&&typeof F=="function"&&F instanceof F)&&(T=!1)}return i.delete(r),i.delete(e),T}var iO=1,pb="[object Arguments]",gb="[object Array]",wp="[object Object]",sO=Object.prototype,mb=sO.hasOwnProperty;function aO(r,e,t,n,o,i){var a=Vu(r),c=Vu(e),u=a?gb:ca(r),f=c?gb:ca(e);u=u==pb?wp:u,f=f==pb?wp:f;var p=u==wp,m=f==wp,g=u==f;if(g&&_h(r)){if(!_h(e))return!1;a=!0,p=!1}if(g&&!p)return i||(i=new Ja),a||Nv(r)?e2(r,e,t,n,o,i):eO(r,e,u,t,n,o,i);if(!(t&iO)){var v=p&&mb.call(r,"__wrapped__"),w=m&&mb.call(e,"__wrapped__");if(v||w){var T=v?r.value():r,_=w?e.value():e;return i||(i=new Ja),o(T,_,t,n,i)}}return g?(i||(i=new Ja),oO(r,e,t,n,o,i)):!1}function t2(r,e,t,n,o){return r===e?!0:r==null||e==null||!Hl(r)&&!Hl(e)?r!==r&&e!==e:aO(r,e,t,n,t2,o)}function lO(r){return function(e,t,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var u=a[++o];if(t(i[u],u,i)===!1)break}return e}}var cO=lO();function q1(r,e,t){(t!==void 0&&!Bh(r[e],t)||t===void 0&&!(e in r))&&Lv(r,e,t)}function uO(r){return Hl(r)&&_g(r)}function U1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function dO(r){return OM(r,UC(r))}function fO(r,e,t,n,o,i,a){var c=U1(r,t),u=U1(e,t),f=a.get(u);if(f){q1(r,t,f);return}var p=i?i(c,u,t+"",r,e,a):void 0,m=p===void 0;if(m){var g=Vu(u),v=!g&&_h(u),w=!g&&!v&&Nv(u);p=u,g||v||w?Vu(c)?p=c:uO(c)?p=wM(c):v?(m=!1,p=YC(u,!0)):w?(m=!1,p=ZC(u,!0)):p=[]:a7(u)||F1(u)?(p=c,F1(c)?p=dO(c):(!Xc(c)||Mv(c))&&(p=KC(u))):m=!1}m&&(a.set(u,p),o(p,u,n,i,a),a.delete(u)),q1(r,t,p)}function r2(r,e,t,n,o){r!==e&&cO(e,function(i,a){if(o||(o=new Ja),Xc(i))fO(r,e,a,t,r2,n,o);else{var c=n?n(U1(r,a),i,a+"",r,e,o):void 0;c===void 0&&(c=i),q1(r,a,c)}},UC)}function jc(r,e){return t2(r,e)}var Wc=jM(function(r,e,t){r2(r,e,t)}),nr=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(nr||{});class rl{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const o=nr.TYPE&nr.ATTRIBUTE;this.scope=n.scope!=null?n.scope&nr.LEVEL|o:nr.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class ef extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const n2=class W1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const o=this.query(t);if(o==null)throw new ef(`Unable to create ${t} blot`);const i=o,a=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:i.create(n),c=new i(e,a,n);return W1.blots.set(c.domNode,c),c}find(e,t=!1){return W1.find(e,t)}query(e,t=nr.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&nr.LEVEL&nr.BLOCK?n=this.types.block:e&nr.LEVEL&nr.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(n=this.classes[o],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&nr.LEVEL&n.scope&&t&nr.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,o="attrName"in t;if(!n&&!o)throw new ef("Invalid definition");if(n&&t.blotName==="abstract")throw new ef("Cannot register abstract class");const i=n?t.blotName:o?t.attrName:void 0;return this.types[i]=t,o?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(a=>a.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(a=>{(this.tags[a]==null||t.className==null)&&(this.tags[a]=t)}))),t})}};n2.blots=new WeakMap;let cf=n2;function vb(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class hO extends rl{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){vb(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(vb(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const ya=hO;function Sm(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class pO extends rl{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Sm(this.keyName)]=t,!0):!1}remove(e){e.style[Sm(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Sm(this.keyName)];return this.canAdd(e,t)?t:""}}const Jc=pO;class gO{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=cf.find(this.domNode);if(e==null)return;const t=rl.keys(this.domNode),n=ya.keys(this.domNode),o=Jc.keys(this.domNode);t.concat(n).concat(o).forEach(i=>{const a=e.scroll.query(i,nr.ATTRIBUTE);a instanceof rl&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const Tg=gO,o2=class{constructor(e,t){this.scroll=e,this.domNode=t,cf.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new ef("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),cf.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,o){const i=this.isolate(e,t);if(this.scroll.query(n,nr.BLOT)!=null&&o)i.wrap(n,o);else if(this.scroll.query(n,nr.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(n,o)}}insertAt(e,t,n){const o=n==null?this.scroll.create("text",t):this.scroll.create(t,n),i=this.split(e);this.parent.insertBefore(o,i||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new ef(`Cannot wrap ${e}`);return n.appendChild(this),n}};o2.blotName="abstract";let i2=o2;const s2=class extends i2{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};s2.scope=nr.INLINE_BLOT;let mO=s2;const Qo=mO;class vO{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),o=0;for(;n;){if(n===e)return o;o+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let o=n();for(;o;){const i=o.length();if(e<i||t&&e===i&&(o.next==null||o.next.length()!==0))return[o,e];e-=i,o=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[o,i]=this.find(e);let a=e-i;const c=this.iterator(o);let u=c();for(;u&&a<e+t;){const f=u.length();e>a?n(u,e-a,Math.min(t,a+f-e)):n(u,0,Math.min(f,e+t-a)),a+=f,u=c()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let o=n();for(;o;)t=e(t,o),o=n();return t}}function yb(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(nr.INLINE);return Array.from(r.childNodes).forEach(o=>{n.domNode.appendChild(o)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const a2=class Oc extends i2{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Oc.uiClass&&this.uiNode.classList.add(Oc.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new vO,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=yb(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof ef)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,o,i)=>{n.deleteAt(o,i)})}descendant(e,t=0){const[n,o]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,o]:n instanceof Oc?n.descendant(e,o):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let o=[],i=n;return this.children.forEachAt(t,n,(a,c,u)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&o.push(a),a instanceof Oc&&(o=o.concat(a.descendants(e,c,i))),i-=u}),o}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===nr.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Oc?t.unwrap():t.remove())})}formatAt(e,t,n,o){this.children.forEachAt(e,t,(i,a,c)=>{i.formatAt(a,c,n,o)})}insertAt(e,t,n){const[o,i]=this.children.find(e);if(o)o.insertAt(i,t,n);else{const a=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(a)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,o]=this.children.find(e,t),i=[[this,e]];return n instanceof Oc?i.concat(n.path(o,t)):(n!=null&&i.push([n,o]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Oc&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(o,i,a)=>{const c=o.split(i,t);c!=null&&n.appendChild(c)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],o=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(n.push(...i.addedNodes),o.push(...i.removedNodes))}),o.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),n.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const c=yb(i,this.scroll);(c.next!==a||c.next==null)&&(c.parent!=null&&c.parent.removeChild(this),this.insertBefore(c,a||void 0))}),this.enforceAllowedChildren()}};a2.uiClass="";let yO=a2;const fa=yO;function bO(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const Hd=class $d extends fa{static create(e){return super.create(e)}static formats(e,t){const n=t.query($d.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Tg(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof $d||(n=n.wrap($d.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,nr.INLINE);if(n==null)return;n instanceof rl?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,o){this.formats()[n]!=null||this.scroll.query(n,nr.ATTRIBUTE)?this.isolate(e,t).format(n,o):super.formatAt(e,t,n,o)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof $d&&n.prev===this&&bO(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof $d&&this.attributes.move(n),n}};Hd.allowedChildren=[Hd,Qo],Hd.blotName="inline",Hd.scope=nr.INLINE_BLOT,Hd.tagName="SPAN";let xO=Hd;const Bv=xO,qd=class V1 extends fa{static create(e){return super.create(e)}static formats(e,t){const n=t.query(V1.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Tg(this.domNode)}format(e,t){const n=this.scroll.query(e,nr.BLOCK);n!=null&&(n instanceof rl?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(V1.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,o){this.scroll.query(n,nr.BLOCK)!=null?this.format(n,o):super.formatAt(e,t,n,o)}insertAt(e,t,n){if(n==null||this.scroll.query(t,nr.INLINE)!=null)super.insertAt(e,t,n);else{const o=this.split(e);if(o!=null){const i=this.scroll.create(t,n);o.parent.insertBefore(i,o)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};qd.blotName="block",qd.scope=nr.BLOCK_BLOT,qd.tagName="P",qd.allowedChildren=[Bv,qd,Qo];let wO=qd;const Th=wO,G1=class extends fa{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,o){super.formatAt(e,t,n,o),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};G1.blotName="container",G1.scope=nr.BLOCK_BLOT;let CO=G1;const Rg=CO;class SO extends Qo{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,o){e===0&&t===this.length()?this.format(n,o):super.formatAt(e,t,n,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const ss=SO,_O={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},AO=100,Ud=class extends fa{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,_O),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=nr.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,o){this.update(),super.formatAt(e,t,n,o)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const i=(u,f=!0)=>{u==null||u===this||u.domNode.parentNode!=null&&(n.has(u.domNode)||n.set(u.domNode,[]),f&&i(u.parent))},a=u=>{n.has(u.domNode)&&(u instanceof fa&&u.children.forEach(a),n.delete(u.domNode),u.optimize(t))};let c=e;for(let u=0;c.length>0;u+=1){if(u>=AO)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(f=>{const p=this.find(f.target,!0);p!=null&&(p.domNode===f.target&&(f.type==="childList"?(i(this.find(f.previousSibling,!1)),Array.from(f.addedNodes).forEach(m=>{const g=this.find(m,!1);i(g,!1),g instanceof fa&&g.children.forEach(v=>{i(v,!1)})})):f.type==="attributes"&&i(p.prev)),i(p))}),this.children.forEach(a),c=Array.from(this.observer.takeRecords()),o=c.slice();o.length>0;)e.push(o.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(o=>{const i=this.find(o.target,!0);return i==null?null:n.has(i.domNode)?(n.get(i.domNode).push(o),null):(n.set(i.domNode,[o]),i)}).forEach(o=>{o!=null&&o!==this&&n.has(o.domNode)&&o.update(n.get(o.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Ud.blotName="scroll",Ud.defaultChild=Th,Ud.allowedChildren=[Th,Rg],Ud.scope=nr.BLOCK_BLOT,Ud.tagName="DIV";let EO=Ud;const Fv=EO,Y1=class l2 extends Qo{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof l2&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Y1.blotName="text",Y1.scope=nr.INLINE_BLOT;let TO=Y1;const og=TO,RO=Object.freeze(Object.defineProperty({__proto__:null,Attributor:rl,AttributorStore:Tg,BlockBlot:Th,ClassAttributor:ya,ContainerBlot:Rg,EmbedBlot:ss,InlineBlot:Bv,LeafBlot:Qo,ParentBlot:fa,Registry:cf,Scope:nr,ScrollBlot:Fv,StyleAttributor:Jc,TextBlot:og},Symbol.toStringTag,{value:"Module"}));class ba extends ss{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}ba.blotName="break";ba.tagName="BR";let pa=class extends og{};const kO={"&":"&","<":"<",">":">",'"':""","'":"'"};function kg(r){return r.replace(/[&<>"']/g,e=>kO[e])}const Ga=class Ga extends Bv{static compare(e,t){const n=Ga.order.indexOf(e),o=Ga.order.indexOf(t);return n>=0||o>=0?n-o:e===t?0:e<t?-1:1}formatAt(e,t,n,o){if(Ga.compare(this.statics.blotName,n)<0&&this.scroll.query(n,nr.BLOT)){const i=this.isolate(e,t);o&&i.wrap(n,o)}else super.formatAt(e,t,n,o)}optimize(e){if(super.optimize(e),this.parent instanceof Ga&&Ga.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};fe(Ga,"allowedChildren",[Ga,ba,ss,pa]),fe(Ga,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let nl=Ga;const bb=1;class Yo extends Th{constructor(){super(...arguments);fe(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=c2(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,o,i){n<=0||(this.scroll.query(o,nr.BLOCK)?t+n===this.length()&&this.format(o,i):super.formatAt(t,Math.min(n,this.length()-t-1),o,i),this.cache={})}insertAt(t,n,o){if(o!=null){super.insertAt(t,n,o),this.cache={};return}if(n.length===0)return;const i=n.split(`
|
169
|
+
`){const w=new c.default(this.ops);let T=new p,_=0;for(;w.hasNext();){if(w.peekType()!=="insert")return;const A=w.peek(),R=a.default.length(A)-w.peekLength(),O=typeof A.insert=="string"?A.insert.indexOf(v,R)-R:-1;if(O<0)T.push(w.next());else if(O>0)T.push(w.next(O));else{if(g(T,w.next(1).attributes||{},_)===!1)return;_+=1,T=new p}}T.length()>0&&g(T,{},_)}invert(g){const v=new p;return this.reduce((w,T)=>{if(T.insert)v.delete(a.default.length(T));else{if(typeof T.retain=="number"&&T.attributes==null)return v.retain(T.retain),w+T.retain;if(T.delete||typeof T.retain=="number"){const _=T.delete||T.retain;return g.slice(w,w+_).forEach(R=>{T.delete?v.push(R):T.retain&&T.attributes&&v.retain(a.default.length(R),i.default.invert(T.attributes,R.attributes))}),w+_}else if(typeof T.retain=="object"&&T.retain!==null){const _=g.slice(w,w+1),A=new c.default(_.ops).next(),[R,O,I]=f(T.retain,A.insert),F=p.getHandler(R);return v.retain({[R]:F.invert(O,I)},i.default.invert(T.attributes,A.attributes)),w+1}}return w},0),v.chop()}transform(g,v=!1){if(v=!!v,typeof g=="number")return this.transformPosition(g,v);const w=g,T=new c.default(this.ops),_=new c.default(w.ops),A=new p;for(;T.hasNext()||_.hasNext();)if(T.peekType()==="insert"&&(v||_.peekType()!=="insert"))A.retain(a.default.length(T.next()));else if(_.peekType()==="insert")A.push(_.next());else{const R=Math.min(T.peekLength(),_.peekLength()),O=T.next(R),I=_.next(R);if(O.delete)continue;if(I.delete)A.push(I);else{const F=O.retain,B=I.retain;let z=typeof B=="object"&&B!==null?B:R;if(typeof F=="object"&&F!==null&&typeof B=="object"&&B!==null){const j=Object.keys(F)[0];if(j===Object.keys(B)[0]){const V=p.getHandler(j);V&&(z={[j]:V.transform(F[j],B[j],v)})}}A.retain(z,i.default.transform(O.attributes,I.attributes,v))}}return A.chop()}transformPosition(g,v=!1){v=!!v;const w=new c.default(this.ops);let T=0;for(;w.hasNext()&&T<=g;){const _=w.peekLength(),A=w.peekType();if(w.next(),A==="delete"){g-=Math.min(_,g-T);continue}else A==="insert"&&(T<g||!v)&&(g+=_);T+=_}return g}}p.Op=a.default,p.OpIterator=c.default,p.AttributeMap=i.default,p.handlers={},e.default=p,r.exports=p,r.exports.default=p}(vp,vp.exports)),vp.exports}var Ds=G9();const rr=yf(Ds);var DC=typeof global=="object"&&global&&global.Object===Object&&global,Y9=typeof self=="object"&&self&&self.Object===Object&&self,sl=DC||Y9||Function("return this")(),Yc=sl.Symbol,OC=Object.prototype,Z9=OC.hasOwnProperty,K9=OC.toString,th=Yc?Yc.toStringTag:void 0;function X9(r){var e=Z9.call(r,th),t=r[th];try{r[th]=void 0;var n=!0}catch{}var o=K9.call(r);return n&&(e?r[th]=t:delete r[th]),o}var J9=Object.prototype,Q9=J9.toString;function eM(r){return Q9.call(r)}var tM="[object Null]",rM="[object Undefined]",V0=Yc?Yc.toStringTag:void 0;function xf(r){return r==null?r===void 0?rM:tM:V0&&V0 in Object(r)?X9(r):eM(r)}function Hl(r){return r!=null&&typeof r=="object"}var Vu=Array.isArray;function Xc(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function NC(r){return r}var nM="[object AsyncFunction]",oM="[object Function]",iM="[object GeneratorFunction]",sM="[object Proxy]";function Mv(r){if(!Xc(r))return!1;var e=xf(r);return e==oM||e==iM||e==nM||e==sM}var xm=sl["__core-js_shared__"],G0=function(){var r=/[^.]+$/.exec(xm&&xm.keys&&xm.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function aM(r){return!!G0&&G0 in r}var lM=Function.prototype,cM=lM.toString;function Ju(r){if(r!=null){try{return cM.call(r)}catch{}try{return r+""}catch{}}return""}var uM=/[\\^$.*+?()[\]{}|]/g,dM=/^\[object .+?Constructor\]$/,fM=Function.prototype,hM=Object.prototype,pM=fM.toString,gM=hM.hasOwnProperty,mM=RegExp("^"+pM.call(gM).replace(uM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vM(r){if(!Xc(r)||aM(r))return!1;var e=Mv(r)?mM:dM;return e.test(Ju(r))}function yM(r,e){return r==null?void 0:r[e]}function Qu(r,e){var t=yM(r,e);return vM(t)?t:void 0}var B1=Qu(sl,"WeakMap"),Y0=Object.create,bM=function(){function r(){}return function(e){if(!Xc(e))return{};if(Y0)return Y0(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function xM(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function wM(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var CM=800,SM=16,_M=Date.now;function AM(r){var e=0,t=0;return function(){var n=_M(),o=SM-(n-t);if(t=n,o>0){if(++e>=CM)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function EM(r){return function(){return r}}var tg=function(){try{var r=Qu(Object,"defineProperty");return r({},"",{}),r}catch{}}(),TM=tg?function(r,e){return tg(r,"toString",{configurable:!0,enumerable:!1,value:EM(e),writable:!0})}:NC,RM=AM(TM);function kM(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var IM=9007199254740991,MM=/^(?:0|[1-9]\d*)$/;function PC(r,e){var t=typeof r;return e=e??IM,!!e&&(t=="number"||t!="symbol"&&MM.test(r))&&r>-1&&r%1==0&&r<e}function Lv(r,e,t){e=="__proto__"&&tg?tg(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function Bh(r,e){return r===e||r!==r&&e!==e}var LM=Object.prototype,DM=LM.hasOwnProperty;function BC(r,e,t){var n=r[e];(!(DM.call(r,e)&&Bh(n,t))||t===void 0&&!(e in r))&&Lv(r,e,t)}function OM(r,e,t,n){var o=!t;t||(t={});for(var i=-1,a=e.length;++i<a;){var c=e[i],u=void 0;u===void 0&&(u=r[c]),o?Lv(t,c,u):BC(t,c,u)}return t}var Z0=Math.max;function NM(r,e,t){return e=Z0(e===void 0?r.length-1:e,0),function(){for(var n=arguments,o=-1,i=Z0(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=n[o];return c[e]=t(a),xM(r,this,c)}}function PM(r,e){return RM(NM(r,e,NC),r+"")}var BM=9007199254740991;function FC(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=BM}function _g(r){return r!=null&&FC(r.length)&&!Mv(r)}function FM(r,e,t){if(!Xc(t))return!1;var n=typeof e;return(n=="number"?_g(t)&&PC(e,t.length):n=="string"&&e in t)?Bh(t[e],r):!1}function jM(r){return PM(function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,a=o>2?t[2]:void 0;for(i=r.length>3&&typeof i=="function"?(o--,i):void 0,a&&FM(t[0],t[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var c=t[n];c&&r(e,c,n,i)}return e})}var zM=Object.prototype;function Dv(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||zM;return r===t}function HM(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var $M="[object Arguments]";function K0(r){return Hl(r)&&xf(r)==$M}var jC=Object.prototype,qM=jC.hasOwnProperty,UM=jC.propertyIsEnumerable,F1=K0(function(){return arguments}())?K0:function(r){return Hl(r)&&qM.call(r,"callee")&&!UM.call(r,"callee")};function WM(){return!1}var zC=typeof exports=="object"&&exports&&!exports.nodeType&&exports,X0=zC&&typeof module=="object"&&module&&!module.nodeType&&module,VM=X0&&X0.exports===zC,J0=VM?sl.Buffer:void 0,GM=J0?J0.isBuffer:void 0,_h=GM||WM,YM="[object Arguments]",ZM="[object Array]",KM="[object Boolean]",XM="[object Date]",JM="[object Error]",QM="[object Function]",eL="[object Map]",tL="[object Number]",rL="[object Object]",nL="[object RegExp]",oL="[object Set]",iL="[object String]",sL="[object WeakMap]",aL="[object ArrayBuffer]",lL="[object DataView]",cL="[object Float32Array]",uL="[object Float64Array]",dL="[object Int8Array]",fL="[object Int16Array]",hL="[object Int32Array]",pL="[object Uint8Array]",gL="[object Uint8ClampedArray]",mL="[object Uint16Array]",vL="[object Uint32Array]",Nn={};Nn[cL]=Nn[uL]=Nn[dL]=Nn[fL]=Nn[hL]=Nn[pL]=Nn[gL]=Nn[mL]=Nn[vL]=!0;Nn[YM]=Nn[ZM]=Nn[aL]=Nn[KM]=Nn[lL]=Nn[XM]=Nn[JM]=Nn[QM]=Nn[eL]=Nn[tL]=Nn[rL]=Nn[nL]=Nn[oL]=Nn[iL]=Nn[sL]=!1;function yL(r){return Hl(r)&&FC(r.length)&&!!Nn[xf(r)]}function Ov(r){return function(e){return r(e)}}var HC=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ph=HC&&typeof module=="object"&&module&&!module.nodeType&&module,bL=ph&&ph.exports===HC,wm=bL&&DC.process,lf=function(){try{var r=ph&&ph.require&&ph.require("util").types;return r||wm&&wm.binding&&wm.binding("util")}catch{}}(),Q0=lf&&lf.isTypedArray,Nv=Q0?Ov(Q0):yL,xL=Object.prototype,wL=xL.hasOwnProperty;function $C(r,e){var t=Vu(r),n=!t&&F1(r),o=!t&&!n&&_h(r),i=!t&&!n&&!o&&Nv(r),a=t||n||o||i,c=a?HM(r.length,String):[],u=c.length;for(var f in r)(e||wL.call(r,f))&&!(a&&(f=="length"||o&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||PC(f,u)))&&c.push(f);return c}function qC(r,e){return function(t){return r(e(t))}}var CL=qC(Object.keys,Object),SL=Object.prototype,_L=SL.hasOwnProperty;function AL(r){if(!Dv(r))return CL(r);var e=[];for(var t in Object(r))_L.call(r,t)&&t!="constructor"&&e.push(t);return e}function EL(r){return _g(r)?$C(r):AL(r)}function TL(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var RL=Object.prototype,kL=RL.hasOwnProperty;function IL(r){if(!Xc(r))return TL(r);var e=Dv(r),t=[];for(var n in r)n=="constructor"&&(e||!kL.call(r,n))||t.push(n);return t}function UC(r){return _g(r)?$C(r,!0):IL(r)}var Ah=Qu(Object,"create");function ML(){this.__data__=Ah?Ah(null):{},this.size=0}function LL(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var DL="__lodash_hash_undefined__",OL=Object.prototype,NL=OL.hasOwnProperty;function PL(r){var e=this.__data__;if(Ah){var t=e[r];return t===DL?void 0:t}return NL.call(e,r)?e[r]:void 0}var BL=Object.prototype,FL=BL.hasOwnProperty;function jL(r){var e=this.__data__;return Ah?e[r]!==void 0:FL.call(e,r)}var zL="__lodash_hash_undefined__";function HL(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Ah&&e===void 0?zL:e,this}function Gu(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Gu.prototype.clear=ML;Gu.prototype.delete=LL;Gu.prototype.get=PL;Gu.prototype.has=jL;Gu.prototype.set=HL;function $L(){this.__data__=[],this.size=0}function Ag(r,e){for(var t=r.length;t--;)if(Bh(r[t][0],e))return t;return-1}var qL=Array.prototype,UL=qL.splice;function WL(r){var e=this.__data__,t=Ag(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():UL.call(e,t,1),--this.size,!0}function VL(r){var e=this.__data__,t=Ag(e,r);return t<0?void 0:e[t][1]}function GL(r){return Ag(this.__data__,r)>-1}function YL(r,e){var t=this.__data__,n=Ag(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function Ul(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}Ul.prototype.clear=$L;Ul.prototype.delete=WL;Ul.prototype.get=VL;Ul.prototype.has=GL;Ul.prototype.set=YL;var Eh=Qu(sl,"Map");function ZL(){this.size=0,this.__data__={hash:new Gu,map:new(Eh||Ul),string:new Gu}}function KL(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Eg(r,e){var t=r.__data__;return KL(e)?t[typeof e=="string"?"string":"hash"]:t.map}function XL(r){var e=Eg(this,r).delete(r);return this.size-=e?1:0,e}function JL(r){return Eg(this,r).get(r)}function QL(r){return Eg(this,r).has(r)}function eD(r,e){var t=Eg(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function ed(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}ed.prototype.clear=ZL;ed.prototype.delete=XL;ed.prototype.get=JL;ed.prototype.has=QL;ed.prototype.set=eD;function tD(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}var WC=qC(Object.getPrototypeOf,Object),rD="[object Object]",nD=Function.prototype,oD=Object.prototype,VC=nD.toString,iD=oD.hasOwnProperty,sD=VC.call(Object);function aD(r){if(!Hl(r)||xf(r)!=rD)return!1;var e=WC(r);if(e===null)return!0;var t=iD.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&VC.call(t)==sD}function lD(){this.__data__=new Ul,this.size=0}function cD(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function uD(r){return this.__data__.get(r)}function dD(r){return this.__data__.has(r)}var fD=200;function hD(r,e){var t=this.__data__;if(t instanceof Ul){var n=t.__data__;if(!Eh||n.length<fD-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new ed(n)}return t.set(r,e),this.size=t.size,this}function Ja(r){var e=this.__data__=new Ul(r);this.size=e.size}Ja.prototype.clear=lD;Ja.prototype.delete=cD;Ja.prototype.get=uD;Ja.prototype.has=dD;Ja.prototype.set=hD;var GC=typeof exports=="object"&&exports&&!exports.nodeType&&exports,eb=GC&&typeof module=="object"&&module&&!module.nodeType&&module,pD=eb&&eb.exports===GC,tb=pD?sl.Buffer:void 0,rb=tb?tb.allocUnsafe:void 0;function YC(r,e){if(e)return r.slice();var t=r.length,n=rb?rb(t):new r.constructor(t);return r.copy(n),n}function gD(r,e){for(var t=-1,n=r==null?0:r.length,o=0,i=[];++t<n;){var a=r[t];e(a,t,r)&&(i[o++]=a)}return i}function mD(){return[]}var vD=Object.prototype,yD=vD.propertyIsEnumerable,nb=Object.getOwnPropertySymbols,bD=nb?function(r){return r==null?[]:(r=Object(r),gD(nb(r),function(e){return yD.call(r,e)}))}:mD;function xD(r,e,t){var n=e(r);return Vu(r)?n:tD(n,t(r))}function j1(r){return xD(r,EL,bD)}var z1=Qu(sl,"DataView"),H1=Qu(sl,"Promise"),$1=Qu(sl,"Set"),ob="[object Map]",wD="[object Object]",ib="[object Promise]",sb="[object Set]",ab="[object WeakMap]",lb="[object DataView]",CD=Ju(z1),SD=Ju(Eh),_D=Ju(H1),AD=Ju($1),ED=Ju(B1),ca=xf;(z1&&ca(new z1(new ArrayBuffer(1)))!=lb||Eh&&ca(new Eh)!=ob||H1&&ca(H1.resolve())!=ib||$1&&ca(new $1)!=sb||B1&&ca(new B1)!=ab)&&(ca=function(r){var e=xf(r),t=e==wD?r.constructor:void 0,n=t?Ju(t):"";if(n)switch(n){case CD:return lb;case SD:return ob;case _D:return ib;case AD:return sb;case ED:return ab}return e});var TD=Object.prototype,RD=TD.hasOwnProperty;function kD(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&RD.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var rg=sl.Uint8Array;function Pv(r){var e=new r.constructor(r.byteLength);return new rg(e).set(new rg(r)),e}function ID(r,e){var t=Pv(r.buffer);return new r.constructor(t,r.byteOffset,r.byteLength)}var MD=/\w*$/;function LD(r){var e=new r.constructor(r.source,MD.exec(r));return e.lastIndex=r.lastIndex,e}var cb=Yc?Yc.prototype:void 0,ub=cb?cb.valueOf:void 0;function DD(r){return ub?Object(ub.call(r)):{}}function ZC(r,e){var t=e?Pv(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var OD="[object Boolean]",ND="[object Date]",PD="[object Map]",BD="[object Number]",FD="[object RegExp]",jD="[object Set]",zD="[object String]",HD="[object Symbol]",$D="[object ArrayBuffer]",qD="[object DataView]",UD="[object Float32Array]",WD="[object Float64Array]",VD="[object Int8Array]",GD="[object Int16Array]",YD="[object Int32Array]",ZD="[object Uint8Array]",KD="[object Uint8ClampedArray]",XD="[object Uint16Array]",JD="[object Uint32Array]";function QD(r,e,t){var n=r.constructor;switch(e){case $D:return Pv(r);case OD:case ND:return new n(+r);case qD:return ID(r);case UD:case WD:case VD:case GD:case YD:case ZD:case KD:case XD:case JD:return ZC(r,t);case PD:return new n;case BD:case zD:return new n(r);case FD:return LD(r);case jD:return new n;case HD:return DD(r)}}function KC(r){return typeof r.constructor=="function"&&!Dv(r)?bM(WC(r)):{}}var e7="[object Map]";function t7(r){return Hl(r)&&ca(r)==e7}var db=lf&&lf.isMap,r7=db?Ov(db):t7,n7="[object Set]";function o7(r){return Hl(r)&&ca(r)==n7}var fb=lf&&lf.isSet,i7=fb?Ov(fb):o7,s7=1,XC="[object Arguments]",a7="[object Array]",l7="[object Boolean]",c7="[object Date]",u7="[object Error]",JC="[object Function]",d7="[object GeneratorFunction]",f7="[object Map]",h7="[object Number]",QC="[object Object]",p7="[object RegExp]",g7="[object Set]",m7="[object String]",v7="[object Symbol]",y7="[object WeakMap]",b7="[object ArrayBuffer]",x7="[object DataView]",w7="[object Float32Array]",C7="[object Float64Array]",S7="[object Int8Array]",_7="[object Int16Array]",A7="[object Int32Array]",E7="[object Uint8Array]",T7="[object Uint8ClampedArray]",R7="[object Uint16Array]",k7="[object Uint32Array]",Rn={};Rn[XC]=Rn[a7]=Rn[b7]=Rn[x7]=Rn[l7]=Rn[c7]=Rn[w7]=Rn[C7]=Rn[S7]=Rn[_7]=Rn[A7]=Rn[f7]=Rn[h7]=Rn[QC]=Rn[p7]=Rn[g7]=Rn[m7]=Rn[v7]=Rn[E7]=Rn[T7]=Rn[R7]=Rn[k7]=!0;Rn[u7]=Rn[JC]=Rn[y7]=!1;function $p(r,e,t,n,o,i){var a,c=e&s7;if(a!==void 0)return a;if(!Xc(r))return r;var u=Vu(r);if(u)a=kD(r);else{var f=ca(r),p=f==JC||f==d7;if(_h(r))return YC(r,c);if(f==QC||f==XC||p&&!o)a=p?{}:KC(r);else{if(!Rn[f])return o?r:{};a=QD(r,f,c)}}i||(i=new Ja);var m=i.get(r);if(m)return m;i.set(r,a),i7(r)?r.forEach(function(w){a.add($p(w,e,t,w,r,i))}):r7(r)&&r.forEach(function(w,T){a.set(T,$p(w,e,t,T,r,i))});var g=j1,v=u?void 0:g(r);return kM(v||r,function(w,T){v&&(T=w,w=r[T]),BC(a,T,$p(w,e,t,T,r,i))}),a}var I7=1,M7=4;function Qd(r){return $p(r,I7|M7)}var L7="__lodash_hash_undefined__";function D7(r){return this.__data__.set(r,L7),this}function O7(r){return this.__data__.has(r)}function ng(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new ed;++e<t;)this.add(r[e])}ng.prototype.add=ng.prototype.push=D7;ng.prototype.has=O7;function N7(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function P7(r,e){return r.has(e)}var B7=1,F7=2;function e2(r,e,t,n,o,i){var a=t&B7,c=r.length,u=e.length;if(c!=u&&!(a&&u>c))return!1;var f=i.get(r),p=i.get(e);if(f&&p)return f==e&&p==r;var m=-1,g=!0,v=t&F7?new ng:void 0;for(i.set(r,e),i.set(e,r);++m<c;){var w=r[m],T=e[m];if(n)var _=a?n(T,w,m,e,r,i):n(w,T,m,r,e,i);if(_!==void 0){if(_)continue;g=!1;break}if(v){if(!N7(e,function(A,R){if(!P7(v,R)&&(w===A||o(w,A,t,n,i)))return v.push(R)})){g=!1;break}}else if(!(w===T||o(w,T,t,n,i))){g=!1;break}}return i.delete(r),i.delete(e),g}function j7(r){var e=-1,t=Array(r.size);return r.forEach(function(n,o){t[++e]=[o,n]}),t}function z7(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var H7=1,$7=2,q7="[object Boolean]",U7="[object Date]",W7="[object Error]",V7="[object Map]",G7="[object Number]",Y7="[object RegExp]",Z7="[object Set]",K7="[object String]",X7="[object Symbol]",J7="[object ArrayBuffer]",Q7="[object DataView]",hb=Yc?Yc.prototype:void 0,Cm=hb?hb.valueOf:void 0;function eO(r,e,t,n,o,i,a){switch(t){case Q7:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case J7:return!(r.byteLength!=e.byteLength||!i(new rg(r),new rg(e)));case q7:case U7:case G7:return Bh(+r,+e);case W7:return r.name==e.name&&r.message==e.message;case Y7:case K7:return r==e+"";case V7:var c=j7;case Z7:var u=n&H7;if(c||(c=z7),r.size!=e.size&&!u)return!1;var f=a.get(r);if(f)return f==e;n|=$7,a.set(r,e);var p=e2(c(r),c(e),n,o,i,a);return a.delete(r),p;case X7:if(Cm)return Cm.call(r)==Cm.call(e)}return!1}var tO=1,rO=Object.prototype,nO=rO.hasOwnProperty;function oO(r,e,t,n,o,i){var a=t&tO,c=j1(r),u=c.length,f=j1(e),p=f.length;if(u!=p&&!a)return!1;for(var m=u;m--;){var g=c[m];if(!(a?g in e:nO.call(e,g)))return!1}var v=i.get(r),w=i.get(e);if(v&&w)return v==e&&w==r;var T=!0;i.set(r,e),i.set(e,r);for(var _=a;++m<u;){g=c[m];var A=r[g],R=e[g];if(n)var O=a?n(R,A,g,e,r,i):n(A,R,g,r,e,i);if(!(O===void 0?A===R||o(A,R,t,n,i):O)){T=!1;break}_||(_=g=="constructor")}if(T&&!_){var I=r.constructor,F=e.constructor;I!=F&&"constructor"in r&&"constructor"in e&&!(typeof I=="function"&&I instanceof I&&typeof F=="function"&&F instanceof F)&&(T=!1)}return i.delete(r),i.delete(e),T}var iO=1,pb="[object Arguments]",gb="[object Array]",wp="[object Object]",sO=Object.prototype,mb=sO.hasOwnProperty;function aO(r,e,t,n,o,i){var a=Vu(r),c=Vu(e),u=a?gb:ca(r),f=c?gb:ca(e);u=u==pb?wp:u,f=f==pb?wp:f;var p=u==wp,m=f==wp,g=u==f;if(g&&_h(r)){if(!_h(e))return!1;a=!0,p=!1}if(g&&!p)return i||(i=new Ja),a||Nv(r)?e2(r,e,t,n,o,i):eO(r,e,u,t,n,o,i);if(!(t&iO)){var v=p&&mb.call(r,"__wrapped__"),w=m&&mb.call(e,"__wrapped__");if(v||w){var T=v?r.value():r,_=w?e.value():e;return i||(i=new Ja),o(T,_,t,n,i)}}return g?(i||(i=new Ja),oO(r,e,t,n,o,i)):!1}function t2(r,e,t,n,o){return r===e?!0:r==null||e==null||!Hl(r)&&!Hl(e)?r!==r&&e!==e:aO(r,e,t,n,t2,o)}function lO(r){return function(e,t,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var u=a[++o];if(t(i[u],u,i)===!1)break}return e}}var cO=lO();function q1(r,e,t){(t!==void 0&&!Bh(r[e],t)||t===void 0&&!(e in r))&&Lv(r,e,t)}function uO(r){return Hl(r)&&_g(r)}function U1(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function dO(r){return OM(r,UC(r))}function fO(r,e,t,n,o,i,a){var c=U1(r,t),u=U1(e,t),f=a.get(u);if(f){q1(r,t,f);return}var p=i?i(c,u,t+"",r,e,a):void 0,m=p===void 0;if(m){var g=Vu(u),v=!g&&_h(u),w=!g&&!v&&Nv(u);p=u,g||v||w?Vu(c)?p=c:uO(c)?p=wM(c):v?(m=!1,p=YC(u,!0)):w?(m=!1,p=ZC(u,!0)):p=[]:aD(u)||F1(u)?(p=c,F1(c)?p=dO(c):(!Xc(c)||Mv(c))&&(p=KC(u))):m=!1}m&&(a.set(u,p),o(p,u,n,i,a),a.delete(u)),q1(r,t,p)}function r2(r,e,t,n,o){r!==e&&cO(e,function(i,a){if(o||(o=new Ja),Xc(i))fO(r,e,a,t,r2,n,o);else{var c=n?n(U1(r,a),i,a+"",r,e,o):void 0;c===void 0&&(c=i),q1(r,a,c)}},UC)}function jc(r,e){return t2(r,e)}var Wc=jM(function(r,e,t){r2(r,e,t)}),nr=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(nr||{});class rl{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const o=nr.TYPE&nr.ATTRIBUTE;this.scope=n.scope!=null?n.scope&nr.LEVEL|o:nr.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class ef extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const n2=class W1{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const o=this.query(t);if(o==null)throw new ef(`Unable to create ${t} blot`);const i=o,a=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:i.create(n),c=new i(e,a,n);return W1.blots.set(c.domNode,c),c}find(e,t=!1){return W1.find(e,t)}query(e,t=nr.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&nr.LEVEL&nr.BLOCK?n=this.types.block:e&nr.LEVEL&nr.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(n=this.classes[o],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&nr.LEVEL&n.scope&&t&nr.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,o="attrName"in t;if(!n&&!o)throw new ef("Invalid definition");if(n&&t.blotName==="abstract")throw new ef("Cannot register abstract class");const i=n?t.blotName:o?t.attrName:void 0;return this.types[i]=t,o?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(a=>a.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(a=>{(this.tags[a]==null||t.className==null)&&(this.tags[a]=t)}))),t})}};n2.blots=new WeakMap;let cf=n2;function vb(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class hO extends rl{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){vb(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(vb(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const ya=hO;function Sm(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class pO extends rl{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Sm(this.keyName)]=t,!0):!1}remove(e){e.style[Sm(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Sm(this.keyName)];return this.canAdd(e,t)?t:""}}const Jc=pO;class gO{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=cf.find(this.domNode);if(e==null)return;const t=rl.keys(this.domNode),n=ya.keys(this.domNode),o=Jc.keys(this.domNode);t.concat(n).concat(o).forEach(i=>{const a=e.scroll.query(i,nr.ATTRIBUTE);a instanceof rl&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const Tg=gO,o2=class{constructor(e,t){this.scroll=e,this.domNode=t,cf.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new ef("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),cf.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,o){const i=this.isolate(e,t);if(this.scroll.query(n,nr.BLOT)!=null&&o)i.wrap(n,o);else if(this.scroll.query(n,nr.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(n,o)}}insertAt(e,t,n){const o=n==null?this.scroll.create("text",t):this.scroll.create(t,n),i=this.split(e);this.parent.insertBefore(o,i||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new ef(`Cannot wrap ${e}`);return n.appendChild(this),n}};o2.blotName="abstract";let i2=o2;const s2=class extends i2{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};s2.scope=nr.INLINE_BLOT;let mO=s2;const Qo=mO;class vO{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),o=0;for(;n;){if(n===e)return o;o+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let o=n();for(;o;){const i=o.length();if(e<i||t&&e===i&&(o.next==null||o.next.length()!==0))return[o,e];e-=i,o=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[o,i]=this.find(e);let a=e-i;const c=this.iterator(o);let u=c();for(;u&&a<e+t;){const f=u.length();e>a?n(u,e-a,Math.min(t,a+f-e)):n(u,0,Math.min(f,e+t-a)),a+=f,u=c()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let o=n();for(;o;)t=e(t,o),o=n();return t}}function yb(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(nr.INLINE);return Array.from(r.childNodes).forEach(o=>{n.domNode.appendChild(o)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const a2=class Oc extends i2{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Oc.uiClass&&this.uiNode.classList.add(Oc.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new vO,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=yb(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof ef)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,o,i)=>{n.deleteAt(o,i)})}descendant(e,t=0){const[n,o]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,o]:n instanceof Oc?n.descendant(e,o):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let o=[],i=n;return this.children.forEachAt(t,n,(a,c,u)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&o.push(a),a instanceof Oc&&(o=o.concat(a.descendants(e,c,i))),i-=u}),o}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===nr.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof Oc?t.unwrap():t.remove())})}formatAt(e,t,n,o){this.children.forEachAt(e,t,(i,a,c)=>{i.formatAt(a,c,n,o)})}insertAt(e,t,n){const[o,i]=this.children.find(e);if(o)o.insertAt(i,t,n);else{const a=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(a)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,o]=this.children.find(e,t),i=[[this,e]];return n instanceof Oc?i.concat(n.path(o,t)):(n!=null&&i.push([n,o]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof Oc&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(o,i,a)=>{const c=o.split(i,t);c!=null&&n.appendChild(c)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],o=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(n.push(...i.addedNodes),o.push(...i.removedNodes))}),o.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),n.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const c=yb(i,this.scroll);(c.next!==a||c.next==null)&&(c.parent!=null&&c.parent.removeChild(this),this.insertBefore(c,a||void 0))}),this.enforceAllowedChildren()}};a2.uiClass="";let yO=a2;const fa=yO;function bO(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const Hd=class $d extends fa{static create(e){return super.create(e)}static formats(e,t){const n=t.query($d.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Tg(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof $d||(n=n.wrap($d.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,nr.INLINE);if(n==null)return;n instanceof rl?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,o){this.formats()[n]!=null||this.scroll.query(n,nr.ATTRIBUTE)?this.isolate(e,t).format(n,o):super.formatAt(e,t,n,o)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof $d&&n.prev===this&&bO(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof $d&&this.attributes.move(n),n}};Hd.allowedChildren=[Hd,Qo],Hd.blotName="inline",Hd.scope=nr.INLINE_BLOT,Hd.tagName="SPAN";let xO=Hd;const Bv=xO,qd=class V1 extends fa{static create(e){return super.create(e)}static formats(e,t){const n=t.query(V1.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Tg(this.domNode)}format(e,t){const n=this.scroll.query(e,nr.BLOCK);n!=null&&(n instanceof rl?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(V1.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,o){this.scroll.query(n,nr.BLOCK)!=null?this.format(n,o):super.formatAt(e,t,n,o)}insertAt(e,t,n){if(n==null||this.scroll.query(t,nr.INLINE)!=null)super.insertAt(e,t,n);else{const o=this.split(e);if(o!=null){const i=this.scroll.create(t,n);o.parent.insertBefore(i,o)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};qd.blotName="block",qd.scope=nr.BLOCK_BLOT,qd.tagName="P",qd.allowedChildren=[Bv,qd,Qo];let wO=qd;const Th=wO,G1=class extends fa{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,o){super.formatAt(e,t,n,o),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};G1.blotName="container",G1.scope=nr.BLOCK_BLOT;let CO=G1;const Rg=CO;class SO extends Qo{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,o){e===0&&t===this.length()?this.format(n,o):super.formatAt(e,t,n,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const ss=SO,_O={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},AO=100,Ud=class extends fa{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,_O),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=nr.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,o){this.update(),super.formatAt(e,t,n,o)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const i=(u,f=!0)=>{u==null||u===this||u.domNode.parentNode!=null&&(n.has(u.domNode)||n.set(u.domNode,[]),f&&i(u.parent))},a=u=>{n.has(u.domNode)&&(u instanceof fa&&u.children.forEach(a),n.delete(u.domNode),u.optimize(t))};let c=e;for(let u=0;c.length>0;u+=1){if(u>=AO)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(f=>{const p=this.find(f.target,!0);p!=null&&(p.domNode===f.target&&(f.type==="childList"?(i(this.find(f.previousSibling,!1)),Array.from(f.addedNodes).forEach(m=>{const g=this.find(m,!1);i(g,!1),g instanceof fa&&g.children.forEach(v=>{i(v,!1)})})):f.type==="attributes"&&i(p.prev)),i(p))}),this.children.forEach(a),c=Array.from(this.observer.takeRecords()),o=c.slice();o.length>0;)e.push(o.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(o=>{const i=this.find(o.target,!0);return i==null?null:n.has(i.domNode)?(n.get(i.domNode).push(o),null):(n.set(i.domNode,[o]),i)}).forEach(o=>{o!=null&&o!==this&&n.has(o.domNode)&&o.update(n.get(o.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};Ud.blotName="scroll",Ud.defaultChild=Th,Ud.allowedChildren=[Th,Rg],Ud.scope=nr.BLOCK_BLOT,Ud.tagName="DIV";let EO=Ud;const Fv=EO,Y1=class l2 extends Qo{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof l2&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Y1.blotName="text",Y1.scope=nr.INLINE_BLOT;let TO=Y1;const og=TO,RO=Object.freeze(Object.defineProperty({__proto__:null,Attributor:rl,AttributorStore:Tg,BlockBlot:Th,ClassAttributor:ya,ContainerBlot:Rg,EmbedBlot:ss,InlineBlot:Bv,LeafBlot:Qo,ParentBlot:fa,Registry:cf,Scope:nr,ScrollBlot:Fv,StyleAttributor:Jc,TextBlot:og},Symbol.toStringTag,{value:"Module"}));class ba extends ss{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}ba.blotName="break";ba.tagName="BR";let pa=class extends og{};const kO={"&":"&","<":"<",">":">",'"':""","'":"'"};function kg(r){return r.replace(/[&<>"']/g,e=>kO[e])}const Ga=class Ga extends Bv{static compare(e,t){const n=Ga.order.indexOf(e),o=Ga.order.indexOf(t);return n>=0||o>=0?n-o:e===t?0:e<t?-1:1}formatAt(e,t,n,o){if(Ga.compare(this.statics.blotName,n)<0&&this.scroll.query(n,nr.BLOT)){const i=this.isolate(e,t);o&&i.wrap(n,o)}else super.formatAt(e,t,n,o)}optimize(e){if(super.optimize(e),this.parent instanceof Ga&&Ga.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}};fe(Ga,"allowedChildren",[Ga,ba,ss,pa]),fe(Ga,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);let nl=Ga;const bb=1;class Yo extends Th{constructor(){super(...arguments);fe(this,"cache",{})}delta(){return this.cache.delta==null&&(this.cache.delta=c2(this)),this.cache.delta}deleteAt(t,n){super.deleteAt(t,n),this.cache={}}formatAt(t,n,o,i){n<=0||(this.scroll.query(o,nr.BLOCK)?t+n===this.length()&&this.format(o,i):super.formatAt(t,Math.min(n,this.length()-t-1),o,i),this.cache={})}insertAt(t,n,o){if(o!=null){super.insertAt(t,n,o),this.cache={};return}if(n.length===0)return;const i=n.split(`
|
170
170
|
`),a=i.shift();a.length>0&&(t<this.length()-1||this.children.tail==null?super.insertAt(Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});let c=this;i.reduce((u,f)=>(c=c.split(u,!0),c.insertAt(0,f),f.length),t+a.length)}insertBefore(t,n){const{head:o}=this.children;super.insertBefore(t,n),o instanceof ba&&o.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+bb),this.cache.length}moveChildren(t,n){super.moveChildren(t,n),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n&&(t===0||t>=this.length()-bb)){const i=this.clone();return t===0?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}const o=super.split(t,n);return this.cache={},o}}Yo.blotName="block";Yo.tagName="P";Yo.defaultChild=ba;Yo.allowedChildren=[ba,nl,ss,pa];let Ms=class extends ss{attach(){super.attach(),this.attributes=new Tg(this.domNode)}delta(){return new rr().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,nr.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,o){this.format(n,o)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const o=t.split(`
|
171
171
|
`),i=o.pop(),a=o.map(u=>{const f=this.scroll.create(Yo.blotName);return f.insertAt(0,u),f}),c=this.split(e);a.forEach(u=>{this.parent.insertBefore(u,c)}),i&&this.parent.insertBefore(this.scroll.create("text",i),c)}};Ms.scope=nr.BLOCK_BLOT;function c2(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(Qo).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),ks(n,{},e)),new rr).insert(`
|
172
172
|
`,ks(r))}function ks(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return r==null||("formats"in r&&typeof r.formats=="function"&&(e={...e,...r.formats()},t&&delete e["code-token"]),r.parent==null||r.parent.statics.blotName==="scroll"||r.parent.statics.scope!==r.statics.scope)?e:ks(r.parent,e,t)}const Es=class Es extends ss{static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(Es.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){this.parent!=null&&this.parent.removeChild(this)}format(e,t){if(this.savedLength!==0){super.format(e,t);return}let n=this,o=0;for(;n!=null&&n.statics.scope!==nr.BLOCK_BLOT;)o+=n.offset(n.parent),n=n.parent;n!=null&&(this.savedLength=Es.CONTENTS.length,n.optimize(),n.formatAt(o,Es.CONTENTS.length,e,t),this.savedLength=0)}index(e,t){return e===this.textNode?0:super.index(e,t)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||this.parent==null)return null;const e=this.selection.getNativeRange();for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const t=this.prev instanceof pa?this.prev:null,n=t?t.length():0,o=this.next instanceof pa?this.next:null,i=o?o.text:"",{textNode:a}=this,c=a.data.split(Es.CONTENTS).join("");a.data=Es.CONTENTS;let u;if(t)u=t,(c||o)&&(t.insertAt(t.length(),c+i),o&&o.remove());else if(o)u=o,o.insertAt(0,c);else{const f=document.createTextNode(c);u=this.scroll.create(f),this.parent.insertBefore(u,this)}if(this.remove(),e){const f=(g,v)=>t&&g===t.domNode?v:g===a?n+v-1:o&&g===o.domNode?n+c.length+v:null,p=f(e.start.node,e.start.offset),m=f(e.end.node,e.end.offset);if(p!==null&&m!==null)return{startNode:u.domNode,startOffset:p,endNode:u.domNode,endOffset:m}}return null}update(e,t){if(e.some(n=>n.type==="characterData"&&n.target===this.textNode)){const n=this.restore();n&&(t.range=n)}}optimize(e){super.optimize(e);let{parent:t}=this;for(;t;){if(t.domNode.tagName==="A"){this.savedLength=Es.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}};fe(Es,"blotName","cursor"),fe(Es,"className","ql-cursor"),fe(Es,"tagName","span"),fe(Es,"CONTENTS","\uFEFF");let uf=Es;var _m={exports:{}},xb;function IO(){return xb||(xb=1,function(r){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function o(u,f,p){this.fn=u,this.context=f,this.once=p||!1}function i(u,f,p,m,g){if(typeof p!="function")throw new TypeError("The listener must be a function");var v=new o(p,m||u,g),w=t?t+f:f;return u._events[w]?u._events[w].fn?u._events[w]=[u._events[w],v]:u._events[w].push(v):(u._events[w]=v,u._eventsCount++),u}function a(u,f){--u._eventsCount===0?u._events=new n:delete u._events[f]}function c(){this._events=new n,this._eventsCount=0}c.prototype.eventNames=function(){var f=[],p,m;if(this._eventsCount===0)return f;for(m in p=this._events)e.call(p,m)&&f.push(t?m.slice(1):m);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(p)):f},c.prototype.listeners=function(f){var p=t?t+f:f,m=this._events[p];if(!m)return[];if(m.fn)return[m.fn];for(var g=0,v=m.length,w=new Array(v);g<v;g++)w[g]=m[g].fn;return w},c.prototype.listenerCount=function(f){var p=t?t+f:f,m=this._events[p];return m?m.fn?1:m.length:0},c.prototype.emit=function(f,p,m,g,v,w){var T=t?t+f:f;if(!this._events[T])return!1;var _=this._events[T],A=arguments.length,R,O;if(_.fn){switch(_.once&&this.removeListener(f,_.fn,void 0,!0),A){case 1:return _.fn.call(_.context),!0;case 2:return _.fn.call(_.context,p),!0;case 3:return _.fn.call(_.context,p,m),!0;case 4:return _.fn.call(_.context,p,m,g),!0;case 5:return _.fn.call(_.context,p,m,g,v),!0;case 6:return _.fn.call(_.context,p,m,g,v,w),!0}for(O=1,R=new Array(A-1);O<A;O++)R[O-1]=arguments[O];_.fn.apply(_.context,R)}else{var I=_.length,F;for(O=0;O<I;O++)switch(_[O].once&&this.removeListener(f,_[O].fn,void 0,!0),A){case 1:_[O].fn.call(_[O].context);break;case 2:_[O].fn.call(_[O].context,p);break;case 3:_[O].fn.call(_[O].context,p,m);break;case 4:_[O].fn.call(_[O].context,p,m,g);break;default:if(!R)for(F=1,R=new Array(A-1);F<A;F++)R[F-1]=arguments[F];_[O].fn.apply(_[O].context,R)}}return!0},c.prototype.on=function(f,p,m){return i(this,f,p,m,!1)},c.prototype.once=function(f,p,m){return i(this,f,p,m,!0)},c.prototype.removeListener=function(f,p,m,g){var v=t?t+f:f;if(!this._events[v])return this;if(!p)return a(this,v),this;var w=this._events[v];if(w.fn)w.fn===p&&(!g||w.once)&&(!m||w.context===m)&&a(this,v);else{for(var T=0,_=[],A=w.length;T<A;T++)(w[T].fn!==p||g&&!w[T].once||m&&w[T].context!==m)&&_.push(w[T]);_.length?this._events[v]=_.length===1?_[0]:_:a(this,v)}return this},c.prototype.removeAllListeners=function(f){var p;return f?(p=t?t+f:f,this._events[p]&&a(this,p)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=t,c.EventEmitter=c,r.exports=c}(_m)),_m.exports}var MO=IO();const LO=yf(MO),Z1=new WeakMap,K1=["error","warn","log","info"];let X1="warn";function u2(r){if(X1&&K1.indexOf(r)<=K1.indexOf(X1)){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];console[r](...t)}}function Wl(r){return K1.reduce((e,t)=>(e[t]=u2.bind(console,t,r),e),{})}Wl.level=r=>{X1=r};u2.level=Wl.level;const Am=Wl("quill:events"),DO=["selectionchange","mousedown","mouseup","click"];DO.forEach(r=>{document.addEventListener(r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.from(document.querySelectorAll(".ql-container")).forEach(o=>{const i=Z1.get(o);i&&i.emitter&&i.emitter.handleDOM(...t)})})});class Xt extends LO{constructor(){super(),this.domListeners={},this.on("error",Am.error)}emit(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Am.log.call(Am,...t),super.emit(...t)}handleDOM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(this.domListeners[e.type]||[]).forEach(i=>{let{node:a,handler:c}=i;(e.target===a||a.contains(e.target))&&c(e,...n)})}listenDOM(e,t,n){this.domListeners[e]||(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}fe(Xt,"events",{EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"}),fe(Xt,"sources",{API:"api",SILENT:"silent",USER:"user"});const Em=Wl("quill:selection");class Yu{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.index=e,this.length=t}}class OO{constructor(e,t){this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new Yu(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{!this.mouseDown&&!this.composing&&setTimeout(this.update.bind(this,Xt.sources.USER),1)}),this.emitter.on(Xt.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;const n=this.getNativeRange();n!=null&&n.start.node!==this.cursor.textNode&&this.emitter.once(Xt.events.SCROLL_UPDATE,(o,i)=>{try{this.root.contains(n.start.node)&&this.root.contains(n.end.node)&&this.setNativeRange(n.start.node,n.start.offset,n.end.node,n.end.offset);const a=i.some(c=>c.type==="characterData"||c.type==="childList"||c.type==="attributes"&&c.target===this.root);this.update(a?Xt.sources.SILENT:o)}catch{}})}),this.emitter.on(Xt.events.SCROLL_OPTIMIZE,(n,o)=>{if(o.range){const{startNode:i,startOffset:a,endNode:c,endOffset:u}=o.range;this.setNativeRange(i,a,c,u),this.update(Xt.sources.SILENT)}}),this.update(Xt.sources.SILENT)}handleComposition(){this.emitter.on(Xt.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(Xt.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){const e=this.cursor.restore();if(!e)return;setTimeout(()=>{this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(Xt.sources.USER)})}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(e,t){this.scroll.update();const n=this.getNativeRange();if(!(n==null||!n.native.collapsed||this.scroll.query(e,nr.BLOCK))){if(n.start.node!==this.cursor.textNode){const o=this.scroll.find(n.start.node,!1);if(o==null)return;if(o instanceof Qo){const i=o.split(n.start.offset);o.parent.insertBefore(this.cursor,i)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;let o,[i,a]=this.scroll.leaf(e);if(i==null)return null;if(t>0&&a===i.length()){const[p]=this.scroll.leaf(e+1);if(p){const[m]=this.scroll.line(e),[g]=this.scroll.line(e+1);m===g&&(i=p,a=0)}}[o,a]=i.position(a,!0);const c=document.createRange();if(t>0)return c.setStart(o,a),[i,a]=this.scroll.leaf(e+t),i==null?null:([o,a]=i.position(a,!0),c.setEnd(o,a),c.getBoundingClientRect());let u="left",f;if(o instanceof Text){if(!o.data.length)return null;a<o.data.length?(c.setStart(o,a),c.setEnd(o,a+1)):(c.setStart(o,a-1),c.setEnd(o,a),u="right"),f=c.getBoundingClientRect()}else{if(!(i.domNode instanceof Element))return null;f=i.domNode.getBoundingClientRect(),a>0&&(u="right")}return{bottom:f.top+f.height,height:f.height,left:f[u],right:f[u],top:f.top,width:0}}getNativeRange(){const e=document.getSelection();if(e==null||e.rangeCount<=0)return null;const t=e.getRangeAt(0);if(t==null)return null;const n=this.normalizeNative(t);return Em.info("getNativeRange",n),n}getRange(){const e=this.scroll.domNode;if("isConnected"in e&&!e.isConnected)return[null,null];const t=this.getNativeRange();return t==null?[null,null]:[this.normalizedToRange(t),t]}hasFocus(){return document.activeElement===this.root||document.activeElement!=null&&Tm(this.root,document.activeElement)}normalizedToRange(e){const t=[[e.start.node,e.start.offset]];e.native.collapsed||t.push([e.end.node,e.end.offset]);const n=t.map(a=>{const[c,u]=a,f=this.scroll.find(c,!0),p=f.offset(this.scroll);return u===0?p:f instanceof Qo?p+f.index(c,u):p+f.length()}),o=Math.min(Math.max(...n),this.scroll.length()-1),i=Math.min(o,...n);return new Yu(i,o-i)}normalizeNative(e){if(!Tm(this.root,e.startContainer)||!e.collapsed&&!Tm(this.root,e.endContainer))return null;const t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(n=>{let{node:o,offset:i}=n;for(;!(o instanceof Text)&&o.childNodes.length>0;)if(o.childNodes.length>i)o=o.childNodes[i],i=0;else if(o.childNodes.length===i)o=o.lastChild,o instanceof Text?i=o.data.length:o.childNodes.length>0?i=o.childNodes.length:i=o.childNodes.length+1;else break;n.node=o,n.offset=i}),t}rangeToNative(e){const t=this.scroll.length(),n=(o,i)=>{o=Math.min(t-1,o);const[a,c]=this.scroll.leaf(o);return a?a.position(c,i):[null,-1]};return[...n(e.index,!1),...n(e.index+e.length,!0)]}setNativeRange(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Em.info("setNativeRange",e,t,n,o),e!=null&&(this.root.parentNode==null||e.parentNode==null||n.parentNode==null))return;const a=document.getSelection();if(a!=null)if(e!=null){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:c}=this.getNativeRange()||{};if(c==null||i||e!==c.startContainer||t!==c.startOffset||n!==c.endContainer||o!==c.endOffset){e instanceof Element&&e.tagName==="BR"&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&n.tagName==="BR"&&(o=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const u=document.createRange();u.setStart(e,t),u.setEnd(n,o),a.removeAllRanges(),a.addRange(u)}}else a.removeAllRanges(),this.root.blur()}setRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xt.sources.API;if(typeof t=="string"&&(n=t,t=!1),Em.info("setRange",e),e!=null){const o=this.rangeToNative(e);this.setNativeRange(...o,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xt.sources.USER;const t=this.lastRange,[n,o]=this.getRange();if(this.lastRange=n,this.lastNative=o,this.lastRange!=null&&(this.savedRange=this.lastRange),!jc(t,this.lastRange)){if(!this.composing&&o!=null&&o.native.collapsed&&o.start.node!==this.cursor.textNode){const a=this.cursor.restore();a&&this.setNativeRange(a.startNode,a.startOffset,a.endNode,a.endOffset)}const i=[Xt.events.SELECTION_CHANGE,Qd(this.lastRange),Qd(t),e];this.emitter.emit(Xt.events.EDITOR_CHANGE,...i),e!==Xt.sources.SILENT&&this.emitter.emit(...i)}}}function Tm(r,e){try{e.parentNode}catch{return!1}return r.contains(e)}const NO=/^[ -~]*$/;class PO{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();const n=wb(e),o=new rr;return FO(n.ops.slice()).reduce((a,c)=>{const u=Ds.Op.length(c);let f=c.attributes||{},p=!1,m=!1;if(c.insert!=null){if(o.retain(u),typeof c.insert=="string"){const w=c.insert;m=!w.endsWith(`
|
@@ -361,7 +361,7 @@ received: ${r.imageType}
|
|
361
361
|
To pick up a draggable item, press the space bar.
|
362
362
|
While dragging, use the arrow keys to move the item.
|
363
363
|
Press space again to drop the item in its new position, or press escape to cancel.
|
364
|
-
`},_j={onDragStart(r){let{active:e}=r;return"Picked up draggable item "+e.id+"."},onDragOver(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(r){let{active:e}=r;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function Aj(r){let{announcements:e=_j,container:t,hiddenTextDescribedById:n,screenReaderInstructions:o=Sj}=r;const{announce:i,announcement:a}=xj(),c=Vh("DndLiveRegion"),[u,f]=S.useState(!1);if(S.useEffect(()=>{f(!0)},[]),wj(S.useMemo(()=>({onDragStart(m){let{active:g}=m;i(e.onDragStart({active:g}))},onDragMove(m){let{active:g,over:v}=m;e.onDragMove&&i(e.onDragMove({active:g,over:v}))},onDragOver(m){let{active:g,over:v}=m;i(e.onDragOver({active:g,over:v}))},onDragEnd(m){let{active:g,over:v}=m;i(e.onDragEnd({active:g,over:v}))},onDragCancel(m){let{active:g,over:v}=m;i(e.onDragCancel({active:g,over:v}))}}),[i,e])),!u)return null;const p=S.createElement(S.Fragment,null,S.createElement(yj,{id:n,value:o.draggable}),S.createElement(bj,{id:c,announcement:a}));return t?Ls.createPortal(p,t):p}var So;(function(r){r.DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable"})(So||(So={}));function mg(){}function ux(r,e){return S.useMemo(()=>({sensor:r,options:e??{}}),[r,e])}function Ej(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return S.useMemo(()=>[...e].filter(n=>n!=null),[...e])}const va=Object.freeze({x:0,y:0});function Tj(r,e){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))}function Rj(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return t-n}function kj(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return n-t}function Ij(r,e){if(!r||r.length===0)return null;const[t]=r;return t[e]}function dx(r,e,t){return e===void 0&&(e=r.left),t===void 0&&(t=r.top),{x:e+r.width*.5,y:t+r.height*.5}}const Mj=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=dx(e,e.left,e.top),i=[];for(const a of n){const{id:c}=a,u=t.get(c);if(u){const f=Tj(dx(u),o);i.push({id:c,data:{droppableContainer:a,value:f}})}}return i.sort(Rj)};function Lj(r,e){const t=Math.max(e.top,r.top),n=Math.max(e.left,r.left),o=Math.min(e.left+e.width,r.left+r.width),i=Math.min(e.top+e.height,r.top+r.height),a=o-n,c=i-t;if(n<o&&t<i){const u=e.width*e.height,f=r.width*r.height,p=a*c,m=p/(u+f-p);return Number(m.toFixed(4))}return 0}const Dj=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=[];for(const i of n){const{id:a}=i,c=t.get(a);if(c){const u=Lj(c,e);u>0&&o.push({id:a,data:{droppableContainer:i,value:u}})}}return o.sort(kj)};function Oj(r,e,t){return{...r,scaleX:e&&t?e.width/t.width:1,scaleY:e&&t?e.height/t.height:1}}function uS(r,e){return r&&e?{x:r.left-e.left,y:r.top-e.top}:va}function Nj(r){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return o.reduce((a,c)=>({...a,top:a.top+r*c.y,bottom:a.bottom+r*c.y,left:a.left+r*c.x,right:a.right+r*c.x}),{...t})}}const Pj=Nj(1);function Bj(r){if(r.startsWith("matrix3d(")){const e=r.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(r.startsWith("matrix(")){const e=r.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function Fj(r,e,t){const n=Bj(e);if(!n)return r;const{scaleX:o,scaleY:i,x:a,y:c}=n,u=r.left-a-(1-o)*parseFloat(t),f=r.top-c-(1-i)*parseFloat(t.slice(t.indexOf(" ")+1)),p=o?r.width/o:r.width,m=i?r.height/i:r.height;return{width:p,height:m,top:f,right:u+p,bottom:f+m,left:u}}const jj={ignoreTransform:!1};function _f(r,e){e===void 0&&(e=jj);let t=r.getBoundingClientRect();if(e.ignoreTransform){const{transform:f,transformOrigin:p}=Ni(r).getComputedStyle(r);f&&(t=Fj(t,f,p))}const{top:n,left:o,width:i,height:a,bottom:c,right:u}=t;return{top:n,left:o,width:i,height:a,bottom:c,right:u}}function fx(r){return _f(r,{ignoreTransform:!0})}function zj(r){const e=r.innerWidth,t=r.innerHeight;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}function Hj(r,e){return e===void 0&&(e=Ni(r).getComputedStyle(r)),e.position==="fixed"}function $j(r,e){e===void 0&&(e=Ni(r).getComputedStyle(r));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=e[o];return typeof i=="string"?t.test(i):!1})}function iy(r,e){const t=[];function n(o){if(e!=null&&t.length>=e||!o)return t;if(ry(o)&&o.scrollingElement!=null&&!t.includes(o.scrollingElement))return t.push(o.scrollingElement),t;if(!Uh(o)||aS(o)||t.includes(o))return t;const i=Ni(r).getComputedStyle(o);return o!==r&&$j(o,i)&&t.push(o),Hj(o,i)?t:n(o.parentNode)}return r?n(r):t}function dS(r){const[e]=iy(r,1);return e??null}function jm(r){return!Pg||!r?null:Cf(r)?r:ty(r)?ry(r)||r===Sf(r).scrollingElement?window:Uh(r)?r:null:null}function fS(r){return Cf(r)?r.scrollX:r.scrollLeft}function hS(r){return Cf(r)?r.scrollY:r.scrollTop}function gv(r){return{x:fS(r),y:hS(r)}}var Mo;(function(r){r[r.Forward=1]="Forward",r[r.Backward=-1]="Backward"})(Mo||(Mo={}));function pS(r){return!Pg||!r?!1:r===document.scrollingElement}function gS(r){const e={x:0,y:0},t=pS(r)?{height:window.innerHeight,width:window.innerWidth}:{height:r.clientHeight,width:r.clientWidth},n={x:r.scrollWidth-t.width,y:r.scrollHeight-t.height},o=r.scrollTop<=e.y,i=r.scrollLeft<=e.x,a=r.scrollTop>=n.y,c=r.scrollLeft>=n.x;return{isTop:o,isLeft:i,isBottom:a,isRight:c,maxScroll:n,minScroll:e}}const qj={x:.2,y:.2};function Uj(r,e,t,n,o){let{top:i,left:a,right:c,bottom:u}=t;n===void 0&&(n=10),o===void 0&&(o=qj);const{isTop:f,isBottom:p,isLeft:m,isRight:g}=gS(r),v={x:0,y:0},w={x:0,y:0},T={height:e.height*o.y,width:e.width*o.x};return!f&&i<=e.top+T.height?(v.y=Mo.Backward,w.y=n*Math.abs((e.top+T.height-i)/T.height)):!p&&u>=e.bottom-T.height&&(v.y=Mo.Forward,w.y=n*Math.abs((e.bottom-T.height-u)/T.height)),!g&&c>=e.right-T.width?(v.x=Mo.Forward,w.x=n*Math.abs((e.right-T.width-c)/T.width)):!m&&a<=e.left+T.width&&(v.x=Mo.Backward,w.x=n*Math.abs((e.left+T.width-a)/T.width)),{direction:v,speed:w}}function Wj(r){if(r===document.scrollingElement){const{innerWidth:i,innerHeight:a}=window;return{top:0,left:0,right:i,bottom:a,width:i,height:a}}const{top:e,left:t,right:n,bottom:o}=r.getBoundingClientRect();return{top:e,left:t,right:n,bottom:o,width:r.clientWidth,height:r.clientHeight}}function mS(r){return r.reduce((e,t)=>of(e,gv(t)),va)}function Vj(r){return r.reduce((e,t)=>e+fS(t),0)}function Gj(r){return r.reduce((e,t)=>e+hS(t),0)}function Yj(r,e){if(e===void 0&&(e=_f),!r)return;const{top:t,left:n,bottom:o,right:i}=e(r);dS(r)&&(o<=0||i<=0||t>=window.innerHeight||n>=window.innerWidth)&&r.scrollIntoView({block:"center",inline:"center"})}const Zj=[["x",["left","right"],Vj],["y",["top","bottom"],Gj]];class sy{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=iy(t),o=mS(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[i,a,c]of Zj)for(const u of a)Object.defineProperty(this,u,{get:()=>{const f=c(n),p=o[i]-f;return this.rect[u]+p},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class mh{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(t=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...t)})},this.target=e}add(e,t,n){var o;(o=this.target)==null||o.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function Kj(r){const{EventTarget:e}=Ni(r);return r instanceof e?r:Sf(r)}function zm(r,e){const t=Math.abs(r.x),n=Math.abs(r.y);return typeof e=="number"?Math.sqrt(t**2+n**2)>e:"x"in e&&"y"in e?t>e.x&&n>e.y:"x"in e?t>e.x:"y"in e?n>e.y:!1}var Rs;(function(r){r.Click="click",r.DragStart="dragstart",r.Keydown="keydown",r.ContextMenu="contextmenu",r.Resize="resize",r.SelectionChange="selectionchange",r.VisibilityChange="visibilitychange"})(Rs||(Rs={}));function hx(r){r.preventDefault()}function Xj(r){r.stopPropagation()}var un;(function(r){r.Space="Space",r.Down="ArrowDown",r.Right="ArrowRight",r.Left="ArrowLeft",r.Up="ArrowUp",r.Esc="Escape",r.Enter="Enter",r.Tab="Tab"})(un||(un={}));const vS={start:[un.Space,un.Enter],cancel:[un.Esc],end:[un.Space,un.Enter,un.Tab]},Jj=(r,e)=>{let{currentCoordinates:t}=e;switch(r.code){case un.Right:return{...t,x:t.x+25};case un.Left:return{...t,x:t.x-25};case un.Down:return{...t,y:t.y+25};case un.Up:return{...t,y:t.y-25}}};class ay{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new mh(Sf(t)),this.windowListeners=new mh(Ni(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Rs.Resize,this.handleCancel),this.windowListeners.add(Rs.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Rs.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&Yj(n),t(va)}handleKeyDown(e){if(oy(e)){const{active:t,context:n,options:o}=this.props,{keyboardCodes:i=vS,coordinateGetter:a=Jj,scrollBehavior:c="smooth"}=o,{code:u}=e;if(i.end.includes(u)){this.handleEnd(e);return}if(i.cancel.includes(u)){this.handleCancel(e);return}const{collisionRect:f}=n.current,p=f?{x:f.left,y:f.top}:va;this.referenceCoordinates||(this.referenceCoordinates=p);const m=a(e,{active:t,context:n.current,currentCoordinates:p});if(m){const g=gg(m,p),v={x:0,y:0},{scrollableAncestors:w}=n.current;for(const T of w){const _=e.code,{isTop:A,isRight:R,isLeft:O,isBottom:I,maxScroll:F,minScroll:B}=gS(T),z=Wj(T),j={x:Math.min(_===un.Right?z.right-z.width/2:z.right,Math.max(_===un.Right?z.left:z.left+z.width/2,m.x)),y:Math.min(_===un.Down?z.bottom-z.height/2:z.bottom,Math.max(_===un.Down?z.top:z.top+z.height/2,m.y))},V=_===un.Right&&!R||_===un.Left&&!O,ue=_===un.Down&&!I||_===un.Up&&!A;if(V&&j.x!==m.x){const P=T.scrollLeft+g.x,U=_===un.Right&&P<=F.x||_===un.Left&&P>=B.x;if(U&&!g.y){T.scrollTo({left:P,behavior:c});return}U?v.x=T.scrollLeft-P:v.x=_===un.Right?T.scrollLeft-F.x:T.scrollLeft-B.x,v.x&&T.scrollBy({left:-v.x,behavior:c});break}else if(ue&&j.y!==m.y){const P=T.scrollTop+g.y,U=_===un.Down&&P<=F.y||_===un.Up&&P>=B.y;if(U&&!g.x){T.scrollTo({top:P,behavior:c});return}U?v.y=T.scrollTop-P:v.y=_===un.Down?T.scrollTop-F.y:T.scrollTop-B.y,v.y&&T.scrollBy({top:-v.y,behavior:c});break}}this.handleMove(e,of(gg(m,this.referenceCoordinates),v))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}ay.activators=[{eventName:"onKeyDown",handler:(r,e,t)=>{let{keyboardCodes:n=vS,onActivation:o}=e,{active:i}=t;const{code:a}=r.nativeEvent;if(n.start.includes(a)){const c=i.activatorNode.current;return c&&r.target!==c?!1:(r.preventDefault(),o==null||o({event:r.nativeEvent}),!0)}return!1}}];function px(r){return!!(r&&"distance"in r)}function gx(r){return!!(r&&"delay"in r)}class ly{constructor(e,t,n){var o;n===void 0&&(n=Kj(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:a}=i;this.props=e,this.events=t,this.document=Sf(a),this.documentListeners=new mh(this.document),this.listeners=new mh(n),this.windowListeners=new mh(Ni(a)),this.initialCoordinates=(o=pv(i))!=null?o:va,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(Rs.Resize,this.handleCancel),this.windowListeners.add(Rs.DragStart,hx),this.windowListeners.add(Rs.VisibilityChange,this.handleCancel),this.windowListeners.add(Rs.ContextMenu,hx),this.documentListeners.add(Rs.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(gx(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(px(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:o}=this.props;o(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Rs.Click,Xj,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Rs.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:o,props:i}=this,{onMove:a,options:{activationConstraint:c}}=i;if(!o)return;const u=(t=pv(e))!=null?t:va,f=gg(o,u);if(!n&&c){if(px(c)){if(c.tolerance!=null&&zm(f,c.tolerance))return this.handleCancel();if(zm(f,c.distance))return this.handleStart()}if(gx(c)&&zm(f,c.tolerance))return this.handleCancel();this.handlePending(c,f);return}e.cancelable&&e.preventDefault(),a(u)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===un.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}}const Qj={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class cy extends ly{constructor(e){const{event:t}=e,n=Sf(t.target);super(e,Qj,n)}}cy.activators=[{eventName:"onPointerDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return!t.isPrimary||t.button!==0?!1:(n==null||n({event:t}),!0)}}];const ez={move:{name:"mousemove"},end:{name:"mouseup"}};var mv;(function(r){r[r.RightClick=2]="RightClick"})(mv||(mv={}));class tz extends ly{constructor(e){super(e,ez,Sf(e.event.target))}}tz.activators=[{eventName:"onMouseDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return t.button===mv.RightClick?!1:(n==null||n({event:t}),!0)}}];const Hm={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class rz extends ly{constructor(e){super(e,Hm)}static setup(){return window.addEventListener(Hm.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Hm.move.name,e)};function e(){}}}rz.activators=[{eventName:"onTouchStart",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;const{touches:o}=t;return o.length>1?!1:(n==null||n({event:t}),!0)}}];var vh;(function(r){r[r.Pointer=0]="Pointer",r[r.DraggableRect=1]="DraggableRect"})(vh||(vh={}));var vg;(function(r){r[r.TreeOrder=0]="TreeOrder",r[r.ReversedTreeOrder=1]="ReversedTreeOrder"})(vg||(vg={}));function nz(r){let{acceleration:e,activator:t=vh.Pointer,canScroll:n,draggingRect:o,enabled:i,interval:a=5,order:c=vg.TreeOrder,pointerCoordinates:u,scrollableAncestors:f,scrollableAncestorRects:p,delta:m,threshold:g}=r;const v=iz({delta:m,disabled:!i}),[w,T]=hj(),_=S.useRef({x:0,y:0}),A=S.useRef({x:0,y:0}),R=S.useMemo(()=>{switch(t){case vh.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case vh.DraggableRect:return o}},[t,o,u]),O=S.useRef(null),I=S.useCallback(()=>{const B=O.current;if(!B)return;const z=_.current.x*A.current.x,j=_.current.y*A.current.y;B.scrollBy(z,j)},[]),F=S.useMemo(()=>c===vg.TreeOrder?[...f].reverse():f,[c,f]);S.useEffect(()=>{if(!i||!f.length||!R){T();return}for(const B of F){if((n==null?void 0:n(B))===!1)continue;const z=f.indexOf(B),j=p[z];if(!j)continue;const{direction:V,speed:ue}=Uj(B,j,R,e,g);for(const P of["x","y"])v[P][V[P]]||(ue[P]=0,V[P]=0);if(ue.x>0||ue.y>0){T(),O.current=B,w(I,a),_.current=ue,A.current=V;return}}_.current={x:0,y:0},A.current={x:0,y:0},T()},[e,I,n,T,i,a,JSON.stringify(R),JSON.stringify(v),w,f,F,p,JSON.stringify(g)])}const oz={x:{[Mo.Backward]:!1,[Mo.Forward]:!1},y:{[Mo.Backward]:!1,[Mo.Forward]:!1}};function iz(r){let{delta:e,disabled:t}=r;const n=hv(e);return Wh(o=>{if(t||!n||!o)return oz;const i={x:Math.sign(e.x-n.x),y:Math.sign(e.y-n.y)};return{x:{[Mo.Backward]:o.x[Mo.Backward]||i.x===-1,[Mo.Forward]:o.x[Mo.Forward]||i.x===1},y:{[Mo.Backward]:o.y[Mo.Backward]||i.y===-1,[Mo.Forward]:o.y[Mo.Forward]||i.y===1}}},[t,e,n])}function sz(r,e){const t=e!=null?r.get(e):void 0,n=t?t.node.current:null;return Wh(o=>{var i;return e==null?null:(i=n??o)!=null?i:null},[n,e])}function az(r,e){return S.useMemo(()=>r.reduce((t,n)=>{const{sensor:o}=n,i=o.activators.map(a=>({eventName:a.eventName,handler:e(a.handler,n)}));return[...t,...i]},[]),[r,e])}var vf;(function(r){r[r.Always=0]="Always",r[r.BeforeDragging=1]="BeforeDragging",r[r.WhileDragging=2]="WhileDragging"})(vf||(vf={}));var vv;(function(r){r.Optimized="optimized"})(vv||(vv={}));const mx=new Map;function lz(r,e){let{dragging:t,dependencies:n,config:o}=e;const[i,a]=S.useState(null),{frequency:c,measure:u,strategy:f}=o,p=S.useRef(r),m=_(),g=Nh(m),v=S.useCallback(function(A){A===void 0&&(A=[]),!g.current&&a(R=>R===null?A:R.concat(A.filter(O=>!R.includes(O))))},[g]),w=S.useRef(null),T=Wh(A=>{if(m&&!t)return mx;if(!A||A===mx||p.current!==r||i!=null){const R=new Map;for(let O of r){if(!O)continue;if(i&&i.length>0&&!i.includes(O.id)&&O.rect.current){R.set(O.id,O.rect.current);continue}const I=O.node.current,F=I?new sy(u(I),I):null;O.rect.current=F,F&&R.set(O.id,F)}return R}return A},[r,i,t,m,u]);return S.useEffect(()=>{p.current=r},[r]),S.useEffect(()=>{m||v()},[t,m]),S.useEffect(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),S.useEffect(()=>{m||typeof c!="number"||w.current!==null||(w.current=setTimeout(()=>{v(),w.current=null},c))},[c,m,v,...n]),{droppableRects:T,measureDroppableContainers:v,measuringScheduled:i!=null};function _(){switch(f){case vf.Always:return!1;case vf.BeforeDragging:return t;default:return!t}}}function yS(r,e){return Wh(t=>r?t||(typeof e=="function"?e(r):r):null,[e,r])}function cz(r,e){return yS(r,e)}function uz(r){let{callback:e,disabled:t}=r;const n=ny(e),o=S.useMemo(()=>{if(t||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(n)},[n,t]);return S.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function Bg(r){let{callback:e,disabled:t}=r;const n=ny(e),o=S.useMemo(()=>{if(t||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(n)},[t]);return S.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function dz(r){return new sy(_f(r),r)}function vx(r,e,t){e===void 0&&(e=dz);const[n,o]=S.useState(null);function i(){o(u=>{if(!r)return null;if(r.isConnected===!1){var f;return(f=u??t)!=null?f:null}const p=e(r);return JSON.stringify(u)===JSON.stringify(p)?u:p})}const a=uz({callback(u){if(r)for(const f of u){const{type:p,target:m}=f;if(p==="childList"&&m instanceof HTMLElement&&m.contains(r)){i();break}}}}),c=Bg({callback:i});return il(()=>{i(),r?(c==null||c.observe(r),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(c==null||c.disconnect(),a==null||a.disconnect())},[r]),n}function fz(r){const e=yS(r);return uS(r,e)}const yx=[];function hz(r){const e=S.useRef(r),t=Wh(n=>r?n&&n!==yx&&r&&e.current&&r.parentNode===e.current.parentNode?n:iy(r):yx,[r]);return S.useEffect(()=>{e.current=r},[r]),t}function pz(r){const[e,t]=S.useState(null),n=S.useRef(r),o=S.useCallback(i=>{const a=jm(i.target);a&&t(c=>c?(c.set(a,gv(a)),new Map(c)):null)},[]);return S.useEffect(()=>{const i=n.current;if(r!==i){a(i);const c=r.map(u=>{const f=jm(u);return f?(f.addEventListener("scroll",o,{passive:!0}),[f,gv(f)]):null}).filter(u=>u!=null);t(c.length?new Map(c):null),n.current=r}return()=>{a(r),a(i)};function a(c){c.forEach(u=>{const f=jm(u);f==null||f.removeEventListener("scroll",o)})}},[o,r]),S.useMemo(()=>r.length?e?Array.from(e.values()).reduce((i,a)=>of(i,a),va):mS(r):va,[r,e])}function bx(r,e){e===void 0&&(e=[]);const t=S.useRef(null);return S.useEffect(()=>{t.current=null},e),S.useEffect(()=>{const n=r!==va;n&&!t.current&&(t.current=r),!n&&t.current&&(t.current=null)},[r]),t.current?gg(r,t.current):va}function gz(r){S.useEffect(()=>{if(!Pg)return;const e=r.map(t=>{let{sensor:n}=t;return n.setup==null?void 0:n.setup()});return()=>{for(const t of e)t==null||t()}},r.map(e=>{let{sensor:t}=e;return t}))}function mz(r,e){return S.useMemo(()=>r.reduce((t,n)=>{let{eventName:o,handler:i}=n;return t[o]=a=>{i(a,e)},t},{}),[r,e])}function bS(r){return S.useMemo(()=>r?zj(r):null,[r])}const xx=[];function vz(r,e){e===void 0&&(e=_f);const[t]=r,n=bS(t?Ni(t):null),[o,i]=S.useState(xx);function a(){i(()=>r.length?r.map(u=>pS(u)?n:new sy(e(u),u)):xx)}const c=Bg({callback:a});return il(()=>{c==null||c.disconnect(),a(),r.forEach(u=>c==null?void 0:c.observe(u))},[r]),o}function yz(r){if(!r)return null;if(r.children.length>1)return r;const e=r.children[0];return Uh(e)?e:r}function bz(r){let{measure:e}=r;const[t,n]=S.useState(null),o=S.useCallback(f=>{for(const{target:p}of f)if(Uh(p)){n(m=>{const g=e(p);return m?{...m,width:g.width,height:g.height}:g});break}},[e]),i=Bg({callback:o}),a=S.useCallback(f=>{const p=yz(f);i==null||i.disconnect(),p&&(i==null||i.observe(p)),n(p?e(p):null)},[e,i]),[c,u]=pg(a);return S.useMemo(()=>({nodeRef:c,rect:t,setRef:u}),[t,c,u])}const xz=[{sensor:cy,options:{}},{sensor:ay,options:{}}],wz={current:{}},Zp={draggable:{measure:fx},droppable:{measure:fx,strategy:vf.WhileDragging,frequency:vv.Optimized},dragOverlay:{measure:_f}};class yh extends Map{get(e){var t;return e!=null&&(t=super.get(e))!=null?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return(t=(n=this.get(e))==null?void 0:n.node.current)!=null?t:void 0}}const Cz={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new yh,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:mg},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Zp,measureDroppableContainers:mg,windowRect:null,measuringScheduled:!1},Sz={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:mg,draggableNodes:new Map,over:null,measureDroppableContainers:mg},Fg=S.createContext(Sz),xS=S.createContext(Cz);function _z(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new yh}}}function Az(r,e){switch(e.type){case So.DragStart:return{...r,draggable:{...r.draggable,initialCoordinates:e.initialCoordinates,active:e.active}};case So.DragMove:return r.draggable.active==null?r:{...r,draggable:{...r.draggable,translate:{x:e.coordinates.x-r.draggable.initialCoordinates.x,y:e.coordinates.y-r.draggable.initialCoordinates.y}}};case So.DragEnd:case So.DragCancel:return{...r,draggable:{...r.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case So.RegisterDroppable:{const{element:t}=e,{id:n}=t,o=new yh(r.droppable.containers);return o.set(n,t),{...r,droppable:{...r.droppable,containers:o}}}case So.SetDroppableDisabled:{const{id:t,key:n,disabled:o}=e,i=r.droppable.containers.get(t);if(!i||n!==i.key)return r;const a=new yh(r.droppable.containers);return a.set(t,{...i,disabled:o}),{...r,droppable:{...r.droppable,containers:a}}}case So.UnregisterDroppable:{const{id:t,key:n}=e,o=r.droppable.containers.get(t);if(!o||n!==o.key)return r;const i=new yh(r.droppable.containers);return i.delete(t),{...r,droppable:{...r.droppable,containers:i}}}default:return r}}function Ez(r){let{disabled:e}=r;const{active:t,activatorEvent:n,draggableNodes:o}=S.useContext(Fg),i=hv(n),a=hv(t==null?void 0:t.id);return S.useEffect(()=>{if(!e&&!n&&i&&a!=null){if(!oy(i)||document.activeElement===i.target)return;const c=o.get(a);if(!c)return;const{activatorNode:u,node:f}=c;if(!u.current&&!f.current)return;requestAnimationFrame(()=>{for(const p of[u.current,f.current]){if(!p)continue;const m=mj(p);if(m){m.focus();break}}})}},[n,e,o,a,i]),null}function Tz(r,e){let{transform:t,...n}=e;return r!=null&&r.length?r.reduce((o,i)=>i({transform:o,...n}),t):t}function Rz(r){return S.useMemo(()=>({draggable:{...Zp.draggable,...r==null?void 0:r.draggable},droppable:{...Zp.droppable,...r==null?void 0:r.droppable},dragOverlay:{...Zp.dragOverlay,...r==null?void 0:r.dragOverlay}}),[r==null?void 0:r.draggable,r==null?void 0:r.droppable,r==null?void 0:r.dragOverlay])}function kz(r){let{activeNode:e,measure:t,initialRect:n,config:o=!0}=r;const i=S.useRef(!1),{x:a,y:c}=typeof o=="boolean"?{x:o,y:o}:o;il(()=>{if(!a&&!c||!e){i.current=!1;return}if(i.current||!n)return;const f=e==null?void 0:e.node.current;if(!f||f.isConnected===!1)return;const p=t(f),m=uS(p,n);if(a||(m.x=0),c||(m.y=0),i.current=!0,Math.abs(m.x)>0||Math.abs(m.y)>0){const g=dS(f);g&&g.scrollBy({top:m.y,left:m.x})}},[e,a,c,n,t])}const wS=S.createContext({...va,scaleX:1,scaleY:1});var Nc;(function(r){r[r.Uninitialized=0]="Uninitialized",r[r.Initializing=1]="Initializing",r[r.Initialized=2]="Initialized"})(Nc||(Nc={}));const Iz=S.memo(function(e){var t,n,o,i;let{id:a,accessibility:c,autoScroll:u=!0,children:f,sensors:p=xz,collisionDetection:m=Dj,measuring:g,modifiers:v,...w}=e;const T=S.useReducer(Az,void 0,_z),[_,A]=T,[R,O]=Cj(),[I,F]=S.useState(Nc.Uninitialized),B=I===Nc.Initialized,{draggable:{active:z,nodes:j,translate:V},droppable:{containers:ue}}=_,P=z!=null?j.get(z):null,U=S.useRef({initial:null,translated:null}),G=S.useMemo(()=>{var Et;return z!=null?{id:z,data:(Et=P==null?void 0:P.data)!=null?Et:wz,rect:U}:null},[z,P]),Q=S.useRef(null),[re,ie]=S.useState(null),[se,ne]=S.useState(null),be=Nh(w,Object.values(w)),te=Vh("DndDescribedBy",a),de=S.useMemo(()=>ue.getEnabled(),[ue]),ge=Rz(g),{droppableRects:Ee,measureDroppableContainers:Be,measuringScheduled:oe}=lz(de,{dragging:B,dependencies:[V.x,V.y],config:ge.droppable}),ve=sz(j,z),we=S.useMemo(()=>se?pv(se):null,[se]),Oe=Pt(),Se=cz(ve,ge.draggable.measure);kz({activeNode:z!=null?j.get(z):null,config:Oe.layoutShiftCompensation,initialRect:Se,measure:ge.draggable.measure});const Ae=vx(ve,ge.draggable.measure,Se),Ie=vx(ve?ve.parentElement:null),Ye=S.useRef({activatorEvent:null,active:null,activeNode:ve,collisionRect:null,collisions:null,droppableRects:Ee,draggableNodes:j,draggingNode:null,draggingNodeRect:null,droppableContainers:ue,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ne=ue.getNodeFor((t=Ye.current.over)==null?void 0:t.id),We=bz({measure:ge.dragOverlay.measure}),Ve=(n=We.nodeRef.current)!=null?n:ve,Ce=B?(o=We.rect)!=null?o:Ae:null,Pe=!!(We.nodeRef.current&&We.rect),He=fz(Pe?null:Ae),Je=bS(Ve?Ni(Ve):null),wt=hz(B?Ne??ve:null),Xe=vz(wt),Qe=Tz(v,{transform:{x:V.x-He.x,y:V.y-He.y,scaleX:1,scaleY:1},activatorEvent:se,active:G,activeNodeRect:Ae,containerNodeRect:Ie,draggingNodeRect:Ce,over:Ye.current.over,overlayNodeRect:We.rect,scrollableAncestors:wt,scrollableAncestorRects:Xe,windowRect:Je}),dt=we?of(we,V):null,mt=pz(wt),Fe=bx(mt),rt=bx(mt,[Ae]),At=of(Qe,Fe),Nt=Ce?Pj(Ce,Qe):null,kt=G&&Nt?m({active:G,collisionRect:Nt,droppableRects:Ee,droppableContainers:de,pointerCoordinates:dt}):null,Dt=Ij(kt,"id"),[Jt,or]=S.useState(null),ar=Pe?Qe:of(Qe,rt),tr=Oj(ar,(i=Jt==null?void 0:Jt.rect)!=null?i:null,Ae),dr=S.useRef(null),ke=S.useCallback((Et,jt)=>{let{sensor:Ze,options:ct}=jt;if(Q.current==null)return;const ft=j.get(Q.current);if(!ft)return;const Ct=Et.nativeEvent,Ot=new Ze({active:Q.current,activeNode:ft,event:Ct,options:ct,context:Ye,onAbort(St){if(!j.get(St))return;const{onDragAbort:Qt}=be.current,$t={id:St};Qt==null||Qt($t),R({type:"onDragAbort",event:$t})},onPending(St,Ft,Qt,$t){if(!j.get(St))return;const{onDragPending:Br}=be.current,pr={id:St,constraint:Ft,initialCoordinates:Qt,offset:$t};Br==null||Br(pr),R({type:"onDragPending",event:pr})},onStart(St){const Ft=Q.current;if(Ft==null)return;const Qt=j.get(Ft);if(!Qt)return;const{onDragStart:$t}=be.current,vr={activatorEvent:Ct,active:{id:Ft,data:Qt.data,rect:U}};Ls.unstable_batchedUpdates(()=>{$t==null||$t(vr),F(Nc.Initializing),A({type:So.DragStart,initialCoordinates:St,active:Ft}),R({type:"onDragStart",event:vr}),ie(dr.current),ne(Ct)})},onMove(St){A({type:So.DragMove,coordinates:St})},onEnd:at(So.DragEnd),onCancel:at(So.DragCancel)});dr.current=Ot;function at(St){return async function(){const{active:Qt,collisions:$t,over:vr,scrollAdjustedTranslate:Br}=Ye.current;let pr=null;if(Qt&&Br){const{cancelDrop:he}=be.current;pr={activatorEvent:Ct,active:Qt,collisions:$t,delta:Br,over:vr},St===So.DragEnd&&typeof he=="function"&&await Promise.resolve(he(pr))&&(St=So.DragCancel)}Q.current=null,Ls.unstable_batchedUpdates(()=>{A({type:St}),F(Nc.Uninitialized),or(null),ie(null),ne(null),dr.current=null;const he=St===So.DragEnd?"onDragEnd":"onDragCancel";if(pr){const Me=be.current[he];Me==null||Me(pr),R({type:he,event:pr})}})}}},[j]),ae=S.useCallback((Et,jt)=>(Ze,ct)=>{const ft=Ze.nativeEvent,Ct=j.get(ct);if(Q.current!==null||!Ct||ft.dndKit||ft.defaultPrevented)return;const Ot={active:Ct};Et(Ze,jt.options,Ot)===!0&&(ft.dndKit={capturedBy:jt.sensor},Q.current=ct,ke(Ze,jt))},[j,ke]),st=az(p,ae);gz(p),il(()=>{Ae&&I===Nc.Initializing&&F(Nc.Initialized)},[Ae,I]),S.useEffect(()=>{const{onDragMove:Et}=be.current,{active:jt,activatorEvent:Ze,collisions:ct,over:ft}=Ye.current;if(!jt||!Ze)return;const Ct={active:jt,activatorEvent:Ze,collisions:ct,delta:{x:At.x,y:At.y},over:ft};Ls.unstable_batchedUpdates(()=>{Et==null||Et(Ct),R({type:"onDragMove",event:Ct})})},[At.x,At.y]),S.useEffect(()=>{const{active:Et,activatorEvent:jt,collisions:Ze,droppableContainers:ct,scrollAdjustedTranslate:ft}=Ye.current;if(!Et||Q.current==null||!jt||!ft)return;const{onDragOver:Ct}=be.current,Ot=ct.get(Dt),at=Ot&&Ot.rect.current?{id:Ot.id,rect:Ot.rect.current,data:Ot.data,disabled:Ot.disabled}:null,St={active:Et,activatorEvent:jt,collisions:Ze,delta:{x:ft.x,y:ft.y},over:at};Ls.unstable_batchedUpdates(()=>{or(at),Ct==null||Ct(St),R({type:"onDragOver",event:St})})},[Dt]),il(()=>{Ye.current={activatorEvent:se,active:G,activeNode:ve,collisionRect:Nt,collisions:kt,droppableRects:Ee,draggableNodes:j,draggingNode:Ve,draggingNodeRect:Ce,droppableContainers:ue,over:Jt,scrollableAncestors:wt,scrollAdjustedTranslate:At},U.current={initial:Ce,translated:Nt}},[G,ve,kt,Nt,j,Ve,Ce,Ee,ue,Jt,wt,At]),nz({...Oe,delta:V,draggingRect:Nt,pointerCoordinates:dt,scrollableAncestors:wt,scrollableAncestorRects:Xe});const vt=S.useMemo(()=>({active:G,activeNode:ve,activeNodeRect:Ae,activatorEvent:se,collisions:kt,containerNodeRect:Ie,dragOverlay:We,draggableNodes:j,droppableContainers:ue,droppableRects:Ee,over:Jt,measureDroppableContainers:Be,scrollableAncestors:wt,scrollableAncestorRects:Xe,measuringConfiguration:ge,measuringScheduled:oe,windowRect:Je}),[G,ve,Ae,se,kt,Ie,We,j,ue,Ee,Jt,Be,wt,Xe,ge,oe,Je]),Ht=S.useMemo(()=>({activatorEvent:se,activators:st,active:G,activeNodeRect:Ae,ariaDescribedById:{draggable:te},dispatch:A,draggableNodes:j,over:Jt,measureDroppableContainers:Be}),[se,st,G,Ae,A,te,j,Jt,Be]);return S.createElement(cS.Provider,{value:O},S.createElement(Fg.Provider,{value:Ht},S.createElement(xS.Provider,{value:vt},S.createElement(wS.Provider,{value:tr},f)),S.createElement(Ez,{disabled:(c==null?void 0:c.restoreFocus)===!1})),S.createElement(Aj,{...c,hiddenTextDescribedById:te}));function Pt(){const Et=(re==null?void 0:re.autoScrollEnabled)===!1,jt=typeof u=="object"?u.enabled===!1:u===!1,Ze=B&&!Et&&!jt;return typeof u=="object"?{...u,enabled:Ze}:{enabled:Ze}}}),Mz=S.createContext(null),wx="button",Lz="Draggable";function Dz(r){let{id:e,data:t,disabled:n=!1,attributes:o}=r;const i=Vh(Lz),{activators:a,activatorEvent:c,active:u,activeNodeRect:f,ariaDescribedById:p,draggableNodes:m,over:g}=S.useContext(Fg),{role:v=wx,roleDescription:w="draggable",tabIndex:T=0}=o??{},_=(u==null?void 0:u.id)===e,A=S.useContext(_?wS:Mz),[R,O]=pg(),[I,F]=pg(),B=mz(a,e),z=Nh(t);il(()=>(m.set(e,{id:e,key:i,node:R,activatorNode:I,data:z}),()=>{const V=m.get(e);V&&V.key===i&&m.delete(e)}),[m,e]);const j=S.useMemo(()=>({role:v,tabIndex:T,"aria-disabled":n,"aria-pressed":_&&v===wx?!0:void 0,"aria-roledescription":w,"aria-describedby":p.draggable}),[n,v,T,_,w,p.draggable]);return{active:u,activatorEvent:c,activeNodeRect:f,attributes:j,isDragging:_,listeners:n?void 0:B,node:R,over:g,setNodeRef:O,setActivatorNodeRef:F,transform:A}}function Oz(){return S.useContext(xS)}const Nz="Droppable",Pz={timeout:25};function Bz(r){let{data:e,disabled:t=!1,id:n,resizeObserverConfig:o}=r;const i=Vh(Nz),{active:a,dispatch:c,over:u,measureDroppableContainers:f}=S.useContext(Fg),p=S.useRef({disabled:t}),m=S.useRef(!1),g=S.useRef(null),v=S.useRef(null),{disabled:w,updateMeasurementsFor:T,timeout:_}={...Pz,...o},A=Nh(T??n),R=S.useCallback(()=>{if(!m.current){m.current=!0;return}v.current!=null&&clearTimeout(v.current),v.current=setTimeout(()=>{f(Array.isArray(A.current)?A.current:[A.current]),v.current=null},_)},[_]),O=Bg({callback:R,disabled:w||!a}),I=S.useCallback((j,V)=>{O&&(V&&(O.unobserve(V),m.current=!1),j&&O.observe(j))},[O]),[F,B]=pg(I),z=Nh(e);return S.useEffect(()=>{!O||!F.current||(O.disconnect(),m.current=!1,O.observe(F.current))},[F,O]),S.useEffect(()=>(c({type:So.RegisterDroppable,element:{id:n,key:i,disabled:t,node:F,rect:g,data:z}}),()=>c({type:So.UnregisterDroppable,key:i,id:n})),[n]),S.useEffect(()=>{t!==p.current.disabled&&(c({type:So.SetDroppableDisabled,id:n,key:i,disabled:t}),p.current.disabled=t)},[n,i,t,c]),{active:a,rect:g,isOver:(u==null?void 0:u.id)===n,node:F,over:u,setNodeRef:B}}function CS(r,e,t){const n={...r};return e.top+r.y<=t.top?n.y=t.top-e.top:e.bottom+r.y>=t.top+t.height&&(n.y=t.top+t.height-e.bottom),e.left+r.x<=t.left?n.x=t.left-e.left:e.right+r.x>=t.left+t.width&&(n.x=t.left+t.width-e.right),n}const Fz=r=>{let{containerNodeRect:e,draggingNodeRect:t,transform:n}=r;return!t||!e?n:CS(n,t,e)},jz=r=>{let{transform:e,draggingNodeRect:t,windowRect:n}=r;return!t||!n?e:CS(e,t,n)};function yg(r,e,t){const n=r.slice();return n.splice(t<0?n.length+t:t,0,n.splice(e,1)[0]),n}function zz(r,e){return r.reduce((t,n,o)=>{const i=e.get(n);return i&&(t[o]=i),t},Array(r.length))}function Np(r){return r!==null&&r>=0}function Hz(r,e){if(r===e)return!0;if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!==e[t])return!1;return!0}function $z(r){return typeof r=="boolean"?{draggable:r,droppable:r}:r}const SS=r=>{let{rects:e,activeIndex:t,overIndex:n,index:o}=r;const i=yg(e,n,t),a=e[o],c=i[o];return!c||!a?null:{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}},Pp={scaleX:1,scaleY:1},qz=r=>{var e;let{activeIndex:t,activeNodeRect:n,index:o,rects:i,overIndex:a}=r;const c=(e=i[t])!=null?e:n;if(!c)return null;if(o===t){const f=i[a];return f?{x:0,y:t<a?f.top+f.height-(c.top+c.height):f.top-c.top,...Pp}:null}const u=Uz(i,o,t);return o>t&&o<=a?{x:0,y:-c.height-u,...Pp}:o<t&&o>=a?{x:0,y:c.height+u,...Pp}:{x:0,y:0,...Pp}};function Uz(r,e,t){const n=r[e],o=r[e-1],i=r[e+1];return n?t<e?o?n.top-(o.top+o.height):i?i.top-(n.top+n.height):0:i?i.top-(n.top+n.height):o?n.top-(o.top+o.height):0:0}const _S="Sortable",AS=S.createContext({activeIndex:-1,containerId:_S,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:SS,disabled:{draggable:!1,droppable:!1}});function Wz(r){let{children:e,id:t,items:n,strategy:o=SS,disabled:i=!1}=r;const{active:a,dragOverlay:c,droppableRects:u,over:f,measureDroppableContainers:p}=Oz(),m=Vh(_S,t),g=c.rect!==null,v=S.useMemo(()=>n.map(B=>typeof B=="object"&&"id"in B?B.id:B),[n]),w=a!=null,T=a?v.indexOf(a.id):-1,_=f?v.indexOf(f.id):-1,A=S.useRef(v),R=!Hz(v,A.current),O=_!==-1&&T===-1||R,I=$z(i);il(()=>{R&&w&&p(v)},[R,v,w,p]),S.useEffect(()=>{A.current=v},[v]);const F=S.useMemo(()=>({activeIndex:T,containerId:m,disabled:I,disableTransforms:O,items:v,overIndex:_,useDragOverlay:g,sortedRects:zz(v,u),strategy:o}),[T,m,I.draggable,I.droppable,O,v,_,u,g,o]);return S.createElement(AS.Provider,{value:F},e)}const Vz=r=>{let{id:e,items:t,activeIndex:n,overIndex:o}=r;return yg(t,n,o).indexOf(e)},Gz=r=>{let{containerId:e,isSorting:t,wasDragging:n,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:u,transition:f}=r;return!f||!n||c!==i&&o===a?!1:t?!0:a!==o&&e===u},Yz={duration:200,easing:"ease"},ES="transform",Zz=Ph.Transition.toString({property:ES,duration:0,easing:"linear"}),Kz={roleDescription:"sortable"};function Xz(r){let{disabled:e,index:t,node:n,rect:o}=r;const[i,a]=S.useState(null),c=S.useRef(t);return il(()=>{if(!e&&t!==c.current&&n.current){const u=o.current;if(u){const f=_f(n.current,{ignoreTransform:!0}),p={x:u.left-f.left,y:u.top-f.top,scaleX:u.width/f.width,scaleY:u.height/f.height};(p.x||p.y)&&a(p)}}t!==c.current&&(c.current=t)},[e,t,n,o]),S.useEffect(()=>{i&&a(null)},[i]),i}function Jz(r){let{animateLayoutChanges:e=Gz,attributes:t,disabled:n,data:o,getNewIndex:i=Vz,id:a,strategy:c,resizeObserverConfig:u,transition:f=Yz}=r;const{items:p,containerId:m,activeIndex:g,disabled:v,disableTransforms:w,sortedRects:T,overIndex:_,useDragOverlay:A,strategy:R}=S.useContext(AS),O=Qz(n,v),I=p.indexOf(a),F=S.useMemo(()=>({sortable:{containerId:m,index:I,items:p},...o}),[m,o,I,p]),B=S.useMemo(()=>p.slice(p.indexOf(a)),[p,a]),{rect:z,node:j,isOver:V,setNodeRef:ue}=Bz({id:a,data:F,disabled:O.droppable,resizeObserverConfig:{updateMeasurementsFor:B,...u}}),{active:P,activatorEvent:U,activeNodeRect:G,attributes:Q,setNodeRef:re,listeners:ie,isDragging:se,over:ne,setActivatorNodeRef:be,transform:te}=Dz({id:a,data:F,attributes:{...Kz,...t},disabled:O.draggable}),de=fj(ue,re),ge=!!P,Ee=ge&&!w&&Np(g)&&Np(_),Be=!A&&se,oe=Be&&Ee?te:null,we=Ee?oe??(c??R)({rects:T,activeNodeRect:G,activeIndex:g,overIndex:_,index:I}):null,Oe=Np(g)&&Np(_)?i({id:a,items:p,activeIndex:g,overIndex:_}):I,Se=P==null?void 0:P.id,Ae=S.useRef({activeId:Se,items:p,newIndex:Oe,containerId:m}),Ie=p!==Ae.current.items,Ye=e({active:P,containerId:m,isDragging:se,isSorting:ge,id:a,index:I,items:p,newIndex:Ae.current.newIndex,previousItems:Ae.current.items,previousContainerId:Ae.current.containerId,transition:f,wasDragging:Ae.current.activeId!=null}),Ne=Xz({disabled:!Ye,index:I,node:j,rect:z});return S.useEffect(()=>{ge&&Ae.current.newIndex!==Oe&&(Ae.current.newIndex=Oe),m!==Ae.current.containerId&&(Ae.current.containerId=m),p!==Ae.current.items&&(Ae.current.items=p)},[ge,Oe,m,p]),S.useEffect(()=>{if(Se===Ae.current.activeId)return;if(Se!=null&&Ae.current.activeId==null){Ae.current.activeId=Se;return}const Ve=setTimeout(()=>{Ae.current.activeId=Se},50);return()=>clearTimeout(Ve)},[Se]),{active:P,activeIndex:g,attributes:Q,data:F,rect:z,index:I,newIndex:Oe,items:p,isOver:V,isSorting:ge,isDragging:se,listeners:ie,node:j,overIndex:_,over:ne,setNodeRef:de,setActivatorNodeRef:be,setDroppableNodeRef:ue,setDraggableNodeRef:re,transform:Ne??we,transition:We()};function We(){if(Ne||Ie&&Ae.current.newIndex===I)return Zz;if(!(Be&&!oy(U)||!f)&&(ge||Ye))return Ph.Transition.toString({...f,property:ES})}}function Qz(r,e){var t,n;return typeof r=="boolean"?{draggable:r,droppable:!1}:{draggable:(t=r==null?void 0:r.draggable)!=null?t:e.draggable,droppable:(n=r==null?void 0:r.droppable)!=null?n:e.droppable}}un.Down,un.Right,un.Up,un.Left;function bg(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(e(t))return t;if(!t.children||t.children.length<1)continue;const n=bg(t.children,e);if(n)return n}}function Gh(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&Gh(t.children,e)}function TS(r,e){Array.isArray(r)||(r=[r]);const t=[];return Gh(r,(n,o)=>t.push(e(n,o))),t}function RS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!RS(t.children,e))return!1}return!0}function eH(r,e){Array.isArray(r)||(r=[r]);const t=[];return Gh(r,(n,o)=>{e(n,o)&&t.push(n)}),t}function tH(r){Array.isArray(r)||(r=[r]);let e=0;return Gh(r,()=>e++),e}function rH(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const o=bg(r,a=>{var c;return(c=a.children)==null?void 0:c.some(u=>n(u,e))}),i=bg(r,a=>{var c;return(c=a.children)==null?void 0:c.some(u=>n(u,t))});if(o===void 0&&i===void 0){const a=r.findIndex(u=>n(u,e)),c=r.findIndex(u=>n(u,t));return r.splice(a,1),r.splice(c,0,e),[...r]}else if(o!==void 0&&i!==void 0&&n(o,i)&&o.children){const a=o.children.findIndex(u=>n(u,e)),c=o.children.findIndex(u=>n(u,t));return a===void 0||c===void 0?null:(o.children.splice(a,1),o.children.splice(c,0,e),o.children=[...o.children],[...r])}return null}function nH(r,e,t){const n=[],o=[...e];for(;o.length>0;){const i=o.shift();if(i&&!n.find(a=>t(a,i))&&(n.push(i),!(!i.children||i.children.length<1)))for(const a of i.children)o.push(a)}return n}function oH(r,e,t){Array.isArray(r)||(r=[r]);const n=TS(r,a=>a),o=[],i=[...e];for(;i.length>0;){const a=i.shift();if(!a||o.find(u=>t(u,a)))continue;o.push(a);const c=n.find(u=>{var f;return(f=u.children)==null?void 0:f.some(p=>t(p,a))});c&&i.push(c)}return o}const Pc={find:bg,forEach:Gh,map:TS,every:RS,filter:eH,length:tH,replace:rH,descendants:nH,ancestors:oH},iH="_AWrap_muwz7_1",sH="_AContainer_muwz7_10",aH="_ATree_muwz7_18",lH="_ATreeBody_muwz7_30",cH="_TreeTopAddon_muwz7_36",uH="_CoverBorder_muwz7_46",dH="_InsertBorder_muwz7_55",fH="_ATreeHeader_muwz7_86",hH="_ATreeBodyHeader_muwz7_92",pH="_ATreeBodyHeaderResources_muwz7_102",gH="_ATreeItem_muwz7_108",mH="_IsSelectUsed_muwz7_124",vH="_IsSelected_muwz7_127",yH="_IsSearchSelected_muwz7_132",bH="_IsHovered_muwz7_143",xH="_CheckBox_muwz7_147",wH="_Indents_muwz7_159",CH="_ExpandIcon_muwz7_166",SH="_Content_muwz7_178",_H="_RightSticky_muwz7_187",AH="_SearchInputWrap_muwz7_196",EH="_SearchInput_muwz7_196",TH="_RightAddon_muwz7_208",RH="_RightAddonIcon_muwz7_219",kH="_Loader_muwz7_226",IH="_IsChildOfDragSource_muwz7_231",mn={AWrap:iH,AContainer:sH,ATree:aH,ATreeBody:lH,TreeTopAddon:cH,CoverBorder:uH,InsertBorder:dH,ATreeHeader:fH,ATreeBodyHeader:hH,ATreeBodyHeaderResources:pH,ATreeItem:gH,IsSelectUsed:mH,IsSelected:vH,IsSearchSelected:yH,IsHovered:bH,CheckBox:xH,Indents:wH,ExpandIcon:CH,Content:SH,RightSticky:_H,SearchInputWrap:AH,SearchInput:EH,RightAddon:TH,RightAddonIcon:RH,Loader:kH,IsChildOfDragSource:IH},MH=r=>{const{isEqual:e,item:t,itemId:n,selectDisabled:o,selectUnused:i,isParentDisabled:a,indents:c,extIndents:u,useExpand:f,useSelect:p,useSearch:m,showCheckbox:g,icons:v,iconWidth:w,isSelectMulti:T,isDraggable:_,isParentCheckHovered:A,hoverdItem:R,onMouseOver:O,onMouseLeave:I,ContentRenderer:F,TreeItemRenderer:B,RightStickyAddon:z,resources:j,containerRef:V,TreeItemStyle:ue,TreeItemClassName:P,searchItemStyle:U,searchItemClassName:G,height:Q,isDragSrcItem:re,isChildOfDragItem:ie,getItemId:se,treeItemTooltip:ne,treeItemTooltipDelay:be,treeItemTooltipDirection:te,treeItemTooltipDistance:de}=r,{children:ge}=S.useMemo(()=>t,[t]),[Ee,Be]=S.useMemo(()=>f,[f]),[oe,ve]=S.useMemo(()=>p,[p]),[we,Oe]=S.useMemo(()=>m,[m]),Se=S.useMemo(()=>i?i(t):!1,[i,t]),Ae=S.useMemo(()=>!o||a?a:o(t),[o,a,t]),Ie=S.useMemo(()=>Ee.some(at=>e(at,t)),[Ee,e,t]),Ye=S.useMemo(()=>!ge||ge.length<1?"noChild":Ie?"expanded":"collapsed",[ge,Ie]),Ne=S.useMemo(()=>Er.getContent(v,r),[v,r]),We=S.useMemo(()=>{const at=Ne==null?void 0:Ne[Ye];return wv.includes(at)?C.jsx(en,{icon:at,style:{width:w,height:w}}):at},[Ne,w,Ye]),Ve=S.useCallback(at=>{!Be||Ye==="noChild"||(Be(Ie?Ee.filter(St=>!e(St,t)):[...Ee,t]),at.stopPropagation())},[Be,Ee,Ie,t,e,Ye]),Ce=S.useMemo(()=>oe.some(at=>e(at,t)),[oe,e,t]),Pe=S.useCallback(()=>{!ve||Ae||(ve(T?Ce?oe.filter(at=>!e(at,t)):[...oe,t]:[t]),we&&Oe&&we.items.some(at=>e(at,t))&&Oe({...we,item:t}))},[T,Ae,Ce,we,Oe,ve,e,oe,t]),He=S.useMemo(()=>we==null?void 0:we.items.some(at=>e(at,t)),[we,e,t]),Je=S.useMemo(()=>He&&(we==null?void 0:we.item)&&e(we.item,t),[He,we,e,t]),wt=S.useRef(null),Xe=S.useRef(null),{attributes:Qe,listeners:dt,setNodeRef:mt,transform:Fe,transition:rt,isDragging:At}=Jz({id:n||`item-${JSON.stringify(t)}`,disabled:!_||!!a||!n}),Nt=S.useMemo(()=>ie?ie(t):!1,[ie,t]),kt=S.useMemo(()=>{const at=Fe?{transform:Ph.Transform.toString(Fe),transition:rt,opacity:At?.5:1,zIndex:At?1:"auto"}:{};return re||Nt?{...at,opacity:.5,zIndex:10}:at},[Fe,rt,At,re,Nt]);S.useEffect(()=>{n&&mt&&Xe.current&&mt(Xe.current)},[n,mt]),S.useEffect(()=>{setTimeout(()=>{if(Je&&wt.current&&V.current){const{top:at,bottom:St}=wt.current.getBoundingClientRect(),{top:Ft,bottom:Qt}=V.current.getBoundingClientRect();(at<Ft||St>Qt)&&wt.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[V,Je]);const[Dt,Jt]=S.useState(!1),or=S.useCallback(()=>!Ae&&Jt(!0),[Ae]),ar=S.useCallback(()=>!Ae&&Jt(!1),[Ae]),tr=S.useMemo(()=>Pc.map(t,at=>at).filter(at=>!(o!=null&&o(at))&&!(i!=null&&i(at))),[o,i,t]),dr=S.useMemo(()=>!g||!T?!1:Ce&&tr.some(at=>oe.some(St=>e(at,St)))&&tr.some(at=>!oe.some(St=>e(at,St))),[g,T,Ce,tr,e,oe]),ke=S.useMemo(()=>g?T?tr.every(at=>oe.some(St=>e(at,St))):oe.some(at=>e(at,t)):!1,[g,T,tr,t,e,oe]),ae=S.useCallback(()=>{if(!(!ve||Ae))if(T)if(Ce){const at=oe.filter(St=>!(i!=null&&i(St))&&!(o!=null&&o(St))&&tr.some(Ft=>e(Ft,St)));at.length>0&&ve(oe.filter(St=>!at.some(Ft=>e(St,Ft))))}else{const at=tr.filter(St=>!(i!=null&&i(St))&&!(o!=null&&o(St))&&!oe.some(Ft=>e(Ft,St)));at.length>0&&ve([...oe,...at])}else ve([t])},[Ae,o,i,T,ve,e,Ce,oe,tr,t]),st=S.useCallback(at=>{Ae||ae(),at.stopPropagation()},[Ae,ae]),vt=S.useMemo(()=>{if(!g||!T||Ae)return"";if(Ce){const St=oe.filter(Ft=>!(i!=null&&i(Ft))&&!(o!=null&&o(Ft))&&tr.some(Qt=>e(Qt,Ft)));if(St.length>0)return j["deselect n"](St.length)}const at=tr.filter(St=>!(i!=null&&i(St))&&!(o!=null&&o(St))&&!oe.some(Ft=>e(Ft,St)));return j["select n"](at.length)},[o,i,j,Ae,g,T,Ce,tr,e,oe]),Ht=S.useMemo(()=>Er.getContent(z,r),[z,r]),Pt=S.useMemo(()=>Er.getContent(ue,r),[r,ue]),Et=S.useMemo(()=>Er.getContent(P,r),[r,P]),jt=S.useMemo(()=>Er.getContent(G,r),[r,G]),Ze=S.useMemo(()=>Er.getContent(U,r),[r,U]),ct=S.useMemo(()=>Er.getContent(ne,r),[r,ne]),ft=S.useMemo(()=>Er.getContent(be,r),[r,be]),Ct=S.useMemo(()=>Er.getContent(te,r),[r,te]),Ot=S.useMemo(()=>Er.getContent(de,r),[r,de]);return C.jsxs(S.Fragment,{children:[C.jsxs(Yr,{abaseRef:Xe,isDisabled:Ae,className:Ke.clsx(mn.ATreeItem,Ce&&mn.IsSelected,!Ae&&(Dt||A)&&mn.IsHovered,He&&mn.IsSearched,Je&&(jt||mn.IsSearchSelected),!Se&&mn.IsSelectUsed,Nt&&mn.IsChildOfDragSource,"NoSelect",Et),style:{...Pt,...Je&&Ze?Ze:{},"--ATreeItem_height":`${Q}px`,...kt||{}},onClick:Pe,onMouseLeave:at=>I==null?void 0:I(at,t),onMouseOver:at=>O==null?void 0:O(at,t),..._&&!Ae&&Qe?Qe:{},..._&&!Ae&&dt?dt:{},tooltip:ct,tooltipDelay:ft,tooltipDirection:Ct,tooltipDistance:Ot,children:[g&&C.jsx(af,{className:mn.CheckBox,isDisabled:Ae,isIndeterminate:dr,tooltip:vt,useCheck:[+ke,ae],style:{visibility:Ae||Se?"hidden":"visible",zIndex:Ae||Se?0:2},onClick:st,onMouseOut:ar,onMouseOver:or}),C.jsx("div",{className:mn.Indents,style:{paddingLeft:g?0:Ne!=null&&Ne.noChild?12:0},children:c.map((at,St)=>{const Ft=St===c.length-1;return C.jsx(fC,{value:at,map:{Collapsed:u?u({iconWidth:w}).collapsed:C.jsx(DH,{iconWidth:w}),Expanded:u?u({iconWidth:w,isLast:Ft}).expanded:C.jsx(LH,{iconWidth:w,isLast:Ft}),IsLast:u?u({iconWidth:w}).isLast:C.jsx(OH,{iconWidth:w})}},St)})}),We&&C.jsx("div",{className:mn.ExpandIcon,style:{width:w,minWidth:w,maxWidth:w},onClick:Ve,children:We}),C.jsx("div",{className:Ke.clsx(mn.Content,"NoSelect"),children:C.jsx(F,{containerRef:V,ContentRenderer:F,extIndents:u,height:Q,hoverdItem:R,icons:v,iconWidth:w,indents:c,isDraggable:_,isEqual:e,isParentCheckHovered:T&&(Dt||A),isSelectMulti:T,item:t,itemId:n,resources:j,RightStickyAddon:z,searchItemClassName:jt,searchItemStyle:U,showCheckbox:g,TreeItemClassName:P,TreeItemRenderer:B,TreeItemStyle:ue,treeItemTooltip:ne,treeItemTooltipDelay:be,treeItemTooltipDirection:te,treeItemTooltipDistance:de,useExpand:f,useSearch:m,useSelect:p,onMouseLeave:I,onMouseOver:O})}),Ht&&C.jsx("div",{className:mn.RightSticky,children:Ht})]}),Ie&&(ge==null?void 0:ge.map((at,St)=>C.jsx(B,{containerRef:V,ContentRenderer:F,extIndents:u,height:Q,hoverdItem:R,icons:v,iconWidth:w,isChildOfDragItem:ie,isDraggable:_,isDragSrcItem:re,isEqual:e,isParentCheckHovered:T&&(Dt||A),isSelectMulti:T,item:at,itemId:se?`${se(t)}-child-${St}`:n?`${n}-child-${St}`:void 0,resources:j,RightStickyAddon:z,searchItemClassName:jt,searchItemStyle:U,selectDisabled:o,selectUnused:i,showCheckbox:g,TreeItemClassName:P,TreeItemRenderer:B,TreeItemStyle:ue,treeItemTooltip:ne,treeItemTooltipDelay:be,treeItemTooltipDirection:te,treeItemTooltipDistance:de,useExpand:f,useSearch:m,useSelect:p,indents:[...c.map(Ft=>Ft==="IsLast"?"Collapsed":Ft),St===ge.length-1?"IsLast":"Expanded"],onMouseLeave:I,onMouseOver:O},se?se(at):St)))]})},LH=({iconWidth:r,isLast:e})=>C.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&C.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),DH=({iconWidth:r})=>C.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),OH=({iconWidth:r})=>C.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),NH=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:o,searchDown:i,searchEnter:a,isDisabled:c,isLoading:u,resources:f,maxLength:p,autoFocus:m}=r,g=S.useCallback(T=>{T.key==="Enter"?a():T.key==="ArrowDown"?i():T.key==="ArrowUp"&&o(),T.preventDefault(),T.stopPropagation()},[i,a,o]),v=S.useCallback(T=>{n(T)},[n]),w=S.useMemo(()=>c||u?-1:void 0,[c,u]);return C.jsx(Gc,{autoFocus:m,className:mn.SearchInput,isDisabled:c,maxLength:p,placeholder:f["Search(Placeholder)"],tabIndex:w,useValue:[(t==null?void 0:t.keyword)??"",v],RightAddon:C.jsx(PH,{isEqual:e,resources:f,searchDown:i,searchEnter:a,searchResult:t,searchUp:o}),wrapProps:{className:mn.SearchInputWrap},onKeyDown:g})},PH=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:o,searchEnter:i,resources:a}=r,c=S.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(w=>t.item&&e(w,t.item))+1,[t,e]),u=S.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),f=S.useMemo(()=>c<2,[c]),p=S.useMemo(()=>c>=u,[c,u]),m=S.useCallback(w=>{w.stopPropagation(),!f&&n()},[n,f]),g=S.useCallback(w=>{w.stopPropagation(),!p&&o()},[o,p]),v=S.useCallback(w=>{w.stopPropagation(),i()},[i]);return C.jsx("div",{className:Ke.clsx(mn.RightAddon,"NoSelect"),children:t?C.jsxs(C.Fragment,{children:[c,"/",u,C.jsx(Yr,{isDisabled:f,onClick:m,children:C.jsx(en,{className:mn.RightAddonIcon,icon:"ArrowUp",mask:""})}),C.jsx(Yr,{isDisabled:p,onClick:g,children:C.jsx(en,{className:mn.RightAddonIcon,icon:"ArrowDown"})})]}):C.jsx(ho,{className:mn.RightAddonIcon,icon:"Search",style:{marginRight:4},tooltip:a["Search(Button)"],type:"Raw",onClick:v})})},BH=r=>{var tt;const{pk:e,selectDisabled:t,selectUnused:n,useItems:o,useExpand:i,useSelect:a,useSearch:c,showCheckbox:u,iconWidth:f=24,icons:p={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:m,isSelectMulti:g=!1,noSearch:v=!1,isDraggable:w,noSyncSearchSelect:T=!1,actionRef:_,placeholder:A,searchPredicate:R=jH,isDisabled:O,isLoading:I,ContentRenderer:F=FH,TreeItemRenderer:B=MH,RightStickyAddon:z,TopRightAddon:j,TreeTopAddon:V,resources:ue,maxLength:P,autoFocus:U,TreeHeaderStyle:G,TreeHeaderClassName:Q,TreeItemStyle:re,TreeItemClassName:ie,OverflowPadding:se,insertBorder:ne,width:be,searchItemClassName:te,searchItemStyle:de,height:ge=40,treeItemTooltip:Ee,treeItemTooltipDelay:Be,treeItemTooltipDirection:oe,treeItemTooltipDistance:ve,...we}=r,Oe=S.useMemo(()=>({...wr.ATree,...ue}),[ue]),Se=S.useCallback((Re,it)=>!Re||!it?!1:e!==void 0?Array.isArray(e)?e.every(ht=>Re&&it&&Re[ht]!==void 0&&it[ht]!==void 0&&Za.isEqual(Re[ht],it[ht])):Re&&it&&Re[e]!==void 0&&it[e]!==void 0&&Za.isEqual(Re[e],it[e]):Za.isEqual(Re,it),[e]),Ae=S.useRef(null),[Ie,Ye]=vn(o,[]),Ne=S.useMemo(()=>Pc.map(Ie,Re=>Re),[Ie]),[We,Ve]=vn(i,[]),[Ce,Pe]=vn(a,[]),[He,Je]=vn(c,void 0),wt=S.useCallback(Re=>{if(O||!Ve||We.some(Bt=>Se(Bt,Re)))return;const it=[];let ht=Re;for(;ht;){const Bt=ht;We.find(Gt=>Se(Gt,Bt))||it.push(Bt),ht=Ne.find(Gt=>{var It;return(It=Gt.children)==null?void 0:It.some(pe=>Se(pe,Bt))})}Ve([...We,...it])},[We,O,Se,Ve,Ne]),Xe=S.useCallback(()=>{!Ve||O||Ve([...Ne])},[Ne,O,Ve]),Qe=S.useCallback(()=>{!Ve||O||Ve([])},[Ve,O]),dt=S.useCallback(Re=>{!Pe||O||n!=null&&n(Re)||(Pe([Re]),wt(Re))},[Pe,O,n,wt]),mt=S.useCallback(Re=>{if(!Je||O)return;if(!Re||v){Je(void 0),T||Pe==null||Pe([]);return}const it=Pc.filter(Ie,Bt=>R(Re,Bt));let ht;if(it.find(Bt=>(He==null?void 0:He.item)&&Se(Bt,He.item))?ht=He==null?void 0:He.item:it.length>0&&(ht=it[0]),Je({keyword:Re,items:it,item:ht}),ht&&wt(ht),Pe&&!T)if(g)Pe(it);else{const Bt=it.find(Gt=>ht&&Se(Gt,ht));Pe(Bt?[Bt]:[])}},[Ie,O,Se,R,Je,Pe,wt,T,v,g,He]),Fe=S.useRef(!1);S.useEffect(()=>{Fe.current=!0},[Ie]),S.useEffect(()=>{He&&Fe.current&&(mt(He.keyword),Fe.current=!1)},[mt,He]);const rt=S.useCallback(()=>{if(!He||!Je||O)return;let Re=He.items.findIndex(it=>He.item&&Se(it,He.item))-1;Re<0||(Je({...He,item:He.items[Re]}),wt(He.items[Re]),T||dt(He.items[Re]))},[He,wt,Je,O,dt,Se,T]),At=S.useCallback(()=>{if(!He||!Je||O)return;let Re=He.items.findIndex(it=>He.item&&Se(it,He.item))+1;Re>=He.items.length||(Je({...He,item:He.items[Re]}),wt(He.items[Re]),T||dt(He.items[Re]))},[He,wt,O,Je,dt,Se,T]),Nt=S.useCallback(()=>{if(!He||!Je||O)return;let Re=He.items.findIndex(ht=>He.item&&Se(ht,He.item));if(!T||n!=null&&n(He.items[Re])){At();return}if(Ce.some(ht=>He.item&&Se(ht,He.item))){let ht=Re+1;const Bt=He.items[ht];if(ht>=He.items.length)return;Je({...He,item:Bt}),dt(Bt)}else dt(He.items[Re])},[He,Je,O,Ce,T,At,Se,dt,n]),[kt,Dt]=S.useState(!1),Jt=S.useCallback(()=>Dt(!0),[]),or=S.useCallback(()=>Dt(!1),[]),ar=S.useMemo(()=>n?Pc.map(Ie,Re=>Re).filter(Re=>!n(Re)):t?Pc.map(Ie,Re=>Re).filter(Re=>!t(Re)):Pc.map(Ie,Re=>Re),[n,t,Ie]),tr=S.useMemo(()=>!u||!g?!1:Ce.length>0&&ar.length>Ce.length,[u,g,Ce,ar]),dr=S.useMemo(()=>!u||!g?!1:Ce.length>0&&ar.length===Ce.length,[u,g,Ce,ar]),ke=S.useCallback(()=>{if(!Pe||!g||O)return;const Re=Ce.filter(it=>!(n!=null&&n(it))&&!(t!=null&&t(it))&&ar.some(ht=>Se(ht,it)));if(Re.length>0)Pe(Ce.filter(it=>!Re.some(ht=>Se(it,ht))));else{const it=ar.filter(ht=>!(n!=null&&n(ht))&&!(t!=null&&t(ht))&&!Ce.some(Bt=>Se(Bt,ht)));it.length>0&&Pe([...Ce,...it])}},[g,O,n,t,Pe,Ce,ar,Se]),ae=S.useMemo(()=>{if(!u||!g||O)return"";const Re=Ce.filter(it=>!(n!=null&&n(it))&&!(t!=null&&t(it))&&ar.some(ht=>Se(ht,it)));if(Re.length>0)return Oe["deselect n"](Re.length);{const it=ar.filter(ht=>!(n!=null&&n(ht))&&!(t!=null&&t(ht))&&!Ce.some(Bt=>Se(Bt,ht)));return Oe["select n"](it.length)}},[n,t,O,Oe,u,g,ar,Ce,Se]),[st,vt]=S.useState(),Ht=Ej(ux(cy,{activationConstraint:{distance:8}}),ux(ay)),Pt=S.useRef(new Map),Et=S.useCallback(Re=>{if(!Pt.current.has(Re)){const it=`item_${Za.uniqueId()}`;Pt.current.set(Re,it)}return Pt.current.get(Re)},[]),jt=S.useCallback(Re=>Ne.find(it=>Et(it)===Re),[Ne,Et]),Ze=S.useCallback(Re=>!st||!st.children?!1:st.children.some(ht=>Se(ht,Re))?!0:st.children.some(ht=>ht.children?Pc.find(ht,Bt=>Se(Bt,Re))!==void 0:!1),[st,Se]),ct=S.useCallback(Re=>{if(!w||O)return;const it=jt(Re.active.id);it&&vt(it)},[w,O,jt]),ft=S.useCallback((Re,it,ht,Bt)=>{const Gt=Re.findIndex(pe=>Bt(pe,it)),It=Re.findIndex(pe=>Bt(pe,ht));return Gt!==-1&&It!==-1?yg(Re,Gt,It):Re.map(pe=>{if(!pe.children)return pe;const lt=pe.children.findIndex(fr=>Bt(fr,it)),bt=pe.children.findIndex(fr=>Bt(fr,ht));return lt!==-1&&bt!==-1?{...pe,children:yg(pe.children,lt,bt)}:pe.children?{...pe,children:ft(pe.children,it,ht,Bt)}:pe})},[]),Ct=S.useCallback(Re=>{!w||O||!st||!Re.over||jt(Re.over.id)},[w,O,st,jt]),Ot=S.useCallback(Re=>{if(!w||O||!Ye||!st||!Re.over)return;const it=jt(Re.over.id);if(!it||Se(st,it)){vt(void 0);return}const ht=ft(Ie,st,it,Se);Ye(ht),vt(void 0)},[w,O,Ye,st,jt,Se,Ie,ft]),at=S.useMemo(()=>Ie.map(Re=>Et(Re)),[Ie,Et]);S.useEffect(()=>{var Re;u||(Re=Ae.current)==null||Re.scrollTo(0,0)},[u,Ae]),S.useEffect(()=>{!g&&Ce.length>1&&(Pe==null||Pe([Ce[Ce.length-1]]))},[g,Pe,Ce]),S.useEffect(()=>{_&&(_.current={expandAll:Xe,collapseAll:Qe})},[_,Xe,Qe]),S.useEffect(()=>{if(!t||!Pe)return;const Re=Ce.filter(it=>!t(it));Ce.length!==Re.length&&Pe(Re)},[t,Ce,Pe]),S.useEffect(()=>{if(!n||!Pe)return;const Re=Ce.filter(it=>!n(it));Ce.length!==Re.length&&Pe(Re)},[n,Ce,Pe]),S.useEffect(()=>{Je&&Je(void 0)},[Je]);const[St,Ft]=S.useState(null),Qt=S.useCallback((Re,it)=>{O||(Re.stopPropagation(),Re.preventDefault(),Ft(it))},[O]),$t=S.useCallback((Re,it)=>{St===null||O||Se(it,St)&&(Re.stopPropagation(),Re.preventDefault(),Ft(null))},[St,O,Se]),vr=S.useRef(null),[Br,pr]=S.useState(!1),[he,Me]=S.useState((tt=vr.current)==null?void 0:tt.scrollHeight);return S.useEffect(()=>{if(We.length<0)return;const Re=Ae.current,it=vr.current,ht=Re.clientHeight<it.clientHeight;Me(ht?it.scrollHeight:Re.clientHeight),pr(ht)},[We]),C.jsxs(Yr,{...we,className:Ke.clsx(we.className,mn.AWrap),isDisabled:O,children:[(!v||j)&&C.jsxs(kn,{className:Ke.clsx(mn.ATreeHeader,Q),style:G,children:[!v&&C.jsx(NH,{autoFocus:U,initSearch:mt,isDisabled:O,isEqual:Se,isLoading:I,maxLength:P,resources:Oe,searchDown:At,searchEnter:Nt,searchResult:He,searchUp:rt}),!v&&j&&C.jsx(zn,{w:8}),j]}),(!v||j||u&&g||w)&&C.jsx(Iv,{isLoading:I&&Ie.length!==0}),(u&&g||w)&&C.jsxs("div",{className:Ke.clsx(mn.ATreeBodyHeader,"NoSelect"),children:[u&&C.jsx(af,{className:mn.CheckBox,isDisabled:O,isIndeterminate:tr,tooltip:ae,useCheck:[+dr,()=>ke()],onMouseOut:or,onMouseOver:Jt}),Oe.Items,C.jsx(Xu,{}),C.jsxs("div",{className:Ke.clsx(mn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:Br?8:0},children:[C.jsx("span",{children:u&&Oe["*Click row for single select"]}),C.jsx("span",{children:w&&Oe["*Change order to row drag"]})]})]}),V&&C.jsx("div",{className:mn.TreeTopAddon,children:V}),C.jsx("div",{ref:Ae,className:Ke.clsx(we.className,mn.AContainer),children:C.jsxs("div",{className:mn.ATree,style:{minWidth:be||"fit-content",marginRight:se&&Br?8:0},children:[C.jsxs("div",{ref:vr,className:mn.ATreeBody,children:[Ie.length===0?I?C.jsx(zH,{text:Oe["Loading Contents..."]}):A:null,C.jsx(Iz,{collisionDetection:Mj,modifiers:[Fz,jz],sensors:Ht,measuring:{droppable:{strategy:vf.Always}},onDragEnd:Ot,onDragOver:Ct,onDragStart:ct,children:C.jsx(Wz,{items:at,strategy:qz,children:Ie.map(Re=>C.jsx(B,{containerRef:Ae,ContentRenderer:F,extIndents:m,getItemId:Et,height:ge,hoverdItem:St,icons:p,iconWidth:f,indents:[],isChildOfDragItem:Ze,isDraggable:w,isDragSrcItem:Se(Re,st),isEqual:Se,isParentCheckHovered:g&&kt,isParentDisabled:O,isSelectMulti:g,item:Re,itemId:Et(Re),resources:Oe,RightStickyAddon:z,searchItemClassName:te,searchItemStyle:de,selectDisabled:t,selectUnused:n,showCheckbox:u,TreeItemClassName:ie,TreeItemRenderer:B,TreeItemStyle:re,treeItemTooltip:Ee,treeItemTooltipDelay:Be,treeItemTooltipDirection:oe,treeItemTooltipDistance:ve,useExpand:[We,Ve],useSearch:[He,Je],useSelect:[Ce,Pe],onMouseLeave:$t,onMouseOver:Qt},Et(Re)))})})]}),ne&&C.jsxs(C.Fragment,{children:[C.jsx("div",{className:mn.CoverBorder}),C.jsx("div",{className:mn.InsertBorder,style:{"--InsertBorder_height":`${ge}px`,height:Br?he:"100%"}})]})]})})]})},FH=r=>{const{item:e}=r,t={};return lr.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function jH(r,e){return lr.some(e,(t,n)=>{var o;return(o=lr.stringify(n))==null?void 0:o.toLowerCase().includes(r.toLowerCase())})}const zH=r=>{const{text:e}=r;return C.jsxs(kn,{className:Ke.clsx(mn.Loader,"NoSelect"),children:[C.jsx(en,{height:40,icon:"Spinner",style:{height:40},width:40}),C.jsx(_C,{text:e})]})};var $m,Cx;function Af(){return Cx||(Cx=1,$m=TypeError),$m}const HH={},$H=Object.freeze(Object.defineProperty({__proto__:null,default:HH},Symbol.toStringTag,{value:"Module"})),qH=yT($H);var qm,Sx;function jg(){if(Sx)return qm;Sx=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=o&&i&&typeof i.get=="function"?i.get:null,c=o&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,f=u?WeakMap.prototype.has:null,p=typeof WeakSet=="function"&&WeakSet.prototype,m=p?WeakSet.prototype.has:null,g=typeof WeakRef=="function"&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,T=Object.prototype.toString,_=Function.prototype.toString,A=String.prototype.match,R=String.prototype.slice,O=String.prototype.replace,I=String.prototype.toUpperCase,F=String.prototype.toLowerCase,B=RegExp.prototype.test,z=Array.prototype.concat,j=Array.prototype.join,V=Array.prototype.slice,ue=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,U=Object.getOwnPropertySymbols,G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Q=typeof Symbol=="function"&&typeof Symbol.iterator=="object",re=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Q||!0)?Symbol.toStringTag:null,ie=Object.prototype.propertyIsEnumerable,se=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ke){return ke.__proto__}:null);function ne(ke,ae){if(ke===1/0||ke===-1/0||ke!==ke||ke&&ke>-1e3&&ke<1e3||B.call(/e/,ae))return ae;var st=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ke=="number"){var vt=ke<0?-ue(-ke):ue(ke);if(vt!==ke){var Ht=String(vt),Pt=R.call(ae,Ht.length+1);return O.call(Ht,st,"$&_")+"."+O.call(O.call(Pt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(ae,st,"$&_")}var be=qH,te=be.custom,de=We(te)?te:null,ge={__proto__:null,double:'"',single:"'"},Ee={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};qm=function ke(ae,st,vt,Ht){var Pt=st||{};if(Pe(Pt,"quoteStyle")&&!Pe(ge,Pt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Pe(Pt,"maxStringLength")&&(typeof Pt.maxStringLength=="number"?Pt.maxStringLength<0&&Pt.maxStringLength!==1/0:Pt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Et=Pe(Pt,"customInspect")?Pt.customInspect:!0;if(typeof Et!="boolean"&&Et!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Pe(Pt,"indent")&&Pt.indent!==null&&Pt.indent!==" "&&!(parseInt(Pt.indent,10)===Pt.indent&&Pt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Pe(Pt,"numericSeparator")&&typeof Pt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var jt=Pt.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return At(ae,Pt);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var Ze=String(ae);return jt?ne(ae,Ze):Ze}if(typeof ae=="bigint"){var ct=String(ae)+"n";return jt?ne(ae,ct):ct}var ft=typeof Pt.depth>"u"?5:Pt.depth;if(typeof vt>"u"&&(vt=0),vt>=ft&&ft>0&&typeof ae=="object")return we(ae)?"[Array]":"[Object]";var Ct=ar(Pt,vt);if(typeof Ht>"u")Ht=[];else if(wt(Ht,ae)>=0)return"[Circular]";function Ot(It,pe,lt){if(pe&&(Ht=V.call(Ht),Ht.push(pe)),lt){var bt={depth:Pt.depth};return Pe(Pt,"quoteStyle")&&(bt.quoteStyle=Pt.quoteStyle),ke(It,bt,vt+1,Ht)}return ke(It,Pt,vt+1,Ht)}if(typeof ae=="function"&&!Se(ae)){var at=Je(ae),St=dr(ae,Ot);return"[Function"+(at?": "+at:" (anonymous)")+"]"+(St.length>0?" { "+j.call(St,", ")+" }":"")}if(We(ae)){var Ft=Q?O.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):G.call(ae);return typeof ae=="object"&&!Q?kt(Ft):Ft}if(rt(ae)){for(var Qt="<"+F.call(String(ae.nodeName)),$t=ae.attributes||[],vr=0;vr<$t.length;vr++)Qt+=" "+$t[vr].name+"="+Be(oe($t[vr].value),"double",Pt);return Qt+=">",ae.childNodes&&ae.childNodes.length&&(Qt+="..."),Qt+="</"+F.call(String(ae.nodeName))+">",Qt}if(we(ae)){if(ae.length===0)return"[]";var Br=dr(ae,Ot);return Ct&&!or(Br)?"["+tr(Br,Ct)+"]":"[ "+j.call(Br,", ")+" ]"}if(Ae(ae)){var pr=dr(ae,Ot);return!("cause"in Error.prototype)&&"cause"in ae&&!ie.call(ae,"cause")?"{ ["+String(ae)+"] "+j.call(z.call("[cause]: "+Ot(ae.cause),pr),", ")+" }":pr.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+j.call(pr,", ")+" }"}if(typeof ae=="object"&&Et){if(de&&typeof ae[de]=="function"&&be)return be(ae,{depth:ft-vt});if(Et!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(Xe(ae)){var he=[];return n&&n.call(ae,function(It,pe){he.push(Ot(pe,ae,!0)+" => "+Ot(It,ae))}),Jt("Map",t.call(ae),he,Ct)}if(mt(ae)){var Me=[];return c&&c.call(ae,function(It){Me.push(Ot(It,ae))}),Jt("Set",a.call(ae),Me,Ct)}if(Qe(ae))return Dt("WeakMap");if(Fe(ae))return Dt("WeakSet");if(dt(ae))return Dt("WeakRef");if(Ye(ae))return kt(Ot(Number(ae)));if(Ve(ae))return kt(Ot(P.call(ae)));if(Ne(ae))return kt(w.call(ae));if(Ie(ae))return kt(Ot(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof Di<"u"&&ae===Di)return"{ [object globalThis] }";if(!Oe(ae)&&!Se(ae)){var tt=dr(ae,Ot),Re=se?se(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,it=ae instanceof Object?"":"null prototype",ht=!Re&&re&&Object(ae)===ae&&re in ae?R.call(He(ae),8,-1):it?"Object":"",Bt=Re||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",Gt=Bt+(ht||it?"["+j.call(z.call([],ht||[],it||[]),": ")+"] ":"");return tt.length===0?Gt+"{}":Ct?Gt+"{"+tr(tt,Ct)+"}":Gt+"{ "+j.call(tt,", ")+" }"}return String(ae)};function Be(ke,ae,st){var vt=st.quoteStyle||ae,Ht=ge[vt];return Ht+ke+Ht}function oe(ke){return O.call(String(ke),/"/g,""")}function ve(ke){return!re||!(typeof ke=="object"&&(re in ke||typeof ke[re]<"u"))}function we(ke){return He(ke)==="[object Array]"&&ve(ke)}function Oe(ke){return He(ke)==="[object Date]"&&ve(ke)}function Se(ke){return He(ke)==="[object RegExp]"&&ve(ke)}function Ae(ke){return He(ke)==="[object Error]"&&ve(ke)}function Ie(ke){return He(ke)==="[object String]"&&ve(ke)}function Ye(ke){return He(ke)==="[object Number]"&&ve(ke)}function Ne(ke){return He(ke)==="[object Boolean]"&&ve(ke)}function We(ke){if(Q)return ke&&typeof ke=="object"&&ke instanceof Symbol;if(typeof ke=="symbol")return!0;if(!ke||typeof ke!="object"||!G)return!1;try{return G.call(ke),!0}catch{}return!1}function Ve(ke){if(!ke||typeof ke!="object"||!P)return!1;try{return P.call(ke),!0}catch{}return!1}var Ce=Object.prototype.hasOwnProperty||function(ke){return ke in this};function Pe(ke,ae){return Ce.call(ke,ae)}function He(ke){return T.call(ke)}function Je(ke){if(ke.name)return ke.name;var ae=A.call(_.call(ke),/^function\s*([\w$]+)/);return ae?ae[1]:null}function wt(ke,ae){if(ke.indexOf)return ke.indexOf(ae);for(var st=0,vt=ke.length;st<vt;st++)if(ke[st]===ae)return st;return-1}function Xe(ke){if(!t||!ke||typeof ke!="object")return!1;try{t.call(ke);try{a.call(ke)}catch{return!0}return ke instanceof Map}catch{}return!1}function Qe(ke){if(!f||!ke||typeof ke!="object")return!1;try{f.call(ke,f);try{m.call(ke,m)}catch{return!0}return ke instanceof WeakMap}catch{}return!1}function dt(ke){if(!v||!ke||typeof ke!="object")return!1;try{return v.call(ke),!0}catch{}return!1}function mt(ke){if(!a||!ke||typeof ke!="object")return!1;try{a.call(ke);try{t.call(ke)}catch{return!0}return ke instanceof Set}catch{}return!1}function Fe(ke){if(!m||!ke||typeof ke!="object")return!1;try{m.call(ke,m);try{f.call(ke,f)}catch{return!0}return ke instanceof WeakSet}catch{}return!1}function rt(ke){return!ke||typeof ke!="object"?!1:typeof HTMLElement<"u"&&ke instanceof HTMLElement?!0:typeof ke.nodeName=="string"&&typeof ke.getAttribute=="function"}function At(ke,ae){if(ke.length>ae.maxStringLength){var st=ke.length-ae.maxStringLength,vt="... "+st+" more character"+(st>1?"s":"");return At(R.call(ke,0,ae.maxStringLength),ae)+vt}var Ht=Ee[ae.quoteStyle||"single"];Ht.lastIndex=0;var Pt=O.call(O.call(ke,Ht,"\\$1"),/[\x00-\x1f]/g,Nt);return Be(Pt,"single",ae)}function Nt(ke){var ae=ke.charCodeAt(0),st={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return st?"\\"+st:"\\x"+(ae<16?"0":"")+I.call(ae.toString(16))}function kt(ke){return"Object("+ke+")"}function Dt(ke){return ke+" { ? }"}function Jt(ke,ae,st,vt){var Ht=vt?tr(st,vt):j.call(st,", ");return ke+" ("+ae+") {"+Ht+"}"}function or(ke){for(var ae=0;ae<ke.length;ae++)if(wt(ke[ae],`
|
364
|
+
`},_j={onDragStart(r){let{active:e}=r;return"Picked up draggable item "+e.id+"."},onDragOver(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(r){let{active:e,over:t}=r;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(r){let{active:e}=r;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function Aj(r){let{announcements:e=_j,container:t,hiddenTextDescribedById:n,screenReaderInstructions:o=Sj}=r;const{announce:i,announcement:a}=xj(),c=Vh("DndLiveRegion"),[u,f]=S.useState(!1);if(S.useEffect(()=>{f(!0)},[]),wj(S.useMemo(()=>({onDragStart(m){let{active:g}=m;i(e.onDragStart({active:g}))},onDragMove(m){let{active:g,over:v}=m;e.onDragMove&&i(e.onDragMove({active:g,over:v}))},onDragOver(m){let{active:g,over:v}=m;i(e.onDragOver({active:g,over:v}))},onDragEnd(m){let{active:g,over:v}=m;i(e.onDragEnd({active:g,over:v}))},onDragCancel(m){let{active:g,over:v}=m;i(e.onDragCancel({active:g,over:v}))}}),[i,e])),!u)return null;const p=S.createElement(S.Fragment,null,S.createElement(yj,{id:n,value:o.draggable}),S.createElement(bj,{id:c,announcement:a}));return t?Ls.createPortal(p,t):p}var So;(function(r){r.DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable"})(So||(So={}));function mg(){}function ux(r,e){return S.useMemo(()=>({sensor:r,options:e??{}}),[r,e])}function Ej(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return S.useMemo(()=>[...e].filter(n=>n!=null),[...e])}const va=Object.freeze({x:0,y:0});function Tj(r,e){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))}function Rj(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return t-n}function kj(r,e){let{data:{value:t}}=r,{data:{value:n}}=e;return n-t}function Ij(r,e){if(!r||r.length===0)return null;const[t]=r;return t[e]}function dx(r,e,t){return e===void 0&&(e=r.left),t===void 0&&(t=r.top),{x:e+r.width*.5,y:t+r.height*.5}}const Mj=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=dx(e,e.left,e.top),i=[];for(const a of n){const{id:c}=a,u=t.get(c);if(u){const f=Tj(dx(u),o);i.push({id:c,data:{droppableContainer:a,value:f}})}}return i.sort(Rj)};function Lj(r,e){const t=Math.max(e.top,r.top),n=Math.max(e.left,r.left),o=Math.min(e.left+e.width,r.left+r.width),i=Math.min(e.top+e.height,r.top+r.height),a=o-n,c=i-t;if(n<o&&t<i){const u=e.width*e.height,f=r.width*r.height,p=a*c,m=p/(u+f-p);return Number(m.toFixed(4))}return 0}const Dj=r=>{let{collisionRect:e,droppableRects:t,droppableContainers:n}=r;const o=[];for(const i of n){const{id:a}=i,c=t.get(a);if(c){const u=Lj(c,e);u>0&&o.push({id:a,data:{droppableContainer:i,value:u}})}}return o.sort(kj)};function Oj(r,e,t){return{...r,scaleX:e&&t?e.width/t.width:1,scaleY:e&&t?e.height/t.height:1}}function uS(r,e){return r&&e?{x:r.left-e.left,y:r.top-e.top}:va}function Nj(r){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return o.reduce((a,c)=>({...a,top:a.top+r*c.y,bottom:a.bottom+r*c.y,left:a.left+r*c.x,right:a.right+r*c.x}),{...t})}}const Pj=Nj(1);function Bj(r){if(r.startsWith("matrix3d(")){const e=r.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(r.startsWith("matrix(")){const e=r.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function Fj(r,e,t){const n=Bj(e);if(!n)return r;const{scaleX:o,scaleY:i,x:a,y:c}=n,u=r.left-a-(1-o)*parseFloat(t),f=r.top-c-(1-i)*parseFloat(t.slice(t.indexOf(" ")+1)),p=o?r.width/o:r.width,m=i?r.height/i:r.height;return{width:p,height:m,top:f,right:u+p,bottom:f+m,left:u}}const jj={ignoreTransform:!1};function _f(r,e){e===void 0&&(e=jj);let t=r.getBoundingClientRect();if(e.ignoreTransform){const{transform:f,transformOrigin:p}=Ni(r).getComputedStyle(r);f&&(t=Fj(t,f,p))}const{top:n,left:o,width:i,height:a,bottom:c,right:u}=t;return{top:n,left:o,width:i,height:a,bottom:c,right:u}}function fx(r){return _f(r,{ignoreTransform:!0})}function zj(r){const e=r.innerWidth,t=r.innerHeight;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}function Hj(r,e){return e===void 0&&(e=Ni(r).getComputedStyle(r)),e.position==="fixed"}function $j(r,e){e===void 0&&(e=Ni(r).getComputedStyle(r));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const i=e[o];return typeof i=="string"?t.test(i):!1})}function iy(r,e){const t=[];function n(o){if(e!=null&&t.length>=e||!o)return t;if(ry(o)&&o.scrollingElement!=null&&!t.includes(o.scrollingElement))return t.push(o.scrollingElement),t;if(!Uh(o)||aS(o)||t.includes(o))return t;const i=Ni(r).getComputedStyle(o);return o!==r&&$j(o,i)&&t.push(o),Hj(o,i)?t:n(o.parentNode)}return r?n(r):t}function dS(r){const[e]=iy(r,1);return e??null}function jm(r){return!Pg||!r?null:Cf(r)?r:ty(r)?ry(r)||r===Sf(r).scrollingElement?window:Uh(r)?r:null:null}function fS(r){return Cf(r)?r.scrollX:r.scrollLeft}function hS(r){return Cf(r)?r.scrollY:r.scrollTop}function gv(r){return{x:fS(r),y:hS(r)}}var Mo;(function(r){r[r.Forward=1]="Forward",r[r.Backward=-1]="Backward"})(Mo||(Mo={}));function pS(r){return!Pg||!r?!1:r===document.scrollingElement}function gS(r){const e={x:0,y:0},t=pS(r)?{height:window.innerHeight,width:window.innerWidth}:{height:r.clientHeight,width:r.clientWidth},n={x:r.scrollWidth-t.width,y:r.scrollHeight-t.height},o=r.scrollTop<=e.y,i=r.scrollLeft<=e.x,a=r.scrollTop>=n.y,c=r.scrollLeft>=n.x;return{isTop:o,isLeft:i,isBottom:a,isRight:c,maxScroll:n,minScroll:e}}const qj={x:.2,y:.2};function Uj(r,e,t,n,o){let{top:i,left:a,right:c,bottom:u}=t;n===void 0&&(n=10),o===void 0&&(o=qj);const{isTop:f,isBottom:p,isLeft:m,isRight:g}=gS(r),v={x:0,y:0},w={x:0,y:0},T={height:e.height*o.y,width:e.width*o.x};return!f&&i<=e.top+T.height?(v.y=Mo.Backward,w.y=n*Math.abs((e.top+T.height-i)/T.height)):!p&&u>=e.bottom-T.height&&(v.y=Mo.Forward,w.y=n*Math.abs((e.bottom-T.height-u)/T.height)),!g&&c>=e.right-T.width?(v.x=Mo.Forward,w.x=n*Math.abs((e.right-T.width-c)/T.width)):!m&&a<=e.left+T.width&&(v.x=Mo.Backward,w.x=n*Math.abs((e.left+T.width-a)/T.width)),{direction:v,speed:w}}function Wj(r){if(r===document.scrollingElement){const{innerWidth:i,innerHeight:a}=window;return{top:0,left:0,right:i,bottom:a,width:i,height:a}}const{top:e,left:t,right:n,bottom:o}=r.getBoundingClientRect();return{top:e,left:t,right:n,bottom:o,width:r.clientWidth,height:r.clientHeight}}function mS(r){return r.reduce((e,t)=>of(e,gv(t)),va)}function Vj(r){return r.reduce((e,t)=>e+fS(t),0)}function Gj(r){return r.reduce((e,t)=>e+hS(t),0)}function Yj(r,e){if(e===void 0&&(e=_f),!r)return;const{top:t,left:n,bottom:o,right:i}=e(r);dS(r)&&(o<=0||i<=0||t>=window.innerHeight||n>=window.innerWidth)&&r.scrollIntoView({block:"center",inline:"center"})}const Zj=[["x",["left","right"],Vj],["y",["top","bottom"],Gj]];class sy{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=iy(t),o=mS(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[i,a,c]of Zj)for(const u of a)Object.defineProperty(this,u,{get:()=>{const f=c(n),p=o[i]-f;return this.rect[u]+p},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class mh{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(t=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...t)})},this.target=e}add(e,t,n){var o;(o=this.target)==null||o.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function Kj(r){const{EventTarget:e}=Ni(r);return r instanceof e?r:Sf(r)}function zm(r,e){const t=Math.abs(r.x),n=Math.abs(r.y);return typeof e=="number"?Math.sqrt(t**2+n**2)>e:"x"in e&&"y"in e?t>e.x&&n>e.y:"x"in e?t>e.x:"y"in e?n>e.y:!1}var Rs;(function(r){r.Click="click",r.DragStart="dragstart",r.Keydown="keydown",r.ContextMenu="contextmenu",r.Resize="resize",r.SelectionChange="selectionchange",r.VisibilityChange="visibilitychange"})(Rs||(Rs={}));function hx(r){r.preventDefault()}function Xj(r){r.stopPropagation()}var un;(function(r){r.Space="Space",r.Down="ArrowDown",r.Right="ArrowRight",r.Left="ArrowLeft",r.Up="ArrowUp",r.Esc="Escape",r.Enter="Enter",r.Tab="Tab"})(un||(un={}));const vS={start:[un.Space,un.Enter],cancel:[un.Esc],end:[un.Space,un.Enter,un.Tab]},Jj=(r,e)=>{let{currentCoordinates:t}=e;switch(r.code){case un.Right:return{...t,x:t.x+25};case un.Left:return{...t,x:t.x-25};case un.Down:return{...t,y:t.y+25};case un.Up:return{...t,y:t.y-25}}};class ay{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new mh(Sf(t)),this.windowListeners=new mh(Ni(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Rs.Resize,this.handleCancel),this.windowListeners.add(Rs.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Rs.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&Yj(n),t(va)}handleKeyDown(e){if(oy(e)){const{active:t,context:n,options:o}=this.props,{keyboardCodes:i=vS,coordinateGetter:a=Jj,scrollBehavior:c="smooth"}=o,{code:u}=e;if(i.end.includes(u)){this.handleEnd(e);return}if(i.cancel.includes(u)){this.handleCancel(e);return}const{collisionRect:f}=n.current,p=f?{x:f.left,y:f.top}:va;this.referenceCoordinates||(this.referenceCoordinates=p);const m=a(e,{active:t,context:n.current,currentCoordinates:p});if(m){const g=gg(m,p),v={x:0,y:0},{scrollableAncestors:w}=n.current;for(const T of w){const _=e.code,{isTop:A,isRight:R,isLeft:O,isBottom:I,maxScroll:F,minScroll:B}=gS(T),z=Wj(T),j={x:Math.min(_===un.Right?z.right-z.width/2:z.right,Math.max(_===un.Right?z.left:z.left+z.width/2,m.x)),y:Math.min(_===un.Down?z.bottom-z.height/2:z.bottom,Math.max(_===un.Down?z.top:z.top+z.height/2,m.y))},V=_===un.Right&&!R||_===un.Left&&!O,ue=_===un.Down&&!I||_===un.Up&&!A;if(V&&j.x!==m.x){const P=T.scrollLeft+g.x,U=_===un.Right&&P<=F.x||_===un.Left&&P>=B.x;if(U&&!g.y){T.scrollTo({left:P,behavior:c});return}U?v.x=T.scrollLeft-P:v.x=_===un.Right?T.scrollLeft-F.x:T.scrollLeft-B.x,v.x&&T.scrollBy({left:-v.x,behavior:c});break}else if(ue&&j.y!==m.y){const P=T.scrollTop+g.y,U=_===un.Down&&P<=F.y||_===un.Up&&P>=B.y;if(U&&!g.x){T.scrollTo({top:P,behavior:c});return}U?v.y=T.scrollTop-P:v.y=_===un.Down?T.scrollTop-F.y:T.scrollTop-B.y,v.y&&T.scrollBy({top:-v.y,behavior:c});break}}this.handleMove(e,of(gg(m,this.referenceCoordinates),v))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}ay.activators=[{eventName:"onKeyDown",handler:(r,e,t)=>{let{keyboardCodes:n=vS,onActivation:o}=e,{active:i}=t;const{code:a}=r.nativeEvent;if(n.start.includes(a)){const c=i.activatorNode.current;return c&&r.target!==c?!1:(r.preventDefault(),o==null||o({event:r.nativeEvent}),!0)}return!1}}];function px(r){return!!(r&&"distance"in r)}function gx(r){return!!(r&&"delay"in r)}class ly{constructor(e,t,n){var o;n===void 0&&(n=Kj(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:a}=i;this.props=e,this.events=t,this.document=Sf(a),this.documentListeners=new mh(this.document),this.listeners=new mh(n),this.windowListeners=new mh(Ni(a)),this.initialCoordinates=(o=pv(i))!=null?o:va,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(Rs.Resize,this.handleCancel),this.windowListeners.add(Rs.DragStart,hx),this.windowListeners.add(Rs.VisibilityChange,this.handleCancel),this.windowListeners.add(Rs.ContextMenu,hx),this.documentListeners.add(Rs.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(gx(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(px(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:o}=this.props;o(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Rs.Click,Xj,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Rs.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:o,props:i}=this,{onMove:a,options:{activationConstraint:c}}=i;if(!o)return;const u=(t=pv(e))!=null?t:va,f=gg(o,u);if(!n&&c){if(px(c)){if(c.tolerance!=null&&zm(f,c.tolerance))return this.handleCancel();if(zm(f,c.distance))return this.handleStart()}if(gx(c)&&zm(f,c.tolerance))return this.handleCancel();this.handlePending(c,f);return}e.cancelable&&e.preventDefault(),a(u)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===un.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}}const Qj={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class cy extends ly{constructor(e){const{event:t}=e,n=Sf(t.target);super(e,Qj,n)}}cy.activators=[{eventName:"onPointerDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return!t.isPrimary||t.button!==0?!1:(n==null||n({event:t}),!0)}}];const ez={move:{name:"mousemove"},end:{name:"mouseup"}};var mv;(function(r){r[r.RightClick=2]="RightClick"})(mv||(mv={}));class tz extends ly{constructor(e){super(e,ez,Sf(e.event.target))}}tz.activators=[{eventName:"onMouseDown",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;return t.button===mv.RightClick?!1:(n==null||n({event:t}),!0)}}];const Hm={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class rz extends ly{constructor(e){super(e,Hm)}static setup(){return window.addEventListener(Hm.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Hm.move.name,e)};function e(){}}}rz.activators=[{eventName:"onTouchStart",handler:(r,e)=>{let{nativeEvent:t}=r,{onActivation:n}=e;const{touches:o}=t;return o.length>1?!1:(n==null||n({event:t}),!0)}}];var vh;(function(r){r[r.Pointer=0]="Pointer",r[r.DraggableRect=1]="DraggableRect"})(vh||(vh={}));var vg;(function(r){r[r.TreeOrder=0]="TreeOrder",r[r.ReversedTreeOrder=1]="ReversedTreeOrder"})(vg||(vg={}));function nz(r){let{acceleration:e,activator:t=vh.Pointer,canScroll:n,draggingRect:o,enabled:i,interval:a=5,order:c=vg.TreeOrder,pointerCoordinates:u,scrollableAncestors:f,scrollableAncestorRects:p,delta:m,threshold:g}=r;const v=iz({delta:m,disabled:!i}),[w,T]=hj(),_=S.useRef({x:0,y:0}),A=S.useRef({x:0,y:0}),R=S.useMemo(()=>{switch(t){case vh.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case vh.DraggableRect:return o}},[t,o,u]),O=S.useRef(null),I=S.useCallback(()=>{const B=O.current;if(!B)return;const z=_.current.x*A.current.x,j=_.current.y*A.current.y;B.scrollBy(z,j)},[]),F=S.useMemo(()=>c===vg.TreeOrder?[...f].reverse():f,[c,f]);S.useEffect(()=>{if(!i||!f.length||!R){T();return}for(const B of F){if((n==null?void 0:n(B))===!1)continue;const z=f.indexOf(B),j=p[z];if(!j)continue;const{direction:V,speed:ue}=Uj(B,j,R,e,g);for(const P of["x","y"])v[P][V[P]]||(ue[P]=0,V[P]=0);if(ue.x>0||ue.y>0){T(),O.current=B,w(I,a),_.current=ue,A.current=V;return}}_.current={x:0,y:0},A.current={x:0,y:0},T()},[e,I,n,T,i,a,JSON.stringify(R),JSON.stringify(v),w,f,F,p,JSON.stringify(g)])}const oz={x:{[Mo.Backward]:!1,[Mo.Forward]:!1},y:{[Mo.Backward]:!1,[Mo.Forward]:!1}};function iz(r){let{delta:e,disabled:t}=r;const n=hv(e);return Wh(o=>{if(t||!n||!o)return oz;const i={x:Math.sign(e.x-n.x),y:Math.sign(e.y-n.y)};return{x:{[Mo.Backward]:o.x[Mo.Backward]||i.x===-1,[Mo.Forward]:o.x[Mo.Forward]||i.x===1},y:{[Mo.Backward]:o.y[Mo.Backward]||i.y===-1,[Mo.Forward]:o.y[Mo.Forward]||i.y===1}}},[t,e,n])}function sz(r,e){const t=e!=null?r.get(e):void 0,n=t?t.node.current:null;return Wh(o=>{var i;return e==null?null:(i=n??o)!=null?i:null},[n,e])}function az(r,e){return S.useMemo(()=>r.reduce((t,n)=>{const{sensor:o}=n,i=o.activators.map(a=>({eventName:a.eventName,handler:e(a.handler,n)}));return[...t,...i]},[]),[r,e])}var vf;(function(r){r[r.Always=0]="Always",r[r.BeforeDragging=1]="BeforeDragging",r[r.WhileDragging=2]="WhileDragging"})(vf||(vf={}));var vv;(function(r){r.Optimized="optimized"})(vv||(vv={}));const mx=new Map;function lz(r,e){let{dragging:t,dependencies:n,config:o}=e;const[i,a]=S.useState(null),{frequency:c,measure:u,strategy:f}=o,p=S.useRef(r),m=_(),g=Nh(m),v=S.useCallback(function(A){A===void 0&&(A=[]),!g.current&&a(R=>R===null?A:R.concat(A.filter(O=>!R.includes(O))))},[g]),w=S.useRef(null),T=Wh(A=>{if(m&&!t)return mx;if(!A||A===mx||p.current!==r||i!=null){const R=new Map;for(let O of r){if(!O)continue;if(i&&i.length>0&&!i.includes(O.id)&&O.rect.current){R.set(O.id,O.rect.current);continue}const I=O.node.current,F=I?new sy(u(I),I):null;O.rect.current=F,F&&R.set(O.id,F)}return R}return A},[r,i,t,m,u]);return S.useEffect(()=>{p.current=r},[r]),S.useEffect(()=>{m||v()},[t,m]),S.useEffect(()=>{i&&i.length>0&&a(null)},[JSON.stringify(i)]),S.useEffect(()=>{m||typeof c!="number"||w.current!==null||(w.current=setTimeout(()=>{v(),w.current=null},c))},[c,m,v,...n]),{droppableRects:T,measureDroppableContainers:v,measuringScheduled:i!=null};function _(){switch(f){case vf.Always:return!1;case vf.BeforeDragging:return t;default:return!t}}}function yS(r,e){return Wh(t=>r?t||(typeof e=="function"?e(r):r):null,[e,r])}function cz(r,e){return yS(r,e)}function uz(r){let{callback:e,disabled:t}=r;const n=ny(e),o=S.useMemo(()=>{if(t||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(n)},[n,t]);return S.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function Bg(r){let{callback:e,disabled:t}=r;const n=ny(e),o=S.useMemo(()=>{if(t||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(n)},[t]);return S.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function dz(r){return new sy(_f(r),r)}function vx(r,e,t){e===void 0&&(e=dz);const[n,o]=S.useState(null);function i(){o(u=>{if(!r)return null;if(r.isConnected===!1){var f;return(f=u??t)!=null?f:null}const p=e(r);return JSON.stringify(u)===JSON.stringify(p)?u:p})}const a=uz({callback(u){if(r)for(const f of u){const{type:p,target:m}=f;if(p==="childList"&&m instanceof HTMLElement&&m.contains(r)){i();break}}}}),c=Bg({callback:i});return il(()=>{i(),r?(c==null||c.observe(r),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(c==null||c.disconnect(),a==null||a.disconnect())},[r]),n}function fz(r){const e=yS(r);return uS(r,e)}const yx=[];function hz(r){const e=S.useRef(r),t=Wh(n=>r?n&&n!==yx&&r&&e.current&&r.parentNode===e.current.parentNode?n:iy(r):yx,[r]);return S.useEffect(()=>{e.current=r},[r]),t}function pz(r){const[e,t]=S.useState(null),n=S.useRef(r),o=S.useCallback(i=>{const a=jm(i.target);a&&t(c=>c?(c.set(a,gv(a)),new Map(c)):null)},[]);return S.useEffect(()=>{const i=n.current;if(r!==i){a(i);const c=r.map(u=>{const f=jm(u);return f?(f.addEventListener("scroll",o,{passive:!0}),[f,gv(f)]):null}).filter(u=>u!=null);t(c.length?new Map(c):null),n.current=r}return()=>{a(r),a(i)};function a(c){c.forEach(u=>{const f=jm(u);f==null||f.removeEventListener("scroll",o)})}},[o,r]),S.useMemo(()=>r.length?e?Array.from(e.values()).reduce((i,a)=>of(i,a),va):mS(r):va,[r,e])}function bx(r,e){e===void 0&&(e=[]);const t=S.useRef(null);return S.useEffect(()=>{t.current=null},e),S.useEffect(()=>{const n=r!==va;n&&!t.current&&(t.current=r),!n&&t.current&&(t.current=null)},[r]),t.current?gg(r,t.current):va}function gz(r){S.useEffect(()=>{if(!Pg)return;const e=r.map(t=>{let{sensor:n}=t;return n.setup==null?void 0:n.setup()});return()=>{for(const t of e)t==null||t()}},r.map(e=>{let{sensor:t}=e;return t}))}function mz(r,e){return S.useMemo(()=>r.reduce((t,n)=>{let{eventName:o,handler:i}=n;return t[o]=a=>{i(a,e)},t},{}),[r,e])}function bS(r){return S.useMemo(()=>r?zj(r):null,[r])}const xx=[];function vz(r,e){e===void 0&&(e=_f);const[t]=r,n=bS(t?Ni(t):null),[o,i]=S.useState(xx);function a(){i(()=>r.length?r.map(u=>pS(u)?n:new sy(e(u),u)):xx)}const c=Bg({callback:a});return il(()=>{c==null||c.disconnect(),a(),r.forEach(u=>c==null?void 0:c.observe(u))},[r]),o}function yz(r){if(!r)return null;if(r.children.length>1)return r;const e=r.children[0];return Uh(e)?e:r}function bz(r){let{measure:e}=r;const[t,n]=S.useState(null),o=S.useCallback(f=>{for(const{target:p}of f)if(Uh(p)){n(m=>{const g=e(p);return m?{...m,width:g.width,height:g.height}:g});break}},[e]),i=Bg({callback:o}),a=S.useCallback(f=>{const p=yz(f);i==null||i.disconnect(),p&&(i==null||i.observe(p)),n(p?e(p):null)},[e,i]),[c,u]=pg(a);return S.useMemo(()=>({nodeRef:c,rect:t,setRef:u}),[t,c,u])}const xz=[{sensor:cy,options:{}},{sensor:ay,options:{}}],wz={current:{}},Zp={draggable:{measure:fx},droppable:{measure:fx,strategy:vf.WhileDragging,frequency:vv.Optimized},dragOverlay:{measure:_f}};class yh extends Map{get(e){var t;return e!=null&&(t=super.get(e))!=null?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return(t=(n=this.get(e))==null?void 0:n.node.current)!=null?t:void 0}}const Cz={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new yh,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:mg},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Zp,measureDroppableContainers:mg,windowRect:null,measuringScheduled:!1},Sz={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:mg,draggableNodes:new Map,over:null,measureDroppableContainers:mg},Fg=S.createContext(Sz),xS=S.createContext(Cz);function _z(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new yh}}}function Az(r,e){switch(e.type){case So.DragStart:return{...r,draggable:{...r.draggable,initialCoordinates:e.initialCoordinates,active:e.active}};case So.DragMove:return r.draggable.active==null?r:{...r,draggable:{...r.draggable,translate:{x:e.coordinates.x-r.draggable.initialCoordinates.x,y:e.coordinates.y-r.draggable.initialCoordinates.y}}};case So.DragEnd:case So.DragCancel:return{...r,draggable:{...r.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case So.RegisterDroppable:{const{element:t}=e,{id:n}=t,o=new yh(r.droppable.containers);return o.set(n,t),{...r,droppable:{...r.droppable,containers:o}}}case So.SetDroppableDisabled:{const{id:t,key:n,disabled:o}=e,i=r.droppable.containers.get(t);if(!i||n!==i.key)return r;const a=new yh(r.droppable.containers);return a.set(t,{...i,disabled:o}),{...r,droppable:{...r.droppable,containers:a}}}case So.UnregisterDroppable:{const{id:t,key:n}=e,o=r.droppable.containers.get(t);if(!o||n!==o.key)return r;const i=new yh(r.droppable.containers);return i.delete(t),{...r,droppable:{...r.droppable,containers:i}}}default:return r}}function Ez(r){let{disabled:e}=r;const{active:t,activatorEvent:n,draggableNodes:o}=S.useContext(Fg),i=hv(n),a=hv(t==null?void 0:t.id);return S.useEffect(()=>{if(!e&&!n&&i&&a!=null){if(!oy(i)||document.activeElement===i.target)return;const c=o.get(a);if(!c)return;const{activatorNode:u,node:f}=c;if(!u.current&&!f.current)return;requestAnimationFrame(()=>{for(const p of[u.current,f.current]){if(!p)continue;const m=mj(p);if(m){m.focus();break}}})}},[n,e,o,a,i]),null}function Tz(r,e){let{transform:t,...n}=e;return r!=null&&r.length?r.reduce((o,i)=>i({transform:o,...n}),t):t}function Rz(r){return S.useMemo(()=>({draggable:{...Zp.draggable,...r==null?void 0:r.draggable},droppable:{...Zp.droppable,...r==null?void 0:r.droppable},dragOverlay:{...Zp.dragOverlay,...r==null?void 0:r.dragOverlay}}),[r==null?void 0:r.draggable,r==null?void 0:r.droppable,r==null?void 0:r.dragOverlay])}function kz(r){let{activeNode:e,measure:t,initialRect:n,config:o=!0}=r;const i=S.useRef(!1),{x:a,y:c}=typeof o=="boolean"?{x:o,y:o}:o;il(()=>{if(!a&&!c||!e){i.current=!1;return}if(i.current||!n)return;const f=e==null?void 0:e.node.current;if(!f||f.isConnected===!1)return;const p=t(f),m=uS(p,n);if(a||(m.x=0),c||(m.y=0),i.current=!0,Math.abs(m.x)>0||Math.abs(m.y)>0){const g=dS(f);g&&g.scrollBy({top:m.y,left:m.x})}},[e,a,c,n,t])}const wS=S.createContext({...va,scaleX:1,scaleY:1});var Nc;(function(r){r[r.Uninitialized=0]="Uninitialized",r[r.Initializing=1]="Initializing",r[r.Initialized=2]="Initialized"})(Nc||(Nc={}));const Iz=S.memo(function(e){var t,n,o,i;let{id:a,accessibility:c,autoScroll:u=!0,children:f,sensors:p=xz,collisionDetection:m=Dj,measuring:g,modifiers:v,...w}=e;const T=S.useReducer(Az,void 0,_z),[_,A]=T,[R,O]=Cj(),[I,F]=S.useState(Nc.Uninitialized),B=I===Nc.Initialized,{draggable:{active:z,nodes:j,translate:V},droppable:{containers:ue}}=_,P=z!=null?j.get(z):null,U=S.useRef({initial:null,translated:null}),G=S.useMemo(()=>{var Et;return z!=null?{id:z,data:(Et=P==null?void 0:P.data)!=null?Et:wz,rect:U}:null},[z,P]),Q=S.useRef(null),[re,ie]=S.useState(null),[se,ne]=S.useState(null),be=Nh(w,Object.values(w)),te=Vh("DndDescribedBy",a),de=S.useMemo(()=>ue.getEnabled(),[ue]),ge=Rz(g),{droppableRects:Ee,measureDroppableContainers:Be,measuringScheduled:oe}=lz(de,{dragging:B,dependencies:[V.x,V.y],config:ge.droppable}),ve=sz(j,z),we=S.useMemo(()=>se?pv(se):null,[se]),Oe=Pt(),Se=cz(ve,ge.draggable.measure);kz({activeNode:z!=null?j.get(z):null,config:Oe.layoutShiftCompensation,initialRect:Se,measure:ge.draggable.measure});const Ae=vx(ve,ge.draggable.measure,Se),Ie=vx(ve?ve.parentElement:null),Ye=S.useRef({activatorEvent:null,active:null,activeNode:ve,collisionRect:null,collisions:null,droppableRects:Ee,draggableNodes:j,draggingNode:null,draggingNodeRect:null,droppableContainers:ue,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ne=ue.getNodeFor((t=Ye.current.over)==null?void 0:t.id),We=bz({measure:ge.dragOverlay.measure}),Ve=(n=We.nodeRef.current)!=null?n:ve,Ce=B?(o=We.rect)!=null?o:Ae:null,Pe=!!(We.nodeRef.current&&We.rect),He=fz(Pe?null:Ae),Je=bS(Ve?Ni(Ve):null),wt=hz(B?Ne??ve:null),Xe=vz(wt),Qe=Tz(v,{transform:{x:V.x-He.x,y:V.y-He.y,scaleX:1,scaleY:1},activatorEvent:se,active:G,activeNodeRect:Ae,containerNodeRect:Ie,draggingNodeRect:Ce,over:Ye.current.over,overlayNodeRect:We.rect,scrollableAncestors:wt,scrollableAncestorRects:Xe,windowRect:Je}),dt=we?of(we,V):null,mt=pz(wt),Fe=bx(mt),rt=bx(mt,[Ae]),At=of(Qe,Fe),Nt=Ce?Pj(Ce,Qe):null,kt=G&&Nt?m({active:G,collisionRect:Nt,droppableRects:Ee,droppableContainers:de,pointerCoordinates:dt}):null,Dt=Ij(kt,"id"),[Jt,or]=S.useState(null),ar=Pe?Qe:of(Qe,rt),tr=Oj(ar,(i=Jt==null?void 0:Jt.rect)!=null?i:null,Ae),dr=S.useRef(null),ke=S.useCallback((Et,jt)=>{let{sensor:Ze,options:ct}=jt;if(Q.current==null)return;const ft=j.get(Q.current);if(!ft)return;const Ct=Et.nativeEvent,Ot=new Ze({active:Q.current,activeNode:ft,event:Ct,options:ct,context:Ye,onAbort(St){if(!j.get(St))return;const{onDragAbort:Qt}=be.current,$t={id:St};Qt==null||Qt($t),R({type:"onDragAbort",event:$t})},onPending(St,Ft,Qt,$t){if(!j.get(St))return;const{onDragPending:Br}=be.current,pr={id:St,constraint:Ft,initialCoordinates:Qt,offset:$t};Br==null||Br(pr),R({type:"onDragPending",event:pr})},onStart(St){const Ft=Q.current;if(Ft==null)return;const Qt=j.get(Ft);if(!Qt)return;const{onDragStart:$t}=be.current,vr={activatorEvent:Ct,active:{id:Ft,data:Qt.data,rect:U}};Ls.unstable_batchedUpdates(()=>{$t==null||$t(vr),F(Nc.Initializing),A({type:So.DragStart,initialCoordinates:St,active:Ft}),R({type:"onDragStart",event:vr}),ie(dr.current),ne(Ct)})},onMove(St){A({type:So.DragMove,coordinates:St})},onEnd:at(So.DragEnd),onCancel:at(So.DragCancel)});dr.current=Ot;function at(St){return async function(){const{active:Qt,collisions:$t,over:vr,scrollAdjustedTranslate:Br}=Ye.current;let pr=null;if(Qt&&Br){const{cancelDrop:he}=be.current;pr={activatorEvent:Ct,active:Qt,collisions:$t,delta:Br,over:vr},St===So.DragEnd&&typeof he=="function"&&await Promise.resolve(he(pr))&&(St=So.DragCancel)}Q.current=null,Ls.unstable_batchedUpdates(()=>{A({type:St}),F(Nc.Uninitialized),or(null),ie(null),ne(null),dr.current=null;const he=St===So.DragEnd?"onDragEnd":"onDragCancel";if(pr){const Me=be.current[he];Me==null||Me(pr),R({type:he,event:pr})}})}}},[j]),ae=S.useCallback((Et,jt)=>(Ze,ct)=>{const ft=Ze.nativeEvent,Ct=j.get(ct);if(Q.current!==null||!Ct||ft.dndKit||ft.defaultPrevented)return;const Ot={active:Ct};Et(Ze,jt.options,Ot)===!0&&(ft.dndKit={capturedBy:jt.sensor},Q.current=ct,ke(Ze,jt))},[j,ke]),st=az(p,ae);gz(p),il(()=>{Ae&&I===Nc.Initializing&&F(Nc.Initialized)},[Ae,I]),S.useEffect(()=>{const{onDragMove:Et}=be.current,{active:jt,activatorEvent:Ze,collisions:ct,over:ft}=Ye.current;if(!jt||!Ze)return;const Ct={active:jt,activatorEvent:Ze,collisions:ct,delta:{x:At.x,y:At.y},over:ft};Ls.unstable_batchedUpdates(()=>{Et==null||Et(Ct),R({type:"onDragMove",event:Ct})})},[At.x,At.y]),S.useEffect(()=>{const{active:Et,activatorEvent:jt,collisions:Ze,droppableContainers:ct,scrollAdjustedTranslate:ft}=Ye.current;if(!Et||Q.current==null||!jt||!ft)return;const{onDragOver:Ct}=be.current,Ot=ct.get(Dt),at=Ot&&Ot.rect.current?{id:Ot.id,rect:Ot.rect.current,data:Ot.data,disabled:Ot.disabled}:null,St={active:Et,activatorEvent:jt,collisions:Ze,delta:{x:ft.x,y:ft.y},over:at};Ls.unstable_batchedUpdates(()=>{or(at),Ct==null||Ct(St),R({type:"onDragOver",event:St})})},[Dt]),il(()=>{Ye.current={activatorEvent:se,active:G,activeNode:ve,collisionRect:Nt,collisions:kt,droppableRects:Ee,draggableNodes:j,draggingNode:Ve,draggingNodeRect:Ce,droppableContainers:ue,over:Jt,scrollableAncestors:wt,scrollAdjustedTranslate:At},U.current={initial:Ce,translated:Nt}},[G,ve,kt,Nt,j,Ve,Ce,Ee,ue,Jt,wt,At]),nz({...Oe,delta:V,draggingRect:Nt,pointerCoordinates:dt,scrollableAncestors:wt,scrollableAncestorRects:Xe});const vt=S.useMemo(()=>({active:G,activeNode:ve,activeNodeRect:Ae,activatorEvent:se,collisions:kt,containerNodeRect:Ie,dragOverlay:We,draggableNodes:j,droppableContainers:ue,droppableRects:Ee,over:Jt,measureDroppableContainers:Be,scrollableAncestors:wt,scrollableAncestorRects:Xe,measuringConfiguration:ge,measuringScheduled:oe,windowRect:Je}),[G,ve,Ae,se,kt,Ie,We,j,ue,Ee,Jt,Be,wt,Xe,ge,oe,Je]),Ht=S.useMemo(()=>({activatorEvent:se,activators:st,active:G,activeNodeRect:Ae,ariaDescribedById:{draggable:te},dispatch:A,draggableNodes:j,over:Jt,measureDroppableContainers:Be}),[se,st,G,Ae,A,te,j,Jt,Be]);return S.createElement(cS.Provider,{value:O},S.createElement(Fg.Provider,{value:Ht},S.createElement(xS.Provider,{value:vt},S.createElement(wS.Provider,{value:tr},f)),S.createElement(Ez,{disabled:(c==null?void 0:c.restoreFocus)===!1})),S.createElement(Aj,{...c,hiddenTextDescribedById:te}));function Pt(){const Et=(re==null?void 0:re.autoScrollEnabled)===!1,jt=typeof u=="object"?u.enabled===!1:u===!1,Ze=B&&!Et&&!jt;return typeof u=="object"?{...u,enabled:Ze}:{enabled:Ze}}}),Mz=S.createContext(null),wx="button",Lz="Draggable";function Dz(r){let{id:e,data:t,disabled:n=!1,attributes:o}=r;const i=Vh(Lz),{activators:a,activatorEvent:c,active:u,activeNodeRect:f,ariaDescribedById:p,draggableNodes:m,over:g}=S.useContext(Fg),{role:v=wx,roleDescription:w="draggable",tabIndex:T=0}=o??{},_=(u==null?void 0:u.id)===e,A=S.useContext(_?wS:Mz),[R,O]=pg(),[I,F]=pg(),B=mz(a,e),z=Nh(t);il(()=>(m.set(e,{id:e,key:i,node:R,activatorNode:I,data:z}),()=>{const V=m.get(e);V&&V.key===i&&m.delete(e)}),[m,e]);const j=S.useMemo(()=>({role:v,tabIndex:T,"aria-disabled":n,"aria-pressed":_&&v===wx?!0:void 0,"aria-roledescription":w,"aria-describedby":p.draggable}),[n,v,T,_,w,p.draggable]);return{active:u,activatorEvent:c,activeNodeRect:f,attributes:j,isDragging:_,listeners:n?void 0:B,node:R,over:g,setNodeRef:O,setActivatorNodeRef:F,transform:A}}function Oz(){return S.useContext(xS)}const Nz="Droppable",Pz={timeout:25};function Bz(r){let{data:e,disabled:t=!1,id:n,resizeObserverConfig:o}=r;const i=Vh(Nz),{active:a,dispatch:c,over:u,measureDroppableContainers:f}=S.useContext(Fg),p=S.useRef({disabled:t}),m=S.useRef(!1),g=S.useRef(null),v=S.useRef(null),{disabled:w,updateMeasurementsFor:T,timeout:_}={...Pz,...o},A=Nh(T??n),R=S.useCallback(()=>{if(!m.current){m.current=!0;return}v.current!=null&&clearTimeout(v.current),v.current=setTimeout(()=>{f(Array.isArray(A.current)?A.current:[A.current]),v.current=null},_)},[_]),O=Bg({callback:R,disabled:w||!a}),I=S.useCallback((j,V)=>{O&&(V&&(O.unobserve(V),m.current=!1),j&&O.observe(j))},[O]),[F,B]=pg(I),z=Nh(e);return S.useEffect(()=>{!O||!F.current||(O.disconnect(),m.current=!1,O.observe(F.current))},[F,O]),S.useEffect(()=>(c({type:So.RegisterDroppable,element:{id:n,key:i,disabled:t,node:F,rect:g,data:z}}),()=>c({type:So.UnregisterDroppable,key:i,id:n})),[n]),S.useEffect(()=>{t!==p.current.disabled&&(c({type:So.SetDroppableDisabled,id:n,key:i,disabled:t}),p.current.disabled=t)},[n,i,t,c]),{active:a,rect:g,isOver:(u==null?void 0:u.id)===n,node:F,over:u,setNodeRef:B}}function CS(r,e,t){const n={...r};return e.top+r.y<=t.top?n.y=t.top-e.top:e.bottom+r.y>=t.top+t.height&&(n.y=t.top+t.height-e.bottom),e.left+r.x<=t.left?n.x=t.left-e.left:e.right+r.x>=t.left+t.width&&(n.x=t.left+t.width-e.right),n}const Fz=r=>{let{containerNodeRect:e,draggingNodeRect:t,transform:n}=r;return!t||!e?n:CS(n,t,e)},jz=r=>{let{transform:e,draggingNodeRect:t,windowRect:n}=r;return!t||!n?e:CS(e,t,n)};function yg(r,e,t){const n=r.slice();return n.splice(t<0?n.length+t:t,0,n.splice(e,1)[0]),n}function zz(r,e){return r.reduce((t,n,o)=>{const i=e.get(n);return i&&(t[o]=i),t},Array(r.length))}function Np(r){return r!==null&&r>=0}function Hz(r,e){if(r===e)return!0;if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!==e[t])return!1;return!0}function $z(r){return typeof r=="boolean"?{draggable:r,droppable:r}:r}const SS=r=>{let{rects:e,activeIndex:t,overIndex:n,index:o}=r;const i=yg(e,n,t),a=e[o],c=i[o];return!c||!a?null:{x:c.left-a.left,y:c.top-a.top,scaleX:c.width/a.width,scaleY:c.height/a.height}},Pp={scaleX:1,scaleY:1},qz=r=>{var e;let{activeIndex:t,activeNodeRect:n,index:o,rects:i,overIndex:a}=r;const c=(e=i[t])!=null?e:n;if(!c)return null;if(o===t){const f=i[a];return f?{x:0,y:t<a?f.top+f.height-(c.top+c.height):f.top-c.top,...Pp}:null}const u=Uz(i,o,t);return o>t&&o<=a?{x:0,y:-c.height-u,...Pp}:o<t&&o>=a?{x:0,y:c.height+u,...Pp}:{x:0,y:0,...Pp}};function Uz(r,e,t){const n=r[e],o=r[e-1],i=r[e+1];return n?t<e?o?n.top-(o.top+o.height):i?i.top-(n.top+n.height):0:i?i.top-(n.top+n.height):o?n.top-(o.top+o.height):0:0}const _S="Sortable",AS=S.createContext({activeIndex:-1,containerId:_S,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:SS,disabled:{draggable:!1,droppable:!1}});function Wz(r){let{children:e,id:t,items:n,strategy:o=SS,disabled:i=!1}=r;const{active:a,dragOverlay:c,droppableRects:u,over:f,measureDroppableContainers:p}=Oz(),m=Vh(_S,t),g=c.rect!==null,v=S.useMemo(()=>n.map(B=>typeof B=="object"&&"id"in B?B.id:B),[n]),w=a!=null,T=a?v.indexOf(a.id):-1,_=f?v.indexOf(f.id):-1,A=S.useRef(v),R=!Hz(v,A.current),O=_!==-1&&T===-1||R,I=$z(i);il(()=>{R&&w&&p(v)},[R,v,w,p]),S.useEffect(()=>{A.current=v},[v]);const F=S.useMemo(()=>({activeIndex:T,containerId:m,disabled:I,disableTransforms:O,items:v,overIndex:_,useDragOverlay:g,sortedRects:zz(v,u),strategy:o}),[T,m,I.draggable,I.droppable,O,v,_,u,g,o]);return S.createElement(AS.Provider,{value:F},e)}const Vz=r=>{let{id:e,items:t,activeIndex:n,overIndex:o}=r;return yg(t,n,o).indexOf(e)},Gz=r=>{let{containerId:e,isSorting:t,wasDragging:n,index:o,items:i,newIndex:a,previousItems:c,previousContainerId:u,transition:f}=r;return!f||!n||c!==i&&o===a?!1:t?!0:a!==o&&e===u},Yz={duration:200,easing:"ease"},ES="transform",Zz=Ph.Transition.toString({property:ES,duration:0,easing:"linear"}),Kz={roleDescription:"sortable"};function Xz(r){let{disabled:e,index:t,node:n,rect:o}=r;const[i,a]=S.useState(null),c=S.useRef(t);return il(()=>{if(!e&&t!==c.current&&n.current){const u=o.current;if(u){const f=_f(n.current,{ignoreTransform:!0}),p={x:u.left-f.left,y:u.top-f.top,scaleX:u.width/f.width,scaleY:u.height/f.height};(p.x||p.y)&&a(p)}}t!==c.current&&(c.current=t)},[e,t,n,o]),S.useEffect(()=>{i&&a(null)},[i]),i}function Jz(r){let{animateLayoutChanges:e=Gz,attributes:t,disabled:n,data:o,getNewIndex:i=Vz,id:a,strategy:c,resizeObserverConfig:u,transition:f=Yz}=r;const{items:p,containerId:m,activeIndex:g,disabled:v,disableTransforms:w,sortedRects:T,overIndex:_,useDragOverlay:A,strategy:R}=S.useContext(AS),O=Qz(n,v),I=p.indexOf(a),F=S.useMemo(()=>({sortable:{containerId:m,index:I,items:p},...o}),[m,o,I,p]),B=S.useMemo(()=>p.slice(p.indexOf(a)),[p,a]),{rect:z,node:j,isOver:V,setNodeRef:ue}=Bz({id:a,data:F,disabled:O.droppable,resizeObserverConfig:{updateMeasurementsFor:B,...u}}),{active:P,activatorEvent:U,activeNodeRect:G,attributes:Q,setNodeRef:re,listeners:ie,isDragging:se,over:ne,setActivatorNodeRef:be,transform:te}=Dz({id:a,data:F,attributes:{...Kz,...t},disabled:O.draggable}),de=fj(ue,re),ge=!!P,Ee=ge&&!w&&Np(g)&&Np(_),Be=!A&&se,oe=Be&&Ee?te:null,we=Ee?oe??(c??R)({rects:T,activeNodeRect:G,activeIndex:g,overIndex:_,index:I}):null,Oe=Np(g)&&Np(_)?i({id:a,items:p,activeIndex:g,overIndex:_}):I,Se=P==null?void 0:P.id,Ae=S.useRef({activeId:Se,items:p,newIndex:Oe,containerId:m}),Ie=p!==Ae.current.items,Ye=e({active:P,containerId:m,isDragging:se,isSorting:ge,id:a,index:I,items:p,newIndex:Ae.current.newIndex,previousItems:Ae.current.items,previousContainerId:Ae.current.containerId,transition:f,wasDragging:Ae.current.activeId!=null}),Ne=Xz({disabled:!Ye,index:I,node:j,rect:z});return S.useEffect(()=>{ge&&Ae.current.newIndex!==Oe&&(Ae.current.newIndex=Oe),m!==Ae.current.containerId&&(Ae.current.containerId=m),p!==Ae.current.items&&(Ae.current.items=p)},[ge,Oe,m,p]),S.useEffect(()=>{if(Se===Ae.current.activeId)return;if(Se!=null&&Ae.current.activeId==null){Ae.current.activeId=Se;return}const Ve=setTimeout(()=>{Ae.current.activeId=Se},50);return()=>clearTimeout(Ve)},[Se]),{active:P,activeIndex:g,attributes:Q,data:F,rect:z,index:I,newIndex:Oe,items:p,isOver:V,isSorting:ge,isDragging:se,listeners:ie,node:j,overIndex:_,over:ne,setNodeRef:de,setActivatorNodeRef:be,setDroppableNodeRef:ue,setDraggableNodeRef:re,transform:Ne??we,transition:We()};function We(){if(Ne||Ie&&Ae.current.newIndex===I)return Zz;if(!(Be&&!oy(U)||!f)&&(ge||Ye))return Ph.Transition.toString({...f,property:ES})}}function Qz(r,e){var t,n;return typeof r=="boolean"?{draggable:r,droppable:!1}:{draggable:(t=r==null?void 0:r.draggable)!=null?t:e.draggable,droppable:(n=r==null?void 0:r.droppable)!=null?n:e.droppable}}un.Down,un.Right,un.Up,un.Left;function bg(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(e(t))return t;if(!t.children||t.children.length<1)continue;const n=bg(t.children,e);if(n)return n}}function Gh(r,e){Array.isArray(r)||(r=[r]);for(const t of r)e(t),!(!t.children||t.children.length<1)&&Gh(t.children,e)}function TS(r,e){Array.isArray(r)||(r=[r]);const t=[];return Gh(r,(n,o)=>t.push(e(n,o))),t}function RS(r,e){Array.isArray(r)||(r=[r]);for(const t of r){if(!e(t))return!1;if(!(!t.children||t.children.length<1)&&!RS(t.children,e))return!1}return!0}function eH(r,e){Array.isArray(r)||(r=[r]);const t=[];return Gh(r,(n,o)=>{e(n,o)&&t.push(n)}),t}function tH(r){Array.isArray(r)||(r=[r]);let e=0;return Gh(r,()=>e++),e}function rH(r,e,t,n){if(n(e,t))return null;Array.isArray(r)||(r=[r]);const o=bg(r,a=>{var c;return(c=a.children)==null?void 0:c.some(u=>n(u,e))}),i=bg(r,a=>{var c;return(c=a.children)==null?void 0:c.some(u=>n(u,t))});if(o===void 0&&i===void 0){const a=r.findIndex(u=>n(u,e)),c=r.findIndex(u=>n(u,t));return r.splice(a,1),r.splice(c,0,e),[...r]}else if(o!==void 0&&i!==void 0&&n(o,i)&&o.children){const a=o.children.findIndex(u=>n(u,e)),c=o.children.findIndex(u=>n(u,t));return a===void 0||c===void 0?null:(o.children.splice(a,1),o.children.splice(c,0,e),o.children=[...o.children],[...r])}return null}function nH(r,e,t){const n=[],o=[...e];for(;o.length>0;){const i=o.shift();if(i&&!n.find(a=>t(a,i))&&(n.push(i),!(!i.children||i.children.length<1)))for(const a of i.children)o.push(a)}return n}function oH(r,e,t){Array.isArray(r)||(r=[r]);const n=TS(r,a=>a),o=[],i=[...e];for(;i.length>0;){const a=i.shift();if(!a||o.find(u=>t(u,a)))continue;o.push(a);const c=n.find(u=>{var f;return(f=u.children)==null?void 0:f.some(p=>t(p,a))});c&&i.push(c)}return o}const Pc={find:bg,forEach:Gh,map:TS,every:RS,filter:eH,length:tH,replace:rH,descendants:nH,ancestors:oH},iH="_AWrap_9tqty_1",sH="_AContainer_9tqty_10",aH="_ATree_9tqty_18",lH="_ATreeBody_9tqty_30",cH="_TreeTopAddon_9tqty_36",uH="_CoverBorder_9tqty_46",dH="_InsertBorder_9tqty_55",fH="_ATreeHeader_9tqty_86",hH="_ATreeBodyHeader_9tqty_92",pH="_ATreeBodyHeaderResources_9tqty_102",gH="_ATreeItem_9tqty_108",mH="_IsSelectUsed_9tqty_124",vH="_IsSelected_9tqty_127",yH="_IsSearchSelected_9tqty_132",bH="_IsHovered_9tqty_144",xH="_CheckBox_9tqty_148",wH="_Indents_9tqty_160",CH="_ExpandIcon_9tqty_167",SH="_Content_9tqty_179",_H="_RightSticky_9tqty_188",AH="_SearchInputWrap_9tqty_197",EH="_SearchInput_9tqty_197",TH="_RightAddon_9tqty_209",RH="_RightAddonIcon_9tqty_220",kH="_Loader_9tqty_227",IH="_IsChildOfDragSource_9tqty_232",mn={AWrap:iH,AContainer:sH,ATree:aH,ATreeBody:lH,TreeTopAddon:cH,CoverBorder:uH,InsertBorder:dH,ATreeHeader:fH,ATreeBodyHeader:hH,ATreeBodyHeaderResources:pH,ATreeItem:gH,IsSelectUsed:mH,IsSelected:vH,IsSearchSelected:yH,IsHovered:bH,CheckBox:xH,Indents:wH,ExpandIcon:CH,Content:SH,RightSticky:_H,SearchInputWrap:AH,SearchInput:EH,RightAddon:TH,RightAddonIcon:RH,Loader:kH,IsChildOfDragSource:IH},MH=r=>{const{isEqual:e,item:t,itemId:n,selectDisabled:o,selectUnused:i,isParentDisabled:a,indents:c,extIndents:u,useExpand:f,useSelect:p,useSearch:m,showCheckbox:g,icons:v,iconWidth:w,isSelectMulti:T,isDraggable:_,isParentCheckHovered:A,hoverdItem:R,onMouseOver:O,onMouseLeave:I,ContentRenderer:F,TreeItemRenderer:B,RightStickyAddon:z,resources:j,containerRef:V,TreeItemStyle:ue,TreeItemClassName:P,searchItemStyle:U,searchItemClassName:G,height:Q,isDragSrcItem:re,isChildOfDragItem:ie,getItemId:se,treeItemTooltip:ne,treeItemTooltipDelay:be,treeItemTooltipDirection:te,treeItemTooltipDistance:de}=r,{children:ge}=S.useMemo(()=>t,[t]),[Ee,Be]=S.useMemo(()=>f,[f]),[oe,ve]=S.useMemo(()=>p,[p]),[we,Oe]=S.useMemo(()=>m,[m]),Se=S.useMemo(()=>i?i(t):!1,[i,t]),Ae=S.useMemo(()=>!o||a?a:o(t),[o,a,t]),Ie=S.useMemo(()=>Ee.some(at=>e(at,t)),[Ee,e,t]),Ye=S.useMemo(()=>!ge||ge.length<1?"noChild":Ie?"expanded":"collapsed",[ge,Ie]),Ne=S.useMemo(()=>Er.getContent(v,r),[v,r]),We=S.useMemo(()=>{const at=Ne==null?void 0:Ne[Ye];return wv.includes(at)?C.jsx(en,{icon:at,style:{width:w,height:w}}):at},[Ne,w,Ye]),Ve=S.useCallback(at=>{!Be||Ye==="noChild"||(Be(Ie?Ee.filter(St=>!e(St,t)):[...Ee,t]),at.stopPropagation())},[Be,Ee,Ie,t,e,Ye]),Ce=S.useMemo(()=>oe.some(at=>e(at,t)),[oe,e,t]),Pe=S.useCallback(()=>{!ve||Ae||(ve(T?Ce?oe.filter(at=>!e(at,t)):[...oe,t]:[t]),we&&Oe&&we.items.some(at=>e(at,t))&&Oe({...we,item:t}))},[T,Ae,Ce,we,Oe,ve,e,oe,t]),He=S.useMemo(()=>we==null?void 0:we.items.some(at=>e(at,t)),[we,e,t]),Je=S.useMemo(()=>He&&(we==null?void 0:we.item)&&e(we.item,t),[He,we,e,t]),wt=S.useRef(null),Xe=S.useRef(null),{attributes:Qe,listeners:dt,setNodeRef:mt,transform:Fe,transition:rt,isDragging:At}=Jz({id:n||`item-${JSON.stringify(t)}`,disabled:!_||!!a||!n}),Nt=S.useMemo(()=>ie?ie(t):!1,[ie,t]),kt=S.useMemo(()=>{const at=Fe?{transform:Ph.Transform.toString(Fe),transition:rt,opacity:At?.5:1,zIndex:At?1:"auto"}:{};return re||Nt?{...at,opacity:.5,zIndex:10}:at},[Fe,rt,At,re,Nt]);S.useEffect(()=>{n&&mt&&Xe.current&&mt(Xe.current)},[n,mt]),S.useEffect(()=>{setTimeout(()=>{if(Je&&wt.current&&V.current){const{top:at,bottom:St}=wt.current.getBoundingClientRect(),{top:Ft,bottom:Qt}=V.current.getBoundingClientRect();(at<Ft||St>Qt)&&wt.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[V,Je]);const[Dt,Jt]=S.useState(!1),or=S.useCallback(()=>!Ae&&Jt(!0),[Ae]),ar=S.useCallback(()=>!Ae&&Jt(!1),[Ae]),tr=S.useMemo(()=>Pc.map(t,at=>at).filter(at=>!(o!=null&&o(at))&&!(i!=null&&i(at))),[o,i,t]),dr=S.useMemo(()=>!g||!T?!1:Ce&&tr.some(at=>oe.some(St=>e(at,St)))&&tr.some(at=>!oe.some(St=>e(at,St))),[g,T,Ce,tr,e,oe]),ke=S.useMemo(()=>g?T?tr.every(at=>oe.some(St=>e(at,St))):oe.some(at=>e(at,t)):!1,[g,T,tr,t,e,oe]),ae=S.useCallback(()=>{if(!(!ve||Ae))if(T)if(Ce){const at=oe.filter(St=>!(i!=null&&i(St))&&!(o!=null&&o(St))&&tr.some(Ft=>e(Ft,St)));at.length>0&&ve(oe.filter(St=>!at.some(Ft=>e(St,Ft))))}else{const at=tr.filter(St=>!(i!=null&&i(St))&&!(o!=null&&o(St))&&!oe.some(Ft=>e(Ft,St)));at.length>0&&ve([...oe,...at])}else ve([t])},[Ae,o,i,T,ve,e,Ce,oe,tr,t]),st=S.useCallback(at=>{Ae||ae(),at.stopPropagation()},[Ae,ae]),vt=S.useMemo(()=>{if(!g||!T||Ae)return"";if(Ce){const St=oe.filter(Ft=>!(i!=null&&i(Ft))&&!(o!=null&&o(Ft))&&tr.some(Qt=>e(Qt,Ft)));if(St.length>0)return j["deselect n"](St.length)}const at=tr.filter(St=>!(i!=null&&i(St))&&!(o!=null&&o(St))&&!oe.some(Ft=>e(Ft,St)));return j["select n"](at.length)},[o,i,j,Ae,g,T,Ce,tr,e,oe]),Ht=S.useMemo(()=>Er.getContent(z,r),[z,r]),Pt=S.useMemo(()=>Er.getContent(ue,r),[r,ue]),Et=S.useMemo(()=>Er.getContent(P,r),[r,P]),jt=S.useMemo(()=>Er.getContent(G,r),[r,G]),Ze=S.useMemo(()=>Er.getContent(U,r),[r,U]),ct=S.useMemo(()=>Er.getContent(ne,r),[r,ne]),ft=S.useMemo(()=>Er.getContent(be,r),[r,be]),Ct=S.useMemo(()=>Er.getContent(te,r),[r,te]),Ot=S.useMemo(()=>Er.getContent(de,r),[r,de]);return C.jsxs(S.Fragment,{children:[C.jsxs(Yr,{abaseRef:Xe,isDisabled:Ae,className:Ke.clsx(mn.ATreeItem,Ce&&mn.IsSelected,!Ae&&(Dt||A)&&mn.IsHovered,He&&mn.IsSearched,Je&&(jt||mn.IsSearchSelected),!Se&&mn.IsSelectUsed,Nt&&mn.IsChildOfDragSource,"NoSelect",Et),style:{...Pt,...Je&&Ze?Ze:{},"--ATreeItem_height":`${Q}px`,...kt||{}},onClick:Pe,onMouseLeave:at=>I==null?void 0:I(at,t),onMouseOver:at=>O==null?void 0:O(at,t),..._&&!Ae&&Qe?Qe:{},..._&&!Ae&&dt?dt:{},tooltip:ct,tooltipDelay:ft,tooltipDirection:Ct,tooltipDistance:Ot,children:[g&&C.jsx(af,{className:mn.CheckBox,isDisabled:Ae,isIndeterminate:dr,tooltip:vt,useCheck:[+ke,ae],style:{visibility:Ae||Se?"hidden":"visible",zIndex:Ae||Se?0:2},onClick:st,onMouseOut:ar,onMouseOver:or}),C.jsx("div",{className:mn.Indents,style:{paddingLeft:g?0:Ne!=null&&Ne.noChild?12:0},children:c.map((at,St)=>{const Ft=St===c.length-1;return C.jsx(fC,{value:at,map:{Collapsed:u?u({iconWidth:w}).collapsed:C.jsx(DH,{iconWidth:w}),Expanded:u?u({iconWidth:w,isLast:Ft}).expanded:C.jsx(LH,{iconWidth:w,isLast:Ft}),IsLast:u?u({iconWidth:w}).isLast:C.jsx(OH,{iconWidth:w})}},St)})}),We&&C.jsx("div",{className:mn.ExpandIcon,style:{width:w,minWidth:w,maxWidth:w},onClick:Ve,children:We}),C.jsx("div",{className:Ke.clsx(mn.Content,"NoSelect"),children:C.jsx(F,{containerRef:V,ContentRenderer:F,extIndents:u,height:Q,hoverdItem:R,icons:v,iconWidth:w,indents:c,isDraggable:_,isEqual:e,isParentCheckHovered:T&&(Dt||A),isSelectMulti:T,item:t,itemId:n,resources:j,RightStickyAddon:z,searchItemClassName:jt,searchItemStyle:U,showCheckbox:g,TreeItemClassName:P,TreeItemRenderer:B,TreeItemStyle:ue,treeItemTooltip:ne,treeItemTooltipDelay:be,treeItemTooltipDirection:te,treeItemTooltipDistance:de,useExpand:f,useSearch:m,useSelect:p,onMouseLeave:I,onMouseOver:O})}),Ht&&C.jsx("div",{className:mn.RightSticky,children:Ht})]}),Ie&&(ge==null?void 0:ge.map((at,St)=>C.jsx(B,{containerRef:V,ContentRenderer:F,extIndents:u,height:Q,hoverdItem:R,icons:v,iconWidth:w,isChildOfDragItem:ie,isDraggable:_,isDragSrcItem:re,isEqual:e,isParentCheckHovered:T&&(Dt||A),isSelectMulti:T,item:at,itemId:se?`${se(t)}-child-${St}`:n?`${n}-child-${St}`:void 0,resources:j,RightStickyAddon:z,searchItemClassName:jt,searchItemStyle:U,selectDisabled:o,selectUnused:i,showCheckbox:g,TreeItemClassName:P,TreeItemRenderer:B,TreeItemStyle:ue,treeItemTooltip:ne,treeItemTooltipDelay:be,treeItemTooltipDirection:te,treeItemTooltipDistance:de,useExpand:f,useSearch:m,useSelect:p,indents:[...c.map(Ft=>Ft==="IsLast"?"Collapsed":Ft),St===ge.length-1?"IsLast":"Expanded"],onMouseLeave:I,onMouseOver:O},se?se(at):St)))]})},LH=({iconWidth:r,isLast:e})=>C.jsx("div",{style:{width:r/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"},children:e&&C.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color var(--Transition)"}})}),DH=({iconWidth:r})=>C.jsx("div",{style:{width:r,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color var(--Transition)"}}),OH=({iconWidth:r})=>C.jsx("div",{style:{width:r/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:r/2,marginRight:r/8,boxSizing:"border-box",transition:"border-color var(--Transition)"}}),NH=r=>{const{isEqual:e,searchResult:t,initSearch:n,searchUp:o,searchDown:i,searchEnter:a,isDisabled:c,isLoading:u,resources:f,maxLength:p,autoFocus:m}=r,g=S.useCallback(T=>{T.key==="Enter"?a():T.key==="ArrowDown"?i():T.key==="ArrowUp"&&o(),T.preventDefault(),T.stopPropagation()},[i,a,o]),v=S.useCallback(T=>{n(T)},[n]),w=S.useMemo(()=>c||u?-1:void 0,[c,u]);return C.jsx(Gc,{autoFocus:m,className:mn.SearchInput,isDisabled:c,maxLength:p,placeholder:f["Search(Placeholder)"],tabIndex:w,useValue:[(t==null?void 0:t.keyword)??"",v],RightAddon:C.jsx(PH,{isEqual:e,resources:f,searchDown:i,searchEnter:a,searchResult:t,searchUp:o}),wrapProps:{className:mn.SearchInputWrap},onKeyDown:g})},PH=r=>{const{isEqual:e,searchResult:t,searchUp:n,searchDown:o,searchEnter:i,resources:a}=r,c=S.useMemo(()=>!t||t.items.length<1?0:t.items.findIndex(w=>t.item&&e(w,t.item))+1,[t,e]),u=S.useMemo(()=>!t||t.items.length<1?0:t.items.length,[t]),f=S.useMemo(()=>c<2,[c]),p=S.useMemo(()=>c>=u,[c,u]),m=S.useCallback(w=>{w.stopPropagation(),!f&&n()},[n,f]),g=S.useCallback(w=>{w.stopPropagation(),!p&&o()},[o,p]),v=S.useCallback(w=>{w.stopPropagation(),i()},[i]);return C.jsx("div",{className:Ke.clsx(mn.RightAddon,"NoSelect"),children:t?C.jsxs(C.Fragment,{children:[c,"/",u,C.jsx(Yr,{isDisabled:f,onClick:m,children:C.jsx(en,{className:mn.RightAddonIcon,icon:"ArrowUp",mask:""})}),C.jsx(Yr,{isDisabled:p,onClick:g,children:C.jsx(en,{className:mn.RightAddonIcon,icon:"ArrowDown"})})]}):C.jsx(ho,{className:mn.RightAddonIcon,icon:"Search",style:{marginRight:4},tooltip:a["Search(Button)"],type:"Raw",onClick:v})})},BH=r=>{var tt;const{pk:e,selectDisabled:t,selectUnused:n,useItems:o,useExpand:i,useSelect:a,useSearch:c,showCheckbox:u,iconWidth:f=24,icons:p={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},indents:m,isSelectMulti:g=!1,noSearch:v=!1,isDraggable:w,noSyncSearchSelect:T=!1,actionRef:_,placeholder:A,searchPredicate:R=jH,isDisabled:O,isLoading:I,ContentRenderer:F=FH,TreeItemRenderer:B=MH,RightStickyAddon:z,TopRightAddon:j,TreeTopAddon:V,resources:ue,maxLength:P,autoFocus:U,TreeHeaderStyle:G,TreeHeaderClassName:Q,TreeItemStyle:re,TreeItemClassName:ie,OverflowPadding:se,insertBorder:ne,width:be,searchItemClassName:te,searchItemStyle:de,height:ge=40,treeItemTooltip:Ee,treeItemTooltipDelay:Be,treeItemTooltipDirection:oe,treeItemTooltipDistance:ve,...we}=r,Oe=S.useMemo(()=>({...wr.ATree,...ue}),[ue]),Se=S.useCallback((Re,it)=>!Re||!it?!1:e!==void 0?Array.isArray(e)?e.every(ht=>Re&&it&&Re[ht]!==void 0&&it[ht]!==void 0&&Za.isEqual(Re[ht],it[ht])):Re&&it&&Re[e]!==void 0&&it[e]!==void 0&&Za.isEqual(Re[e],it[e]):Za.isEqual(Re,it),[e]),Ae=S.useRef(null),[Ie,Ye]=vn(o,[]),Ne=S.useMemo(()=>Pc.map(Ie,Re=>Re),[Ie]),[We,Ve]=vn(i,[]),[Ce,Pe]=vn(a,[]),[He,Je]=vn(c,void 0),wt=S.useCallback(Re=>{if(O||!Ve||We.some(Bt=>Se(Bt,Re)))return;const it=[];let ht=Re;for(;ht;){const Bt=ht;We.find(Gt=>Se(Gt,Bt))||it.push(Bt),ht=Ne.find(Gt=>{var It;return(It=Gt.children)==null?void 0:It.some(pe=>Se(pe,Bt))})}Ve([...We,...it])},[We,O,Se,Ve,Ne]),Xe=S.useCallback(()=>{!Ve||O||Ve([...Ne])},[Ne,O,Ve]),Qe=S.useCallback(()=>{!Ve||O||Ve([])},[Ve,O]),dt=S.useCallback(Re=>{!Pe||O||n!=null&&n(Re)||(Pe([Re]),wt(Re))},[Pe,O,n,wt]),mt=S.useCallback(Re=>{if(!Je||O)return;if(!Re||v){Je(void 0),T||Pe==null||Pe([]);return}const it=Pc.filter(Ie,Bt=>R(Re,Bt));let ht;if(it.find(Bt=>(He==null?void 0:He.item)&&Se(Bt,He.item))?ht=He==null?void 0:He.item:it.length>0&&(ht=it[0]),Je({keyword:Re,items:it,item:ht}),ht&&wt(ht),Pe&&!T)if(g)Pe(it);else{const Bt=it.find(Gt=>ht&&Se(Gt,ht));Pe(Bt?[Bt]:[])}},[Ie,O,Se,R,Je,Pe,wt,T,v,g,He]),Fe=S.useRef(!1);S.useEffect(()=>{Fe.current=!0},[Ie]),S.useEffect(()=>{He&&Fe.current&&(mt(He.keyword),Fe.current=!1)},[mt,He]);const rt=S.useCallback(()=>{if(!He||!Je||O)return;let Re=He.items.findIndex(it=>He.item&&Se(it,He.item))-1;Re<0||(Je({...He,item:He.items[Re]}),wt(He.items[Re]),T||dt(He.items[Re]))},[He,wt,Je,O,dt,Se,T]),At=S.useCallback(()=>{if(!He||!Je||O)return;let Re=He.items.findIndex(it=>He.item&&Se(it,He.item))+1;Re>=He.items.length||(Je({...He,item:He.items[Re]}),wt(He.items[Re]),T||dt(He.items[Re]))},[He,wt,O,Je,dt,Se,T]),Nt=S.useCallback(()=>{if(!He||!Je||O)return;let Re=He.items.findIndex(ht=>He.item&&Se(ht,He.item));if(!T||n!=null&&n(He.items[Re])){At();return}if(Ce.some(ht=>He.item&&Se(ht,He.item))){let ht=Re+1;const Bt=He.items[ht];if(ht>=He.items.length)return;Je({...He,item:Bt}),dt(Bt)}else dt(He.items[Re])},[He,Je,O,Ce,T,At,Se,dt,n]),[kt,Dt]=S.useState(!1),Jt=S.useCallback(()=>Dt(!0),[]),or=S.useCallback(()=>Dt(!1),[]),ar=S.useMemo(()=>n?Pc.map(Ie,Re=>Re).filter(Re=>!n(Re)):t?Pc.map(Ie,Re=>Re).filter(Re=>!t(Re)):Pc.map(Ie,Re=>Re),[n,t,Ie]),tr=S.useMemo(()=>!u||!g?!1:Ce.length>0&&ar.length>Ce.length,[u,g,Ce,ar]),dr=S.useMemo(()=>!u||!g?!1:Ce.length>0&&ar.length===Ce.length,[u,g,Ce,ar]),ke=S.useCallback(()=>{if(!Pe||!g||O)return;const Re=Ce.filter(it=>!(n!=null&&n(it))&&!(t!=null&&t(it))&&ar.some(ht=>Se(ht,it)));if(Re.length>0)Pe(Ce.filter(it=>!Re.some(ht=>Se(it,ht))));else{const it=ar.filter(ht=>!(n!=null&&n(ht))&&!(t!=null&&t(ht))&&!Ce.some(Bt=>Se(Bt,ht)));it.length>0&&Pe([...Ce,...it])}},[g,O,n,t,Pe,Ce,ar,Se]),ae=S.useMemo(()=>{if(!u||!g||O)return"";const Re=Ce.filter(it=>!(n!=null&&n(it))&&!(t!=null&&t(it))&&ar.some(ht=>Se(ht,it)));if(Re.length>0)return Oe["deselect n"](Re.length);{const it=ar.filter(ht=>!(n!=null&&n(ht))&&!(t!=null&&t(ht))&&!Ce.some(Bt=>Se(Bt,ht)));return Oe["select n"](it.length)}},[n,t,O,Oe,u,g,ar,Ce,Se]),[st,vt]=S.useState(),Ht=Ej(ux(cy,{activationConstraint:{distance:8}}),ux(ay)),Pt=S.useRef(new Map),Et=S.useCallback(Re=>{if(!Pt.current.has(Re)){const it=`item_${Za.uniqueId()}`;Pt.current.set(Re,it)}return Pt.current.get(Re)},[]),jt=S.useCallback(Re=>Ne.find(it=>Et(it)===Re),[Ne,Et]),Ze=S.useCallback(Re=>!st||!st.children?!1:st.children.some(ht=>Se(ht,Re))?!0:st.children.some(ht=>ht.children?Pc.find(ht,Bt=>Se(Bt,Re))!==void 0:!1),[st,Se]),ct=S.useCallback(Re=>{if(!w||O)return;const it=jt(Re.active.id);it&&vt(it)},[w,O,jt]),ft=S.useCallback((Re,it,ht,Bt)=>{const Gt=Re.findIndex(pe=>Bt(pe,it)),It=Re.findIndex(pe=>Bt(pe,ht));return Gt!==-1&&It!==-1?yg(Re,Gt,It):Re.map(pe=>{if(!pe.children)return pe;const lt=pe.children.findIndex(fr=>Bt(fr,it)),bt=pe.children.findIndex(fr=>Bt(fr,ht));return lt!==-1&&bt!==-1?{...pe,children:yg(pe.children,lt,bt)}:pe.children?{...pe,children:ft(pe.children,it,ht,Bt)}:pe})},[]),Ct=S.useCallback(Re=>{!w||O||!st||!Re.over||jt(Re.over.id)},[w,O,st,jt]),Ot=S.useCallback(Re=>{if(!w||O||!Ye||!st||!Re.over)return;const it=jt(Re.over.id);if(!it||Se(st,it)){vt(void 0);return}const ht=ft(Ie,st,it,Se);Ye(ht),vt(void 0)},[w,O,Ye,st,jt,Se,Ie,ft]),at=S.useMemo(()=>Ie.map(Re=>Et(Re)),[Ie,Et]);S.useEffect(()=>{var Re;u||(Re=Ae.current)==null||Re.scrollTo(0,0)},[u,Ae]),S.useEffect(()=>{!g&&Ce.length>1&&(Pe==null||Pe([Ce[Ce.length-1]]))},[g,Pe,Ce]),S.useEffect(()=>{_&&(_.current={expandAll:Xe,collapseAll:Qe})},[_,Xe,Qe]),S.useEffect(()=>{if(!t||!Pe)return;const Re=Ce.filter(it=>!t(it));Ce.length!==Re.length&&Pe(Re)},[t,Ce,Pe]),S.useEffect(()=>{if(!n||!Pe)return;const Re=Ce.filter(it=>!n(it));Ce.length!==Re.length&&Pe(Re)},[n,Ce,Pe]),S.useEffect(()=>{Je&&Je(void 0)},[Je]);const[St,Ft]=S.useState(null),Qt=S.useCallback((Re,it)=>{O||(Re.stopPropagation(),Re.preventDefault(),Ft(it))},[O]),$t=S.useCallback((Re,it)=>{St===null||O||Se(it,St)&&(Re.stopPropagation(),Re.preventDefault(),Ft(null))},[St,O,Se]),vr=S.useRef(null),[Br,pr]=S.useState(!1),[he,Me]=S.useState((tt=vr.current)==null?void 0:tt.scrollHeight);return S.useEffect(()=>{if(We.length<0)return;const Re=Ae.current,it=vr.current,ht=Re.clientHeight<it.clientHeight;Me(ht?it.scrollHeight:Re.clientHeight),pr(ht)},[We]),C.jsxs(Yr,{...we,className:Ke.clsx(we.className,mn.AWrap),isDisabled:O,children:[(!v||j)&&C.jsxs(kn,{className:Ke.clsx(mn.ATreeHeader,Q),style:G,children:[!v&&C.jsx(NH,{autoFocus:U,initSearch:mt,isDisabled:O,isEqual:Se,isLoading:I,maxLength:P,resources:Oe,searchDown:At,searchEnter:Nt,searchResult:He,searchUp:rt}),!v&&j&&C.jsx(zn,{w:8}),j]}),(!v||j||u&&g||w)&&C.jsx(Iv,{isLoading:I&&Ie.length!==0}),(u&&g||w)&&C.jsxs("div",{className:Ke.clsx(mn.ATreeBodyHeader,"NoSelect"),children:[u&&C.jsx(af,{className:mn.CheckBox,isDisabled:O,isIndeterminate:tr,tooltip:ae,useCheck:[+dr,()=>ke()],onMouseOut:or,onMouseOver:Jt}),Oe.Items,C.jsx(Xu,{}),C.jsxs("div",{className:Ke.clsx(mn.ATreeBodyHeaderResources,"NoSelect"),style:{marginRight:Br?8:0},children:[C.jsx("span",{children:u&&Oe["*Click row for single select"]}),C.jsx("span",{children:w&&Oe["*Change order to row drag"]})]})]}),V&&C.jsx("div",{className:mn.TreeTopAddon,children:V}),C.jsx("div",{ref:Ae,className:Ke.clsx(we.className,mn.AContainer),children:C.jsxs("div",{className:mn.ATree,style:{minWidth:be||"fit-content",marginRight:se&&Br?8:0},children:[C.jsxs("div",{ref:vr,className:mn.ATreeBody,children:[Ie.length===0?I?C.jsx(zH,{text:Oe["Loading Contents..."]}):A:null,C.jsx(Iz,{collisionDetection:Mj,modifiers:[Fz,jz],sensors:Ht,measuring:{droppable:{strategy:vf.Always}},onDragEnd:Ot,onDragOver:Ct,onDragStart:ct,children:C.jsx(Wz,{items:at,strategy:qz,children:Ie.map(Re=>C.jsx(B,{containerRef:Ae,ContentRenderer:F,extIndents:m,getItemId:Et,height:ge,hoverdItem:St,icons:p,iconWidth:f,indents:[],isChildOfDragItem:Ze,isDraggable:w,isDragSrcItem:Se(Re,st),isEqual:Se,isParentCheckHovered:g&&kt,isParentDisabled:O,isSelectMulti:g,item:Re,itemId:Et(Re),resources:Oe,RightStickyAddon:z,searchItemClassName:te,searchItemStyle:de,selectDisabled:t,selectUnused:n,showCheckbox:u,TreeItemClassName:ie,TreeItemRenderer:B,TreeItemStyle:re,treeItemTooltip:Ee,treeItemTooltipDelay:Be,treeItemTooltipDirection:oe,treeItemTooltipDistance:ve,useExpand:[We,Ve],useSearch:[He,Je],useSelect:[Ce,Pe],onMouseLeave:$t,onMouseOver:Qt},Et(Re)))})})]}),ne&&C.jsxs(C.Fragment,{children:[C.jsx("div",{className:mn.CoverBorder}),C.jsx("div",{className:mn.InsertBorder,style:{"--InsertBorder_height":`${ge}px`,height:Br?he:"100%"}})]})]})})]})},FH=r=>{const{item:e}=r,t={};return lr.keys(e).forEach(n=>{n!=="children"&&(t[n]=e[n])}),JSON.stringify(t)};function jH(r,e){return lr.some(e,(t,n)=>{var o;return(o=lr.stringify(n))==null?void 0:o.toLowerCase().includes(r.toLowerCase())})}const zH=r=>{const{text:e}=r;return C.jsxs(kn,{className:Ke.clsx(mn.Loader,"NoSelect"),children:[C.jsx(en,{height:40,icon:"Spinner",style:{height:40},width:40}),C.jsx(_C,{text:e})]})};var $m,Cx;function Af(){return Cx||(Cx=1,$m=TypeError),$m}const HH={},$H=Object.freeze(Object.defineProperty({__proto__:null,default:HH},Symbol.toStringTag,{value:"Module"})),qH=yT($H);var qm,Sx;function jg(){if(Sx)return qm;Sx=1;var r=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,t=r&&e&&typeof e.get=="function"?e.get:null,n=r&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=o&&i&&typeof i.get=="function"?i.get:null,c=o&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,f=u?WeakMap.prototype.has:null,p=typeof WeakSet=="function"&&WeakSet.prototype,m=p?WeakSet.prototype.has:null,g=typeof WeakRef=="function"&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,T=Object.prototype.toString,_=Function.prototype.toString,A=String.prototype.match,R=String.prototype.slice,O=String.prototype.replace,I=String.prototype.toUpperCase,F=String.prototype.toLowerCase,B=RegExp.prototype.test,z=Array.prototype.concat,j=Array.prototype.join,V=Array.prototype.slice,ue=Math.floor,P=typeof BigInt=="function"?BigInt.prototype.valueOf:null,U=Object.getOwnPropertySymbols,G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Q=typeof Symbol=="function"&&typeof Symbol.iterator=="object",re=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Q||!0)?Symbol.toStringTag:null,ie=Object.prototype.propertyIsEnumerable,se=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ke){return ke.__proto__}:null);function ne(ke,ae){if(ke===1/0||ke===-1/0||ke!==ke||ke&&ke>-1e3&&ke<1e3||B.call(/e/,ae))return ae;var st=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ke=="number"){var vt=ke<0?-ue(-ke):ue(ke);if(vt!==ke){var Ht=String(vt),Pt=R.call(ae,Ht.length+1);return O.call(Ht,st,"$&_")+"."+O.call(O.call(Pt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(ae,st,"$&_")}var be=qH,te=be.custom,de=We(te)?te:null,ge={__proto__:null,double:'"',single:"'"},Ee={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};qm=function ke(ae,st,vt,Ht){var Pt=st||{};if(Pe(Pt,"quoteStyle")&&!Pe(ge,Pt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Pe(Pt,"maxStringLength")&&(typeof Pt.maxStringLength=="number"?Pt.maxStringLength<0&&Pt.maxStringLength!==1/0:Pt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Et=Pe(Pt,"customInspect")?Pt.customInspect:!0;if(typeof Et!="boolean"&&Et!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Pe(Pt,"indent")&&Pt.indent!==null&&Pt.indent!==" "&&!(parseInt(Pt.indent,10)===Pt.indent&&Pt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Pe(Pt,"numericSeparator")&&typeof Pt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var jt=Pt.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return At(ae,Pt);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var Ze=String(ae);return jt?ne(ae,Ze):Ze}if(typeof ae=="bigint"){var ct=String(ae)+"n";return jt?ne(ae,ct):ct}var ft=typeof Pt.depth>"u"?5:Pt.depth;if(typeof vt>"u"&&(vt=0),vt>=ft&&ft>0&&typeof ae=="object")return we(ae)?"[Array]":"[Object]";var Ct=ar(Pt,vt);if(typeof Ht>"u")Ht=[];else if(wt(Ht,ae)>=0)return"[Circular]";function Ot(It,pe,lt){if(pe&&(Ht=V.call(Ht),Ht.push(pe)),lt){var bt={depth:Pt.depth};return Pe(Pt,"quoteStyle")&&(bt.quoteStyle=Pt.quoteStyle),ke(It,bt,vt+1,Ht)}return ke(It,Pt,vt+1,Ht)}if(typeof ae=="function"&&!Se(ae)){var at=Je(ae),St=dr(ae,Ot);return"[Function"+(at?": "+at:" (anonymous)")+"]"+(St.length>0?" { "+j.call(St,", ")+" }":"")}if(We(ae)){var Ft=Q?O.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):G.call(ae);return typeof ae=="object"&&!Q?kt(Ft):Ft}if(rt(ae)){for(var Qt="<"+F.call(String(ae.nodeName)),$t=ae.attributes||[],vr=0;vr<$t.length;vr++)Qt+=" "+$t[vr].name+"="+Be(oe($t[vr].value),"double",Pt);return Qt+=">",ae.childNodes&&ae.childNodes.length&&(Qt+="..."),Qt+="</"+F.call(String(ae.nodeName))+">",Qt}if(we(ae)){if(ae.length===0)return"[]";var Br=dr(ae,Ot);return Ct&&!or(Br)?"["+tr(Br,Ct)+"]":"[ "+j.call(Br,", ")+" ]"}if(Ae(ae)){var pr=dr(ae,Ot);return!("cause"in Error.prototype)&&"cause"in ae&&!ie.call(ae,"cause")?"{ ["+String(ae)+"] "+j.call(z.call("[cause]: "+Ot(ae.cause),pr),", ")+" }":pr.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+j.call(pr,", ")+" }"}if(typeof ae=="object"&&Et){if(de&&typeof ae[de]=="function"&&be)return be(ae,{depth:ft-vt});if(Et!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(Xe(ae)){var he=[];return n&&n.call(ae,function(It,pe){he.push(Ot(pe,ae,!0)+" => "+Ot(It,ae))}),Jt("Map",t.call(ae),he,Ct)}if(mt(ae)){var Me=[];return c&&c.call(ae,function(It){Me.push(Ot(It,ae))}),Jt("Set",a.call(ae),Me,Ct)}if(Qe(ae))return Dt("WeakMap");if(Fe(ae))return Dt("WeakSet");if(dt(ae))return Dt("WeakRef");if(Ye(ae))return kt(Ot(Number(ae)));if(Ve(ae))return kt(Ot(P.call(ae)));if(Ne(ae))return kt(w.call(ae));if(Ie(ae))return kt(Ot(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof Di<"u"&&ae===Di)return"{ [object globalThis] }";if(!Oe(ae)&&!Se(ae)){var tt=dr(ae,Ot),Re=se?se(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,it=ae instanceof Object?"":"null prototype",ht=!Re&&re&&Object(ae)===ae&&re in ae?R.call(He(ae),8,-1):it?"Object":"",Bt=Re||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",Gt=Bt+(ht||it?"["+j.call(z.call([],ht||[],it||[]),": ")+"] ":"");return tt.length===0?Gt+"{}":Ct?Gt+"{"+tr(tt,Ct)+"}":Gt+"{ "+j.call(tt,", ")+" }"}return String(ae)};function Be(ke,ae,st){var vt=st.quoteStyle||ae,Ht=ge[vt];return Ht+ke+Ht}function oe(ke){return O.call(String(ke),/"/g,""")}function ve(ke){return!re||!(typeof ke=="object"&&(re in ke||typeof ke[re]<"u"))}function we(ke){return He(ke)==="[object Array]"&&ve(ke)}function Oe(ke){return He(ke)==="[object Date]"&&ve(ke)}function Se(ke){return He(ke)==="[object RegExp]"&&ve(ke)}function Ae(ke){return He(ke)==="[object Error]"&&ve(ke)}function Ie(ke){return He(ke)==="[object String]"&&ve(ke)}function Ye(ke){return He(ke)==="[object Number]"&&ve(ke)}function Ne(ke){return He(ke)==="[object Boolean]"&&ve(ke)}function We(ke){if(Q)return ke&&typeof ke=="object"&&ke instanceof Symbol;if(typeof ke=="symbol")return!0;if(!ke||typeof ke!="object"||!G)return!1;try{return G.call(ke),!0}catch{}return!1}function Ve(ke){if(!ke||typeof ke!="object"||!P)return!1;try{return P.call(ke),!0}catch{}return!1}var Ce=Object.prototype.hasOwnProperty||function(ke){return ke in this};function Pe(ke,ae){return Ce.call(ke,ae)}function He(ke){return T.call(ke)}function Je(ke){if(ke.name)return ke.name;var ae=A.call(_.call(ke),/^function\s*([\w$]+)/);return ae?ae[1]:null}function wt(ke,ae){if(ke.indexOf)return ke.indexOf(ae);for(var st=0,vt=ke.length;st<vt;st++)if(ke[st]===ae)return st;return-1}function Xe(ke){if(!t||!ke||typeof ke!="object")return!1;try{t.call(ke);try{a.call(ke)}catch{return!0}return ke instanceof Map}catch{}return!1}function Qe(ke){if(!f||!ke||typeof ke!="object")return!1;try{f.call(ke,f);try{m.call(ke,m)}catch{return!0}return ke instanceof WeakMap}catch{}return!1}function dt(ke){if(!v||!ke||typeof ke!="object")return!1;try{return v.call(ke),!0}catch{}return!1}function mt(ke){if(!a||!ke||typeof ke!="object")return!1;try{a.call(ke);try{t.call(ke)}catch{return!0}return ke instanceof Set}catch{}return!1}function Fe(ke){if(!m||!ke||typeof ke!="object")return!1;try{m.call(ke,m);try{f.call(ke,f)}catch{return!0}return ke instanceof WeakSet}catch{}return!1}function rt(ke){return!ke||typeof ke!="object"?!1:typeof HTMLElement<"u"&&ke instanceof HTMLElement?!0:typeof ke.nodeName=="string"&&typeof ke.getAttribute=="function"}function At(ke,ae){if(ke.length>ae.maxStringLength){var st=ke.length-ae.maxStringLength,vt="... "+st+" more character"+(st>1?"s":"");return At(R.call(ke,0,ae.maxStringLength),ae)+vt}var Ht=Ee[ae.quoteStyle||"single"];Ht.lastIndex=0;var Pt=O.call(O.call(ke,Ht,"\\$1"),/[\x00-\x1f]/g,Nt);return Be(Pt,"single",ae)}function Nt(ke){var ae=ke.charCodeAt(0),st={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return st?"\\"+st:"\\x"+(ae<16?"0":"")+I.call(ae.toString(16))}function kt(ke){return"Object("+ke+")"}function Dt(ke){return ke+" { ? }"}function Jt(ke,ae,st,vt){var Ht=vt?tr(st,vt):j.call(st,", ");return ke+" ("+ae+") {"+Ht+"}"}function or(ke){for(var ae=0;ae<ke.length;ae++)if(wt(ke[ae],`
|
365
365
|
`)>=0)return!1;return!0}function ar(ke,ae){var st;if(ke.indent===" ")st=" ";else if(typeof ke.indent=="number"&&ke.indent>0)st=j.call(Array(ke.indent+1)," ");else return null;return{base:st,prev:j.call(Array(ae+1),st)}}function tr(ke,ae){if(ke.length===0)return"";var st=`
|
366
366
|
`+ae.prev+ae.base;return st+j.call(ke,","+st)+`
|
367
367
|
`+ae.prev}function dr(ke,ae){var st=we(ke),vt=[];if(st){vt.length=ke.length;for(var Ht=0;Ht<ke.length;Ht++)vt[Ht]=Pe(ke,Ht)?ae(ke[Ht],ke):""}var Pt=typeof U=="function"?U(ke):[],Et;if(Q){Et={};for(var jt=0;jt<Pt.length;jt++)Et["$"+Pt[jt]]=Pt[jt]}for(var Ze in ke)Pe(ke,Ze)&&(st&&String(Number(Ze))===Ze&&Ze<ke.length||Q&&Et["$"+Ze]instanceof Symbol||(B.call(/[^\w$]/,Ze)?vt.push(ae(Ze,ke)+": "+ae(ke[Ze],ke)):vt.push(Ze+": "+ae(ke[Ze],ke))));if(typeof U=="function")for(var ct=0;ct<Pt.length;ct++)ie.call(ke,Pt[ct])&&vt.push("["+ae(Pt[ct])+"]: "+ae(ke[Pt[ct]],ke));return vt}return qm}var Um,_x;function UH(){if(_x)return Um;_x=1;var r=jg(),e=Af(),t=function(c,u,f){for(var p=c,m;(m=p.next)!=null;p=m)if(m.key===u)return p.next=m.next,f||(m.next=c.next,c.next=m),m},n=function(c,u){if(c){var f=t(c,u);return f&&f.value}},o=function(c,u,f){var p=t(c,u);p?p.value=f:c.next={key:u,next:c.next,value:f}},i=function(c,u){return c?!!t(c,u):!1},a=function(c,u){if(c)return t(c,u,!0)};return Um=function(){var u,f={assert:function(p){if(!f.has(p))throw new e("Side channel does not contain "+r(p))},delete:function(p){var m=u&&u.next,g=a(u,p);return g&&m&&m===g&&(u=void 0),!!g},get:function(p){return n(u,p)},has:function(p){return i(u,p)},set:function(p,m){u||(u={next:void 0}),o(u,p,m)}};return f},Um}var Wm,Ax;function kS(){return Ax||(Ax=1,Wm=Object),Wm}var Vm,Ex;function WH(){return Ex||(Ex=1,Vm=Error),Vm}var Gm,Tx;function VH(){return Tx||(Tx=1,Gm=EvalError),Gm}var Ym,Rx;function GH(){return Rx||(Rx=1,Ym=RangeError),Ym}var Zm,kx;function YH(){return kx||(kx=1,Zm=ReferenceError),Zm}var Km,Ix;function ZH(){return Ix||(Ix=1,Km=SyntaxError),Km}var Xm,Mx;function KH(){return Mx||(Mx=1,Xm=URIError),Xm}var Jm,Lx;function XH(){return Lx||(Lx=1,Jm=Math.abs),Jm}var Qm,Dx;function JH(){return Dx||(Dx=1,Qm=Math.floor),Qm}var e1,Ox;function QH(){return Ox||(Ox=1,e1=Math.max),e1}var t1,Nx;function e$(){return Nx||(Nx=1,t1=Math.min),t1}var r1,Px;function t$(){return Px||(Px=1,r1=Math.pow),r1}var n1,Bx;function r$(){return Bx||(Bx=1,n1=Math.round),n1}var o1,Fx;function n$(){return Fx||(Fx=1,o1=Number.isNaN||function(e){return e!==e}),o1}var i1,jx;function o$(){if(jx)return i1;jx=1;var r=n$();return i1=function(t){return r(t)||t===0?t:t<0?-1:1},i1}var s1,zx;function i$(){return zx||(zx=1,s1=Object.getOwnPropertyDescriptor),s1}var a1,Hx;function IS(){if(Hx)return a1;Hx=1;var r=i$();if(r)try{r([],"length")}catch{r=null}return a1=r,a1}var l1,$x;function s$(){if($x)return l1;$x=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return l1=r,l1}var c1,qx;function a$(){return qx||(qx=1,c1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,t);if(c.value!==o||c.enumerable!==!0)return!1}return!0}),c1}var u1,Ux;function l$(){if(Ux)return u1;Ux=1;var r=typeof Symbol<"u"&&Symbol,e=a$();return u1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},u1}var d1,Wx;function MS(){return Wx||(Wx=1,d1=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),d1}var f1,Vx;function LS(){if(Vx)return f1;Vx=1;var r=kS();return f1=r.getPrototypeOf||null,f1}var h1,Gx;function c$(){if(Gx)return h1;Gx=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",o=function(u,f){for(var p=[],m=0;m<u.length;m+=1)p[m]=u[m];for(var g=0;g<f.length;g+=1)p[g+u.length]=f[g];return p},i=function(u,f){for(var p=[],m=f,g=0;m<u.length;m+=1,g+=1)p[g]=u[m];return p},a=function(c,u){for(var f="",p=0;p<c.length;p+=1)f+=c[p],p+1<c.length&&(f+=u);return f};return h1=function(u){var f=this;if(typeof f!="function"||e.apply(f)!==n)throw new TypeError(r+f);for(var p=i(arguments,1),m,g=function(){if(this instanceof m){var A=f.apply(this,o(p,arguments));return Object(A)===A?A:this}return f.apply(u,o(p,arguments))},v=t(0,f.length-p.length),w=[],T=0;T<v;T++)w[T]="$"+T;if(m=Function("binder","return function ("+a(w,",")+"){ return binder.apply(this,arguments); }")(g),f.prototype){var _=function(){};_.prototype=f.prototype,m.prototype=new _,_.prototype=null}return m},h1}var p1,Yx;function zg(){if(Yx)return p1;Yx=1;var r=c$();return p1=Function.prototype.bind||r,p1}var g1,Zx;function uy(){return Zx||(Zx=1,g1=Function.prototype.call),g1}var m1,Kx;function DS(){return Kx||(Kx=1,m1=Function.prototype.apply),m1}var v1,Xx;function u$(){return Xx||(Xx=1,v1=typeof Reflect<"u"&&Reflect&&Reflect.apply),v1}var y1,Jx;function d$(){if(Jx)return y1;Jx=1;var r=zg(),e=DS(),t=uy(),n=u$();return y1=n||r.call(t,e),y1}var b1,Qx;function OS(){if(Qx)return b1;Qx=1;var r=zg(),e=Af(),t=uy(),n=d$();return b1=function(i){if(i.length<1||typeof i[0]!="function")throw new e("a function is required");return n(r,t,i)},b1}var x1,ew;function f$(){if(ew)return x1;ew=1;var r=OS(),e=IS(),t;try{t=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!t&&e&&e(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return x1=n&&typeof n.get=="function"?r([n.get]):typeof i=="function"?function(c){return i(c==null?c:o(c))}:!1,x1}var w1,tw;function h$(){if(tw)return w1;tw=1;var r=MS(),e=LS(),t=f$();return w1=r?function(o){return r(o)}:e?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return e(o)}:t?function(o){return t(o)}:null,w1}var C1,rw;function p$(){if(rw)return C1;rw=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=zg();return C1=t.call(r,e),C1}var S1,nw;function dy(){if(nw)return S1;nw=1;var r,e=kS(),t=WH(),n=VH(),o=GH(),i=YH(),a=ZH(),c=Af(),u=KH(),f=XH(),p=JH(),m=QH(),g=e$(),v=t$(),w=r$(),T=o$(),_=Function,A=function(Se){try{return _('"use strict"; return ('+Se+").constructor;")()}catch{}},R=IS(),O=s$(),I=function(){throw new c},F=R?function(){try{return arguments.callee,I}catch{try{return R(arguments,"callee").get}catch{return I}}}():I,B=l$()(),z=h$(),j=LS(),V=MS(),ue=DS(),P=uy(),U={},G=typeof Uint8Array>"u"||!z?r:z(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":B&&z?z([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":U,"%AsyncGenerator%":U,"%AsyncGeneratorFunction%":U,"%AsyncIteratorPrototype%":U,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":U,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":B&&z?z(z([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!B||!z?r:z(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":R,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!B||!z?r:z(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":B&&z?z(""[Symbol.iterator]()):r,"%Symbol%":B?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":F,"%TypedArray%":G,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":ue,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":j,"%Math.abs%":f,"%Math.floor%":p,"%Math.max%":m,"%Math.min%":g,"%Math.pow%":v,"%Math.round%":w,"%Math.sign%":T,"%Reflect.getPrototypeOf%":V};if(z)try{null.error}catch(Se){var re=z(z(Se));Q["%Error.prototype%"]=re}var ie=function Se(Ae){var Ie;if(Ae==="%AsyncFunction%")Ie=A("async function () {}");else if(Ae==="%GeneratorFunction%")Ie=A("function* () {}");else if(Ae==="%AsyncGeneratorFunction%")Ie=A("async function* () {}");else if(Ae==="%AsyncGenerator%"){var Ye=Se("%AsyncGeneratorFunction%");Ye&&(Ie=Ye.prototype)}else if(Ae==="%AsyncIteratorPrototype%"){var Ne=Se("%AsyncGenerator%");Ne&&z&&(Ie=z(Ne.prototype))}return Q[Ae]=Ie,Ie},se={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=zg(),be=p$(),te=ne.call(P,Array.prototype.concat),de=ne.call(ue,Array.prototype.splice),ge=ne.call(P,String.prototype.replace),Ee=ne.call(P,String.prototype.slice),Be=ne.call(P,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ve=/\\(\\)?/g,we=function(Ae){var Ie=Ee(Ae,0,1),Ye=Ee(Ae,-1);if(Ie==="%"&&Ye!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(Ye==="%"&&Ie!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Ne=[];return ge(Ae,oe,function(We,Ve,Ce,Pe){Ne[Ne.length]=Ce?ge(Pe,ve,"$1"):Ve||We}),Ne},Oe=function(Ae,Ie){var Ye=Ae,Ne;if(be(se,Ye)&&(Ne=se[Ye],Ye="%"+Ne[0]+"%"),be(Q,Ye)){var We=Q[Ye];if(We===U&&(We=ie(Ye)),typeof We>"u"&&!Ie)throw new c("intrinsic "+Ae+" exists, but is not available. Please file an issue!");return{alias:Ne,name:Ye,value:We}}throw new a("intrinsic "+Ae+" does not exist!")};return S1=function(Ae,Ie){if(typeof Ae!="string"||Ae.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ie!="boolean")throw new c('"allowMissing" argument must be a boolean');if(Be(/^%?[^%]*%?$/,Ae)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ye=we(Ae),Ne=Ye.length>0?Ye[0]:"",We=Oe("%"+Ne+"%",Ie),Ve=We.name,Ce=We.value,Pe=!1,He=We.alias;He&&(Ne=He[0],de(Ye,te([0,1],He)));for(var Je=1,wt=!0;Je<Ye.length;Je+=1){var Xe=Ye[Je],Qe=Ee(Xe,0,1),dt=Ee(Xe,-1);if((Qe==='"'||Qe==="'"||Qe==="`"||dt==='"'||dt==="'"||dt==="`")&&Qe!==dt)throw new a("property names with quotes must have matching quotes");if((Xe==="constructor"||!wt)&&(Pe=!0),Ne+="."+Xe,Ve="%"+Ne+"%",be(Q,Ve))Ce=Q[Ve];else if(Ce!=null){if(!(Xe in Ce)){if(!Ie)throw new c("base intrinsic for "+Ae+" exists, but the property is not available.");return}if(R&&Je+1>=Ye.length){var mt=R(Ce,Xe);wt=!!mt,wt&&"get"in mt&&!("originalValue"in mt.get)?Ce=mt.get:Ce=Ce[Xe]}else wt=be(Ce,Xe),Ce=Ce[Xe];wt&&!Pe&&(Q[Ve]=Ce)}}return Ce},S1}var _1,ow;function NS(){if(ow)return _1;ow=1;var r=dy(),e=OS(),t=e([r("%String.prototype.indexOf%")]);return _1=function(o,i){var a=r(o,!!i);return typeof a=="function"&&t(o,".prototype.")>-1?e([a]):a},_1}var A1,iw;function PS(){if(iw)return A1;iw=1;var r=dy(),e=NS(),t=jg(),n=Af(),o=r("%Map%",!0),i=e("Map.prototype.get",!0),a=e("Map.prototype.set",!0),c=e("Map.prototype.has",!0),u=e("Map.prototype.delete",!0),f=e("Map.prototype.size",!0);return A1=!!o&&function(){var m,g={assert:function(v){if(!g.has(v))throw new n("Side channel does not contain "+t(v))},delete:function(v){if(m){var w=u(m,v);return f(m)===0&&(m=void 0),w}return!1},get:function(v){if(m)return i(m,v)},has:function(v){return m?c(m,v):!1},set:function(v,w){m||(m=new o),a(m,v,w)}};return g},A1}var E1,sw;function g$(){if(sw)return E1;sw=1;var r=dy(),e=NS(),t=jg(),n=PS(),o=Af(),i=r("%WeakMap%",!0),a=e("WeakMap.prototype.get",!0),c=e("WeakMap.prototype.set",!0),u=e("WeakMap.prototype.has",!0),f=e("WeakMap.prototype.delete",!0);return E1=i?function(){var m,g,v={assert:function(w){if(!v.has(w))throw new o("Side channel does not contain "+t(w))},delete:function(w){if(i&&w&&(typeof w=="object"||typeof w=="function")){if(m)return f(m,w)}else if(n&&g)return g.delete(w);return!1},get:function(w){return i&&w&&(typeof w=="object"||typeof w=="function")&&m?a(m,w):g&&g.get(w)},has:function(w){return i&&w&&(typeof w=="object"||typeof w=="function")&&m?u(m,w):!!g&&g.has(w)},set:function(w,T){i&&w&&(typeof w=="object"||typeof w=="function")?(m||(m=new i),c(m,w,T)):n&&(g||(g=n()),g.set(w,T))}};return v}:n,E1}var T1,aw;function m$(){if(aw)return T1;aw=1;var r=Af(),e=jg(),t=UH(),n=PS(),o=g$(),i=o||n||t;return T1=function(){var c,u={assert:function(f){if(!u.has(f))throw new r("Side channel does not contain "+e(f))},delete:function(f){return!!c&&c.delete(f)},get:function(f){return c&&c.get(f)},has:function(f){return!!c&&c.has(f)},set:function(f,p){c||(c=i()),c.set(f,p)}};return u},T1}var R1,lw;function fy(){if(lw)return R1;lw=1;var r=String.prototype.replace,e=/%20/g,t={RFC1738:"RFC1738",RFC3986:"RFC3986"};return R1={default:t.RFC3986,formatters:{RFC1738:function(n){return r.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:t.RFC1738,RFC3986:t.RFC3986},R1}var k1,cw;function BS(){if(cw)return k1;cw=1;var r=fy(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n=function(){for(var _=[],A=0;A<256;++A)_.push("%"+((A<16?"0":"")+A.toString(16)).toUpperCase());return _}(),o=function(A){for(;A.length>1;){var R=A.pop(),O=R.obj[R.prop];if(t(O)){for(var I=[],F=0;F<O.length;++F)typeof O[F]<"u"&&I.push(O[F]);R.obj[R.prop]=I}}},i=function(A,R){for(var O=R&&R.plainObjects?{__proto__:null}:{},I=0;I<A.length;++I)typeof A[I]<"u"&&(O[I]=A[I]);return O},a=function _(A,R,O){if(!R)return A;if(typeof R!="object"&&typeof R!="function"){if(t(A))A.push(R);else if(A&&typeof A=="object")(O&&(O.plainObjects||O.allowPrototypes)||!e.call(Object.prototype,R))&&(A[R]=!0);else return[A,R];return A}if(!A||typeof A!="object")return[A].concat(R);var I=A;return t(A)&&!t(R)&&(I=i(A,O)),t(A)&&t(R)?(R.forEach(function(F,B){if(e.call(A,B)){var z=A[B];z&&typeof z=="object"&&F&&typeof F=="object"?A[B]=_(z,F,O):A.push(F)}else A[B]=F}),A):Object.keys(R).reduce(function(F,B){var z=R[B];return e.call(F,B)?F[B]=_(F[B],z,O):F[B]=z,F},I)},c=function(A,R){return Object.keys(R).reduce(function(O,I){return O[I]=R[I],O},A)},u=function(_,A,R){var O=_.replace(/\+/g," ");if(R==="iso-8859-1")return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},f=1024,p=function(A,R,O,I,F){if(A.length===0)return A;var B=A;if(typeof A=="symbol"?B=Symbol.prototype.toString.call(A):typeof A!="string"&&(B=String(A)),O==="iso-8859-1")return escape(B).replace(/%u[0-9a-f]{4}/gi,function(G){return"%26%23"+parseInt(G.slice(2),16)+"%3B"});for(var z="",j=0;j<B.length;j+=f){for(var V=B.length>=f?B.slice(j,j+f):B,ue=[],P=0;P<V.length;++P){var U=V.charCodeAt(P);if(U===45||U===46||U===95||U===126||U>=48&&U<=57||U>=65&&U<=90||U>=97&&U<=122||F===r.RFC1738&&(U===40||U===41)){ue[ue.length]=V.charAt(P);continue}if(U<128){ue[ue.length]=n[U];continue}if(U<2048){ue[ue.length]=n[192|U>>6]+n[128|U&63];continue}if(U<55296||U>=57344){ue[ue.length]=n[224|U>>12]+n[128|U>>6&63]+n[128|U&63];continue}P+=1,U=65536+((U&1023)<<10|V.charCodeAt(P)&1023),ue[ue.length]=n[240|U>>18]+n[128|U>>12&63]+n[128|U>>6&63]+n[128|U&63]}z+=ue.join("")}return z},m=function(A){for(var R=[{obj:{o:A},prop:"o"}],O=[],I=0;I<R.length;++I)for(var F=R[I],B=F.obj[F.prop],z=Object.keys(B),j=0;j<z.length;++j){var V=z[j],ue=B[V];typeof ue=="object"&&ue!==null&&O.indexOf(ue)===-1&&(R.push({obj:B,prop:V}),O.push(ue))}return o(R),A},g=function(A){return Object.prototype.toString.call(A)==="[object RegExp]"},v=function(A){return!A||typeof A!="object"?!1:!!(A.constructor&&A.constructor.isBuffer&&A.constructor.isBuffer(A))},w=function(A,R){return[].concat(A,R)},T=function(A,R){if(t(A)){for(var O=[],I=0;I<A.length;I+=1)O.push(R(A[I]));return O}return R(A)};return k1={arrayToObject:i,assign:c,combine:w,compact:m,decode:u,encode:p,isBuffer:v,isRegExp:g,maybeMap:T,merge:a},k1}var I1,uw;function v$(){if(uw)return I1;uw=1;var r=m$(),e=BS(),t=fy(),n=Object.prototype.hasOwnProperty,o={brackets:function(_){return _+"[]"},comma:"comma",indices:function(_,A){return _+"["+A+"]"},repeat:function(_){return _}},i=Array.isArray,a=Array.prototype.push,c=function(T,_){a.apply(T,i(_)?_:[_])},u=Date.prototype.toISOString,f=t.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,filter:void 0,format:f,formatter:t.formatters[f],indices:!1,serializeDate:function(_){return u.call(_)},skipNulls:!1,strictNullHandling:!1},m=function(_){return typeof _=="string"||typeof _=="number"||typeof _=="boolean"||typeof _=="symbol"||typeof _=="bigint"},g={},v=function T(_,A,R,O,I,F,B,z,j,V,ue,P,U,G,Q,re,ie,se){for(var ne=_,be=se,te=0,de=!1;(be=be.get(g))!==void 0&&!de;){var ge=be.get(_);if(te+=1,typeof ge<"u"){if(ge===te)throw new RangeError("Cyclic object value");de=!0}typeof be.get(g)>"u"&&(te=0)}if(typeof V=="function"?ne=V(A,ne):ne instanceof Date?ne=U(ne):R==="comma"&&i(ne)&&(ne=e.maybeMap(ne,function(Ve){return Ve instanceof Date?U(Ve):Ve})),ne===null){if(F)return j&&!re?j(A,p.encoder,ie,"key",G):A;ne=""}if(m(ne)||e.isBuffer(ne)){if(j){var Ee=re?A:j(A,p.encoder,ie,"key",G);return[Q(Ee)+"="+Q(j(ne,p.encoder,ie,"value",G))]}return[Q(A)+"="+Q(String(ne))]}var Be=[];if(typeof ne>"u")return Be;var oe;if(R==="comma"&&i(ne))re&&j&&(ne=e.maybeMap(ne,j)),oe=[{value:ne.length>0?ne.join(",")||null:void 0}];else if(i(V))oe=V;else{var ve=Object.keys(ne);oe=ue?ve.sort(ue):ve}var we=z?String(A).replace(/\./g,"%2E"):String(A),Oe=O&&i(ne)&&ne.length===1?we+"[]":we;if(I&&i(ne)&&ne.length===0)return Oe+"[]";for(var Se=0;Se<oe.length;++Se){var Ae=oe[Se],Ie=typeof Ae=="object"&&Ae&&typeof Ae.value<"u"?Ae.value:ne[Ae];if(!(B&&Ie===null)){var Ye=P&&z?String(Ae).replace(/\./g,"%2E"):String(Ae),Ne=i(ne)?typeof R=="function"?R(Oe,Ye):Oe:Oe+(P?"."+Ye:"["+Ye+"]");se.set(_,te);var We=r();We.set(g,se),c(Be,T(Ie,Ne,R,O,I,F,B,z,R==="comma"&&re&&i(ne)?null:j,V,ue,P,U,G,Q,re,ie,We))}}return Be},w=function(_){if(!_)return p;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.encodeDotInKeys<"u"&&typeof _.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(_.encoder!==null&&typeof _.encoder<"u"&&typeof _.encoder!="function")throw new TypeError("Encoder has to be a function.");var A=_.charset||p.charset;if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var R=t.default;if(typeof _.format<"u"){if(!n.call(t.formatters,_.format))throw new TypeError("Unknown format option provided.");R=_.format}var O=t.formatters[R],I=p.filter;(typeof _.filter=="function"||i(_.filter))&&(I=_.filter);var F;if(_.arrayFormat in o?F=_.arrayFormat:"indices"in _?F=_.indices?"indices":"repeat":F=p.arrayFormat,"commaRoundTrip"in _&&typeof _.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var B=typeof _.allowDots>"u"?_.encodeDotInKeys===!0?!0:p.allowDots:!!_.allowDots;return{addQueryPrefix:typeof _.addQueryPrefix=="boolean"?_.addQueryPrefix:p.addQueryPrefix,allowDots:B,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:F,charset:A,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!_.commaRoundTrip,delimiter:typeof _.delimiter>"u"?p.delimiter:_.delimiter,encode:typeof _.encode=="boolean"?_.encode:p.encode,encodeDotInKeys:typeof _.encodeDotInKeys=="boolean"?_.encodeDotInKeys:p.encodeDotInKeys,encoder:typeof _.encoder=="function"?_.encoder:p.encoder,encodeValuesOnly:typeof _.encodeValuesOnly=="boolean"?_.encodeValuesOnly:p.encodeValuesOnly,filter:I,format:R,formatter:O,serializeDate:typeof _.serializeDate=="function"?_.serializeDate:p.serializeDate,skipNulls:typeof _.skipNulls=="boolean"?_.skipNulls:p.skipNulls,sort:typeof _.sort=="function"?_.sort:null,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:p.strictNullHandling}};return I1=function(T,_){var A=T,R=w(_),O,I;typeof R.filter=="function"?(I=R.filter,A=I("",A)):i(R.filter)&&(I=R.filter,O=I);var F=[];if(typeof A!="object"||A===null)return"";var B=o[R.arrayFormat],z=B==="comma"&&R.commaRoundTrip;O||(O=Object.keys(A)),R.sort&&O.sort(R.sort);for(var j=r(),V=0;V<O.length;++V){var ue=O[V],P=A[ue];R.skipNulls&&P===null||c(F,v(P,ue,B,z,R.allowEmptyArrays,R.strictNullHandling,R.skipNulls,R.encodeDotInKeys,R.encode?R.encoder:null,R.filter,R.sort,R.allowDots,R.serializeDate,R.format,R.formatter,R.encodeValuesOnly,R.charset,j))}var U=F.join(R.delimiter),G=R.addQueryPrefix===!0?"?":"";return R.charsetSentinel&&(R.charset==="iso-8859-1"?G+="utf8=%26%2310003%3B&":G+="utf8=%E2%9C%93&"),U.length>0?G+U:""},I1}var M1,dw;function y$(){if(dw)return M1;dw=1;var r=BS(),e=Object.prototype.hasOwnProperty,t=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(g){return g.replace(/&#(\d+);/g,function(v,w){return String.fromCharCode(parseInt(w,10))})},i=function(g,v,w){if(g&&typeof g=="string"&&v.comma&&g.indexOf(",")>-1)return g.split(",");if(v.throwOnLimitExceeded&&w>=v.arrayLimit)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");return g},a="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",u=function(v,w){var T={__proto__:null},_=w.ignoreQueryPrefix?v.replace(/^\?/,""):v;_=_.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var A=w.parameterLimit===1/0?void 0:w.parameterLimit,R=_.split(w.delimiter,w.throwOnLimitExceeded?A+1:A);if(w.throwOnLimitExceeded&&R.length>A)throw new RangeError("Parameter limit exceeded. Only "+A+" parameter"+(A===1?"":"s")+" allowed.");var O=-1,I,F=w.charset;if(w.charsetSentinel)for(I=0;I<R.length;++I)R[I].indexOf("utf8=")===0&&(R[I]===c?F="utf-8":R[I]===a&&(F="iso-8859-1"),O=I,I=R.length);for(I=0;I<R.length;++I)if(I!==O){var B=R[I],z=B.indexOf("]="),j=z===-1?B.indexOf("="):z+1,V,ue;j===-1?(V=w.decoder(B,n.decoder,F,"key"),ue=w.strictNullHandling?null:""):(V=w.decoder(B.slice(0,j),n.decoder,F,"key"),ue=r.maybeMap(i(B.slice(j+1),w,t(T[V])?T[V].length:0),function(U){return w.decoder(U,n.decoder,F,"value")})),ue&&w.interpretNumericEntities&&F==="iso-8859-1"&&(ue=o(String(ue))),B.indexOf("[]=")>-1&&(ue=t(ue)?[ue]:ue);var P=e.call(T,V);P&&w.duplicates==="combine"?T[V]=r.combine(T[V],ue):(!P||w.duplicates==="last")&&(T[V]=ue)}return T},f=function(g,v,w,T){var _=0;if(g.length>0&&g[g.length-1]==="[]"){var A=g.slice(0,-1).join("");_=Array.isArray(v)&&v[A]?v[A].length:0}for(var R=T?v:i(v,w,_),O=g.length-1;O>=0;--O){var I,F=g[O];if(F==="[]"&&w.parseArrays)I=w.allowEmptyArrays&&(R===""||w.strictNullHandling&&R===null)?[]:r.combine([],R);else{I=w.plainObjects?{__proto__:null}:{};var B=F.charAt(0)==="["&&F.charAt(F.length-1)==="]"?F.slice(1,-1):F,z=w.decodeDotInKeys?B.replace(/%2E/g,"."):B,j=parseInt(z,10);!w.parseArrays&&z===""?I={0:R}:!isNaN(j)&&F!==z&&String(j)===z&&j>=0&&w.parseArrays&&j<=w.arrayLimit?(I=[],I[j]=R):z!=="__proto__"&&(I[z]=R)}R=I}return R},p=function(v,w,T,_){if(v){var A=T.allowDots?v.replace(/\.([^.[]+)/g,"[$1]"):v,R=/(\[[^[\]]*])/,O=/(\[[^[\]]*])/g,I=T.depth>0&&R.exec(A),F=I?A.slice(0,I.index):A,B=[];if(F){if(!T.plainObjects&&e.call(Object.prototype,F)&&!T.allowPrototypes)return;B.push(F)}for(var z=0;T.depth>0&&(I=O.exec(A))!==null&&z<T.depth;){if(z+=1,!T.plainObjects&&e.call(Object.prototype,I[1].slice(1,-1))&&!T.allowPrototypes)return;B.push(I[1])}if(I){if(T.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+T.depth+" and strictDepth is true");B.push("["+A.slice(I.index)+"]")}return f(B,w,T,_)}},m=function(v){if(!v)return n;if(typeof v.allowEmptyArrays<"u"&&typeof v.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof v.decodeDotInKeys<"u"&&typeof v.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(v.decoder!==null&&typeof v.decoder<"u"&&typeof v.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof v.charset<"u"&&v.charset!=="utf-8"&&v.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof v.throwOnLimitExceeded<"u"&&typeof v.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var w=typeof v.charset>"u"?n.charset:v.charset,T=typeof v.duplicates>"u"?n.duplicates:v.duplicates;if(T!=="combine"&&T!=="first"&&T!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var _=typeof v.allowDots>"u"?v.decodeDotInKeys===!0?!0:n.allowDots:!!v.allowDots;return{allowDots:_,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof v.allowPrototypes=="boolean"?v.allowPrototypes:n.allowPrototypes,allowSparse:typeof v.allowSparse=="boolean"?v.allowSparse:n.allowSparse,arrayLimit:typeof v.arrayLimit=="number"?v.arrayLimit:n.arrayLimit,charset:w,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:n.charsetSentinel,comma:typeof v.comma=="boolean"?v.comma:n.comma,decodeDotInKeys:typeof v.decodeDotInKeys=="boolean"?v.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof v.decoder=="function"?v.decoder:n.decoder,delimiter:typeof v.delimiter=="string"||r.isRegExp(v.delimiter)?v.delimiter:n.delimiter,depth:typeof v.depth=="number"||v.depth===!1?+v.depth:n.depth,duplicates:T,ignoreQueryPrefix:v.ignoreQueryPrefix===!0,interpretNumericEntities:typeof v.interpretNumericEntities=="boolean"?v.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof v.parameterLimit=="number"?v.parameterLimit:n.parameterLimit,parseArrays:v.parseArrays!==!1,plainObjects:typeof v.plainObjects=="boolean"?v.plainObjects:n.plainObjects,strictDepth:typeof v.strictDepth=="boolean"?!!v.strictDepth:n.strictDepth,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:typeof v.throwOnLimitExceeded=="boolean"?v.throwOnLimitExceeded:!1}};return M1=function(g,v){var w=m(v);if(g===""||g===null||typeof g>"u")return w.plainObjects?{__proto__:null}:{};for(var T=typeof g=="string"?u(g,w):g,_=w.plainObjects?{__proto__:null}:{},A=Object.keys(T),R=0;R<A.length;++R){var O=A[R],I=p(O,T[O],w,typeof g=="string");_=r.merge(_,I,w)}return w.allowSparse===!0?_:r.compact(_)},M1}var L1,fw;function b$(){if(fw)return L1;fw=1;var r=v$(),e=y$(),t=fy();return L1={formats:t,parse:e,stringify:r},L1}var x$=b$();const w$=yf(x$),yv={StoredContexts:{},defaultHandler:()=>{}},FS={Init:()=>{},Create:r=>{const e=r.method+r.url;return yv.StoredContexts[e]=r,C$(r)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:r=>{yv.defaultHandler=r}};function C$(r){const e=`[${r.method}] ${r.url}`;return{Call:async n=>{let{url:o,method:i,stream:a,paramType:c}=r;const{po:u,onStream:f,onStreamEnd:p,noDefaultHandle:m=[]}=n??{};(c==="query"||i==="GET")&&u!==void 0&&(o+="?"+w$.stringify(u,{arrayFormat:"comma"}));const g={method:i,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(c==="form"){const T=new FormData;if(u!==void 0)for(const _ in u){const A=u[_];T.append(_,A)}g.body=T}else(c==="body"||c===void 0&&r.method!=="GET")&&(g.body=JSON.stringify(u),g.headers["Content-Type"]="application/json;charset=UTF-8");let v={errorCode:0,message:""};const w=Date.now();o=FS.FetchBaseUrl()+o;try{let T=await fetch(o,g);if(T.ok===!1)return v.errorCode=T.status,v.message=T.statusText,v;{const _=new TextDecoder("utf-8");if(a){if(T.body){let A=T.body.getReader(),R="";for(;;){const O=await A.read();if(O.done)break;const I=_.decode(O.value).trim();R+=I;let F=null;try{const B=I.split("\0");let z=B[B.length-1];for(let j=B.length-2;j>=0;j--)if(B[j].trim().length!==0){z=B[j];break}F=await JSON.parse(z)}catch{try{const z=R.split("\0");let j=z[z.length-1];for(let V=z.length-2;V>=0;V--)if(z[V].trim().length!==0){j=z[V];break}F=await JSON.parse(j)}catch{}}if(F!=null&&(Object.keys(F).includes("err_code")?v.errorCode=F.err_code:(v.errorCode=0,v.data=F,R="",O.done?p==null||p(v.data):f==null||f(v.data))),O.done)break}}}else if(T.body){const R=await T.body.getReader().read(),O=_.decode(R.value);if(O==="null")return v;{let I=await JSON.parse(O.replaceAll("\0",""));Object.keys(I).includes("err_code")?(v.errorCode=I.err_code,v.message=I.err_msg):v.data=I}}}}catch(T){console.warn(T),v.errorCode=-1,v.message=T.message}return console.debug(`${e} ${Date.now()-w}ms`),m!==!0&&await yv.defaultHandler(v,m),v}}}exports.ABase=Yr;exports.ABaseStyleKeys=Nw;exports.AButton=Go;exports.AButtonStyleKeys=Bw;exports.AButtonTypes=Z4;exports.ACheckBox=af;exports.ACheckBoxStyleKeys=Hw;exports.AChip=_v;exports.AChipKeys=aC;exports.AChips=lR;exports.AClock=CR;exports.AColFrame=dC;exports.ADatePicker=Rv;exports.ADatePickerStyleKeys=Jw;exports.ADatePickerTypes=X6;exports.ADateRangePicker=Ev;exports.ADateRangePickerStyleKeys=Qw;exports.ADialog=sk;exports.ADialogStyleKeys=$w;exports.ADialogTypes=ik;exports.ADivideFrame=hC;exports.AEditor=uj;exports.AEditorStyleKeys=zw;exports.AFileBox=vk;exports.AFileBoxStyleKeys=Yw;exports.AFileUploader=qk;exports.AFileUploaderStyleKeys=Zw;exports.AFloatMenu=mC;exports.AFloatMenuKeys=nC;exports.AFrameStyleKeys=rC;exports.AGrow=Xu;exports.AIcon=en;exports.AIconButton=ho;exports.AIconButtonStyleKeys=eC;exports.AIconButtonTypes=K4;exports.AIconHOC=t4;exports.AIcons=wv;exports.AInput=Gc;exports.AInputStyleKeys=Fw;exports.AInputTypes=PR;exports.AListView=eI;exports.AListViewStyleKeys=Kw;exports.ALoadingBorder=Iv;exports.ALoadingBorderKeys=oC;exports.AMultiSelect=TI;exports.AMultiSelectStyleKeys=Uw;exports.ANumInput=Zk;exports.AOverflowFrame=tl;exports.AProgressBar=Cw;exports.ARadioSelect=fI;exports.ARadioSelectKeys=sC;exports.ARowFrame=kn;exports.ASelect=zl;exports.ASelectStyleKeys=qw;exports.ASelectTypes=JR;exports.ASpace=zn;exports.AStepper=$I;exports.AStepperStyleKeys=Xw;exports.ASwitch=Rw;exports.ASwitchFrame=fC;exports.ASwitchStyleKeys=Vw;exports.ATab=bC;exports.ATabStyleKeys=Gw;exports.ATabTypes=t8;exports.ATable=c9;exports.ATableStyleKeys=tC;exports.AText=_C;exports.ATextArea=x9;exports.ATextAreaStyleKeys=jw;exports.ATextAreaTypes=b9;exports.AThemeButton=C5;exports.AThemes=uh;exports.ATooltip=Tw;exports.ATooltipStyleKeys=Pw;exports.ATree=BH;exports.ATreeStyleKeys=Ww;exports.AWrap=Vc;exports.AWrapKeys=iC;exports.AWrapPropsExtract=Ku;exports.AWrapTypes=r5;exports.ApiContext=FS;exports.BodyStyleKeys=Ow;exports.CreateADC=fk;exports.DefaultOptionRenderer=yC;exports.EDir12=bf;exports.EDir4=Io;exports.FileSizeTrans=qu;exports.Icons=xg;exports.IsCursorPointer=yw;exports.IsFixedShape=vw;exports.IsInteractive=bw;exports.NoSelect=gw;exports.NoTransition=mw;exports.Resources=wr;exports.SetResources=m4;exports.alphanumericRegex=uR;exports.bound=ch;exports.cbF=Er;exports.changeSemanticMode=Sv;exports.componentStyleKeys=p5;exports.createEvent=Bu;exports.dateF=er;exports.dbF=sa;exports.defaultPredicate=wC;exports.dlgF=hk;exports.emailIdRegex=fR;exports.emailRegex=dR;exports.fileF=Fu;exports.getFileKey=gC;exports.getMonthsOptions=Sh;exports.getYearsOptions=Tv;exports.hangulRegex=pR;exports.hexRegex=hR;exports.key=pw;exports.noHanguljamoRegex=mR;exports.noSpaceRegex=gR;exports.numF=vC;exports.objF=lr;exports.paletteKeys=kw;exports.paletteModes=wg;exports.passwordRegex=yR;exports.refinedDesignTokens=Lo;exports.sF=Ke;exports.semanticKeys=Lw;exports.semanticModes=sf;exports.setDir12Style=Cv;exports.setDir12StyleElem=Aw;exports.specialCharRegex=vR;exports.strF=Av;exports.tableF=Bl;exports.textMeasurement=$u;exports.treeF=Pc;exports.useADialogCore=uk;exports.useADialogCores=ck;exports.useDB=cC;exports.useEvent=SC;exports.useInit=xC;exports.useLayoutDB=uC;exports.useOffset=_w;exports.useValues=vn;exports.uuidRegex=bR;
|