@worldresources/wri-design-systems 2.211.1 → 2.211.3

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.esm.js CHANGED
@@ -375,7 +375,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
375
375
  color: ${Ie("neutral",500)};
376
376
  }
377
377
  }
378
- `,og=({icon:e,disabled:t,...r})=>ve(n,{css:rg,"aria-label":r["aria-label"],disabled:t,...r,children:e}),ig=e=>X(i,{...e,children:Y("svg",{viewBox:"0 0 16 17",children:[Y("g",{clipPath:"url(#clip0_1216_84)",children:[X("path",{d:"M9.78791 8.03125H16V2.21875C16 1.27103 15.229 0.5 14.2812 0.5H7.1875V16.5H14.2812C15.229 16.5 16 15.729 16 14.7812V8.96875H9.78791L10.5502 9.73106C10.7333 9.91413 10.7333 10.2109 10.5502 10.394C10.3672 10.577 10.0704 10.577 9.88731 10.394L8.32481 8.83147C8.14175 8.64841 8.14175 8.35162 8.32481 8.16856L9.88731 6.60606C10.0704 6.423 10.3672 6.423 10.5502 6.60606C10.7333 6.78912 10.7333 7.08591 10.5502 7.26897L9.78791 8.03125Z",fill:"#4F4E4E"}),X("path",{d:"M0 2.21875V14.7812C0 15.729 0.771031 16.5 1.71875 16.5H6.25V0.5H1.71875C0.771031 0.5 0 1.27103 0 2.21875ZM4.375 7.0625H1.875C1.61612 7.0625 1.40625 6.85262 1.40625 6.59375C1.40625 6.33488 1.61612 6.125 1.875 6.125H4.375C4.63387 6.125 4.84375 6.33488 4.84375 6.59375C4.84375 6.85262 4.63387 7.0625 4.375 7.0625ZM4.375 5.1875H1.875C1.61612 5.1875 1.40625 4.97762 1.40625 4.71875C1.40625 4.45988 1.61612 4.25 1.875 4.25H4.375C4.63387 4.25 4.84375 4.45988 4.84375 4.71875C4.84375 4.97762 4.63387 5.1875 4.375 5.1875ZM4.375 2.375C4.63387 2.375 4.84375 2.58488 4.84375 2.84375C4.84375 3.10262 4.63387 3.3125 4.375 3.3125H1.875C1.61612 3.3125 1.40625 3.10262 1.40625 2.84375C1.40625 2.58488 1.61612 2.375 1.875 2.375H4.375Z",fill:"#4F4E4E"})]}),X("defs",{children:X("clipPath",{id:"clip0_1216_84",children:X("rect",{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"})})})]})}),sg=e=>X(i,{...e,children:Y("svg",{viewBox:"0 0 16 17",children:[X("path",{d:"M0 2.21875V14.7812C0 15.729 0.771031 16.5 1.71875 16.5H6.25V0.5H1.71875C0.771031 0.5 0 1.27103 0 2.21875ZM4.375 7.0625H1.875C1.61612 7.0625 1.40625 6.85262 1.40625 6.59375C1.40625 6.33488 1.61612 6.125 1.875 6.125H4.375C4.63387 6.125 4.84375 6.33488 4.84375 6.59375C4.84375 6.85262 4.63387 7.0625 4.375 7.0625ZM4.375 5.1875H1.875C1.61612 5.1875 1.40625 4.97762 1.40625 4.71875C1.40625 4.45988 1.61612 4.25 1.875 4.25H4.375C4.63387 4.25 4.84375 4.45988 4.84375 4.71875C4.84375 4.97762 4.63387 5.1875 4.375 5.1875ZM4.375 2.375C4.63387 2.375 4.84375 2.58488 4.84375 2.84375C4.84375 3.10262 4.63387 3.3125 4.375 3.3125H1.875C1.61612 3.3125 1.40625 3.10262 1.40625 2.84375C1.40625 2.58488 1.61612 2.375 1.875 2.375H4.375Z",fill:"#4F4E4E"}),X("path",{d:"M14.2812 0.5H7.1875V8.03125H12.4621L11.6998 7.26897C11.5168 7.08591 11.5168 6.78912 11.6998 6.60606C11.8829 6.423 12.1797 6.423 12.3627 6.60606L13.9252 8.16856C14.1083 8.35162 14.1083 8.64841 13.9252 8.83147L12.3627 10.394C12.1797 10.577 11.8829 10.577 11.6998 10.394C11.5168 10.2109 11.5168 9.91413 11.6998 9.73106L12.4621 8.96875H7.1875V16.5H14.2812C15.229 16.5 16 15.729 16 14.7812V2.21875C16 1.27103 15.229 0.5 14.2812 0.5Z",fill:"#4F4E4E"})]})}),ag=e=>X(i,{...e,children:X("svg",{viewBox:"0 0 12 12",height:"12px",width:"12px",children:X("path",{d:"M4.19632 10.4277L0 6.23139L1.04908 5.18231L4.19632 8.32955L10.9509 1.57495L12 2.62403L4.19632 10.4277Z",fill:"currentColor"})})}),lg=e=>X(i,{...e,children:X("svg",{viewBox:"0 0 12 12",height:"12px",width:"12px",children:X("path",{d:"M0 6.75V5.25H12V6.75H0Z",fill:"auto"})})}),cg=e=>X(i,{...e,children:X("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M4.5 7.49997H5.5V4.49997H4.5V7.49997ZM5 3.49997C5.14167 3.49997 5.26042 3.45205 5.35625 3.35622C5.45208 3.26039 5.5 3.14164 5.5 2.99997C5.5 2.8583 5.45208 2.73955 5.35625 2.64372C5.26042 2.54789 5.14167 2.49997 5 2.49997C4.85833 2.49997 4.73958 2.54789 4.64375 2.64372C4.54792 2.73955 4.5 2.8583 4.5 2.99997C4.5 3.14164 4.54792 3.26039 4.64375 3.35622C4.73958 3.45205 4.85833 3.49997 5 3.49997ZM5 9.99997C4.30833 9.99997 3.65833 9.86872 3.05 9.60622C2.44167 9.34372 1.9125 8.98747 1.4625 8.53747C1.0125 8.08747 0.65625 7.5583 0.39375 6.94997C0.13125 6.34164 0 5.69164 0 4.99997C0 4.3083 0.13125 3.6583 0.39375 3.04997C0.65625 2.44164 1.0125 1.91247 1.4625 1.46247C1.9125 1.01247 2.44167 0.656219 3.05 0.393719C3.65833 0.131219 4.30833 -3.05176e-05 5 -3.05176e-05C5.69167 -3.05176e-05 6.34167 0.131219 6.95 0.393719C7.55833 0.656219 8.0875 1.01247 8.5375 1.46247C8.9875 1.91247 9.34375 2.44164 9.60625 3.04997C9.86875 3.6583 10 4.3083 10 4.99997C10 5.69164 9.86875 6.34164 9.60625 6.94997C9.34375 7.5583 8.9875 8.08747 8.5375 8.53747C8.0875 8.98747 7.55833 9.34372 6.95 9.60622C6.34167 9.86872 5.69167 9.99997 5 9.99997Z",fill:"currentColor"})})}),dg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8 13.3667L0 5.36667L1.86667 3.5L8 9.63333L14.1333 3.5L16 5.36667L8 13.3667Z",fill:"currentColor"})})}),ug=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.37 0L13.37 8L5.37 16L3.50333 14.1333L9.63667 8L3.50333 1.86667L5.37 0Z",fill:"currentColor"})})}),hg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10.63 16L2.63 8L10.63 0L12.4967 1.86667L6.36333 8L12.4967 14.1333L10.63 16Z",fill:"currentColor"})})}),pg=e=>X(i,{...e,children:X("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1 10L0 9L4 5L0 1L1 0L5 4L9 0L10 1L6 5L10 9L9 10L5 6L1 10Z",fill:"currentColor"})})}),fg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8 16C7.45 16 6.97917 15.8042 6.5875 15.4125C6.19583 15.0208 6 14.55 6 14C6 13.45 6.19583 12.9792 6.5875 12.5875C6.97917 12.1958 7.45 12 8 12C8.55 12 9.02083 12.1958 9.4125 12.5875C9.80417 12.9792 10 13.45 10 14C10 14.55 9.80417 15.0208 9.4125 15.4125C9.02083 15.8042 8.55 16 8 16ZM8 10C7.45 10 6.97917 9.80417 6.5875 9.4125C6.19583 9.02083 6 8.55 6 8C6 7.45 6.19583 6.97917 6.5875 6.5875C6.97917 6.19583 7.45 6 8 6C8.55 6 9.02083 6.19583 9.4125 6.5875C9.80417 6.97917 10 7.45 10 8C10 8.55 9.80417 9.02083 9.4125 9.4125C9.02083 9.80417 8.55 10 8 10ZM8 4C7.45 4 6.97917 3.80417 6.5875 3.4125C6.19583 3.02083 6 2.55 6 2C6 1.45 6.19583 0.979167 6.5875 0.5875C6.97917 0.195833 7.45 0 8 0C8.55 0 9.02083 0.195833 9.4125 0.5875C9.80417 0.979167 10 1.45 10 2C10 2.55 9.80417 3.02083 9.4125 3.4125C9.02083 3.80417 8.55 4 8 4Z",fill:"currentColor"})})}),mg=e=>X(i,{...e,children:X("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5 6.95455C5.56818 6.95455 6.05114 6.75568 6.44886 6.35795C6.84659 5.96023 7.04545 5.47727 7.04545 4.90909C7.04545 4.34091 6.84659 3.85795 6.44886 3.46023C6.05114 3.0625 5.56818 2.86364 5 2.86364C4.43182 2.86364 3.94886 3.0625 3.55114 3.46023C3.15341 3.85795 2.95455 4.34091 2.95455 4.90909C2.95455 5.47727 3.15341 5.96023 3.55114 6.35795C3.94886 6.75568 4.43182 6.95455 5 6.95455ZM5 6.13636C4.65909 6.13636 4.36932 6.01705 4.13068 5.77841C3.89205 5.53977 3.77273 5.25 3.77273 4.90909C3.77273 4.56818 3.89205 4.27841 4.13068 4.03977C4.36932 3.80114 4.65909 3.68182 5 3.68182C5.34091 3.68182 5.63068 3.80114 5.86932 4.03977C6.10795 4.27841 6.22727 4.56818 6.22727 4.90909C6.22727 5.25 6.10795 5.53977 5.86932 5.77841C5.63068 6.01705 5.34091 6.13636 5 6.13636ZM5 8.31818C3.89394 8.31818 2.88636 8.00947 1.97727 7.39205C1.06818 6.77462 0.409091 5.94697 0 4.90909C0.409091 3.87121 1.06818 3.04356 1.97727 2.42614C2.88636 1.80871 3.89394 1.5 5 1.5C6.10606 1.5 7.11364 1.80871 8.02273 2.42614C8.93182 3.04356 9.59091 3.87121 10 4.90909C9.59091 5.94697 8.93182 6.77462 8.02273 7.39205C7.11364 8.00947 6.10606 8.31818 5 8.31818Z",fill:"currentColor"})})}),gg=e=>X(i,{...e,children:Y("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_4626_1381)",children:X("path",{d:"M8.54545 9.9375L6.63636 8.05114C6.37121 8.13447 6.10417 8.19697 5.83523 8.23864C5.56629 8.2803 5.28788 8.30114 5 8.30114C3.85606 8.30114 2.83712 7.98485 1.94318 7.35227C1.04924 6.7197 0.401515 5.89962 0 4.89205C0.159091 4.49053 0.359848 4.11742 0.602273 3.77273C0.844697 3.42803 1.12121 3.11932 1.43182 2.84659L0.181818 1.57386L0.818182 0.9375L9.18182 9.30114L8.54545 9.9375ZM5 6.9375C5.08333 6.9375 5.16098 6.93371 5.23295 6.92614C5.30492 6.91856 5.38258 6.90341 5.46591 6.88068L3.01136 4.42614C2.98864 4.50947 2.97348 4.58712 2.96591 4.65909C2.95833 4.73106 2.95455 4.80871 2.95455 4.89205C2.95455 5.46023 3.15341 5.94318 3.55114 6.34091C3.94886 6.73864 4.43182 6.9375 5 6.9375ZM8.31818 7.14205L6.875 5.71023C6.92803 5.58144 6.9697 5.45076 7 5.31818C7.0303 5.18561 7.04545 5.04356 7.04545 4.89205C7.04545 4.32386 6.84659 3.84091 6.44886 3.44318C6.05114 3.04545 5.56818 2.84659 5 2.84659C4.84848 2.84659 4.70644 2.86174 4.57386 2.89205C4.44129 2.92235 4.31061 2.9678 4.18182 3.02841L3.02273 1.86932C3.33333 1.74053 3.65152 1.64394 3.97727 1.57955C4.30303 1.51515 4.64394 1.48295 5 1.48295C6.14394 1.48295 7.16288 1.79924 8.05682 2.43182C8.95076 3.06439 9.59848 3.88447 10 4.89205C9.82576 5.33902 9.59659 5.75379 9.3125 6.13636C9.02841 6.51894 8.69697 6.85417 8.31818 7.14205ZM6.21591 5.05114L4.85227 3.6875C5.06439 3.64962 5.25947 3.66667 5.4375 3.73864C5.61553 3.81061 5.76894 3.91477 5.89773 4.05114C6.02652 4.1875 6.11932 4.3447 6.17614 4.52273C6.23295 4.70076 6.24621 4.87689 6.21591 5.05114Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_4626_1381",children:X("rect",{width:"10",height:"10",fill:"white"})})})]})}),bg=e=>X(i,{...e,children:Y("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_4916_54426)",children:X("path",{d:"M8.6 14.6L15.65 7.55L14.25 6.15L8.6 11.8L5.75 8.95L4.35 10.35L8.6 14.6ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_4916_54426",children:X("rect",{width:"20",height:"20",fill:"white"})})})]})}),vg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 18.6477L10 1.375L20 18.6477H0ZM10 15.9205C10.2576 15.9205 10.4735 15.8333 10.6477 15.6591C10.822 15.4848 10.9091 15.2689 10.9091 15.0114C10.9091 14.7538 10.822 14.5379 10.6477 14.3636C10.4735 14.1894 10.2576 14.1023 10 14.1023C9.74242 14.1023 9.52652 14.1894 9.35227 14.3636C9.17803 14.5379 9.09091 14.7538 9.09091 15.0114C9.09091 15.2689 9.17803 15.4848 9.35227 15.6591C9.52652 15.8333 9.74242 15.9205 10 15.9205ZM9.09091 13.1932H10.9091V8.64773H9.09091V13.1932Z",fill:"currentColor"})})}),yg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10 15C10.2833 15 10.5208 14.9042 10.7125 14.7125C10.9042 14.5208 11 14.2833 11 14C11 13.7167 10.9042 13.4792 10.7125 13.2875C10.5208 13.0958 10.2833 13 10 13C9.71667 13 9.47917 13.0958 9.2875 13.2875C9.09583 13.4792 9 13.7167 9 14C9 14.2833 9.09583 14.5208 9.2875 14.7125C9.47917 14.9042 9.71667 15 10 15ZM9 11H11V5H9V11ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})})}),wg=e=>X(i,{...e,children:Y("svg",{width:"91",height:"32",viewBox:"0 0 91 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.79733 2.62109L7.05688 4.36154L8.6964 6.00105L10.4368 4.26061L8.79733 2.62109",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4348 17.7395L26.7261 24.0306L28.4666 22.2904L22.1753 15.999L20.4348 17.7395",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.83032 8.73722L8.57056 10.4775L15.5197 3.52853L17.9952 6.00428L19.7357 4.26384L15.5197 0.0478516L6.83032 8.73722",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.0828 8.74062L26.823 10.4811L28.4667 8.83761L26.7262 7.09717L25.0828 8.74062",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.05664 26.7665L8.79688 28.5069L15.088 22.216L13.3476 20.4756L7.05664 26.7665",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9583 17.865L17.6987 19.6052L24.2126 13.0913L22.4722 11.3511L15.9583 17.865",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.606 8.61475L27.5582 15.5672L25.086 18.0396L26.8264 19.7799L31.0391 15.5672L22.3462 6.87451L20.606 8.61475",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58008 22.2898L4.32031 24.0302L5.95651 22.394L4.21607 20.6538L2.58008 22.2898",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9583 8.91145L17.6987 10.6517L23.99 4.36056L22.2496 2.62012L15.9583 8.91145",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 15.5676L8.69268 24.2603L10.4331 22.5198L3.48068 15.5676L5.96016 13.0881L4.21971 11.3477L0 15.5676",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3071 8.61154L17.8244 15.1288L19.5646 13.3885L13.0474 6.87109L11.3071 8.61154",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6091 26.8674L22.2493 28.5073L23.9897 26.7671L22.3496 25.127L20.6091 26.8674",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58008 8.83789L8.87079 15.1286L10.6112 13.3884L4.32052 7.09766L2.58008 8.83789",fill:"#9B9B9B"}),X("mask",{id:"mask0_2684_24177",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"11",y:"15",width:"14",height:"17",children:X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3035 15.999H24.2159V31.0746H11.3035V15.999Z",fill:"white"})}),Y("g",{mask:"url(#mask0_2684_24177)",children:[X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4817 17.7395L17.9989 24.2567L19.7392 22.5163L13.2219 15.999L11.4817 17.7395",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5195 27.6061L13.0437 25.1303L11.3035 26.8706L15.5195 31.0868L24.2159 22.3903L22.4756 20.6499L15.5195 27.6061",fill:"#9B9B9B"})]}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.82666 18.0429L8.5669 19.7834L15.0881 13.2624L13.3476 11.522L6.82666 18.0429",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.8376 3.46878C39.7609 3.22403 39.6861 3.06362 39.5918 2.99958C39.5199 2.95005 39.386 2.93948 39.3278 2.93948C39.2598 2.93948 39.219 2.93264 39.219 2.87834C39.219 2.83171 39.2754 2.82031 39.3653 2.82031C39.7133 2.82031 40.0782 2.83648 40.1396 2.83648C40.1999 2.83648 40.4927 2.82031 40.8782 2.82031C40.9688 2.82031 41.0173 2.83648 41.0173 2.87834C41.0173 2.93264 40.9628 2.93948 40.8968 2.93948C40.8442 2.93948 40.7783 2.93948 40.7319 2.96373C40.6714 2.99191 40.6579 3.0373 40.6579 3.10921C40.6579 3.19853 40.724 3.42402 40.8055 3.721C40.9174 4.16202 41.5358 6.18037 41.656 6.55196H41.6755L42.9658 3.08496C43.0325 2.89616 43.0773 2.84497 43.1336 2.84497C43.2064 2.84497 43.2387 2.94632 43.3278 3.15999L44.7104 6.5043H44.7296C44.8482 6.05851 45.3823 4.30149 45.6173 3.52391C45.66 3.37138 45.6811 3.23169 45.6811 3.13615C45.6811 3.0315 45.6222 2.93948 45.3617 2.93948C45.2969 2.93948 45.2502 2.9171 45.2502 2.87834C45.2502 2.83171 45.3008 2.82031 45.4036 2.82031C45.7549 2.82031 46.034 2.83648 46.0939 2.83648C46.1395 2.83648 46.4268 2.82031 46.6462 2.82031C46.7184 2.82031 46.7658 2.83171 46.7658 2.87233C46.7658 2.9171 46.7351 2.93948 46.6744 2.93948C46.6067 2.93948 46.5142 2.94632 46.4407 2.97139C46.2796 3.0315 46.2092 3.29656 46.0657 3.67831C45.763 4.51578 45.0639 6.63155 44.7377 7.62964C44.6639 7.86258 44.6308 7.94279 44.5435 7.94279C44.4756 7.94279 44.4378 7.86258 44.3377 7.6141L42.9542 4.2818H42.9397C42.8143 4.62169 41.9279 6.97723 41.6423 7.58778C41.514 7.86258 41.4831 7.94279 41.4034 7.94279C41.3358 7.94279 41.3105 7.87025 41.2502 7.69575L39.8376 3.46878",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.4736 5.46052C52.4736 3.96919 51.6156 3.04363 50.5241 3.04363C49.7593 3.04363 48.8862 3.46848 48.8862 5.12686C48.8862 6.51167 49.6547 7.61007 50.9315 7.61007C51.3984 7.61007 52.4736 7.38417 52.4736 5.46052ZM47.9695 5.33425C47.9695 4.19523 48.7201 2.72607 50.7182 2.72607C52.3747 2.72607 53.4068 3.68811 53.4068 5.21384C53.4068 6.73834 52.3397 7.94243 50.6521 7.94243C48.7413 7.94243 47.9695 6.51161 47.9695 5.33425V5.33425Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.6253 5.27407C56.6253 5.34806 56.6388 5.37251 56.685 5.39469C56.8222 5.44111 57.0255 5.46059 57.1911 5.46059C57.4551 5.46059 57.5428 5.43261 57.6644 5.34806C57.8634 5.20029 58.0557 4.89253 58.0557 4.34561C58.0557 3.40327 57.4331 3.13178 57.0371 3.13178C56.8709 3.13178 56.7515 3.13593 56.685 3.15976C56.6388 3.17219 56.6253 3.19831 56.6253 3.25115V5.27407ZM55.8409 4.74893C55.8409 3.73799 55.8409 3.5494 55.8277 3.33842C55.8144 3.10921 55.7609 3.00435 55.5421 2.95689C55.4865 2.94632 55.3769 2.93948 55.2814 2.93948C55.208 2.93948 55.1667 2.92352 55.1667 2.87834C55.1667 2.83171 55.2146 2.82031 55.3122 2.82031C55.6681 2.82031 56.0873 2.83648 56.2272 2.83648C56.4521 2.83648 56.9576 2.82031 57.1633 2.82031C57.5836 2.82031 58.0313 2.86052 58.3884 3.10465C58.5765 3.23169 58.841 3.5724 58.841 4.01632C58.841 4.50957 58.6354 4.95825 57.9633 5.50455C58.5554 6.25187 59.014 6.84501 59.4066 7.25598C59.7788 7.64145 60.0519 7.68767 60.1537 7.70984C60.225 7.72373 60.2867 7.72891 60.3379 7.72891C60.3924 7.72891 60.4187 7.75233 60.4187 7.78404C60.4187 7.83357 60.3732 7.8489 60.2913 7.8489H59.6602C59.2866 7.8489 59.1197 7.81429 58.9498 7.72373C58.6626 7.56974 58.4076 7.25598 58.0369 6.74512C57.7708 6.37705 57.4665 5.92671 57.3766 5.82371C57.3461 5.78785 57.3051 5.78018 57.2585 5.78018L56.6788 5.76485C56.6469 5.76485 56.6253 5.78018 56.6253 5.8179V5.91344C56.6253 6.53145 56.6253 7.05661 56.6585 7.3368C56.6788 7.52871 56.7165 7.6773 56.9194 7.70155C57.0195 7.71751 57.1633 7.72891 57.2429 7.72891C57.297 7.72891 57.3264 7.75233 57.3264 7.78404C57.3264 7.82984 57.279 7.8489 57.1911 7.8489C56.8056 7.8489 56.3132 7.82984 56.2142 7.82984C56.0873 7.82984 55.6681 7.8489 55.4016 7.8489C55.3122 7.8489 55.2681 7.82984 55.2681 7.78404C55.2681 7.75233 55.2944 7.72891 55.3769 7.72891C55.4751 7.72891 55.5543 7.71751 55.6142 7.70155C55.7466 7.6773 55.7808 7.52871 55.8071 7.3368C55.8409 7.05661 55.8409 6.53145 55.8409 5.92028V4.74893V4.74893Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M62.7401 5.92028C62.7401 6.76978 62.7401 7.22986 62.8795 7.34944C62.9923 7.45099 63.167 7.49804 63.6837 7.49804C64.037 7.49804 64.2973 7.48913 64.4635 7.30945C64.5458 7.22385 64.6235 7.03567 64.6351 6.91236C64.6426 6.85164 64.6544 6.8104 64.7079 6.8104C64.7576 6.8104 64.7636 6.84501 64.7636 6.92273C64.7636 6.99858 64.7159 7.49804 64.6633 7.68767C64.6235 7.83357 64.5885 7.87025 64.2426 7.87025C63.7651 7.87025 63.4198 7.85491 63.1195 7.8489C62.8194 7.83357 62.5805 7.82984 62.3067 7.82984C62.2352 7.82984 62.0852 7.82984 61.9272 7.83357C61.7749 7.83357 61.6029 7.8489 61.4709 7.8489C61.3832 7.8489 61.3349 7.82984 61.3349 7.78404C61.3349 7.75233 61.365 7.72891 61.4413 7.72891C61.543 7.72891 61.6216 7.71751 61.6819 7.70155C61.8176 7.6773 61.8487 7.52871 61.874 7.3368C61.9082 7.05661 61.9082 6.53145 61.9082 5.92028V4.74893C61.9082 3.73799 61.9082 3.5494 61.8951 3.33842C61.8817 3.10921 61.8269 3.00435 61.6095 2.95689C61.5577 2.94632 61.474 2.93948 61.3886 2.93948C61.3155 2.93948 61.2759 2.92352 61.2759 2.87834C61.2759 2.83171 61.3233 2.82031 61.4214 2.82031C61.7353 2.82031 62.1536 2.83648 62.3341 2.83648C62.4939 2.83648 62.9803 2.82031 63.2387 2.82031C63.3324 2.82031 63.38 2.83171 63.38 2.87834C63.38 2.92352 63.339 2.93948 63.2588 2.93948C63.1867 2.93948 63.0816 2.94632 62.9991 2.95689C62.8194 2.99191 62.7647 3.10465 62.7533 3.33842C62.7401 3.5494 62.7401 3.73799 62.7401 4.74893V5.92028",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.8097 5.48049C67.8097 6.18388 67.8141 6.6966 67.8234 6.82509C67.8294 6.99068 67.8447 7.25575 67.8978 7.33056C67.9832 7.45595 68.2426 7.59501 68.7672 7.59501C69.4469 7.59501 69.9002 7.46237 70.2973 7.11627C70.7267 6.74903 70.8568 6.14512 70.8568 5.46059C70.8568 4.61607 70.5043 4.06832 70.22 3.79517C69.6061 3.21012 68.8478 3.13178 68.3284 3.13178C68.1954 3.13178 67.9498 3.1496 67.8978 3.17696C67.8375 3.20432 67.8141 3.23706 67.8141 3.30918C67.8097 3.53819 67.8097 4.11682 67.8097 4.64343V5.48049ZM66.9788 4.74893C66.9788 3.73799 66.9788 3.5494 66.9632 3.33842C66.95 3.10921 66.8969 3.00435 66.6779 2.95689C66.6254 2.94632 66.5114 2.93948 66.4196 2.93948C66.3438 2.93948 66.3042 2.92352 66.3042 2.87834C66.3042 2.83171 66.3531 2.82031 66.4509 2.82031C66.8041 2.82031 67.2215 2.83648 67.4096 2.83648C67.6156 2.83648 68.0355 2.82031 68.4355 2.82031C69.267 2.82031 70.3786 2.82031 71.1044 3.57676C71.4374 3.92389 71.7481 4.47661 71.7481 5.26622C71.7481 6.10556 71.3968 6.74512 71.0236 7.125C70.7169 7.43669 70.0257 7.90942 68.7953 7.90942C68.5559 7.90942 68.2817 7.88911 68.0297 7.87025C67.7761 7.8489 67.5417 7.82984 67.379 7.82984C67.3042 7.82984 67.1574 7.82984 66.9964 7.83357C66.8441 7.83357 66.6721 7.8489 66.5373 7.8489C66.4509 7.8489 66.407 7.82984 66.407 7.78404C66.407 7.75233 66.4335 7.72891 66.5114 7.72891C66.612 7.72891 66.6932 7.71751 66.7518 7.70155C66.8855 7.6773 66.9187 7.52871 66.9456 7.3368C66.9788 7.05661 66.9788 6.53145 66.9788 5.92028V4.74893V4.74893Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.2173 16.0733C41.2173 16.1481 41.231 16.1755 41.2755 16.1948C41.4152 16.241 41.6173 16.2607 41.7812 16.2607C42.0492 16.2607 42.1356 16.2333 42.2543 16.1481C42.456 16.0002 42.6456 15.6964 42.6456 15.1501C42.6456 14.2044 42.022 13.9325 41.6299 13.9325C41.4637 13.9325 41.3425 13.9385 41.2755 13.9582C41.231 13.9727 41.2173 13.9965 41.2173 14.0508V16.0733ZM40.4308 15.5499C40.4308 14.5375 40.4308 14.3499 40.419 14.1383C40.4055 13.9131 40.3531 13.8053 40.1297 13.7597C40.0783 13.746 39.966 13.7406 39.8735 13.7406C39.8016 13.7406 39.761 13.727 39.761 13.6772C39.761 13.6316 39.8055 13.6167 39.9083 13.6167C40.258 13.6167 40.6772 13.6397 40.8181 13.6397C41.0424 13.6397 41.5472 13.6167 41.757 13.6167C42.1733 13.6167 42.6222 13.6606 42.9812 13.9075C43.1658 14.0335 43.434 14.3723 43.434 14.8179C43.434 15.3084 43.2251 15.7621 42.5542 16.3086C43.1463 17.053 43.6056 17.6457 43.9979 18.0588C44.3697 18.4434 44.6426 18.4917 44.7425 18.5095C44.8176 18.5228 44.8756 18.5328 44.9299 18.5328C44.9804 18.5328 45.0097 18.5489 45.0097 18.5829C45.0097 18.6376 44.9628 18.6492 44.8837 18.6492H44.2503C43.8754 18.6492 43.7123 18.6171 43.5376 18.5228C43.2522 18.3697 42.9996 18.0588 42.627 17.5452C42.3611 17.1811 42.056 16.727 41.9688 16.6288C41.9358 16.5867 41.8937 16.5815 41.8463 16.5815L41.2714 16.5683C41.2376 16.5683 41.2173 16.5815 41.2173 16.6203V16.7152C41.2173 17.3328 41.2173 17.8571 41.2502 18.1375C41.2714 18.3294 41.3106 18.477 41.5097 18.5035C41.6096 18.5174 41.757 18.5328 41.8347 18.5328C41.8892 18.5328 41.9163 18.5489 41.9163 18.5829C41.9163 18.6287 41.8678 18.6492 41.7812 18.6492C41.3959 18.6492 40.9046 18.6287 40.8055 18.6287C40.6772 18.6287 40.258 18.6492 39.9937 18.6492C39.9083 18.6492 39.8582 18.6287 39.8582 18.5829C39.8582 18.5489 39.8862 18.5328 39.966 18.5328C40.0661 18.5328 40.1465 18.5174 40.2076 18.5035C40.3396 18.477 40.3734 18.3294 40.3999 18.1375C40.4308 17.8571 40.4308 17.3328 40.4308 16.7192V15.5499V15.5499Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.4986 15.5498C46.4986 14.5374 46.4986 14.3499 46.4862 14.1383C46.4737 13.913 46.419 13.8052 46.1998 13.7596C46.1463 13.7459 46.0306 13.7406 45.9419 13.7406C45.8675 13.7406 45.8257 13.7269 45.8257 13.6771C45.8257 13.6315 45.8736 13.6166 45.9734 13.6166C46.1531 13.6166 46.3475 13.6247 46.5142 13.6247C46.6849 13.6315 46.8387 13.6396 46.932 13.6396C47.1456 13.6396 48.4681 13.6396 48.5961 13.6315C48.7201 13.6166 48.827 13.6054 48.8813 13.5928C48.914 13.5868 48.9553 13.5654 48.9864 13.5654C49.0191 13.5654 49.0272 13.5928 49.0272 13.6247C49.0272 13.6722 48.9959 13.7528 48.9727 14.0589C48.9686 14.1248 48.9553 14.4201 48.9414 14.4964C48.9352 14.5306 48.9199 14.5695 48.8736 14.5695C48.827 14.5695 48.8144 14.5374 48.8144 14.4781C48.8144 14.4315 48.8096 14.3167 48.7762 14.239C48.7275 14.1186 48.662 14.0375 48.3282 13.9965C48.2154 13.9836 47.5162 13.9727 47.384 13.9727C47.35 13.9727 47.3377 13.9905 47.3377 14.0375V15.7226C47.3377 15.7684 47.3454 15.7946 47.384 15.7946C47.5299 15.7946 48.2969 15.7946 48.4484 15.7809C48.6098 15.7684 48.7085 15.7488 48.7667 15.6818C48.8144 15.6281 48.8405 15.5948 48.8736 15.5948C48.902 15.5948 48.9199 15.6085 48.9199 15.6491C48.9199 15.6887 48.8952 15.7946 48.8678 16.1344C48.8627 16.2665 48.8405 16.5336 48.8405 16.5815C48.8405 16.6333 48.8405 16.7056 48.7802 16.7056C48.7335 16.7056 48.7201 16.6799 48.7201 16.6474C48.7165 16.5815 48.7165 16.4955 48.695 16.4063C48.662 16.2745 48.5704 16.1755 48.3222 16.1481C48.1959 16.1344 47.5359 16.1268 47.3784 16.1268C47.3454 16.1268 47.3377 16.1541 47.3377 16.1947V16.7191C47.3377 16.9454 47.3301 17.5599 47.3377 17.753C47.35 18.2081 47.4559 18.3115 48.1344 18.3115C48.3085 18.3115 48.5881 18.3115 48.7617 18.233C48.9352 18.1499 49.0146 18.0135 49.0628 17.7385C49.0749 17.6627 49.0869 17.6376 49.1348 17.6376C49.188 17.6376 49.188 17.6923 49.188 17.7582C49.188 17.9118 49.1348 18.3648 49.1008 18.4968C49.0521 18.6697 48.9959 18.6697 48.7427 18.6697C48.2428 18.6697 47.8782 18.6545 47.5902 18.6491C47.3046 18.6375 47.0969 18.6286 46.898 18.6286C46.8246 18.6286 46.6785 18.6286 46.5181 18.6375C46.3656 18.6375 46.1938 18.6491 46.0597 18.6491C45.9734 18.6491 45.9239 18.6286 45.9239 18.5828C45.9239 18.5488 45.9542 18.5327 46.0306 18.5327C46.1314 18.5327 46.2132 18.5173 46.2735 18.5035C46.4064 18.4769 46.4379 18.3294 46.4657 18.1375C46.4986 17.8571 46.4986 17.3327 46.4986 16.7191V15.5498",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.3845 18.5715C51.2755 18.5227 51.2566 18.4917 51.2566 18.3445C51.2566 17.9771 51.2813 17.579 51.2875 17.4735C51.2951 17.3723 51.3163 17.3017 51.3685 17.3017C51.429 17.3017 51.435 17.3607 51.435 17.4134C51.435 17.4979 51.463 17.6376 51.4951 17.753C51.6408 18.2448 52.0348 18.4243 52.4487 18.4243C53.0447 18.4243 53.3388 18.016 53.3388 17.6627C53.3388 17.3373 53.2368 17.0335 52.6864 16.6006L52.3805 16.3597C51.6485 15.7888 51.3959 15.3208 51.3959 14.7843C51.3959 14.0508 52.0079 13.5244 52.9342 13.5244C53.3649 13.5244 53.6447 13.5928 53.8181 13.6396C53.8789 13.655 53.9126 13.6722 53.9126 13.719C53.9126 13.8052 53.883 13.9965 53.883 14.5173C53.883 14.6647 53.8625 14.7171 53.8113 14.7171C53.7628 14.7171 53.7439 14.6771 53.7439 14.5986C53.7439 14.5374 53.7129 14.3304 53.5723 14.158C53.4708 14.0334 53.2795 13.8326 52.8445 13.8326C52.3531 13.8326 52.0545 14.1186 52.0545 14.5173C52.0545 14.8247 52.2099 15.0547 52.7614 15.4773L52.9454 15.6161C53.7533 16.2211 54.0368 16.6799 54.0368 17.3135C54.0368 17.6975 53.8913 18.1594 53.4136 18.4703C53.0816 18.6819 52.7088 18.7449 52.3531 18.7449C51.9691 18.7449 51.6698 18.6966 51.3845 18.5715",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.4449 16.2609C60.4449 14.7716 59.5867 13.8452 58.4976 13.8452C57.731 13.8452 56.8585 14.2726 56.8585 15.9289C56.8585 17.3137 57.6253 18.4106 58.9013 18.4106C59.3691 18.4106 60.4449 18.1835 60.4449 16.2609ZM55.9399 16.1345C55.9399 14.9975 56.6912 13.5244 58.689 13.5244C60.3437 13.5244 61.3787 14.4918 61.3787 16.0161C61.3787 17.5404 60.3116 18.7449 58.6225 18.7449C56.713 18.7449 55.9399 17.3135 55.9399 16.1345V16.1345Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M63.5918 15.5499C63.5918 14.5375 63.5918 14.3499 63.579 14.1383C63.5653 13.9131 63.5118 13.8053 63.2915 13.7597C63.2387 13.746 63.1243 13.7406 63.0314 13.7406C62.9575 13.7406 62.9187 13.727 62.9187 13.6772C62.9187 13.6316 62.9649 13.6167 63.0661 13.6167C63.4175 13.6167 63.8366 13.6397 64.037 13.6397C64.1955 13.6397 64.6175 13.6167 64.8544 13.6167C64.9557 13.6167 65.0017 13.6316 65.0017 13.6772C65.0017 13.727 64.9615 13.7406 64.8956 13.7406C64.8216 13.7406 64.781 13.746 64.7012 13.7597C64.5207 13.791 64.4712 13.9075 64.4554 14.1383C64.4438 14.3499 64.4438 14.5375 64.4438 15.5499V16.481C64.4438 17.4441 64.6351 17.8515 64.9615 18.1189C65.2608 18.3649 65.5685 18.3908 65.7924 18.3908C66.086 18.3908 66.4466 18.2979 66.7125 18.0314C67.0781 17.6627 67.0972 17.0661 67.0972 16.3803V15.5499C67.0972 14.5375 67.0972 14.3499 67.0858 14.1383C67.0721 13.9131 67.018 13.8053 66.7992 13.7597C66.7459 13.746 66.6332 13.7406 66.5573 13.7406C66.4858 13.7406 66.4466 13.727 66.4466 13.6772C66.4466 13.6316 66.491 13.6167 66.5876 13.6167C66.9237 13.6167 67.3417 13.6397 67.3417 13.6397C67.4323 13.6397 67.8491 13.6167 68.1089 13.6167C68.2041 13.6167 68.2476 13.6316 68.2476 13.6772C68.2476 13.727 68.2097 13.7406 68.1282 13.7406C68.0561 13.7406 68.0138 13.746 67.9382 13.7597C67.7572 13.791 67.7013 13.9075 67.6893 14.1383C67.6762 14.3499 67.6762 14.5375 67.6762 15.5499V16.2607C67.6762 17.0006 67.6045 17.7832 67.0431 18.2627C66.5718 18.6697 66.0937 18.745 65.6583 18.745C65.3091 18.745 64.6681 18.723 64.1835 18.2826C63.8428 17.9771 63.5918 17.4851 63.5918 16.5212V15.5499",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.3762 16.0733C71.3762 16.1481 71.3888 16.1755 71.4361 16.1948C71.5762 16.241 71.7749 16.2607 71.942 16.2607C72.2083 16.2607 72.2937 16.2333 72.4141 16.1481C72.6143 16.0002 72.8066 15.6964 72.8066 15.1501C72.8066 14.2044 72.1809 13.9325 71.7886 13.9325C71.622 13.9325 71.5043 13.9385 71.4361 13.9582C71.3888 13.9727 71.3762 13.9965 71.3762 14.0508V16.0733ZM70.5907 15.5499C70.5907 14.5375 70.5907 14.3499 70.5772 14.1383C70.5634 13.9131 70.5117 13.8053 70.2917 13.7597C70.2361 13.746 70.1248 13.7406 70.0322 13.7406C69.9599 13.7406 69.9167 13.727 69.9167 13.6772C69.9167 13.6316 69.9634 13.6167 70.0664 13.6167C70.4158 13.6167 70.8371 13.6397 70.9762 13.6397C71.2044 13.6397 71.7084 13.6167 71.9152 13.6167C72.3343 13.6167 72.7813 13.6606 73.138 13.9075C73.3268 14.0335 73.5924 14.3723 73.5924 14.8179C73.5924 15.3084 73.3864 15.7621 72.7125 16.3086C73.305 17.053 73.7636 17.6457 74.1555 18.0588C74.5284 18.4434 74.8025 18.4917 74.9016 18.5095C74.9754 18.5228 75.0363 18.5328 75.0888 18.5328C75.1422 18.5328 75.1683 18.5489 75.1683 18.5829C75.1683 18.6376 75.1227 18.6492 75.0403 18.6492H74.4102C74.0393 18.6492 73.8699 18.6171 73.6994 18.5228C73.4121 18.3697 73.1579 18.0588 72.7867 17.5452C72.5195 17.1811 72.2143 16.727 72.1274 16.6288C72.0939 16.5867 72.053 16.5815 72.0081 16.5815L71.4315 16.5683C71.3969 16.5683 71.3762 16.5815 71.3762 16.6203V16.7152C71.3762 17.3328 71.3762 17.8571 71.4102 18.1375C71.4315 18.3294 71.4682 18.477 71.6702 18.5035C71.7683 18.5174 71.9152 18.5328 71.9946 18.5328C72.0476 18.5328 72.0738 18.5489 72.0738 18.5829C72.0738 18.6287 72.0273 18.6492 71.9419 18.6492C71.5558 18.6492 71.0626 18.6287 70.9635 18.6287C70.8371 18.6287 70.4158 18.6492 70.1522 18.6492C70.0664 18.6492 70.0197 18.6287 70.0197 18.5829C70.0197 18.5489 70.044 18.5328 70.1248 18.5328C70.2258 18.5328 70.3053 18.5174 70.3642 18.5035C70.4974 18.477 70.5304 18.3294 70.558 18.1375C70.5907 17.8571 70.5907 17.3328 70.5907 16.7192V15.5499V15.5499Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.7248 18.016C76.0707 17.444 75.9004 16.6996 75.9004 16.0549C75.9004 15.6041 76.0397 14.8178 76.68 14.2313C77.1561 13.7909 77.789 13.5244 78.7811 13.5244C79.1931 13.5244 79.4405 13.553 79.7454 13.5928C79.9991 13.6247 80.2123 13.6879 80.4121 13.7047C80.4836 13.7124 80.512 13.746 80.512 13.787C80.512 13.8403 80.4917 13.9167 80.4784 14.1503C80.4648 14.3723 80.4701 14.7376 80.4571 14.869C80.4511 14.9695 80.4374 15.0236 80.3773 15.0236C80.3251 15.0236 80.3122 14.9695 80.3122 14.8761C80.3046 14.6701 80.2179 14.4404 80.0525 14.2655C79.8333 14.0334 79.3152 13.8519 78.7017 13.8519C78.1229 13.8519 77.7424 13.9965 77.4508 14.2655C76.9646 14.7094 76.8376 15.3413 76.8376 15.9871C76.8376 17.5711 78.0433 18.3559 78.9345 18.3559C79.5251 18.3559 79.8849 18.2919 80.1499 17.9833C80.2648 17.8571 80.352 17.6627 80.3773 17.5452C80.3972 17.4374 80.4121 17.4134 80.4648 17.4134C80.512 17.4134 80.5249 17.4585 80.5249 17.5131C80.5249 17.591 80.4455 18.1715 80.3773 18.3969C80.3421 18.5095 80.3176 18.5447 80.2065 18.5907C79.9384 18.6966 79.4325 18.7449 79.0066 18.7449C78.0959 18.7449 77.3306 18.5447 76.7248 18.016",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M82.9906 15.5498C82.9906 14.5374 82.9906 14.3499 82.9794 14.1383C82.9659 13.913 82.9112 13.8052 82.6928 13.7596C82.6399 13.7459 82.5272 13.7406 82.4333 13.7406C82.3601 13.7406 82.3191 13.7269 82.3191 13.6771C82.3191 13.6315 82.3661 13.6166 82.4629 13.6166C82.6474 13.6166 82.8378 13.6247 83.0049 13.6247C83.1806 13.6315 83.3331 13.6396 83.4252 13.6396C83.6378 13.6396 84.9615 13.6396 85.0891 13.6315C85.2143 13.6166 85.3208 13.6054 85.3739 13.5928C85.4089 13.5868 85.451 13.5654 85.4783 13.5654C85.5152 13.5654 85.519 13.5928 85.519 13.6247C85.519 13.6722 85.4862 13.7528 85.4686 14.0589C85.4613 14.1248 85.451 14.4201 85.4354 14.4964C85.4282 14.5306 85.4145 14.5695 85.3697 14.5695C85.3208 14.5695 85.3078 14.5374 85.3078 14.4781C85.3078 14.4315 85.302 14.3167 85.2667 14.239C85.2211 14.1186 85.1542 14.0375 84.8224 13.9965C84.7097 13.9836 84.0092 13.9727 83.8784 13.9727C83.8436 13.9727 83.8299 13.9905 83.8299 14.0375V15.7226C83.8299 15.7684 83.8399 15.7946 83.8784 15.7946C84.0224 15.7946 84.7913 15.7946 84.9426 15.7809C85.102 15.7684 85.2006 15.7488 85.2611 15.6818C85.3078 15.6281 85.3351 15.5948 85.3697 15.5948C85.3932 15.5948 85.4145 15.6085 85.4145 15.6491C85.4145 15.6887 85.3874 15.7946 85.3621 16.1344C85.3532 16.2665 85.3351 16.5336 85.3351 16.5815C85.3351 16.6333 85.3351 16.7056 85.2742 16.7056C85.2288 16.7056 85.2143 16.6799 85.2143 16.6474C85.2095 16.5815 85.2095 16.4955 85.1892 16.4063C85.1542 16.2745 85.0609 16.1755 84.8143 16.1481C84.6885 16.1344 84.0297 16.1268 83.873 16.1268C83.8399 16.1268 83.8299 16.1541 83.8299 16.1947V16.7191C83.8299 16.9454 83.8251 17.5599 83.8299 17.753C83.8436 18.2081 83.9524 18.3115 84.629 18.3115C84.8027 18.3115 85.0815 18.3115 85.2553 18.233C85.4282 18.1499 85.508 18.0135 85.5563 17.7385C85.5656 17.6627 85.5813 17.6376 85.6284 17.6376C85.6814 17.6376 85.6814 17.6923 85.6814 17.7582C85.6814 17.9118 85.6284 18.3648 85.595 18.4968C85.5482 18.6697 85.4862 18.6697 85.2354 18.6697C84.7378 18.6697 84.3714 18.6545 84.0844 18.6491C83.7965 18.6375 83.5907 18.6286 83.3949 18.6286C83.3193 18.6286 83.1725 18.6286 83.014 18.6375C82.8588 18.6375 82.6863 18.6491 82.5535 18.6491C82.4629 18.6491 82.4202 18.6286 82.4202 18.5828C82.4202 18.5488 82.4476 18.5327 82.5272 18.5327C82.6279 18.5327 82.7073 18.5173 82.7661 18.5035C82.8998 18.4769 82.9332 18.3294 82.9599 18.1375C82.9906 17.8571 82.9906 17.3327 82.9906 16.7191V15.5498",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.8766 18.5715C87.7717 18.5227 87.7495 18.4917 87.7495 18.3445C87.7495 17.9771 87.7754 17.579 87.7837 17.4735C87.7912 17.3723 87.8084 17.3017 87.861 17.3017C87.9232 17.3017 87.9269 17.3607 87.9269 17.4134C87.9269 17.4979 87.953 17.6376 87.9893 17.753C88.1342 18.2448 88.529 18.4243 88.941 18.4243C89.5376 18.4243 89.8323 18.016 89.8323 17.6627C89.8323 17.3373 89.7326 17.0335 89.1795 16.6006L88.8734 16.3597C88.1418 15.7888 87.8904 15.3208 87.8904 14.7843C87.8904 14.0508 88.5016 13.5244 89.4263 13.5244C89.8591 13.5244 90.1405 13.5928 90.3117 13.6396C90.3718 13.655 90.4051 13.6722 90.4051 13.719C90.4051 13.8052 90.3799 13.9965 90.3799 14.5173C90.3799 14.6647 90.3581 14.7171 90.3038 14.7171C90.259 14.7171 90.2369 14.6771 90.2369 14.5986C90.2369 14.5374 90.2049 14.3304 90.0661 14.158C89.965 14.0334 89.7716 13.8326 89.338 13.8326C88.8475 13.8326 88.5486 14.1186 88.5486 14.5173C88.5486 14.8247 88.7024 15.0547 89.2551 15.4773L89.4394 15.6161C90.2454 16.2211 90.5312 16.6799 90.5312 17.3135C90.5312 17.6975 90.3834 18.1594 89.9057 18.4703C89.5714 18.6819 89.1992 18.7449 88.8475 18.7449C88.4612 18.7449 88.1619 18.6966 87.8766 18.5715",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.4308 26.351C40.4308 25.3411 40.4308 25.1548 40.419 24.9405C40.4055 24.7134 40.3396 24.6015 40.1919 24.5681C40.1202 24.547 40.03 24.5443 39.9511 24.5443C39.8862 24.5443 39.8462 24.5289 39.8462 24.4726C39.8462 24.4359 39.9005 24.4214 40.0037 24.4214C40.258 24.4214 40.6772 24.4402 40.8696 24.4402C41.0368 24.4402 41.43 24.4214 41.6832 24.4214C41.7688 24.4214 41.821 24.4359 41.821 24.4726C41.821 24.5289 41.7812 24.5443 41.7141 24.5443C41.6505 24.5443 41.596 24.547 41.5141 24.5615C41.3359 24.5949 41.2832 24.7074 41.2714 24.9405C41.2561 25.1548 41.2561 25.3411 41.2561 26.351V27.5214C41.2561 28.1675 41.2561 28.6935 41.2832 28.9814C41.3046 29.1605 41.3502 29.2786 41.5473 29.3043C41.6424 29.3186 41.7881 29.3331 41.8892 29.3331C41.962 29.3331 41.9941 29.3528 41.9941 29.3868C41.9941 29.4322 41.9425 29.4518 41.8679 29.4518C41.43 29.4518 41.0097 29.4322 40.8298 29.4322C40.6772 29.4322 40.258 29.4518 39.9937 29.4518C39.9084 29.4518 39.8582 29.4322 39.8582 29.3868C39.8582 29.3528 39.8862 29.3331 39.966 29.3331C40.0661 29.3331 40.1465 29.3186 40.2076 29.3043C40.3396 29.2786 40.3782 29.1683 40.3999 28.9737C40.4308 28.6935 40.4308 28.1675 40.4308 27.5214V26.351",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.8558 28.5483C44.8695 29.0666 44.9551 29.2398 45.089 29.2861C45.2017 29.3252 45.3281 29.3329 45.4347 29.3329C45.5095 29.3329 45.5472 29.3457 45.5472 29.3866C45.5472 29.438 45.489 29.4516 45.3957 29.4516C44.9628 29.4516 44.6938 29.432 44.5696 29.432C44.5104 29.432 44.198 29.4516 43.8503 29.4516C43.7659 29.4516 43.7046 29.4465 43.7046 29.3866C43.7046 29.3457 43.7433 29.3329 43.8092 29.3329C43.8969 29.3329 44.0171 29.3252 44.1104 29.3006C44.2851 29.2467 44.3095 29.0512 44.3164 28.4749L44.3786 24.5339C44.3786 24.4007 44.3958 24.3076 44.4637 24.3076C44.5354 24.3076 44.5957 24.3949 44.7103 24.5132C44.7881 24.6013 45.8019 25.6856 46.7726 26.6505C47.2261 27.1038 48.1224 28.0625 48.2345 28.1673H48.271L48.2037 25.1793C48.196 24.7721 48.1345 24.6475 47.9763 24.5799C47.8783 24.5441 47.7164 24.5441 47.6252 24.5441C47.5453 24.5441 47.5162 24.5219 47.5162 24.4809C47.5162 24.4264 47.5921 24.4212 47.6914 24.4212C48.0379 24.4212 48.3572 24.44 48.4967 24.44C48.5705 24.44 48.8221 24.4212 49.1473 24.4212C49.2341 24.4212 49.3019 24.4264 49.3019 24.4809C49.3019 24.5219 49.2617 24.5441 49.1802 24.5441C49.1143 24.5441 49.0629 24.5441 48.9806 24.5613C48.7939 24.616 48.7427 24.7544 48.7359 25.1273L48.6621 29.3252C48.6621 29.4713 48.6347 29.5345 48.5746 29.5345C48.5023 29.5345 48.4221 29.4577 48.3496 29.3866C47.9311 28.9856 47.0783 28.1145 46.3861 27.4291C45.6599 26.7092 44.9219 25.8785 44.8017 25.7523H44.7843L44.8558 28.5483",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.4631 29.3742C51.3557 29.3253 51.3379 29.2921 51.3379 29.1469C51.3379 28.7815 51.363 28.3817 51.3686 28.2744C51.3766 28.1761 51.3959 28.1019 51.4488 28.1019C51.5085 28.1019 51.5165 28.1616 51.5165 28.2163C51.5165 28.2999 51.5426 28.44 51.5768 28.5527C51.7223 29.0455 52.1149 29.2264 52.5283 29.2264C53.1243 29.2264 53.4197 28.8209 53.4197 28.4673C53.4197 28.143 53.3183 27.8365 52.7673 27.4019L52.4601 27.1637C51.7281 26.589 51.4757 26.1256 51.4757 25.5866C51.4757 24.8534 52.0865 24.3301 53.0116 24.3301C53.4449 24.3301 53.7243 24.3949 53.8978 24.4401C53.9583 24.4555 53.991 24.4725 53.991 24.522C53.991 24.6101 53.9651 24.8011 53.9651 25.3186C53.9651 25.4654 53.9457 25.5192 53.8914 25.5192C53.8447 25.5192 53.8234 25.4807 53.8234 25.3988C53.8234 25.341 53.791 25.1344 53.6528 24.9626C53.5515 24.8335 53.3575 24.6356 52.927 24.6356C52.4344 24.6356 52.136 24.9216 52.136 25.3186C52.136 25.626 52.2894 25.8573 52.8408 26.2782L53.0269 26.4174C53.8313 27.022 54.1162 27.4829 54.1162 28.1146C54.1162 28.4996 53.9691 28.9599 53.4912 29.2708C53.161 29.4841 52.7865 29.5466 52.4344 29.5466C52.0483 29.5466 51.7474 29.4977 51.4631 29.3742",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.6296 24.7953L56.6388 24.82C56.2502 24.8335 56.0945 24.8662 55.994 25.0138C55.9275 25.1145 55.891 25.193 55.8788 25.2453C55.8668 25.2998 55.8469 25.3261 55.8071 25.3261C55.7609 25.3261 55.7466 25.2938 55.7466 25.2204C55.7466 25.1145 55.872 24.5093 55.8896 24.4555C55.9086 24.3659 55.9275 24.3301 55.965 24.3301C56.0193 24.3301 56.0873 24.3949 56.2502 24.407C56.445 24.4264 56.697 24.4401 56.9167 24.4401H59.5543C59.7653 24.4401 59.9116 24.4213 60.0115 24.407C60.1118 24.3871 60.165 24.3761 60.1924 24.3761C60.2394 24.3761 60.245 24.4144 60.245 24.5133C60.245 24.6544 60.2249 25.1145 60.2249 25.2863C60.2189 25.3545 60.2061 25.393 60.165 25.393C60.1118 25.393 60.0973 25.358 60.09 25.2625L60.0875 25.1864C60.0722 25.0138 59.8931 24.8285 59.301 24.815L58.4623 24.7953V27.5212C58.4623 28.1343 58.4623 28.6592 58.4976 28.9454C58.5148 29.1332 58.5554 29.2785 58.7543 29.3042C58.8478 29.3185 58.9941 29.333 59.0934 29.333C59.167 29.333 59.2003 29.3527 59.2003 29.3866C59.2003 29.432 59.1464 29.4517 59.0741 29.4517C58.6354 29.4517 58.2178 29.432 58.0313 29.432C57.876 29.432 57.4551 29.4517 57.1911 29.4517C57.1049 29.4517 57.0562 29.432 57.0562 29.3866C57.0562 29.3527 57.0852 29.333 57.1633 29.333C57.2663 29.333 57.3461 29.3185 57.4037 29.3042C57.5386 29.2785 57.5766 29.1332 57.5962 28.9413C57.6296 28.6592 57.6296 28.1343 57.6296 27.5212V24.7953",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M62.5148 26.351C62.5148 25.3411 62.5148 25.1548 62.5011 24.9405C62.4876 24.7134 62.4195 24.6015 62.2752 24.5681C62.2023 24.547 62.1156 24.5443 62.0331 24.5443C61.9675 24.5443 61.9272 24.5289 61.9272 24.4726C61.9272 24.4359 61.9807 24.4214 62.0852 24.4214C62.3403 24.4214 62.7614 24.4402 62.9535 24.4402C63.1195 24.4402 63.5118 24.4214 63.7651 24.4214C63.8509 24.4214 63.9037 24.4359 63.9037 24.4726C63.9037 24.5289 63.8633 24.5443 63.798 24.5443C63.7321 24.5443 63.6801 24.547 63.5991 24.5615C63.4198 24.5949 63.3635 24.7074 63.3535 24.9405C63.339 25.1548 63.339 25.3411 63.339 26.351V27.5214C63.339 28.1675 63.339 28.6935 63.3635 28.9814C63.3863 29.1605 63.4312 29.2786 63.6331 29.3043C63.7234 29.3186 63.8712 29.3331 63.973 29.3331C64.0451 29.3331 64.0778 29.3528 64.0778 29.3868C64.0778 29.4322 64.0217 29.4518 63.9493 29.4518C63.5118 29.4518 63.092 29.4322 62.9121 29.4322C62.7614 29.4322 62.3403 29.4518 62.0736 29.4518C61.9867 29.4518 61.9401 29.4322 61.9401 29.3868C61.9401 29.3528 61.9675 29.3331 62.0474 29.3331C62.1475 29.3331 62.2273 29.3186 62.2856 29.3043C62.4195 29.2786 62.4588 29.1683 62.4789 28.9737C62.5148 28.6935 62.5148 28.1675 62.5148 27.5214V26.351",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.4491 24.7953L66.4598 24.82C66.0741 24.8335 65.9133 24.8662 65.8121 25.0138C65.7464 25.1145 65.7122 25.193 65.7014 25.2453C65.6857 25.2998 65.6662 25.3261 65.6277 25.3261C65.579 25.3261 65.5686 25.2938 65.5686 25.2204C65.5686 25.1145 65.6934 24.5093 65.707 24.4555C65.7276 24.3659 65.7464 24.3301 65.7875 24.3301C65.8401 24.3301 65.9072 24.3949 66.0741 24.407C66.2674 24.4264 66.519 24.4401 66.7379 24.4401H69.3734C69.5869 24.4401 69.7326 24.4213 69.8356 24.407C69.9321 24.3871 69.9869 24.3761 70.0117 24.3761C70.0586 24.3761 70.0664 24.4144 70.0664 24.5133C70.0664 24.6544 70.0449 25.1145 70.0449 25.2863C70.0393 25.3545 70.0258 25.393 69.9869 25.393C69.9321 25.393 69.9195 25.358 69.9118 25.2625L69.9075 25.1864C69.8938 25.0138 69.7121 24.8285 69.1229 24.815L68.2819 24.7953V27.5212C68.2819 28.1343 68.2819 28.6592 68.3148 28.9454C68.3351 29.1332 68.3747 29.2785 68.5749 29.3042C68.6688 29.3185 68.8139 29.333 68.9129 29.333C68.989 29.333 69.0223 29.3527 69.0223 29.3866C69.0223 29.432 68.9682 29.4517 68.8932 29.4517C68.4559 29.4517 68.0356 29.432 67.8479 29.432C67.6976 29.432 67.278 29.4517 67.0098 29.4517C66.9238 29.4517 66.8761 29.432 66.8761 29.3866C66.8761 29.3527 66.9053 29.333 66.9839 29.333C67.084 29.333 67.1636 29.3185 67.2216 29.3042C67.3573 29.2785 67.3965 29.1332 67.4181 28.9413C67.4491 28.6592 67.4491 28.1343 67.4491 27.5212V24.7953",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.0477 26.351C72.0477 25.3411 72.0477 25.1548 72.033 24.9405C72.0197 24.7134 71.9681 24.6102 71.7482 24.5615C71.6927 24.547 71.5826 24.5443 71.49 24.5443C71.4177 24.5443 71.3762 24.5289 71.3762 24.4811C71.3762 24.4359 71.4216 24.4214 71.5227 24.4214C71.874 24.4214 72.2937 24.4402 72.4937 24.4402C72.6528 24.4402 73.0702 24.4214 73.3123 24.4214C73.4122 24.4214 73.4588 24.4359 73.4588 24.4811C73.4588 24.5289 73.4182 24.5443 73.3515 24.5443C73.2804 24.5443 73.2373 24.547 73.1579 24.5615C72.9809 24.5949 72.9248 24.7074 72.9129 24.9405C72.8995 25.1548 72.8995 25.3411 72.8995 26.351V27.2824C72.8995 28.2482 73.0924 28.6554 73.4182 28.9198C73.7171 29.1683 74.0236 29.1932 74.2509 29.1932C74.5423 29.1932 74.8994 29.1001 75.1684 28.8336C75.5348 28.4674 75.5528 27.8699 75.5528 27.1833V26.351C75.5528 25.3411 75.5528 25.1548 75.5402 24.9405C75.5302 24.7134 75.4761 24.6102 75.255 24.5615C75.2026 24.547 75.0888 24.5443 75.0181 24.5443C74.9402 24.5443 74.8994 24.5289 74.8994 24.4811C74.8994 24.4359 74.9481 24.4214 75.0403 24.4214C75.3829 24.4214 75.8007 24.4402 75.8065 24.4402C75.8882 24.4402 76.3072 24.4214 76.5675 24.4214C76.6589 24.4214 76.7055 24.4359 76.7055 24.4811C76.7055 24.5289 76.6666 24.5443 76.587 24.5443C76.5122 24.5443 76.4742 24.547 76.3928 24.5615C76.2121 24.5949 76.1596 24.7074 76.146 24.9405C76.1323 25.1548 76.1323 25.3411 76.1323 26.351V27.0619C76.1323 27.8016 76.0589 28.587 75.5006 29.0668C75.0295 29.4715 74.5504 29.5468 74.1162 29.5468C73.7637 29.5468 73.1245 29.5269 72.64 29.0898C72.3009 28.7816 72.0477 28.288 72.0477 27.3224V26.351",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M79.9309 24.7953L78.9403 24.82C78.554 24.8335 78.3952 24.8662 78.2958 25.0138C78.2296 25.1145 78.1967 25.193 78.1809 25.2453C78.1693 25.2998 78.148 25.3261 78.1084 25.3261C78.0626 25.3261 78.0481 25.2938 78.0481 25.2204C78.0481 25.1145 78.1737 24.5093 78.1867 24.4555C78.2083 24.3659 78.2296 24.3301 78.2684 24.3301C78.3208 24.3301 78.3867 24.3949 78.554 24.407C78.7463 24.4264 79.0004 24.4401 79.2201 24.4401H81.855C82.0689 24.4401 82.2125 24.4213 82.3151 24.407C82.4143 24.3871 82.4668 24.3761 82.4966 24.3761C82.5401 24.3761 82.5482 24.4144 82.5482 24.5133C82.5482 24.6544 82.5271 25.1145 82.5271 25.2863C82.5192 25.3545 82.5072 25.393 82.4668 25.393C82.4143 25.393 82.3986 25.358 82.3951 25.2625L82.389 25.1864C82.3735 25.0138 82.1949 24.8285 81.6046 24.815L80.764 24.7953V27.5212C80.764 28.1343 80.764 28.6592 80.7968 28.9454C80.8181 29.1332 80.8592 29.2785 81.055 29.3042C81.1524 29.3185 81.2942 29.333 81.3949 29.333C81.4703 29.333 81.5033 29.3527 81.5033 29.3866C81.5033 29.432 81.4484 29.4517 81.3764 29.4517C80.9346 29.4517 80.5172 29.432 80.333 29.432C80.1792 29.432 79.7581 29.4517 79.4918 29.4517C79.4064 29.4517 79.36 29.432 79.36 29.3866C79.36 29.3527 79.3848 29.333 79.4667 29.333C79.5658 29.333 79.6455 29.3185 79.7046 29.3042C79.8393 29.2785 79.8774 29.1332 79.9 28.9413C79.9309 28.6592 79.9309 28.1343 79.9309 27.5212V24.7953",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.8142 26.3512C84.8142 25.3413 84.8142 25.155 84.8026 24.9407C84.7889 24.7136 84.7377 24.6103 84.517 24.5616C84.4629 24.5471 84.3502 24.5444 84.2555 24.5444C84.1832 24.5444 84.1423 24.5291 84.1423 24.4812C84.1423 24.4361 84.1892 24.4215 84.2905 24.4215C84.4706 24.4215 84.6611 24.4267 84.8316 24.4267C85.0028 24.4361 85.1541 24.4404 85.2472 24.4404C85.4612 24.4404 86.7872 24.4404 86.9113 24.4361C87.0375 24.4215 87.1453 24.4072 87.1988 24.3952C87.2328 24.3873 87.2705 24.3662 87.3047 24.3662C87.3374 24.3662 87.3447 24.3952 87.3447 24.4267C87.3447 24.4727 87.3097 24.554 87.2922 24.8595C87.2842 24.9262 87.2705 25.2207 87.2549 25.3001C87.2514 25.3349 87.2367 25.3718 87.1911 25.3718C87.1453 25.3718 87.131 25.3413 87.131 25.2806C87.131 25.2335 87.1269 25.1216 87.0898 25.0406C87.0433 24.9218 86.9797 24.84 86.6434 24.8014C86.5327 24.7871 85.8357 24.7724 85.7004 24.7724C85.6666 24.7724 85.6534 24.7956 85.6534 24.84V26.5236C85.6534 26.5723 85.6612 26.597 85.7004 26.597C85.8471 26.597 86.6135 26.597 86.7654 26.5844C86.9229 26.5723 87.022 26.5524 87.0838 26.4853C87.131 26.4322 87.1584 26.3989 87.1911 26.3989C87.2172 26.3989 87.2367 26.4109 87.2367 26.4501C87.2367 26.4905 87.2102 26.597 87.1834 26.9352C87.1756 27.0691 87.1584 27.3371 87.1584 27.3822C87.1584 27.4363 87.1584 27.5122 87.0972 27.5122C87.0512 27.5122 87.0375 27.4832 87.0375 27.4498C87.0301 27.3822 87.0301 27.2962 87.0104 27.21C86.9797 27.077 86.884 26.976 86.6403 26.953C86.5136 26.9352 85.8511 26.93 85.6919 26.93C85.6612 26.93 85.6534 26.9572 85.6534 26.9974V27.5215C85.6534 27.7487 85.6473 28.3609 85.6534 28.553C85.6666 29.0139 85.7756 29.1113 86.4506 29.1113C86.6251 29.1113 86.9045 29.1113 87.0784 29.0327C87.2514 28.9523 87.331 28.8141 87.3776 28.5391C87.3892 28.4676 87.4023 28.4402 87.4516 28.4402C87.5043 28.4402 87.5043 28.4933 87.5043 28.5606C87.5043 28.7142 87.4516 29.1685 87.417 29.3009C87.3696 29.4717 87.3097 29.4717 87.0568 29.4717C86.558 29.4717 86.1912 29.458 85.9074 29.452C85.621 29.4383 85.4144 29.4323 85.2142 29.4323C85.1408 29.4323 84.9947 29.4323 84.8339 29.4383C84.6818 29.4383 84.5077 29.452 84.3761 29.452C84.2905 29.452 84.2443 29.4323 84.2443 29.3869C84.2443 29.3529 84.2685 29.3333 84.3502 29.3333C84.4493 29.3333 84.5307 29.3187 84.5892 29.3044C84.7232 29.2787 84.757 29.1335 84.7815 28.9416C84.8142 28.6595 84.8142 28.1345 84.8142 27.5215V26.3512",fill:"#686767"})]})}),xg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M7.99573 16C9.25964 16 10.2883 14.9745 10.2938 13.7118H5.69775C5.70325 14.9744 6.73181 16 7.99573 16Z",fill:"currentColor"}),X("path",{d:"M14.2106 12.7737V12.0912C14.2106 11.3503 13.7648 10.6915 13.108 10.4019V6.52185C13.108 5.4281 12.7614 4.40417 12.1055 3.56079C11.5471 2.8429 10.7917 2.28613 9.90662 1.93701V1.91077C9.90662 0.857178 9.04944 0 7.99585 0C6.94226 0 6.08521 0.857178 6.08521 1.91077V1.93701C5.20007 2.28613 4.4447 2.8429 3.88635 3.56079C3.23047 4.40417 2.88367 5.4281 2.88367 6.52185V10.4017C2.22705 10.6914 1.78125 11.3503 1.78125 12.0912V12.7736H14.2106V12.7737Z",fill:"currentColor"})]})}),Cg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8.57143 11.4285H0V8.57137H8.57143V-6.10352e-05H11.4286V8.57137H20V11.4285H11.4286V19.9999H8.57143V11.4285Z",fill:"currentColor"})})}),kg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 11.2499V8.74994H20V11.2499H0Z",fill:"currentColor"})})}),$g=e=>X(i,{...e,children:Y("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_8714_101)",children:X("path",{d:"M0 20V13.3333H2.22222V16.2222L5.66667 12.7778L7.22222 14.3333L3.77778 17.7778H6.66667V20H0ZM14.3333 7.22222L12.7778 5.66667L16.2222 2.22222H13.3333V0H20V6.66667H17.7778V3.77778L14.3333 7.22222Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_8714_101",children:X("rect",{width:"20",height:"20",fill:"white"})})})]})}),Sg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M16 20C15.1667 20 14.4583 19.7083 13.875 19.125C13.2917 18.5417 13 17.8333 13 17C13 16.9 13.025 16.6667 13.075 16.3L6.05 12.2C5.78333 12.45 5.475 12.6458 5.125 12.7875C4.775 12.9292 4.4 13 4 13C3.16667 13 2.45833 12.7083 1.875 12.125C1.29167 11.5417 1 10.8333 1 10C1 9.16667 1.29167 8.45833 1.875 7.875C2.45833 7.29167 3.16667 7 4 7C4.4 7 4.775 7.07083 5.125 7.2125C5.475 7.35417 5.78333 7.55 6.05 7.8L13.075 3.7C13.0417 3.58333 13.0208 3.47083 13.0125 3.3625C13.0042 3.25417 13 3.13333 13 3C13 2.16667 13.2917 1.45833 13.875 0.875C14.4583 0.291667 15.1667 0 16 0C16.8333 0 17.5417 0.291667 18.125 0.875C18.7083 1.45833 19 2.16667 19 3C19 3.83333 18.7083 4.54167 18.125 5.125C17.5417 5.70833 16.8333 6 16 6C15.6 6 15.225 5.92917 14.875 5.7875C14.525 5.64583 14.2167 5.45 13.95 5.2L6.925 9.3C6.95833 9.41667 6.97917 9.52917 6.9875 9.6375C6.99583 9.74583 7 9.86667 7 10C7 10.1333 6.99583 10.2542 6.9875 10.3625C6.97917 10.4708 6.95833 10.5833 6.925 10.7L13.95 14.8C14.2167 14.55 14.525 14.3542 14.875 14.2125C15.225 14.0708 15.6 14 16 14C16.8333 14 17.5417 14.2917 18.125 14.875C18.7083 15.4583 19 16.1667 19 17C19 17.8333 18.7083 18.5417 18.125 19.125C17.5417 19.7083 16.8333 20 16 20Z",fill:"currentColor"})})}),Mg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M16 5H4V1H16V5ZM16 10.5C16.2833 10.5 16.5208 10.4042 16.7125 10.2125C16.9042 10.0208 17 9.78333 17 9.5C17 9.21667 16.9042 8.97917 16.7125 8.7875C16.5208 8.59583 16.2833 8.5 16 8.5C15.7167 8.5 15.4792 8.59583 15.2875 8.7875C15.0958 8.97917 15 9.21667 15 9.5C15 9.78333 15.0958 10.0208 15.2875 10.2125C15.4792 10.4042 15.7167 10.5 16 10.5ZM14 17V13H6V17H14ZM16 19H4V15H0V9C0 8.15 0.291667 7.4375 0.875 6.8625C1.45833 6.2875 2.16667 6 3 6H17C17.85 6 18.5625 6.2875 19.1375 6.8625C19.7125 7.4375 20 8.15 20 9V15H16V19Z",fill:"currentColor"})})}),Eg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M7.26368 20L6.86567 16.8C6.65008 16.7167 6.44693 16.6167 6.25622 16.5C6.06551 16.3833 5.87894 16.2583 5.69652 16.125L2.73632 17.375L0 12.625L2.56219 10.675C2.54561 10.5583 2.53731 10.4458 2.53731 10.3375V9.6625C2.53731 9.55417 2.54561 9.44167 2.56219 9.325L0 7.375L2.73632 2.625L5.69652 3.875C5.87894 3.74167 6.06965 3.61667 6.26866 3.5C6.46766 3.38333 6.66667 3.28333 6.86567 3.2L7.26368 0H12.7363L13.1343 3.2C13.3499 3.28333 13.5531 3.38333 13.7438 3.5C13.9345 3.61667 14.1211 3.74167 14.3035 3.875L17.2637 2.625L20 7.375L17.4378 9.325C17.4544 9.44167 17.4627 9.55417 17.4627 9.6625V10.3375C17.4627 10.4458 17.4461 10.5583 17.4129 10.675L19.9751 12.625L17.2388 17.375L14.3035 16.125C14.1211 16.2583 13.9303 16.3833 13.7313 16.5C13.5323 16.6167 13.3333 16.7167 13.1343 16.8L12.7363 20H7.26368ZM10.0498 13.5C11.0116 13.5 11.8325 13.1583 12.5124 12.475C13.1924 11.7917 13.5323 10.9667 13.5323 10C13.5323 9.03333 13.1924 8.20833 12.5124 7.525C11.8325 6.84167 11.0116 6.5 10.0498 6.5C9.07131 6.5 8.24627 6.84167 7.57463 7.525C6.90299 8.20833 6.56716 9.03333 6.56716 10C6.56716 10.9667 6.90299 11.7917 7.57463 12.475C8.24627 13.1583 9.07131 13.5 10.0498 13.5Z",fill:"currentColor"})})}),Tg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M9.95 15.9999C10.3 15.9999 10.5958 15.8791 10.8375 15.6374C11.0792 15.3958 11.2 15.0999 11.2 14.7499C11.2 14.3999 11.0792 14.1041 10.8375 13.8624C10.5958 13.6208 10.3 13.4999 9.95 13.4999C9.6 13.4999 9.30417 13.6208 9.0625 13.8624C8.82083 14.1041 8.7 14.3999 8.7 14.7499C8.7 15.0999 8.82083 15.3958 9.0625 15.6374C9.30417 15.8791 9.6 15.9999 9.95 15.9999ZM9.05 12.1499H10.9C10.9 11.5999 10.9625 11.1666 11.0875 10.8499C11.2125 10.5333 11.5667 10.0999 12.15 9.54994C12.5833 9.11661 12.925 8.70411 13.175 8.31244C13.425 7.92077 13.55 7.44994 13.55 6.89994C13.55 5.96661 13.2083 5.24994 12.525 4.74994C11.8417 4.24994 11.0333 3.99994 10.1 3.99994C9.15 3.99994 8.37917 4.24994 7.7875 4.74994C7.19583 5.24994 6.78333 5.84994 6.55 6.54994L8.2 7.19994C8.28333 6.89994 8.47083 6.57494 8.7625 6.22494C9.05417 5.87494 9.5 5.69994 10.1 5.69994C10.6333 5.69994 11.0333 5.84577 11.3 6.13744C11.5667 6.42911 11.7 6.74994 11.7 7.09994C11.7 7.43327 11.6 7.74577 11.4 8.03744C11.2 8.32911 10.95 8.59994 10.65 8.84994C9.91667 9.49994 9.46667 9.99161 9.3 10.3249C9.13333 10.6583 9.05 11.2666 9.05 12.1499ZM10 19.9999C8.61667 19.9999 7.31667 19.7374 6.1 19.2124C4.88333 18.6874 3.825 17.9749 2.925 17.0749C2.025 16.1749 1.3125 15.1166 0.7875 13.8999C0.2625 12.6833 0 11.3833 0 9.99994C0 8.61661 0.2625 7.31661 0.7875 6.09994C1.3125 4.88327 2.025 3.82494 2.925 2.92494C3.825 2.02494 4.88333 1.31244 6.1 0.787439C7.31667 0.262439 8.61667 -6.10352e-05 10 -6.10352e-05C11.3833 -6.10352e-05 12.6833 0.262439 13.9 0.787439C15.1167 1.31244 16.175 2.02494 17.075 2.92494C17.975 3.82494 18.6875 4.88327 19.2125 6.09994C19.7375 7.31661 20 8.61661 20 9.99994C20 11.3833 19.7375 12.6833 19.2125 13.8999C18.6875 15.1166 17.975 16.1749 17.075 17.0749C16.175 17.9749 15.1167 18.6874 13.9 19.2124C12.6833 19.7374 11.3833 19.9999 10 19.9999Z",fill:"currentColor"})})}),Og=e=>X(i,{...e,children:X("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1.55556 14C1.12778 14 0.761574 13.8477 0.456944 13.5431C0.152315 13.2384 0 12.8722 0 12.4444V1.55556C0 1.12778 0.152315 0.761574 0.456944 0.456944C0.761574 0.152315 1.12778 0 1.55556 0H12.4444C12.8722 0 13.2384 0.152315 13.5431 0.456944C13.8477 0.761574 14 1.12778 14 1.55556V12.4444C14 12.8722 13.8477 13.2384 13.5431 13.5431C13.2384 13.8477 12.8722 14 12.4444 14H1.55556ZM2.33333 10.8889H11.6667L8.75 7L6.41667 10.1111L4.66667 7.77778L2.33333 10.8889Z",fill:"currentColor"})})}),Lg=e=>X(i,{...e,children:X("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM2.66667 9.33333H7.33333V8H2.66667V9.33333ZM2.66667 6.66667H9.33333V5.33333H2.66667V6.66667ZM2.66667 4H9.33333V2.66667H2.66667V4Z",fill:"currentColor"})})}),Ag=e=>X(i,{...e,children:X("svg",{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.27472 12C3.81319 12 2.56868 11.4945 1.54121 10.4835C0.513736 9.47253 0 8.24176 0 6.79121C0 6.0989 0.134615 5.43681 0.403846 4.80495C0.673077 4.17308 1.05494 3.61538 1.54945 3.13187L4.35165 0.379121C4.48352 0.258242 4.62912 0.164835 4.78846 0.0989011C4.9478 0.032967 5.10989 0 5.27472 0C5.43956 0 5.60165 0.032967 5.76099 0.0989011C5.92033 0.164835 6.06593 0.258242 6.1978 0.379121L9 3.13187C9.4945 3.61538 9.87637 4.17308 10.1456 4.80495C10.4148 5.43681 10.5494 6.0989 10.5494 6.79121C10.5494 8.24176 10.0357 9.47253 9.00824 10.4835C7.98077 11.4945 6.73626 12 5.27472 12Z",fill:"currentColor"})})}),Ng=e=>X(i,{...e,children:X("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.33333 12V6.68333C4.62222 6.68333 3.93889 6.54722 3.28333 6.275C2.62778 6.00278 2.05 5.61667 1.55 5.11667C1.05 4.61667 0.666667 4.03889 0.4 3.38333C0.133333 2.72778 0 2.04444 0 1.33333V0H1.33333C2.03333 0 2.71111 0.136111 3.36667 0.408333C4.02222 0.680556 4.6 1.06667 5.1 1.56667C5.44444 1.91111 5.73056 2.28889 5.95833 2.7C6.18611 3.11111 6.36111 3.55 6.48333 4.01667C6.53889 3.93889 6.6 3.86389 6.66667 3.79167C6.73333 3.71944 6.80556 3.64444 6.88333 3.56667C7.38333 3.06667 7.96111 2.68056 8.61667 2.40833C9.27222 2.13611 9.95556 2 10.6667 2H12V3.33333C12 4.04444 11.8639 4.72778 11.5917 5.38333C11.3194 6.03889 10.9333 6.61667 10.4333 7.11667C9.93333 7.61667 9.35833 8 8.70833 8.26667C8.05833 8.53333 7.37778 8.66667 6.66667 8.66667V12H5.33333Z",fill:"currentColor"})})}),Rg=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.013 8.18324C16.013 7.61597 15.9621 7.07051 15.8676 6.54688H8.33301V9.64142H12.6385C12.453 10.6414 11.8894 11.4887 11.0421 12.056V14.0632H13.6276C15.1403 12.6705 16.013 10.6196 16.013 8.18324Z",fill:"#4285F4"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33268 15.9995C10.4927 15.9995 12.3036 15.2832 13.6272 14.0613L11.0418 12.0541C10.3254 12.5341 9.40905 12.8177 8.33268 12.8177C6.24905 12.8177 4.48541 11.4104 3.85632 9.51953H1.18359V11.5923C2.49996 14.2068 5.20541 15.9995 8.33268 15.9995Z",fill:"#34A853"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.85664 9.51898C3.69664 9.03898 3.60574 8.52625 3.60574 7.99898C3.60574 7.4717 3.69664 6.95898 3.85664 6.47898V4.40625H1.18392C0.642099 5.48625 0.333008 6.70807 0.333008 7.99898C0.333008 9.28989 0.642099 10.5117 1.18392 11.5917L3.85664 9.51898Z",fill:"#FBBC05"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33268 3.18182C9.50723 3.18182 10.5618 3.58545 11.3909 4.37818L13.6854 2.08364C12.3 0.792727 10.489 0 8.33268 0C5.20541 0 2.49996 1.79273 1.18359 4.40727L3.85632 6.48C4.48541 4.58909 6.24905 3.18182 8.33268 3.18182Z",fill:"#EA4335"})]})}),Dg=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M16.167 8.04974C16.167 3.60622 12.5831 0 8.16699 0C3.75093 0 0.166992 3.60622 0.166992 8.04974C0.166992 12.0705 3.09181 15.4031 6.92291 16V10.371H4.87966V8.04974H6.92291V6.27565C6.92291 4.26114 8.10932 3.14197 9.93836 3.14197C10.8117 3.14197 11.718 3.30777 11.718 3.30777V5.27254H10.7128C9.71591 5.27254 9.40283 5.90259 9.40283 6.53264V8.04145H11.6273L11.2731 10.3627H9.40283V15.9917C13.2422 15.4031 16.167 12.0705 16.167 8.04974Z",fill:"#1877F2"}),X("path",{d:"M11.2811 10.3096L11.6354 8.00384H9.41086V6.50513C9.41086 5.87106 9.73218 5.25346 10.7209 5.25346H11.726V3.2936C11.726 3.2936 10.8197 3.12891 9.94639 3.12891C8.11735 3.12891 6.93095 4.24059 6.93095 6.24162V8.00384H4.8877V10.3096H6.93095V15.9009C7.33466 15.9668 7.75484 15.9997 8.17502 15.9997C8.59521 15.9997 9.0154 15.9668 9.4191 15.9009V10.3096H11.2811Z",fill:"white"})]})}),Pg=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_703_2142)",children:X("path",{d:"M10.3552 6.77143L16.3115 0H14.9001L9.72817 5.87954L5.59738 0H0.833008L7.07957 8.8909L0.833008 15.9918H2.24455L7.70622 9.78279L12.0686 15.9918H16.833L10.3548 6.77143H10.3552ZM8.42187 8.96923L7.78897 8.0839L2.75315 1.03921H4.92121L8.98517 6.7245L9.61807 7.60983L14.9007 14.9998H12.7327L8.42187 8.96957V8.96923Z",fill:"#5C5959"})}),X("defs",{children:X("clipPath",{id:"clip0_703_2142",children:X("rect",{width:"16",height:"16",fill:"white",transform:"translate(0.833008)"})})})]})}),Ig=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M7.66699 0H0.166992V7.5H7.66699V0Z",fill:"#F35325"}),X("path",{d:"M16.167 0H8.66699V7.5H16.167V0Z",fill:"#81BC06"}),X("path",{d:"M7.66699 8.5H0.166992V16H7.66699V8.5Z",fill:"#05A6F0"}),X("path",{d:"M16.167 8.5H8.66699V16H16.167V8.5Z",fill:"#FFBA08"})]})}),zg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 13.3267V11.5489H16V13.3267H0ZM0 8.88223V7.10445H16V8.88223H0ZM0 4.43778V2.66H16V4.43778H0Z",fill:"currentColor"})})}),Vg=e=>{const{size:t="16px",...n}=e;return X(i,{boxSize:t,...n,children:X("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8 8.88889C5.97297 8.88889 4.32432 7.24024 4.32432 5.21321C4.32432 3.18618 5.97297 1.53753 8 1.53753C10.027 1.53753 11.6757 3.18618 11.6757 5.21321C11.6757 7.24024 10.027 8.88889 8 8.88889ZM2 14.4625V13.136C2 11.2583 4.85714 9.92589 8 9.92589C11.1429 9.92589 14 11.2583 14 13.136V14.4625H2Z",fill:"currentColor"})})})},Hg=e=>X(i,{...e,children:X("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10.7714 6.85714L16 12.1143L14.4 13.7143L7.54286 6.85714L14.4 0L16 1.6L10.7714 6.85714ZM3.22857 6.85714L8.45714 12.1143L6.85714 13.7143L0 6.85714L6.85714 0L8.45714 1.6L3.22857 6.85714Z",fill:"#5C5959"})})}),Bg=e=>{const{fill:t,width:n,height:r,...o}=e,s=t||"currentColor",a=n??"20",l=r??n??"20";return X(i,{...e,fill:s,children:X("svg",{width:a,height:l,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M18.4444 20L11.4444 13C10.8889 13.4444 10.25 13.7963 9.52778 14.0556C8.80556 14.3148 8.03704 14.4444 7.22222 14.4444C5.2037 14.4444 3.49537 13.7454 2.09722 12.3472C0.699074 10.9491 0 9.24074 0 7.22222C0 5.2037 0.699074 3.49537 2.09722 2.09722C3.49537 0.699074 5.2037 0 7.22222 0C9.24074 0 10.9491 0.699074 12.3472 2.09722C13.7454 3.49537 14.4444 5.2037 14.4444 7.22222C14.4444 8.03704 14.3148 8.80556 14.0556 9.52778C13.7963 10.25 13.4444 10.8889 13 11.4444L20 18.4444L18.4444 20ZM7.22222 12.2222C8.61111 12.2222 9.79167 11.7361 10.7639 10.7639C11.7361 9.79167 12.2222 8.61111 12.2222 7.22222C12.2222 5.83333 11.7361 4.65278 10.7639 3.68056C9.79167 2.70833 8.61111 2.22222 7.22222 2.22222C5.83333 2.22222 4.65278 2.70833 3.68056 3.68056C2.70833 4.65278 2.22222 5.83333 2.22222 7.22222C2.22222 8.61111 2.70833 9.79167 3.68056 10.7639C4.65278 11.7361 5.83333 12.2222 7.22222 12.2222Z"})})})},_g=e=>X(i,{...e,children:Y("svg",{width:"16",height:"12.2513",viewBox:"0 0 16 12.2513",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M15.0602 0.939796C14.7633 0.641913 14.4106 0.405559 14.0222 0.244287C13.6338 0.0830158 13.2174 0 12.7969 0C12.3763 0 11.9599 0.0830158 11.5716 0.244287C11.1832 0.405559 10.8304 0.641913 10.5336 0.939796L11.2898 1.69601C11.4881 1.49774 11.7234 1.34047 11.9825 1.23317C12.2415 1.12587 12.5192 1.07064 12.7996 1.07064C13.0799 1.07064 13.3576 1.12587 13.6166 1.23317C13.8757 1.34047 14.111 1.49774 14.3093 1.69601C14.5076 1.89427 14.6649 2.12965 14.7722 2.38869C14.8795 2.64774 14.9347 2.92538 14.9347 3.20577C14.9347 3.48616 14.8795 3.7638 14.7722 4.02285C14.6649 4.28189 14.5076 4.51727 14.3093 4.71553L10.049 8.97588C9.64926 9.37629 9.10686 9.60152 8.54109 9.60202C7.97532 9.60252 7.43252 9.37825 7.03211 8.97854C6.63169 8.57883 6.40646 8.03643 6.40596 7.47066C6.40546 6.90489 6.62974 6.3621 7.02944 5.96168L7.78033 5.20547L7.02944 4.44926L6.27323 5.20547C5.97535 5.50232 5.73899 5.85505 5.57772 6.24344C5.41645 6.63183 5.33344 7.04824 5.33344 7.46878C5.33344 7.88932 5.41645 8.30572 5.57772 8.69411C5.73899 9.0825 5.97535 9.43524 6.27323 9.73209C6.8758 10.3269 7.68984 10.6583 8.53654 10.6534C8.9587 10.6551 9.37701 10.5732 9.76732 10.4123C10.1576 10.2514 10.5122 10.0148 10.8105 9.71611L15.0709 5.45576C15.6678 4.85524 16.002 4.04232 16 3.19558C15.998 2.34883 15.66 1.5375 15.0602 0.939796Z",fill:"black",stroke:"none"}),X("path",{d:"M1.71466 10.5575C1.5158 10.3596 1.35801 10.1243 1.25034 9.86524C1.14267 9.60615 1.08724 9.32834 1.08724 9.04777C1.08724 8.7672 1.14267 8.48939 1.25034 8.2303C1.35801 7.97121 1.5158 7.73594 1.71466 7.53801L5.97501 3.27766C6.17294 3.07881 6.40821 2.92101 6.6673 2.81334C6.92639 2.70567 7.2042 2.65024 7.48477 2.65024C7.76534 2.65024 8.04315 2.70567 8.30224 2.81334C8.56133 2.92101 8.7966 3.07881 8.99453 3.27766C9.19213 3.47715 9.34768 3.71428 9.45196 3.97498C9.55624 4.23569 9.60714 4.51468 9.60163 4.79541C9.60325 5.07702 9.54902 5.35616 9.44207 5.61668C9.33512 5.8772 9.17758 6.11392 8.97855 6.31316L7.84956 7.45813L8.60577 8.21434L9.73476 7.08535C10.3357 6.48437 10.6734 5.66928 10.6734 4.81938C10.6734 3.96947 10.3357 3.15438 9.73476 2.5534C9.13379 1.95243 8.3187 1.61481 7.46879 1.61481C6.61889 1.61481 5.80379 1.95243 5.20282 2.5534L0.942471 6.81375C0.643787 7.1107 0.406756 7.46376 0.245012 7.85265C0.0832669 8.24153 0 8.65855 0 9.07972C0 9.5009 0.0832669 9.91792 0.245012 10.3068C0.406756 10.6957 0.643787 11.0487 0.942471 11.3457C1.54894 11.936 2.36484 12.2616 3.21111 12.251C4.06483 12.2518 4.88421 11.9149 5.49039 11.3137L4.73418 10.5575C4.53625 10.7564 4.30098 10.9142 4.04189 11.0219C3.7828 11.1295 3.50499 11.185 3.22442 11.185C2.94385 11.185 2.66604 11.1295 2.40695 11.0219C2.14786 10.9142 1.91259 10.7564 1.71466 10.5575Z",fill:"black",stroke:"none"})]})}),jg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M2 3H14V4.5H2V3Z",fill:"black",stroke:"none"}),X("path",{d:"M2 6.5H10V8H2V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M2 10H14V11.5H2V10Z",fill:"black",stroke:"none"}),X("path",{d:"M2 13.5H10V15H2V13.5Z",fill:"black",stroke:"none"})]})}),Fg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M1 3H15V4.5H1V3Z",fill:"black",stroke:"none"}),X("path",{d:"M4 6.5H12V8H4V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M1 10H15V11.5H1V10Z",fill:"black",stroke:"none"}),X("path",{d:"M4 13.5H12V15H4V13.5Z",fill:"black",stroke:"none"})]})}),qg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M2 3H14V4.5H2V3Z",fill:"black",stroke:"none"}),X("path",{d:"M6 6.5H14V8H6V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M2 10H14V11.5H2V10Z",fill:"black",stroke:"none"}),X("path",{d:"M6 13.5H14V15H6V13.5Z",fill:"black",stroke:"none"})]})}),Wg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M1 3H15V4.5H1V3Z",fill:"black",stroke:"none"}),X("path",{d:"M1 6.5H15V8H1V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M1 10H15V11.5H1V10Z",fill:"black",stroke:"none"}),X("path",{d:"M1 13.5H15V15H1V13.5Z",fill:"black",stroke:"none"})]})}),Ug=ke`
378
+ `,og=({icon:e,disabled:t,...r})=>ve(n,{css:rg,"aria-label":r["aria-label"],disabled:t,...r,children:e}),ig=e=>X(i,{...e,children:Y("svg",{viewBox:"0 0 16 17",children:[Y("g",{clipPath:"url(#clip0_1216_84)",children:[X("path",{d:"M9.78791 8.03125H16V2.21875C16 1.27103 15.229 0.5 14.2812 0.5H7.1875V16.5H14.2812C15.229 16.5 16 15.729 16 14.7812V8.96875H9.78791L10.5502 9.73106C10.7333 9.91413 10.7333 10.2109 10.5502 10.394C10.3672 10.577 10.0704 10.577 9.88731 10.394L8.32481 8.83147C8.14175 8.64841 8.14175 8.35162 8.32481 8.16856L9.88731 6.60606C10.0704 6.423 10.3672 6.423 10.5502 6.60606C10.7333 6.78912 10.7333 7.08591 10.5502 7.26897L9.78791 8.03125Z",fill:"#4F4E4E"}),X("path",{d:"M0 2.21875V14.7812C0 15.729 0.771031 16.5 1.71875 16.5H6.25V0.5H1.71875C0.771031 0.5 0 1.27103 0 2.21875ZM4.375 7.0625H1.875C1.61612 7.0625 1.40625 6.85262 1.40625 6.59375C1.40625 6.33488 1.61612 6.125 1.875 6.125H4.375C4.63387 6.125 4.84375 6.33488 4.84375 6.59375C4.84375 6.85262 4.63387 7.0625 4.375 7.0625ZM4.375 5.1875H1.875C1.61612 5.1875 1.40625 4.97762 1.40625 4.71875C1.40625 4.45988 1.61612 4.25 1.875 4.25H4.375C4.63387 4.25 4.84375 4.45988 4.84375 4.71875C4.84375 4.97762 4.63387 5.1875 4.375 5.1875ZM4.375 2.375C4.63387 2.375 4.84375 2.58488 4.84375 2.84375C4.84375 3.10262 4.63387 3.3125 4.375 3.3125H1.875C1.61612 3.3125 1.40625 3.10262 1.40625 2.84375C1.40625 2.58488 1.61612 2.375 1.875 2.375H4.375Z",fill:"#4F4E4E"})]}),X("defs",{children:X("clipPath",{id:"clip0_1216_84",children:X("rect",{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"})})})]})}),sg=e=>X(i,{...e,children:Y("svg",{viewBox:"0 0 16 17",children:[X("path",{d:"M0 2.21875V14.7812C0 15.729 0.771031 16.5 1.71875 16.5H6.25V0.5H1.71875C0.771031 0.5 0 1.27103 0 2.21875ZM4.375 7.0625H1.875C1.61612 7.0625 1.40625 6.85262 1.40625 6.59375C1.40625 6.33488 1.61612 6.125 1.875 6.125H4.375C4.63387 6.125 4.84375 6.33488 4.84375 6.59375C4.84375 6.85262 4.63387 7.0625 4.375 7.0625ZM4.375 5.1875H1.875C1.61612 5.1875 1.40625 4.97762 1.40625 4.71875C1.40625 4.45988 1.61612 4.25 1.875 4.25H4.375C4.63387 4.25 4.84375 4.45988 4.84375 4.71875C4.84375 4.97762 4.63387 5.1875 4.375 5.1875ZM4.375 2.375C4.63387 2.375 4.84375 2.58488 4.84375 2.84375C4.84375 3.10262 4.63387 3.3125 4.375 3.3125H1.875C1.61612 3.3125 1.40625 3.10262 1.40625 2.84375C1.40625 2.58488 1.61612 2.375 1.875 2.375H4.375Z",fill:"#4F4E4E"}),X("path",{d:"M14.2812 0.5H7.1875V8.03125H12.4621L11.6998 7.26897C11.5168 7.08591 11.5168 6.78912 11.6998 6.60606C11.8829 6.423 12.1797 6.423 12.3627 6.60606L13.9252 8.16856C14.1083 8.35162 14.1083 8.64841 13.9252 8.83147L12.3627 10.394C12.1797 10.577 11.8829 10.577 11.6998 10.394C11.5168 10.2109 11.5168 9.91413 11.6998 9.73106L12.4621 8.96875H7.1875V16.5H14.2812C15.229 16.5 16 15.729 16 14.7812V2.21875C16 1.27103 15.229 0.5 14.2812 0.5Z",fill:"#4F4E4E"})]})}),ag=e=>X(i,{...e,children:X("svg",{viewBox:"0 0 12 12",height:"12px",width:"12px",children:X("path",{d:"M4.19632 10.4277L0 6.23139L1.04908 5.18231L4.19632 8.32955L10.9509 1.57495L12 2.62403L4.19632 10.4277Z",fill:"currentColor"})})}),lg=e=>X(i,{...e,children:X("svg",{viewBox:"0 0 12 12",height:"12px",width:"12px",children:X("path",{d:"M0 6.75V5.25H12V6.75H0Z",fill:"auto"})})}),cg=e=>X(i,{...e,children:X("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M4.5 7.49997H5.5V4.49997H4.5V7.49997ZM5 3.49997C5.14167 3.49997 5.26042 3.45205 5.35625 3.35622C5.45208 3.26039 5.5 3.14164 5.5 2.99997C5.5 2.8583 5.45208 2.73955 5.35625 2.64372C5.26042 2.54789 5.14167 2.49997 5 2.49997C4.85833 2.49997 4.73958 2.54789 4.64375 2.64372C4.54792 2.73955 4.5 2.8583 4.5 2.99997C4.5 3.14164 4.54792 3.26039 4.64375 3.35622C4.73958 3.45205 4.85833 3.49997 5 3.49997ZM5 9.99997C4.30833 9.99997 3.65833 9.86872 3.05 9.60622C2.44167 9.34372 1.9125 8.98747 1.4625 8.53747C1.0125 8.08747 0.65625 7.5583 0.39375 6.94997C0.13125 6.34164 0 5.69164 0 4.99997C0 4.3083 0.13125 3.6583 0.39375 3.04997C0.65625 2.44164 1.0125 1.91247 1.4625 1.46247C1.9125 1.01247 2.44167 0.656219 3.05 0.393719C3.65833 0.131219 4.30833 -3.05176e-05 5 -3.05176e-05C5.69167 -3.05176e-05 6.34167 0.131219 6.95 0.393719C7.55833 0.656219 8.0875 1.01247 8.5375 1.46247C8.9875 1.91247 9.34375 2.44164 9.60625 3.04997C9.86875 3.6583 10 4.3083 10 4.99997C10 5.69164 9.86875 6.34164 9.60625 6.94997C9.34375 7.5583 8.9875 8.08747 8.5375 8.53747C8.0875 8.98747 7.55833 9.34372 6.95 9.60622C6.34167 9.86872 5.69167 9.99997 5 9.99997Z",fill:"currentColor"})})}),dg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8 13.3667L0 5.36667L1.86667 3.5L8 9.63333L14.1333 3.5L16 5.36667L8 13.3667Z",fill:"currentColor"})})}),ug=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.37 0L13.37 8L5.37 16L3.50333 14.1333L9.63667 8L3.50333 1.86667L5.37 0Z",fill:"currentColor"})})}),hg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10.63 16L2.63 8L10.63 0L12.4967 1.86667L6.36333 8L12.4967 14.1333L10.63 16Z",fill:"currentColor"})})}),pg=e=>X(i,{...e,children:X("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1 10L0 9L4 5L0 1L1 0L5 4L9 0L10 1L6 5L10 9L9 10L5 6L1 10Z",fill:"currentColor"})})}),fg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8 16C7.45 16 6.97917 15.8042 6.5875 15.4125C6.19583 15.0208 6 14.55 6 14C6 13.45 6.19583 12.9792 6.5875 12.5875C6.97917 12.1958 7.45 12 8 12C8.55 12 9.02083 12.1958 9.4125 12.5875C9.80417 12.9792 10 13.45 10 14C10 14.55 9.80417 15.0208 9.4125 15.4125C9.02083 15.8042 8.55 16 8 16ZM8 10C7.45 10 6.97917 9.80417 6.5875 9.4125C6.19583 9.02083 6 8.55 6 8C6 7.45 6.19583 6.97917 6.5875 6.5875C6.97917 6.19583 7.45 6 8 6C8.55 6 9.02083 6.19583 9.4125 6.5875C9.80417 6.97917 10 7.45 10 8C10 8.55 9.80417 9.02083 9.4125 9.4125C9.02083 9.80417 8.55 10 8 10ZM8 4C7.45 4 6.97917 3.80417 6.5875 3.4125C6.19583 3.02083 6 2.55 6 2C6 1.45 6.19583 0.979167 6.5875 0.5875C6.97917 0.195833 7.45 0 8 0C8.55 0 9.02083 0.195833 9.4125 0.5875C9.80417 0.979167 10 1.45 10 2C10 2.55 9.80417 3.02083 9.4125 3.4125C9.02083 3.80417 8.55 4 8 4Z",fill:"currentColor"})})}),mg=e=>X(i,{...e,children:X("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5 6.95455C5.56818 6.95455 6.05114 6.75568 6.44886 6.35795C6.84659 5.96023 7.04545 5.47727 7.04545 4.90909C7.04545 4.34091 6.84659 3.85795 6.44886 3.46023C6.05114 3.0625 5.56818 2.86364 5 2.86364C4.43182 2.86364 3.94886 3.0625 3.55114 3.46023C3.15341 3.85795 2.95455 4.34091 2.95455 4.90909C2.95455 5.47727 3.15341 5.96023 3.55114 6.35795C3.94886 6.75568 4.43182 6.95455 5 6.95455ZM5 6.13636C4.65909 6.13636 4.36932 6.01705 4.13068 5.77841C3.89205 5.53977 3.77273 5.25 3.77273 4.90909C3.77273 4.56818 3.89205 4.27841 4.13068 4.03977C4.36932 3.80114 4.65909 3.68182 5 3.68182C5.34091 3.68182 5.63068 3.80114 5.86932 4.03977C6.10795 4.27841 6.22727 4.56818 6.22727 4.90909C6.22727 5.25 6.10795 5.53977 5.86932 5.77841C5.63068 6.01705 5.34091 6.13636 5 6.13636ZM5 8.31818C3.89394 8.31818 2.88636 8.00947 1.97727 7.39205C1.06818 6.77462 0.409091 5.94697 0 4.90909C0.409091 3.87121 1.06818 3.04356 1.97727 2.42614C2.88636 1.80871 3.89394 1.5 5 1.5C6.10606 1.5 7.11364 1.80871 8.02273 2.42614C8.93182 3.04356 9.59091 3.87121 10 4.90909C9.59091 5.94697 8.93182 6.77462 8.02273 7.39205C7.11364 8.00947 6.10606 8.31818 5 8.31818Z",fill:"currentColor"})})}),gg=e=>X(i,{...e,children:Y("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_4626_1381)",children:X("path",{d:"M8.54545 9.9375L6.63636 8.05114C6.37121 8.13447 6.10417 8.19697 5.83523 8.23864C5.56629 8.2803 5.28788 8.30114 5 8.30114C3.85606 8.30114 2.83712 7.98485 1.94318 7.35227C1.04924 6.7197 0.401515 5.89962 0 4.89205C0.159091 4.49053 0.359848 4.11742 0.602273 3.77273C0.844697 3.42803 1.12121 3.11932 1.43182 2.84659L0.181818 1.57386L0.818182 0.9375L9.18182 9.30114L8.54545 9.9375ZM5 6.9375C5.08333 6.9375 5.16098 6.93371 5.23295 6.92614C5.30492 6.91856 5.38258 6.90341 5.46591 6.88068L3.01136 4.42614C2.98864 4.50947 2.97348 4.58712 2.96591 4.65909C2.95833 4.73106 2.95455 4.80871 2.95455 4.89205C2.95455 5.46023 3.15341 5.94318 3.55114 6.34091C3.94886 6.73864 4.43182 6.9375 5 6.9375ZM8.31818 7.14205L6.875 5.71023C6.92803 5.58144 6.9697 5.45076 7 5.31818C7.0303 5.18561 7.04545 5.04356 7.04545 4.89205C7.04545 4.32386 6.84659 3.84091 6.44886 3.44318C6.05114 3.04545 5.56818 2.84659 5 2.84659C4.84848 2.84659 4.70644 2.86174 4.57386 2.89205C4.44129 2.92235 4.31061 2.9678 4.18182 3.02841L3.02273 1.86932C3.33333 1.74053 3.65152 1.64394 3.97727 1.57955C4.30303 1.51515 4.64394 1.48295 5 1.48295C6.14394 1.48295 7.16288 1.79924 8.05682 2.43182C8.95076 3.06439 9.59848 3.88447 10 4.89205C9.82576 5.33902 9.59659 5.75379 9.3125 6.13636C9.02841 6.51894 8.69697 6.85417 8.31818 7.14205ZM6.21591 5.05114L4.85227 3.6875C5.06439 3.64962 5.25947 3.66667 5.4375 3.73864C5.61553 3.81061 5.76894 3.91477 5.89773 4.05114C6.02652 4.1875 6.11932 4.3447 6.17614 4.52273C6.23295 4.70076 6.24621 4.87689 6.21591 5.05114Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_4626_1381",children:X("rect",{width:"10",height:"10",fill:"white"})})})]})}),bg=e=>X(i,{...e,children:Y("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_4916_54426)",children:X("path",{d:"M8.6 14.6L15.65 7.55L14.25 6.15L8.6 11.8L5.75 8.95L4.35 10.35L8.6 14.6ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_4916_54426",children:X("rect",{width:"20",height:"20",fill:"white"})})})]})}),vg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 18.6477L10 1.375L20 18.6477H0ZM10 15.9205C10.2576 15.9205 10.4735 15.8333 10.6477 15.6591C10.822 15.4848 10.9091 15.2689 10.9091 15.0114C10.9091 14.7538 10.822 14.5379 10.6477 14.3636C10.4735 14.1894 10.2576 14.1023 10 14.1023C9.74242 14.1023 9.52652 14.1894 9.35227 14.3636C9.17803 14.5379 9.09091 14.7538 9.09091 15.0114C9.09091 15.2689 9.17803 15.4848 9.35227 15.6591C9.52652 15.8333 9.74242 15.9205 10 15.9205ZM9.09091 13.1932H10.9091V8.64773H9.09091V13.1932Z",fill:"currentColor"})})}),yg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10 15C10.2833 15 10.5208 14.9042 10.7125 14.7125C10.9042 14.5208 11 14.2833 11 14C11 13.7167 10.9042 13.4792 10.7125 13.2875C10.5208 13.0958 10.2833 13 10 13C9.71667 13 9.47917 13.0958 9.2875 13.2875C9.09583 13.4792 9 13.7167 9 14C9 14.2833 9.09583 14.5208 9.2875 14.7125C9.47917 14.9042 9.71667 15 10 15ZM9 11H11V5H9V11ZM10 20C8.61667 20 7.31667 19.7375 6.1 19.2125C4.88333 18.6875 3.825 17.975 2.925 17.075C2.025 16.175 1.3125 15.1167 0.7875 13.9C0.2625 12.6833 0 11.3833 0 10C0 8.61667 0.2625 7.31667 0.7875 6.1C1.3125 4.88333 2.025 3.825 2.925 2.925C3.825 2.025 4.88333 1.3125 6.1 0.7875C7.31667 0.2625 8.61667 0 10 0C11.3833 0 12.6833 0.2625 13.9 0.7875C15.1167 1.3125 16.175 2.025 17.075 2.925C17.975 3.825 18.6875 4.88333 19.2125 6.1C19.7375 7.31667 20 8.61667 20 10C20 11.3833 19.7375 12.6833 19.2125 13.9C18.6875 15.1167 17.975 16.175 17.075 17.075C16.175 17.975 15.1167 18.6875 13.9 19.2125C12.6833 19.7375 11.3833 20 10 20Z",fill:"currentColor"})})}),wg=e=>X(i,{...e,children:Y("svg",{width:"91",height:"32",viewBox:"0 0 91 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.79733 2.62109L7.05688 4.36154L8.6964 6.00105L10.4368 4.26061L8.79733 2.62109",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4348 17.7395L26.7261 24.0306L28.4666 22.2904L22.1753 15.999L20.4348 17.7395",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.83032 8.73722L8.57056 10.4775L15.5197 3.52853L17.9952 6.00428L19.7357 4.26384L15.5197 0.0478516L6.83032 8.73722",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.0828 8.74062L26.823 10.4811L28.4667 8.83761L26.7262 7.09717L25.0828 8.74062",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.05664 26.7665L8.79688 28.5069L15.088 22.216L13.3476 20.4756L7.05664 26.7665",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9583 17.865L17.6987 19.6052L24.2126 13.0913L22.4722 11.3511L15.9583 17.865",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.606 8.61475L27.5582 15.5672L25.086 18.0396L26.8264 19.7799L31.0391 15.5672L22.3462 6.87451L20.606 8.61475",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58008 22.2898L4.32031 24.0302L5.95651 22.394L4.21607 20.6538L2.58008 22.2898",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9583 8.91145L17.6987 10.6517L23.99 4.36056L22.2496 2.62012L15.9583 8.91145",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 15.5676L8.69268 24.2603L10.4331 22.5198L3.48068 15.5676L5.96016 13.0881L4.21971 11.3477L0 15.5676",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3071 8.61154L17.8244 15.1288L19.5646 13.3885L13.0474 6.87109L11.3071 8.61154",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6091 26.8674L22.2493 28.5073L23.9897 26.7671L22.3496 25.127L20.6091 26.8674",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58008 8.83789L8.87079 15.1286L10.6112 13.3884L4.32052 7.09766L2.58008 8.83789",fill:"#9B9B9B"}),X("mask",{id:"mask0_2684_24177",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"11",y:"15",width:"14",height:"17",children:X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3035 15.999H24.2159V31.0746H11.3035V15.999Z",fill:"white"})}),Y("g",{mask:"url(#mask0_2684_24177)",children:[X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4817 17.7395L17.9989 24.2567L19.7392 22.5163L13.2219 15.999L11.4817 17.7395",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5195 27.6061L13.0437 25.1303L11.3035 26.8706L15.5195 31.0868L24.2159 22.3903L22.4756 20.6499L15.5195 27.6061",fill:"#9B9B9B"})]}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.82666 18.0429L8.5669 19.7834L15.0881 13.2624L13.3476 11.522L6.82666 18.0429",fill:"#9B9B9B"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.8376 3.46878C39.7609 3.22403 39.6861 3.06362 39.5918 2.99958C39.5199 2.95005 39.386 2.93948 39.3278 2.93948C39.2598 2.93948 39.219 2.93264 39.219 2.87834C39.219 2.83171 39.2754 2.82031 39.3653 2.82031C39.7133 2.82031 40.0782 2.83648 40.1396 2.83648C40.1999 2.83648 40.4927 2.82031 40.8782 2.82031C40.9688 2.82031 41.0173 2.83648 41.0173 2.87834C41.0173 2.93264 40.9628 2.93948 40.8968 2.93948C40.8442 2.93948 40.7783 2.93948 40.7319 2.96373C40.6714 2.99191 40.6579 3.0373 40.6579 3.10921C40.6579 3.19853 40.724 3.42402 40.8055 3.721C40.9174 4.16202 41.5358 6.18037 41.656 6.55196H41.6755L42.9658 3.08496C43.0325 2.89616 43.0773 2.84497 43.1336 2.84497C43.2064 2.84497 43.2387 2.94632 43.3278 3.15999L44.7104 6.5043H44.7296C44.8482 6.05851 45.3823 4.30149 45.6173 3.52391C45.66 3.37138 45.6811 3.23169 45.6811 3.13615C45.6811 3.0315 45.6222 2.93948 45.3617 2.93948C45.2969 2.93948 45.2502 2.9171 45.2502 2.87834C45.2502 2.83171 45.3008 2.82031 45.4036 2.82031C45.7549 2.82031 46.034 2.83648 46.0939 2.83648C46.1395 2.83648 46.4268 2.82031 46.6462 2.82031C46.7184 2.82031 46.7658 2.83171 46.7658 2.87233C46.7658 2.9171 46.7351 2.93948 46.6744 2.93948C46.6067 2.93948 46.5142 2.94632 46.4407 2.97139C46.2796 3.0315 46.2092 3.29656 46.0657 3.67831C45.763 4.51578 45.0639 6.63155 44.7377 7.62964C44.6639 7.86258 44.6308 7.94279 44.5435 7.94279C44.4756 7.94279 44.4378 7.86258 44.3377 7.6141L42.9542 4.2818H42.9397C42.8143 4.62169 41.9279 6.97723 41.6423 7.58778C41.514 7.86258 41.4831 7.94279 41.4034 7.94279C41.3358 7.94279 41.3105 7.87025 41.2502 7.69575L39.8376 3.46878",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.4736 5.46052C52.4736 3.96919 51.6156 3.04363 50.5241 3.04363C49.7593 3.04363 48.8862 3.46848 48.8862 5.12686C48.8862 6.51167 49.6547 7.61007 50.9315 7.61007C51.3984 7.61007 52.4736 7.38417 52.4736 5.46052ZM47.9695 5.33425C47.9695 4.19523 48.7201 2.72607 50.7182 2.72607C52.3747 2.72607 53.4068 3.68811 53.4068 5.21384C53.4068 6.73834 52.3397 7.94243 50.6521 7.94243C48.7413 7.94243 47.9695 6.51161 47.9695 5.33425V5.33425Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.6253 5.27407C56.6253 5.34806 56.6388 5.37251 56.685 5.39469C56.8222 5.44111 57.0255 5.46059 57.1911 5.46059C57.4551 5.46059 57.5428 5.43261 57.6644 5.34806C57.8634 5.20029 58.0557 4.89253 58.0557 4.34561C58.0557 3.40327 57.4331 3.13178 57.0371 3.13178C56.8709 3.13178 56.7515 3.13593 56.685 3.15976C56.6388 3.17219 56.6253 3.19831 56.6253 3.25115V5.27407ZM55.8409 4.74893C55.8409 3.73799 55.8409 3.5494 55.8277 3.33842C55.8144 3.10921 55.7609 3.00435 55.5421 2.95689C55.4865 2.94632 55.3769 2.93948 55.2814 2.93948C55.208 2.93948 55.1667 2.92352 55.1667 2.87834C55.1667 2.83171 55.2146 2.82031 55.3122 2.82031C55.6681 2.82031 56.0873 2.83648 56.2272 2.83648C56.4521 2.83648 56.9576 2.82031 57.1633 2.82031C57.5836 2.82031 58.0313 2.86052 58.3884 3.10465C58.5765 3.23169 58.841 3.5724 58.841 4.01632C58.841 4.50957 58.6354 4.95825 57.9633 5.50455C58.5554 6.25187 59.014 6.84501 59.4066 7.25598C59.7788 7.64145 60.0519 7.68767 60.1537 7.70984C60.225 7.72373 60.2867 7.72891 60.3379 7.72891C60.3924 7.72891 60.4187 7.75233 60.4187 7.78404C60.4187 7.83357 60.3732 7.8489 60.2913 7.8489H59.6602C59.2866 7.8489 59.1197 7.81429 58.9498 7.72373C58.6626 7.56974 58.4076 7.25598 58.0369 6.74512C57.7708 6.37705 57.4665 5.92671 57.3766 5.82371C57.3461 5.78785 57.3051 5.78018 57.2585 5.78018L56.6788 5.76485C56.6469 5.76485 56.6253 5.78018 56.6253 5.8179V5.91344C56.6253 6.53145 56.6253 7.05661 56.6585 7.3368C56.6788 7.52871 56.7165 7.6773 56.9194 7.70155C57.0195 7.71751 57.1633 7.72891 57.2429 7.72891C57.297 7.72891 57.3264 7.75233 57.3264 7.78404C57.3264 7.82984 57.279 7.8489 57.1911 7.8489C56.8056 7.8489 56.3132 7.82984 56.2142 7.82984C56.0873 7.82984 55.6681 7.8489 55.4016 7.8489C55.3122 7.8489 55.2681 7.82984 55.2681 7.78404C55.2681 7.75233 55.2944 7.72891 55.3769 7.72891C55.4751 7.72891 55.5543 7.71751 55.6142 7.70155C55.7466 7.6773 55.7808 7.52871 55.8071 7.3368C55.8409 7.05661 55.8409 6.53145 55.8409 5.92028V4.74893V4.74893Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M62.7401 5.92028C62.7401 6.76978 62.7401 7.22986 62.8795 7.34944C62.9923 7.45099 63.167 7.49804 63.6837 7.49804C64.037 7.49804 64.2973 7.48913 64.4635 7.30945C64.5458 7.22385 64.6235 7.03567 64.6351 6.91236C64.6426 6.85164 64.6544 6.8104 64.7079 6.8104C64.7576 6.8104 64.7636 6.84501 64.7636 6.92273C64.7636 6.99858 64.7159 7.49804 64.6633 7.68767C64.6235 7.83357 64.5885 7.87025 64.2426 7.87025C63.7651 7.87025 63.4198 7.85491 63.1195 7.8489C62.8194 7.83357 62.5805 7.82984 62.3067 7.82984C62.2352 7.82984 62.0852 7.82984 61.9272 7.83357C61.7749 7.83357 61.6029 7.8489 61.4709 7.8489C61.3832 7.8489 61.3349 7.82984 61.3349 7.78404C61.3349 7.75233 61.365 7.72891 61.4413 7.72891C61.543 7.72891 61.6216 7.71751 61.6819 7.70155C61.8176 7.6773 61.8487 7.52871 61.874 7.3368C61.9082 7.05661 61.9082 6.53145 61.9082 5.92028V4.74893C61.9082 3.73799 61.9082 3.5494 61.8951 3.33842C61.8817 3.10921 61.8269 3.00435 61.6095 2.95689C61.5577 2.94632 61.474 2.93948 61.3886 2.93948C61.3155 2.93948 61.2759 2.92352 61.2759 2.87834C61.2759 2.83171 61.3233 2.82031 61.4214 2.82031C61.7353 2.82031 62.1536 2.83648 62.3341 2.83648C62.4939 2.83648 62.9803 2.82031 63.2387 2.82031C63.3324 2.82031 63.38 2.83171 63.38 2.87834C63.38 2.92352 63.339 2.93948 63.2588 2.93948C63.1867 2.93948 63.0816 2.94632 62.9991 2.95689C62.8194 2.99191 62.7647 3.10465 62.7533 3.33842C62.7401 3.5494 62.7401 3.73799 62.7401 4.74893V5.92028",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.8097 5.48049C67.8097 6.18388 67.8141 6.6966 67.8234 6.82509C67.8294 6.99068 67.8447 7.25575 67.8978 7.33056C67.9832 7.45595 68.2426 7.59501 68.7672 7.59501C69.4469 7.59501 69.9002 7.46237 70.2973 7.11627C70.7267 6.74903 70.8568 6.14512 70.8568 5.46059C70.8568 4.61607 70.5043 4.06832 70.22 3.79517C69.6061 3.21012 68.8478 3.13178 68.3284 3.13178C68.1954 3.13178 67.9498 3.1496 67.8978 3.17696C67.8375 3.20432 67.8141 3.23706 67.8141 3.30918C67.8097 3.53819 67.8097 4.11682 67.8097 4.64343V5.48049ZM66.9788 4.74893C66.9788 3.73799 66.9788 3.5494 66.9632 3.33842C66.95 3.10921 66.8969 3.00435 66.6779 2.95689C66.6254 2.94632 66.5114 2.93948 66.4196 2.93948C66.3438 2.93948 66.3042 2.92352 66.3042 2.87834C66.3042 2.83171 66.3531 2.82031 66.4509 2.82031C66.8041 2.82031 67.2215 2.83648 67.4096 2.83648C67.6156 2.83648 68.0355 2.82031 68.4355 2.82031C69.267 2.82031 70.3786 2.82031 71.1044 3.57676C71.4374 3.92389 71.7481 4.47661 71.7481 5.26622C71.7481 6.10556 71.3968 6.74512 71.0236 7.125C70.7169 7.43669 70.0257 7.90942 68.7953 7.90942C68.5559 7.90942 68.2817 7.88911 68.0297 7.87025C67.7761 7.8489 67.5417 7.82984 67.379 7.82984C67.3042 7.82984 67.1574 7.82984 66.9964 7.83357C66.8441 7.83357 66.6721 7.8489 66.5373 7.8489C66.4509 7.8489 66.407 7.82984 66.407 7.78404C66.407 7.75233 66.4335 7.72891 66.5114 7.72891C66.612 7.72891 66.6932 7.71751 66.7518 7.70155C66.8855 7.6773 66.9187 7.52871 66.9456 7.3368C66.9788 7.05661 66.9788 6.53145 66.9788 5.92028V4.74893V4.74893Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.2173 16.0733C41.2173 16.1481 41.231 16.1755 41.2755 16.1948C41.4152 16.241 41.6173 16.2607 41.7812 16.2607C42.0492 16.2607 42.1356 16.2333 42.2543 16.1481C42.456 16.0002 42.6456 15.6964 42.6456 15.1501C42.6456 14.2044 42.022 13.9325 41.6299 13.9325C41.4637 13.9325 41.3425 13.9385 41.2755 13.9582C41.231 13.9727 41.2173 13.9965 41.2173 14.0508V16.0733ZM40.4308 15.5499C40.4308 14.5375 40.4308 14.3499 40.419 14.1383C40.4055 13.9131 40.3531 13.8053 40.1297 13.7597C40.0783 13.746 39.966 13.7406 39.8735 13.7406C39.8016 13.7406 39.761 13.727 39.761 13.6772C39.761 13.6316 39.8055 13.6167 39.9083 13.6167C40.258 13.6167 40.6772 13.6397 40.8181 13.6397C41.0424 13.6397 41.5472 13.6167 41.757 13.6167C42.1733 13.6167 42.6222 13.6606 42.9812 13.9075C43.1658 14.0335 43.434 14.3723 43.434 14.8179C43.434 15.3084 43.2251 15.7621 42.5542 16.3086C43.1463 17.053 43.6056 17.6457 43.9979 18.0588C44.3697 18.4434 44.6426 18.4917 44.7425 18.5095C44.8176 18.5228 44.8756 18.5328 44.9299 18.5328C44.9804 18.5328 45.0097 18.5489 45.0097 18.5829C45.0097 18.6376 44.9628 18.6492 44.8837 18.6492H44.2503C43.8754 18.6492 43.7123 18.6171 43.5376 18.5228C43.2522 18.3697 42.9996 18.0588 42.627 17.5452C42.3611 17.1811 42.056 16.727 41.9688 16.6288C41.9358 16.5867 41.8937 16.5815 41.8463 16.5815L41.2714 16.5683C41.2376 16.5683 41.2173 16.5815 41.2173 16.6203V16.7152C41.2173 17.3328 41.2173 17.8571 41.2502 18.1375C41.2714 18.3294 41.3106 18.477 41.5097 18.5035C41.6096 18.5174 41.757 18.5328 41.8347 18.5328C41.8892 18.5328 41.9163 18.5489 41.9163 18.5829C41.9163 18.6287 41.8678 18.6492 41.7812 18.6492C41.3959 18.6492 40.9046 18.6287 40.8055 18.6287C40.6772 18.6287 40.258 18.6492 39.9937 18.6492C39.9083 18.6492 39.8582 18.6287 39.8582 18.5829C39.8582 18.5489 39.8862 18.5328 39.966 18.5328C40.0661 18.5328 40.1465 18.5174 40.2076 18.5035C40.3396 18.477 40.3734 18.3294 40.3999 18.1375C40.4308 17.8571 40.4308 17.3328 40.4308 16.7192V15.5499V15.5499Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.4986 15.5498C46.4986 14.5374 46.4986 14.3499 46.4862 14.1383C46.4737 13.913 46.419 13.8052 46.1998 13.7596C46.1463 13.7459 46.0306 13.7406 45.9419 13.7406C45.8675 13.7406 45.8257 13.7269 45.8257 13.6771C45.8257 13.6315 45.8736 13.6166 45.9734 13.6166C46.1531 13.6166 46.3475 13.6247 46.5142 13.6247C46.6849 13.6315 46.8387 13.6396 46.932 13.6396C47.1456 13.6396 48.4681 13.6396 48.5961 13.6315C48.7201 13.6166 48.827 13.6054 48.8813 13.5928C48.914 13.5868 48.9553 13.5654 48.9864 13.5654C49.0191 13.5654 49.0272 13.5928 49.0272 13.6247C49.0272 13.6722 48.9959 13.7528 48.9727 14.0589C48.9686 14.1248 48.9553 14.4201 48.9414 14.4964C48.9352 14.5306 48.9199 14.5695 48.8736 14.5695C48.827 14.5695 48.8144 14.5374 48.8144 14.4781C48.8144 14.4315 48.8096 14.3167 48.7762 14.239C48.7275 14.1186 48.662 14.0375 48.3282 13.9965C48.2154 13.9836 47.5162 13.9727 47.384 13.9727C47.35 13.9727 47.3377 13.9905 47.3377 14.0375V15.7226C47.3377 15.7684 47.3454 15.7946 47.384 15.7946C47.5299 15.7946 48.2969 15.7946 48.4484 15.7809C48.6098 15.7684 48.7085 15.7488 48.7667 15.6818C48.8144 15.6281 48.8405 15.5948 48.8736 15.5948C48.902 15.5948 48.9199 15.6085 48.9199 15.6491C48.9199 15.6887 48.8952 15.7946 48.8678 16.1344C48.8627 16.2665 48.8405 16.5336 48.8405 16.5815C48.8405 16.6333 48.8405 16.7056 48.7802 16.7056C48.7335 16.7056 48.7201 16.6799 48.7201 16.6474C48.7165 16.5815 48.7165 16.4955 48.695 16.4063C48.662 16.2745 48.5704 16.1755 48.3222 16.1481C48.1959 16.1344 47.5359 16.1268 47.3784 16.1268C47.3454 16.1268 47.3377 16.1541 47.3377 16.1947V16.7191C47.3377 16.9454 47.3301 17.5599 47.3377 17.753C47.35 18.2081 47.4559 18.3115 48.1344 18.3115C48.3085 18.3115 48.5881 18.3115 48.7617 18.233C48.9352 18.1499 49.0146 18.0135 49.0628 17.7385C49.0749 17.6627 49.0869 17.6376 49.1348 17.6376C49.188 17.6376 49.188 17.6923 49.188 17.7582C49.188 17.9118 49.1348 18.3648 49.1008 18.4968C49.0521 18.6697 48.9959 18.6697 48.7427 18.6697C48.2428 18.6697 47.8782 18.6545 47.5902 18.6491C47.3046 18.6375 47.0969 18.6286 46.898 18.6286C46.8246 18.6286 46.6785 18.6286 46.5181 18.6375C46.3656 18.6375 46.1938 18.6491 46.0597 18.6491C45.9734 18.6491 45.9239 18.6286 45.9239 18.5828C45.9239 18.5488 45.9542 18.5327 46.0306 18.5327C46.1314 18.5327 46.2132 18.5173 46.2735 18.5035C46.4064 18.4769 46.4379 18.3294 46.4657 18.1375C46.4986 17.8571 46.4986 17.3327 46.4986 16.7191V15.5498",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.3845 18.5715C51.2755 18.5227 51.2566 18.4917 51.2566 18.3445C51.2566 17.9771 51.2813 17.579 51.2875 17.4735C51.2951 17.3723 51.3163 17.3017 51.3685 17.3017C51.429 17.3017 51.435 17.3607 51.435 17.4134C51.435 17.4979 51.463 17.6376 51.4951 17.753C51.6408 18.2448 52.0348 18.4243 52.4487 18.4243C53.0447 18.4243 53.3388 18.016 53.3388 17.6627C53.3388 17.3373 53.2368 17.0335 52.6864 16.6006L52.3805 16.3597C51.6485 15.7888 51.3959 15.3208 51.3959 14.7843C51.3959 14.0508 52.0079 13.5244 52.9342 13.5244C53.3649 13.5244 53.6447 13.5928 53.8181 13.6396C53.8789 13.655 53.9126 13.6722 53.9126 13.719C53.9126 13.8052 53.883 13.9965 53.883 14.5173C53.883 14.6647 53.8625 14.7171 53.8113 14.7171C53.7628 14.7171 53.7439 14.6771 53.7439 14.5986C53.7439 14.5374 53.7129 14.3304 53.5723 14.158C53.4708 14.0334 53.2795 13.8326 52.8445 13.8326C52.3531 13.8326 52.0545 14.1186 52.0545 14.5173C52.0545 14.8247 52.2099 15.0547 52.7614 15.4773L52.9454 15.6161C53.7533 16.2211 54.0368 16.6799 54.0368 17.3135C54.0368 17.6975 53.8913 18.1594 53.4136 18.4703C53.0816 18.6819 52.7088 18.7449 52.3531 18.7449C51.9691 18.7449 51.6698 18.6966 51.3845 18.5715",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.4449 16.2609C60.4449 14.7716 59.5867 13.8452 58.4976 13.8452C57.731 13.8452 56.8585 14.2726 56.8585 15.9289C56.8585 17.3137 57.6253 18.4106 58.9013 18.4106C59.3691 18.4106 60.4449 18.1835 60.4449 16.2609ZM55.9399 16.1345C55.9399 14.9975 56.6912 13.5244 58.689 13.5244C60.3437 13.5244 61.3787 14.4918 61.3787 16.0161C61.3787 17.5404 60.3116 18.7449 58.6225 18.7449C56.713 18.7449 55.9399 17.3135 55.9399 16.1345V16.1345Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M63.5918 15.5499C63.5918 14.5375 63.5918 14.3499 63.579 14.1383C63.5653 13.9131 63.5118 13.8053 63.2915 13.7597C63.2387 13.746 63.1243 13.7406 63.0314 13.7406C62.9575 13.7406 62.9187 13.727 62.9187 13.6772C62.9187 13.6316 62.9649 13.6167 63.0661 13.6167C63.4175 13.6167 63.8366 13.6397 64.037 13.6397C64.1955 13.6397 64.6175 13.6167 64.8544 13.6167C64.9557 13.6167 65.0017 13.6316 65.0017 13.6772C65.0017 13.727 64.9615 13.7406 64.8956 13.7406C64.8216 13.7406 64.781 13.746 64.7012 13.7597C64.5207 13.791 64.4712 13.9075 64.4554 14.1383C64.4438 14.3499 64.4438 14.5375 64.4438 15.5499V16.481C64.4438 17.4441 64.6351 17.8515 64.9615 18.1189C65.2608 18.3649 65.5685 18.3908 65.7924 18.3908C66.086 18.3908 66.4466 18.2979 66.7125 18.0314C67.0781 17.6627 67.0972 17.0661 67.0972 16.3803V15.5499C67.0972 14.5375 67.0972 14.3499 67.0858 14.1383C67.0721 13.9131 67.018 13.8053 66.7992 13.7597C66.7459 13.746 66.6332 13.7406 66.5573 13.7406C66.4858 13.7406 66.4466 13.727 66.4466 13.6772C66.4466 13.6316 66.491 13.6167 66.5876 13.6167C66.9237 13.6167 67.3417 13.6397 67.3417 13.6397C67.4323 13.6397 67.8491 13.6167 68.1089 13.6167C68.2041 13.6167 68.2476 13.6316 68.2476 13.6772C68.2476 13.727 68.2097 13.7406 68.1282 13.7406C68.0561 13.7406 68.0138 13.746 67.9382 13.7597C67.7572 13.791 67.7013 13.9075 67.6893 14.1383C67.6762 14.3499 67.6762 14.5375 67.6762 15.5499V16.2607C67.6762 17.0006 67.6045 17.7832 67.0431 18.2627C66.5718 18.6697 66.0937 18.745 65.6583 18.745C65.3091 18.745 64.6681 18.723 64.1835 18.2826C63.8428 17.9771 63.5918 17.4851 63.5918 16.5212V15.5499",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.3762 16.0733C71.3762 16.1481 71.3888 16.1755 71.4361 16.1948C71.5762 16.241 71.7749 16.2607 71.942 16.2607C72.2083 16.2607 72.2937 16.2333 72.4141 16.1481C72.6143 16.0002 72.8066 15.6964 72.8066 15.1501C72.8066 14.2044 72.1809 13.9325 71.7886 13.9325C71.622 13.9325 71.5043 13.9385 71.4361 13.9582C71.3888 13.9727 71.3762 13.9965 71.3762 14.0508V16.0733ZM70.5907 15.5499C70.5907 14.5375 70.5907 14.3499 70.5772 14.1383C70.5634 13.9131 70.5117 13.8053 70.2917 13.7597C70.2361 13.746 70.1248 13.7406 70.0322 13.7406C69.9599 13.7406 69.9167 13.727 69.9167 13.6772C69.9167 13.6316 69.9634 13.6167 70.0664 13.6167C70.4158 13.6167 70.8371 13.6397 70.9762 13.6397C71.2044 13.6397 71.7084 13.6167 71.9152 13.6167C72.3343 13.6167 72.7813 13.6606 73.138 13.9075C73.3268 14.0335 73.5924 14.3723 73.5924 14.8179C73.5924 15.3084 73.3864 15.7621 72.7125 16.3086C73.305 17.053 73.7636 17.6457 74.1555 18.0588C74.5284 18.4434 74.8025 18.4917 74.9016 18.5095C74.9754 18.5228 75.0363 18.5328 75.0888 18.5328C75.1422 18.5328 75.1683 18.5489 75.1683 18.5829C75.1683 18.6376 75.1227 18.6492 75.0403 18.6492H74.4102C74.0393 18.6492 73.8699 18.6171 73.6994 18.5228C73.4121 18.3697 73.1579 18.0588 72.7867 17.5452C72.5195 17.1811 72.2143 16.727 72.1274 16.6288C72.0939 16.5867 72.053 16.5815 72.0081 16.5815L71.4315 16.5683C71.3969 16.5683 71.3762 16.5815 71.3762 16.6203V16.7152C71.3762 17.3328 71.3762 17.8571 71.4102 18.1375C71.4315 18.3294 71.4682 18.477 71.6702 18.5035C71.7683 18.5174 71.9152 18.5328 71.9946 18.5328C72.0476 18.5328 72.0738 18.5489 72.0738 18.5829C72.0738 18.6287 72.0273 18.6492 71.9419 18.6492C71.5558 18.6492 71.0626 18.6287 70.9635 18.6287C70.8371 18.6287 70.4158 18.6492 70.1522 18.6492C70.0664 18.6492 70.0197 18.6287 70.0197 18.5829C70.0197 18.5489 70.044 18.5328 70.1248 18.5328C70.2258 18.5328 70.3053 18.5174 70.3642 18.5035C70.4974 18.477 70.5304 18.3294 70.558 18.1375C70.5907 17.8571 70.5907 17.3328 70.5907 16.7192V15.5499V15.5499Z",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M76.7248 18.016C76.0707 17.444 75.9004 16.6996 75.9004 16.0549C75.9004 15.6041 76.0397 14.8178 76.68 14.2313C77.1561 13.7909 77.789 13.5244 78.7811 13.5244C79.1931 13.5244 79.4405 13.553 79.7454 13.5928C79.9991 13.6247 80.2123 13.6879 80.4121 13.7047C80.4836 13.7124 80.512 13.746 80.512 13.787C80.512 13.8403 80.4917 13.9167 80.4784 14.1503C80.4648 14.3723 80.4701 14.7376 80.4571 14.869C80.4511 14.9695 80.4374 15.0236 80.3773 15.0236C80.3251 15.0236 80.3122 14.9695 80.3122 14.8761C80.3046 14.6701 80.2179 14.4404 80.0525 14.2655C79.8333 14.0334 79.3152 13.8519 78.7017 13.8519C78.1229 13.8519 77.7424 13.9965 77.4508 14.2655C76.9646 14.7094 76.8376 15.3413 76.8376 15.9871C76.8376 17.5711 78.0433 18.3559 78.9345 18.3559C79.5251 18.3559 79.8849 18.2919 80.1499 17.9833C80.2648 17.8571 80.352 17.6627 80.3773 17.5452C80.3972 17.4374 80.4121 17.4134 80.4648 17.4134C80.512 17.4134 80.5249 17.4585 80.5249 17.5131C80.5249 17.591 80.4455 18.1715 80.3773 18.3969C80.3421 18.5095 80.3176 18.5447 80.2065 18.5907C79.9384 18.6966 79.4325 18.7449 79.0066 18.7449C78.0959 18.7449 77.3306 18.5447 76.7248 18.016",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M82.9906 15.5498C82.9906 14.5374 82.9906 14.3499 82.9794 14.1383C82.9659 13.913 82.9112 13.8052 82.6928 13.7596C82.6399 13.7459 82.5272 13.7406 82.4333 13.7406C82.3601 13.7406 82.3191 13.7269 82.3191 13.6771C82.3191 13.6315 82.3661 13.6166 82.4629 13.6166C82.6474 13.6166 82.8378 13.6247 83.0049 13.6247C83.1806 13.6315 83.3331 13.6396 83.4252 13.6396C83.6378 13.6396 84.9615 13.6396 85.0891 13.6315C85.2143 13.6166 85.3208 13.6054 85.3739 13.5928C85.4089 13.5868 85.451 13.5654 85.4783 13.5654C85.5152 13.5654 85.519 13.5928 85.519 13.6247C85.519 13.6722 85.4862 13.7528 85.4686 14.0589C85.4613 14.1248 85.451 14.4201 85.4354 14.4964C85.4282 14.5306 85.4145 14.5695 85.3697 14.5695C85.3208 14.5695 85.3078 14.5374 85.3078 14.4781C85.3078 14.4315 85.302 14.3167 85.2667 14.239C85.2211 14.1186 85.1542 14.0375 84.8224 13.9965C84.7097 13.9836 84.0092 13.9727 83.8784 13.9727C83.8436 13.9727 83.8299 13.9905 83.8299 14.0375V15.7226C83.8299 15.7684 83.8399 15.7946 83.8784 15.7946C84.0224 15.7946 84.7913 15.7946 84.9426 15.7809C85.102 15.7684 85.2006 15.7488 85.2611 15.6818C85.3078 15.6281 85.3351 15.5948 85.3697 15.5948C85.3932 15.5948 85.4145 15.6085 85.4145 15.6491C85.4145 15.6887 85.3874 15.7946 85.3621 16.1344C85.3532 16.2665 85.3351 16.5336 85.3351 16.5815C85.3351 16.6333 85.3351 16.7056 85.2742 16.7056C85.2288 16.7056 85.2143 16.6799 85.2143 16.6474C85.2095 16.5815 85.2095 16.4955 85.1892 16.4063C85.1542 16.2745 85.0609 16.1755 84.8143 16.1481C84.6885 16.1344 84.0297 16.1268 83.873 16.1268C83.8399 16.1268 83.8299 16.1541 83.8299 16.1947V16.7191C83.8299 16.9454 83.8251 17.5599 83.8299 17.753C83.8436 18.2081 83.9524 18.3115 84.629 18.3115C84.8027 18.3115 85.0815 18.3115 85.2553 18.233C85.4282 18.1499 85.508 18.0135 85.5563 17.7385C85.5656 17.6627 85.5813 17.6376 85.6284 17.6376C85.6814 17.6376 85.6814 17.6923 85.6814 17.7582C85.6814 17.9118 85.6284 18.3648 85.595 18.4968C85.5482 18.6697 85.4862 18.6697 85.2354 18.6697C84.7378 18.6697 84.3714 18.6545 84.0844 18.6491C83.7965 18.6375 83.5907 18.6286 83.3949 18.6286C83.3193 18.6286 83.1725 18.6286 83.014 18.6375C82.8588 18.6375 82.6863 18.6491 82.5535 18.6491C82.4629 18.6491 82.4202 18.6286 82.4202 18.5828C82.4202 18.5488 82.4476 18.5327 82.5272 18.5327C82.6279 18.5327 82.7073 18.5173 82.7661 18.5035C82.8998 18.4769 82.9332 18.3294 82.9599 18.1375C82.9906 17.8571 82.9906 17.3327 82.9906 16.7191V15.5498",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.8766 18.5715C87.7717 18.5227 87.7495 18.4917 87.7495 18.3445C87.7495 17.9771 87.7754 17.579 87.7837 17.4735C87.7912 17.3723 87.8084 17.3017 87.861 17.3017C87.9232 17.3017 87.9269 17.3607 87.9269 17.4134C87.9269 17.4979 87.953 17.6376 87.9893 17.753C88.1342 18.2448 88.529 18.4243 88.941 18.4243C89.5376 18.4243 89.8323 18.016 89.8323 17.6627C89.8323 17.3373 89.7326 17.0335 89.1795 16.6006L88.8734 16.3597C88.1418 15.7888 87.8904 15.3208 87.8904 14.7843C87.8904 14.0508 88.5016 13.5244 89.4263 13.5244C89.8591 13.5244 90.1405 13.5928 90.3117 13.6396C90.3718 13.655 90.4051 13.6722 90.4051 13.719C90.4051 13.8052 90.3799 13.9965 90.3799 14.5173C90.3799 14.6647 90.3581 14.7171 90.3038 14.7171C90.259 14.7171 90.2369 14.6771 90.2369 14.5986C90.2369 14.5374 90.2049 14.3304 90.0661 14.158C89.965 14.0334 89.7716 13.8326 89.338 13.8326C88.8475 13.8326 88.5486 14.1186 88.5486 14.5173C88.5486 14.8247 88.7024 15.0547 89.2551 15.4773L89.4394 15.6161C90.2454 16.2211 90.5312 16.6799 90.5312 17.3135C90.5312 17.6975 90.3834 18.1594 89.9057 18.4703C89.5714 18.6819 89.1992 18.7449 88.8475 18.7449C88.4612 18.7449 88.1619 18.6966 87.8766 18.5715",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.4308 26.351C40.4308 25.3411 40.4308 25.1548 40.419 24.9405C40.4055 24.7134 40.3396 24.6015 40.1919 24.5681C40.1202 24.547 40.03 24.5443 39.9511 24.5443C39.8862 24.5443 39.8462 24.5289 39.8462 24.4726C39.8462 24.4359 39.9005 24.4214 40.0037 24.4214C40.258 24.4214 40.6772 24.4402 40.8696 24.4402C41.0368 24.4402 41.43 24.4214 41.6832 24.4214C41.7688 24.4214 41.821 24.4359 41.821 24.4726C41.821 24.5289 41.7812 24.5443 41.7141 24.5443C41.6505 24.5443 41.596 24.547 41.5141 24.5615C41.3359 24.5949 41.2832 24.7074 41.2714 24.9405C41.2561 25.1548 41.2561 25.3411 41.2561 26.351V27.5214C41.2561 28.1675 41.2561 28.6935 41.2832 28.9814C41.3046 29.1605 41.3502 29.2786 41.5473 29.3043C41.6424 29.3186 41.7881 29.3331 41.8892 29.3331C41.962 29.3331 41.9941 29.3528 41.9941 29.3868C41.9941 29.4322 41.9425 29.4518 41.8679 29.4518C41.43 29.4518 41.0097 29.4322 40.8298 29.4322C40.6772 29.4322 40.258 29.4518 39.9937 29.4518C39.9084 29.4518 39.8582 29.4322 39.8582 29.3868C39.8582 29.3528 39.8862 29.3331 39.966 29.3331C40.0661 29.3331 40.1465 29.3186 40.2076 29.3043C40.3396 29.2786 40.3782 29.1683 40.3999 28.9737C40.4308 28.6935 40.4308 28.1675 40.4308 27.5214V26.351",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.8558 28.5483C44.8695 29.0666 44.9551 29.2398 45.089 29.2861C45.2017 29.3252 45.3281 29.3329 45.4347 29.3329C45.5095 29.3329 45.5472 29.3457 45.5472 29.3866C45.5472 29.438 45.489 29.4516 45.3957 29.4516C44.9628 29.4516 44.6938 29.432 44.5696 29.432C44.5104 29.432 44.198 29.4516 43.8503 29.4516C43.7659 29.4516 43.7046 29.4465 43.7046 29.3866C43.7046 29.3457 43.7433 29.3329 43.8092 29.3329C43.8969 29.3329 44.0171 29.3252 44.1104 29.3006C44.2851 29.2467 44.3095 29.0512 44.3164 28.4749L44.3786 24.5339C44.3786 24.4007 44.3958 24.3076 44.4637 24.3076C44.5354 24.3076 44.5957 24.3949 44.7103 24.5132C44.7881 24.6013 45.8019 25.6856 46.7726 26.6505C47.2261 27.1038 48.1224 28.0625 48.2345 28.1673H48.271L48.2037 25.1793C48.196 24.7721 48.1345 24.6475 47.9763 24.5799C47.8783 24.5441 47.7164 24.5441 47.6252 24.5441C47.5453 24.5441 47.5162 24.5219 47.5162 24.4809C47.5162 24.4264 47.5921 24.4212 47.6914 24.4212C48.0379 24.4212 48.3572 24.44 48.4967 24.44C48.5705 24.44 48.8221 24.4212 49.1473 24.4212C49.2341 24.4212 49.3019 24.4264 49.3019 24.4809C49.3019 24.5219 49.2617 24.5441 49.1802 24.5441C49.1143 24.5441 49.0629 24.5441 48.9806 24.5613C48.7939 24.616 48.7427 24.7544 48.7359 25.1273L48.6621 29.3252C48.6621 29.4713 48.6347 29.5345 48.5746 29.5345C48.5023 29.5345 48.4221 29.4577 48.3496 29.3866C47.9311 28.9856 47.0783 28.1145 46.3861 27.4291C45.6599 26.7092 44.9219 25.8785 44.8017 25.7523H44.7843L44.8558 28.5483",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.4631 29.3742C51.3557 29.3253 51.3379 29.2921 51.3379 29.1469C51.3379 28.7815 51.363 28.3817 51.3686 28.2744C51.3766 28.1761 51.3959 28.1019 51.4488 28.1019C51.5085 28.1019 51.5165 28.1616 51.5165 28.2163C51.5165 28.2999 51.5426 28.44 51.5768 28.5527C51.7223 29.0455 52.1149 29.2264 52.5283 29.2264C53.1243 29.2264 53.4197 28.8209 53.4197 28.4673C53.4197 28.143 53.3183 27.8365 52.7673 27.4019L52.4601 27.1637C51.7281 26.589 51.4757 26.1256 51.4757 25.5866C51.4757 24.8534 52.0865 24.3301 53.0116 24.3301C53.4449 24.3301 53.7243 24.3949 53.8978 24.4401C53.9583 24.4555 53.991 24.4725 53.991 24.522C53.991 24.6101 53.9651 24.8011 53.9651 25.3186C53.9651 25.4654 53.9457 25.5192 53.8914 25.5192C53.8447 25.5192 53.8234 25.4807 53.8234 25.3988C53.8234 25.341 53.791 25.1344 53.6528 24.9626C53.5515 24.8335 53.3575 24.6356 52.927 24.6356C52.4344 24.6356 52.136 24.9216 52.136 25.3186C52.136 25.626 52.2894 25.8573 52.8408 26.2782L53.0269 26.4174C53.8313 27.022 54.1162 27.4829 54.1162 28.1146C54.1162 28.4996 53.9691 28.9599 53.4912 29.2708C53.161 29.4841 52.7865 29.5466 52.4344 29.5466C52.0483 29.5466 51.7474 29.4977 51.4631 29.3742",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.6296 24.7953L56.6388 24.82C56.2502 24.8335 56.0945 24.8662 55.994 25.0138C55.9275 25.1145 55.891 25.193 55.8788 25.2453C55.8668 25.2998 55.8469 25.3261 55.8071 25.3261C55.7609 25.3261 55.7466 25.2938 55.7466 25.2204C55.7466 25.1145 55.872 24.5093 55.8896 24.4555C55.9086 24.3659 55.9275 24.3301 55.965 24.3301C56.0193 24.3301 56.0873 24.3949 56.2502 24.407C56.445 24.4264 56.697 24.4401 56.9167 24.4401H59.5543C59.7653 24.4401 59.9116 24.4213 60.0115 24.407C60.1118 24.3871 60.165 24.3761 60.1924 24.3761C60.2394 24.3761 60.245 24.4144 60.245 24.5133C60.245 24.6544 60.2249 25.1145 60.2249 25.2863C60.2189 25.3545 60.2061 25.393 60.165 25.393C60.1118 25.393 60.0973 25.358 60.09 25.2625L60.0875 25.1864C60.0722 25.0138 59.8931 24.8285 59.301 24.815L58.4623 24.7953V27.5212C58.4623 28.1343 58.4623 28.6592 58.4976 28.9454C58.5148 29.1332 58.5554 29.2785 58.7543 29.3042C58.8478 29.3185 58.9941 29.333 59.0934 29.333C59.167 29.333 59.2003 29.3527 59.2003 29.3866C59.2003 29.432 59.1464 29.4517 59.0741 29.4517C58.6354 29.4517 58.2178 29.432 58.0313 29.432C57.876 29.432 57.4551 29.4517 57.1911 29.4517C57.1049 29.4517 57.0562 29.432 57.0562 29.3866C57.0562 29.3527 57.0852 29.333 57.1633 29.333C57.2663 29.333 57.3461 29.3185 57.4037 29.3042C57.5386 29.2785 57.5766 29.1332 57.5962 28.9413C57.6296 28.6592 57.6296 28.1343 57.6296 27.5212V24.7953",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M62.5148 26.351C62.5148 25.3411 62.5148 25.1548 62.5011 24.9405C62.4876 24.7134 62.4195 24.6015 62.2752 24.5681C62.2023 24.547 62.1156 24.5443 62.0331 24.5443C61.9675 24.5443 61.9272 24.5289 61.9272 24.4726C61.9272 24.4359 61.9807 24.4214 62.0852 24.4214C62.3403 24.4214 62.7614 24.4402 62.9535 24.4402C63.1195 24.4402 63.5118 24.4214 63.7651 24.4214C63.8509 24.4214 63.9037 24.4359 63.9037 24.4726C63.9037 24.5289 63.8633 24.5443 63.798 24.5443C63.7321 24.5443 63.6801 24.547 63.5991 24.5615C63.4198 24.5949 63.3635 24.7074 63.3535 24.9405C63.339 25.1548 63.339 25.3411 63.339 26.351V27.5214C63.339 28.1675 63.339 28.6935 63.3635 28.9814C63.3863 29.1605 63.4312 29.2786 63.6331 29.3043C63.7234 29.3186 63.8712 29.3331 63.973 29.3331C64.0451 29.3331 64.0778 29.3528 64.0778 29.3868C64.0778 29.4322 64.0217 29.4518 63.9493 29.4518C63.5118 29.4518 63.092 29.4322 62.9121 29.4322C62.7614 29.4322 62.3403 29.4518 62.0736 29.4518C61.9867 29.4518 61.9401 29.4322 61.9401 29.3868C61.9401 29.3528 61.9675 29.3331 62.0474 29.3331C62.1475 29.3331 62.2273 29.3186 62.2856 29.3043C62.4195 29.2786 62.4588 29.1683 62.4789 28.9737C62.5148 28.6935 62.5148 28.1675 62.5148 27.5214V26.351",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.4491 24.7953L66.4598 24.82C66.0741 24.8335 65.9133 24.8662 65.8121 25.0138C65.7464 25.1145 65.7122 25.193 65.7014 25.2453C65.6857 25.2998 65.6662 25.3261 65.6277 25.3261C65.579 25.3261 65.5686 25.2938 65.5686 25.2204C65.5686 25.1145 65.6934 24.5093 65.707 24.4555C65.7276 24.3659 65.7464 24.3301 65.7875 24.3301C65.8401 24.3301 65.9072 24.3949 66.0741 24.407C66.2674 24.4264 66.519 24.4401 66.7379 24.4401H69.3734C69.5869 24.4401 69.7326 24.4213 69.8356 24.407C69.9321 24.3871 69.9869 24.3761 70.0117 24.3761C70.0586 24.3761 70.0664 24.4144 70.0664 24.5133C70.0664 24.6544 70.0449 25.1145 70.0449 25.2863C70.0393 25.3545 70.0258 25.393 69.9869 25.393C69.9321 25.393 69.9195 25.358 69.9118 25.2625L69.9075 25.1864C69.8938 25.0138 69.7121 24.8285 69.1229 24.815L68.2819 24.7953V27.5212C68.2819 28.1343 68.2819 28.6592 68.3148 28.9454C68.3351 29.1332 68.3747 29.2785 68.5749 29.3042C68.6688 29.3185 68.8139 29.333 68.9129 29.333C68.989 29.333 69.0223 29.3527 69.0223 29.3866C69.0223 29.432 68.9682 29.4517 68.8932 29.4517C68.4559 29.4517 68.0356 29.432 67.8479 29.432C67.6976 29.432 67.278 29.4517 67.0098 29.4517C66.9238 29.4517 66.8761 29.432 66.8761 29.3866C66.8761 29.3527 66.9053 29.333 66.9839 29.333C67.084 29.333 67.1636 29.3185 67.2216 29.3042C67.3573 29.2785 67.3965 29.1332 67.4181 28.9413C67.4491 28.6592 67.4491 28.1343 67.4491 27.5212V24.7953",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.0477 26.351C72.0477 25.3411 72.0477 25.1548 72.033 24.9405C72.0197 24.7134 71.9681 24.6102 71.7482 24.5615C71.6927 24.547 71.5826 24.5443 71.49 24.5443C71.4177 24.5443 71.3762 24.5289 71.3762 24.4811C71.3762 24.4359 71.4216 24.4214 71.5227 24.4214C71.874 24.4214 72.2937 24.4402 72.4937 24.4402C72.6528 24.4402 73.0702 24.4214 73.3123 24.4214C73.4122 24.4214 73.4588 24.4359 73.4588 24.4811C73.4588 24.5289 73.4182 24.5443 73.3515 24.5443C73.2804 24.5443 73.2373 24.547 73.1579 24.5615C72.9809 24.5949 72.9248 24.7074 72.9129 24.9405C72.8995 25.1548 72.8995 25.3411 72.8995 26.351V27.2824C72.8995 28.2482 73.0924 28.6554 73.4182 28.9198C73.7171 29.1683 74.0236 29.1932 74.2509 29.1932C74.5423 29.1932 74.8994 29.1001 75.1684 28.8336C75.5348 28.4674 75.5528 27.8699 75.5528 27.1833V26.351C75.5528 25.3411 75.5528 25.1548 75.5402 24.9405C75.5302 24.7134 75.4761 24.6102 75.255 24.5615C75.2026 24.547 75.0888 24.5443 75.0181 24.5443C74.9402 24.5443 74.8994 24.5289 74.8994 24.4811C74.8994 24.4359 74.9481 24.4214 75.0403 24.4214C75.3829 24.4214 75.8007 24.4402 75.8065 24.4402C75.8882 24.4402 76.3072 24.4214 76.5675 24.4214C76.6589 24.4214 76.7055 24.4359 76.7055 24.4811C76.7055 24.5289 76.6666 24.5443 76.587 24.5443C76.5122 24.5443 76.4742 24.547 76.3928 24.5615C76.2121 24.5949 76.1596 24.7074 76.146 24.9405C76.1323 25.1548 76.1323 25.3411 76.1323 26.351V27.0619C76.1323 27.8016 76.0589 28.587 75.5006 29.0668C75.0295 29.4715 74.5504 29.5468 74.1162 29.5468C73.7637 29.5468 73.1245 29.5269 72.64 29.0898C72.3009 28.7816 72.0477 28.288 72.0477 27.3224V26.351",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M79.9309 24.7953L78.9403 24.82C78.554 24.8335 78.3952 24.8662 78.2958 25.0138C78.2296 25.1145 78.1967 25.193 78.1809 25.2453C78.1693 25.2998 78.148 25.3261 78.1084 25.3261C78.0626 25.3261 78.0481 25.2938 78.0481 25.2204C78.0481 25.1145 78.1737 24.5093 78.1867 24.4555C78.2083 24.3659 78.2296 24.3301 78.2684 24.3301C78.3208 24.3301 78.3867 24.3949 78.554 24.407C78.7463 24.4264 79.0004 24.4401 79.2201 24.4401H81.855C82.0689 24.4401 82.2125 24.4213 82.3151 24.407C82.4143 24.3871 82.4668 24.3761 82.4966 24.3761C82.5401 24.3761 82.5482 24.4144 82.5482 24.5133C82.5482 24.6544 82.5271 25.1145 82.5271 25.2863C82.5192 25.3545 82.5072 25.393 82.4668 25.393C82.4143 25.393 82.3986 25.358 82.3951 25.2625L82.389 25.1864C82.3735 25.0138 82.1949 24.8285 81.6046 24.815L80.764 24.7953V27.5212C80.764 28.1343 80.764 28.6592 80.7968 28.9454C80.8181 29.1332 80.8592 29.2785 81.055 29.3042C81.1524 29.3185 81.2942 29.333 81.3949 29.333C81.4703 29.333 81.5033 29.3527 81.5033 29.3866C81.5033 29.432 81.4484 29.4517 81.3764 29.4517C80.9346 29.4517 80.5172 29.432 80.333 29.432C80.1792 29.432 79.7581 29.4517 79.4918 29.4517C79.4064 29.4517 79.36 29.432 79.36 29.3866C79.36 29.3527 79.3848 29.333 79.4667 29.333C79.5658 29.333 79.6455 29.3185 79.7046 29.3042C79.8393 29.2785 79.8774 29.1332 79.9 28.9413C79.9309 28.6592 79.9309 28.1343 79.9309 27.5212V24.7953",fill:"#686767"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M84.8142 26.3512C84.8142 25.3413 84.8142 25.155 84.8026 24.9407C84.7889 24.7136 84.7377 24.6103 84.517 24.5616C84.4629 24.5471 84.3502 24.5444 84.2555 24.5444C84.1832 24.5444 84.1423 24.5291 84.1423 24.4812C84.1423 24.4361 84.1892 24.4215 84.2905 24.4215C84.4706 24.4215 84.6611 24.4267 84.8316 24.4267C85.0028 24.4361 85.1541 24.4404 85.2472 24.4404C85.4612 24.4404 86.7872 24.4404 86.9113 24.4361C87.0375 24.4215 87.1453 24.4072 87.1988 24.3952C87.2328 24.3873 87.2705 24.3662 87.3047 24.3662C87.3374 24.3662 87.3447 24.3952 87.3447 24.4267C87.3447 24.4727 87.3097 24.554 87.2922 24.8595C87.2842 24.9262 87.2705 25.2207 87.2549 25.3001C87.2514 25.3349 87.2367 25.3718 87.1911 25.3718C87.1453 25.3718 87.131 25.3413 87.131 25.2806C87.131 25.2335 87.1269 25.1216 87.0898 25.0406C87.0433 24.9218 86.9797 24.84 86.6434 24.8014C86.5327 24.7871 85.8357 24.7724 85.7004 24.7724C85.6666 24.7724 85.6534 24.7956 85.6534 24.84V26.5236C85.6534 26.5723 85.6612 26.597 85.7004 26.597C85.8471 26.597 86.6135 26.597 86.7654 26.5844C86.9229 26.5723 87.022 26.5524 87.0838 26.4853C87.131 26.4322 87.1584 26.3989 87.1911 26.3989C87.2172 26.3989 87.2367 26.4109 87.2367 26.4501C87.2367 26.4905 87.2102 26.597 87.1834 26.9352C87.1756 27.0691 87.1584 27.3371 87.1584 27.3822C87.1584 27.4363 87.1584 27.5122 87.0972 27.5122C87.0512 27.5122 87.0375 27.4832 87.0375 27.4498C87.0301 27.3822 87.0301 27.2962 87.0104 27.21C86.9797 27.077 86.884 26.976 86.6403 26.953C86.5136 26.9352 85.8511 26.93 85.6919 26.93C85.6612 26.93 85.6534 26.9572 85.6534 26.9974V27.5215C85.6534 27.7487 85.6473 28.3609 85.6534 28.553C85.6666 29.0139 85.7756 29.1113 86.4506 29.1113C86.6251 29.1113 86.9045 29.1113 87.0784 29.0327C87.2514 28.9523 87.331 28.8141 87.3776 28.5391C87.3892 28.4676 87.4023 28.4402 87.4516 28.4402C87.5043 28.4402 87.5043 28.4933 87.5043 28.5606C87.5043 28.7142 87.4516 29.1685 87.417 29.3009C87.3696 29.4717 87.3097 29.4717 87.0568 29.4717C86.558 29.4717 86.1912 29.458 85.9074 29.452C85.621 29.4383 85.4144 29.4323 85.2142 29.4323C85.1408 29.4323 84.9947 29.4323 84.8339 29.4383C84.6818 29.4383 84.5077 29.452 84.3761 29.452C84.2905 29.452 84.2443 29.4323 84.2443 29.3869C84.2443 29.3529 84.2685 29.3333 84.3502 29.3333C84.4493 29.3333 84.5307 29.3187 84.5892 29.3044C84.7232 29.2787 84.757 29.1335 84.7815 28.9416C84.8142 28.6595 84.8142 28.1345 84.8142 27.5215V26.3512",fill:"#686767"})]})}),xg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M7.99573 16C9.25964 16 10.2883 14.9745 10.2938 13.7118H5.69775C5.70325 14.9744 6.73181 16 7.99573 16Z",fill:"currentColor"}),X("path",{d:"M14.2106 12.7737V12.0912C14.2106 11.3503 13.7648 10.6915 13.108 10.4019V6.52185C13.108 5.4281 12.7614 4.40417 12.1055 3.56079C11.5471 2.8429 10.7917 2.28613 9.90662 1.93701V1.91077C9.90662 0.857178 9.04944 0 7.99585 0C6.94226 0 6.08521 0.857178 6.08521 1.91077V1.93701C5.20007 2.28613 4.4447 2.8429 3.88635 3.56079C3.23047 4.40417 2.88367 5.4281 2.88367 6.52185V10.4017C2.22705 10.6914 1.78125 11.3503 1.78125 12.0912V12.7736H14.2106V12.7737Z",fill:"currentColor"})]})}),Cg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8.57143 11.4285H0V8.57137H8.57143V-6.10352e-05H11.4286V8.57137H20V11.4285H11.4286V19.9999H8.57143V11.4285Z",fill:"currentColor"})})}),kg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 11.2499V8.74994H20V11.2499H0Z",fill:"currentColor"})})}),$g=e=>X(i,{...e,children:Y("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_8714_101)",children:X("path",{d:"M0 20V13.3333H2.22222V16.2222L5.66667 12.7778L7.22222 14.3333L3.77778 17.7778H6.66667V20H0ZM14.3333 7.22222L12.7778 5.66667L16.2222 2.22222H13.3333V0H20V6.66667H17.7778V3.77778L14.3333 7.22222Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_8714_101",children:X("rect",{width:"20",height:"20",fill:"white"})})})]})}),Sg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M16 20C15.1667 20 14.4583 19.7083 13.875 19.125C13.2917 18.5417 13 17.8333 13 17C13 16.9 13.025 16.6667 13.075 16.3L6.05 12.2C5.78333 12.45 5.475 12.6458 5.125 12.7875C4.775 12.9292 4.4 13 4 13C3.16667 13 2.45833 12.7083 1.875 12.125C1.29167 11.5417 1 10.8333 1 10C1 9.16667 1.29167 8.45833 1.875 7.875C2.45833 7.29167 3.16667 7 4 7C4.4 7 4.775 7.07083 5.125 7.2125C5.475 7.35417 5.78333 7.55 6.05 7.8L13.075 3.7C13.0417 3.58333 13.0208 3.47083 13.0125 3.3625C13.0042 3.25417 13 3.13333 13 3C13 2.16667 13.2917 1.45833 13.875 0.875C14.4583 0.291667 15.1667 0 16 0C16.8333 0 17.5417 0.291667 18.125 0.875C18.7083 1.45833 19 2.16667 19 3C19 3.83333 18.7083 4.54167 18.125 5.125C17.5417 5.70833 16.8333 6 16 6C15.6 6 15.225 5.92917 14.875 5.7875C14.525 5.64583 14.2167 5.45 13.95 5.2L6.925 9.3C6.95833 9.41667 6.97917 9.52917 6.9875 9.6375C6.99583 9.74583 7 9.86667 7 10C7 10.1333 6.99583 10.2542 6.9875 10.3625C6.97917 10.4708 6.95833 10.5833 6.925 10.7L13.95 14.8C14.2167 14.55 14.525 14.3542 14.875 14.2125C15.225 14.0708 15.6 14 16 14C16.8333 14 17.5417 14.2917 18.125 14.875C18.7083 15.4583 19 16.1667 19 17C19 17.8333 18.7083 18.5417 18.125 19.125C17.5417 19.7083 16.8333 20 16 20Z",fill:"currentColor"})})}),Mg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M16 5H4V1H16V5ZM16 10.5C16.2833 10.5 16.5208 10.4042 16.7125 10.2125C16.9042 10.0208 17 9.78333 17 9.5C17 9.21667 16.9042 8.97917 16.7125 8.7875C16.5208 8.59583 16.2833 8.5 16 8.5C15.7167 8.5 15.4792 8.59583 15.2875 8.7875C15.0958 8.97917 15 9.21667 15 9.5C15 9.78333 15.0958 10.0208 15.2875 10.2125C15.4792 10.4042 15.7167 10.5 16 10.5ZM14 17V13H6V17H14ZM16 19H4V15H0V9C0 8.15 0.291667 7.4375 0.875 6.8625C1.45833 6.2875 2.16667 6 3 6H17C17.85 6 18.5625 6.2875 19.1375 6.8625C19.7125 7.4375 20 8.15 20 9V15H16V19Z",fill:"currentColor"})})}),Eg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M7.26368 20L6.86567 16.8C6.65008 16.7167 6.44693 16.6167 6.25622 16.5C6.06551 16.3833 5.87894 16.2583 5.69652 16.125L2.73632 17.375L0 12.625L2.56219 10.675C2.54561 10.5583 2.53731 10.4458 2.53731 10.3375V9.6625C2.53731 9.55417 2.54561 9.44167 2.56219 9.325L0 7.375L2.73632 2.625L5.69652 3.875C5.87894 3.74167 6.06965 3.61667 6.26866 3.5C6.46766 3.38333 6.66667 3.28333 6.86567 3.2L7.26368 0H12.7363L13.1343 3.2C13.3499 3.28333 13.5531 3.38333 13.7438 3.5C13.9345 3.61667 14.1211 3.74167 14.3035 3.875L17.2637 2.625L20 7.375L17.4378 9.325C17.4544 9.44167 17.4627 9.55417 17.4627 9.6625V10.3375C17.4627 10.4458 17.4461 10.5583 17.4129 10.675L19.9751 12.625L17.2388 17.375L14.3035 16.125C14.1211 16.2583 13.9303 16.3833 13.7313 16.5C13.5323 16.6167 13.3333 16.7167 13.1343 16.8L12.7363 20H7.26368ZM10.0498 13.5C11.0116 13.5 11.8325 13.1583 12.5124 12.475C13.1924 11.7917 13.5323 10.9667 13.5323 10C13.5323 9.03333 13.1924 8.20833 12.5124 7.525C11.8325 6.84167 11.0116 6.5 10.0498 6.5C9.07131 6.5 8.24627 6.84167 7.57463 7.525C6.90299 8.20833 6.56716 9.03333 6.56716 10C6.56716 10.9667 6.90299 11.7917 7.57463 12.475C8.24627 13.1583 9.07131 13.5 10.0498 13.5Z",fill:"currentColor"})})}),Tg=e=>X(i,{...e,children:X("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M9.95 15.9999C10.3 15.9999 10.5958 15.8791 10.8375 15.6374C11.0792 15.3958 11.2 15.0999 11.2 14.7499C11.2 14.3999 11.0792 14.1041 10.8375 13.8624C10.5958 13.6208 10.3 13.4999 9.95 13.4999C9.6 13.4999 9.30417 13.6208 9.0625 13.8624C8.82083 14.1041 8.7 14.3999 8.7 14.7499C8.7 15.0999 8.82083 15.3958 9.0625 15.6374C9.30417 15.8791 9.6 15.9999 9.95 15.9999ZM9.05 12.1499H10.9C10.9 11.5999 10.9625 11.1666 11.0875 10.8499C11.2125 10.5333 11.5667 10.0999 12.15 9.54994C12.5833 9.11661 12.925 8.70411 13.175 8.31244C13.425 7.92077 13.55 7.44994 13.55 6.89994C13.55 5.96661 13.2083 5.24994 12.525 4.74994C11.8417 4.24994 11.0333 3.99994 10.1 3.99994C9.15 3.99994 8.37917 4.24994 7.7875 4.74994C7.19583 5.24994 6.78333 5.84994 6.55 6.54994L8.2 7.19994C8.28333 6.89994 8.47083 6.57494 8.7625 6.22494C9.05417 5.87494 9.5 5.69994 10.1 5.69994C10.6333 5.69994 11.0333 5.84577 11.3 6.13744C11.5667 6.42911 11.7 6.74994 11.7 7.09994C11.7 7.43327 11.6 7.74577 11.4 8.03744C11.2 8.32911 10.95 8.59994 10.65 8.84994C9.91667 9.49994 9.46667 9.99161 9.3 10.3249C9.13333 10.6583 9.05 11.2666 9.05 12.1499ZM10 19.9999C8.61667 19.9999 7.31667 19.7374 6.1 19.2124C4.88333 18.6874 3.825 17.9749 2.925 17.0749C2.025 16.1749 1.3125 15.1166 0.7875 13.8999C0.2625 12.6833 0 11.3833 0 9.99994C0 8.61661 0.2625 7.31661 0.7875 6.09994C1.3125 4.88327 2.025 3.82494 2.925 2.92494C3.825 2.02494 4.88333 1.31244 6.1 0.787439C7.31667 0.262439 8.61667 -6.10352e-05 10 -6.10352e-05C11.3833 -6.10352e-05 12.6833 0.262439 13.9 0.787439C15.1167 1.31244 16.175 2.02494 17.075 2.92494C17.975 3.82494 18.6875 4.88327 19.2125 6.09994C19.7375 7.31661 20 8.61661 20 9.99994C20 11.3833 19.7375 12.6833 19.2125 13.8999C18.6875 15.1166 17.975 16.1749 17.075 17.0749C16.175 17.9749 15.1167 18.6874 13.9 19.2124C12.6833 19.7374 11.3833 19.9999 10 19.9999Z",fill:"currentColor"})})}),Og=e=>X(i,{...e,children:X("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1.55556 14C1.12778 14 0.761574 13.8477 0.456944 13.5431C0.152315 13.2384 0 12.8722 0 12.4444V1.55556C0 1.12778 0.152315 0.761574 0.456944 0.456944C0.761574 0.152315 1.12778 0 1.55556 0H12.4444C12.8722 0 13.2384 0.152315 13.5431 0.456944C13.8477 0.761574 14 1.12778 14 1.55556V12.4444C14 12.8722 13.8477 13.2384 13.5431 13.5431C13.2384 13.8477 12.8722 14 12.4444 14H1.55556ZM2.33333 10.8889H11.6667L8.75 7L6.41667 10.1111L4.66667 7.77778L2.33333 10.8889Z",fill:"currentColor"})})}),Lg=e=>X(i,{...e,children:X("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H10.6667C11.0333 0 11.3472 0.130556 11.6083 0.391667C11.8694 0.652778 12 0.966667 12 1.33333V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM2.66667 9.33333H7.33333V8H2.66667V9.33333ZM2.66667 6.66667H9.33333V5.33333H2.66667V6.66667ZM2.66667 4H9.33333V2.66667H2.66667V4Z",fill:"currentColor"})})}),Ag=e=>X(i,{...e,children:X("svg",{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.27472 12C3.81319 12 2.56868 11.4945 1.54121 10.4835C0.513736 9.47253 0 8.24176 0 6.79121C0 6.0989 0.134615 5.43681 0.403846 4.80495C0.673077 4.17308 1.05494 3.61538 1.54945 3.13187L4.35165 0.379121C4.48352 0.258242 4.62912 0.164835 4.78846 0.0989011C4.9478 0.032967 5.10989 0 5.27472 0C5.43956 0 5.60165 0.032967 5.76099 0.0989011C5.92033 0.164835 6.06593 0.258242 6.1978 0.379121L9 3.13187C9.4945 3.61538 9.87637 4.17308 10.1456 4.80495C10.4148 5.43681 10.5494 6.0989 10.5494 6.79121C10.5494 8.24176 10.0357 9.47253 9.00824 10.4835C7.98077 11.4945 6.73626 12 5.27472 12Z",fill:"currentColor"})})}),Ng=e=>X(i,{...e,children:X("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.33333 12V6.68333C4.62222 6.68333 3.93889 6.54722 3.28333 6.275C2.62778 6.00278 2.05 5.61667 1.55 5.11667C1.05 4.61667 0.666667 4.03889 0.4 3.38333C0.133333 2.72778 0 2.04444 0 1.33333V0H1.33333C2.03333 0 2.71111 0.136111 3.36667 0.408333C4.02222 0.680556 4.6 1.06667 5.1 1.56667C5.44444 1.91111 5.73056 2.28889 5.95833 2.7C6.18611 3.11111 6.36111 3.55 6.48333 4.01667C6.53889 3.93889 6.6 3.86389 6.66667 3.79167C6.73333 3.71944 6.80556 3.64444 6.88333 3.56667C7.38333 3.06667 7.96111 2.68056 8.61667 2.40833C9.27222 2.13611 9.95556 2 10.6667 2H12V3.33333C12 4.04444 11.8639 4.72778 11.5917 5.38333C11.3194 6.03889 10.9333 6.61667 10.4333 7.11667C9.93333 7.61667 9.35833 8 8.70833 8.26667C8.05833 8.53333 7.37778 8.66667 6.66667 8.66667V12H5.33333Z",fill:"currentColor"})})}),Rg=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.013 8.18324C16.013 7.61597 15.9621 7.07051 15.8676 6.54688H8.33301V9.64142H12.6385C12.453 10.6414 11.8894 11.4887 11.0421 12.056V14.0632H13.6276C15.1403 12.6705 16.013 10.6196 16.013 8.18324Z",fill:"#4285F4"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33268 15.9995C10.4927 15.9995 12.3036 15.2832 13.6272 14.0613L11.0418 12.0541C10.3254 12.5341 9.40905 12.8177 8.33268 12.8177C6.24905 12.8177 4.48541 11.4104 3.85632 9.51953H1.18359V11.5923C2.49996 14.2068 5.20541 15.9995 8.33268 15.9995Z",fill:"#34A853"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.85664 9.51898C3.69664 9.03898 3.60574 8.52625 3.60574 7.99898C3.60574 7.4717 3.69664 6.95898 3.85664 6.47898V4.40625H1.18392C0.642099 5.48625 0.333008 6.70807 0.333008 7.99898C0.333008 9.28989 0.642099 10.5117 1.18392 11.5917L3.85664 9.51898Z",fill:"#FBBC05"}),X("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33268 3.18182C9.50723 3.18182 10.5618 3.58545 11.3909 4.37818L13.6854 2.08364C12.3 0.792727 10.489 0 8.33268 0C5.20541 0 2.49996 1.79273 1.18359 4.40727L3.85632 6.48C4.48541 4.58909 6.24905 3.18182 8.33268 3.18182Z",fill:"#EA4335"})]})}),Dg=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M16.167 8.04974C16.167 3.60622 12.5831 0 8.16699 0C3.75093 0 0.166992 3.60622 0.166992 8.04974C0.166992 12.0705 3.09181 15.4031 6.92291 16V10.371H4.87966V8.04974H6.92291V6.27565C6.92291 4.26114 8.10932 3.14197 9.93836 3.14197C10.8117 3.14197 11.718 3.30777 11.718 3.30777V5.27254H10.7128C9.71591 5.27254 9.40283 5.90259 9.40283 6.53264V8.04145H11.6273L11.2731 10.3627H9.40283V15.9917C13.2422 15.4031 16.167 12.0705 16.167 8.04974Z",fill:"#1877F2"}),X("path",{d:"M11.2811 10.3096L11.6354 8.00384H9.41086V6.50513C9.41086 5.87106 9.73218 5.25346 10.7209 5.25346H11.726V3.2936C11.726 3.2936 10.8197 3.12891 9.94639 3.12891C8.11735 3.12891 6.93095 4.24059 6.93095 6.24162V8.00384H4.8877V10.3096H6.93095V15.9009C7.33466 15.9668 7.75484 15.9997 8.17502 15.9997C8.59521 15.9997 9.0154 15.9668 9.4191 15.9009V10.3096H11.2811Z",fill:"white"})]})}),Pg=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("g",{clipPath:"url(#clip0_703_2142)",children:X("path",{d:"M10.3552 6.77143L16.3115 0H14.9001L9.72817 5.87954L5.59738 0H0.833008L7.07957 8.8909L0.833008 15.9918H2.24455L7.70622 9.78279L12.0686 15.9918H16.833L10.3548 6.77143H10.3552ZM8.42187 8.96923L7.78897 8.0839L2.75315 1.03921H4.92121L8.98517 6.7245L9.61807 7.60983L14.9007 14.9998H12.7327L8.42187 8.96957V8.96923Z",fill:"#5C5959"})}),X("defs",{children:X("clipPath",{id:"clip0_703_2142",children:X("rect",{width:"16",height:"16",fill:"white",transform:"translate(0.833008)"})})})]})}),Ig=e=>X(i,{...e,children:Y("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M7.66699 0H0.166992V7.5H7.66699V0Z",fill:"#F35325"}),X("path",{d:"M16.167 0H8.66699V7.5H16.167V0Z",fill:"#81BC06"}),X("path",{d:"M7.66699 8.5H0.166992V16H7.66699V8.5Z",fill:"#05A6F0"}),X("path",{d:"M16.167 8.5H8.66699V16H16.167V8.5Z",fill:"#FFBA08"})]})}),zg=e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 13.3267V11.5489H16V13.3267H0ZM0 8.88223V7.10445H16V8.88223H0ZM0 4.43778V2.66H16V4.43778H0Z",fill:"currentColor"})})}),Vg=e=>{const{size:t="16px",...n}=e;return X(i,{boxSize:t,...n,children:X("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M8 8.88889C5.97297 8.88889 4.32432 7.24024 4.32432 5.21321C4.32432 3.18618 5.97297 1.53753 8 1.53753C10.027 1.53753 11.6757 3.18618 11.6757 5.21321C11.6757 7.24024 10.027 8.88889 8 8.88889ZM2 14.4625V13.136C2 11.2583 4.85714 9.92589 8 9.92589C11.1429 9.92589 14 11.2583 14 13.136V14.4625H2Z",fill:"currentColor"})})})},Hg=e=>X(i,{...e,children:X("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10.7714 6.85714L16 12.1143L14.4 13.7143L7.54286 6.85714L14.4 0L16 1.6L10.7714 6.85714ZM3.22857 6.85714L8.45714 12.1143L6.85714 13.7143L0 6.85714L6.85714 0L8.45714 1.6L3.22857 6.85714Z",fill:"#5C5959"})})}),Bg=e=>{const{fill:t,width:n,height:r,...o}=e,s=t||"currentColor",a=n??"20",l=r??n??"20";return X(i,{...e,fill:s,children:X("svg",{width:a,height:l,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M18.4444 20L11.4444 13C10.8889 13.4444 10.25 13.7963 9.52778 14.0556C8.80556 14.3148 8.03704 14.4444 7.22222 14.4444C5.2037 14.4444 3.49537 13.7454 2.09722 12.3472C0.699074 10.9491 0 9.24074 0 7.22222C0 5.2037 0.699074 3.49537 2.09722 2.09722C3.49537 0.699074 5.2037 0 7.22222 0C9.24074 0 10.9491 0.699074 12.3472 2.09722C13.7454 3.49537 14.4444 5.2037 14.4444 7.22222C14.4444 8.03704 14.3148 8.80556 14.0556 9.52778C13.7963 10.25 13.4444 10.8889 13 11.4444L20 18.4444L18.4444 20ZM7.22222 12.2222C8.61111 12.2222 9.79167 11.7361 10.7639 10.7639C11.7361 9.79167 12.2222 8.61111 12.2222 7.22222C12.2222 5.83333 11.7361 4.65278 10.7639 3.68056C9.79167 2.70833 8.61111 2.22222 7.22222 2.22222C5.83333 2.22222 4.65278 2.70833 3.68056 3.68056C2.70833 4.65278 2.22222 5.83333 2.22222 7.22222C2.22222 8.61111 2.70833 9.79167 3.68056 10.7639C4.65278 11.7361 5.83333 12.2222 7.22222 12.2222Z"})})})},_g=e=>X(i,{...e,children:Y("svg",{width:"16",height:"12.2513",viewBox:"0 0 16 12.2513",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M15.0602 0.939796C14.7633 0.641913 14.4106 0.405559 14.0222 0.244287C13.6338 0.0830158 13.2174 0 12.7969 0C12.3763 0 11.9599 0.0830158 11.5716 0.244287C11.1832 0.405559 10.8304 0.641913 10.5336 0.939796L11.2898 1.69601C11.4881 1.49774 11.7234 1.34047 11.9825 1.23317C12.2415 1.12587 12.5192 1.07064 12.7996 1.07064C13.0799 1.07064 13.3576 1.12587 13.6166 1.23317C13.8757 1.34047 14.111 1.49774 14.3093 1.69601C14.5076 1.89427 14.6649 2.12965 14.7722 2.38869C14.8795 2.64774 14.9347 2.92538 14.9347 3.20577C14.9347 3.48616 14.8795 3.7638 14.7722 4.02285C14.6649 4.28189 14.5076 4.51727 14.3093 4.71553L10.049 8.97588C9.64926 9.37629 9.10686 9.60152 8.54109 9.60202C7.97532 9.60252 7.43252 9.37825 7.03211 8.97854C6.63169 8.57883 6.40646 8.03643 6.40596 7.47066C6.40546 6.90489 6.62974 6.3621 7.02944 5.96168L7.78033 5.20547L7.02944 4.44926L6.27323 5.20547C5.97535 5.50232 5.73899 5.85505 5.57772 6.24344C5.41645 6.63183 5.33344 7.04824 5.33344 7.46878C5.33344 7.88932 5.41645 8.30572 5.57772 8.69411C5.73899 9.0825 5.97535 9.43524 6.27323 9.73209C6.8758 10.3269 7.68984 10.6583 8.53654 10.6534C8.9587 10.6551 9.37701 10.5732 9.76732 10.4123C10.1576 10.2514 10.5122 10.0148 10.8105 9.71611L15.0709 5.45576C15.6678 4.85524 16.002 4.04232 16 3.19558C15.998 2.34883 15.66 1.5375 15.0602 0.939796Z",fill:"black",stroke:"none"}),X("path",{d:"M1.71466 10.5575C1.5158 10.3596 1.35801 10.1243 1.25034 9.86524C1.14267 9.60615 1.08724 9.32834 1.08724 9.04777C1.08724 8.7672 1.14267 8.48939 1.25034 8.2303C1.35801 7.97121 1.5158 7.73594 1.71466 7.53801L5.97501 3.27766C6.17294 3.07881 6.40821 2.92101 6.6673 2.81334C6.92639 2.70567 7.2042 2.65024 7.48477 2.65024C7.76534 2.65024 8.04315 2.70567 8.30224 2.81334C8.56133 2.92101 8.7966 3.07881 8.99453 3.27766C9.19213 3.47715 9.34768 3.71428 9.45196 3.97498C9.55624 4.23569 9.60714 4.51468 9.60163 4.79541C9.60325 5.07702 9.54902 5.35616 9.44207 5.61668C9.33512 5.8772 9.17758 6.11392 8.97855 6.31316L7.84956 7.45813L8.60577 8.21434L9.73476 7.08535C10.3357 6.48437 10.6734 5.66928 10.6734 4.81938C10.6734 3.96947 10.3357 3.15438 9.73476 2.5534C9.13379 1.95243 8.3187 1.61481 7.46879 1.61481C6.61889 1.61481 5.80379 1.95243 5.20282 2.5534L0.942471 6.81375C0.643787 7.1107 0.406756 7.46376 0.245012 7.85265C0.0832669 8.24153 0 8.65855 0 9.07972C0 9.5009 0.0832669 9.91792 0.245012 10.3068C0.406756 10.6957 0.643787 11.0487 0.942471 11.3457C1.54894 11.936 2.36484 12.2616 3.21111 12.251C4.06483 12.2518 4.88421 11.9149 5.49039 11.3137L4.73418 10.5575C4.53625 10.7564 4.30098 10.9142 4.04189 11.0219C3.7828 11.1295 3.50499 11.185 3.22442 11.185C2.94385 11.185 2.66604 11.1295 2.40695 11.0219C2.14786 10.9142 1.91259 10.7564 1.71466 10.5575Z",fill:"black",stroke:"none"})]})}),jg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M2 3H14V4.5H2V3Z",fill:"black",stroke:"none"}),X("path",{d:"M2 6.5H10V8H2V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M2 10H14V11.5H2V10Z",fill:"black",stroke:"none"}),X("path",{d:"M2 13.5H10V15H2V13.5Z",fill:"black",stroke:"none"})]})}),Fg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M1 3H15V4.5H1V3Z",fill:"black",stroke:"none"}),X("path",{d:"M4 6.5H12V8H4V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M1 10H15V11.5H1V10Z",fill:"black",stroke:"none"}),X("path",{d:"M4 13.5H12V15H4V13.5Z",fill:"black",stroke:"none"})]})}),qg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M2 3H14V4.5H2V3Z",fill:"black",stroke:"none"}),X("path",{d:"M6 6.5H14V8H6V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M2 10H14V11.5H2V10Z",fill:"black",stroke:"none"}),X("path",{d:"M6 13.5H14V15H6V13.5Z",fill:"black",stroke:"none"})]})}),Wg=e=>X(i,{...e,children:Y("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M1 3H15V4.5H1V3Z",fill:"black",stroke:"none"}),X("path",{d:"M1 6.5H15V8H1V6.5Z",fill:"black",stroke:"none"}),X("path",{d:"M1 10H15V11.5H1V10Z",fill:"black",stroke:"none"}),X("path",{d:"M1 13.5H15V15H1V13.5Z",fill:"black",stroke:"none"})]})}),Ug=e=>X(i,{...e,children:Y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:[X("g",{clipPath:"url(#clip0_14893_3944)",children:X("path",{d:"M7.85714 0.896071V9.10357C7.42571 9.40464 6.94464 9.63929 6.42857 9.79286V0.207143C6.94464 0.360714 7.42571 0.595357 7.85714 0.896429V0.896071ZM9.28571 2.42321C9.73929 3.17571 10 4.0575 10 5C10 5.9425 9.73929 6.82429 9.28571 7.57679V2.42321ZM5 0V10C2.23857 10 0 7.76143 0 5C0 2.23857 2.23857 0 5 0Z",fill:"currentColor"})}),X("defs",{children:X("clipPath",{id:"clip0_14893_3944",children:X("rect",{width:"10",height:"10",fill:"white"})})})]})}),Kg=ke`
379
379
  display: flex;
380
380
  align-items: flex-start;
381
381
  gap: 0;
@@ -432,7 +432,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
432
432
  color: ${Ie("neutral",600)};
433
433
  }
434
434
  }
435
- `,Kg=(e=!1)=>ke`
435
+ `,Gg=(e=!1)=>ke`
436
436
  display: flex;
437
437
  align-items: center;
438
438
  justify-content: space-between;
@@ -452,11 +452,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
452
452
  font-weight: 400;
453
453
  color: ${Ie("neutral",700)};
454
454
  }
455
- `,Gg=({item:e,isChecked:t,labels:n})=>{return be(ye,{children:[e.startIcon,be("div",{css:(r=!!e.startIcon,o=!!e.endIcon,ke`
455
+ `,Zg=({item:e,isChecked:t,labels:n})=>{return be(ye,{children:[e.startIcon,be("div",{css:(r=!!e.startIcon,o=!!e.endIcon,ke`
456
456
  width: 100%;
457
457
  margin-left: ${r?Ve(200):"0"};
458
458
  margin-right: ${o?Ve(200):"0"};
459
- `),children:[be("div",{css:Kg(t),children:[ve("p",{className:"ds-menu-item-label",children:e.label}),e.command?ve(s.ItemCommand,{"aria-label":`${n.shortcutPrefix} ${e.command}`,children:e.command}):null]}),e.caption?ve("p",{className:"ds-menu-item-caption",children:e.caption}):null]}),t?ve(ag,{}):e.endIcon]});var r,o},Zg=(e,t,n)=>e.children?e.children:e.link?ve("a",{href:e.link,"aria-disabled":e.disabled||void 0,tabIndex:e.disabled?-1:void 0,onClick:t=>{e.disabled&&t.preventDefault()},style:{textDecoration:"none",color:"inherit"},children:ve(Gg,{item:e,isChecked:t,labels:n})}):ve(Gg,{item:e,isChecked:t,labels:n}),Jg=({item:e,isChecked:t=!1,labels:n})=>ve(s.Item,{css:Ug,value:e.value||e.label||"",disabled:e.disabled,role:"menuitem","aria-label":e.label,asChild:!!e.link&&!e.children,children:Zg(e,t,n)}),Xg=(e,t)=>ke`
459
+ `),children:[be("div",{css:Gg(t),children:[ve("p",{className:"ds-menu-item-label",children:e.label}),e.command?ve(s.ItemCommand,{"aria-label":`${n.shortcutPrefix} ${e.command}`,children:e.command}):null]}),e.caption?ve("p",{className:"ds-menu-item-caption",children:e.caption}):null]}),t?ve(ag,{}):e.endIcon]});var r,o},Jg=(e,t,n)=>e.children?e.children:e.link?ve("a",{href:e.link,"aria-disabled":e.disabled||void 0,tabIndex:e.disabled?-1:void 0,onClick:t=>{e.disabled&&t.preventDefault()},style:{textDecoration:"none",color:"inherit"},children:ve(Zg,{item:e,isChecked:t,labels:n})}):ve(Zg,{item:e,isChecked:t,labels:n}),Xg=({item:e,isChecked:t=!1,labels:n})=>ve(s.Item,{css:Kg,value:e.value||e.label||"",disabled:e.disabled,role:"menuitem","aria-label":e.label,asChild:!!e.link&&!e.children,children:Jg(e,t,n)}),Yg=(e,t)=>ke`
460
460
  display: flex;
461
461
  align-items: center;
462
462
  justify-content: center;
@@ -480,7 +480,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
480
480
  outline-style: solid;
481
481
  outline-width: ${_e(200)};
482
482
  }
483
- `,Yg=ke`
483
+ `,Qg=ke`
484
484
  position: absolute;
485
485
  left: 1rem;
486
486
  width: 1rem;
@@ -508,7 +508,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
508
508
  border-bottom: ${_e(100)} solid
509
509
  ${Ie("neutral",600)};
510
510
  }
511
- `,Qg=(e="14rem")=>ke`
511
+ `,eb=(e="14rem")=>ke`
512
512
  width: ${"content"===e?"max-content":e};
513
513
  border: ${_e(100)} solid ${Ie("neutral",600)};
514
514
  box-shadow: 0 0.25rem 0.375rem -0.25rem #0000001a;
@@ -517,7 +517,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
517
517
  display: flex;
518
518
  flex-direction: column;
519
519
  gap: ${Ve(200)};
520
- `,eb=ke`
520
+ `,tb=ke`
521
521
  display: flex;
522
522
  justify-content: space-between;
523
523
  align-items: center;
@@ -567,16 +567,16 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
567
567
  box-shadow: none;
568
568
  }
569
569
  }
570
- `,tb=ke`
570
+ `,nb=ke`
571
571
  font-size: ${ze(300)};
572
572
  line-height: ${He(500)};
573
573
  font-weight: 700;
574
574
  color: ${Ie("neutral",900)};
575
- `,nb=({theme:e="light",label:t,hideArrow:n=!1,fontSize:r,items:o,groups:i,onSelect:l,customTrigger:c,selectionMode:d,defaultSelectedValues:u=[],menuWidth:h="14rem",labels:p})=>{const f=tg("Menu",p),[m,g]=ae(!1),[b,v]=ae(new Set(u)),y=se(null);return ce((()=>{if(!m||!y.current)return;const e=new window.IntersectionObserver((([e])=>{e.isIntersecting||g(!1)}),{threshold:.01});return e.observe(y.current),()=>{e.disconnect()}}),[m]),be(s.Root,{closeOnSelect:"multiple"!==d,onSelect:({value:e})=>{v((t=>{const n=new Set(t);return"radio"===d?(n.clear(),n.add(e)):n.has(e)?n.delete(e):n.add(e),n})),l&&l(e)},onOpenChange:({open:e})=>g(e),open:m,children:[ve(s.Trigger,{css:Xg(e,r),asChild:!0,children:c||be("button",{type:"button",ref:y,children:[t,ve(dg,{marginLeft:"0.375rem",rotate:m?"180":"0",height:"0.875rem",width:"0.875rem"})]})}),ve(a,{children:ve(s.Positioner,{children:be(s.Content,{css:Qg(h),role:"menu","aria-label":t||f.menuAriaLabel,children:[n?null:ve("div",{css:Yg}),o?.map(((e,t)=>{if(e.submenu){const[n,r]=ae(!1);return be(s.Root,{positioning:{placement:"right-start",gutter:2},onSelect:({value:e})=>l&&l(e),onOpenChange:({open:e})=>r(e),open:n,children:[be(s.TriggerItem,{css:eb,role:"menuitem","aria-haspopup":"true","aria-expanded":n?"true":"false",children:[e.label,ve(dg,{rotate:"270",color:"var(--chakra-colors-neutral-700)"})]}),ve(a,{children:ve(s.Positioner,{children:ve(s.Content,{css:Qg(e.menuWidth),role:"menu","aria-label":f.submenuAriaLabel(e.label||f.menuAriaLabel),children:e.submenu.map(((e,t)=>ve(Jg,{item:e,labels:f},e.value)))})})})]},`${e.value}-${t}`)}return ve(Jg,{item:e,labels:f,isChecked:!!d&&b.has(e.value||e.label||"")},`${e.value}-${t}`)})),i?.map(((e,t)=>be(te.Fragment,{children:[be(s.ItemGroup,{role:"group","aria-labelledby":`group-${t}`,children:[ve(s.ItemGroupLabel,{id:`group-${t}`,css:tb,children:e.title}),e.items?.map((e=>ve(Jg,{item:e,labels:f,isChecked:!!d&&b.has(e.value||e.label||"")},e.value)))]}),t!==i.length-1?ve(s.Separator,{borderColor:"var(--chakra-colors-neutral-300)"}):null]},e.title)))]})})})]})},rb=ke`
575
+ `,rb=({theme:e="light",label:t,hideArrow:n=!1,fontSize:r,items:o,groups:i,onSelect:l,customTrigger:c,selectionMode:d,defaultSelectedValues:u=[],menuWidth:h="14rem",labels:p})=>{const f=tg("Menu",p),[m,g]=ae(!1),[b,v]=ae(new Set(u)),y=se(null);return ce((()=>{if(!m||!y.current)return;const e=new window.IntersectionObserver((([e])=>{e.isIntersecting||g(!1)}),{threshold:.01});return e.observe(y.current),()=>{e.disconnect()}}),[m]),be(s.Root,{closeOnSelect:"multiple"!==d,onSelect:({value:e})=>{v((t=>{const n=new Set(t);return"radio"===d?(n.clear(),n.add(e)):n.has(e)?n.delete(e):n.add(e),n})),l&&l(e)},onOpenChange:({open:e})=>g(e),open:m,children:[ve(s.Trigger,{css:Yg(e,r),asChild:!0,children:c||be("button",{type:"button",ref:y,children:[t,ve(dg,{marginLeft:"0.375rem",rotate:m?"180":"0",height:"0.875rem",width:"0.875rem"})]})}),ve(a,{children:ve(s.Positioner,{children:be(s.Content,{css:eb(h),role:"menu","aria-label":t||f.menuAriaLabel,children:[n?null:ve("div",{css:Qg}),o?.map(((e,t)=>{if(e.submenu){const[n,r]=ae(!1);return be(s.Root,{positioning:{placement:"right-start",gutter:2},onSelect:({value:e})=>l&&l(e),onOpenChange:({open:e})=>r(e),open:n,children:[be(s.TriggerItem,{css:tb,role:"menuitem","aria-haspopup":"true","aria-expanded":n?"true":"false",children:[e.label,ve(dg,{rotate:"270",color:"var(--chakra-colors-neutral-700)"})]}),ve(a,{children:ve(s.Positioner,{children:ve(s.Content,{css:eb(e.menuWidth),role:"menu","aria-label":f.submenuAriaLabel(e.label||f.menuAriaLabel),children:e.submenu.map(((e,t)=>ve(Xg,{item:e,labels:f},e.value)))})})})]},`${e.value}-${t}`)}return ve(Xg,{item:e,labels:f,isChecked:!!d&&b.has(e.value||e.label||"")},`${e.value}-${t}`)})),i?.map(((e,t)=>be(te.Fragment,{children:[be(s.ItemGroup,{role:"group","aria-labelledby":`group-${t}`,children:[ve(s.ItemGroupLabel,{id:`group-${t}`,css:nb,children:e.title}),e.items?.map((e=>ve(Xg,{item:e,labels:f,isChecked:!!d&&b.has(e.value||e.label||"")},e.value)))]}),t!==i.length-1?ve(s.Separator,{borderColor:"var(--chakra-colors-neutral-300)"}):null]},e.title)))]})})})]})},ob=ke`
576
576
  &:focus-visible {
577
577
  outline: none;
578
578
  }
579
- `,ob=e=>ke`
579
+ `,ib=e=>ke`
580
580
  background-color: ${Ie("neutral",800)};
581
581
  border-radius: ${Be(300)};
582
582
  border: ${_e(100)} solid ${Ie("neutral",800)};
@@ -592,7 +592,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
592
592
  }
593
593
 
594
594
  ${"text"===e&&`\n background-color: transparent;\n border: none;\n box-shadow: none;\n color: ${Ie("neutral",800)};\n font-size: ${ze(400)};\n line-height: ${He(600)};\n text-shadow: 0 0 ${_e(100)} ${Ie("neutral",100)};\n `}
595
- `,ib=({children:e,content:t,showArrow:n=!0,disabled:r,position:o="bottom",variant:i="pill",portalRef:s,openDelay:c=0,closeDelay:d=0,preserveFocusOnChild:u=!1})=>{const[h,p]=ae(!1);return be(l.Root,{positioning:{placement:o,offset:"pill"===i?void 0:{mainAxis:0,crossAxis:0}},openDelay:c,closeDelay:d,open:!r&&h,onOpenChange:({open:e})=>{r||p(e)},children:[ve(l.Trigger,{asChild:u,tabIndex:u?void 0:0,onClick:()=>{r||p(!0)},css:u?void 0:rb,children:e}),ve(a,{disabled:r,container:s,children:ve(l.Positioner,{children:be(l.Content,{css:ob(i),children:[n&&"pill"===i?ve(l.Arrow,{children:ve(l.ArrowTip,{})}):null,t]})})})]})},sb=e=>{const{icon:t,label:n,active:r,...o}=e;return X(ib,{content:n,children:X(og,{icon:X("span",{"data-rte-icon":"true",children:t}),"aria-label":n,"aria-pressed":r,onMouseDown:e=>{e.preventDefault()},...o})})};function ab(e){const{label:t,icon:n,isDisabled:r,isActive:o,command:i}=e,s=e=>{const{editor:s,disabled:a}=Im();if(!s)return null;const{label:l,icon:c,...d}=e,u=l||t,h=a||!!r&&r(s),p=!!o&&o(s);return X(sb,{label:u,icon:c||X(n,{}),active:p,onClick:()=>i(s),disabled:h,...d})};return s.displayName=`BooleanControl(${t})`,s}function lb(e){const{label:t,options:n,getValue:o,command:i,isDisabled:s}=e,a=({label:e}={})=>{const{editor:a,disabled:l}=Im();if(!a)return null;const c=e||t,d=o(a),u=l||!!s&&s(a),h=n.find((e=>e.value===d));return X(nb,{label:c,hideArrow:!0,items:n.map((e=>({label:e.label,value:e.value,disabled:u}))),onSelect:e=>{u||i(a,e)},customTrigger:X(r,{css:{"& button":{fontWeight:"normal"},'&[data-part="trigger"]':{padding:0}},children:X(ng,{variant:"secondary",size:"small",disabled:u,label:h?.label||c,"aria-label":`${c}: ${h?.label||c}`,rightIcon:X(dg,{width:"0.875rem",height:"0.875rem"}),borderColor:Ie("neutral",400)})})})};return a.displayName=`OptionControl(${t})`,a}const cb=lb({label:"Text Type",options:[{value:"normalText",label:"Normal text"},{value:"heading1",label:"Heading 1"},{value:"heading2",label:"Heading 2"},{value:"heading3",label:"Heading 3"},{value:"blockquote",label:"Quote"},{value:"divider",label:"Divider"}],getValue:e=>e.isActive("heading",{level:1})?"heading1":e.isActive("heading",{level:2})?"heading2":e.isActive("heading",{level:3})?"heading3":e.isActive("blockquote")?"blockquote":"normalText",command:(e,t)=>{"normalText"!==t?"heading1"!==t?"heading2"!==t?"heading3"!==t?"blockquote"!==t?"divider"===t&&e.chain().focus().setHorizontalRule().run():e.isActive("blockquote")||e.chain().focus().toggleBlockquote().run():e.chain().focus().setHeading({level:3}).run():e.chain().focus().setHeading({level:2}).run():e.chain().focus().setHeading({level:1}).run():e.chain().focus().setParagraph().run()}}),db=lb({label:"Font Size",options:[{value:"12px",label:"12px"},{value:"14px",label:"14px"},{value:"16px",label:"16px"},{value:"18px",label:"18px"}],getValue:e=>e.getAttributes("textStyle")?.fontSize||"16px",command:(e,t)=>{e.chain().focus().setFontSize(t).run()}}),ub=ab({label:"Bold",icon:e=>X(i,{...e,children:X("svg",{width:"11.2552",height:"14",viewBox:"0 0 11.2552 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M7.19444 14H0V0H6.61111C7.39057 4.63933e-05 8.15373 0.223185 8.81044 0.643056C9.46714 1.06293 9.98996 1.66199 10.3171 2.36946C10.6443 3.07694 10.7621 3.86327 10.6567 4.63557C10.5513 5.40787 10.227 6.13386 9.72222 6.72778C10.3816 7.25508 10.8612 7.97379 11.0952 8.78497C11.3292 9.59616 11.3061 10.4599 11.0289 11.2574C10.7517 12.0548 10.2341 12.7468 9.54742 13.2379C8.86074 13.7291 8.03869 13.9953 7.19444 14ZM2.33333 11.6667H7.17889C7.4087 11.6667 7.63626 11.6214 7.84858 11.5335C8.0609 11.4455 8.25382 11.3166 8.41633 11.1541C8.57883 10.9916 8.70773 10.7987 8.79568 10.5864C8.88362 10.374 8.92889 10.1465 8.92889 9.91667C8.92889 9.68685 8.88362 9.45929 8.79568 9.24697C8.70773 9.03465 8.57883 8.84173 8.41633 8.67923C8.25382 8.51673 8.0609 8.38782 7.84858 8.29988C7.63626 8.21193 7.4087 8.16667 7.17889 8.16667H2.33333V11.6667ZM2.33333 5.83333H6.61111C6.84092 5.83333 7.06849 5.78807 7.28081 5.70012C7.49313 5.61218 7.68604 5.48327 7.84855 5.32077C8.01105 5.15827 8.13995 4.96535 8.2279 4.75303C8.31585 4.54071 8.36111 4.31315 8.36111 4.08333C8.36111 3.85352 8.31585 3.62596 8.2279 3.41364C8.13995 3.20132 8.01105 3.0084 7.84855 2.8459C7.68604 2.68339 7.49313 2.55449 7.28081 2.46654C7.06849 2.3786 6.84092 2.33333 6.61111 2.33333H2.33333V5.83333Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleBold().run(),isActive:e=>e.isActive("bold")}),hb=ab({label:"Italic",icon:e=>X(i,{...e,children:X("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M13 1.44444V0H3.61111V1.44444H7.32333L4.16722 11.5556H0V13H9.38889V11.5556H5.67667L8.83278 1.44444H13Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleItalic().run(),isActive:e=>e.isActive("italic")}),pb=ab({label:"Underline",icon:e=>X(i,{...e,children:X("svg",{width:"14.6087",height:"14",viewBox:"0 0 14.6087 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 12.7826H14.6087V14H0V12.7826ZM7.30435 10.9565C6.1743 10.9565 5.09053 10.5076 4.29146 9.70854C3.49239 8.90947 3.04348 7.8257 3.04348 6.69565V0H4.26087V6.69565C4.26087 7.50283 4.58152 8.27695 5.15228 8.84772C5.72305 9.41848 6.49717 9.73913 7.30435 9.73913C8.11153 9.73913 8.88565 9.41848 9.45641 8.84772C10.0272 8.27695 10.3478 7.50283 10.3478 6.69565V0H11.5652V6.69565C11.5652 7.8257 11.1163 8.90947 10.3172 9.70854C9.51817 10.5076 8.4344 10.9565 7.30435 10.9565V10.9565Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleUnderline().run(),isActive:e=>e.isActive("underline")}),fb=ab({label:"Strikethrough",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"13.3507",viewBox:"0 0 16 13.3507",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M16 6.01707H9.304C9.00798 5.93748 8.7106 5.86302 8.412 5.79374C6.54 5.35107 5.48133 5.02707 5.48133 3.51174C5.46613 3.25015 5.50486 2.98823 5.59512 2.74224C5.68537 2.49624 5.82523 2.27143 6.006 2.08174C6.57226 1.61607 7.28154 1.35948 8.01467 1.35507C9.90133 1.30841 10.7713 1.94841 11.4827 2.92174L12.5593 2.13507C12.0554 1.41131 11.3683 0.834307 10.5683 0.463013C9.76831 0.0917179 8.8841 -0.0605588 8.006 0.0217402C6.92734 0.0286269 5.88679 0.421436 5.07267 1.12907C4.7641 1.44207 4.52292 1.81496 4.364 2.22475C4.20509 2.63454 4.1318 3.07254 4.14867 3.51174C4.11943 3.99233 4.20971 4.47268 4.41143 4.90986C4.61316 5.34704 4.92004 5.72744 5.30467 6.01707H0V7.35041H9.10133C10.4127 7.73041 11.1967 8.22507 11.2167 9.58907C11.2383 9.88044 11.1984 10.1731 11.0993 10.448C11.0003 10.7229 10.8445 10.9738 10.642 11.1844C9.93654 11.7405 9.0601 12.0348 8.162 12.0171C7.49168 11.9977 6.83454 11.8261 6.24031 11.5152C5.64608 11.2044 5.1303 10.7626 4.732 10.2231L3.71 11.0791C4.22782 11.7691 4.89593 12.3323 5.6637 12.7258C6.43148 13.1194 7.27876 13.3329 8.14133 13.3504H8.208C9.43919 13.3645 10.6341 12.934 11.5733 12.1377C11.9067 11.8017 12.1658 11.3994 12.334 10.957C12.5023 10.5145 12.5758 10.0417 12.55 9.56907C12.5749 8.76057 12.3021 7.97106 11.7833 7.35041H16V6.01707Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleStrike().run(),isActive:e=>e.isActive("strike")});ab({label:"Code",icon:e=>X(i,{...e,children:Y("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"m16 18 6-6-6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),X("path",{d:"m8 6-6 6 6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),command:e=>e.chain().focus().toggleCode().run(),isActive:e=>e.isActive("code")});const mb=ab({label:"Bullet List",icon:e=>X(i,{...e,children:Y("svg",{width:"16",height:"12.3077",viewBox:"0 0 16 12.3077",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M1.84615 3.69231C2.86576 3.69231 3.69231 2.86576 3.69231 1.84615C3.69231 0.826551 2.86576 0 1.84615 0C0.826551 0 0 0.826551 0 1.84615C0 2.86576 0.826551 3.69231 1.84615 3.69231Z",fill:"black",stroke:"none"}),X("path",{d:"M1.84615 12.3077C2.86576 12.3077 3.69231 11.4811 3.69231 10.4615C3.69231 9.44194 2.86576 8.61538 1.84615 8.61538C0.826551 8.61538 0 9.44194 0 10.4615C0 11.4811 0.826551 12.3077 1.84615 12.3077Z",fill:"black",stroke:"none"}),X("path",{d:"M7.38462 9.84615H16V11.0769H7.38462V9.84615ZM7.38462 1.23077H16V2.46154H7.38462V1.23077Z",fill:"black",stroke:"none"})]})}),command:e=>e.chain().focus().toggleBulletList().run(),isActive:e=>e.isActive("bulletList")}),gb=ab({label:"Ordered List",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"15",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M7.38462 11.25H16V12.5H7.38462V11.25ZM7.38462 2.5H16V3.75H7.38462V2.5ZM2.46154 5V0H1.23077V0.625H0V1.875H1.23077V5H0V6.25H3.69231V5H2.46154ZM3.69231 15H0V12.5C0 12.1685 0.12967 11.8505 0.360484 11.6161C0.591298 11.3817 0.904349 11.25 1.23077 11.25H2.46154V10H0V8.75H2.46154C2.78796 8.75 3.10101 8.8817 3.33182 9.11612C3.56264 9.35054 3.69231 9.66848 3.69231 10V11.25C3.69231 11.5815 3.56264 11.8995 3.33182 12.1339C3.10101 12.3683 2.78796 12.5 2.46154 12.5H1.23077V13.75H3.69231V15Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleOrderedList().run(),isActive:e=>e.isActive("orderedList")}),bb=ab({label:"Image",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1.77778 16C1.28889 16 0.87037 15.8259 0.522222 15.4778C0.174074 15.1296 0 14.7111 0 14.2222V1.77778C0 1.28889 0.174074 0.87037 0.522222 0.522222C0.87037 0.174074 1.28889 0 1.77778 0H14.2222C14.7111 0 15.1296 0.174074 15.4778 0.522222C15.8259 0.87037 16 1.28889 16 1.77778V14.2222C16 14.7111 15.8259 15.1296 15.4778 15.4778C15.1296 15.8259 14.7111 16 14.2222 16H1.77778ZM2.66667 12.4444H13.3333L10 8L7.33333 11.5556L5.33333 8.88889L2.66667 12.4444Z",fill:"black",stroke:"none"})})}),command:e=>{if("undefined"==typeof document)return;const t=document.createElement("input");t.type="file",t.accept="image/*",t.onchange=()=>{const n=t.files?.[0];if(!n)return;const r=new FileReader;r.onload=()=>{"string"==typeof r.result&&e.chain().focus().insertContent({type:"image",attrs:{src:r.result,alt:n.name}}).run()},r.readAsDataURL(n)},t.click()}}),vb=ab({label:"Undo",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10.6667 3.33333H2.54333L4.93467 0.942667L4 0L0 4L4 8L4.93467 7.05667L2.54533 4.66667H10.6667C11.7275 4.66667 12.7449 5.08809 13.4951 5.83824C14.2452 6.58839 14.6667 7.6058 14.6667 8.66667C14.6667 9.72753 14.2452 10.7449 13.4951 11.4951C12.7449 12.2452 11.7275 12.6667 10.6667 12.6667H5.33333V14H10.6667C12.0812 14 13.4377 13.4381 14.4379 12.4379C15.4381 11.4377 16 10.0812 16 8.66667C16 7.25218 15.4381 5.89562 14.4379 4.89543C13.4377 3.89524 12.0812 3.33333 10.6667 3.33333Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().undo().run(),isDisabled:e=>!e.can().undo()}),yb=ab({label:"Redo",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.33333 3.33333H13.4567L11.0653 0.942667L12 0L16 4L12 8L11.0653 7.05667L13.4547 4.66667H5.33333C4.27247 4.66667 3.25505 5.08809 2.50491 5.83824C1.75476 6.58839 1.33333 7.6058 1.33333 8.66667C1.33333 9.72753 1.75476 10.7449 2.50491 11.4951C3.25505 12.2452 4.27247 12.6667 5.33333 12.6667H10.6667V14H5.33333C3.91885 14 2.56229 13.4381 1.5621 12.4379C0.561903 11.4377 0 10.0812 0 8.66667C0 7.25218 0.561903 5.89562 1.5621 4.89543C2.56229 3.89524 3.91885 3.33333 5.33333 3.33333V3.33333Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().redo().run(),isDisabled:e=>!e.can().redo()}),wb={left:jg,center:Fg,right:qg,justify:Wg},xb=e=>{const{editor:t,disabled:n}=Im();if(!t)return null;const{label:o="Alignment",alignLeftLabel:i="Align left",alignCenterLabel:s="Align center",alignRightLabel:a="Align right",alignJustifyLabel:l="Justify",...c}=e,d=(e=>e.isActive({textAlign:"center"})?"center":e.isActive({textAlign:"right"})?"right":e.isActive({textAlign:"justify"})?"justify":"left")(t),u=wb[d],h=[{label:i,value:"left",startIcon:X(jg,{})},{label:s,value:"center",startIcon:X(Fg,{})},{label:a,value:"right",startIcon:X(qg,{})},{label:l,value:"justify",startIcon:X(Wg,{})}],p=h.find((e=>e.value===d));return X(nb,{label:o,hideArrow:!0,items:h.map((e=>({...e,disabled:n}))),onSelect:e=>{n||t.chain().focus().setTextAlign(e).run()},customTrigger:X(r,{css:{"& button":{fontWeight:"normal"},'&[data-part="trigger"]':{padding:0}},children:X(ng,{variant:"secondary",size:"small",disabled:n,label:"","aria-label":`${o}: ${p?.label||o}`,leftIcon:X(r,{display:"inline-flex",marginRight:Ve(200),children:X(u,{width:"0.875rem",height:"0.875rem"})}),rightIcon:X(dg,{width:"0.875rem",height:"0.875rem"}),borderColor:Ie("neutral",400),...c})})})},Cb=(e,t)=>ke`
595
+ `,sb=({children:e,content:t,showArrow:n=!0,disabled:r,position:o="bottom",variant:i="pill",portalRef:s,openDelay:c=0,closeDelay:d=0,preserveFocusOnChild:u=!1})=>{const[h,p]=ae(!1);return be(l.Root,{positioning:{placement:o,offset:"pill"===i?void 0:{mainAxis:0,crossAxis:0}},openDelay:c,closeDelay:d,open:!r&&h,onOpenChange:({open:e})=>{r||p(e)},children:[ve(l.Trigger,{asChild:u,tabIndex:u?void 0:0,onClick:()=>{r||p(!0)},css:u?void 0:ob,children:e}),ve(a,{disabled:r,container:s,children:ve(l.Positioner,{children:be(l.Content,{css:ib(i),children:[n&&"pill"===i?ve(l.Arrow,{children:ve(l.ArrowTip,{})}):null,t]})})})]})},ab=e=>{const{icon:t,label:n,active:r,...o}=e;return X(sb,{content:n,children:X(og,{icon:X("span",{"data-rte-icon":"true",children:t}),"aria-label":n,"aria-pressed":r,onMouseDown:e=>{e.preventDefault()},...o})})};function lb(e){const{label:t,icon:n,isDisabled:r,isActive:o,command:i}=e,s=e=>{const{editor:s,disabled:a}=Im();if(!s)return null;const{label:l,icon:c,...d}=e,u=l||t,h=a||!!r&&r(s),p=!!o&&o(s);return X(ab,{label:u,icon:c||X(n,{}),active:p,onClick:()=>i(s),disabled:h,...d})};return s.displayName=`BooleanControl(${t})`,s}function cb(e){const{label:t,options:n,getValue:o,command:i,isDisabled:s}=e,a=({label:e}={})=>{const{editor:a,disabled:l}=Im();if(!a)return null;const c=e||t,d=o(a),u=l||!!s&&s(a),h=n.find((e=>e.value===d));return X(rb,{label:c,hideArrow:!0,items:n.map((e=>({label:e.label,value:e.value,disabled:u}))),onSelect:e=>{u||i(a,e)},customTrigger:X(r,{css:{"& button":{fontWeight:"normal"},'&[data-part="trigger"]':{padding:0}},children:X(ng,{variant:"secondary",size:"small",disabled:u,label:h?.label||c,"aria-label":`${c}: ${h?.label||c}`,rightIcon:X(dg,{width:"0.875rem",height:"0.875rem"}),borderColor:Ie("neutral",400)})})})};return a.displayName=`OptionControl(${t})`,a}const db=cb({label:"Text Type",options:[{value:"normalText",label:"Normal text"},{value:"heading1",label:"Heading 1"},{value:"heading2",label:"Heading 2"},{value:"heading3",label:"Heading 3"},{value:"blockquote",label:"Quote"},{value:"divider",label:"Divider"}],getValue:e=>e.isActive("heading",{level:1})?"heading1":e.isActive("heading",{level:2})?"heading2":e.isActive("heading",{level:3})?"heading3":e.isActive("blockquote")?"blockquote":"normalText",command:(e,t)=>{"normalText"!==t?"heading1"!==t?"heading2"!==t?"heading3"!==t?"blockquote"!==t?"divider"===t&&e.chain().focus().setHorizontalRule().run():e.isActive("blockquote")||e.chain().focus().toggleBlockquote().run():e.chain().focus().setHeading({level:3}).run():e.chain().focus().setHeading({level:2}).run():e.chain().focus().setHeading({level:1}).run():e.chain().focus().setParagraph().run()}}),ub=cb({label:"Font Size",options:[{value:"12px",label:"12px"},{value:"14px",label:"14px"},{value:"16px",label:"16px"},{value:"18px",label:"18px"}],getValue:e=>e.getAttributes("textStyle")?.fontSize||"16px",command:(e,t)=>{e.chain().focus().setFontSize(t).run()}}),hb=lb({label:"Bold",icon:e=>X(i,{...e,children:X("svg",{width:"11.2552",height:"14",viewBox:"0 0 11.2552 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M7.19444 14H0V0H6.61111C7.39057 4.63933e-05 8.15373 0.223185 8.81044 0.643056C9.46714 1.06293 9.98996 1.66199 10.3171 2.36946C10.6443 3.07694 10.7621 3.86327 10.6567 4.63557C10.5513 5.40787 10.227 6.13386 9.72222 6.72778C10.3816 7.25508 10.8612 7.97379 11.0952 8.78497C11.3292 9.59616 11.3061 10.4599 11.0289 11.2574C10.7517 12.0548 10.2341 12.7468 9.54742 13.2379C8.86074 13.7291 8.03869 13.9953 7.19444 14ZM2.33333 11.6667H7.17889C7.4087 11.6667 7.63626 11.6214 7.84858 11.5335C8.0609 11.4455 8.25382 11.3166 8.41633 11.1541C8.57883 10.9916 8.70773 10.7987 8.79568 10.5864C8.88362 10.374 8.92889 10.1465 8.92889 9.91667C8.92889 9.68685 8.88362 9.45929 8.79568 9.24697C8.70773 9.03465 8.57883 8.84173 8.41633 8.67923C8.25382 8.51673 8.0609 8.38782 7.84858 8.29988C7.63626 8.21193 7.4087 8.16667 7.17889 8.16667H2.33333V11.6667ZM2.33333 5.83333H6.61111C6.84092 5.83333 7.06849 5.78807 7.28081 5.70012C7.49313 5.61218 7.68604 5.48327 7.84855 5.32077C8.01105 5.15827 8.13995 4.96535 8.2279 4.75303C8.31585 4.54071 8.36111 4.31315 8.36111 4.08333C8.36111 3.85352 8.31585 3.62596 8.2279 3.41364C8.13995 3.20132 8.01105 3.0084 7.84855 2.8459C7.68604 2.68339 7.49313 2.55449 7.28081 2.46654C7.06849 2.3786 6.84092 2.33333 6.61111 2.33333H2.33333V5.83333Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleBold().run(),isActive:e=>e.isActive("bold")}),pb=lb({label:"Italic",icon:e=>X(i,{...e,children:X("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M13 1.44444V0H3.61111V1.44444H7.32333L4.16722 11.5556H0V13H9.38889V11.5556H5.67667L8.83278 1.44444H13Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleItalic().run(),isActive:e=>e.isActive("italic")}),fb=lb({label:"Underline",icon:e=>X(i,{...e,children:X("svg",{width:"14.6087",height:"14",viewBox:"0 0 14.6087 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M0 12.7826H14.6087V14H0V12.7826ZM7.30435 10.9565C6.1743 10.9565 5.09053 10.5076 4.29146 9.70854C3.49239 8.90947 3.04348 7.8257 3.04348 6.69565V0H4.26087V6.69565C4.26087 7.50283 4.58152 8.27695 5.15228 8.84772C5.72305 9.41848 6.49717 9.73913 7.30435 9.73913C8.11153 9.73913 8.88565 9.41848 9.45641 8.84772C10.0272 8.27695 10.3478 7.50283 10.3478 6.69565V0H11.5652V6.69565C11.5652 7.8257 11.1163 8.90947 10.3172 9.70854C9.51817 10.5076 8.4344 10.9565 7.30435 10.9565V10.9565Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleUnderline().run(),isActive:e=>e.isActive("underline")}),mb=lb({label:"Strikethrough",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"13.3507",viewBox:"0 0 16 13.3507",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M16 6.01707H9.304C9.00798 5.93748 8.7106 5.86302 8.412 5.79374C6.54 5.35107 5.48133 5.02707 5.48133 3.51174C5.46613 3.25015 5.50486 2.98823 5.59512 2.74224C5.68537 2.49624 5.82523 2.27143 6.006 2.08174C6.57226 1.61607 7.28154 1.35948 8.01467 1.35507C9.90133 1.30841 10.7713 1.94841 11.4827 2.92174L12.5593 2.13507C12.0554 1.41131 11.3683 0.834307 10.5683 0.463013C9.76831 0.0917179 8.8841 -0.0605588 8.006 0.0217402C6.92734 0.0286269 5.88679 0.421436 5.07267 1.12907C4.7641 1.44207 4.52292 1.81496 4.364 2.22475C4.20509 2.63454 4.1318 3.07254 4.14867 3.51174C4.11943 3.99233 4.20971 4.47268 4.41143 4.90986C4.61316 5.34704 4.92004 5.72744 5.30467 6.01707H0V7.35041H9.10133C10.4127 7.73041 11.1967 8.22507 11.2167 9.58907C11.2383 9.88044 11.1984 10.1731 11.0993 10.448C11.0003 10.7229 10.8445 10.9738 10.642 11.1844C9.93654 11.7405 9.0601 12.0348 8.162 12.0171C7.49168 11.9977 6.83454 11.8261 6.24031 11.5152C5.64608 11.2044 5.1303 10.7626 4.732 10.2231L3.71 11.0791C4.22782 11.7691 4.89593 12.3323 5.6637 12.7258C6.43148 13.1194 7.27876 13.3329 8.14133 13.3504H8.208C9.43919 13.3645 10.6341 12.934 11.5733 12.1377C11.9067 11.8017 12.1658 11.3994 12.334 10.957C12.5023 10.5145 12.5758 10.0417 12.55 9.56907C12.5749 8.76057 12.3021 7.97106 11.7833 7.35041H16V6.01707Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleStrike().run(),isActive:e=>e.isActive("strike")});lb({label:"Code",icon:e=>X(i,{...e,children:Y("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"m16 18 6-6-6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),X("path",{d:"m8 6-6 6 6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),command:e=>e.chain().focus().toggleCode().run(),isActive:e=>e.isActive("code")});const gb=lb({label:"Bullet List",icon:e=>X(i,{...e,children:Y("svg",{width:"16",height:"12.3077",viewBox:"0 0 16 12.3077",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M1.84615 3.69231C2.86576 3.69231 3.69231 2.86576 3.69231 1.84615C3.69231 0.826551 2.86576 0 1.84615 0C0.826551 0 0 0.826551 0 1.84615C0 2.86576 0.826551 3.69231 1.84615 3.69231Z",fill:"black",stroke:"none"}),X("path",{d:"M1.84615 12.3077C2.86576 12.3077 3.69231 11.4811 3.69231 10.4615C3.69231 9.44194 2.86576 8.61538 1.84615 8.61538C0.826551 8.61538 0 9.44194 0 10.4615C0 11.4811 0.826551 12.3077 1.84615 12.3077Z",fill:"black",stroke:"none"}),X("path",{d:"M7.38462 9.84615H16V11.0769H7.38462V9.84615ZM7.38462 1.23077H16V2.46154H7.38462V1.23077Z",fill:"black",stroke:"none"})]})}),command:e=>e.chain().focus().toggleBulletList().run(),isActive:e=>e.isActive("bulletList")}),bb=lb({label:"Ordered List",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"15",viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M7.38462 11.25H16V12.5H7.38462V11.25ZM7.38462 2.5H16V3.75H7.38462V2.5ZM2.46154 5V0H1.23077V0.625H0V1.875H1.23077V5H0V6.25H3.69231V5H2.46154ZM3.69231 15H0V12.5C0 12.1685 0.12967 11.8505 0.360484 11.6161C0.591298 11.3817 0.904349 11.25 1.23077 11.25H2.46154V10H0V8.75H2.46154C2.78796 8.75 3.10101 8.8817 3.33182 9.11612C3.56264 9.35054 3.69231 9.66848 3.69231 10V11.25C3.69231 11.5815 3.56264 11.8995 3.33182 12.1339C3.10101 12.3683 2.78796 12.5 2.46154 12.5H1.23077V13.75H3.69231V15Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().toggleOrderedList().run(),isActive:e=>e.isActive("orderedList")}),vb=lb({label:"Image",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M1.77778 16C1.28889 16 0.87037 15.8259 0.522222 15.4778C0.174074 15.1296 0 14.7111 0 14.2222V1.77778C0 1.28889 0.174074 0.87037 0.522222 0.522222C0.87037 0.174074 1.28889 0 1.77778 0H14.2222C14.7111 0 15.1296 0.174074 15.4778 0.522222C15.8259 0.87037 16 1.28889 16 1.77778V14.2222C16 14.7111 15.8259 15.1296 15.4778 15.4778C15.1296 15.8259 14.7111 16 14.2222 16H1.77778ZM2.66667 12.4444H13.3333L10 8L7.33333 11.5556L5.33333 8.88889L2.66667 12.4444Z",fill:"black",stroke:"none"})})}),command:e=>{if("undefined"==typeof document)return;const t=document.createElement("input");t.type="file",t.accept="image/*",t.onchange=()=>{const n=t.files?.[0];if(!n)return;const r=new FileReader;r.onload=()=>{"string"==typeof r.result&&e.chain().focus().insertContent({type:"image",attrs:{src:r.result,alt:n.name}}).run()},r.readAsDataURL(n)},t.click()}}),yb=lb({label:"Undo",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M10.6667 3.33333H2.54333L4.93467 0.942667L4 0L0 4L4 8L4.93467 7.05667L2.54533 4.66667H10.6667C11.7275 4.66667 12.7449 5.08809 13.4951 5.83824C14.2452 6.58839 14.6667 7.6058 14.6667 8.66667C14.6667 9.72753 14.2452 10.7449 13.4951 11.4951C12.7449 12.2452 11.7275 12.6667 10.6667 12.6667H5.33333V14H10.6667C12.0812 14 13.4377 13.4381 14.4379 12.4379C15.4381 11.4377 16 10.0812 16 8.66667C16 7.25218 15.4381 5.89562 14.4379 4.89543C13.4377 3.89524 12.0812 3.33333 10.6667 3.33333Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().undo().run(),isDisabled:e=>!e.can().undo()}),wb=lb({label:"Redo",icon:e=>X(i,{...e,children:X("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:X("path",{d:"M5.33333 3.33333H13.4567L11.0653 0.942667L12 0L16 4L12 8L11.0653 7.05667L13.4547 4.66667H5.33333C4.27247 4.66667 3.25505 5.08809 2.50491 5.83824C1.75476 6.58839 1.33333 7.6058 1.33333 8.66667C1.33333 9.72753 1.75476 10.7449 2.50491 11.4951C3.25505 12.2452 4.27247 12.6667 5.33333 12.6667H10.6667V14H5.33333C3.91885 14 2.56229 13.4381 1.5621 12.4379C0.561903 11.4377 0 10.0812 0 8.66667C0 7.25218 0.561903 5.89562 1.5621 4.89543C2.56229 3.89524 3.91885 3.33333 5.33333 3.33333V3.33333Z",fill:"black",stroke:"none"})})}),command:e=>e.chain().focus().redo().run(),isDisabled:e=>!e.can().redo()}),xb={left:jg,center:Fg,right:qg,justify:Wg},Cb=e=>{const{editor:t,disabled:n}=Im();if(!t)return null;const{label:o="Alignment",alignLeftLabel:i="Align left",alignCenterLabel:s="Align center",alignRightLabel:a="Align right",alignJustifyLabel:l="Justify",...c}=e,d=(e=>e.isActive({textAlign:"center"})?"center":e.isActive({textAlign:"right"})?"right":e.isActive({textAlign:"justify"})?"justify":"left")(t),u=xb[d],h=[{label:i,value:"left",startIcon:X(jg,{})},{label:s,value:"center",startIcon:X(Fg,{})},{label:a,value:"right",startIcon:X(qg,{})},{label:l,value:"justify",startIcon:X(Wg,{})}],p=h.find((e=>e.value===d));return X(rb,{label:o,hideArrow:!0,items:h.map((e=>({...e,disabled:n}))),onSelect:e=>{n||t.chain().focus().setTextAlign(e).run()},customTrigger:X(r,{css:{"& button":{fontWeight:"normal"},'&[data-part="trigger"]':{padding:0}},children:X(ng,{variant:"secondary",size:"small",disabled:n,label:"","aria-label":`${o}: ${p?.label||o}`,leftIcon:X(r,{display:"inline-flex",marginRight:Ve(200),children:X(u,{width:"0.875rem",height:"0.875rem"})}),rightIcon:X(dg,{width:"0.875rem",height:"0.875rem"}),borderColor:Ie("neutral",400),...c})})})},kb=(e,t)=>ke`
596
596
  height: ${Ve("small"===e?800:1e3)};
597
597
  min-height: ${Ve("small"===e?800:1e3)};
598
598
  width: 100%;
@@ -634,7 +634,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
634
634
  }
635
635
 
636
636
  ${t?`\n border: ${_e(100)} solid ${Ie("neutral",700)};\n `:""}
637
- `,kb=({label:e,caption:t,errorMessage:n,invalid:r,required:o,disabled:i,size:s="default",showOptionalLabel:a=!0,noMarginBottom:l=!1,labels:d,footer:u,semantics:h="field",className:p,children:f,captionId:m,errorId:g,containerProps:b})=>{const v=!!n||!!r,y=d?.requiredSymbolLabel??"required",w=d?.optionalSuffix??" (Optional)",x=!!(e||t||n),C=be("div",{css:jm(s),children:["field"===h?x?be("div",{css:Fm,children:[e?be(c.Label,{css:qm(s,i),"aria-label":"string"==typeof e?e:void 0,children:[ve(c.RequiredIndicator,{"aria-label":y}),e,!o&&a?ve("span",{children:w}):null]}):null,t?ve(c.HelperText,{id:m,css:Wm(s,i),"aria-label":t,children:t}):null,n?ve(c.ErrorText,{id:g,css:Um(s),"aria-label":n,children:n}):null]}):null:x?be("div",{css:Fm,children:[e?be("p",{css:qm(s,i),"aria-label":"string"==typeof e?e:void 0,"data-disabled":i||void 0,children:[o?ve("span",{"data-required-indicator":!0,"aria-label":y,children:"*"}):null,e]}):null,t?ve("p",{id:m,css:Wm(s,i),"aria-label":t,children:t}):null,n?ve("p",{id:g,css:Um(s),"aria-label":n,children:n}):null]}):null,f,u?ve("div",{css:Km,children:u}):null]});return be("div",{css:Bm(0,v),className:p,...b,children:[v?ve("div",{css:_m}):null,"field"===h?ve(c.Root,{required:o,invalid:v,gap:"0",width:"100%",flex:"1",minW:"0",children:C}):C]})},$b=new Set(["Tab","Escape"]);let Sb="pointer",Mb=0;const Eb=new Set,Tb=e=>{Sb!==e&&(Sb=e,Eb.forEach((t=>t(e))))},Ob=e=>{e.metaKey||e.altKey||e.ctrlKey||$b.has(e.key)&&Tb("keyboard")},Lb=()=>Tb("pointer"),Ab=(e,t)=>{const[n,r]=ae(!1),[o,i]=ae(Sb);ce((()=>{return e=i,0===Mb&&(document.addEventListener("keydown",Ob,!0),document.addEventListener("pointerdown",Lb,!0)),Mb+=1,Eb.add(e),()=>{Eb.delete(e),Mb-=1,0===Mb&&(document.removeEventListener("keydown",Ob,!0),document.removeEventListener("pointerdown",Lb,!0))};var e}),[]);return{isTabFocused:n&&"keyboard"===o,onFocus:ue((t=>{r(!0),e?.(t)}),[e]),onBlur:ue((e=>{r(!1),t?.(e)}),[t])}},Nb=({label:e,caption:t,placeholder:n,errorMessage:r,required:o,disabled:i,size:s="default",showOptionalLabel:a=!0,noMarginBottom:l=!1,defaultValue:c="",onChange:u,onFocus:h,onBlur:p,labels:f,value:m,...g})=>{const b=tg("TextInput",f),[v,y]=ae(c),w=void 0!==m,x=w?String(m??""):v,C=Boolean(x),k=Ab(h,p);return ve(kb,{className:"ds-text-input-container",label:e,caption:t,errorMessage:r,required:o,disabled:i,size:s,showOptionalLabel:a,noMarginBottom:l,labels:{requiredSymbolLabel:b.requiredSymbolLabel,optionalSuffix:b.optionalSuffix},semantics:"field",children:ve(d,{placeholder:n,disabled:i,focusVisibleRing:"none",css:Cb(s,C),onChange:e=>{w||y(e.target.value),u&&u(e)},value:x,_placeholder:{color:"var(--chakra-colors-neutral-700)"},...g,"data-focus-visible":k.isTabFocused||void 0,onFocus:k.onFocus,onBlur:k.onBlur})})};const Rb=e=>{const{editor:t,disabled:n}=Im(),[o,i]=ee.useState(!1),[s,a]=ee.useState(""),[l,c]=ee.useState(""),[d,p]=ee.useState(""),f=ee.useRef(null);if(ee.useEffect((()=>{n&&i(!1)}),[n]),!t)return null;const{label:m="Link",urlPlaceholder:g="http://example.org",labelPlaceholder:b="Label (optional)",labelInputAriaLabel:v="Link label",applyLabel:y="Apply",removeLabel:w="Remove",invalidUrlMessage:x="Please enter a valid URL",...C}=e,k=t.isActive("link"),$=()=>f.current?t.chain().focus().setTextSelection({from:f.current.from,to:f.current.to}):t.chain().focus();return Y(u.Root,{open:o,onOpenChange:({open:e})=>{n?i(!1):(i(e),e&&(()=>{const{from:e,to:n,empty:r}=t.state.selection,o=t.state.doc.textBetween(e,n," ").trim();f.current={from:e,to:n,empty:r,selectedText:o};const i=t.getAttributes("link")?.href||o||"";a(i||"http://"),c(o),p("")})())},positioning:{placement:"bottom-start"},children:[X(u.Trigger,{asChild:!0,children:X(r,{children:X(ib,{content:m,children:X(og,{icon:X("span",{"data-rte-icon":"true",children:X(_g,{})}),"aria-label":m,"aria-pressed":k||o,disabled:n,onMouseDown:e=>{e.preventDefault()},onClick:()=>{n||i((e=>!e))},...C})})})}),X(u.Positioner,{children:X(u.Content,{css:{padding:Ve(300),borderColor:Ie("neutral",300),width:`calc(( ${Ve(2800)} + ${Ve(2e3)} ) * 2)`,maxWidth:"90vw"},children:X(u.Body,{children:Y(r,{css:{display:"flex",flexDirection:"column",gap:Ve(300)},children:[X(Nb,{"aria-label":m,placeholder:g,disabled:n,noMarginBottom:!0,value:s,onChange:e=>{a(e.target.value),d&&p("")}}),X(Nb,{"aria-label":v,placeholder:b,disabled:n,noMarginBottom:!0,value:l,onChange:e=>{c(e.target.value)}}),d?X(h,{css:{color:Ie("error",700)},children:d}):null,Y(r,{css:{display:"flex",gap:Ve(200),justifyContent:"flex-end"},children:[k?X(ng,{variant:"borderless",size:"small",label:w,disabled:n,onMouseDown:e=>e.preventDefault(),onClick:()=>{$().unsetLink().run(),i(!1)}}):null,X(ng,{variant:"secondary",size:"small",label:y,disabled:n,onMouseDown:e=>e.preventDefault(),onClick:()=>{const e=function(e){const t=e.trim();return t?/^(https?:\/\/|mailto:|tel:)/i.test(t)?t:`http://${t}`:""}(s),t=l.trim();if(!e||!function(e){if(/^(mailto:|tel:)/i.test(e))return!0;try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}(e))return void p(x);const n=$(),r=f.current;if(r?.empty){const r=t||e;n.insertContent({type:"text",text:r,marks:[{type:"link",attrs:{href:e}}]}).run()}else t&&t!==r?.selectedText?n.insertContent({type:"text",text:t,marks:[{type:"link",attrs:{href:e}}]}).run():n.extendMarkRange("link").setLink({href:e}).run();i(!1)}})]})]})})})})]})},Db=ee.forwardRef(((e,t)=>{const{editor:n,children:o,css:i,disabled:s,...a}=e,l=ee.useMemo((()=>({editor:n,disabled:Boolean(s)})),[n,s]);return X(Pm.Provider,{value:l,children:X(r,{ref:t,"data-disabled":s||void 0,css:[Gm,i],...a,children:o})})})),Pb={fixed:{bg:"bg",roundedTop:"l2",borderBottomWidth:"1px",p:"3"},floating:{bg:"bg.panel",roundedTop:"l2",shadow:"sm",p:"3"}},Ib=ee.forwardRef(((e,t)=>{const{variant:n="fixed",css:r,...o}=e;return X(p,{ref:t,flexWrap:"wrap",separator:X(f,{h:"5",alignSelf:"center"}),css:[Pb[n],r],...o})})),zb={Root:Db,Toolbar:Ib,Content:ee.forwardRef(((e,t)=>{const{editor:n}=Im();return n?X(Cm,{editor:n,innerRef:t,...e}):null})),ControlGroup:ee.forwardRef(((e,t)=>X(p,{ref:t,gap:"2",...e})))},Vb=["undo","redo","textType","alignment","fontSize","bold","italic","underline","strikethrough","bulletList","orderedList","link","image"],Hb=({defaultValue:e="",disabled:t=!1,ariaLabel:n,placeholder:r,minHeight:o,visibleControls:i=Vb,onChange:s,labels:a})=>{const l=tg("RichTextEditor",a),c=n||l.editorAriaLabel,d=r||l.placeholder,u=o,h=Om({extensions:[$f.configure({link:!1}),yh.configure({openOnClick:!0,autolink:!0,defaultProtocol:"https"}),wd,Cf,sp.configure({placeholder:d,emptyEditorClass:"is-editor-empty"}),ap,lp,cp.configure({types:["paragraph","heading"]}),bp],content:e,editable:!t,shouldRerenderOnTransaction:!0,immediatelyRender:!1,onUpdate:({editor:e})=>{s?.(e.getHTML())},editorProps:{attributes:{"aria-label":c}}},[d,c]);return ee.useEffect((()=>{h&&h.setEditable(!t)}),[h,t]),be(zb.Root,{editor:h,disabled:t,css:{"& .ProseMirror":{minHeight:u||0}},children:[ve(zb.Toolbar,{children:be(zb.ControlGroup,{children:[i.includes("undo")?ve(vb,{label:l.undoTooltip}):null,i.includes("redo")?ve(yb,{label:l.redoTooltip}):null,i.includes("textType")?ve(cb,{label:l.textTypeTooltip}):null,i.includes("alignment")?ve(xb,{label:l.alignmentTooltip,alignLeftLabel:l.alignLeftOptionLabel,alignCenterLabel:l.alignCenterOptionLabel,alignRightLabel:l.alignRightOptionLabel,alignJustifyLabel:l.alignJustifyOptionLabel}):null,i.includes("fontSize")?ve(db,{label:l.fontSizeTooltip}):null,i.includes("bold")?ve(ub,{label:l.boldTooltip,icon:ve("strong",{css:{fontSize:ze(600),lineHeight:1},children:l.boldIconText})}):null,i.includes("italic")?ve(hb,{label:l.italicTooltip,icon:ve("em",{css:{fontStyle:"italic",fontSize:ze(600),lineHeight:1},children:l.italicIconText})}):null,i.includes("underline")?ve(pb,{label:l.underlineTooltip,icon:ve("span",{css:{fontSize:ze(600),lineHeight:1,textDecoration:"underline"},children:l.underlineIconText})}):null,i.includes("strikethrough")?ve(fb,{label:l.strikethroughTooltip,icon:ve("span",{css:{fontSize:ze(600),lineHeight:1,textDecoration:"line-through"},children:l.strikethroughIconText})}):null,i.includes("bulletList")?ve(mb,{label:l.bulletListTooltip}):null,i.includes("orderedList")?ve(gb,{label:l.orderedListTooltip}):null,i.includes("link")?ve(Rb,{label:l.linkTooltip,urlPlaceholder:l.linkUrlPlaceholder,labelPlaceholder:l.linkLabelPlaceholder,labelInputAriaLabel:l.linkLabelAriaLabel,applyLabel:l.linkApplyLabel,removeLabel:l.linkRemoveLabel,invalidUrlMessage:l.linkInvalidUrlMessage}):null,i.includes("image")?ve(bb,{label:l.imageTooltip}):null]})}),ve(zb.Content,{})]})},Bb={Google:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"Google",leftIcon:X(Rg,{}),"aria-label":e||"Google Login",variant:"secondary",size:t,onClick:n}),Facebook:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"Facebook",leftIcon:X(Dg,{}),"aria-label":e||"Facebook Login",variant:"secondary",size:t,onClick:n}),X:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"X",leftIcon:X(Pg,{}),"aria-label":e||"X Login",variant:"secondary",size:t,onClick:n}),Microsoft:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"Microsoft",leftIcon:X(Ig,{}),"aria-label":e||"Microsoft Login",variant:"secondary",size:t,onClick:n})},_b=ke`
637
+ `,$b=({label:e,caption:t,errorMessage:n,invalid:r,required:o,disabled:i,size:s="default",showOptionalLabel:a=!0,noMarginBottom:l=!1,labels:d,footer:u,semantics:h="field",className:p,children:f,captionId:m,errorId:g,containerProps:b})=>{const v=!!n||!!r,y=d?.requiredSymbolLabel??"required",w=d?.optionalSuffix??" (Optional)",x=!!(e||t||n),C=be("div",{css:jm(s),children:["field"===h?x?be("div",{css:Fm,children:[e?be(c.Label,{css:qm(s,i),"aria-label":"string"==typeof e?e:void 0,children:[ve(c.RequiredIndicator,{"aria-label":y}),e,!o&&a?ve("span",{children:w}):null]}):null,t?ve(c.HelperText,{id:m,css:Wm(s,i),"aria-label":t,children:t}):null,n?ve(c.ErrorText,{id:g,css:Um(s),"aria-label":n,children:n}):null]}):null:x?be("div",{css:Fm,children:[e?be("p",{css:qm(s,i),"aria-label":"string"==typeof e?e:void 0,"data-disabled":i||void 0,children:[o?ve("span",{"data-required-indicator":!0,"aria-label":y,children:"*"}):null,e]}):null,t?ve("p",{id:m,css:Wm(s,i),"aria-label":t,children:t}):null,n?ve("p",{id:g,css:Um(s),"aria-label":n,children:n}):null]}):null,f,u?ve("div",{css:Km,children:u}):null]});return be("div",{css:Bm(0,v),className:p,...b,children:[v?ve("div",{css:_m}):null,"field"===h?ve(c.Root,{required:o,invalid:v,gap:"0",width:"100%",flex:"1",minW:"0",children:C}):C]})},Sb=new Set(["Tab","Escape"]);let Mb="pointer",Eb=0;const Tb=new Set,Ob=e=>{Mb!==e&&(Mb=e,Tb.forEach((t=>t(e))))},Lb=e=>{e.metaKey||e.altKey||e.ctrlKey||Sb.has(e.key)&&Ob("keyboard")},Ab=()=>Ob("pointer"),Nb=(e,t)=>{const[n,r]=ae(!1),[o,i]=ae(Mb);ce((()=>{return e=i,0===Eb&&(document.addEventListener("keydown",Lb,!0),document.addEventListener("pointerdown",Ab,!0)),Eb+=1,Tb.add(e),()=>{Tb.delete(e),Eb-=1,0===Eb&&(document.removeEventListener("keydown",Lb,!0),document.removeEventListener("pointerdown",Ab,!0))};var e}),[]);return{isTabFocused:n&&"keyboard"===o,onFocus:ue((t=>{r(!0),e?.(t)}),[e]),onBlur:ue((e=>{r(!1),t?.(e)}),[t])}},Rb=({label:e,caption:t,placeholder:n,errorMessage:r,required:o,disabled:i,size:s="default",showOptionalLabel:a=!0,noMarginBottom:l=!1,defaultValue:c="",onChange:u,onFocus:h,onBlur:p,labels:f,value:m,...g})=>{const b=tg("TextInput",f),[v,y]=ae(c),w=void 0!==m,x=w?String(m??""):v,C=Boolean(x),k=Nb(h,p);return ve($b,{className:"ds-text-input-container",label:e,caption:t,errorMessage:r,required:o,disabled:i,size:s,showOptionalLabel:a,noMarginBottom:l,labels:{requiredSymbolLabel:b.requiredSymbolLabel,optionalSuffix:b.optionalSuffix},semantics:"field",children:ve(d,{placeholder:n,disabled:i,focusVisibleRing:"none",css:kb(s,C),onChange:e=>{w||y(e.target.value),u&&u(e)},value:x,_placeholder:{color:"var(--chakra-colors-neutral-700)"},...g,"data-focus-visible":k.isTabFocused||void 0,onFocus:k.onFocus,onBlur:k.onBlur})})};const Db=e=>{const{editor:t,disabled:n}=Im(),[o,i]=ee.useState(!1),[s,a]=ee.useState(""),[l,c]=ee.useState(""),[d,p]=ee.useState(""),f=ee.useRef(null);if(ee.useEffect((()=>{n&&i(!1)}),[n]),!t)return null;const{label:m="Link",urlPlaceholder:g="http://example.org",labelPlaceholder:b="Label (optional)",labelInputAriaLabel:v="Link label",applyLabel:y="Apply",removeLabel:w="Remove",invalidUrlMessage:x="Please enter a valid URL",...C}=e,k=t.isActive("link"),$=()=>f.current?t.chain().focus().setTextSelection({from:f.current.from,to:f.current.to}):t.chain().focus();return Y(u.Root,{open:o,onOpenChange:({open:e})=>{n?i(!1):(i(e),e&&(()=>{const{from:e,to:n,empty:r}=t.state.selection,o=t.state.doc.textBetween(e,n," ").trim();f.current={from:e,to:n,empty:r,selectedText:o};const i=t.getAttributes("link")?.href||o||"";a(i||"http://"),c(o),p("")})())},positioning:{placement:"bottom-start"},children:[X(u.Trigger,{asChild:!0,children:X(r,{children:X(sb,{content:m,children:X(og,{icon:X("span",{"data-rte-icon":"true",children:X(_g,{})}),"aria-label":m,"aria-pressed":k||o,disabled:n,onMouseDown:e=>{e.preventDefault()},onClick:()=>{n||i((e=>!e))},...C})})})}),X(u.Positioner,{children:X(u.Content,{css:{padding:Ve(300),borderColor:Ie("neutral",300),width:`calc(( ${Ve(2800)} + ${Ve(2e3)} ) * 2)`,maxWidth:"90vw"},children:X(u.Body,{children:Y(r,{css:{display:"flex",flexDirection:"column",gap:Ve(300)},children:[X(Rb,{"aria-label":m,placeholder:g,disabled:n,noMarginBottom:!0,value:s,onChange:e=>{a(e.target.value),d&&p("")}}),X(Rb,{"aria-label":v,placeholder:b,disabled:n,noMarginBottom:!0,value:l,onChange:e=>{c(e.target.value)}}),d?X(h,{css:{color:Ie("error",700)},children:d}):null,Y(r,{css:{display:"flex",gap:Ve(200),justifyContent:"flex-end"},children:[k?X(ng,{variant:"borderless",size:"small",label:w,disabled:n,onMouseDown:e=>e.preventDefault(),onClick:()=>{$().unsetLink().run(),i(!1)}}):null,X(ng,{variant:"secondary",size:"small",label:y,disabled:n,onMouseDown:e=>e.preventDefault(),onClick:()=>{const e=function(e){const t=e.trim();return t?/^(https?:\/\/|mailto:|tel:)/i.test(t)?t:`http://${t}`:""}(s),t=l.trim();if(!e||!function(e){if(/^(mailto:|tel:)/i.test(e))return!0;try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}(e))return void p(x);const n=$(),r=f.current;if(r?.empty){const r=t||e;n.insertContent({type:"text",text:r,marks:[{type:"link",attrs:{href:e}}]}).run()}else t&&t!==r?.selectedText?n.insertContent({type:"text",text:t,marks:[{type:"link",attrs:{href:e}}]}).run():n.extendMarkRange("link").setLink({href:e}).run();i(!1)}})]})]})})})})]})},Pb=ee.forwardRef(((e,t)=>{const{editor:n,children:o,css:i,disabled:s,...a}=e,l=ee.useMemo((()=>({editor:n,disabled:Boolean(s)})),[n,s]);return X(Pm.Provider,{value:l,children:X(r,{ref:t,"data-disabled":s||void 0,css:[Gm,i],...a,children:o})})})),Ib={fixed:{bg:"bg",roundedTop:"l2",borderBottomWidth:"1px",p:"3"},floating:{bg:"bg.panel",roundedTop:"l2",shadow:"sm",p:"3"}},zb=ee.forwardRef(((e,t)=>{const{variant:n="fixed",css:r,...o}=e;return X(p,{ref:t,flexWrap:"wrap",separator:X(f,{h:"5",alignSelf:"center"}),css:[Ib[n],r],...o})})),Vb={Root:Pb,Toolbar:zb,Content:ee.forwardRef(((e,t)=>{const{editor:n}=Im();return n?X(Cm,{editor:n,innerRef:t,...e}):null})),ControlGroup:ee.forwardRef(((e,t)=>X(p,{ref:t,gap:"2",...e})))},Hb=["undo","redo","textType","alignment","fontSize","bold","italic","underline","strikethrough","bulletList","orderedList","link","image"],Bb=({defaultValue:e="",disabled:t=!1,ariaLabel:n,placeholder:r,minHeight:o,visibleControls:i=Hb,onChange:s,labels:a})=>{const l=tg("RichTextEditor",a),c=n||l.editorAriaLabel,d=r||l.placeholder,u=o,h=Om({extensions:[$f.configure({link:!1}),yh.configure({openOnClick:!0,autolink:!0,defaultProtocol:"https"}),wd,Cf,sp.configure({placeholder:d,emptyEditorClass:"is-editor-empty"}),ap,lp,cp.configure({types:["paragraph","heading"]}),bp],content:e,editable:!t,shouldRerenderOnTransaction:!0,immediatelyRender:!1,onUpdate:({editor:e})=>{s?.(e.getHTML())},editorProps:{attributes:{"aria-label":c}}},[d,c]);return ee.useEffect((()=>{h&&h.setEditable(!t)}),[h,t]),be(Vb.Root,{editor:h,disabled:t,css:{"& .ProseMirror":{minHeight:u||0}},children:[ve(Vb.Toolbar,{children:be(Vb.ControlGroup,{children:[i.includes("undo")?ve(yb,{label:l.undoTooltip}):null,i.includes("redo")?ve(wb,{label:l.redoTooltip}):null,i.includes("textType")?ve(db,{label:l.textTypeTooltip}):null,i.includes("alignment")?ve(Cb,{label:l.alignmentTooltip,alignLeftLabel:l.alignLeftOptionLabel,alignCenterLabel:l.alignCenterOptionLabel,alignRightLabel:l.alignRightOptionLabel,alignJustifyLabel:l.alignJustifyOptionLabel}):null,i.includes("fontSize")?ve(ub,{label:l.fontSizeTooltip}):null,i.includes("bold")?ve(hb,{label:l.boldTooltip,icon:ve("strong",{css:{fontSize:ze(600),lineHeight:1},children:l.boldIconText})}):null,i.includes("italic")?ve(pb,{label:l.italicTooltip,icon:ve("em",{css:{fontStyle:"italic",fontSize:ze(600),lineHeight:1},children:l.italicIconText})}):null,i.includes("underline")?ve(fb,{label:l.underlineTooltip,icon:ve("span",{css:{fontSize:ze(600),lineHeight:1,textDecoration:"underline"},children:l.underlineIconText})}):null,i.includes("strikethrough")?ve(mb,{label:l.strikethroughTooltip,icon:ve("span",{css:{fontSize:ze(600),lineHeight:1,textDecoration:"line-through"},children:l.strikethroughIconText})}):null,i.includes("bulletList")?ve(gb,{label:l.bulletListTooltip}):null,i.includes("orderedList")?ve(bb,{label:l.orderedListTooltip}):null,i.includes("link")?ve(Db,{label:l.linkTooltip,urlPlaceholder:l.linkUrlPlaceholder,labelPlaceholder:l.linkLabelPlaceholder,labelInputAriaLabel:l.linkLabelAriaLabel,applyLabel:l.linkApplyLabel,removeLabel:l.linkRemoveLabel,invalidUrlMessage:l.linkInvalidUrlMessage}):null,i.includes("image")?ve(vb,{label:l.imageTooltip}):null]})}),ve(Vb.Content,{})]})},_b={Google:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"Google",leftIcon:X(Rg,{}),"aria-label":e||"Google Login",variant:"secondary",size:t,onClick:n}),Facebook:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"Facebook",leftIcon:X(Dg,{}),"aria-label":e||"Facebook Login",variant:"secondary",size:t,onClick:n}),X:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"X",leftIcon:X(Pg,{}),"aria-label":e||"X Login",variant:"secondary",size:t,onClick:n}),Microsoft:({ariaLabel:e,size:t="default",onClick:n})=>X(ng,{label:"Microsoft",leftIcon:X(Ig,{}),"aria-label":e||"Microsoft Login",variant:"secondary",size:t,onClick:n})},jb=ke`
638
638
  width: ${Ve(500)} !important;
639
639
  padding: 0 !important;
640
640
  min-width: ${Ve(500)} !important;
@@ -680,7 +680,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
680
680
  }
681
681
  }
682
682
  }
683
- `,jb=({disabled:e,labels:t,...n})=>{const r=tg("CloseButton",t);return ve(og,{css:_b,icon:ve(pg,{}),"aria-label":n["aria-label"]||r.closeLabel,disabled:e,...n})},Fb=Ve(1200),qb=Ve(400),Wb="0.3s",Ub="ease",Kb="\n @media (prefers-reduced-motion: reduce) {\n transition: none !important;\n }\n",Gb=(e="right",t=!1,n=!1)=>ke`
683
+ `,Fb=({disabled:e,labels:t,...n})=>{const r=tg("CloseButton",t);return ve(og,{css:jb,icon:ve(pg,{}),"aria-label":n["aria-label"]||r.closeLabel,disabled:e,...n})},qb=Ve(1200),Wb=Ve(400),Ub="0.3s",Kb="ease",Gb="\n @media (prefers-reduced-motion: reduce) {\n transition: none !important;\n }\n",Zb=(e="right",t=!1,n=!1)=>ke`
684
684
  position: relative;
685
685
  width: ${t&&!n?"100%":"max-content"};
686
686
  height: ${t&&n?"100%":"auto"};
@@ -688,7 +688,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
688
688
  max-height: 100%;
689
689
  overflow: visible;
690
690
  ${"left"!==e||t?"":"margin-left: auto;"}
691
- `,Zb=(e,t="right",n=!1)=>ke`
691
+ `,Jb=(e,t="right",n=!1)=>ke`
692
692
  display: inline-flex;
693
693
  flex-direction: ${e?"column":"row"};
694
694
  align-items: stretch;
@@ -696,9 +696,9 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
696
696
  height: ${n&&e?"100%":"auto"};
697
697
  max-width: 100%;
698
698
  max-height: 100%;
699
- gap: ${qb};
699
+ gap: ${Wb};
700
700
  ${"left"!==t||n?"":"margin-left: auto;"}
701
- `,Jb=e=>ke`
701
+ `,Xb=e=>ke`
702
702
  position: absolute;
703
703
  inset: 0 auto auto 0;
704
704
  visibility: hidden;
@@ -706,7 +706,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
706
706
  display: inline-flex;
707
707
  flex-direction: ${e?"column":"row"};
708
708
  align-items: stretch;
709
- gap: ${qb};
709
+ gap: ${Wb};
710
710
  width: max-content;
711
711
  height: max-content;
712
712
  max-width: none;
@@ -725,7 +725,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
725
725
  .toolbar-item-label-text {
726
726
  min-width: max-content;
727
727
  }
728
- `,Xb=e=>ke`
728
+ `,Yb=e=>ke`
729
729
  display: inline-flex;
730
730
  flex-direction: ${e?"column":"row"};
731
731
  align-items: stretch;
@@ -735,12 +735,12 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
735
735
  ${e?"width: 100%;":""}
736
736
 
737
737
  ${e?`\n & > *:not(:first-child) .toolbar-item-surface {\n margin-top: calc(-1 * ${_e(100)});\n }\n\n & > *:not(:first-child):not(:last-child) .toolbar-item-surface {\n border-radius: 0;\n }\n\n & > *:first-child:not(:only-child) .toolbar-item-surface {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n\n & > *:last-child:not(:only-child) .toolbar-item-surface {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n `:`\n & > *:not(:first-child) .toolbar-item-surface {\n margin-left: calc(-1 * ${_e(100)});\n }\n\n & > *:not(:first-child):not(:last-child) .toolbar-item-surface {\n border-radius: 0;\n }\n\n & > *:first-child:not(:only-child) .toolbar-item-surface {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n\n & > *:last-child:not(:only-child) .toolbar-item-surface {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n `}
738
- `,Yb=(e,t=!1,n="right")=>ke`
738
+ `,Qb=(e,t=!1,n="right")=>ke`
739
739
  display: flex;
740
740
  align-items: center;
741
741
  justify-content: flex-start;
742
742
  gap: 0;
743
- height: ${Fb};
743
+ height: ${qb};
744
744
  padding: 0;
745
745
  text-align: left;
746
746
  color: ${Ie("neutral",800)};
@@ -750,11 +750,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
750
750
  border: none !important;
751
751
  box-shadow: none !important;
752
752
  overflow: visible;
753
- transition: max-width ${Wb} ${Ub};
754
- ${Kb}
753
+ transition: max-width ${Ub} ${Kb};
754
+ ${Gb}
755
755
  width: auto;
756
- min-width: ${Fb};
757
- max-width: ${e?"20rem":Fb};
756
+ min-width: ${qb};
757
+ max-width: ${e?"20rem":qb};
758
758
  flex-shrink: 0;
759
759
  justify-self: stretch;
760
760
 
@@ -811,14 +811,14 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
811
811
  background-color: ${Ie("neutral",300)} !important;
812
812
  }
813
813
  }
814
- `,Qb=(e,t=!1,n="right")=>ke`
814
+ `,ev=(e,t=!1,n="right")=>ke`
815
815
  display: flex;
816
816
  align-items: center;
817
817
  justify-content: flex-start;
818
818
  position: relative;
819
819
  height: 100%;
820
820
  width: 100%;
821
- min-width: ${Fb};
821
+ min-width: ${qb};
822
822
  border-radius: ${Be(200)};
823
823
  background-color: ${Ie("neutral",100)};
824
824
  border: ${_e(100)} solid ${Ie("neutral",300)};
@@ -831,7 +831,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
831
831
  .toolbar-item-button:active:not(:disabled) & {
832
832
  background-color: ${Ie("neutral",100)};
833
833
  }
834
- `,ev=(e,t=!1,n="right")=>ke`
834
+ `,tv=(e,t=!1,n="right")=>ke`
835
835
  display: grid;
836
836
  align-items: center;
837
837
  width: 100%;
@@ -839,8 +839,8 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
839
839
  min-height: ${Ve(800)};
840
840
  border-radius: ${Be(300)};
841
841
  overflow: hidden;
842
- transition: grid-template-columns ${Wb} ${Ub};
843
- ${Kb}
842
+ transition: grid-template-columns ${Ub} ${Kb};
843
+ ${Gb}
844
844
 
845
845
  ${t&&"left"===n?`\n grid-template-columns: ${e?"1fr auto":"0fr auto"};\n justify-content: end;\n\n .toolbar-item-icon {\n order: 2;\n }\n\n .toolbar-item-label {\n order: 1;\n }\n `:`\n grid-template-columns: ${e?"auto 1fr":"auto 0fr"};\n `}
846
846
 
@@ -848,7 +848,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
848
848
  .toolbar-item-button:active:not(:disabled) & {
849
849
  background-color: ${Ie("primary",300)};
850
850
  }
851
- `,tv=ke`
851
+ `,nv=ke`
852
852
  display: inline-flex;
853
853
  align-items: center;
854
854
  justify-content: center;
@@ -856,7 +856,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
856
856
  min-width: ${Ve(800)};
857
857
  height: ${Ve(800)};
858
858
  flex-shrink: 0;
859
- `,nv=(e,t=!1,n="right")=>ke`
859
+ `,rv=(e,t=!1,n="right")=>ke`
860
860
  display: block;
861
861
  min-width: 0;
862
862
  overflow: hidden;
@@ -870,15 +870,15 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
870
870
  min-width: min-content;
871
871
  }
872
872
  transition:
873
- opacity 0.2s ${Ub} ${e?"0.05s":"0s"},
874
- padding ${Wb} ${Ub};
875
- ${Kb}
873
+ opacity 0.2s ${Kb} ${e?"0.05s":"0s"},
874
+ padding ${Ub} ${Kb};
875
+ ${Gb}
876
876
  pointer-events: ${e?"auto":"none"};
877
- `,rv=ke`
878
- display: inline-flex;
879
- transition: transform ${Wb} ${Ub};
880
- ${Kb}
881
877
  `,ov=ke`
878
+ display: inline-flex;
879
+ transition: transform ${Ub} ${Kb};
880
+ ${Gb}
881
+ `,iv=ke`
882
882
  min-width: 10rem;
883
883
  padding: ${Ve(100)};
884
884
  background-color: ${Ie("neutral",100)};
@@ -888,7 +888,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
888
888
  0 0.25rem 0.375rem -0.25rem #0000001a,
889
889
  0 0.625rem 0.9375rem -0.1875rem #0000001a;
890
890
  overflow: visible !important;
891
- `,iv=ke`
891
+ `,sv=ke`
892
892
  display: flex;
893
893
  align-items: center;
894
894
  gap: ${Ve(200)};
@@ -959,7 +959,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
959
959
  fill: ${Ie("neutral",500)};
960
960
  }
961
961
  }
962
- `,sv=ie((({isExpanded:e,ariaLabel:t,icon:r,label:o,tooltip:i,disabled:s,onClick:a,vertical:l,expandSide:c="right",active:d},u)=>{const h=Ab(),p=((e,t)=>"left"===e?t?"left":"top":t?"right":"bottom")(c,l),f=ve(n,{ref:u,className:"toolbar-item-button",css:Yb(e,!!l,c),"aria-label":t,"aria-pressed":"boolean"==typeof d?d:void 0,"data-active":d||void 0,disabled:s,onClick:a,onFocus:h.onFocus,onBlur:h.onBlur,"data-focus-visible":h.isTabFocused||void 0,focusVisibleRing:"none",children:ve("span",{className:"toolbar-item-surface",css:Qb(0,!!l,c),children:be("span",{css:ev(e,!!l,c),children:[r?ve("span",{className:"toolbar-item-icon",css:tv,children:r}):null,o?ve("span",{className:"toolbar-item-label",css:nv(e,!!l,c),"aria-hidden":!e,children:ve("span",{className:"toolbar-item-label-text",children:o})}):null]})})});return i?ve(ib,{content:i,position:p,preserveFocusOnChild:!0,disabled:e,children:f}):f}));sv.displayName="ToolbarButton";const av=(e,t)=>e&&e instanceof HTMLElement?t?e.offsetHeight:e.offsetWidth:0,lv=({itemSizes:e,endsGroup:t,overflowSize:n,toggleSize:r,gap:o,available:i})=>{const s=e.length;if(0===s)return 0;const a=a=>{const l=a<s;let c=0;for(let t=0;t<a;t+=1)c+=e[t];l&&(c+=n),r>0&&(c+=r);const d=((e,t,n,r)=>{let o=0;if(e>0){o=1;for(let n=0;n<e-1;n+=1)t[n]&&(o+=1)}return n&&(o+=1),r&&(o+=1),o})(a,t,l,r>0);return c+=Math.max(d-1,0)*o,c<=i+1};for(let e=s;e>=0;e-=1)if(a(e))return e;return 0},cv=(e,t,n,r)=>{const o=e.querySelector(`[data-toolbar-measure-mode="${t}"]`);if(!o)return{itemSizes:[],overflowSize:0,toggleSize:0,gap:0};const i=Number.parseFloat(getComputedStyle(o).gap||"0")||0;return{itemSizes:Array.from(o.querySelectorAll("[data-toolbar-measure-item]")).map((e=>av(e,n))),overflowSize:av(o.querySelector("[data-toolbar-measure-overflow]"),n),toggleSize:r?av(o.querySelector("[data-toolbar-measure-toggle]"),n):0,gap:i}};const dv=(e,t)=>t&&!1!==e.gap||!t&&!0===e.gap,uv=(e,t)=>{const n=[];let r=[];return e.forEach((e=>{r.push(e),dv(e,t)&&(n.push(r),r=[])})),r.length&&n.push(r),n},hv=({vertical:e,expandSide:t,ariaLabel:n})=>ve("button",{type:"button",tabIndex:-1,"aria-hidden":!0,className:"toolbar-item-button","aria-label":n,css:Yb(!1,e,t),children:ve("span",{className:"toolbar-item-surface",css:Qb(0,e,t),children:ve("span",{css:ev(!1,e,t),children:ve("span",{className:"toolbar-item-icon",css:tv,children:ve(fg,{})})})})}),pv=({mode:e,items:t,defaultGaps:n,vertical:r,expandSide:o,showExpandedToggle:i,expandLabel:s,collapseLabel:a,expandAriaLabel:l,collapseAriaLabel:c})=>{const d="expanded"===e,u=uv(t,n);return be("div",{"data-toolbar-measure-mode":e,css:Jb(r),children:[u.map((t=>ve("div",{css:Xb(r),children:t.map((e=>ve("span",{"data-toolbar-measure-item":!0,children:ve(sv,{isExpanded:d,ariaLabel:e.ariaLabel,icon:e.icon,label:e.label,disabled:e.disabled,vertical:r,expandSide:o,active:e.active})},e.ariaLabel)))},`measure-${e}-${t.map((e=>e.ariaLabel)).join("-")}`))),ve("div",{"data-toolbar-measure-overflow":!0,css:Xb(r),children:ve(hv,{vertical:r,expandSide:o,ariaLabel:l})}),i?ve("div",{"data-toolbar-measure-toggle":!0,css:Xb(r),children:ve(sv,{isExpanded:d,ariaLabel:d?c:l,icon:ve("span",{css:rv,children:ve(Hg,{})}),label:d?a:s,vertical:r,expandSide:o})}):null]})},fv=({items:e,vertical:t=!1,expanded:n=!1,showExpandedToggle:r,autoCollapse:o=!1,expandSide:i="right",ariaLabel:l,defaultGaps:c,labels:d})=>{const u=tg("Toolbar",d),[h,p]=ae(n),f=e.map((e=>`${e.ariaLabel}:${dv(e,c)}`)).join("|"),m=oe((()=>f.split("|").map((e=>{const t=e.lastIndexOf(":");return"true"===e.slice(t+1)}))),[f]),{containerRef:g,measureRef:b,visibleNumberOfItems:v,shouldForceCollapse:y}=function({itemsCount:e,isExpanded:t,isVertical:n,endsGroup:r,showExpandedToggle:o,autoCollapse:i}){const s=se(null),a=se(null),[l,c]=ae(e),[d,u]=ae(!1),h=ue((()=>{const l=s.current,d=a.current;if(!i||!l||!d)return u(!1),void c((t=>t===e?t:e));const h=n?l.clientHeight:l.clientWidth;if(h<=0)return;const p=cv(d,"expanded",n,o),f=cv(d,"collapsed",n,o);if(p.itemSizes.length!==e||f.itemSizes.length!==e)return;const m=lv({itemSizes:p.itemSizes,endsGroup:r,overflowSize:p.overflowSize,toggleSize:p.toggleSize,gap:p.gap,available:h}),g=lv({itemSizes:f.itemSizes,endsGroup:r,overflowSize:f.overflowSize,toggleSize:f.toggleSize,gap:f.gap,available:h});return t&&m>0?(u(!1),void c((e=>e===m?e:m))):t&&0===m?(u(!0),void c((e=>e===g?e:g))):(u(!1),void c((e=>e===g?e:g)))}),[i,r,t,n,e,o]);return de((()=>{h();const e=s.current,t=a.current;if(!e)return;const n=new ResizeObserver((()=>{h()}));return n.observe(e),t&&n.observe(t),()=>n.disconnect()}),[h]),{containerRef:s,measureRef:a,visibleNumberOfItems:l,shouldForceCollapse:d}}({itemsCount:e.length,isExpanded:h,isVertical:t,endsGroup:m,showExpandedToggle:r,autoCollapse:o});ce((()=>{p(n)}),[n]);const w=e.slice(0,v),x=e.slice(v,e.length),C=uv(w,c),k=h&&!y,$=x.map((e=>({label:e.label,startIcon:e.icon,disabled:e.disabled,onClick:e.onClick,itemAriaLabel:e.ariaLabel,active:e.active}))),S=("left"===i?180:0)+(h?180:0),M=t?"left"===i?"left-start":"right-start":"bottom-end";return be("div",{role:"toolbar","aria-label":l,css:Gb(i,o,t),children:[o?be("div",{ref:b,"aria-hidden":!0,children:[ve(pv,{mode:"expanded",items:e,defaultGaps:c,vertical:t,expandSide:i,showExpandedToggle:r,expandLabel:u.expandLabel,collapseLabel:u.collapseLabel,expandAriaLabel:u.expandAriaLabel,collapseAriaLabel:u.collapseAriaLabel}),ve(pv,{mode:"collapsed",items:e,defaultGaps:c,vertical:t,expandSide:i,showExpandedToggle:r,expandLabel:u.expandLabel,collapseLabel:u.collapseLabel,expandAriaLabel:u.expandAriaLabel,collapseAriaLabel:u.collapseAriaLabel})]}):null,be("div",{ref:g,css:Zb(t,i,o),children:[C.map((e=>ve("div",{css:Xb(t),children:e.map((e=>ve(sv,{isExpanded:k,ariaLabel:e.ariaLabel,icon:e.icon,label:e.label,tooltip:e.tooltip,disabled:e.disabled,onClick:e.onClick,vertical:t,expandSide:i,active:e.active},e.ariaLabel)))},e.map((e=>e.ariaLabel)).join("-")))),x.length>0&&ve("div",{css:Xb(t),children:be(s.Root,{loopFocus:!0,positioning:{placement:M,gutter:0},onSelect:({value:e})=>(e=>{const t=x.find((t=>t.ariaLabel===e));t&&t.onClick&&t.onClick()})(e),children:[ve(s.Trigger,{asChild:!0,children:ve("button",{type:"button",className:"toolbar-item-button","aria-label":u.expandAriaLabel,"aria-haspopup":"menu",css:Yb(!1,t,i),children:ve("span",{className:"toolbar-item-surface",css:Qb(0,t,i),children:ve("span",{css:ev(!1,t,i),children:ve("span",{className:"toolbar-item-icon",css:tv,children:ve(fg,{})})})})})}),ve(a,{children:ve(s.Positioner,{children:ve(s.Content,{css:ov,role:"menu","aria-label":u.expandAriaLabel,children:$.map((({label:e,startIcon:t,onClick:n,itemAriaLabel:r,disabled:o,active:i})=>be(s.Item,{css:iv,value:r,disabled:o,role:"boolean"==typeof i?"menuitemcheckbox":"menuitem","aria-label":r,"aria-checked":"boolean"==typeof i?i:void 0,"data-active":i||void 0,onClick:n,children:[t,ve("span",{children:e??r})]},r)))})})})]})}),r&&ve("div",{css:Xb(t),children:ve(sv,{isExpanded:k,ariaLabel:h?u.collapseAriaLabel:u.expandAriaLabel,icon:ve("span",{css:rv,style:{transform:`rotate(${S}deg)`},children:ve(Hg,{})}),label:h?u.collapseLabel:u.expandLabel,onClick:()=>p(!h),vertical:t,expandSide:i})})]})]})},mv=({onZoomInClick:e,onZoomOutClick:t,onExpandClick:n,onShareClick:r,onPrintClick:o,onSettingsClick:i,onQuestionClick:s,vertical:a,expanded:l,showExpandedToggle:c,ariaLabel:d,labels:u})=>{const h=tg("MapControlsToolbar",u),p=[{icon:X(Cg,{}),label:h.zoomInLabel,ariaLabel:h.zoomInAriaLabel,onClick:e},{icon:X(kg,{}),label:h.zoomOutLabel,ariaLabel:h.zoomOutAriaLabel,onClick:t,gap:!0},{icon:X($g,{}),label:h.expandLabel,ariaLabel:h.expandAriaLabel,onClick:n,gap:!0},{icon:X(Sg,{}),label:h.shareLabel,ariaLabel:h.shareAriaLabel,onClick:r,gap:!0},{icon:X(Mg,{}),label:h.printLabel,ariaLabel:h.printAriaLabel,onClick:o,gap:!0},{icon:X(Eg,{}),label:h.settingsLabel,ariaLabel:h.settingsAriaLabel,onClick:i,gap:!0},{icon:X(Tg,{}),label:h.helpLabel,ariaLabel:h.helpAriaLabel,onClick:s}];return X(fv,{items:p,vertical:a,expanded:l,showExpandedToggle:c,ariaLabel:d||h.toolbarAriaLabel})},gv=ke`
962
+ `,av=ie((({isExpanded:e,ariaLabel:t,icon:r,label:o,tooltip:i,disabled:s,onClick:a,vertical:l,expandSide:c="right",active:d},u)=>{const h=Nb(),p=((e,t)=>"left"===e?t?"left":"top":t?"right":"bottom")(c,l),f=ve(n,{ref:u,className:"toolbar-item-button",css:Qb(e,!!l,c),"aria-label":t,"aria-pressed":"boolean"==typeof d?d:void 0,"data-active":d||void 0,disabled:s,onClick:a,onFocus:h.onFocus,onBlur:h.onBlur,"data-focus-visible":h.isTabFocused||void 0,focusVisibleRing:"none",children:ve("span",{className:"toolbar-item-surface",css:ev(0,!!l,c),children:be("span",{css:tv(e,!!l,c),children:[r?ve("span",{className:"toolbar-item-icon",css:nv,children:r}):null,o?ve("span",{className:"toolbar-item-label",css:rv(e,!!l,c),"aria-hidden":!e,children:ve("span",{className:"toolbar-item-label-text",children:o})}):null]})})});return i?ve(sb,{content:i,position:p,preserveFocusOnChild:!0,disabled:e,children:f}):f}));av.displayName="ToolbarButton";const lv=(e,t)=>e&&e instanceof HTMLElement?t?e.offsetHeight:e.offsetWidth:0,cv=({itemSizes:e,endsGroup:t,overflowSize:n,toggleSize:r,gap:o,available:i})=>{const s=e.length;if(0===s)return 0;const a=a=>{const l=a<s;let c=0;for(let t=0;t<a;t+=1)c+=e[t];l&&(c+=n),r>0&&(c+=r);const d=((e,t,n,r)=>{let o=0;if(e>0){o=1;for(let n=0;n<e-1;n+=1)t[n]&&(o+=1)}return n&&(o+=1),r&&(o+=1),o})(a,t,l,r>0);return c+=Math.max(d-1,0)*o,c<=i+1};for(let e=s;e>=0;e-=1)if(a(e))return e;return 0},dv=(e,t,n,r)=>{const o=e.querySelector(`[data-toolbar-measure-mode="${t}"]`);if(!o)return{itemSizes:[],overflowSize:0,toggleSize:0,gap:0};const i=Number.parseFloat(getComputedStyle(o).gap||"0")||0;return{itemSizes:Array.from(o.querySelectorAll("[data-toolbar-measure-item]")).map((e=>lv(e,n))),overflowSize:lv(o.querySelector("[data-toolbar-measure-overflow]"),n),toggleSize:r?lv(o.querySelector("[data-toolbar-measure-toggle]"),n):0,gap:i}};const uv=(e,t)=>t&&!1!==e.gap||!t&&!0===e.gap,hv=(e,t)=>{const n=[];let r=[];return e.forEach((e=>{r.push(e),uv(e,t)&&(n.push(r),r=[])})),r.length&&n.push(r),n},pv=({vertical:e,expandSide:t,ariaLabel:n})=>ve("button",{type:"button",tabIndex:-1,"aria-hidden":!0,className:"toolbar-item-button","aria-label":n,css:Qb(!1,e,t),children:ve("span",{className:"toolbar-item-surface",css:ev(0,e,t),children:ve("span",{css:tv(!1,e,t),children:ve("span",{className:"toolbar-item-icon",css:nv,children:ve(fg,{})})})})}),fv=({mode:e,items:t,defaultGaps:n,vertical:r,expandSide:o,showExpandedToggle:i,expandLabel:s,collapseLabel:a,expandAriaLabel:l,collapseAriaLabel:c})=>{const d="expanded"===e,u=hv(t,n);return be("div",{"data-toolbar-measure-mode":e,css:Xb(r),children:[u.map((t=>ve("div",{css:Yb(r),children:t.map((e=>ve("span",{"data-toolbar-measure-item":!0,children:ve(av,{isExpanded:d,ariaLabel:e.ariaLabel,icon:e.icon,label:e.label,disabled:e.disabled,vertical:r,expandSide:o,active:e.active})},e.ariaLabel)))},`measure-${e}-${t.map((e=>e.ariaLabel)).join("-")}`))),ve("div",{"data-toolbar-measure-overflow":!0,css:Yb(r),children:ve(pv,{vertical:r,expandSide:o,ariaLabel:l})}),i?ve("div",{"data-toolbar-measure-toggle":!0,css:Yb(r),children:ve(av,{isExpanded:d,ariaLabel:d?c:l,icon:ve("span",{css:ov,children:ve(Hg,{})}),label:d?a:s,vertical:r,expandSide:o})}):null]})},mv=({items:e,vertical:t=!1,expanded:n=!1,showExpandedToggle:r,autoCollapse:o=!1,expandSide:i="right",ariaLabel:l,defaultGaps:c,labels:d})=>{const u=tg("Toolbar",d),[h,p]=ae(n),f=e.map((e=>`${e.ariaLabel}:${uv(e,c)}`)).join("|"),m=oe((()=>f.split("|").map((e=>{const t=e.lastIndexOf(":");return"true"===e.slice(t+1)}))),[f]),{containerRef:g,measureRef:b,visibleNumberOfItems:v,shouldForceCollapse:y}=function({itemsCount:e,isExpanded:t,isVertical:n,endsGroup:r,showExpandedToggle:o,autoCollapse:i}){const s=se(null),a=se(null),[l,c]=ae(e),[d,u]=ae(!1),h=ue((()=>{const l=s.current,d=a.current;if(!i||!l||!d)return u(!1),void c((t=>t===e?t:e));const h=n?l.clientHeight:l.clientWidth;if(h<=0)return;const p=dv(d,"expanded",n,o),f=dv(d,"collapsed",n,o);if(p.itemSizes.length!==e||f.itemSizes.length!==e)return;const m=cv({itemSizes:p.itemSizes,endsGroup:r,overflowSize:p.overflowSize,toggleSize:p.toggleSize,gap:p.gap,available:h}),g=cv({itemSizes:f.itemSizes,endsGroup:r,overflowSize:f.overflowSize,toggleSize:f.toggleSize,gap:f.gap,available:h});return t&&m>0?(u(!1),void c((e=>e===m?e:m))):t&&0===m?(u(!0),void c((e=>e===g?e:g))):(u(!1),void c((e=>e===g?e:g)))}),[i,r,t,n,e,o]);return de((()=>{h();const e=s.current,t=a.current;if(!e)return;const n=new ResizeObserver((()=>{h()}));return n.observe(e),t&&n.observe(t),()=>n.disconnect()}),[h]),{containerRef:s,measureRef:a,visibleNumberOfItems:l,shouldForceCollapse:d}}({itemsCount:e.length,isExpanded:h,isVertical:t,endsGroup:m,showExpandedToggle:r,autoCollapse:o});ce((()=>{p(n)}),[n]);const w=e.slice(0,v),x=e.slice(v,e.length),C=hv(w,c),k=h&&!y,$=x.map((e=>({label:e.label,startIcon:e.icon,disabled:e.disabled,onClick:e.onClick,itemAriaLabel:e.ariaLabel,active:e.active}))),S=("left"===i?180:0)+(h?180:0),M=t?"left"===i?"left-start":"right-start":"bottom-end";return be("div",{role:"toolbar","aria-label":l,css:Zb(i,o,t),children:[o?be("div",{ref:b,"aria-hidden":!0,children:[ve(fv,{mode:"expanded",items:e,defaultGaps:c,vertical:t,expandSide:i,showExpandedToggle:r,expandLabel:u.expandLabel,collapseLabel:u.collapseLabel,expandAriaLabel:u.expandAriaLabel,collapseAriaLabel:u.collapseAriaLabel}),ve(fv,{mode:"collapsed",items:e,defaultGaps:c,vertical:t,expandSide:i,showExpandedToggle:r,expandLabel:u.expandLabel,collapseLabel:u.collapseLabel,expandAriaLabel:u.expandAriaLabel,collapseAriaLabel:u.collapseAriaLabel})]}):null,be("div",{ref:g,css:Jb(t,i,o),children:[C.map((e=>ve("div",{css:Yb(t),children:e.map((e=>ve(av,{isExpanded:k,ariaLabel:e.ariaLabel,icon:e.icon,label:e.label,tooltip:e.tooltip,disabled:e.disabled,onClick:e.onClick,vertical:t,expandSide:i,active:e.active},e.ariaLabel)))},e.map((e=>e.ariaLabel)).join("-")))),x.length>0&&ve("div",{css:Yb(t),children:be(s.Root,{loopFocus:!0,positioning:{placement:M,gutter:0},onSelect:({value:e})=>(e=>{const t=x.find((t=>t.ariaLabel===e));t&&t.onClick&&t.onClick()})(e),children:[ve(s.Trigger,{asChild:!0,children:ve("button",{type:"button",className:"toolbar-item-button","aria-label":u.expandAriaLabel,"aria-haspopup":"menu",css:Qb(!1,t,i),children:ve("span",{className:"toolbar-item-surface",css:ev(0,t,i),children:ve("span",{css:tv(!1,t,i),children:ve("span",{className:"toolbar-item-icon",css:nv,children:ve(fg,{})})})})})}),ve(a,{children:ve(s.Positioner,{children:ve(s.Content,{css:iv,role:"menu","aria-label":u.expandAriaLabel,children:$.map((({label:e,startIcon:t,onClick:n,itemAriaLabel:r,disabled:o,active:i})=>be(s.Item,{css:sv,value:r,disabled:o,role:"boolean"==typeof i?"menuitemcheckbox":"menuitem","aria-label":r,"aria-checked":"boolean"==typeof i?i:void 0,"data-active":i||void 0,onClick:n,children:[t,ve("span",{children:e??r})]},r)))})})})]})}),r&&ve("div",{css:Yb(t),children:ve(av,{isExpanded:k,ariaLabel:h?u.collapseAriaLabel:u.expandAriaLabel,icon:ve("span",{css:ov,style:{transform:`rotate(${S}deg)`},children:ve(Hg,{})}),label:h?u.collapseLabel:u.expandLabel,onClick:()=>p(!h),vertical:t,expandSide:i})})]})]})},gv=({onZoomInClick:e,onZoomOutClick:t,onExpandClick:n,onShareClick:r,onPrintClick:o,onSettingsClick:i,onQuestionClick:s,vertical:a,expanded:l,showExpandedToggle:c,ariaLabel:d,labels:u})=>{const h=tg("MapControlsToolbar",u),p=[{icon:X(Cg,{}),label:h.zoomInLabel,ariaLabel:h.zoomInAriaLabel,onClick:e},{icon:X(kg,{}),label:h.zoomOutLabel,ariaLabel:h.zoomOutAriaLabel,onClick:t,gap:!0},{icon:X($g,{}),label:h.expandLabel,ariaLabel:h.expandAriaLabel,onClick:n,gap:!0},{icon:X(Sg,{}),label:h.shareLabel,ariaLabel:h.shareAriaLabel,onClick:r,gap:!0},{icon:X(Mg,{}),label:h.printLabel,ariaLabel:h.printAriaLabel,onClick:o,gap:!0},{icon:X(Eg,{}),label:h.settingsLabel,ariaLabel:h.settingsAriaLabel,onClick:i,gap:!0},{icon:X(Tg,{}),label:h.helpLabel,ariaLabel:h.helpAriaLabel,onClick:s}];return X(mv,{items:p,vertical:a,expanded:l,showExpandedToggle:c,ariaLabel:d||h.toolbarAriaLabel})},bv=ke`
963
963
  width: 100%;
964
964
  max-width: 12.5rem;
965
965
  border: ${_e(100)} solid ${Ie("neutral",600)};
@@ -968,11 +968,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
968
968
  /* Elevation matches the shadow used across the button family
969
969
  (Button/styled.ts). No shadow token exists in the theme yet. */
970
970
  box-shadow: 0 0.25rem 0.375rem -0.0625rem #0000001a;
971
- `,bv=e=>{switch(e){case"secondary":return Ie("neutral",400);case"borderless":return"transparent";case"outline":return Ie("primary",900);case"negative":return Ie("error",500);default:return Ie("primary",800)}},vv=(e,t)=>{if(t)return Ie("neutral",500);switch(e){case"secondary":return Ie("neutral",800);case"borderless":return Ie("neutral",900);case"outline":return Ie("primary",800);case"negative":return Ie("accessible","text-on-negative-mids")||Ie("error",900);default:return Ie("accessible","text-on-primary-mids")||Ie("primary",900)}},yv=e=>ke`
971
+ `,vv=e=>{switch(e){case"secondary":return Ie("neutral",400);case"borderless":return"transparent";case"outline":return Ie("primary",900);case"negative":return Ie("error",500);default:return Ie("primary",800)}},yv=(e,t)=>{if(t)return Ie("neutral",500);switch(e){case"secondary":return Ie("neutral",800);case"borderless":return Ie("neutral",900);case"outline":return Ie("primary",800);case"negative":return Ie("accessible","text-on-negative-mids")||Ie("error",900);default:return Ie("accessible","text-on-primary-mids")||Ie("primary",900)}},wv=e=>ke`
972
972
  /* Hover on the closed trigger: keep the Button hover background and
973
973
  elevation, only emphasize the border. */
974
974
  &:hover:not(:disabled):not([data-disabled]):not([data-state='open']) {
975
- border-color: ${bv(e)};
975
+ border-color: ${vv(e)};
976
976
  }
977
977
 
978
978
  /* Open (menu expanded): default background + emphasized border, no
@@ -980,10 +980,10 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
980
980
  rule also wins over the Button hover styles while the menu is open. */
981
981
  &&[data-state='open']:not(:disabled):not([data-disabled]) {
982
982
  background-color: ${(e=>{switch(e){case"secondary":return Ie("neutral",100);case"borderless":return`color-mix(in srgb, ${Ie("primary",500)} 40%, transparent)`;case"outline":return"transparent";case"negative":return Ie("error",100);default:return Ie("primary",500)}})(e)};
983
- border-color: ${bv(e)};
983
+ border-color: ${vv(e)};
984
984
  box-shadow: none;
985
985
  }
986
- `,wv=e=>ke`
986
+ `,xv=e=>ke`
987
987
  font-size: ${ze("small"===e?300:400)};
988
988
  line-height: ${He("small"===e?500:600)};
989
989
  color: ${Ie("neutral",900)};
@@ -998,33 +998,33 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
998
998
  cursor: not-allowed;
999
999
  color: ${Ie("neutral",500)};
1000
1000
  }
1001
- `,xv=ke`
1001
+ `,Cv=ke`
1002
1002
  &:focus-visible {
1003
1003
  outline-color: ${Ie("primary",700)};
1004
1004
  }
1005
- `,Cv=e=>({padding:"small"===e?`0 ${Ve(200)}`:`0 ${Ve(300)}`}),kv=te.forwardRef(((e,t)=>{const{portalled:n=!0,portalRef:r,...o}=e;return ve(a,{disabled:!n,container:r,children:ve(s.Positioner,{children:ve(s.Content,{css:gv,ref:t,...o})})})})),$v=({variant:e="primary",size:t="default",mainActionLabel:n,mainActionOnClick:r=()=>{},otherActions:o=[],disabled:i,mainActionLeftIcon:a,mainActionRightIcon:l,labels:c,...d})=>{const u=tg("MultiActionButton",c),[h,p]=ae(!1),f=i?u.disabledAriaLabel(n):void 0;return be(m,{css:xv,attached:!0,tabIndex:i?0:void 0,"aria-disabled":i,"aria-label":f,role:"group",children:[ve(ng,{...d,label:n,variant:e,size:t,onClick:r,disabled:i,leftIcon:a,rightIcon:l}),be(s.Root,{onOpenChange:({open:e})=>p(e),positioning:{placement:"bottom-end"},onSelect:({value:e})=>{const t=o.find((t=>t.value===e));t&&!t.disabled&&t.onClick()},children:[ve(s.Trigger,{css:yv(e),"data-group-item":!0,"data-last":!0,asChild:!0,children:ve(ng,{style:Cv(t),"aria-label":u.openOptionsLabel(n),"aria-haspopup":"menu","aria-expanded":h,variant:e,size:t,leftIcon:ve(dg,{"aria-hidden":"true",rotate:h?"180":"0",color:vv(e,i)}),disabled:i})}),ve(kv,{children:o.map((({label:e,value:n,disabled:r})=>ve(s.Item,{css:wv(t),value:n,disabled:r,children:e},n)))})]})]})},Sv=ke`
1005
+ `,kv=e=>({padding:"small"===e?`0 ${Ve(200)}`:`0 ${Ve(300)}`}),$v=te.forwardRef(((e,t)=>{const{portalled:n=!0,portalRef:r,...o}=e;return ve(a,{disabled:!n,container:r,children:ve(s.Positioner,{children:ve(s.Content,{css:bv,ref:t,...o})})})})),Sv=({variant:e="primary",size:t="default",mainActionLabel:n,mainActionOnClick:r=()=>{},otherActions:o=[],disabled:i,mainActionLeftIcon:a,mainActionRightIcon:l,labels:c,...d})=>{const u=tg("MultiActionButton",c),[h,p]=ae(!1),f=i?u.disabledAriaLabel(n):void 0;return be(m,{css:Cv,attached:!0,tabIndex:i?0:void 0,"aria-disabled":i,"aria-label":f,role:"group",children:[ve(ng,{...d,label:n,variant:e,size:t,onClick:r,disabled:i,leftIcon:a,rightIcon:l}),be(s.Root,{onOpenChange:({open:e})=>p(e),positioning:{placement:"bottom-end"},onSelect:({value:e})=>{const t=o.find((t=>t.value===e));t&&!t.disabled&&t.onClick()},children:[ve(s.Trigger,{css:wv(e),"data-group-item":!0,"data-last":!0,asChild:!0,children:ve(ng,{style:kv(t),"aria-label":u.openOptionsLabel(n),"aria-haspopup":"menu","aria-expanded":h,variant:e,size:t,leftIcon:ve(dg,{"aria-hidden":"true",rotate:h?"180":"0",color:yv(e,i)}),disabled:i})}),ve($v,{children:o.map((({label:e,value:n,disabled:r})=>ve(s.Item,{css:xv(t),value:n,disabled:r,children:e},n)))})]})]})},Mv=ke`
1006
1006
  position: relative;
1007
1007
  width: 100%;
1008
1008
  padding-left: 1.1875rem;
1009
- `,Mv=ke`
1009
+ `,Ev=ke`
1010
1010
  font-size: ${ze(400)};
1011
1011
  line-height: ${He(600)};
1012
1012
  margin-bottom: ${Ve(100)};
1013
1013
  color: ${Ie("neutral",900)};
1014
- `,Ev=ke`
1014
+ `,Tv=ke`
1015
1015
  width: 0.1875rem;
1016
1016
  height: 100%;
1017
1017
  background-color: ${Ie("error",900)};
1018
1018
  position: absolute;
1019
1019
  top: 0;
1020
1020
  left: 0;
1021
- `,Tv=ke`
1021
+ `,Ov=ke`
1022
1022
  font-size: ${ze(300)};
1023
1023
  line-height: ${He(500)};
1024
1024
  font-weight: 700;
1025
1025
  color: ${Ie("error",900)};
1026
1026
  margin-bottom: ${Ve(200)};
1027
- `,Ov=({label:e,error:t,children:n})=>{const r=he(),o=e?`${r}-label`:void 0,i=t?`${r}-error`:void 0;return be("div",{css:Sv,role:"group","aria-labelledby":o,"aria-describedby":i,children:[t?ve("div",{css:Ev}):null,be("div",{children:[e?ve("p",{id:o,css:Mv,children:e}):null,t?ve("p",{id:i,css:Tv,children:t}):null,n]})]})},Lv=ke`
1027
+ `,Lv=({label:e,error:t,children:n})=>{const r=he(),o=e?`${r}-label`:void 0,i=t?`${r}-error`:void 0;return be("div",{css:Mv,role:"group","aria-labelledby":o,"aria-describedby":i,children:[t?ve("div",{css:Tv}):null,be("div",{children:[e?ve("p",{id:o,css:Ev,children:e}):null,t?ve("p",{id:i,css:Ov,children:t}):null,n]})]})},Av=ke`
1028
1028
  .chakra-checkbox__control {
1029
1029
  width: ${Ve(500)};
1030
1030
  height: ${Ve(500)};
@@ -1099,7 +1099,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1099
1099
  cursor: not-allowed;
1100
1100
  }
1101
1101
  }
1102
- `,Av=({name:e,value:t,checked:n,defaultChecked:r,disabled:o,indeterminate:i,onCheckedChange:s,children:a,tabIndex:l,...c})=>be(g.Root,{css:Lv,name:e,value:t,checked:i?"indeterminate":n,defaultChecked:r,disabled:o,onCheckedChange:s,gap:a?"0.625rem":"0",...c,children:[ve(g.HiddenInput,{tabIndex:l}),ve(g.Control,{children:ve(i?lg:ag,{})}),ve(g.Label,{children:a})]}),Nv=ke`
1102
+ `,Nv=({name:e,value:t,checked:n,defaultChecked:r,disabled:o,indeterminate:i,onCheckedChange:s,children:a,tabIndex:l,...c})=>be(g.Root,{css:Av,name:e,value:t,checked:i?"indeterminate":n,defaultChecked:r,disabled:o,onCheckedChange:s,gap:a?"0.625rem":"0",...c,children:[ve(g.HiddenInput,{tabIndex:l}),ve(g.Control,{children:ve(i?lg:ag,{})}),ve(g.Label,{children:a})]}),Rv=ke`
1103
1103
  width: 15.0625rem;
1104
1104
  min-height: 4.375rem;
1105
1105
  padding: ${Ve(300)};
@@ -1140,7 +1140,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1140
1140
  color: ${Ie("neutral",600)};
1141
1141
  cursor: not-allowed;
1142
1142
  }
1143
- `,Rv=ke`
1143
+ `,Dv=ke`
1144
1144
  width: 100%;
1145
1145
  padding: 0;
1146
1146
  display: flex;
@@ -1150,25 +1150,25 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1150
1150
  &[data-disabled] {
1151
1151
  background-color: ${Ie("neutral",100)};
1152
1152
  }
1153
- `,Dv=ke`
1153
+ `,Pv=ke`
1154
1154
  svg {
1155
1155
  height: 2rem;
1156
1156
  width: 2rem;
1157
1157
  }
1158
- `,Pv=(e,t)=>ke`
1158
+ `,Iv=(e,t)=>ke`
1159
1159
  font-size: ${ze(400)};
1160
1160
  line-height: ${He(600)};
1161
1161
  font-weight: 400;
1162
1162
  color: ${Ie("neutral",t?600:900)};
1163
1163
  text-align: ${"centered"===e?"center":"left"};
1164
1164
  display: block;
1165
- `,Iv=(e,t)=>ke`
1165
+ `,zv=(e,t)=>ke`
1166
1166
  font-size: ${ze(300)};
1167
1167
  line-height: ${He(500)};
1168
1168
  font-weight: 400;
1169
1169
  color: ${Ie("neutral",t?600:700)};
1170
1170
  text-align: ${"centered"===e?"center":"left"};
1171
- `,zv=e=>ke`
1171
+ `,Vv=e=>ke`
1172
1172
  position: ${"centered"===e?"absolute":"relative"};
1173
1173
  top: 0;
1174
1174
  right: 0;
@@ -1194,20 +1194,20 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1194
1194
  border: ${_e(100)} solid ${Ie("neutral",400)};
1195
1195
  cursor: not-allowed;
1196
1196
  }
1197
- `,Vv=({defaultValue:e,items:t,onValueChange:n})=>ve(b,{defaultValue:e,onValueChange:n,children:ve(p,{alignItems:"flex-start",flexWrap:"wrap",gap:"0.75rem",children:t.map((t=>{return be(v.Root,{css:Nv,defaultChecked:-1!==e?.indexOf(t.value),disabled:t.disabled,value:t.value,children:[ve(v.HiddenInput,{}),be(v.Control,{css:Rv,children:[be(v.Content,{css:(r=t.variant,ke`
1197
+ `,Hv=({defaultValue:e,items:t,onValueChange:n})=>ve(b,{defaultValue:e,onValueChange:n,children:ve(p,{alignItems:"flex-start",flexWrap:"wrap",gap:"0.75rem",children:t.map((t=>{return be(v.Root,{css:Rv,defaultChecked:-1!==e?.indexOf(t.value),disabled:t.disabled,value:t.value,children:[ve(v.HiddenInput,{}),be(v.Control,{css:Dv,children:[be(v.Content,{css:(r=t.variant,ke`
1198
1198
  width: 100%;
1199
1199
  display: flex;
1200
1200
  flex-direction: ${"centered"===r?"column":"row"};
1201
1201
  align-items: center;
1202
1202
  gap: ${Ve(300)};
1203
- `),children:[ve("div",{css:Dv,children:t.icon}),be("div",{style:{width:"100%"},children:[ve(v.Label,{css:Pv(t.variant,t.disabled),children:t.label}),t.caption?ve(v.Description,{css:Iv(t.variant,t.disabled),children:t.caption}):null]})]}),ve(v.Indicator,{css:zv(t.variant)})]}),t.children&&"expanded"===t.variant?ve(v.Addon,{css:(n=t.disabled,ke`
1203
+ `),children:[ve("div",{css:Pv,children:t.icon}),be("div",{style:{width:"100%"},children:[ve(v.Label,{css:Iv(t.variant,t.disabled),children:t.label}),t.caption?ve(v.Description,{css:zv(t.variant,t.disabled),children:t.caption}):null]})]}),ve(v.Indicator,{css:Vv(t.variant)})]}),t.children&&"expanded"===t.variant?ve(v.Addon,{css:(n=t.disabled,ke`
1204
1204
  width: 100%;
1205
1205
  border-color: ${Ie("neutral",300)};
1206
1206
  margin-top: ${Ve(300)};
1207
1207
  padding: 0;
1208
1208
  padding-top: ${Ve(200)};
1209
1209
  color: ${n?Ie("neutral",500):"inherit"};
1210
- `),children:t.children}):null]},`${t.label}-${t.value}`);var n,r}))})}),Hv=ke`
1210
+ `),children:t.children}):null]},`${t.label}-${t.value}`);var n,r}))})}),Bv=ke`
1211
1211
  width: 100%;
1212
1212
  padding: 0;
1213
1213
  display: flex;
@@ -1217,31 +1217,31 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1217
1217
  &[data-disabled] {
1218
1218
  background-color: ${Ie("neutral",100)};
1219
1219
  }
1220
- `,Bv=e=>ke`
1220
+ `,_v=e=>ke`
1221
1221
  width: 100%;
1222
1222
  display: flex;
1223
1223
  flex-direction: ${"centered"===e?"column":"row"};
1224
1224
  align-items: center;
1225
1225
  gap: ${Ve(300)};
1226
- `,_v=ke`
1226
+ `,jv=ke`
1227
1227
  svg {
1228
1228
  height: 2rem;
1229
1229
  width: 2rem;
1230
1230
  color: ${Ie("neutral",400)};
1231
1231
  }
1232
- `,jv=(e,t)=>ke`
1232
+ `,Fv=(e,t)=>ke`
1233
1233
  font-size: ${ze(400)};
1234
1234
  line-height: ${He(600)};
1235
1235
  font-weight: 400;
1236
1236
  color: ${Ie("neutral",t?600:900)};
1237
1237
  text-align: ${"centered"===e?"center":"left"};
1238
- `,Fv=(e,t)=>ke`
1238
+ `,qv=(e,t)=>ke`
1239
1239
  font-size: ${ze(300)};
1240
1240
  line-height: ${He(500)};
1241
1241
  font-weight: 400;
1242
1242
  color: ${Ie("neutral",t?600:700)};
1243
1243
  text-align: ${"centered"===e?"center":"left"};
1244
- `,qv=e=>ke`
1244
+ `,Wv=e=>ke`
1245
1245
  position: ${"centered"===e?"absolute":"relative"};
1246
1246
  top: 0;
1247
1247
  right: 0;
@@ -1272,7 +1272,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1272
1272
  border: ${_e(100)} solid ${Ie("neutral",400)};
1273
1273
  cursor: not-allowed;
1274
1274
  }
1275
- `,Wv=({defaultValue:e,items:t,onValueChange:n,variant:r,itemWidth:o,hideControl:i})=>ve(y.Root,{defaultValue:e,onValueChange:n,children:ve(p,{alignItems:"flex-start",flexWrap:"wrap",gap:"0.75rem",children:t?.map((e=>{return be(y.Item,{css:(n=o,s=e.selectedColor,a=e.selectedBackgroundColor,ke`
1275
+ `,Uv=({defaultValue:e,items:t,onValueChange:n,variant:r,itemWidth:o,hideControl:i})=>ve(y.Root,{defaultValue:e,onValueChange:n,children:ve(p,{alignItems:"flex-start",flexWrap:"wrap",gap:"0.75rem",children:t?.map((e=>{return be(y.Item,{css:(n=o,s=e.selectedColor,a=e.selectedBackgroundColor,ke`
1276
1276
  width: ${n||"15.0625rem"};
1277
1277
  min-height: 4.375rem;
1278
1278
  padding: ${Ve(300)};
@@ -1331,7 +1331,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1331
1331
  }
1332
1332
  }
1333
1333
  }
1334
- `),value:e.value,disabled:e.disabled,children:[ve(y.ItemHiddenInput,{}),be(y.ItemControl,{css:Hv,children:[be("div",{css:Bv(r),children:[ve("div",{css:_v,className:"option-card-icon-container",children:e.icon}),be("div",{style:{width:"100%"},children:[ve("p",{css:jv(r,e.disabled),"aria-label":e.label,"aria-disabled":e.disabled,children:e.label}),ve("p",{css:Fv(r,e.disabled),"aria-label":e.caption,"aria-disabled":e.disabled,children:e.caption})]})]}),i?null:ve(y.ItemIndicator,{css:qv(r)})]}),e.children&&"expanded"===r?ve(y.ItemAddon,{css:(t=e.disabled,ke`
1334
+ `),value:e.value,disabled:e.disabled,children:[ve(y.ItemHiddenInput,{}),be(y.ItemControl,{css:Bv,children:[be("div",{css:_v(r),children:[ve("div",{css:jv,className:"option-card-icon-container",children:e.icon}),be("div",{style:{width:"100%"},children:[ve("p",{css:Fv(r,e.disabled),"aria-label":e.label,"aria-disabled":e.disabled,children:e.label}),ve("p",{css:qv(r,e.disabled),"aria-label":e.caption,"aria-disabled":e.disabled,children:e.caption})]})]}),i?null:ve(y.ItemIndicator,{css:Wv(r)})]}),e.children&&"expanded"===r?ve(y.ItemAddon,{css:(t=e.disabled,ke`
1335
1335
  width: 100%;
1336
1336
  border-top: ${_e(100)} solid
1337
1337
  ${Ie("neutral",300)};
@@ -1339,7 +1339,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1339
1339
  padding: 0;
1340
1340
  padding-top: ${Ve(200)};
1341
1341
  color: ${t?Ie("neutral",500):"inherit"};
1342
- `),children:e.children}):null]},`${e.label}-${e.value}`);var t,n,s,a}))})}),Uv=ke`
1342
+ `),children:e.children}):null]},`${e.label}-${e.value}`);var t,n,s,a}))})}),Kv=ke`
1343
1343
  .ds-radio-item-indicator {
1344
1344
  width: ${Ve(500)};
1345
1345
  height: ${Ve(500)};
@@ -1405,30 +1405,30 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1405
1405
  }
1406
1406
  }
1407
1407
  }
1408
- `,Kv=ke`
1408
+ `,Gv=ke`
1409
1409
  cursor: pointer;
1410
1410
 
1411
1411
  &[data-disabled] {
1412
1412
  color: ${Ie("neutral",500)};
1413
1413
  cursor: not-allowed;
1414
1414
  }
1415
- `,Gv=ke`
1415
+ `,Zv=ke`
1416
1416
  margin: 0 !important;
1417
1417
  width: ${Ve(500)} !important;
1418
1418
  height: ${Ve(500)} !important;
1419
- `,Zv=({children:e,value:t,disabled:n,...r})=>be(w.Item,{css:Uv,value:t,disabled:n,...r,children:[ve(w.ItemHiddenInput,{css:Gv}),ve(w.ItemIndicator,{className:"ds-radio-item-indicator"}),e?ve(w.ItemText,{css:Kv,children:e}):null]}),Jv=({children:e,horizontal:t=!1,name:n,value:r="",onChange:o,customGap:i,...s})=>{let a=t?"1.25rem":"0.5rem";return a=i||a,X(w.Root,{onValueChange:e=>{o&&o(n,e.value||"")},value:r,...s,children:X(p,{gap:a,flexDirection:t?"row":"column",alignItems:"flex-start",flexWrap:"wrap",children:e})})},Xv=ke`
1419
+ `,Jv=({children:e,value:t,disabled:n,...r})=>be(w.Item,{css:Kv,value:t,disabled:n,...r,children:[ve(w.ItemHiddenInput,{css:Zv}),ve(w.ItemIndicator,{className:"ds-radio-item-indicator"}),e?ve(w.ItemText,{css:Gv,children:e}):null]}),Xv=({children:e,horizontal:t=!1,name:n,value:r="",onChange:o,customGap:i,...s})=>{let a=t?"1.25rem":"0.5rem";return a=i||a,X(w.Root,{onValueChange:e=>{o&&o(n,e.value||"")},value:r,...s,children:X(p,{gap:a,flexDirection:t?"row":"column",alignItems:"flex-start",flexWrap:"wrap",children:e})})},Yv=ke`
1420
1420
  height: fit-content;
1421
- `,Yv=ke`
1421
+ `,Qv=ke`
1422
1422
  position: relative;
1423
1423
  height: ${He(400)};
1424
- `,Qv=ke`
1424
+ `,ey=ke`
1425
1425
  position: absolute;
1426
1426
  top: 0;
1427
1427
  font-size: ${ze(200)};
1428
1428
  line-height: ${He(400)};
1429
1429
  color: ${Ie("neutral",800)};
1430
1430
  white-space: nowrap;
1431
- `,ey=e=>ke`
1431
+ `,ty=e=>ke`
1432
1432
  height: ${Ve(500)};
1433
1433
  width: ${Ve(500)};
1434
1434
  background-color: ${e?Ie("neutral",100):Ie("primary",500)};
@@ -1486,7 +1486,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1486
1486
  outline: none;
1487
1487
  cursor: not-allowed;
1488
1488
  }
1489
- `,ty=ke`
1489
+ `,ny=ke`
1490
1490
  font-size: ${ze(300)};
1491
1491
  line-height: ${He(500)};
1492
1492
  color: ${Ie("neutral",800)};
@@ -1505,20 +1505,20 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1505
1505
  z-index: 2;
1506
1506
  pointer-events: none;
1507
1507
  white-space: nowrap;
1508
- `,ny=(e,t)=>ke`
1508
+ `,ry=(e,t)=>ke`
1509
1509
  background-color: ${Ie("neutral",300)};
1510
1510
  border: none;
1511
1511
  box-shadow: none;
1512
1512
  ${e?.length?`background: linear-gradient(to right, ${e.join(", ")});`:""}
1513
1513
  ${t?`\n position: relative;\n height: ${Ve(500)};\n border-radius: ${Be(500)};\n border: ${_e(100)} solid ${Ie("neutral",300)};\n overflow: hidden;\n `:""}
1514
- `,ry=e=>ke`
1514
+ `,oy=e=>ke`
1515
1515
  position: absolute;
1516
1516
  top: 0;
1517
1517
  bottom: 0;
1518
1518
  ${"start"===e?"left":"right"}: 0;
1519
1519
  background-color: ${Ie("neutral",200)};
1520
1520
  pointer-events: none;
1521
- `,oy=(e,t)=>ke`
1521
+ `,iy=(e,t)=>ke`
1522
1522
  background-color: ${t?"transparent":Ie("primary",500)};
1523
1523
  border: ${t?"none":`${_e(100)} solid ${Ie("primary",700)}`};
1524
1524
  border-radius: ${e?"0":Be(500)};
@@ -1531,7 +1531,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1531
1531
  background-color: ${Ie("neutral",400)};
1532
1532
  border: none;
1533
1533
  }
1534
- `,iy=(e,t)=>ke`
1534
+ `,sy=(e,t)=>ke`
1535
1535
  &[data-state='under-value'] {
1536
1536
  .chakra-slider__markerIndicator {
1537
1537
  background-color: ${Ie("neutral",e?500:200)};
@@ -1557,7 +1557,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1557
1557
  }
1558
1558
 
1559
1559
  ${t?`\n --translate-y: -24% !important;\n\n .chakra-slider__markerIndicator {\n height: 1rem;\n width: 0.25rem;\n background-color: ${Ie("primary",700)} !important;\n }\n\n &[data-disabled] {\n .chakra-slider__markerIndicator {\n background-color: ${Ie("neutral",400)} !important;\n }\n }\n `:""};
1560
- `,sy=e=>{const{value:t,hasGradient:n}=e;return ve(C,{each:t,children:(e,t)=>be(x.Thumb,{css:ey(n),index:t,children:[ve("div",{css:ty,className:"ds-slider-value-preview",children:e}),ve(x.HiddenInput,{})]},t)})},ay=e=>{const{value:t,min:n,max:r}=e;if(!t?.length)return null;const o=r-n||1,i=(t[0]-n)/o*100,s=(t[t.length-1]-n)/o*100;return be(ye,{children:[i>0&&ve("div",{css:ry("start"),style:{width:`${i}%`}}),s<100&&ve("div",{css:ry("end"),style:{width:100-s+"%"}})]})},ly=te.forwardRef(((e,t)=>{const{marks:n,isCentred:r}=e;return n?.length?ve(x.MarkerGroup,{ref:t,children:n.map(((e,t)=>{const n="number"==typeof e?e:e.value,o=r&&1===t;return ve(x.Marker,{css:iy(r,o),value:n,children:ve(x.MarkerIndicator,{})},n)}))}):null})),cy=e=>{const{marks:t,min:n,max:r}=e,o=t?.filter((e=>void 0!==e.label&&null!==e.label));if(!o?.length)return null;const i=r-n||1;return ve("div",{css:Yv,children:o.map((e=>{let t="-50%";return e.value===n?t="0":e.value===r&&(t="-100%"),ve("span",{css:Qv,style:{left:(e.value-n)/i*100+"%",transform:`translateX(${t})`},children:e.label},e.value)}))})},dy=te.forwardRef(((e,t)=>{const{marks:n,onValueChange:r,isCentred:o,value:i,colors:s,...a}=e,[l,c]=ae(i||[0]),d=!!s?.length;ce((()=>{c(i||[0])}),[i]);const u=a.min??0,h=a.max??100;let p=n?.map((e=>"number"==typeof e?{value:e,label:void 0}:e));o&&(p=[u,(u+h)/2,h].map((e=>({value:e,label:void 0}))));const f=!!p?.some((e=>e.label));return be(x.Root,{css:Xv,ref:t,thumbAlignment:"center",onValueChange:e=>{c(e.value),r&&r(e)},origin:o?"center":"start",value:l,...a,children:[ve(cy,{marks:p,min:u,max:h}),be(x.Control,{"data-has-mark-label":f||void 0,children:[be(x.Track,{css:ny(s,d),children:[d&&ve(ay,{value:l,min:u,max:h}),ve(x.Range,{css:oy(o,d)})]}),ve(ly,{marks:p,isCentred:o}),ve(sy,{value:l,hasGradient:d})]})]})})),uy=ke`
1560
+ `,ay=e=>{const{value:t,hasGradient:n}=e;return ve(C,{each:t,children:(e,t)=>be(x.Thumb,{css:ty(n),index:t,children:[ve("div",{css:ny,className:"ds-slider-value-preview",children:e}),ve(x.HiddenInput,{})]},t)})},ly=e=>{const{value:t,min:n,max:r}=e;if(!t?.length)return null;const o=r-n||1,i=(t[0]-n)/o*100,s=(t[t.length-1]-n)/o*100;return be(ye,{children:[i>0&&ve("div",{css:oy("start"),style:{width:`${i}%`}}),s<100&&ve("div",{css:oy("end"),style:{width:100-s+"%"}})]})},cy=te.forwardRef(((e,t)=>{const{marks:n,isCentred:r}=e;return n?.length?ve(x.MarkerGroup,{ref:t,children:n.map(((e,t)=>{const n="number"==typeof e?e:e.value,o=r&&1===t;return ve(x.Marker,{css:sy(r,o),value:n,children:ve(x.MarkerIndicator,{})},n)}))}):null})),dy=e=>{const{marks:t,min:n,max:r}=e,o=t?.filter((e=>void 0!==e.label&&null!==e.label));if(!o?.length)return null;const i=r-n||1;return ve("div",{css:Qv,children:o.map((e=>{let t="-50%";return e.value===n?t="0":e.value===r&&(t="-100%"),ve("span",{css:ey,style:{left:(e.value-n)/i*100+"%",transform:`translateX(${t})`},children:e.label},e.value)}))})},uy=te.forwardRef(((e,t)=>{const{marks:n,onValueChange:r,isCentred:o,value:i,colors:s,...a}=e,[l,c]=ae(i||[0]),d=!!s?.length;ce((()=>{c(i||[0])}),[i]);const u=a.min??0,h=a.max??100;let p=n?.map((e=>"number"==typeof e?{value:e,label:void 0}:e));o&&(p=[u,(u+h)/2,h].map((e=>({value:e,label:void 0}))));const f=!!p?.some((e=>e.label));return be(x.Root,{css:Yv,ref:t,thumbAlignment:"center",onValueChange:e=>{c(e.value),r&&r(e)},origin:o?"center":"start",value:l,...a,children:[ve(dy,{marks:p,min:u,max:h}),be(x.Control,{"data-has-mark-label":f||void 0,children:[be(x.Track,{css:ry(s,d),children:[d&&ve(ly,{value:l,min:u,max:h}),ve(x.Range,{css:iy(o,d)})]}),ve(cy,{marks:p,isCentred:o}),ve(ay,{value:l,hasGradient:d})]})]})})),hy=ke`
1561
1561
  --switch-height: 1.5rem;
1562
1562
  --switch-width: 2.5rem;
1563
1563
 
@@ -1657,26 +1657,26 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1657
1657
  cursor: not-allowed;
1658
1658
  }
1659
1659
  }
1660
- `,hy=({name:e,defaultChecked:t=!1,onChange:n,disabled:r=!1,isLabelOnLeft:o=!1,children:i,labels:s,...a})=>{const l=tg("Switch",s);return ve("div",{style:{display:"flex",alignItems:"center"},children:be(k.Root,{css:uy,id:e,name:e,"aria-label":a["aria-label"]||l.defaultAriaLabel(e),defaultChecked:t,onCheckedChange:({checked:t})=>{n&&n(e,t)},disabled:r,...a,children:[o&&null!=i?ve(k.Label,{children:i}):null,ve(k.HiddenInput,{style:{width:"2.625rem",height:"1.625rem"}}),ve("div",{className:"chakra-switch__control-container",children:ve(k.Control,{children:ve(k.Thumb,{children:ve(k.ThumbIndicator,{display:"flex",children:ve(ag,{})})})})}),o||null==i?null:ve(k.Label,{children:i})]})})},py=e=>ke`
1660
+ `,py=({name:e,defaultChecked:t=!1,onChange:n,disabled:r=!1,isLabelOnLeft:o=!1,children:i,labels:s,...a})=>{const l=tg("Switch",s);return ve("div",{style:{display:"flex",alignItems:"center"},children:be(k.Root,{css:hy,id:e,name:e,"aria-label":a["aria-label"]||l.defaultAriaLabel(e),defaultChecked:t,onCheckedChange:({checked:t})=>{n&&n(e,t)},disabled:r,...a,children:[o&&null!=i?ve(k.Label,{children:i}):null,ve(k.HiddenInput,{style:{width:"2.625rem",height:"1.625rem"}}),ve("div",{className:"chakra-switch__control-container",children:ve(k.Control,{children:ve(k.Thumb,{children:ve(k.ThumbIndicator,{display:"flex",children:ve(ag,{})})})})}),o||null==i?null:ve(k.Label,{children:i})]})})},fy=e=>ke`
1661
1661
  display: grid;
1662
1662
  grid-template-rows: ${e?"1fr":"0fr"};
1663
1663
  opacity: ${e?1:0};
1664
1664
  transition:
1665
1665
  grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1),
1666
1666
  opacity 200ms ease;
1667
- `,fy=ke`
1667
+ `,my=ke`
1668
1668
  overflow: hidden;
1669
1669
  min-height: 0;
1670
- `,my=e=>ke`
1670
+ `,gy=e=>ke`
1671
1671
  display: flex;
1672
1672
  flex-direction: ${e?"row":"column"};
1673
1673
  flex-wrap: wrap;
1674
1674
  gap: ${Ve(e?500:300)};
1675
1675
  padding: ${Ve(100)};
1676
- `,gy=ke`
1676
+ `,by=ke`
1677
1677
  color: ${Ie("neutral",700)};
1678
1678
  margin-left: ${Ve(100)};
1679
- `,by=ke`
1679
+ `,vy=ke`
1680
1680
  color: ${Ie("neutral",700)};
1681
1681
  display: flex;
1682
1682
  align-items: center;
@@ -1690,18 +1690,18 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1690
1690
  display: inline-flex;
1691
1691
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
1692
1692
  }
1693
- `,vy=e=>ke`
1693
+ `,yy=e=>ke`
1694
1694
  transform: rotate(${e?"180deg":"0deg"});
1695
- `,yy=ke`
1695
+ `,wy=ke`
1696
1696
  display: flex;
1697
1697
  align-items: center;
1698
1698
  justify-content: space-between;
1699
1699
  width: 100%;
1700
- `,wy=({label:e,caption:t,checkboxes:n,defaultValues:r,onCheckedChange:o,errorMessage:i,horizontal:s,required:a,hideCheckedCounter:l=!1,hideExpandToggle:c=!1,labels:d})=>{const u=tg("CheckboxList",d),h=Array.isArray(r)?r:[],p=oe((()=>new Set(h)),[h]),[f,m]=ae((()=>n.filter((e=>e.name)).reduce(((e,t)=>{const n=t.name;return e[n]="boolean"==typeof t.checked?t.checked:p.has(n),e}),{}))),[g,b]=ae(!0);ce((()=>{m((e=>{const t=n.filter((e=>e.name)).reduce(((t,n)=>{const r=n.name;return t[r]="boolean"==typeof n.checked?n.checked:e[r]??p.has(r),t}),{});return Object.keys(e).length===Object.keys(t).length&&Object.entries(t).every((([t,n])=>e[t]===n))?e:t}))}),[n,p]);const v="string"!=typeof e,y=n.filter((e=>e.name)).reduce(((e,t)=>{const n=t.name;return e[n]="boolean"==typeof t.checked?t.checked:!!f[n],e}),{}),w=n.length>0&&n.every((e=>e.name&&y[e.name])),x=n.some((e=>e.name&&y[e.name]))&&!w,C=n.length,k=`${n.filter((e=>e?.name&&y[e.name])).length} / ${C}`,$=t?`${t}.`:"",S=a?u.requiredLabel:u.optionalLabel,M=i?`${u.errorPrefix} ${i}.`:"",E=`${v?e.label:e}. ${$} ${S} ${M} `,T="string"==typeof e?e:be("div",{css:yy,children:[be(Av,{checked:w,indeterminate:x,onCheckedChange:e=>(e=>{const t=n.filter((e=>void 0!==e.name)).reduce(((t,n)=>(t[n.name]=e,t)),{});m(t),o?.(t)})(!!e.checked),children:[e.label," ",!l&&ve("span",{"aria-hidden":"true",css:gy,children:k})]}),!c&&be("button",{type:"button",onClick:()=>b((e=>!e)),"aria-expanded":g,"aria-controls":"checkbox-list",css:by,children:[g?u.hideLabel:u.expandLabel,ve("span",{"aria-hidden":"true",css:vy(g),children:ve(dg,{})})]})]});return ve(kb,{label:T,caption:t,errorMessage:i,required:"string"==typeof e&&a,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",labels:{requiredSymbolLabel:u.requiredSymbolLabel},containerProps:{"aria-label":E},children:ve("div",{id:"checkbox-list",css:py(g),children:ve("div",{css:fy,children:ve("div",{css:my(s),children:n.map((e=>{const{onCheckedChange:t,...n}=e;return ve(Av,{ms:v&&!s?"6":"",css:{},checked:!!e?.name&&!!y[e.name],onCheckedChange:({checked:n})=>{((e,t)=>{const n={...f};t&&(n[t]=e,m(n)),o&&o(n)})(n,e.name),t?.({checked:!!n})},...n},e.name)}))})})})})},xy=ke`
1700
+ `,xy=({label:e,caption:t,checkboxes:n,defaultValues:r,onCheckedChange:o,errorMessage:i,horizontal:s,required:a,hideCheckedCounter:l=!1,hideExpandToggle:c=!1,labels:d})=>{const u=tg("CheckboxList",d),h=Array.isArray(r)?r:[],p=oe((()=>new Set(h)),[h]),[f,m]=ae((()=>n.filter((e=>e.name)).reduce(((e,t)=>{const n=t.name;return e[n]="boolean"==typeof t.checked?t.checked:p.has(n),e}),{}))),[g,b]=ae(!0);ce((()=>{m((e=>{const t=n.filter((e=>e.name)).reduce(((t,n)=>{const r=n.name;return t[r]="boolean"==typeof n.checked?n.checked:e[r]??p.has(r),t}),{});return Object.keys(e).length===Object.keys(t).length&&Object.entries(t).every((([t,n])=>e[t]===n))?e:t}))}),[n,p]);const v="string"!=typeof e,y=n.filter((e=>e.name)).reduce(((e,t)=>{const n=t.name;return e[n]="boolean"==typeof t.checked?t.checked:!!f[n],e}),{}),w=n.length>0&&n.every((e=>e.name&&y[e.name])),x=n.some((e=>e.name&&y[e.name]))&&!w,C=n.length,k=`${n.filter((e=>e?.name&&y[e.name])).length} / ${C}`,$=t?`${t}.`:"",S=a?u.requiredLabel:u.optionalLabel,M=i?`${u.errorPrefix} ${i}.`:"",E=`${v?e.label:e}. ${$} ${S} ${M} `,T="string"==typeof e?e:be("div",{css:wy,children:[be(Nv,{checked:w,indeterminate:x,onCheckedChange:e=>(e=>{const t=n.filter((e=>void 0!==e.name)).reduce(((t,n)=>(t[n.name]=e,t)),{});m(t),o?.(t)})(!!e.checked),children:[e.label," ",!l&&ve("span",{"aria-hidden":"true",css:by,children:k})]}),!c&&be("button",{type:"button",onClick:()=>b((e=>!e)),"aria-expanded":g,"aria-controls":"checkbox-list",css:vy,children:[g?u.hideLabel:u.expandLabel,ve("span",{"aria-hidden":"true",css:yy(g),children:ve(dg,{})})]})]});return ve($b,{label:T,caption:t,errorMessage:i,required:"string"==typeof e&&a,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",labels:{requiredSymbolLabel:u.requiredSymbolLabel},containerProps:{"aria-label":E},children:ve("div",{id:"checkbox-list",css:fy(g),children:ve("div",{css:my,children:ve("div",{css:gy(s),children:n.map((e=>{const{onCheckedChange:t,...n}=e;return ve(Nv,{ms:v&&!s?"6":"",css:{},checked:!!e?.name&&!!y[e.name],onCheckedChange:({checked:n})=>{((e,t)=>{const n={...f};t&&(n[t]=e,m(n)),o&&o(n)})(n,e.name),t?.({checked:!!n})},...n},e.name)}))})})})})},Cy=ke`
1701
1701
  width: 100%;
1702
1702
  max-width: 23.125rem;
1703
1703
  position: relative;
1704
- `,Cy=(e,t)=>ke`
1704
+ `,ky=(e,t)=>ke`
1705
1705
  width: 100%;
1706
1706
 
1707
1707
  .ds-text-input-container {
@@ -1736,7 +1736,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1736
1736
  padding: 0 ${Ve(100)};
1737
1737
  }
1738
1738
  }
1739
- `,ky=ee.forwardRef(((e,t)=>{const{children:n,...r}=e,{"aria-label":o,...i}=r;return Y($.Control,{...i,children:[X($.Trigger,{ref:t,"aria-label":o,focusVisibleRing:"none",children:n}),X($.IndicatorGroup,{children:X($.Indicator,{children:X(dg,{})})})]})})),$y=ee.forwardRef(((e,t)=>{const{onKeyDown:n,onPointerMove:r,...o}=e;return X(a,{children:X($.Positioner,{children:X($.Content,{...o,ref:t,onKeyDown:e=>{e.currentTarget.dataset.navSource="keyboard",n?.(e)},onPointerMove:e=>{e.currentTarget.dataset.navSource="pointer",r?.(e)}})})})})),Sy=ee.forwardRef(((e,t)=>{const{item:n,children:r,...o}=e;return X($.Item,{item:n,...o,ref:t,children:r},n.value)})),My=ee.forwardRef(((e,t)=>{const{children:n,...r}=e;return X($.ValueText,{...r,ref:t,children:X($.Context,{children:t=>{const r=t.selectedItems;return 0===r.length?e.placeholder:n?n(r):1===r.length?t.collection.stringifyItem(r[0]):`${r.length} selected`}})})})),Ey=ee.forwardRef(((e,t)=>X($.Root,{...e,ref:t,positioning:{sameWidth:!0,...e.positioning},children:e.asChild?e.children:Y(Q,{children:[X($.HiddenSelect,{}),e.children]})})));ee.forwardRef(((e,t)=>{const{children:n,label:r,...o}=e;return Y($.ItemGroup,{...o,ref:t,children:[X($.ItemGroupLabel,{children:r}),n]})})),$.Label,$.ItemText;const Ty=(e,t)=>t?Ie("error",900):Ie("neutral",e?700:400),Oy=(e,t,n,r)=>ke`
1739
+ `,$y=ee.forwardRef(((e,t)=>{const{children:n,...r}=e,{"aria-label":o,...i}=r;return Y($.Control,{...i,children:[X($.Trigger,{ref:t,"aria-label":o,focusVisibleRing:"none",children:n}),X($.IndicatorGroup,{children:X($.Indicator,{children:X(dg,{})})})]})})),Sy=ee.forwardRef(((e,t)=>{const{onKeyDown:n,onPointerMove:r,...o}=e;return X(a,{children:X($.Positioner,{children:X($.Content,{...o,ref:t,onKeyDown:e=>{e.currentTarget.dataset.navSource="keyboard",n?.(e)},onPointerMove:e=>{e.currentTarget.dataset.navSource="pointer",r?.(e)}})})})})),My=ee.forwardRef(((e,t)=>{const{item:n,children:r,...o}=e;return X($.Item,{item:n,...o,ref:t,children:r},n.value)})),Ey=ee.forwardRef(((e,t)=>{const{children:n,...r}=e;return X($.ValueText,{...r,ref:t,children:X($.Context,{children:t=>{const r=t.selectedItems;return 0===r.length?e.placeholder:n?n(r):1===r.length?t.collection.stringifyItem(r[0]):`${r.length} selected`}})})})),Ty=ee.forwardRef(((e,t)=>X($.Root,{...e,ref:t,positioning:{sameWidth:!0,...e.positioning},children:e.asChild?e.children:Y(Q,{children:[X($.HiddenSelect,{}),e.children]})})));ee.forwardRef(((e,t)=>{const{children:n,label:r,...o}=e;return Y($.ItemGroup,{...o,ref:t,children:[X($.ItemGroupLabel,{children:r}),n]})})),$.Label,$.ItemText;const Oy=(e,t)=>t?Ie("error",900):Ie("neutral",e?700:400),Ly=(e,t,n,r)=>ke`
1740
1740
  border-radius: ${Be(300)};
1741
1741
  overflow: visible;
1742
1742
 
@@ -1749,7 +1749,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1749
1749
  border-radius: ${Be(300)};
1750
1750
  padding: ${Ve(50)} ${Ve(200)};
1751
1751
  border: ${_e(100)} solid
1752
- ${Ty(t,n)};
1752
+ ${Oy(t,n)};
1753
1753
  box-shadow: 0 0.0625rem 0.125rem 0 #0000000d;
1754
1754
  cursor: pointer;
1755
1755
  background-color: ${Ie("neutral",100)};
@@ -1774,7 +1774,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1774
1774
  &[data-placement^='top'] {
1775
1775
  border-bottom-left-radius: ${Be(300)};
1776
1776
  border-bottom-right-radius: ${Be(300)};
1777
- border-bottom-color: ${Ty(t,n)};
1777
+ border-bottom-color: ${Oy(t,n)};
1778
1778
 
1779
1779
  border-top-left-radius: 0;
1780
1780
  border-top-right-radius: 0;
@@ -1809,14 +1809,14 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1809
1809
  }
1810
1810
  }
1811
1811
  }
1812
- `,Ly=(e,t)=>ke`
1812
+ `,Ay=(e,t)=>ke`
1813
1813
  margin-top: calc(${Ve(200)} * -1);
1814
1814
  border-radius: ${Be(300)};
1815
1815
  border: ${_e(100)} solid ${Ie("neutral",400)};
1816
1816
  border-top-left-radius: 0;
1817
1817
  border-top-right-radius: 0;
1818
1818
  border-top: ${_e(100)} solid
1819
- ${Ty(e,t)};
1819
+ ${Oy(e,t)};
1820
1820
  box-shadow:
1821
1821
  0 0.25rem 0.375rem -0.25rem #0000001a,
1822
1822
  0 0.625rem 0.9375rem -0.1875rem #0000001a;
@@ -1831,12 +1831,12 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1831
1831
  border-bottom-left-radius: 0;
1832
1832
  border-bottom-right-radius: 0;
1833
1833
  border-bottom: ${_e(100)} solid
1834
- ${Ty(e,t)};
1834
+ ${Oy(e,t)};
1835
1835
  box-shadow:
1836
1836
  0 -0.25rem 0.375rem -0.25rem #0000001a,
1837
1837
  0 -0.625rem 0.9375rem -0.1875rem #0000001a;
1838
1838
  }
1839
- `,Ay=e=>ke`
1839
+ `,Ny=e=>ke`
1840
1840
  align-items: flex-start;
1841
1841
  &[data-highlighted] {
1842
1842
  background-color: ${Hm(20)};
@@ -1858,7 +1858,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1858
1858
  &:active {
1859
1859
  background-color: ${Hm(40)};
1860
1860
  }
1861
- `,Ny=(e,t)=>ke`
1861
+ `,Ry=(e,t)=>ke`
1862
1862
  font-size: ${ze("small"===e?300:400)};
1863
1863
  line-height: ${He("small"===e?500:600)};
1864
1864
  color: ${Ie("neutral",800)};
@@ -1866,7 +1866,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1866
1866
  margin: 0;
1867
1867
 
1868
1868
  ${t?`color: ${Ie("neutral",600)} !important;`:""}
1869
- `,Ry=(e,t)=>ke`
1869
+ `,Dy=(e,t)=>ke`
1870
1870
  font-size: ${ze("small"===e?300:400)};
1871
1871
  line-height: ${He("small"===e?500:600)};
1872
1872
  color: ${Ie("neutral",700)};
@@ -1874,7 +1874,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1874
1874
  margin: 0;
1875
1875
 
1876
1876
  ${t?`color: ${Ie("neutral",600)} !important;`:""}
1877
- `,Dy=e=>ke`
1877
+ `,Py=e=>ke`
1878
1878
  max-width: 100%;
1879
1879
  display: flex;
1880
1880
  justify-content: center;
@@ -1947,28 +1947,28 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1947
1947
  background-color: ${Ie("neutral",300)};
1948
1948
  color: ${Ie("neutral",600)};
1949
1949
  }
1950
- `,Py=ke`
1950
+ `,Iy=ke`
1951
1951
  background-color: ${Ie("neutral",100)};
1952
1952
  border: ${_e(100)} solid ${Ie("neutral",300)};
1953
- `,Iy=ke`
1953
+ `,zy=ke`
1954
1954
  background-color: ${Ie("neutral",200)};
1955
1955
  border: ${_e(100)} solid ${Ie("neutral",400)};
1956
- `,zy=ke`
1956
+ `,Vy=ke`
1957
1957
  background-color: ${Ie("success",100)};
1958
1958
  border: ${_e(100)} solid ${Ie("success",300)};
1959
1959
  color: ${Ie("success",900)};
1960
- `,Vy=ke`
1960
+ `,Hy=ke`
1961
1961
  background-color: ${Ie("warning",100)};
1962
1962
  border: ${_e(100)} solid ${Ie("warning",300)};
1963
1963
  color: ${Ie("warning",900)};
1964
- `,Hy=ke`
1964
+ `,By=ke`
1965
1965
  background-color: ${Ie("error",100)};
1966
1966
  border: ${_e(100)} solid ${Ie("error",300)};
1967
1967
  color: ${Ie("error",900)};
1968
- `,By=({label:e,size:t="default",variant:n,disabled:r,icon:o,onClose:i,closable:s,labels:a,...l})=>{const c=tg("Tag",a);let d=Py;return"info-grey"===n?d=Iy:"success"===n?d=zy:"warning"===n?d=Vy:"error"===n&&(d=Hy),be(S.Root,{css:[Dy(t),d],"data-disabled":r,...l,children:[o?ve(S.StartElement,{"aria-hidden":"true",children:o}):null,ve(S.Label,{"aria-label":e,children:e}),s&&!r&&"small"!==t?ve(S.EndElement,{children:ve("div",{className:"chakra-tag__closeTrigger",role:"button",tabIndex:0,onClick:i,onKeyDown:e=>{!i||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),i())},"aria-label":c.closeButtonAriaLabel(e),children:ve(pg,{})})}):null]})},_y=({placeholder:e,size:t,disabled:n})=>ve(My,{placeholder:e,children:e=>{const{label:r,caption:o}=e[0];return be(p,{flexDirection:"column",alignItems:"flex-start",children:[ve("p",{css:Ny(t,n),children:r}),o?ve("p",{css:Ry(t,n),children:o}):null]})}}),jy=({placeholder:e,removeItem:t,disabled:n})=>ve(My,{placeholder:e,children:e=>e.map((e=>ve(p,{flexDirection:"row",alignItems:"flex-start",children:ve(By,{label:e.label,variant:"info-grey",disabled:n,onClose:()=>t(e.value),closable:!0},e.value)},e.value)))}),Fy=({label:e,caption:t,placeholder:n="",items:o,size:i="default",required:s,disabled:a,onChange:l,errorMessage:c,multiple:d,labels:u,value:h,defaultValue:p,...f})=>{const m=tg("Select",u),[g,b]=ae(p||[]),v=void 0!==h,y=v?h:g,w=(e=>M({items:e}))(o),x=e=>{v||b(e),l&&l(e)},C=`${e||m.defaultAriaLabel}${s?m.requiredSuffix:""}${t?` ${t}.`:""}${a?m.disabledSuffix:""}`.trim(),k=y.length>0;return ve(kb,{className:"ds-select-input-container",label:e,caption:t,errorMessage:c,required:s,disabled:a,size:i,showOptionalLabel:!1,semantics:"group",containerProps:{tabIndex:a?0:void 0,"aria-disabled":a,"aria-label":a?C:void 0},children:be(Ey,{css:{},collection:w,disabled:a,required:s,multiple:d,"aria-label":f["aria-label"]||e,value:y,onValueChange:e=>x(e.value),...f,children:[ve(ky,{css:Oy(i,k,!!c,d),"aria-label":f["aria-label"]||e||m.defaultAriaLabel,children:d?ve(jy,{placeholder:n,disabled:a,removeItem:e=>{const t=y.filter((t=>t!==e));x(t)}}):ve(_y,{placeholder:n,size:i,disabled:a})}),ve($y,{css:Ly(k,!!c),children:w.items.map((e=>be(Sy,{css:Ay(d),item:e,children:[be(r,{children:[ve("p",{css:Ny(i),children:e.label}),ve("p",{css:Ry(i),children:e.caption})]}),d?ve(Av,{checked:y.some((t=>t===e.value)),"aria-label":`Select ${e.label}`,tabIndex:-1}):null]},e.value)))})]})})},qy=({label:e,caption:t,errorMessage:n,units:r,unitsPosition:o="end",defaultUnit:i="",defaultValue:s="",onChange:a,required:l,disabled:c})=>{const[d,u]=ae(s),[h,p]=ae(i?[i]:[r[0].value]),f=(e,t)=>{a&&a("end"===o?""+(t?`${d} ${e}`:`${e} ${h}`):""+(t?`${e} ${d}`:`${h} ${e}`))};return ve("div",{css:xy,children:ve(kb,{label:e,caption:t,errorMessage:n,required:l,disabled:c,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",children:be(m,{css:Cy(!!n,o),attached:!0,children:["start"===o?ve(Fy,{placeholder:"","aria-label":`${e} unit`,value:h,items:r,disabled:c,onChange:e=>{p(e),f(e?.[0],!0)}}):null,ve(Nb,{type:"number","aria-label":`${e} value`,value:d,disabled:c,noMarginBottom:!0,onChange:e=>{u(e.target.value),f(e.target.value)}}),"end"===o?ve(Fy,{placeholder:"","aria-label":`${e} unit`,value:h,items:r,disabled:c,onChange:e=>{p(e),f(e?.[0],!0)}}):null]})})})},Wy=ke`
1968
+ `,_y=({label:e,size:t="default",variant:n,disabled:r,icon:o,onClose:i,closable:s,labels:a,...l})=>{const c=tg("Tag",a);let d=Iy;return"info-grey"===n?d=zy:"success"===n?d=Vy:"warning"===n?d=Hy:"error"===n&&(d=By),be(S.Root,{css:[Py(t),d],"data-disabled":r,...l,children:[o?ve(S.StartElement,{"aria-hidden":"true",children:o}):null,ve(S.Label,{"aria-label":e,children:e}),s&&!r&&"small"!==t?ve(S.EndElement,{children:ve("div",{className:"chakra-tag__closeTrigger",role:"button",tabIndex:0,onClick:i,onKeyDown:e=>{!i||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),i())},"aria-label":c.closeButtonAriaLabel(e),children:ve(pg,{})})}):null]})},jy=({placeholder:e,size:t,disabled:n})=>ve(Ey,{placeholder:e,children:e=>{const{label:r,caption:o}=e[0];return be(p,{flexDirection:"column",alignItems:"flex-start",children:[ve("p",{css:Ry(t,n),children:r}),o?ve("p",{css:Dy(t,n),children:o}):null]})}}),Fy=({placeholder:e,removeItem:t,disabled:n})=>ve(Ey,{placeholder:e,children:e=>e.map((e=>ve(p,{flexDirection:"row",alignItems:"flex-start",children:ve(_y,{label:e.label,variant:"info-grey",disabled:n,onClose:()=>t(e.value),closable:!0},e.value)},e.value)))}),qy=({label:e,caption:t,placeholder:n="",items:o,size:i="default",required:s,disabled:a,onChange:l,errorMessage:c,multiple:d,labels:u,value:h,defaultValue:p,...f})=>{const m=tg("Select",u),[g,b]=ae(p||[]),v=void 0!==h,y=v?h:g,w=(e=>M({items:e}))(o),x=e=>{v||b(e),l&&l(e)},C=`${e||m.defaultAriaLabel}${s?m.requiredSuffix:""}${t?` ${t}.`:""}${a?m.disabledSuffix:""}`.trim(),k=y.length>0;return ve($b,{className:"ds-select-input-container",label:e,caption:t,errorMessage:c,required:s,disabled:a,size:i,showOptionalLabel:!1,semantics:"group",containerProps:{tabIndex:a?0:void 0,"aria-disabled":a,"aria-label":a?C:void 0},children:be(Ty,{css:{},collection:w,disabled:a,required:s,multiple:d,"aria-label":f["aria-label"]||e,value:y,onValueChange:e=>x(e.value),...f,children:[ve($y,{css:Ly(i,k,!!c,d),"aria-label":f["aria-label"]||e||m.defaultAriaLabel,children:d?ve(Fy,{placeholder:n,disabled:a,removeItem:e=>{const t=y.filter((t=>t!==e));x(t)}}):ve(jy,{placeholder:n,size:i,disabled:a})}),ve(Sy,{css:Ay(k,!!c),children:w.items.map((e=>be(My,{css:Ny(d),item:e,children:[be(r,{children:[ve("p",{css:Ry(i),children:e.label}),ve("p",{css:Dy(i),children:e.caption})]}),d?ve(Nv,{checked:y.some((t=>t===e.value)),"aria-label":`Select ${e.label}`,tabIndex:-1}):null]},e.value)))})]})})},Wy=({label:e,caption:t,errorMessage:n,units:r,unitsPosition:o="end",defaultUnit:i="",defaultValue:s="",onChange:a,required:l,disabled:c})=>{const[d,u]=ae(s),[h,p]=ae(i?[i]:[r[0].value]),f=(e,t)=>{a&&a("end"===o?""+(t?`${d} ${e}`:`${e} ${h}`):""+(t?`${e} ${d}`:`${h} ${e}`))};return ve("div",{css:Cy,children:ve($b,{label:e,caption:t,errorMessage:n,required:l,disabled:c,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",children:be(m,{css:ky(!!n,o),attached:!0,children:["start"===o?ve(qy,{placeholder:"","aria-label":`${e} unit`,value:h,items:r,disabled:c,onChange:e=>{p(e),f(e?.[0],!0)}}):null,ve(Rb,{type:"number","aria-label":`${e} value`,value:d,disabled:c,noMarginBottom:!0,onChange:e=>{u(e.target.value),f(e.target.value)}}),"end"===o?ve(qy,{placeholder:"","aria-label":`${e} unit`,value:h,items:r,disabled:c,onChange:e=>{p(e),f(e?.[0],!0)}}):null]})})})},Uy=ke`
1969
1969
  width: 100%;
1970
1970
  max-width: 30.375rem;
1971
- `,Uy=ke`
1971
+ `,Ky=ke`
1972
1972
  display: flex;
1973
1973
  align-items: center;
1974
1974
  justify-content: space-between;
@@ -1985,11 +1985,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
1985
1985
  button {
1986
1986
  min-width: 6.125rem;
1987
1987
  }
1988
- `,Ky=ke`
1988
+ `,Gy=ke`
1989
1989
  display: flex;
1990
1990
  flex-direction: column;
1991
1991
  gap: ${Ve(200)};
1992
- `,Gy=e=>ke`
1992
+ `,Zy=e=>ke`
1993
1993
  height: ${Ve(200)};
1994
1994
  width: 100%;
1995
1995
  background-color: ${Ie("neutral",300)};
@@ -2002,7 +2002,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2002
2002
  background-color: ${Ie("medium"===e?"warning":"strong"===e||"very-strong"===e?"success":"error",900)};
2003
2003
  border-radius: ${Be(500)};
2004
2004
  }
2005
- `,Zy=e=>ke`
2005
+ `,Jy=e=>ke`
2006
2006
  display: flex;
2007
2007
  align-items: center;
2008
2008
  gap: ${Ve(100)};
@@ -2023,7 +2023,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2023
2023
  p {
2024
2024
  margin: 0;
2025
2025
  }
2026
- `,Jy=({label:e,caption:t,required:n,disabledRules:r,onChange:o,minLength:i=8,hideValidations:s,labels:a})=>{const l=tg("Password",a),[c,d]=ae(!1),[u,h]=ae(""),[p,f]=ae({strength:"very-weak",length:!1,uppercase:!1,lowercase:!1,numbers:!1,specialCharacters:!1}),m={"very-weak":l.strengthVeryWeak,weak:l.strengthWeak,medium:l.strengthMedium,strong:l.strengthStrong,"very-strong":l.strengthVeryStrong};return ve("div",{css:Wy,children:be(kb,{label:e,caption:t,required:n,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",children:[be("div",{css:Uy,children:[ve(Nb,{type:c?"text":"password","aria-label":e,value:u,"aria-describedby":"password-guidelines",onChange:e=>(e=>{const t={...p};let n=0,r=!1;t.length=e.length>=i,n+=e.length>=i?1:0,r=/[A-Z]/.test(e),n+=r?1:0,t.uppercase=r,r=/[a-z]/.test(e),n+=r?1:0,t.lowercase=r,r=/[0-9]/.test(e),n+=r?1:0,t.numbers=r,r=/[-'/`~!¡#*$@_%+=.,^&(){}[\]|;:“‘"<>?\\]/.test(e),n+=r?1:0,t.specialCharacters=r,t.strength="very-weak",e.length>=4&&n>=2&&(t.strength="weak"),e.length>=6&&n>=3&&(t.strength="medium"),e.length>=i&&n>=4&&(t.strength="strong"),e.length>=i+2&&n>=5&&(t.strength="very-strong"),h(e),f(t),o&&o({...t,password:e})})(e.target.value),noMarginBottom:!0}),ve(ng,{label:c?l.hideLabel:l.showLabel,variant:"secondary",leftIcon:ve(c?gg:mg,{}),"aria-label":c?l.hidePasswordLabel:l.showPasswordLabel,onClick:()=>d(!c),type:"button"})]}),u&&!s?be("div",{id:"password-guidelines",css:Ky,"aria-live":"polite",children:[be("p",{css:(g=p.strength,ke`
2026
+ `,Xy=({label:e,caption:t,required:n,disabledRules:r,onChange:o,minLength:i=8,hideValidations:s,labels:a})=>{const l=tg("Password",a),[c,d]=ae(!1),[u,h]=ae(""),[p,f]=ae({strength:"very-weak",length:!1,uppercase:!1,lowercase:!1,numbers:!1,specialCharacters:!1}),m={"very-weak":l.strengthVeryWeak,weak:l.strengthWeak,medium:l.strengthMedium,strong:l.strengthStrong,"very-strong":l.strengthVeryStrong};return ve("div",{css:Uy,children:be($b,{label:e,caption:t,required:n,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",children:[be("div",{css:Ky,children:[ve(Rb,{type:c?"text":"password","aria-label":e,value:u,"aria-describedby":"password-guidelines",onChange:e=>(e=>{const t={...p};let n=0,r=!1;t.length=e.length>=i,n+=e.length>=i?1:0,r=/[A-Z]/.test(e),n+=r?1:0,t.uppercase=r,r=/[a-z]/.test(e),n+=r?1:0,t.lowercase=r,r=/[0-9]/.test(e),n+=r?1:0,t.numbers=r,r=/[-'/`~!¡#*$@_%+=.,^&(){}[\]|;:“‘"<>?\\]/.test(e),n+=r?1:0,t.specialCharacters=r,t.strength="very-weak",e.length>=4&&n>=2&&(t.strength="weak"),e.length>=6&&n>=3&&(t.strength="medium"),e.length>=i&&n>=4&&(t.strength="strong"),e.length>=i+2&&n>=5&&(t.strength="very-strong"),h(e),f(t),o&&o({...t,password:e})})(e.target.value),noMarginBottom:!0}),ve(ng,{label:c?l.hideLabel:l.showLabel,variant:"secondary",leftIcon:ve(c?gg:mg,{}),"aria-label":c?l.hidePasswordLabel:l.showPasswordLabel,onClick:()=>d(!c),type:"button"})]}),u&&!s?be("div",{id:"password-guidelines",css:Gy,"aria-live":"polite",children:[be("p",{css:(g=p.strength,ke`
2027
2027
  font-size: ${ze(400)};
2028
2028
  line-height: ${He(600)};
2029
2029
  font-weight: 400;
@@ -2035,7 +2035,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2035
2035
  font-weight: 700;
2036
2036
  color: ${Ie("medium"===g?"warning":"strong"===g||"very-strong"===g?"success":"error",900)};
2037
2037
  }
2038
- `),"aria-live":"polite",role:"status",children:[l.strengthPrefix," ",ve("span",{children:m[p.strength]})]}),ve("div",{css:Gy(p.strength),children:ve("div",{})}),be("div",{css:Zy(p.length),"aria-label":`${l.minLengthRule(i)}. ${p.length?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.length?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.minLengthRule(i)})]}),r?.uppercase?null:be("div",{css:Zy(p.uppercase),"aria-label":`${l.uppercaseRule}. ${p.uppercase?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.uppercase?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.uppercaseRule})]}),r?.lowercase?null:be("div",{css:Zy(p.lowercase),"aria-label":`${l.lowercaseRule}. ${p.lowercase?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.lowercase?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.lowercaseRule})]}),r?.numbers?null:be("div",{css:Zy(p.numbers),"aria-label":`${l.numberRule}. ${p.numbers?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.numbers?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.numberRule})]}),r?.specialCharacters?null:be("div",{css:Zy(p.specialCharacters),"aria-label":`${l.specialCharRule}. ${p.specialCharacters?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.specialCharacters?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.specialCharRule})]})]}):null]})});var g},Xy=ke`
2038
+ `),"aria-live":"polite",role:"status",children:[l.strengthPrefix," ",ve("span",{children:m[p.strength]})]}),ve("div",{css:Zy(p.strength),children:ve("div",{})}),be("div",{css:Jy(p.length),"aria-label":`${l.minLengthRule(i)}. ${p.length?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.length?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.minLengthRule(i)})]}),r?.uppercase?null:be("div",{css:Jy(p.uppercase),"aria-label":`${l.uppercaseRule}. ${p.uppercase?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.uppercase?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.uppercaseRule})]}),r?.lowercase?null:be("div",{css:Jy(p.lowercase),"aria-label":`${l.lowercaseRule}. ${p.lowercase?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.lowercase?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.lowercaseRule})]}),r?.numbers?null:be("div",{css:Jy(p.numbers),"aria-label":`${l.numberRule}. ${p.numbers?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.numbers?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.numberRule})]}),r?.specialCharacters?null:be("div",{css:Jy(p.specialCharacters),"aria-label":`${l.specialCharRule}. ${p.specialCharacters?l.requirementMet:l.requirementNotMet}`,children:[ve("div",{children:p.specialCharacters?ve(ag,{color:"var(--chakra-colors-success-500)",height:"0.5rem",width:"0.5rem"}):ve(pg,{color:"var(--chakra-colors-error-900)",height:"0.5rem",width:"0.5rem"})}),ve("p",{children:l.specialCharRule})]})]}):null]})});var g},Yy=ke`
2039
2039
  height: 100%;
2040
2040
  min-height: 3rem;
2041
2041
  width: 100%;
@@ -2044,7 +2044,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2044
2044
  border-radius: ${Be(300)};
2045
2045
  background-color: ${Ie("neutral",100)};
2046
2046
  padding: ${Ve(300)};
2047
- `,Yy=({label:e,caption:t,name:n,radios:r,defaultValue:o,onCheckedChange:i,errorMessage:s,horizontal:a,variant:l="default",required:c,labels:d})=>{const u=tg("RadioList",d),h=`${e}. ${t?`${t}.`:""} ${c?u.requiredLabel:u.optionalLabel} ${s?`${u.errorPrefix} ${s}.`:""} `;return ve(kb,{label:e,caption:t,errorMessage:s,required:c,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",labels:{requiredSymbolLabel:u.requiredSymbolLabel},containerProps:{"aria-roledescription":"group","aria-label":h},children:ve(Jv,{name:n,value:o,onChange:i,horizontal:a&&"card"!==l,children:r.map((e=>ve(Zv,{css:"card"===l?Xy:{},...e},e.value)))})})},Qy=ke`
2047
+ `,Qy=({label:e,caption:t,name:n,radios:r,defaultValue:o,onCheckedChange:i,errorMessage:s,horizontal:a,variant:l="default",required:c,labels:d})=>{const u=tg("RadioList",d),h=`${e}. ${t?`${t}.`:""} ${c?u.requiredLabel:u.optionalLabel} ${s?`${u.errorPrefix} ${s}.`:""} `;return ve($b,{label:e,caption:t,errorMessage:s,required:c,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",labels:{requiredSymbolLabel:u.requiredSymbolLabel},containerProps:{"aria-roledescription":"group","aria-label":h},children:ve(Xv,{name:n,value:o,onChange:i,horizontal:a&&"card"!==l,children:r.map((e=>ve(Jv,{css:"card"===l?Yy:{},...e},e.value)))})})},ew=ke`
2048
2048
  display: flex;
2049
2049
  align-items: center;
2050
2050
  gap: ${Ve(300)};
@@ -2067,19 +2067,19 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2067
2067
  .chakra-slider__root {
2068
2068
  width: 100%;
2069
2069
  }
2070
- `,ew=({label:e,caption:t,size:n="default",sliderItem:r,required:o,onChange:i})=>{const[s,a]=ae(r.value||[]),l=(e,t)=>{const n=e.target.value,o=[...s];let i=n?parseInt(n,10):n;const l=r.min||0,c=r.max||100;i=Number.isNaN(i)?l:i,i=i<l?l:i,i=i>c?c:i,o[t]=i,a(o)},c=(e,t)=>{const n=e.target.value||"0",o=[...s];let l=parseInt(n,10);const c=r.min||0,d=r.max||100;if(l=Number.isNaN(l)?c:l,l=l<c?c:l,l=l>d?d:l,2===s?.length){l=Number.isNaN(l)?c:l;const e=s[0],n=s[1];0===t?(l=l<c?c:l,l=l>n?n:l):1===t&&(l=l<e?e:l,l=l>d?d:l)}o[t]=l,a(o),i&&i(o)};return ve(kb,{label:e,caption:t,required:o,size:n,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",children:be("div",{css:Qy,children:[r.step&&r.marks?ve(Fy,{items:r.marks.map((e=>{const t="number"==typeof e?e:e.value;return{label:`${"number"==typeof e?e:e.label}`,value:`${t}`}})),placeholder:"",style:{width:"5.625rem"},value:[`${s?.[0]}`],onChange:e=>{const t=e.map((e=>parseInt(e,10)));a(t),i&&i(t)}}):ve(Nb,{"aria-label":e,min:r.min,max:r.max,value:s?.[0],type:"number",onChange:e=>l(e,0),onBlur:e=>c(e,0),className:"ds-opacity-control-text-input",onClick:e=>e.target.select(),noMarginBottom:!0}),ve(dy,{css:{},...r,value:s,"aria-label":2===s?.length?[`${e} minimum`,`${e} maximum`]:[e],onValueChangeEnd:e=>{a(e.value),i&&i(e.value)}}),2===s?.length?ve(Nb,{"aria-label":e,min:r.min,max:r.max,value:s?.[1],type:"number",onChange:e=>l(e,1),onBlur:e=>c(e,1),className:"ds-opacity-control-text-input",onClick:e=>e.target.select(),noMarginBottom:!0}):null]})})},tw=ke`
2070
+ `,tw=({label:e,caption:t,size:n="default",sliderItem:r,required:o,onChange:i})=>{const[s,a]=ae(r.value||[]),l=(e,t)=>{const n=e.target.value,o=[...s];let i=n?parseInt(n,10):n;const l=r.min||0,c=r.max||100;i=Number.isNaN(i)?l:i,i=i<l?l:i,i=i>c?c:i,o[t]=i,a(o)},c=(e,t)=>{const n=e.target.value||"0",o=[...s];let l=parseInt(n,10);const c=r.min||0,d=r.max||100;if(l=Number.isNaN(l)?c:l,l=l<c?c:l,l=l>d?d:l,2===s?.length){l=Number.isNaN(l)?c:l;const e=s[0],n=s[1];0===t?(l=l<c?c:l,l=l>n?n:l):1===t&&(l=l<e?e:l,l=l>d?d:l)}o[t]=l,a(o),i&&i(o)};return ve($b,{label:e,caption:t,required:o,size:n,showOptionalLabel:!1,noMarginBottom:!0,semantics:"group",children:be("div",{css:ew,children:[r.step&&r.marks?ve(qy,{items:r.marks.map((e=>{const t="number"==typeof e?e:e.value;return{label:`${"number"==typeof e?e:e.label}`,value:`${t}`}})),placeholder:"",style:{width:"5.625rem"},value:[`${s?.[0]}`],onChange:e=>{const t=e.map((e=>parseInt(e,10)));a(t),i&&i(t)}}):ve(Rb,{"aria-label":e,min:r.min,max:r.max,value:s?.[0],type:"number",onChange:e=>l(e,0),onBlur:e=>c(e,0),className:"ds-opacity-control-text-input",onClick:e=>e.target.select(),noMarginBottom:!0}),ve(uy,{css:{},...r,value:s,"aria-label":2===s?.length?[`${e} minimum`,`${e} maximum`]:[e],onValueChangeEnd:e=>{a(e.value),i&&i(e.value)}}),2===s?.length?ve(Rb,{"aria-label":e,min:r.min,max:r.max,value:s?.[1],type:"number",onChange:e=>l(e,1),onBlur:e=>c(e,1),className:"ds-opacity-control-text-input",onClick:e=>e.target.select(),noMarginBottom:!0}):null]})})},nw=ke`
2071
2071
  color: ${Ie("neutral",600)};
2072
2072
  font-size: ${ze(200)};
2073
2073
  font-weight: 400;
2074
2074
  line-height: ${He(400)};
2075
2075
  margin: 0;
2076
- `,nw=ke`
2076
+ `,rw=ke`
2077
2077
  color: ${Ie("error",900)};
2078
2078
  font-size: ${ze(300)};
2079
2079
  font-weight: 700;
2080
2080
  line-height: ${He(500)};
2081
2081
  margin: 0;
2082
- `,rw=(e,t)=>ke`
2082
+ `,ow=(e,t)=>ke`
2083
2083
  height: 6.5rem;
2084
2084
  width: 100%;
2085
2085
  border-radius: ${Be(300)};
@@ -2119,20 +2119,20 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2119
2119
  }
2120
2120
 
2121
2121
  ${t?`\n border: ${_e(100)} solid ${Ie("neutral",700)};\n `:""}
2122
- `,ow=({label:e,caption:t,placeholder:n,errorMessage:r,required:o,disabled:i,size:s="default",showOptionalLabel:a=!0,defaultValue:l="",onChange:d,onFocus:u,onBlur:h,minLength:p,maxLength:f,labels:m,value:g,...b})=>{const v=tg("Textarea",m),[y,w]=ae(l),[x,C]=ae(!1),[k,$]=ae(!1),[S,M]=ae(""),T=void 0!==g,O=T?String(g??""):y,L=he(),A=he(),N=he();ce((()=>{const{length:e}=l;p&&e<p&&e>0?(C(e<p),$(!1),M(v.enterAtLeastChars(p-e))):p&&0===e&&M(v.minChars(p)),f&&e>0?(C(!1),$(e>f),M(v.charsRemaining(f-e))):f&&0===e&&M(v.maxChars(f))}),[]);const R=!!r||x||k,D=[t?L:null,R?A:null,S?N:null].filter(Boolean).join(" ")||void 0,P=Boolean(O),I=Ab(u,h),z=S&&!k&&!x,V=x&&!!p||k&&!!f||z?be(ye,{children:[x&&p?ve(c.ErrorText,{id:A,css:nw,style:{fontSize:"0.75rem",lineHeight:"1rem"},"aria-live":"polite",children:v.needMoreChars(p-O.length)}):null,k&&f?ve(c.ErrorText,{id:A,css:nw,style:{fontSize:"0.75rem",lineHeight:"1rem"},"aria-live":"polite",children:v.tooManyChars(O.length-f)}):null,z?ve(c.HelperText,{id:N,css:tw,"aria-live":"polite",children:S}):null]}):null;return ve(kb,{label:e,caption:t,errorMessage:r,invalid:R,required:o,disabled:i,size:s,showOptionalLabel:a,labels:{requiredSymbolLabel:v.requiredSymbolLabel,optionalSuffix:v.optionalSuffix},captionId:L,errorId:r?A:void 0,footer:V,semantics:"field",children:ve(E,{placeholder:n,disabled:i,focusVisibleRing:"none",css:rw(s,P),onChange:e=>{T||w(e.target.value);const{length:t}=e.target.value;p&&f?(C(t<p),$(t>f),M(v.charsRemaining(f-t))):p?(C(t<p),$(!1),M(t<p?v.enterAtLeastChars(p-t):"")):f&&($(t>f),C(!1),M(v.charsRemaining(f-t))),d&&d(e)},value:O,"aria-label":e||n,"aria-describedby":D,"aria-invalid":R||void 0,_placeholder:{color:"var(--chakra-colors-neutral-700)"},...b,"data-focus-visible":I.isTabFocused||void 0,onFocus:I.onFocus,onBlur:I.onBlur})})},iw=e=>(e.getAttribute("data-placement")||"bottom").startsWith("top")?"top":"bottom",sw=()=>{const[e,t]=ae("bottom"),n=se(null);return{contentRef:ue((e=>{n.current?.disconnect(),n.current=null,e&&(t(iw(e)),n.current=new MutationObserver((()=>{t(iw(e))})),n.current.observe(e,{attributes:!0,attributeFilter:["data-placement"]}))}),[]),placement:e}},aw=e=>e?Ie("error",900):Ie("neutral",700),lw=e=>ke`
2122
+ `,iw=({label:e,caption:t,placeholder:n,errorMessage:r,required:o,disabled:i,size:s="default",showOptionalLabel:a=!0,defaultValue:l="",onChange:d,onFocus:u,onBlur:h,minLength:p,maxLength:f,labels:m,value:g,...b})=>{const v=tg("Textarea",m),[y,w]=ae(l),[x,C]=ae(!1),[k,$]=ae(!1),[S,M]=ae(""),T=void 0!==g,O=T?String(g??""):y,L=he(),A=he(),N=he();ce((()=>{const{length:e}=l;p&&e<p&&e>0?(C(e<p),$(!1),M(v.enterAtLeastChars(p-e))):p&&0===e&&M(v.minChars(p)),f&&e>0?(C(!1),$(e>f),M(v.charsRemaining(f-e))):f&&0===e&&M(v.maxChars(f))}),[]);const R=!!r||x||k,D=[t?L:null,R?A:null,S?N:null].filter(Boolean).join(" ")||void 0,P=Boolean(O),I=Nb(u,h),z=S&&!k&&!x,V=x&&!!p||k&&!!f||z?be(ye,{children:[x&&p?ve(c.ErrorText,{id:A,css:rw,style:{fontSize:"0.75rem",lineHeight:"1rem"},"aria-live":"polite",children:v.needMoreChars(p-O.length)}):null,k&&f?ve(c.ErrorText,{id:A,css:rw,style:{fontSize:"0.75rem",lineHeight:"1rem"},"aria-live":"polite",children:v.tooManyChars(O.length-f)}):null,z?ve(c.HelperText,{id:N,css:nw,"aria-live":"polite",children:S}):null]}):null;return ve($b,{label:e,caption:t,errorMessage:r,invalid:R,required:o,disabled:i,size:s,showOptionalLabel:a,labels:{requiredSymbolLabel:v.requiredSymbolLabel,optionalSuffix:v.optionalSuffix},captionId:L,errorId:r?A:void 0,footer:V,semantics:"field",children:ve(E,{placeholder:n,disabled:i,focusVisibleRing:"none",css:ow(s,P),onChange:e=>{T||w(e.target.value);const{length:t}=e.target.value;p&&f?(C(t<p),$(t>f),M(v.charsRemaining(f-t))):p?(C(t<p),$(!1),M(t<p?v.enterAtLeastChars(p-t):"")):f&&($(t>f),C(!1),M(v.charsRemaining(f-t))),d&&d(e)},value:O,"aria-label":e||n,"aria-describedby":D,"aria-invalid":R||void 0,_placeholder:{color:"var(--chakra-colors-neutral-700)"},...b,"data-focus-visible":I.isTabFocused||void 0,onFocus:I.onFocus,onBlur:I.onBlur})})},sw=e=>(e.getAttribute("data-placement")||"bottom").startsWith("top")?"top":"bottom",aw=()=>{const[e,t]=ae("bottom"),n=se(null);return{contentRef:ue((e=>{n.current?.disconnect(),n.current=null,e&&(t(sw(e)),n.current=new MutationObserver((()=>{t(sw(e))})),n.current.observe(e,{attributes:!0,attributeFilter:["data-placement"]}))}),[]),placement:e}},lw=e=>e?Ie("error",900):Ie("neutral",700),cw=e=>ke`
2123
2123
  &[data-state='open'] {
2124
2124
  ${e.startsWith("top")?"\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top-color: transparent;\n ":"\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom-color: transparent;\n "}
2125
2125
  }
2126
- `,cw=ke`
2126
+ `,dw=ke`
2127
2127
  &[data-disabled],
2128
2128
  [data-disabled] & {
2129
2129
  color: ${Ie("neutral",500)};
2130
2130
  }
2131
- `,dw=ke`
2131
+ `,uw=ke`
2132
2132
  &:focus-visible {
2133
2133
  ${Vm}
2134
2134
  }
2135
- `,uw=ke`
2135
+ `,hw=ke`
2136
2136
  cursor: pointer;
2137
2137
  color: ${Ie("neutral",900)};
2138
2138
  font-size: ${ze(400)};
@@ -2157,35 +2157,37 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2157
2157
  cursor: not-allowed;
2158
2158
  color: ${Ie("neutral",600)};
2159
2159
  }
2160
- `,hw=ke`
2161
- ${uw}
2160
+ `,pw=ke`
2161
+ ${hw}
2162
+ justify-content: flex-start;
2162
2163
 
2163
2164
  svg {
2164
2165
  width: ${Ve(200)};
2165
2166
  height: ${Ve(200)};
2166
2167
  flex-shrink: 0;
2167
2168
  color: ${Ie("neutral",900)};
2169
+ margin-top: -0.1875rem;
2168
2170
  }
2169
- `,pw=ke`
2171
+ `,fw=ke`
2170
2172
  color: ${Ie("neutral",700)};
2171
2173
  font-size: ${ze(400)};
2172
2174
  line-height: ${He(600)};
2173
2175
  padding: 0;
2174
- `,fw=ke`
2176
+ `,mw=ke`
2175
2177
  width: 100%;
2176
2178
  display: flex;
2177
2179
  align-items: flex-start;
2178
2180
  flex-wrap: wrap;
2179
2181
  gap: ${Ve(100)};
2180
2182
  padding-top: ${Ve(100)};
2181
- `,mw=new Set(["ArrowDown","ArrowUp","Home","End"]),gw="__create__",bw=e=>e.startsWith(gw),vw=({label:e,required:t,caption:n,errorMessage:r,size:o,disabled:i,showOptionalLabel:s=!0,placeholder:l,labels:c,noMarginBottom:d,initialItems:u=[],multiple:h=!1,showSelectedItems:p=!1,value:f,defaultValue:m,onChange:g,creatable:b=!1})=>{const[v,y]=ae([]),[w,x]=ae(m??[]),[C,k]=ae(""),$=void 0!==f,S=$?f:w,E=e=>{$||x(e),g?.(e)},A=tg("Combobox",c),{contains:N}=T({sensitivity:"base"}),{collection:R,filter:D,upsert:P}=O({initialItems:u,filter:N}),I=C.trim(),z=(e=>`${gw}${e}`)(I),V=b&&I.length>0&&!R.items.some((e=>e.label.toLowerCase()===I.toLowerCase())),H=oe((()=>V?M({items:[{label:I,value:z},...R.items]}):null),[V,z,I,R])??R,B=oe((()=>[...v,...u]),[v,u]),_=oe((()=>S.map((e=>({value:e,label:B.find((t=>t.value===e))?.label??e})))),[S,B]),j=S.length>0,F=!!r,q=Ab(),{contentRef:W,placement:U}=sw(),[K,G]=ae("pointer"),Z=()=>G("pointer");return ve(kb,{className:"ds-text-input-container",label:e,caption:n,errorMessage:r,required:t,disabled:i,size:o,showOptionalLabel:s,noMarginBottom:d,labels:{requiredSymbolLabel:A.requiredSymbolLabel,optionalSuffix:A.optionalSuffix},semantics:"field",children:be(L.Root,{multiple:h,invalid:F,disabled:i,collection:H,value:S,onValueChange:e=>{const t=e.value.filter(bw);t.length>0?(t.forEach((e=>{const t=e.slice(10),n={label:t,value:t};P(n.value,n,"prepend"),y((e=>e.some((e=>e.value===n.value))?e:[n,...e]))})),E(e.value.map((e=>bw(e)?e.slice(10):e)))):E(e.value),p&&k("")},inputValue:C,onInputValueChange:e=>{k(e.inputValue),D(e.inputValue)},selectionBehavior:p?"clear":"replace",width:"100%",positioning:{sameWidth:!0},size:"small"===o?"sm":"md",children:[be(L.Control,{children:[ve(L.Input,{placeholder:l,focusVisibleRing:"none",css:[Cb(o,j),lw(U)],disabled:i,"aria-label":e||l||A.defaultInputAriaLabel,"data-focus-visible":q.isTabFocused||void 0,onFocus:q.onFocus,onBlur:q.onBlur,onKeyDown:e=>{mw.has(e.key)&&G("keyboard")},onPointerDown:Z,_placeholder:{color:"var(--chakra-colors-neutral-700)"}}),be(L.IndicatorGroup,{css:cw,children:[ve(L.ClearTrigger,{"aria-label":A.clearSelectionLabel,tabIndex:0,focusVisibleRing:"none",css:dw}),ve(L.Trigger,{"aria-label":A.toggleOptionsLabel})]})]}),ve(a,{children:ve(L.Positioner,{children:be(L.Content,{ref:W,css:(J=F,ke`
2183
+ `,gw=new Set(["ArrowDown","ArrowUp","Home","End"]),bw="__create__",vw=e=>e.startsWith(bw),yw=({label:e,required:t,caption:n,errorMessage:r,size:o,disabled:i,showOptionalLabel:s=!0,placeholder:l,labels:c,noMarginBottom:d,initialItems:u=[],multiple:h=!1,showSelectedItems:p=!1,value:f,defaultValue:m,onChange:g,creatable:b=!1})=>{const[v,y]=ae([]),[w,x]=ae(m??[]),[C,k]=ae(""),$=void 0!==f,S=$?f:w,E=e=>{$||x(e),g?.(e)},A=tg("Combobox",c),{contains:N}=T({sensitivity:"base"}),{collection:R,filter:D,upsert:P}=O({initialItems:u,filter:N}),I=C.trim(),z=(e=>`${bw}${e}`)(I),V=b&&I.length>0&&!R.items.some((e=>e.label.toLowerCase()===I.toLowerCase())),H=oe((()=>V?M({items:[{label:I,value:z},...R.items]}):null),[V,z,I,R])??R,B=oe((()=>[...v,...u]),[v,u]),_=oe((()=>S.map((e=>({value:e,label:B.find((t=>t.value===e))?.label??e})))),[S,B]),j=S.length>0,F=!!r,q=Nb(),{contentRef:W,placement:U}=aw(),[K,G]=ae("pointer"),Z=()=>G("pointer");return ve($b,{className:"ds-text-input-container",label:e,caption:n,errorMessage:r,required:t,disabled:i,size:o,showOptionalLabel:s,noMarginBottom:d,labels:{requiredSymbolLabel:A.requiredSymbolLabel,optionalSuffix:A.optionalSuffix},semantics:"field",children:be(L.Root,{multiple:h,invalid:F,disabled:i,collection:H,value:S,onValueChange:e=>{const t=e.value.filter(vw);t.length>0?(t.forEach((e=>{const t=e.slice(10),n={label:t,value:t};P(n.value,n,"prepend"),y((e=>e.some((e=>e.value===n.value))?e:[n,...e]))})),E(e.value.map((e=>vw(e)?e.slice(10):e)))):E(e.value),p&&k("")},inputValue:C,onInputValueChange:e=>{k(e.inputValue),D(e.inputValue)},selectionBehavior:p?"clear":"replace",width:"100%",positioning:{sameWidth:!0},size:"small"===o?"sm":"md",children:[be(L.Control,{children:[ve(L.Input,{placeholder:l,focusVisibleRing:"none",css:[kb(o,j),cw(U)],disabled:i,"aria-label":e||l||A.defaultInputAriaLabel,"data-focus-visible":q.isTabFocused||void 0,onFocus:q.onFocus,onBlur:q.onBlur,onKeyDown:e=>{gw.has(e.key)&&G("keyboard")},onPointerDown:Z,_placeholder:{color:"var(--chakra-colors-neutral-700)"}}),be(L.IndicatorGroup,{css:dw,children:[ve(L.ClearTrigger,{"aria-label":A.clearSelectionLabel,tabIndex:0,focusVisibleRing:"none",css:uw}),ve(L.Trigger,{"aria-label":A.toggleOptionsLabel})]})]}),ve(a,{children:ve(L.Positioner,{children:be(L.Content,{ref:W,css:(J=F,ke`
2182
2184
  margin-top: calc(${Ve(200)} * -1);
2183
2185
  border-radius: ${Be(300)};
2184
2186
  border: ${_e(100)} solid ${Ie("neutral",400)};
2185
2187
  border-top-left-radius: 0;
2186
2188
  border-top-right-radius: 0;
2187
2189
  border-top: ${_e(100)} solid
2188
- ${aw(J)};
2190
+ ${lw(J)};
2189
2191
  background-color: ${Ie("neutral",100)};
2190
2192
  padding: ${Ve(300)};
2191
2193
  gap: ${Ve(200)};
@@ -2203,12 +2205,12 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2203
2205
  border-bottom-left-radius: 0;
2204
2206
  border-bottom-right-radius: 0;
2205
2207
  border-bottom: ${_e(100)} solid
2206
- ${aw(J)};
2208
+ ${lw(J)};
2207
2209
  box-shadow:
2208
2210
  0 -0.25rem 0.375rem -0.25rem #0000001a,
2209
2211
  0 -0.625rem 0.9375rem -0.1875rem #0000001a;
2210
2212
  }
2211
- `),"data-nav-source":K,onPointerMove:Z,children:[ve(L.Empty,{css:pw,children:A.noItemsFoundLabel}),V?be(L.Item,{css:hw,item:{label:I,value:z},children:[ve(Cg,{}),A.createOptionLabel(I)]},z):null,H.items.map((e=>be(L.Item,{css:uw,item:e,children:[e.label,ve(L.ItemIndicator,{})]},e.value)))]})})}),p&&_.length>0?ve("div",{css:fw,children:_.map((e=>ve(By,{label:e.label,variant:"info-white",onClose:()=>E(S.filter((t=>t!==e.value))),closable:!0},e.value)))}):null]})});var J};function yw(){return"undefined"!=typeof window}function ww(e){return kw(e)?(e.nodeName||"").toLowerCase():"#document"}function xw(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Cw(e){var t;return null==(t=(kw(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function kw(e){return!!yw()&&(e instanceof Node||e instanceof xw(e).Node)}function $w(e){return!!yw()&&(e instanceof Element||e instanceof xw(e).Element)}function Sw(e){return!!yw()&&(e instanceof HTMLElement||e instanceof xw(e).HTMLElement)}function Mw(e){return!(!yw()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof xw(e).ShadowRoot)}const Ew=new Set(["inline","contents"]);function Tw(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Bw(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ew.has(o)}const Ow=new Set(["table","td","th"]);function Lw(e){return Ow.has(ww(e))}const Aw=[":popover-open",":modal"];function Nw(e){return Aw.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const Rw=["transform","translate","scale","rotate","perspective"],Dw=["transform","translate","scale","rotate","perspective","filter"],Pw=["paint","layout","strict","content"];function Iw(e){const t=zw(),n=$w(e)?Bw(e):e;return Rw.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Dw.some((e=>(n.willChange||"").includes(e)))||Pw.some((e=>(n.contain||"").includes(e)))}function zw(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Vw=new Set(["html","body","#document"]);function Hw(e){return Vw.has(ww(e))}function Bw(e){return xw(e).getComputedStyle(e)}function _w(e){return $w(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function jw(e){if("html"===ww(e))return e;const t=e.assignedSlot||e.parentNode||Mw(e)&&e.host||Cw(e);return Mw(t)?t.host:t}function Fw(e){const t=jw(e);return Hw(t)?e.ownerDocument?e.ownerDocument.body:e.body:Sw(t)&&Tw(t)?t:Fw(t)}function qw(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Fw(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=xw(o);if(i){const e=Ww(s);return t.concat(s,s.visualViewport||[],Tw(o)?o:[],e&&n?qw(e):[])}return t.concat(o,qw(o,[],n))}function Ww(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Uw=Math.min,Kw=Math.max,Gw=Math.round,Zw=Math.floor,Jw=e=>({x:e,y:e}),Xw={left:"right",right:"left",bottom:"top",top:"bottom"},Yw={start:"end",end:"start"};function Qw(e,t,n){return Kw(e,Uw(t,n))}function ex(e,t){return"function"==typeof e?e(t):e}function tx(e){return e.split("-")[0]}function nx(e){return e.split("-")[1]}function rx(e){return"x"===e?"y":"x"}function ox(e){return"y"===e?"height":"width"}const ix=new Set(["top","bottom"]);function sx(e){return ix.has(tx(e))?"y":"x"}function ax(e){return rx(sx(e))}function lx(e){return e.replace(/start|end/g,(e=>Yw[e]))}const cx=["left","right"],dx=["right","left"],ux=["top","bottom"],hx=["bottom","top"];function px(e,t,n,r){const o=nx(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?dx:cx:t?cx:dx;case"left":case"right":return t?ux:hx;default:return[]}}(tx(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(lx)))),i}function fx(e){return e.replace(/left|right|bottom|top/g,(e=>Xw[e]))}function mx(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function gx(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}const bx="data-floating-ui-focusable";function vx(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Mw(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function yx(e){return"composedPath"in e?e.composedPath()[0]:e.target}function wx(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function xx(e){return(null==e?void 0:e.ownerDocument)||document}function Cx(e,t,n){void 0===n&&(n=!0);return e.filter((e=>{var r;return e.parentId===t&&(!n||(null==(r=e.context)?void 0:r.open))})).flatMap((t=>[t,...Cx(e,t.id,n)]))}var kx="undefined"!=typeof document?de:function(){};const $x={...ee}.useInsertionEffect||(e=>e());function Sx(e){const t=ee.useRef((()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")}));return $x((()=>{t.current=e})),ee.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function Mx(e,t,n){let{reference:r,floating:o}=e;const i=sx(t),s=ax(t),a=ox(s),l=tx(t),c="y"===i,d=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-o.width,y:u};break;default:p={x:r.x,y:r.y}}switch(nx(t)){case"start":p[s]-=h*(n&&c?-1:1);break;case"end":p[s]+=h*(n&&c?-1:1)}return p}async function Ex(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=ex(t,e),f=mx(p),m=a[h?"floating"===u?"reference":"floating":u],g=gx(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===u?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=gx(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:v,strategy:l}):b);return{top:(g.top-w.top+f.top)/y.y,bottom:(w.bottom-g.bottom+f.bottom)/y.y,left:(g.left-w.left+f.left)/y.x,right:(w.right-g.right+f.right)/y.x}}const Tx=new Set(["left","top"]);function Ox(e){const t=Bw(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Sw(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Gw(n)!==i||Gw(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Lx(e){return $w(e)?e:e.contextElement}function Ax(e){const t=Lx(e);if(!Sw(t))return Jw(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ox(t);let s=(i?Gw(n.width):n.width)/r,a=(i?Gw(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Nx=Jw(0);function Rx(e){const t=xw(e);return zw()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Nx}function Dx(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Lx(e);let s=Jw(1);t&&(r?$w(r)&&(s=Ax(r)):s=Ax(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==xw(e))&&t}(i,n,r)?Rx(i):Jw(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,d=o.width/s.x,u=o.height/s.y;if(i){const e=xw(i),t=r&&$w(r)?xw(r):r;let n=e,o=Ww(n);for(;o&&r&&t!==n;){const e=Ax(o),t=o.getBoundingClientRect(),r=Bw(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=i,c+=s,n=xw(o),o=Ww(n)}}return gx({width:d,height:u,x:l,y:c})}function Px(e,t){const n=_w(e).scrollLeft;return t?t.left+n:Dx(Cw(e)).left+n}function Ix(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Px(e,n),y:n.top+t.scrollTop}}const zx=new Set(["absolute","fixed"]);function Vx(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=xw(e),r=Cw(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=zw();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}const c=Px(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-o);s<=25&&(i-=s)}else c<=25&&(i+=c);return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=Cw(e),n=_w(e),r=e.ownerDocument.body,o=Kw(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Kw(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Px(e);const a=-n.scrollTop;return"rtl"===Bw(r).direction&&(s+=Kw(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(Cw(e));else if($w(t))r=function(e,t){const n=Dx(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Sw(e)?Ax(e):Jw(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Rx(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return gx(r)}function Hx(e,t){const n=jw(e);return!(n===t||!$w(n)||Hw(n))&&("fixed"===Bw(n).position||Hx(n,t))}function Bx(e,t,n){const r=Sw(t),o=Cw(t),i="fixed"===n,s=Dx(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Jw(0);function c(){l.x=Px(o)}if(r||!r&&!i)if(("body"!==ww(t)||Tw(o))&&(a=_w(t)),r){const e=Dx(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const d=!o||r||i?Jw(0):Ix(o,a);return{x:s.left+a.scrollLeft-l.x-d.x,y:s.top+a.scrollTop-l.y-d.y,width:s.width,height:s.height}}function _x(e){return"static"===Bw(e).position}function jx(e,t){if(!Sw(e)||"fixed"===Bw(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Cw(e)===n&&(n=n.ownerDocument.body),n}function Fx(e,t){const n=xw(e);if(Nw(e))return n;if(!Sw(e)){let t=jw(e);for(;t&&!Hw(t);){if($w(t)&&!_x(t))return t;t=jw(t)}return n}let r=jx(e,t);for(;r&&Lw(r)&&_x(r);)r=jx(r,t);return r&&Hw(r)&&_x(r)&&!Iw(r)?n:r||function(e){let t=jw(e);for(;Sw(t)&&!Hw(t);){if(Iw(t))return t;if(Nw(t))return null;t=jw(t)}return null}(e)||n}const qx={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=Cw(r),a=!!t&&Nw(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Jw(1);const d=Jw(0),u=Sw(r);if((u||!u&&!i)&&(("body"!==ww(r)||Tw(s))&&(l=_w(r)),Sw(r))){const e=Dx(r);c=Ax(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}const h=!s||u||i?Jw(0):Ix(s,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:Cw,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?Nw(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=qw(e,[],!1).filter((e=>$w(e)&&"body"!==ww(e))),o=null;const i="fixed"===Bw(e).position;let s=i?jw(e):e;for(;$w(s)&&!Hw(s);){const t=Bw(s),n=Iw(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&zx.has(o.position)||Tw(s)&&!n&&Hx(e,s))?r=r.filter((e=>e!==s)):o=t,s=jw(s)}return t.set(e,r),r}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce(((e,n)=>{const r=Vx(t,n,o);return e.top=Kw(r.top,e.top),e.right=Uw(r.right,e.right),e.bottom=Uw(r.bottom,e.bottom),e.left=Kw(r.left,e.left),e}),Vx(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Fx,getElementRects:async function(e){const t=this.getOffsetParent||Fx,n=this.getDimensions,r=await n(e.floating);return{reference:Bx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Ox(e);return{width:t,height:n}},getScale:Ax,isElement:$w,isRTL:function(e){return"rtl"===Bw(e).direction}};function Wx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ux(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Lx(e),d=o||i?[...c?qw(c):[],...qw(t)]:[];d.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const u=c&&a?function(e,t){let n,r=null;const o=Cw(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:d,top:u,width:h,height:p}=c;if(a||t(),!h||!p)return;const f={rootMargin:-Zw(u)+"px "+-Zw(o.clientWidth-(d+h))+"px "+-Zw(o.clientHeight-(u+p))+"px "+-Zw(d)+"px",threshold:Kw(0,Uw(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return s();r?s(!1,r):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==r||Wx(c,e.getBoundingClientRect())||s(),m=!1}try{r=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,f)}r.observe(e)}(!0),i}(c,n):null;let h,p=-1,f=null;s&&(f=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),c&&!l&&f.observe(c),f.observe(t));let m=l?Dx(e):null;return l&&function t(){const r=Dx(e);m&&!Wx(m,r)&&n();m=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==u||u(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const Kx=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=tx(n),a=nx(n),l="y"===sx(n),c=Tx.has(s)?-1:1,d=i&&l?-1:1,u=ex(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof f&&(p="end"===a?-1*f:f),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Gx=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=ex(e,t),c={x:n,y:r},d=await Ex(t,l),u=sx(tx(o)),h=rx(u);let p=c[h],f=c[u];if(i){const e="y"===h?"bottom":"right";p=Qw(p+d["y"===h?"top":"left"],p,p-d[e])}if(s){const e="y"===u?"bottom":"right";f=Qw(f+d["y"===u?"top":"left"],f,f-d[e])}const m=a.fn({...t,[h]:p,[u]:f});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:i,[u]:s}}}}}},Zx=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=ex(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=tx(o),v=sx(a),y=tx(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(y||!m?[fx(a)]:function(e){const t=fx(e);return[lx(e),t,lx(t)]}(a)),C="none"!==f;!h&&C&&x.push(...px(a,m,f,w));const k=[a,...x],$=await Ex(t,g),S=[];let M=(null==(r=i.flip)?void 0:r.overflows)||[];if(d&&S.push($[b]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=nx(e),o=ax(e),i=ox(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=fx(s)),[s,fx(s)]}(o,s,w);S.push($[e[0]],$[e[1]])}if(M=[...M,{placement:o,overflows:S}],!S.every((e=>e<=0))){var E,T;const e=((null==(E=i.flip)?void 0:E.index)||0)+1,t=k[e];if(t){if(!("alignment"===u&&v!==sx(t))||M.every((e=>sx(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:t}}}let n=null==(T=M.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(p){case"bestFit":{var O;const e=null==(O=M.filter((e=>{if(C){const t=sx(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Jx=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=ex(e,t)||{};if(null==c)return{};const u=mx(d),h={x:n,y:r},p=ax(o),f=ox(p),m=await s.getDimensions(c),g="y"===p,b=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[p]-h[p]-i.floating[f],x=h[p]-i.reference[p],C=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let k=C?C[y]:0;k&&await(null==s.isElement?void 0:s.isElement(C))||(k=a.floating[y]||i.floating[f]);const $=w/2-x/2,S=k/2-m[f]/2-1,M=Uw(u[b],S),E=Uw(u[v],S),T=M,O=k-m[f]-E,L=k/2-m[f]/2+$,A=Qw(T,L,O),N=!l.arrow&&null!=nx(o)&&L!==A&&i.reference[f]/2-(L<T?M:E)-m[f]/2<0,R=N?L<T?L-T:L-O:0;return{[p]:h[p]+R,data:{[p]:A,centerOffset:L-A-R,...N&&{alignmentOffset:R}},reset:N}}}),Xx=(e,t,n)=>{const r=new Map,o={platform:qx,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=Mx(c,r,l),h=r,p={},f=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y:b,data:v,reset:y}=await m({x:d,y:u,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=b?b:u,p={...p,[i]:{...p[i],...v}},y&&f<=50&&(f++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:d,y:u}=Mx(c,h,l))),n=-1)}return{x:d,y:u,placement:h,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var Yx="undefined"!=typeof document?de:function(){};function Qx(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!Qx(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Qx(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eC(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tC(e,t){const n=eC(e);return Math.round(t*n)/n}function nC(e){const t=ee.useRef(e);return Yx((()=>{t.current=e})),t}const rC=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Jx({element:n.current,padding:r}).fn(t):{}:n?Jx({element:n,padding:r}).fn(t):{};var o}}),oC=(e,t)=>({...Kx(e),options:[e,t]}),iC=(e,t)=>({...Gx(e),options:[e,t]}),sC=(e,t)=>({...rC(e),options:[e,t]}),aC="data-floating-ui-focusable",lC="active",cC="selected",dC={...ee};let uC=!1,hC=0;const pC=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+hC++;const fC=dC.useId||function(){const[e,t]=ee.useState((()=>uC?pC():void 0));return kx((()=>{null==e&&t(pC())}),[]),ee.useEffect((()=>{uC=!0}),[]),e};let mC;"production"!==process.env.NODE_ENV&&(mC=new Set);const gC=ee.createContext(null),bC=ee.createContext(null),vC=()=>{var e;return(null==(e=ee.useContext(gC))?void 0:e.id)||null},yC=()=>ee.useContext(bC);const wC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},xC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},CC=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function kC(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=fC(),i=ee.useRef({}),[s]=ee.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}())),a=null!=vC();if("production"!==process.env.NODE_ENV){const e=r.reference;e&&!$w(e)&&function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");var i;null!=(e=mC)&&e.has(o)||(null==(i=mC)||i.add(o),console.error(o))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,c]=ee.useState(r.reference),d=Sx(((e,t,r)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)})),u=ee.useMemo((()=>({setPositionReference:c})),[]),h=ee.useMemo((()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference})),[l,r.reference,r.floating]);return ee.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:h,events:s,floatingId:o,refs:u})),[t,d,h,s,o,u])}function $C(e){void 0===e&&(e={});const{nodeId:t}=e,n=kC({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,s]=ee.useState(null),[a,l]=ee.useState(null),c=(null==o?void 0:o.domReference)||i,d=ee.useRef(null),u=yC();kx((()=>{c&&(d.current=c)}),[c]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,u]=ee.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=ee.useState(r);Qx(h,r)||p(r);const[f,m]=ee.useState(null),[g,b]=ee.useState(null),v=ee.useCallback((e=>{e!==C.current&&(C.current=e,m(e))}),[]),y=ee.useCallback((e=>{e!==k.current&&(k.current=e,b(e))}),[]),w=i||f,x=s||g,C=ee.useRef(null),k=ee.useRef(null),$=ee.useRef(d),S=null!=l,M=nC(l),E=nC(o),T=nC(c),O=ee.useCallback((()=>{if(!C.current||!k.current)return;const e={placement:t,strategy:n,middleware:h};E.current&&(e.platform=E.current),Xx(C.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==T.current};L.current&&!Qx($.current,t)&&($.current=t,we.flushSync((()=>{u(t)})))}))}),[h,t,n,E,T]);Yx((()=>{!1===c&&$.current.isPositioned&&($.current.isPositioned=!1,u((e=>({...e,isPositioned:!1}))))}),[c]);const L=ee.useRef(!1);Yx((()=>(L.current=!0,()=>{L.current=!1})),[]),Yx((()=>{if(w&&(C.current=w),x&&(k.current=x),w&&x){if(M.current)return M.current(w,x,O);O()}}),[w,x,O,M,S]);const A=ee.useMemo((()=>({reference:C,floating:k,setReference:v,setFloating:y})),[v,y]),N=ee.useMemo((()=>({reference:w,floating:x})),[w,x]),R=ee.useMemo((()=>{const e={position:n,left:0,top:0};if(!N.floating)return e;const t=tC(N.floating,d.x),r=tC(N.floating,d.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eC(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,a,N.floating,d.x,d.y]);return ee.useMemo((()=>({...d,update:O,refs:A,elements:N,floatingStyles:R})),[d,O,A,N,R])}({...e,elements:{...o,...a&&{reference:a}}}),p=ee.useCallback((e=>{const t=$w(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),h.refs.setReference(t)}),[h.refs]),f=ee.useCallback((e=>{($w(e)||null===e)&&(d.current=e,s(e)),($w(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!$w(e))&&h.refs.setReference(e)}),[h.refs]),m=ee.useMemo((()=>({...h.refs,setReference:f,setPositionReference:p,domReference:d})),[h.refs,f,p]),g=ee.useMemo((()=>({...h.elements,domReference:c})),[h.elements,c]),b=ee.useMemo((()=>({...h,...r,refs:m,elements:g,nodeId:t})),[h,m,g,t,r]);return kx((()=>{r.dataRef.current.floatingContext=b;const e=null==u?void 0:u.nodesRef.current.find((e=>e.id===t));e&&(e.context=b)})),ee.useMemo((()=>({...h,context:b,refs:m,elements:g})),[h,m,g,b])}function SC(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[lC]:t,[cC]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[aC]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var s;o&&[lC,cC].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(s=r.get(n))||s.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}const MC=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function EC(e,t){var n,r;void 0===t&&(t={});const{open:o,elements:i,floatingId:s}=e,{enabled:a=!0,role:l="dialog"}=t,c=fC(),d=(null==(n=i.domReference)?void 0:n.id)||c,u=ee.useMemo((()=>{var e,t;return(null==(e=(t=i.floating)?t.hasAttribute(bx)?t:t.querySelector("["+bx+"]")||t:null)?void 0:e.id)||s}),[i.floating,s]),h=null!=(r=MC.get(l))?r:l,p=null!=vC(),f=ee.useMemo((()=>"tooltip"===h||"label"===l?{["aria-"+("label"===l?"labelledby":"describedby")]:o?u:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":"alertdialog"===h?"dialog":h,"aria-controls":o?u:void 0,..."listbox"===h&&{role:"combobox"},..."menu"===h&&{id:d},..."menu"===h&&p&&{role:"menuitem"},..."select"===l&&{"aria-autocomplete":"none"},..."combobox"===l&&{"aria-autocomplete":"list"}}),[h,u,p,o,d,l]),m=ee.useMemo((()=>{const e={id:u,...h&&{role:h}};return"tooltip"===h||"label"===l?e:{...e,..."menu"===h&&{"aria-labelledby":d}}}),[h,u,d,l]),g=ee.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:u+"-fui-option"}};switch(l){case"select":case"combobox":return{...r,"aria-selected":n}}return{}}),[u,l]);return ee.useMemo((()=>a?{reference:f,floating:m,item:g}:{}),[a,f,m,g])}const TC=e=>Ie("neutral","dark"===e?900:300),OC=e=>ke`
2213
+ `),"data-nav-source":K,onPointerMove:Z,children:[ve(L.Empty,{css:fw,children:A.noItemsFoundLabel}),V?be(L.Item,{css:pw,item:{label:I,value:z},children:[ve(Cg,{}),A.createOptionLabel(I)]},z):null,H.items.filter((e=>!vw(e.value))).map((e=>be(L.Item,{css:hw,item:e,children:[e.label,ve(L.ItemIndicator,{})]},e.value)))]})})}),p&&_.length>0?ve("div",{css:mw,children:_.map((e=>ve(_y,{label:e.label,variant:"info-white",onClose:()=>E(S.filter((t=>t!==e.value))),closable:!0},e.value)))}):null]})});var J};function ww(){return"undefined"!=typeof window}function xw(e){return $w(e)?(e.nodeName||"").toLowerCase():"#document"}function Cw(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function kw(e){var t;return null==(t=($w(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $w(e){return!!ww()&&(e instanceof Node||e instanceof Cw(e).Node)}function Sw(e){return!!ww()&&(e instanceof Element||e instanceof Cw(e).Element)}function Mw(e){return!!ww()&&(e instanceof HTMLElement||e instanceof Cw(e).HTMLElement)}function Ew(e){return!(!ww()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Cw(e).ShadowRoot)}const Tw=new Set(["inline","contents"]);function Ow(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=_w(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Tw.has(o)}const Lw=new Set(["table","td","th"]);function Aw(e){return Lw.has(xw(e))}const Nw=[":popover-open",":modal"];function Rw(e){return Nw.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const Dw=["transform","translate","scale","rotate","perspective"],Pw=["transform","translate","scale","rotate","perspective","filter"],Iw=["paint","layout","strict","content"];function zw(e){const t=Vw(),n=Sw(e)?_w(e):e;return Dw.some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Pw.some((e=>(n.willChange||"").includes(e)))||Iw.some((e=>(n.contain||"").includes(e)))}function Vw(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Hw=new Set(["html","body","#document"]);function Bw(e){return Hw.has(xw(e))}function _w(e){return Cw(e).getComputedStyle(e)}function jw(e){return Sw(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fw(e){if("html"===xw(e))return e;const t=e.assignedSlot||e.parentNode||Ew(e)&&e.host||kw(e);return Ew(t)?t.host:t}function qw(e){const t=Fw(e);return Bw(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mw(t)&&Ow(t)?t:qw(t)}function Ww(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=qw(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=Cw(o);if(i){const e=Uw(s);return t.concat(s,s.visualViewport||[],Ow(o)?o:[],e&&n?Ww(e):[])}return t.concat(o,Ww(o,[],n))}function Uw(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Kw=Math.min,Gw=Math.max,Zw=Math.round,Jw=Math.floor,Xw=e=>({x:e,y:e}),Yw={left:"right",right:"left",bottom:"top",top:"bottom"},Qw={start:"end",end:"start"};function ex(e,t,n){return Gw(e,Kw(t,n))}function tx(e,t){return"function"==typeof e?e(t):e}function nx(e){return e.split("-")[0]}function rx(e){return e.split("-")[1]}function ox(e){return"x"===e?"y":"x"}function ix(e){return"y"===e?"height":"width"}const sx=new Set(["top","bottom"]);function ax(e){return sx.has(nx(e))?"y":"x"}function lx(e){return ox(ax(e))}function cx(e){return e.replace(/start|end/g,(e=>Qw[e]))}const dx=["left","right"],ux=["right","left"],hx=["top","bottom"],px=["bottom","top"];function fx(e,t,n,r){const o=rx(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?ux:dx:t?dx:ux;case"left":case"right":return t?hx:px;default:return[]}}(nx(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(cx)))),i}function mx(e){return e.replace(/left|right|bottom|top/g,(e=>Yw[e]))}function gx(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function bx(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}const vx="data-floating-ui-focusable";function yx(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ew(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function wx(e){return"composedPath"in e?e.composedPath()[0]:e.target}function xx(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function Cx(e){return(null==e?void 0:e.ownerDocument)||document}function kx(e,t,n){void 0===n&&(n=!0);return e.filter((e=>{var r;return e.parentId===t&&(!n||(null==(r=e.context)?void 0:r.open))})).flatMap((t=>[t,...kx(e,t.id,n)]))}var $x="undefined"!=typeof document?de:function(){};const Sx={...ee}.useInsertionEffect||(e=>e());function Mx(e){const t=ee.useRef((()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")}));return Sx((()=>{t.current=e})),ee.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function Ex(e,t,n){let{reference:r,floating:o}=e;const i=ax(t),s=lx(t),a=ix(s),l=nx(t),c="y"===i,d=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-o.width,y:u};break;default:p={x:r.x,y:r.y}}switch(rx(t)){case"start":p[s]-=h*(n&&c?-1:1);break;case"end":p[s]+=h*(n&&c?-1:1)}return p}async function Tx(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=tx(t,e),f=gx(p),m=a[h?"floating"===u?"reference":"floating":u],g=bx(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===u?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=bx(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:v,strategy:l}):b);return{top:(g.top-w.top+f.top)/y.y,bottom:(w.bottom-g.bottom+f.bottom)/y.y,left:(g.left-w.left+f.left)/y.x,right:(w.right-g.right+f.right)/y.x}}const Ox=new Set(["left","top"]);function Lx(e){const t=_w(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Mw(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Zw(n)!==i||Zw(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Ax(e){return Sw(e)?e:e.contextElement}function Nx(e){const t=Ax(e);if(!Mw(t))return Xw(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Lx(t);let s=(i?Zw(n.width):n.width)/r,a=(i?Zw(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Rx=Xw(0);function Dx(e){const t=Cw(e);return Vw()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Rx}function Px(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Ax(e);let s=Xw(1);t&&(r?Sw(r)&&(s=Nx(r)):s=Nx(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Cw(e))&&t}(i,n,r)?Dx(i):Xw(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,d=o.width/s.x,u=o.height/s.y;if(i){const e=Cw(i),t=r&&Sw(r)?Cw(r):r;let n=e,o=Uw(n);for(;o&&r&&t!==n;){const e=Nx(o),t=o.getBoundingClientRect(),r=_w(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=i,c+=s,n=Cw(o),o=Uw(n)}}return bx({width:d,height:u,x:l,y:c})}function Ix(e,t){const n=jw(e).scrollLeft;return t?t.left+n:Px(kw(e)).left+n}function zx(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Ix(e,n),y:n.top+t.scrollTop}}const Vx=new Set(["absolute","fixed"]);function Hx(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Cw(e),r=kw(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=Vw();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}const c=Ix(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-o);s<=25&&(i-=s)}else c<=25&&(i+=c);return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=kw(e),n=jw(e),r=e.ownerDocument.body,o=Gw(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Gw(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ix(e);const a=-n.scrollTop;return"rtl"===_w(r).direction&&(s+=Gw(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(kw(e));else if(Sw(t))r=function(e,t){const n=Px(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Mw(e)?Nx(e):Xw(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Dx(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return bx(r)}function Bx(e,t){const n=Fw(e);return!(n===t||!Sw(n)||Bw(n))&&("fixed"===_w(n).position||Bx(n,t))}function _x(e,t,n){const r=Mw(t),o=kw(t),i="fixed"===n,s=Px(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Xw(0);function c(){l.x=Ix(o)}if(r||!r&&!i)if(("body"!==xw(t)||Ow(o))&&(a=jw(t)),r){const e=Px(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const d=!o||r||i?Xw(0):zx(o,a);return{x:s.left+a.scrollLeft-l.x-d.x,y:s.top+a.scrollTop-l.y-d.y,width:s.width,height:s.height}}function jx(e){return"static"===_w(e).position}function Fx(e,t){if(!Mw(e)||"fixed"===_w(e).position)return null;if(t)return t(e);let n=e.offsetParent;return kw(e)===n&&(n=n.ownerDocument.body),n}function qx(e,t){const n=Cw(e);if(Rw(e))return n;if(!Mw(e)){let t=Fw(e);for(;t&&!Bw(t);){if(Sw(t)&&!jx(t))return t;t=Fw(t)}return n}let r=Fx(e,t);for(;r&&Aw(r)&&jx(r);)r=Fx(r,t);return r&&Bw(r)&&jx(r)&&!zw(r)?n:r||function(e){let t=Fw(e);for(;Mw(t)&&!Bw(t);){if(zw(t))return t;if(Rw(t))return null;t=Fw(t)}return null}(e)||n}const Wx={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=kw(r),a=!!t&&Rw(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Xw(1);const d=Xw(0),u=Mw(r);if((u||!u&&!i)&&(("body"!==xw(r)||Ow(s))&&(l=jw(r)),Mw(r))){const e=Px(r);c=Nx(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}const h=!s||u||i?Xw(0):zx(s,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:kw,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?Rw(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Ww(e,[],!1).filter((e=>Sw(e)&&"body"!==xw(e))),o=null;const i="fixed"===_w(e).position;let s=i?Fw(e):e;for(;Sw(s)&&!Bw(s);){const t=_w(s),n=zw(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&Vx.has(o.position)||Ow(s)&&!n&&Bx(e,s))?r=r.filter((e=>e!==s)):o=t,s=Fw(s)}return t.set(e,r),r}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce(((e,n)=>{const r=Hx(t,n,o);return e.top=Gw(r.top,e.top),e.right=Kw(r.right,e.right),e.bottom=Kw(r.bottom,e.bottom),e.left=Gw(r.left,e.left),e}),Hx(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:qx,getElementRects:async function(e){const t=this.getOffsetParent||qx,n=this.getDimensions,r=await n(e.floating);return{reference:_x(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Lx(e);return{width:t,height:n}},getScale:Nx,isElement:Sw,isRTL:function(e){return"rtl"===_w(e).direction}};function Ux(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Kx(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ax(e),d=o||i?[...c?Ww(c):[],...Ww(t)]:[];d.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const u=c&&a?function(e,t){let n,r=null;const o=kw(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:d,top:u,width:h,height:p}=c;if(a||t(),!h||!p)return;const f={rootMargin:-Jw(u)+"px "+-Jw(o.clientWidth-(d+h))+"px "+-Jw(o.clientHeight-(u+p))+"px "+-Jw(d)+"px",threshold:Gw(0,Kw(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return s();r?s(!1,r):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==r||Ux(c,e.getBoundingClientRect())||s(),m=!1}try{r=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,f)}r.observe(e)}(!0),i}(c,n):null;let h,p=-1,f=null;s&&(f=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()})),c&&!l&&f.observe(c),f.observe(t));let m=l?Px(e):null;return l&&function t(){const r=Px(e);m&&!Ux(m,r)&&n();m=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==u||u(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const Gx=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=nx(n),a=rx(n),l="y"===ax(n),c=Ox.has(s)?-1:1,d=i&&l?-1:1,u=tx(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof f&&(p="end"===a?-1*f:f),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Zx=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=tx(e,t),c={x:n,y:r},d=await Tx(t,l),u=ax(nx(o)),h=ox(u);let p=c[h],f=c[u];if(i){const e="y"===h?"bottom":"right";p=ex(p+d["y"===h?"top":"left"],p,p-d[e])}if(s){const e="y"===u?"bottom":"right";f=ex(f+d["y"===u?"top":"left"],f,f-d[e])}const m=a.fn({...t,[h]:p,[u]:f});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:i,[u]:s}}}}}},Jx=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=tx(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=nx(o),v=ax(a),y=nx(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(y||!m?[mx(a)]:function(e){const t=mx(e);return[cx(e),t,cx(t)]}(a)),C="none"!==f;!h&&C&&x.push(...fx(a,m,f,w));const k=[a,...x],$=await Tx(t,g),S=[];let M=(null==(r=i.flip)?void 0:r.overflows)||[];if(d&&S.push($[b]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=rx(e),o=lx(e),i=ix(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=mx(s)),[s,mx(s)]}(o,s,w);S.push($[e[0]],$[e[1]])}if(M=[...M,{placement:o,overflows:S}],!S.every((e=>e<=0))){var E,T;const e=((null==(E=i.flip)?void 0:E.index)||0)+1,t=k[e];if(t){if(!("alignment"===u&&v!==ax(t))||M.every((e=>ax(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:t}}}let n=null==(T=M.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(p){case"bestFit":{var O;const e=null==(O=M.filter((e=>{if(C){const t=ax(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Xx=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=tx(e,t)||{};if(null==c)return{};const u=gx(d),h={x:n,y:r},p=lx(o),f=ix(p),m=await s.getDimensions(c),g="y"===p,b=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[p]-h[p]-i.floating[f],x=h[p]-i.reference[p],C=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let k=C?C[y]:0;k&&await(null==s.isElement?void 0:s.isElement(C))||(k=a.floating[y]||i.floating[f]);const $=w/2-x/2,S=k/2-m[f]/2-1,M=Kw(u[b],S),E=Kw(u[v],S),T=M,O=k-m[f]-E,L=k/2-m[f]/2+$,A=ex(T,L,O),N=!l.arrow&&null!=rx(o)&&L!==A&&i.reference[f]/2-(L<T?M:E)-m[f]/2<0,R=N?L<T?L-T:L-O:0;return{[p]:h[p]+R,data:{[p]:A,centerOffset:L-A-R,...N&&{alignmentOffset:R}},reset:N}}}),Yx=(e,t,n)=>{const r=new Map,o={platform:Wx,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=Ex(c,r,l),h=r,p={},f=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y:b,data:v,reset:y}=await m({x:d,y:u,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=b?b:u,p={...p,[i]:{...p[i],...v}},y&&f<=50&&(f++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:d,y:u}=Ex(c,h,l))),n=-1)}return{x:d,y:u,placement:h,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var Qx="undefined"!=typeof document?de:function(){};function eC(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!eC(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eC(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function tC(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nC(e,t){const n=tC(e);return Math.round(t*n)/n}function rC(e){const t=ee.useRef(e);return Qx((()=>{t.current=e})),t}const oC=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Xx({element:n.current,padding:r}).fn(t):{}:n?Xx({element:n,padding:r}).fn(t):{};var o}}),iC=(e,t)=>({...Gx(e),options:[e,t]}),sC=(e,t)=>({...Zx(e),options:[e,t]}),aC=(e,t)=>({...oC(e),options:[e,t]}),lC="data-floating-ui-focusable",cC="active",dC="selected",uC={...ee};let hC=!1,pC=0;const fC=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+pC++;const mC=uC.useId||function(){const[e,t]=ee.useState((()=>hC?fC():void 0));return $x((()=>{null==e&&t(fC())}),[]),ee.useEffect((()=>{hC=!0}),[]),e};let gC;"production"!==process.env.NODE_ENV&&(gC=new Set);const bC=ee.createContext(null),vC=ee.createContext(null),yC=()=>{var e;return(null==(e=ee.useContext(bC))?void 0:e.id)||null},wC=()=>ee.useContext(vC);const xC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},CC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},kC=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function $C(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=mC(),i=ee.useRef({}),[s]=ee.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}())),a=null!=yC();if("production"!==process.env.NODE_ENV){const e=r.reference;e&&!Sw(e)&&function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");var i;null!=(e=gC)&&e.has(o)||(null==(i=gC)||i.add(o),console.error(o))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,c]=ee.useState(r.reference),d=Mx(((e,t,r)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)})),u=ee.useMemo((()=>({setPositionReference:c})),[]),h=ee.useMemo((()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference})),[l,r.reference,r.floating]);return ee.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:h,events:s,floatingId:o,refs:u})),[t,d,h,s,o,u])}function SC(e){void 0===e&&(e={});const{nodeId:t}=e,n=$C({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,s]=ee.useState(null),[a,l]=ee.useState(null),c=(null==o?void 0:o.domReference)||i,d=ee.useRef(null),u=wC();$x((()=>{c&&(d.current=c)}),[c]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,u]=ee.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=ee.useState(r);eC(h,r)||p(r);const[f,m]=ee.useState(null),[g,b]=ee.useState(null),v=ee.useCallback((e=>{e!==C.current&&(C.current=e,m(e))}),[]),y=ee.useCallback((e=>{e!==k.current&&(k.current=e,b(e))}),[]),w=i||f,x=s||g,C=ee.useRef(null),k=ee.useRef(null),$=ee.useRef(d),S=null!=l,M=rC(l),E=rC(o),T=rC(c),O=ee.useCallback((()=>{if(!C.current||!k.current)return;const e={placement:t,strategy:n,middleware:h};E.current&&(e.platform=E.current),Yx(C.current,k.current,e).then((e=>{const t={...e,isPositioned:!1!==T.current};L.current&&!eC($.current,t)&&($.current=t,we.flushSync((()=>{u(t)})))}))}),[h,t,n,E,T]);Qx((()=>{!1===c&&$.current.isPositioned&&($.current.isPositioned=!1,u((e=>({...e,isPositioned:!1}))))}),[c]);const L=ee.useRef(!1);Qx((()=>(L.current=!0,()=>{L.current=!1})),[]),Qx((()=>{if(w&&(C.current=w),x&&(k.current=x),w&&x){if(M.current)return M.current(w,x,O);O()}}),[w,x,O,M,S]);const A=ee.useMemo((()=>({reference:C,floating:k,setReference:v,setFloating:y})),[v,y]),N=ee.useMemo((()=>({reference:w,floating:x})),[w,x]),R=ee.useMemo((()=>{const e={position:n,left:0,top:0};if(!N.floating)return e;const t=nC(N.floating,d.x),r=nC(N.floating,d.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...tC(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,a,N.floating,d.x,d.y]);return ee.useMemo((()=>({...d,update:O,refs:A,elements:N,floatingStyles:R})),[d,O,A,N,R])}({...e,elements:{...o,...a&&{reference:a}}}),p=ee.useCallback((e=>{const t=Sw(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),h.refs.setReference(t)}),[h.refs]),f=ee.useCallback((e=>{(Sw(e)||null===e)&&(d.current=e,s(e)),(Sw(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!Sw(e))&&h.refs.setReference(e)}),[h.refs]),m=ee.useMemo((()=>({...h.refs,setReference:f,setPositionReference:p,domReference:d})),[h.refs,f,p]),g=ee.useMemo((()=>({...h.elements,domReference:c})),[h.elements,c]),b=ee.useMemo((()=>({...h,...r,refs:m,elements:g,nodeId:t})),[h,m,g,t,r]);return $x((()=>{r.dataRef.current.floatingContext=b;const e=null==u?void 0:u.nodesRef.current.find((e=>e.id===t));e&&(e.context=b)})),ee.useMemo((()=>({...h,context:b,refs:m,elements:g})),[h,m,g,b])}function MC(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[cC]:t,[dC]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[lC]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var s;o&&[cC,dC].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(s=r.get(n))||s.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}const EC=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function TC(e,t){var n,r;void 0===t&&(t={});const{open:o,elements:i,floatingId:s}=e,{enabled:a=!0,role:l="dialog"}=t,c=mC(),d=(null==(n=i.domReference)?void 0:n.id)||c,u=ee.useMemo((()=>{var e,t;return(null==(e=(t=i.floating)?t.hasAttribute(vx)?t:t.querySelector("["+vx+"]")||t:null)?void 0:e.id)||s}),[i.floating,s]),h=null!=(r=EC.get(l))?r:l,p=null!=yC(),f=ee.useMemo((()=>"tooltip"===h||"label"===l?{["aria-"+("label"===l?"labelledby":"describedby")]:o?u:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":"alertdialog"===h?"dialog":h,"aria-controls":o?u:void 0,..."listbox"===h&&{role:"combobox"},..."menu"===h&&{id:d},..."menu"===h&&p&&{role:"menuitem"},..."select"===l&&{"aria-autocomplete":"none"},..."combobox"===l&&{"aria-autocomplete":"list"}}),[h,u,p,o,d,l]),m=ee.useMemo((()=>{const e={id:u,...h&&{role:h}};return"tooltip"===h||"label"===l?e:{...e,..."menu"===h&&{"aria-labelledby":d}}}),[h,u,d,l]),g=ee.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:u+"-fui-option"}};switch(l){case"select":case"combobox":return{...r,"aria-selected":n}}return{}}),[u,l]);return ee.useMemo((()=>a?{reference:f,floating:m,item:g}:{}),[a,f,m,g])}const OC=e=>Ie("neutral","dark"===e?900:300),LC=e=>ke`
2212
2214
  height: auto;
2213
2215
  max-height: 32rem;
2214
2216
  width: 100%;
@@ -2216,7 +2218,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2216
2218
  position: absolute;
2217
2219
  z-index: 1000;
2218
2220
  background-color: ${(e=>Ie("neutral","dark"===e?800:100))(e)};
2219
- border: ${_e(100)} solid ${TC(e)};
2221
+ border: ${_e(100)} solid ${OC(e)};
2220
2222
  border-radius: ${Be(300)};
2221
2223
  box-shadow:
2222
2224
  0 0.25rem 0.375rem -0.25rem #0000001a,
@@ -2254,19 +2256,19 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2254
2256
  }
2255
2257
  }
2256
2258
  `}
2257
- `,LC=e=>ke`
2259
+ `,AC=e=>ke`
2258
2260
  display: flex;
2259
2261
  align-items: flex-start;
2260
2262
  justify-content: space-between;
2261
2263
  gap: ${Ve(300)};
2262
2264
  padding: ${Ve(200)} ${Ve(300)};
2263
- border-bottom: ${_e(100)} solid ${TC(e)};
2265
+ border-bottom: ${_e(100)} solid ${OC(e)};
2264
2266
  min-height: ${Ve(1e3)};
2265
2267
 
2266
2268
  .ds-map-pop-up-close-button {
2267
2269
  margin-top: ${Ve(100)};
2268
2270
  }
2269
- `,AC=ke`
2271
+ `,NC=ke`
2270
2272
  height: 100%;
2271
2273
  max-height: 25rem;
2272
2274
  overflow-y: auto;
@@ -2274,11 +2276,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2274
2276
  &:focus-visible {
2275
2277
  outline-color: ${Ie("primary",700)};
2276
2278
  }
2277
- `,NC=e=>ke`
2279
+ `,RC=e=>ke`
2278
2280
  padding: ${Ve(200)} ${Ve(300)};
2279
- border-top: ${_e(100)} solid ${TC(e)};
2281
+ border-top: ${_e(100)} solid ${OC(e)};
2280
2282
  min-height: 2.75rem;
2281
- `,RC=(e,t,n,r,o,i,s)=>ke`
2283
+ `,DC=(e,t,n,r,o,i,s)=>ke`
2282
2284
  height: ${e}px;
2283
2285
  width: ${t}px;
2284
2286
  position: absolute;
@@ -2286,27 +2288,27 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2286
2288
  top: ${null!=r?`${r}px`:""};
2287
2289
  ${`${o}: -${i-1}px`};
2288
2290
  background-color: ${Ie("neutral","dark"===s?900:100)};
2289
- border: ${_e(100)} solid ${TC(s)};
2290
- `,DC=({open:e,onOpenChange:t,anchorRef:n,header:r,content:o,footer:i,placement:s="bottom",variant:a="default",offset:l=30,closeOnEscape:c=!0,closeOnOutsideClick:d=!1,labels:u})=>{const h=tg("MapPopUp",u),p=se(null),{refs:f,floatingStyles:m,context:g,middlewareData:b,placement:v}=$C({open:e,onOpenChange:t,placement:s,whileElementsMounted:Ux,middleware:[oC(l),(y={fallbackAxisSideDirection:"start"},{...Zx(y),options:[y,w]}),iC({padding:8}),sC({element:p})]});var y,w;const x=n?.current??null;te.useEffect((()=>{x&&f.setReference(x)}),[x]);const C=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=e,{enabled:s=!0,escapeKey:a=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:d=!1,referencePressEvent:u="pointerdown",ancestorScroll:h=!1,bubbles:p,capture:f}=t,m=yC(),g=Sx("function"==typeof l?l:()=>!1),b="function"==typeof l?g:l,v=ee.useRef(!1),{escapeKey:y,outsidePress:w}=CC(p),{escapeKey:x,outsidePress:C}=CC(f),k=ee.useRef(!1),$=Sx((e=>{var t;if(!n||!s||!a||"Escape"!==e.key)return;if(k.current)return;const o=null==(t=i.current.floatingContext)?void 0:t.nodeId,l=m?Cx(m.nodesRef.current,o):[];if(!y&&(e.stopPropagation(),l.length>0)){let e=!0;if(l.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),S=Sx((e=>{var t;const n=()=>{var t;$(e),null==(t=yx(e))||t.removeEventListener("keydown",n)};null==(t=yx(e))||t.addEventListener("keydown",n)})),M=Sx((e=>{var t;const n=i.current.insideReactTree;i.current.insideReactTree=!1;const s=v.current;if(v.current=!1,"click"===c&&s)return;if(n)return;if("function"==typeof b&&!b(e))return;const a=yx(e),l="[data-floating-ui-inert]",d=xx(o.floating).querySelectorAll(l);let u=$w(a)?a:null;for(;u&&!Hw(u);){const e=jw(u);if(Hw(e)||!$w(e))break;u=e}if(d.length&&$w(a)&&!a.matches("html,body")&&!vx(a,o.floating)&&Array.from(d).every((e=>!vx(u,e))))return;if(Sw(a)&&O){const t=Hw(a),n=Bw(a),r=/auto|scroll/,o=t||r.test(n.overflowX),i=t||r.test(n.overflowY),s=o&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,l=i&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,c="rtl"===n.direction,d=l&&(c?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),u=s&&e.offsetY>a.clientHeight;if(d||u)return}const h=null==(t=i.current.floatingContext)?void 0:t.nodeId,p=m&&Cx(m.nodesRef.current,h).some((t=>{var n;return wx(e,null==(n=t.context)?void 0:n.elements.floating)}));if(wx(e,o.floating)||wx(e,o.domReference)||p)return;const f=m?Cx(m.nodesRef.current,h):[];if(f.length>0){let e=!0;if(f.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),E=Sx((e=>{var t;const n=()=>{var t;M(e),null==(t=yx(e))||t.removeEventListener(c,n)};null==(t=yx(e))||t.addEventListener(c,n)}));ee.useEffect((()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=y,i.current.__outsidePressBubbles=w;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function l(){window.clearTimeout(e),k.current=!0}function d(){e=window.setTimeout((()=>{k.current=!1}),zw()?5:0)}const u=xx(o.floating);a&&(u.addEventListener("keydown",x?S:$,x),u.addEventListener("compositionstart",l),u.addEventListener("compositionend",d)),b&&u.addEventListener(c,C?E:M,C);let p=[];return h&&($w(o.domReference)&&(p=qw(o.domReference)),$w(o.floating)&&(p=p.concat(qw(o.floating))),!$w(o.reference)&&o.reference&&o.reference.contextElement&&(p=p.concat(qw(o.reference.contextElement)))),p=p.filter((e=>{var t;return e!==(null==(t=u.defaultView)?void 0:t.visualViewport)})),p.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{a&&(u.removeEventListener("keydown",x?S:$,x),u.removeEventListener("compositionstart",l),u.removeEventListener("compositionend",d)),b&&u.removeEventListener(c,C?E:M,C),p.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[i,o,a,b,c,n,r,h,s,y,w,$,x,S,M,C,E]),ee.useEffect((()=>{i.current.insideReactTree=!1}),[i,b,c]);const T=ee.useMemo((()=>({onKeyDown:$,...d&&{[wC[u]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==u&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}})),[$,r,d,u]),O=ee.useMemo((()=>({onKeyDown:$,onMouseDown(){v.current=!0},onMouseUp(){v.current=!0},[xC[c]]:()=>{i.current.insideReactTree=!0}})),[$,c,i]);return ee.useMemo((()=>s?{reference:T,floating:O}:{}),[s,T,O])}(g,{escapeKey:c,outsidePress:d}),k=EC(g,{role:"dialog"}),{getFloatingProps:$}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),o=ee.useCallback((t=>SC(t,e,"reference")),t),i=ee.useCallback((t=>SC(t,e,"floating")),n),s=ee.useCallback((t=>SC(t,e,"item")),r);return ee.useMemo((()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:s})),[o,i,s])}([C,k]),{x:S,y:M}=b.arrow??{x:null,y:null},E={top:"bottom",right:"left",bottom:"top",left:"right"}[v.split("-")[0]];if(!e)return null;let T=l-1,O=4;return"left"!==E&&"right"!==E||(T=4,O=l-1),be(ye,{children:[be("div",{ref:f.setFloating,style:m,"aria-label":h.dialogAriaLabel,"aria-modal":!0,...$(),css:OC(a),children:[be("div",{css:LC(a),children:[r,ve(jb,{onClick:()=>t(!1),className:"ds-map-pop-up-close-button","aria-label":h.closeLabel})]}),ve("div",{css:AC,children:o}),i?ve("div",{css:NC(a),children:i}):null,ve("div",{ref:p,css:RC(T,O,S,M,E,l,a)})]}),ve("div",{className:"fixed inset-0 z-[999] bg-black/20 backdrop-blur-[1px]",onClick:()=>d&&t(!1)})]})},PC=ke`
2291
+ border: ${_e(100)} solid ${OC(s)};
2292
+ `,PC=({open:e,onOpenChange:t,anchorRef:n,header:r,content:o,footer:i,placement:s="bottom",variant:a="default",offset:l=30,closeOnEscape:c=!0,closeOnOutsideClick:d=!1,labels:u})=>{const h=tg("MapPopUp",u),p=se(null),{refs:f,floatingStyles:m,context:g,middlewareData:b,placement:v}=SC({open:e,onOpenChange:t,placement:s,whileElementsMounted:Kx,middleware:[iC(l),(y={fallbackAxisSideDirection:"start"},{...Jx(y),options:[y,w]}),sC({padding:8}),aC({element:p})]});var y,w;const x=n?.current??null;te.useEffect((()=>{x&&f.setReference(x)}),[x]);const C=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=e,{enabled:s=!0,escapeKey:a=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:d=!1,referencePressEvent:u="pointerdown",ancestorScroll:h=!1,bubbles:p,capture:f}=t,m=wC(),g=Mx("function"==typeof l?l:()=>!1),b="function"==typeof l?g:l,v=ee.useRef(!1),{escapeKey:y,outsidePress:w}=kC(p),{escapeKey:x,outsidePress:C}=kC(f),k=ee.useRef(!1),$=Mx((e=>{var t;if(!n||!s||!a||"Escape"!==e.key)return;if(k.current)return;const o=null==(t=i.current.floatingContext)?void 0:t.nodeId,l=m?kx(m.nodesRef.current,o):[];if(!y&&(e.stopPropagation(),l.length>0)){let e=!0;if(l.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),S=Mx((e=>{var t;const n=()=>{var t;$(e),null==(t=wx(e))||t.removeEventListener("keydown",n)};null==(t=wx(e))||t.addEventListener("keydown",n)})),M=Mx((e=>{var t;const n=i.current.insideReactTree;i.current.insideReactTree=!1;const s=v.current;if(v.current=!1,"click"===c&&s)return;if(n)return;if("function"==typeof b&&!b(e))return;const a=wx(e),l="[data-floating-ui-inert]",d=Cx(o.floating).querySelectorAll(l);let u=Sw(a)?a:null;for(;u&&!Bw(u);){const e=Fw(u);if(Bw(e)||!Sw(e))break;u=e}if(d.length&&Sw(a)&&!a.matches("html,body")&&!yx(a,o.floating)&&Array.from(d).every((e=>!yx(u,e))))return;if(Mw(a)&&O){const t=Bw(a),n=_w(a),r=/auto|scroll/,o=t||r.test(n.overflowX),i=t||r.test(n.overflowY),s=o&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,l=i&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,c="rtl"===n.direction,d=l&&(c?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),u=s&&e.offsetY>a.clientHeight;if(d||u)return}const h=null==(t=i.current.floatingContext)?void 0:t.nodeId,p=m&&kx(m.nodesRef.current,h).some((t=>{var n;return xx(e,null==(n=t.context)?void 0:n.elements.floating)}));if(xx(e,o.floating)||xx(e,o.domReference)||p)return;const f=m?kx(m.nodesRef.current,h):[];if(f.length>0){let e=!0;if(f.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),E=Mx((e=>{var t;const n=()=>{var t;M(e),null==(t=wx(e))||t.removeEventListener(c,n)};null==(t=wx(e))||t.addEventListener(c,n)}));ee.useEffect((()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=y,i.current.__outsidePressBubbles=w;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function l(){window.clearTimeout(e),k.current=!0}function d(){e=window.setTimeout((()=>{k.current=!1}),Vw()?5:0)}const u=Cx(o.floating);a&&(u.addEventListener("keydown",x?S:$,x),u.addEventListener("compositionstart",l),u.addEventListener("compositionend",d)),b&&u.addEventListener(c,C?E:M,C);let p=[];return h&&(Sw(o.domReference)&&(p=Ww(o.domReference)),Sw(o.floating)&&(p=p.concat(Ww(o.floating))),!Sw(o.reference)&&o.reference&&o.reference.contextElement&&(p=p.concat(Ww(o.reference.contextElement)))),p=p.filter((e=>{var t;return e!==(null==(t=u.defaultView)?void 0:t.visualViewport)})),p.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{a&&(u.removeEventListener("keydown",x?S:$,x),u.removeEventListener("compositionstart",l),u.removeEventListener("compositionend",d)),b&&u.removeEventListener(c,C?E:M,C),p.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[i,o,a,b,c,n,r,h,s,y,w,$,x,S,M,C,E]),ee.useEffect((()=>{i.current.insideReactTree=!1}),[i,b,c]);const T=ee.useMemo((()=>({onKeyDown:$,...d&&{[xC[u]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==u&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}})),[$,r,d,u]),O=ee.useMemo((()=>({onKeyDown:$,onMouseDown(){v.current=!0},onMouseUp(){v.current=!0},[CC[c]]:()=>{i.current.insideReactTree=!0}})),[$,c,i]);return ee.useMemo((()=>s?{reference:T,floating:O}:{}),[s,T,O])}(g,{escapeKey:c,outsidePress:d}),k=TC(g,{role:"dialog"}),{getFloatingProps:$}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),o=ee.useCallback((t=>MC(t,e,"reference")),t),i=ee.useCallback((t=>MC(t,e,"floating")),n),s=ee.useCallback((t=>MC(t,e,"item")),r);return ee.useMemo((()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:s})),[o,i,s])}([C,k]),{x:S,y:M}=b.arrow??{x:null,y:null},E={top:"bottom",right:"left",bottom:"top",left:"right"}[v.split("-")[0]];if(!e)return null;let T=l-1,O=4;return"left"!==E&&"right"!==E||(T=4,O=l-1),be(ye,{children:[be("div",{ref:f.setFloating,style:m,"aria-label":h.dialogAriaLabel,"aria-modal":!0,...$(),css:LC(a),children:[be("div",{css:AC(a),children:[r,ve(Fb,{onClick:()=>t(!1),className:"ds-map-pop-up-close-button","aria-label":h.closeLabel})]}),ve("div",{css:NC,children:o}),i?ve("div",{css:RC(a),children:i}):null,ve("div",{ref:p,css:DC(T,O,S,M,E,l,a)})]}),ve("div",{className:"fixed inset-0 z-[999] bg-black/20 backdrop-blur-[1px]",onClick:()=>d&&t(!1)})]})},IC=ke`
2291
2293
  display: flex;
2292
2294
  flex-direction: column;
2293
2295
  gap: ${Ve(200)};
2294
- `,IC=ke`
2296
+ `,zC=ke`
2295
2297
  display: flex;
2296
2298
  align-items: center;
2297
2299
  justify-content: space-between;
2298
2300
  gap: ${Ve(200)};
2299
- `,zC=ke`
2301
+ `,VC=ke`
2300
2302
  display: flex;
2301
2303
  align-items: center;
2302
2304
  gap: ${Ve(100)};
2303
- `,VC=e=>ke`
2305
+ `,HC=e=>ke`
2304
2306
  font-size: ${ze(300)};
2305
2307
  line-height: ${He(500)};
2306
2308
  font-weight: 400;
2307
2309
  color: ${Ie("neutral",e?100:800)};
2308
2310
  padding: 0 ${Ve(100)};
2309
- `,HC=e=>ke`
2311
+ `,BC=e=>ke`
2310
2312
  background-color: transparent;
2311
2313
  color: ${Ie("neutral",500)};
2312
2314
 
@@ -2331,11 +2333,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2331
2333
  }
2332
2334
  }
2333
2335
  }
2334
- `,BC=e=>ke`
2336
+ `,_C=e=>ke`
2335
2337
  color: ${Ie("neutral",e?100:800)};
2336
- `,_C=({open:e,onOpenChange:t,steps:n,activeStepIndex:r,onStepChange:o,onFinish:i,onSkip:s,variant:a="dark",closeOnEscape:l=!0,closeOnOutsideClick:c=!1,labels:d})=>{const u=tg("GuidedTour",d),h=n.length,p=n[r];if(!e||!p||0===h)return null;const f=0===r,m=r===h-1,g="dark"===a,b=()=>{i?i():t(!1)},v=be("div",{children:[be("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.25rem"},children:[p.icon,ve("p",{style:{fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"bold",marginBottom:p.caption?"0.25rem":0,color:Ie("neutral",g?100:800)},children:p.title})]}),p.caption?ve("p",{style:{fontSize:"0.875rem",lineHeight:"1.25rem",color:Ie("neutral",g?200:700)},children:p.caption}):null]}),y=be("div",{css:PC,children:[be("div",{css:IC,children:[be("div",{css:zC,children:[ve(og,{css:HC(g),icon:ve(hg,{}),"aria-label":u.previousStepLabel,disabled:f,onClick:()=>o(r-1)}),ve("p",{css:VC(g),children:u.stepCounterLabel(r+1,h)}),ve(og,{css:[HC(g),ke`
2338
+ `,jC=({open:e,onOpenChange:t,steps:n,activeStepIndex:r,onStepChange:o,onFinish:i,onSkip:s,variant:a="dark",closeOnEscape:l=!0,closeOnOutsideClick:c=!1,labels:d})=>{const u=tg("GuidedTour",d),h=n.length,p=n[r];if(!e||!p||0===h)return null;const f=0===r,m=r===h-1,g="dark"===a,b=()=>{i?i():t(!1)},v=be("div",{children:[be("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.25rem"},children:[p.icon,ve("p",{style:{fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"bold",marginBottom:p.caption?"0.25rem":0,color:Ie("neutral",g?100:800)},children:p.title})]}),p.caption?ve("p",{style:{fontSize:"0.875rem",lineHeight:"1.25rem",color:Ie("neutral",g?200:700)},children:p.caption}):null]}),y=be("div",{css:IC,children:[be("div",{css:zC,children:[be("div",{css:VC,children:[ve(og,{css:BC(g),icon:ve(hg,{}),"aria-label":u.previousStepLabel,disabled:f,onClick:()=>o(r-1)}),ve("p",{css:HC(g),children:u.stepCounterLabel(r+1,h)}),ve(og,{css:[BC(g),ke`
2337
2339
  color: ${Ie("primary",600)};
2338
- `],icon:ve(ug,{}),"aria-label":m?u.finishLabel:u.nextStepLabel,onClick:m?b:()=>o(r+1)})]}),ve(ng,m?{variant:"primary",size:"small",label:u.startExploringLabel,onClick:b}:{css:BC(g),variant:"borderless",size:"small",label:u.skipAllLabel,onClick:()=>{s?s():t(!1)}})]}),p.footer]});return ve(DC,{open:e,onOpenChange:t,anchorRef:p.anchorRef,placement:p.placement,offset:p.offset,variant:a,closeOnEscape:l,closeOnOutsideClick:c,header:v,content:p.content,footer:y,labels:p.labels})},jC=(e,t)=>ke`
2340
+ `],icon:ve(ug,{}),"aria-label":m?u.finishLabel:u.nextStepLabel,onClick:m?b:()=>o(r+1)})]}),ve(ng,m?{variant:"primary",size:"small",label:u.startExploringLabel,onClick:b}:{css:_C(g),variant:"borderless",size:"small",label:u.skipAllLabel,onClick:()=>{s?s():t(!1)}})]}),p.footer]});return ve(PC,{open:e,onOpenChange:t,anchorRef:p.anchorRef,placement:p.placement,offset:p.offset,variant:a,closeOnEscape:l,closeOnOutsideClick:c,header:v,content:p.content,footer:y,labels:p.labels})},FC=(e,t)=>ke`
2339
2341
  height: ${e};
2340
2342
  width: ${t};
2341
2343
  border: ${_e(100)} solid ${Ie("neutral",300)};
@@ -2349,7 +2351,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2349
2351
  height: 100%;
2350
2352
  overflow-y: scroll;
2351
2353
  }
2352
- `,FC=ke`
2354
+ `,qC=ke`
2353
2355
  padding: ${Ve(400)} ${Ve(300)};
2354
2356
  border-bottom: ${_e(100)} solid
2355
2357
  ${Ie("neutral",300)};
@@ -2373,17 +2375,17 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2373
2375
  color: ${Ie("neutral",700)};
2374
2376
  text-align: left;
2375
2377
  }
2376
- `,qC=ke``,WC=ke`
2378
+ `,WC=ke``,UC=ke`
2377
2379
  display: flex;
2378
2380
  flex-direction: column;
2379
2381
  gap: ${Ve(300)};
2380
2382
  padding: ${Ve(300)};
2381
2383
  border-bottom: ${_e(100)} solid
2382
2384
  ${Ie("neutral",300)};
2383
- `,UC=ke`
2385
+ `,KC=ke`
2384
2386
  padding-top: ${Ve(300)};
2385
2387
  padding-left: ${Ve(200)};
2386
- `,KC=ke``,GC=e=>ke`
2388
+ `,GC=ke``,ZC=e=>ke`
2387
2389
  display: flex;
2388
2390
  gap: ${Ve(300)};
2389
2391
  padding: ${Ve(300)} ${Ve(200)};
@@ -2408,7 +2410,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2408
2410
  background-color: ${Ie("primary",100)};
2409
2411
  width: 99.8%;
2410
2412
  }
2411
- `,ZC=ke`
2413
+ `,JC=ke`
2412
2414
  width: 100%;
2413
2415
  max-width: calc(100% - 2.75rem);
2414
2416
 
@@ -2439,7 +2441,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2439
2441
  .ds-base-map-children {
2440
2442
  margin-top: 0.625rem;
2441
2443
  }
2442
- `,JC=({title:e,caption:t,additionalSettings:n,options:r,onOptionSelected:o,maxHeight:i="25rem",maxWidth:s="16.25rem",labels:a})=>{const l=tg("BaseMap",a),c=se(null),d=se(null);return ce((()=>{const e=c.current,t=d.current;if(!e||!t)return;const n=()=>{e.focus()};if("undefined"!=typeof IntersectionObserver){let e=!1;const r=new IntersectionObserver((([t])=>{t?.isIntersecting?(e||n(),e=!0):e=!1}),{threshold:.01});return r.observe(t),()=>r.disconnect()}const r=window.setTimeout(n,0);return()=>window.clearTimeout(r)}),[]),ve("div",{ref:d,css:jC(i,s),children:be("div",{className:"ds-base-map-scroll-content",children:[be("div",{css:FC,children:[ve("h2",{ref:c,className:"ds-base-map-header-title",tabIndex:-1,children:e}),ve("p",{className:"ds-base-map-header-caption",children:t})]}),be("div",{css:qC,children:[n?ve("div",{css:WC,children:n.map((e=>be("div",{children:[ve(Av,{css:{},checked:e.checked,onCheckedChange:({checked:t})=>e.onCheckedChange({checked:Boolean(t)}),children:e.label}),e.checked&&e.children?ve("div",{css:UC,children:e.children}):null]},e.label)))}):null,r?ve("div",{css:KC,children:r.map((e=>{return be("div",{css:GC(e.active),role:"button","aria-label":`${e.label}${e.caption?`, ${e.caption}`:""}`,onClick:()=>o?.(e),tabIndex:0,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),o?.(e))},children:[ve("div",{css:(t=e.imageUrl,ke`
2444
+ `,XC=({title:e,caption:t,additionalSettings:n,options:r,onOptionSelected:o,maxHeight:i="25rem",maxWidth:s="16.25rem",labels:a})=>{const l=tg("BaseMap",a),c=se(null),d=se(null);return ce((()=>{const e=c.current,t=d.current;if(!e||!t)return;const n=()=>{e.focus()};if("undefined"!=typeof IntersectionObserver){let e=!1;const r=new IntersectionObserver((([t])=>{t?.isIntersecting?(e||n(),e=!0):e=!1}),{threshold:.01});return r.observe(t),()=>r.disconnect()}const r=window.setTimeout(n,0);return()=>window.clearTimeout(r)}),[]),ve("div",{ref:d,css:FC(i,s),children:be("div",{className:"ds-base-map-scroll-content",children:[be("div",{css:qC,children:[ve("h2",{ref:c,className:"ds-base-map-header-title",tabIndex:-1,children:e}),ve("p",{className:"ds-base-map-header-caption",children:t})]}),be("div",{css:WC,children:[n?ve("div",{css:UC,children:n.map((e=>be("div",{children:[ve(Nv,{css:{},checked:e.checked,onCheckedChange:({checked:t})=>e.onCheckedChange({checked:Boolean(t)}),children:e.label}),e.checked&&e.children?ve("div",{css:KC,children:e.children}):null]},e.label)))}):null,r?ve("div",{css:GC,children:r.map((e=>{return be("div",{css:ZC(e.active),role:"button","aria-label":`${e.label}${e.caption?`, ${e.caption}`:""}`,onClick:()=>o?.(e),tabIndex:0,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),o?.(e))},children:[ve("div",{css:(t=e.imageUrl,ke`
2443
2445
  height: ${Ve(800)};
2444
2446
  width: ${Ve(800)};
2445
2447
  border: ${_e(100)} solid ${Ie("neutral",300)};
@@ -2447,7 +2449,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2447
2449
  background-image: url(${t});
2448
2450
  background-size: cover;
2449
2451
  background-position: center;
2450
- `)}),be("div",{css:ZC,children:[be("div",{className:"ds-base-map-title-container",children:[ve("p",{className:"ds-base-map-title",children:e.label}),e.active?ve(By,{label:l.activeLabel,variant:"warning",size:"small",icon:ve(ag,{})}):null]}),ve("p",{className:"ds-base-map-caption",children:e.caption}),e.active&&e.children?ve("div",{className:"ds-base-map-children",children:e.children}):null]})]},e.label);var t}))}):null]})]})})},XC=(e,t,n,r,o,i="icon")=>{let s="1rem",a=`${_e(300)} solid ${Ie("neutral",100)}`;if("cluster"===i){const e=1.75,t=6,n=.03125;if(a=`${_e(300)} solid ${Ie("neutral",100)}`,void 0!==o&&o>1){const r=e+(o-1)*n;s=`${Math.min(r,t)}rem`}else s=`${e}rem`}else"simple-pin"===i?(a=`${_e(300)} solid ${Ie("error",500)}`,s="1.5rem"):n&&(s="1.75rem",a=`${_e(200)} solid ${Ie("neutral",100)}`);return ke`
2452
+ `)}),be("div",{css:JC,children:[be("div",{className:"ds-base-map-title-container",children:[ve("p",{className:"ds-base-map-title",children:e.label}),e.active?ve(_y,{label:l.activeLabel,variant:"warning",size:"small",icon:ve(ag,{})}):null]}),ve("p",{className:"ds-base-map-caption",children:e.caption}),e.active&&e.children?ve("div",{className:"ds-base-map-children",children:e.children}):null]})]},e.label);var t}))}):null]})]})})},YC=(e,t,n,r,o,i="icon")=>{let s="1rem",a=`${_e(300)} solid ${Ie("neutral",100)}`;if("cluster"===i){const e=1.75,t=6,n=.03125;if(a=`${_e(300)} solid ${Ie("neutral",100)}`,void 0!==o&&o>1){const r=e+(o-1)*n;s=`${Math.min(r,t)}rem`}else s=`${e}rem`}else"simple-pin"===i?(a=`${_e(300)} solid ${Ie("error",500)}`,s="1.5rem"):n&&(s="1.75rem",a=`${_e(200)} solid ${Ie("neutral",100)}`);return ke`
2451
2453
  text-overflow: ellipsis;
2452
2454
  height: ${s};
2453
2455
  width: ${s};
@@ -2488,22 +2490,22 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2488
2490
  height: 0.875rem;
2489
2491
  width: 0.875rem;
2490
2492
  }
2491
- `},YC=ie((({ariaLabel:e,icon:t,backgroundColor:n,onClick:r,showFocusState:o,count:i,mode:s,variant:a="icon",labels:l},c)=>{const d=tg("MapMarker",l),u=i?(h=i)>=1e8?"99M+":h>=1e6?`${(h/1e6).toFixed(0)}M`:h>=1e5?`${(h/1e3).toFixed(0)}K`:h.toString():void 0;var h;return ve("div",{css:o?ke`
2493
+ `},QC=ie((({ariaLabel:e,icon:t,backgroundColor:n,onClick:r,showFocusState:o,count:i,mode:s,variant:a="icon",labels:l},c)=>{const d=tg("MapMarker",l),u=i?(h=i)>=1e8?"99M+":h>=1e6?`${(h/1e6).toFixed(0)}M`:h>=1e5?`${(h/1e3).toFixed(0)}K`:h.toString():void 0;var h;return ve("div",{css:o?ke`
2492
2494
  outline: ${_e(200)} solid ${Ie("primary",700)};
2493
2495
  outline-offset: ${Ve(50)};
2494
2496
  border-radius: 50%;
2495
2497
  box-shadow:
2496
2498
  0 0 0 0.125rem ${Ie("neutral",100)},
2497
2499
  rgba(0, 0, 0, 0.05) 0 0.125rem 0.125rem 0.25rem;
2498
- `:"",children:be("button",{type:"button",css:XC(n,!!r,!!t,s,i,a),"aria-label":e||(i?d.clusterAriaLabel(i):"simple-pin"===a?d.pinAriaLabel:d.pointAriaLabel),ref:c,onClick:r,children:["cluster"===a&&u,"icon"===a&&t]})})})),QC=({onClick:e,triggerRef:t,showFocusState:n,count:r,mode:o,variant:i="cluster"})=>X(YC,{count:r,mode:o,onClick:e,ref:t,showFocusState:n,variant:i}),ek=({onClick:e,triggerRef:t,showFocusState:n,count:r,mode:o,variant:i="simple-pin"})=>X(YC,{count:r,mode:o,onClick:e,ref:t,showFocusState:n,variant:i}),tk={Paper:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(YC,{ariaLabel:e||"paper icon",icon:X(Lg,{color:"#79022C"}),backgroundColor:"#FFBCD4",onClick:t,ref:n,showFocusState:r}),Drop:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(YC,{ariaLabel:e||"drop icon",icon:X(Ag,{color:"#7D2A03"}),backgroundColor:"#F3A078",onClick:t,ref:n,showFocusState:r}),Plant:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(YC,{ariaLabel:e||"plant icon",icon:X(Ng,{color:"#3B6402"}),backgroundColor:"#B7E578",onClick:t,ref:n,showFocusState:r}),Point:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(YC,{ariaLabel:e||"point icon",backgroundColor:Ie("primary",500),onClick:t,ref:n,showFocusState:r})},nk=ke`
2500
+ `:"",children:be("button",{type:"button",css:YC(n,!!r,!!t,s,i,a),"aria-label":e||(i?d.clusterAriaLabel(i):"simple-pin"===a?d.pinAriaLabel:d.pointAriaLabel),ref:c,onClick:r,children:["cluster"===a&&u,"icon"===a&&t]})})})),ek=({onClick:e,triggerRef:t,showFocusState:n,count:r,mode:o,variant:i="cluster"})=>X(QC,{count:r,mode:o,onClick:e,ref:t,showFocusState:n,variant:i}),tk=({onClick:e,triggerRef:t,showFocusState:n,count:r,mode:o,variant:i="simple-pin"})=>X(QC,{count:r,mode:o,onClick:e,ref:t,showFocusState:n,variant:i}),nk={Paper:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(QC,{ariaLabel:e||"paper icon",icon:X(Lg,{color:"#79022C"}),backgroundColor:"#FFBCD4",onClick:t,ref:n,showFocusState:r}),Drop:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(QC,{ariaLabel:e||"drop icon",icon:X(Ag,{color:"#7D2A03"}),backgroundColor:"#F3A078",onClick:t,ref:n,showFocusState:r}),Plant:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(QC,{ariaLabel:e||"plant icon",icon:X(Ng,{color:"#3B6402"}),backgroundColor:"#B7E578",onClick:t,ref:n,showFocusState:r}),Point:({ariaLabel:e,onClick:t,triggerRef:n,showFocusState:r})=>X(QC,{ariaLabel:e||"point icon",backgroundColor:Ie("primary",500),onClick:t,ref:n,showFocusState:r})},rk=ke`
2499
2501
  background-color: ${Ie("neutral",100)};
2500
- `,rk=ke`
2502
+ `,ok=ke`
2501
2503
  padding: ${Ve(400)} ${Ve(400)} 0
2502
2504
  ${Ve(400)};
2503
2505
  &:focus-visible {
2504
2506
  outline-color: ${Ie("primary",700)};
2505
2507
  }
2506
- `,ok=ke`
2508
+ `,ik=ke`
2507
2509
  font-size: ${ze(400)};
2508
2510
  font-weight: 700;
2509
2511
  line-height: ${He(600)};
@@ -2513,14 +2515,14 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2513
2515
  align-items: center;
2514
2516
  text-align: left;
2515
2517
  gap: 0.625rem;
2516
- `,ik=ke`
2518
+ `,sk=ke`
2517
2519
  font-size: ${ze(200)};
2518
2520
  font-weight: 400;
2519
2521
  line-height: ${He(400)};
2520
2522
  text-align: left;
2521
2523
  color: ${Ie("neutral",700)};
2522
2524
  margin-bottom: ${Ve(200)};
2523
- `,sk=ke`
2525
+ `,ak=ke`
2524
2526
  width: 100%;
2525
2527
  padding: ${Ve(400)} 0;
2526
2528
  border-bottom: ${_e(100)} solid
@@ -2529,32 +2531,32 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2529
2531
  &:last-of-type {
2530
2532
  border-bottom: none;
2531
2533
  }
2532
- `,ak=ke`
2534
+ `,lk=ke`
2533
2535
  display: flex;
2534
2536
  align-items: flex-start;
2535
2537
  justify-content: space-between;
2536
- `,lk=ke`
2538
+ `,ck=ke`
2537
2539
  display: flex;
2538
2540
  flex-direction: column;
2539
- `,ck=e=>ke`
2541
+ `,dk=e=>ke`
2540
2542
  font-size: ${ze(400)};
2541
2543
  font-weight: 400;
2542
2544
  line-height: ${He(600)};
2543
2545
  text-align: left;
2544
2546
  color: ${Ie("neutral",e?500:800)};
2545
- `,dk=e=>ke`
2547
+ `,uk=e=>ke`
2546
2548
  font-size: ${ze(300)};
2547
2549
  font-weight: 400;
2548
2550
  line-height: ${He(500)};
2549
2551
  text-align: left;
2550
2552
  color: ${Ie("neutral",e?500:700)};
2551
- `,uk=({name:e,label:t,caption:n,showInfoButton:o=!0,infoButtonLabel:i,variant:s="switch",disabled:a,onInfoClick:l,isDefaultSelected:c=!1,onChange:d,labels:u})=>{const h=tg("LayerItem",u),p="switch"===s;return be("div",{css:sk,children:[be("div",p?{css:ak,children:[be("div",{css:lk,children:[ve("p",{css:ck(a),"aria-label":t,"aria-disabled":a,children:t}),ve("p",{"aria-label":n,css:dk(a),children:n})]}),ve(hy,{"aria-label":`${t}, ${n}`,name:e,disabled:a,defaultChecked:c,onChange:d})]}:{style:{display:"flex",flexDirection:"column"},children:[ve(Zv,{value:e,disabled:a,fontSize:"1rem",color:"var(--chakra-colors-neutral-800)",children:t}),ve("p",{style:{marginLeft:"1.75rem"},css:dk(a),children:n})]}),o?ve(r,{display:"flex",justifyContent:"flex-start",marginTop:"0.5rem",marginLeft:p?0:"1.75rem",children:ve(ng,{variant:"secondary",label:i??h.aboutDataLabel,rightIcon:ve(cg,{}),size:"small",onClick:l,disabled:a})}):null]})},hk=({label:e,caption:t,value:n,layerItems:o,onChangeForRadioVariant:i,labels:s})=>{const a=tg("LayerGroup",s),[l,c]=ae({}),[d,u]=ae((e=>{const t=e.find((e=>"radio"===e.variant&&e.isDefaultSelected));return t?.name})(o));ce((()=>{let t={...l};o.forEach((n=>{n.isDefaultSelected&&(t={...t,["radio"===n.variant?e:n.name]:n.isDefaultSelected})})),c(t)}),[]);const h=(e,t,n,r)=>{const o={...l,[e]:t};c(o),n&&n(e,t,r)},p=Object.values(l).filter((e=>!0===e)).length,f=a.groupAriaLabel(e,p,t);return be(A.Item,{value:n,width:"100%",children:[be(A.ItemTrigger,{css:rk,alignItems:"flex-start","aria-label":f,children:[be(r,{width:"full",display:"flex",flexDirection:"column",alignItems:"flex-start",children:[be("span",{css:ok,children:[e,ve(By,{label:a.activeTagLabel(p),size:"small",variant:p>0?"success":"info-grey"})]}),ve("div",{css:ik,children:t})]}),ve(A.ItemIndicator,{display:"flex",children:ve(dg,{color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]}),ve(A.ItemContent,{paddingLeft:"1rem",paddingRight:"1rem",children:ve(Jv,{name:e,value:d,customGap:"0",onChange:(e,t)=>{u(t),h(e,!!t,i,t)},children:o.map((e=>ve(uk,{...e,onChange:(t,n)=>h(t,n,e.onChange)},e.label)))})})]})},pk=({children:e,defaultValue:t,...n})=>ve("div",{css:nk,style:{width:"100%"},children:ve(A.Root,{css:{},defaultValue:t,multiple:!0,...n,children:e})}),fk=ke`
2553
+ `,hk=({name:e,label:t,caption:n,showInfoButton:o=!0,infoButtonLabel:i,variant:s="switch",disabled:a,onInfoClick:l,isDefaultSelected:c=!1,onChange:d,labels:u})=>{const h=tg("LayerItem",u),p="switch"===s;return be("div",{css:ak,children:[be("div",p?{css:lk,children:[be("div",{css:ck,children:[ve("p",{css:dk(a),"aria-label":t,"aria-disabled":a,children:t}),ve("p",{"aria-label":n,css:uk(a),children:n})]}),ve(py,{"aria-label":`${t}, ${n}`,name:e,disabled:a,defaultChecked:c,onChange:d})]}:{style:{display:"flex",flexDirection:"column"},children:[ve(Jv,{value:e,disabled:a,fontSize:"1rem",color:"var(--chakra-colors-neutral-800)",children:t}),ve("p",{style:{marginLeft:"1.75rem"},css:uk(a),children:n})]}),o?ve(r,{display:"flex",justifyContent:"flex-start",marginTop:"0.5rem",marginLeft:p?0:"1.75rem",children:ve(ng,{variant:"secondary",label:i??h.aboutDataLabel,rightIcon:ve(cg,{}),size:"small",onClick:l,disabled:a})}):null]})},pk=({label:e,caption:t,value:n,layerItems:o,onChangeForRadioVariant:i,labels:s})=>{const a=tg("LayerGroup",s),[l,c]=ae({}),[d,u]=ae((e=>{const t=e.find((e=>"radio"===e.variant&&e.isDefaultSelected));return t?.name})(o));ce((()=>{let t={...l};o.forEach((n=>{n.isDefaultSelected&&(t={...t,["radio"===n.variant?e:n.name]:n.isDefaultSelected})})),c(t)}),[]);const h=(e,t,n,r)=>{const o={...l,[e]:t};c(o),n&&n(e,t,r)},p=Object.values(l).filter((e=>!0===e)).length,f=a.groupAriaLabel(e,p,t);return be(A.Item,{value:n,width:"100%",children:[be(A.ItemTrigger,{css:ok,alignItems:"flex-start","aria-label":f,children:[be(r,{width:"full",display:"flex",flexDirection:"column",alignItems:"flex-start",children:[be("span",{css:ik,children:[e,ve(_y,{label:a.activeTagLabel(p),size:"small",variant:p>0?"success":"info-grey"})]}),ve("div",{css:sk,children:t})]}),ve(A.ItemIndicator,{display:"flex",children:ve(dg,{color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]}),ve(A.ItemContent,{paddingLeft:"1rem",paddingRight:"1rem",children:ve(Xv,{name:e,value:d,customGap:"0",onChange:(e,t)=>{u(t),h(e,!!t,i,t)},children:o.map((e=>ve(hk,{...e,onChange:(t,n)=>h(t,n,e.onChange)},e.label)))})})]})},fk=({children:e,defaultValue:t,...n})=>ve("div",{css:rk,style:{width:"100%"},children:ve(A.Root,{css:{},defaultValue:t,multiple:!0,...n,children:e})}),mk=ke`
2552
2554
  margin-bottom: ${Ve(400)};
2553
2555
  border: ${_e(100)} solid ${Ie("neutral",300)};
2554
2556
  border-radius: ${Be(300)};
2555
2557
  box-shadow: 0 1px 0.125rem 0 #0000000d;
2556
2558
  background-color: ${Ie("neutral",100)};
2557
- `,mk=ke`
2559
+ `,gk=ke`
2558
2560
  padding: 0.375rem ${Ve(200)};
2559
2561
  align-items: center;
2560
2562
  background-color: ${Ie("neutral",100)};
@@ -2578,12 +2580,12 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2578
2580
  0 0 0 0.125rem ${Ie("neutral",100)},
2579
2581
  rgba(0, 0, 0, 0.05) 0 0.125rem 0.125rem 0.25rem;
2580
2582
  }
2581
- `,gk=ke`
2583
+ `,bk=ke`
2582
2584
  font-size: ${ze(200)};
2583
2585
  font-weight: 700;
2584
2586
  line-height: ${He(400)};
2585
2587
  color: ${Ie("neutral",800)};
2586
- `,bk=ke`
2588
+ `,vk=ke`
2587
2589
  padding: ${Ve(300)} ${Ve(200)};
2588
2590
  display: flex;
2589
2591
  flex-direction: column;
@@ -2600,7 +2602,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2600
2602
  margin-bottom: 0;
2601
2603
  }
2602
2604
  }
2603
- `,vk=({label:e,children:t,openedByDefault:n})=>ve("div",{children:ve(A.Root,{defaultValue:n?[e]:[],multiple:!0,children:be(A.Item,{css:fk,value:e,children:[be(A.ItemTrigger,{css:mk,children:[ve(r,{width:"full",display:"flex",flexDirection:"column",alignItems:"flex-start",children:ve("p",{css:gk,children:e})}),ve(A.ItemIndicator,{display:"flex",children:ve(dg,{color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]}),ve(A.ItemContent,{css:bk,children:pe.map(t,(e=>ve("div",{className:"ds-layer-parameters-item-child",children:e})))})]})})}),yk=ke`
2605
+ `,yk=({label:e,children:t,openedByDefault:n})=>ve("div",{children:ve(A.Root,{defaultValue:n?[e]:[],multiple:!0,children:be(A.Item,{css:mk,value:e,children:[be(A.ItemTrigger,{css:gk,children:[ve(r,{width:"full",display:"flex",flexDirection:"column",alignItems:"flex-start",children:ve("p",{css:bk,children:e})}),ve(A.ItemIndicator,{display:"flex",children:ve(dg,{color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]}),ve(A.ItemContent,{css:vk,children:pe.map(t,(e=>ve("div",{className:"ds-layer-parameters-item-child",children:e})))})]})})}),wk=ke`
2604
2606
  padding: ${Ve(300)};
2605
2607
  padding-bottom: ${Ve(500)};
2606
2608
  display: flex;
@@ -2608,7 +2610,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2608
2610
  border-bottom: ${_e(100)} solid
2609
2611
  ${Ie("neutral",300)};
2610
2612
  background-color: ${Ie("neutral",100)};
2611
- `,wk=ke`
2613
+ `,xk=ke`
2612
2614
  display: flex;
2613
2615
  flex-direction: column;
2614
2616
 
@@ -2617,13 +2619,13 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2617
2619
  fill: ${Ie("neutral",700)} !important;
2618
2620
  }
2619
2621
  }
2620
- `,xk=ke`
2622
+ `,Ck=ke`
2621
2623
  display: flex;
2622
2624
  align-items: flex-start;
2623
2625
  justify-content: space-between;
2624
2626
  gap: ${Ve(300)};
2625
2627
  margin-bottom: ${Ve(400)};
2626
- `,Ck=ke`
2628
+ `,kk=ke`
2627
2629
  display: flex;
2628
2630
  flex-direction: column;
2629
2631
  gap: ${Ve(400)};
@@ -2631,30 +2633,30 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2631
2633
  > :not(:last-child) {
2632
2634
  margin-bottom: 0;
2633
2635
  }
2634
- `,kk=ke`
2636
+ `,$k=ke`
2635
2637
  font-size: ${ze(400)};
2636
2638
  line-height: ${He(600)};
2637
2639
  font-weight: 400;
2638
2640
  text-align: left;
2639
2641
  color: ${Ie("neutral",900)};
2640
- `,$k=ke`
2642
+ `,Sk=ke`
2641
2643
  font-size: ${ze(300)};
2642
2644
  line-height: ${He(500)};
2643
2645
  font-weight: 400;
2644
2646
  text-align: left;
2645
2647
  color: ${Ie("neutral",700)};
2646
- `,Sk=ke`
2648
+ `,Mk=ke`
2647
2649
  display: flex;
2648
2650
  justify-content: space-between;
2649
2651
 
2650
2652
  button {
2651
2653
  width: 46%;
2652
2654
  }
2653
- `,Mk=ke`
2655
+ `,Ek=ke`
2654
2656
  width: 14.625rem;
2655
2657
  border: ${_e(100)} solid ${Ie("neutral",600)};
2656
2658
  border-radius: ${Be(300)};
2657
- `,Ek=ke`
2659
+ `,Tk=ke`
2658
2660
  .ds-opacity-control-trigger {
2659
2661
  &:not(:disabled):not([data-disabled])[data-state='open'],
2660
2662
  &:not(:disabled):not([data-disabled])[aria-expanded='true'],
@@ -2671,18 +2673,19 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2671
2673
  0 0.125rem 0.25rem -0.125rem rgba(0, 0, 0, 0.1);
2672
2674
  }
2673
2675
  }
2674
- `,Tk=ke`
2675
- padding: ${Ve(300)};
2676
2676
  `,Ok=ke`
2677
+ padding: ${Ve(300)};
2678
+ `,Lk=ke`
2677
2679
  font-size: ${ze(300)};
2678
2680
  line-height: ${He(500)};
2679
2681
  font-weight: 400;
2680
2682
  text-align: left;
2681
2683
  color: ${Ie("neutral",900)};
2682
- `,Lk=ke`
2684
+ `,Ak=ke`
2683
2685
  display: flex;
2684
2686
  align-items: center;
2685
- gap: ${Ve(300)};
2687
+ gap: ${Ve(400)};
2688
+ margin-top: 0.375rem;
2686
2689
 
2687
2690
  .ds-text-input-container {
2688
2691
  width: ${Ve(1200)};
@@ -2696,31 +2699,29 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2696
2699
  align-items: center;
2697
2700
  gap: ${Ve(200)};
2698
2701
  align-self: stretch;
2699
- width: ${Ve(1200)};
2702
+ width: ${Ve(1400)};
2700
2703
  box-sizing: border-box;
2701
2704
  }
2702
2705
  }
2703
2706
 
2704
2707
  .chakra-slider__root {
2705
2708
  padding: 0 ${Ve(300)};
2706
- height: 1.875rem;
2707
- margin-top: 1.125rem;
2708
2709
  width: 100%;
2709
2710
  }
2710
- `,Ak=({defaultValue:e,onOpacityChanged:t,labels:n})=>{const r=tg("OpacityControl",n),[o,i]=ae(e);return ve("span",{css:Ek,style:{display:"contents"},children:be(u.Root,{positioning:{placement:"bottom-end"},children:[ve(u.Trigger,{asChild:!0,children:ve(ng,{className:"ds-opacity-control-trigger",label:r.opacityButtonLabel,size:"small",variant:"secondary",leftIcon:ve(cg,{})})}),ve(u.Positioner,{children:ve(u.Content,{css:Mk,children:be(u.Body,{css:Tk,children:[ve("p",{css:Ok,children:r.opacityHeading}),be("div",{css:Lk,children:[be("div",{style:{position:"relative"},children:[ve(Nb,{"aria-label":r.opacityAriaLabel,min:"0",max:"100",value:o,onChange:e=>{const n=e.target.value||"0";let r=parseInt(n,10);r=Number.isNaN(r)?0:r,r=r<0?0:r,r=r>100?100:r,i(r),t&&t(r)},className:"ds-opacity-control-text-input",onClick:e=>e.target.select()}),ve("p",{style:{position:"absolute",top:"50%",right:"0.3125rem",transform:"translateY(-50%)",margin:0},children:r.percentSuffix})]}),ve(dy,{min:0,max:100,value:[o],onValueChangeEnd:({value:e})=>{i(e[0]),t&&t(e[0])}})]})]})})})]})})},Nk=({layerName:e,dataUnit:t,onDrag:n,onUpClick:r,onDownClick:o,onRemoveClick:i,children:s,onInfoClick:a,onOpacityChanged:l,labels:c})=>{const d=tg("LegendItem",c);return be("div",{css:yk,children:[ve("div",{css:wk,children:be("div",{style:{display:"flex",flexDirection:"column",gap:"0.75rem"},children:[ve(og,{icon:ve(dg,{rotate:"180"}),"aria-label":d.upLabel,onClick:r}),ve(og,{icon:ve(dg,{}),"aria-label":d.downLabel,onClick:o})]})}),be("div",{style:{width:"100%"},children:[be("div",{css:xk,children:[be("div",{children:[ve("h3",{css:kk,children:e}),ve("p",{css:$k,children:t})]}),ve(ng,{label:d.removeLabel,size:"small",variant:"secondary",rightIcon:ve(pg,{}),onClick:i})]}),s?ve("div",{css:Ck,children:s}):null,be("div",{css:Sk,children:[ve(ng,{label:d.aboutDataLabel,size:"small",variant:"secondary",leftIcon:ve(cg,{}),onClick:a}),ve(Ak,{defaultValue:80,onOpacityChanged:l})]})]})]})},Rk=e=>ke`
2711
+ `,Nk=({defaultValue:e,onOpacityChanged:t,labels:n})=>{const r=tg("OpacityControl",n),[o,i]=ae(e);return ve("span",{css:Tk,style:{display:"contents"},children:be(u.Root,{positioning:{placement:"bottom-end"},children:[ve(u.Trigger,{asChild:!0,children:ve(ng,{className:"ds-opacity-control-trigger",label:r.opacityButtonLabel,size:"small",variant:"secondary",leftIcon:ve(Ug,{})})}),ve(u.Positioner,{children:ve(u.Content,{css:Ek,children:be(u.Body,{css:Ok,children:[ve("p",{css:Lk,children:r.opacityHeading}),be("div",{css:Ak,children:[be("div",{style:{position:"relative"},children:[ve(Rb,{"aria-label":r.opacityAriaLabel,min:"0",max:"100",value:o,onChange:e=>{const n=e.target.value||"0";let r=parseInt(n,10);r=Number.isNaN(r)?0:r,r=r<0?0:r,r=r>100?100:r,i(r),t&&t(r)},className:"ds-opacity-control-text-input",onClick:e=>e.target.select()}),ve("p",{style:{position:"absolute",top:"50%",right:"0.125rem",transform:"translateY(-50%)",margin:0},children:r.percentSuffix})]}),ve(uy,{min:0,max:100,value:[o],onValueChangeEnd:({value:e})=>{i(e[0]),t&&t(e[0])}})]})]})})})]})})},Rk=({layerName:e,dataUnit:t,onDrag:n,onUpClick:r,onDownClick:o,onRemoveClick:i,children:s,onInfoClick:a,onOpacityChanged:l,labels:c})=>{const d=tg("LegendItem",c);return be("div",{css:wk,children:[ve("div",{css:xk,children:be("div",{style:{display:"flex",flexDirection:"column",gap:"0.75rem"},children:[ve(og,{icon:ve(dg,{rotate:"180"}),"aria-label":d.upLabel,onClick:r}),ve(og,{icon:ve(dg,{}),"aria-label":d.downLabel,onClick:o})]})}),be("div",{style:{width:"100%"},children:[be("div",{css:Ck,children:[be("div",{children:[ve("h3",{css:$k,children:e}),ve("p",{css:Sk,children:t})]}),ve(ng,{label:d.removeLabel,size:"small",variant:"secondary",rightIcon:ve(pg,{}),onClick:i})]}),s?ve("div",{css:kk,children:s}):null,be("div",{css:Mk,children:[ve(ng,{label:d.aboutDataLabel,size:"small",variant:"secondary",leftIcon:ve(cg,{}),onClick:a}),ve(Nk,{defaultValue:80,onOpacityChanged:l})]})]})]})},Dk=e=>ke`
2711
2712
  width: ${Ve(500)};
2712
2713
  height: ${Ve(500)};
2713
2714
  border-radius: 50%;
2714
2715
  background-color: ${e};
2715
2716
  border: ${_e(100)} solid ${Ie("neutral",400)};
2716
- `,Dk=e=>ke`
2717
+ `,Pk=e=>ke`
2717
2718
  width: ${Ve(500)};
2718
2719
  height: ${Ve(200)};
2719
2720
  border-radius: ${Be(200)};
2720
2721
  background-color: ${e};
2721
2722
  border: ${_e(100)} solid ${Ie("neutral",400)};
2722
2723
  margin-top: 0.375rem;
2723
- `,Pk=e=>ke`
2724
+ `,Ik=e=>ke`
2724
2725
  width: ${Ve(500)};
2725
2726
  height: ${Ve(500)};
2726
2727
  border-radius: 50%;
@@ -2733,26 +2734,26 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2733
2734
  width: 0.625rem;
2734
2735
  height: 0.625rem;
2735
2736
  }
2736
- `,Ik=ke`
2737
+ `,zk=ke`
2737
2738
  width: 100%;
2738
2739
  display: flex;
2739
2740
  justify-content: space-between;
2740
2741
  gap: ${Ve(200)};
2741
2742
  margin-bottom: ${Ve(400)};
2742
- `,zk=ke`
2743
+ `,Vk=ke`
2743
2744
  display: flex;
2744
2745
  gap: ${Ve(200)};
2745
- `,Vk=ke`
2746
+ `,Hk=ke`
2746
2747
  font-size: ${ze(300)};
2747
2748
  line-height: ${He(500)};
2748
2749
  font-weight: 400;
2749
2750
  color: ${Ie("neutral",800)};
2750
- `,Hk=ke`
2751
+ `,Bk=ke`
2751
2752
  font-size: ${ze(200)};
2752
2753
  line-height: ${He(400)};
2753
2754
  font-weight: 400;
2754
2755
  color: ${Ie("neutral",700)};
2755
- `,Bk=ke`
2756
+ `,_k=ke`
2756
2757
  button {
2757
2758
  height: 1.5625rem;
2758
2759
  font-size: ${ze(200)};
@@ -2761,12 +2762,12 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2761
2762
  color: ${Ie("neutral",600)};
2762
2763
  padding: 0 0.625rem;
2763
2764
  }
2764
- `,_k=({type:e,label:t,caption:n,color:r,onActionClick:o,showActionButton:i,pointIcon:s=ve(Og,{color:"#006D2C"}),ariaLabelType:a="",labels:l})=>{const c=tg("QualitativeAttribute",l),[d,u]=ae(!0),h=he(),p=he(),f="raster"===e,m="line"===e,g="point"===e,b=he(),v=oe((()=>{const e=d?c.visibleText:c.hiddenText;let r=a??`${a},`;return m&&(r=c.linePrefix),c.currentlyTemplate(String(t),n,r,e)}),[d,e,t,n,a,c]),y=d?c.hideLabel:c.showLabel;return be("div",{css:Ik,children:[ve("p",{id:b,css:{position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,clip:"rect(0 0 0 0)",overflow:"hidden"},children:v}),be("div",{css:zk,children:[be("div",{children:[f&&ve("div",{css:Rk(r)}),m&&ve("div",{css:Dk(r)}),g&&ve("div",{css:Pk(r),children:s})]}),be("div",{children:[ve("p",{id:h,css:Vk,children:t}),n?ve("p",{id:p,css:Hk,children:n}):null]})]}),o&&i?ve("div",{css:Bk,children:ve(ng,{type:"button",variant:"borderless",label:String(y),rightIcon:ve(d?gg:mg,{}),"aria-pressed":d,"aria-labelledby":`${b} ${h}`,onClick:()=>{u((e=>!e)),o?.()}})}):null]})},jk=ke`
2765
+ `,jk=({type:e,label:t,caption:n,color:r,onActionClick:o,showActionButton:i,pointIcon:s=ve(Og,{color:"#006D2C"}),ariaLabelType:a="",labels:l})=>{const c=tg("QualitativeAttribute",l),[d,u]=ae(!0),h=he(),p=he(),f="raster"===e,m="line"===e,g="point"===e,b=he(),v=oe((()=>{const e=d?c.visibleText:c.hiddenText;let r=a??`${a},`;return m&&(r=c.linePrefix),c.currentlyTemplate(String(t),n,r,e)}),[d,e,t,n,a,c]),y=d?c.hideLabel:c.showLabel;return be("div",{css:zk,children:[ve("p",{id:b,css:{position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,clip:"rect(0 0 0 0)",overflow:"hidden"},children:v}),be("div",{css:Vk,children:[be("div",{children:[f&&ve("div",{css:Dk(r)}),m&&ve("div",{css:Pk(r)}),g&&ve("div",{css:Ik(r),children:s})]}),be("div",{children:[ve("p",{id:h,css:Hk,children:t}),n?ve("p",{id:p,css:Bk,children:n}):null]})]}),o&&i?ve("div",{css:_k,children:ve(ng,{type:"button",variant:"borderless",label:String(y),rightIcon:ve(d?gg:mg,{}),"aria-pressed":d,"aria-labelledby":`${b} ${h}`,onClick:()=>{u((e=>!e)),o?.()}})}):null]})},Fk=ke`
2765
2766
  width: 100%;
2766
2767
  display: flex;
2767
2768
  flex-direction: column;
2768
2769
  margin-bottom: ${Ve(400)};
2769
- `,Fk=ke`
2770
+ `,qk=ke`
2770
2771
  height: ${Ve(500)};
2771
2772
  width: 100%;
2772
2773
  margin-bottom: ${Ve(200)};
@@ -2784,34 +2785,34 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2784
2785
  border-top-right-radius: 0.1875rem;
2785
2786
  border-bottom-right-radius: 0.1875rem;
2786
2787
  }
2787
- `,qk=ke`
2788
+ `,Wk=ke`
2788
2789
  display: flex;
2789
2790
  justify-content: space-between;
2790
2791
  align-items: flex-start;
2791
- `,Wk=ke`
2792
+ `,Uk=ke`
2792
2793
  width: 100%;
2793
2794
  font-size: ${ze(200)};
2794
2795
  line-height: ${He(400)};
2795
2796
  font-weight: 400;
2796
2797
  color: ${Ie("neutral",800)};
2797
2798
  text-align: center;
2798
- `,Uk=ke`
2799
+ `,Kk=ke`
2799
2800
  font-size: ${ze(200)};
2800
2801
  line-height: ${He(400)};
2801
2802
  font-weight: 400;
2802
2803
  color: ${Ie("neutral",700)};
2803
2804
  text-align: center;
2804
- `,Kk=e=>{const t=e.map(((t,n)=>`${n/(e.length-1)*100}%`));return`linear-gradient(to right, ${e.map(((e,n)=>`${e} ${t[n]}`)).join(", ")})`},Gk=({colors:e,values:t,subLabels:n,isGradient:r})=>{return be("div",{css:jk,children:[ve("div",r?{css:(o=Kk(e),ke`
2805
+ `,Gk=e=>{const t=e.map(((t,n)=>`${n/(e.length-1)*100}%`));return`linear-gradient(to right, ${e.map(((e,n)=>`${e} ${t[n]}`)).join(", ")})`},Zk=({colors:e,values:t,subLabels:n,isGradient:r})=>{return be("div",{css:Fk,children:[ve("div",r?{css:(o=Gk(e),ke`
2805
2806
  height: ${Ve(500)};
2806
2807
  width: 100%;
2807
2808
  margin-bottom: ${Ve(200)};
2808
2809
  border: ${_e(100)} solid ${Ie("neutral",300)};
2809
2810
  border-radius: ${Be(300)};
2810
2811
  ${o?`background: ${o};`:""}
2811
- `)}:{css:Fk,children:e?.map(((e,n)=>ve("div",{"data-test":`${e}-${t?.[n]}`,style:{backgroundColor:e,width:"100%",height:"100%"}},`${e}-${t?.[n]}`)))}),ve("div",{css:qk,children:t?.map((e=>ve("div",{style:{width:r?"auto":`calc(100% / ${t.length})`,display:"flex",justifyContent:"center"},children:ve("p",{css:Wk,children:e})},e)))}),n&&n.length?ve("div",{css:qk,children:n.map((e=>ve("div",{style:{width:r?"auto":`calc(100% / ${t.length})`,display:"flex",justifyContent:"center"},children:ve("p",{css:Uk,style:{width:"100%"},children:e})},e)))}):null]});var o},Zk=ke`
2812
+ `)}:{css:qk,children:e?.map(((e,n)=>ve("div",{"data-test":`${e}-${t?.[n]}`,style:{backgroundColor:e,width:"100%",height:"100%"}},`${e}-${t?.[n]}`)))}),ve("div",{css:Wk,children:t?.map((e=>ve("div",{style:{width:r?"auto":`calc(100% / ${t.length})`,display:"flex",justifyContent:"center"},children:ve("p",{css:Uk,children:e})},e)))}),n&&n.length?ve("div",{css:Wk,children:n.map((e=>ve("div",{style:{width:r?"auto":`calc(100% / ${t.length})`,display:"flex",justifyContent:"center"},children:ve("p",{css:Kk,style:{width:"100%"},children:e})},e)))}):null]});var o},Jk=ke`
2812
2813
  display: flex;
2813
2814
  flex-direction: column;
2814
- `,Jk=ke`
2815
+ `,Xk=ke`
2815
2816
  display: flex;
2816
2817
  gap: ${Ve(400)};
2817
2818
  align-items: center;
@@ -2819,46 +2820,46 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2819
2820
  .ds-select-input-container {
2820
2821
  margin-bottom: 0rem;
2821
2822
  }
2822
- `,Xk=ke`
2823
+ `,Yk=ke`
2823
2824
  font-size: ${ze(500)};
2824
2825
  line-height: ${He(700)};
2825
2826
  font-weight: 400;
2826
2827
  color: ${Ie("neutral",700)};
2827
- `,Yk=ke`
2828
+ `,Qk=ke`
2828
2829
  font-size: ${ze(500)};
2829
2830
  line-height: ${He(700)};
2830
2831
  font-weight: 400;
2831
2832
  color: ${Ie("neutral",700)};
2832
- `,Qk=({pageSize:e,currentPage:t,totalItems:n,onPageSizeChange:r,showItemCountText:o,labels:i})=>{const s=tg("ItemCount",i),a=0===n?0:(t-1)*e+1,l=0===n?0:Math.min(a+e-1,n);return be(ye,{children:[ve("div",{css:Zk,children:be("div",{css:Jk,children:[ve("div",{style:{width:"5rem"},children:ve(Fy,{defaultValue:[`${e}`],items:[{label:"10",value:"10"},{label:"20",value:"20"},{label:"50",value:"50"},{label:"100",value:"100"}],onChange:e=>{r&&r(parseInt(e[0],10))},required:!0})}),ve("p",{css:Xk,children:s.perPageLabel})]})}),o?ve("p",{css:Yk,children:s.showingLabel(a,l,n)}):null]})},e$=e=>ke`
2833
+ `,e$=({pageSize:e,currentPage:t,totalItems:n,onPageSizeChange:r,showItemCountText:o,labels:i})=>{const s=tg("ItemCount",i),a=0===n?0:(t-1)*e+1,l=0===n?0:Math.min(a+e-1,n);return be(ye,{children:[ve("div",{css:Jk,children:be("div",{css:Xk,children:[ve("div",{style:{width:"5rem"},children:ve(qy,{defaultValue:[`${e}`],items:[{label:"10",value:"10"},{label:"20",value:"20"},{label:"50",value:"50"},{label:"100",value:"100"}],onChange:e=>{r&&r(parseInt(e[0],10))},required:!0})}),ve("p",{css:Yk,children:s.perPageLabel})]})}),o?ve("p",{css:Qk,children:s.showingLabel(a,l,n)}):null]})},t$=e=>ke`
2833
2834
  border: ${_e(100)} solid ${Ie("neutral",300)};
2834
2835
  ${e?"border: none;":""}
2835
- `,t$=e=>ke`
2836
+ `,n$=e=>ke`
2836
2837
  color: ${Ie("neutral",e?400:700)};
2837
2838
  line-height: ${He(500)};
2838
2839
  white-space: nowrap;
2839
2840
  overflow: hidden;
2840
2841
  text-overflow: ellipsis;
2841
- `,n$=ke`
2842
+ `,r$=ke`
2842
2843
  font-weight: 400;
2843
2844
  color: ${Ie("neutral",700)};
2844
2845
  white-space: nowrap;
2845
2846
  overflow: hidden;
2846
2847
  text-overflow: ellipsis;
2847
- `,r$=ke`
2848
+ `,o$=ke`
2848
2849
  color: ${Ie("neutral",700)};
2849
2850
  text-align: right;
2850
2851
  font-weight: 700;
2851
2852
  white-space: nowrap;
2852
2853
  overflow: hidden;
2853
2854
  text-overflow: ellipsis;
2854
- `,o$=e=>ke`
2855
+ `,i$=e=>ke`
2855
2856
  width: ${Ve(400)};
2856
2857
  height: ${Ve(400)};
2857
2858
 
2858
2859
  path {
2859
2860
  fill: ${Ie("neutral",e?400:700)};
2860
2861
  }
2861
- `,i$=ke`
2862
+ `,s$=ke`
2862
2863
  display: flex;
2863
2864
  align-items: center;
2864
2865
  justify-content: space-between;
@@ -2868,7 +2869,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2868
2869
  ${Ie("neutral",200)};
2869
2870
  width: 100%;
2870
2871
  text-align: left;
2871
- `,s$=ke`
2872
+ `,a$=ke`
2872
2873
  display: flex;
2873
2874
  align-items: center;
2874
2875
  justify-content: space-between;
@@ -2904,19 +2905,19 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2904
2905
  &:disabled {
2905
2906
  background-color: ${Ie("neutral",200)};
2906
2907
  }
2907
- `,a$=({id:e,label:t,caption:n,icon:o,value:s,variant:a="data",onItemClick:l,isExpanded:c=!1,ariaLabel:d,disabled:u=!1,isHighlighted:p=!1})=>{const f=("navigation"===a||"select"===a)&&!!l,m=f?N.button:N.div,g="string"==typeof t||"number"==typeof t||"bigint"==typeof t?String(t):"",b="string"==typeof s||"number"==typeof s||"bigint"==typeof s?String(s):"",v=d||("data"===a&&b?`${g}, ${b}`:g);return be(m,{id:e,css:["data"===a?i$:s$,p&&{backgroundColor:Ie("neutral",200)}],onClick:f?l:void 0,tabIndex:f?0:void 0,onKeyDown:e=>{f&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l?.()))},role:f?"button":void 0,"aria-expanded":f?c:void 0,"aria-label":v,disabled:u,"data-selected":p||void 0,"data-highlighted":p||void 0,children:[be(R,{gap:3,flex:"1",overflow:"hidden",children:[o,be(r,{flex:"1",minWidth:0,children:[ve(h,{fontWeight:"data"===a?"400":"700",css:t$(u),children:t}),n&&ve(h,{css:n$,children:n})]})]}),"data"===a&&s&&ve(h,{css:r$,children:s}),"navigation"===a&&ve(i,{as:ug,boxSize:4,"aria-hidden":"true",css:o$(u)})]})},l$=({items:e,noBorder:t,highlightedIndex:n})=>ve(r,{css:e$(t),children:e.map(((e,t)=>ve(a$,{id:e.id,icon:e.icon,label:e.label,caption:e.caption,value:e.value,variant:e.variant??"data",onItemClick:e.onItemClick,isHighlighted:t===n||e.isHighlighted},e.id??e.label)))}),c$=ke`
2908
+ `,l$=({id:e,label:t,caption:n,icon:o,value:s,variant:a="data",onItemClick:l,isExpanded:c=!1,ariaLabel:d,disabled:u=!1,isHighlighted:p=!1})=>{const f=("navigation"===a||"select"===a)&&!!l,m=f?N.button:N.div,g="string"==typeof t||"number"==typeof t||"bigint"==typeof t?String(t):"",b="string"==typeof s||"number"==typeof s||"bigint"==typeof s?String(s):"",v=d||("data"===a&&b?`${g}, ${b}`:g);return be(m,{id:e,css:["data"===a?s$:a$,p&&{backgroundColor:Ie("neutral",200)}],onClick:f?l:void 0,tabIndex:f?0:void 0,onKeyDown:e=>{f&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l?.()))},role:f?"button":void 0,"aria-expanded":f?c:void 0,"aria-label":v,disabled:u,"data-selected":p||void 0,"data-highlighted":p||void 0,children:[be(R,{gap:3,flex:"1",overflow:"hidden",children:[o,be(r,{flex:"1",minWidth:0,children:[ve(h,{fontWeight:"data"===a?"400":"700",css:n$(u),children:t}),n&&ve(h,{css:r$,children:n})]})]}),"data"===a&&s&&ve(h,{css:o$,children:s}),"navigation"===a&&ve(i,{as:ug,boxSize:4,"aria-hidden":"true",css:i$(u)})]})},c$=({items:e,noBorder:t,highlightedIndex:n})=>ve(r,{css:t$(t),children:e.map(((e,t)=>ve(l$,{id:e.id,icon:e.icon,label:e.label,caption:e.caption,value:e.value,variant:e.variant??"data",onItemClick:e.onItemClick,isHighlighted:t===n||e.isHighlighted},e.id??e.label)))}),d$=ke`
2908
2909
  background: transparent;
2909
2910
  svg {
2910
2911
  path {
2911
2912
  fill: ${Ie("primary",500)};
2912
2913
  }
2913
2914
  }
2914
- `,d$=ke`
2915
+ `,u$=ke`
2915
2916
  font-size: ${ze(400)};
2916
2917
  line-height: ${He(600)};
2917
2918
  font-weight: 700;
2918
2919
  color: ${Ie("neutral",900)};
2919
- `,u$=ke`
2920
+ `,h$=ke`
2920
2921
  span {
2921
2922
  height: ${Ve(500)};
2922
2923
  width: ${Ve(500)};
@@ -2926,7 +2927,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2926
2927
  background-color: transparent;
2927
2928
  }
2928
2929
  }
2929
- `,h$=ke`
2930
+ `,p$=ke`
2930
2931
  font-size: ${ze(400)};
2931
2932
  line-height: ${He(600)};
2932
2933
  font-weight: 400;
@@ -2936,7 +2937,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2936
2937
  color: ${Ie("neutral",900)};
2937
2938
  font-weight: 700;
2938
2939
  }
2939
- `,p$=({totalItems:e,pageSize:t,currentPage:n,variant:r="default",onPageChange:o,labels:i})=>{const s=tg("Pagination",i),a="compact"===r||"compact-with-buttons"===r,l="compact-with-buttons"===r;return ve("div",{"aria-label":s.paginationLabel,children:ve(D.Root,{count:e,pageSize:t,defaultPage:n,onPageChange:e=>o&&o(e.page),siblingCount:1,children:be(P,{gap:"2",size:"sm",variant:"ghost",css:u$,children:[ve(D.PrevTrigger,{asChild:!0,children:l?ve(ng,{variant:"secondary",label:s.previousLabel,size:"small",leftIcon:ve(dg,{style:{rotate:"90deg"},color:"var(--chakra-colors-primary-500)"})}):ve(og,{css:c$,style:{rotate:"90deg"},icon:ve(dg,{}),"aria-label":s.previousPageLabel})}),a?ve(D.PageText,{css:d$}):ve(D.Items,{render:e=>ve(og,{css:h$,"aria-label":s.pageLabel(e.value),icon:ve("p",{children:e.value})})}),ve(D.NextTrigger,{asChild:!0,children:l?ve(ng,{variant:"secondary",label:s.nextLabel,size:"small",rightIcon:ve(dg,{style:{rotate:"270deg"},color:"var(--chakra-colors-primary-500)"})}):ve(og,{css:c$,style:{rotate:"270deg"},icon:ve(dg,{}),"aria-label":s.nextPageLabel})})]})})})},f$=(e,t)=>ke`
2940
+ `,f$=({totalItems:e,pageSize:t,currentPage:n,variant:r="default",onPageChange:o,labels:i})=>{const s=tg("Pagination",i),a="compact"===r||"compact-with-buttons"===r,l="compact-with-buttons"===r;return ve("div",{"aria-label":s.paginationLabel,children:ve(D.Root,{count:e,pageSize:t,defaultPage:n,onPageChange:e=>o&&o(e.page),siblingCount:1,children:be(P,{gap:"2",size:"sm",variant:"ghost",css:h$,children:[ve(D.PrevTrigger,{asChild:!0,children:l?ve(ng,{variant:"secondary",label:s.previousLabel,size:"small",leftIcon:ve(dg,{style:{rotate:"90deg"},color:"var(--chakra-colors-primary-500)"})}):ve(og,{css:d$,style:{rotate:"90deg"},icon:ve(dg,{}),"aria-label":s.previousPageLabel})}),a?ve(D.PageText,{css:u$}):ve(D.Items,{render:e=>ve(og,{css:p$,"aria-label":s.pageLabel(e.value),icon:ve("p",{children:e.value})})}),ve(D.NextTrigger,{asChild:!0,children:l?ve(ng,{variant:"secondary",label:s.nextLabel,size:"small",rightIcon:ve(dg,{style:{rotate:"270deg"},color:"var(--chakra-colors-primary-500)"})}):ve(og,{css:d$,style:{rotate:"270deg"},icon:ve(dg,{}),"aria-label":s.nextPageLabel})})]})})})},m$=(e,t)=>ke`
2940
2941
  border: ${"full-width"===e?"none":`${_e(100)} solid ${Ie("neutral",300)}`};
2941
2942
  border-radius: ${Be(200)};
2942
2943
  box-shadow: ${"full-width"===e?"none":`0 0 0 0.0625rem ${Ie("neutral",300)}`};
@@ -2994,7 +2995,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
2994
2995
  [data-sticky-last='true'] {
2995
2996
  border-inline-end: 0.0625rem solid ${Ie("neutral",400)};
2996
2997
  }
2997
- `,m$=e=>ke`
2998
+ `,g$=e=>ke`
2998
2999
  tr {
2999
3000
  background-color: ${Ie("neutral","full-width"===e?100:200)};
3000
3001
 
@@ -3003,14 +3004,14 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3003
3004
  box-shadow: inset 0 -0.0625rem 0 ${Ie("neutral",300)};
3004
3005
  }
3005
3006
  }
3006
- `,g$=ke`
3007
+ `,b$=ke`
3007
3008
  font-size: ${ze(400)};
3008
3009
  line-height: ${He(600)};
3009
3010
  font-weight: 700;
3010
3011
  color: ${Ie("neutral",800)};
3011
3012
  display: flex;
3012
3013
  align-items: center;
3013
- `,b$=ke`
3014
+ `,v$=ke`
3014
3015
  height: ${He(600)};
3015
3016
  width: 0.625rem;
3016
3017
  display: flex;
@@ -3032,20 +3033,20 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3032
3033
  }
3033
3034
  }
3034
3035
  }
3035
- `,v$=e=>ke`
3036
+ `,y$=e=>ke`
3036
3037
  svg {
3037
3038
  path {
3038
3039
  fill: ${Ie("accessible",e?"controls-on-neutral-lights":100)} !important;
3039
3040
  }
3040
3041
  }
3041
- `,y$=ke`
3042
+ `,w$=ke`
3042
3043
  margin-top: ${Ve(300)};
3043
3044
  display: flex;
3044
3045
  justify-content: space-between;
3045
3046
  align-items: center;
3046
- `,w$=ke`
3047
+ `,x$=ke`
3047
3048
  margin-top: 0.5625rem;
3048
- `,x$=e=>ke`
3049
+ `,C$=e=>ke`
3049
3050
  tr {
3050
3051
  height: ${Ve(1200)};
3051
3052
 
@@ -3072,18 +3073,18 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3072
3073
  }
3073
3074
  }
3074
3075
  }
3075
- `,C$=e=>ke`
3076
+ `,k$=e=>ke`
3076
3077
  overflow: auto;
3077
3078
  height: ${e};
3078
3079
  width: 100%;
3079
- `,k$=ke`
3080
+ `,$$=ke`
3080
3081
  height: 30rem;
3081
3082
  display: flex;
3082
3083
  align-items: center;
3083
3084
  justify-content: center;
3084
- `,$$="__checkbox__",S$=(e,t)=>{const n=e[t]?.width;return n?{width:n,minWidth:n}:{}},M$=(e,t,n)=>{const r=e[t];return void 0===r?{}:{"data-sticky":"start","data-sticky-last":t===n?"true":void 0,left:`${r}px`}},E$=(e,t,n)=>{if(n||!t.key)return e;const{key:r,order:o}=t,i="asc"===o;return[...e].sort(((e,t)=>((e,t,n)=>{if(null==e&&null==t)return 0;if(null==e)return 1;if(null==t)return-1;if("string"==typeof e&&"string"==typeof t)return n?e.localeCompare(t):t.localeCompare(e);if("number"==typeof e&&"number"==typeof t)return n?e-t:t-e;const r=String(e),o=String(t);return n?r.localeCompare(o):o.localeCompare(r)})(e?.[r],t?.[r],i)))},T$=({columns:e,data:t=[],renderRow:n,striped:r,stickyHeader:i,pagination:s,selectable:a,selectedRows:l,variant:c="default",onSortColumn:d,onPageSizeChange:u,onPageChange:h,onAllItemsSelected:p,onRowSelected:f,loading:m,height:g,labels:b})=>{const v=tg("Table",b),[y,w]=ae({key:"",order:""}),x=se({}),C=se(null),[k,$]=ae({}),[S,M]=ae([]),{totalItems:E=t.length,currentPage:T=1,pageSize:O=10,showItemCount:L,showItemCountText:A}=s||{},N=Boolean(d),R=oe((()=>E$(t,y,N)),[t,N,y]),D=(e,t)=>{w({key:e,order:t}),d&&d({key:e,order:t})},P=l??S,z=R.length>0&&P.length===R.length,V=P.length>0&&P.length<R.length,H=oe((()=>(e=>e.reduce(((e,t)=>(e[t.key]=t,e)),{}))(e)),[e]),B=oe((()=>(e=>e.filter((e=>e.sticky)).map((e=>e.key)))(e)),[e]),_=(e=>e.length>0?e[e.length-1]:void 0)([...void 0!==k[$$]?[$$]:[],...B]),j=ue((()=>{const t=((e,t,n)=>{const r={};let o=0;const i=e.filter((e=>e.sticky));return n&&i.length>0&&(r[$$]=0,o+=n.offsetWidth),i.forEach((e=>{r[e.key]=o,o+=t[e.key]?.offsetWidth||0})),r})(e,x.current,a?C.current:void 0);$(t)}),[e,a]);ce((()=>{j()}),[j,t.length]),ce((()=>{const e=()=>{j()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[j]),ce((()=>{void 0===l&&M((e=>((e,t)=>{const n=e.filter((e=>t.some((t=>t.id===e.id)))),r=n.length===e.length&&n.every(((t,n)=>t.id===e[n]?.id));return r?e:n})(e,t)))}),[t,l]);const F=e=>M$(k,e.key,_),q=e=>((e,t,n,r)=>({...S$(e,n),...M$(t,n,r)}))(H,k,e,_),W=e=>((e,t)=>e.some((e=>e.id===t.id)))(P,e),U=(({columns:e,selectable:t,isRowSelected:n,onRowSelected:r,stickyOffsets:o={},lastStickyColumnKey:i,getSelectRowLabel:s})=>(a,l)=>{const{id:c,name:d}=a;return Y(I.Row,{className:l?.className,children:[t?X(I.Cell,{...M$(o,$$,i),children:X(Av,{name:`checkbox-${c}`,"aria-label":s(d,c),checked:n(a),onCheckedChange:({checked:e})=>{r(a,e)}})}):null,e.map((e=>X(I.Cell,{...l?.getCellProps(e.key),children:e.cell?e.cell(a):a?.[e.key]},e.key)))]})})({columns:e,selectable:a,isRowSelected:W,onRowSelected:(e,t)=>{void 0===l&&M((n=>((e,t,n)=>n?e.some((e=>e.id===t.id))?e:[...e,t]:e.filter((e=>e.id!==t.id)))(n,e,t))),f&&f(e,t)},stickyOffsets:k,lastStickyColumnKey:_,getSelectRowLabel:(e,t)=>v.selectRowLabel(e,t)}),K=n||U;return be("div",{children:[ve("div",{css:g?C$(g):void 0,children:be(I.Root,{css:f$(c,i),striped:r,stickyHeader:i,interactive:!0,children:[ve(I.Header,{css:m$(c),children:be(I.Row,{children:[a?ve(I.ColumnHeader,{ref:C,...M$(k,$$,_),children:ve(Av,{name:"header-checkbox","aria-label":v.selectAllRowsLabel,checked:z,indeterminate:V,onCheckedChange:({checked:e})=>{void 0===l&&M(e?R:[]),p&&p(e)}})}):null,e.map((e=>{return ve(I.ColumnHeader,{ref:t=>{x.current[e.key]=t},...(t=e.key,S$(H,t)),role:e.sortable?"columnheader":void 0,"aria-sort":e.sortable&&"asc"===y.order?"ascending":e.sortable&&"desc"===y.order?"descending":void 0,...F(e),children:be("div",{css:g$,children:[e.label,e.sortable?be("div",{css:b$,children:[ve(og,{css:v$(y.key===e.key&&"asc"===y.order),icon:ve(dg,{style:{transform:"rotate(180deg)"}}),onClick:()=>D(e.key,"asc"),"aria-label":v.ascendingLabel}),ve(og,{css:v$(y.key===e.key&&"desc"===y.order),icon:ve(dg,{}),onClick:()=>D(e.key,"desc"),"aria-label":v.descendingLabel})]}):null]})},e.key);var t}))]})}),ve(I.Body,{css:x$(r),children:R.map((e=>ve(te.Fragment,{children:K(e,{className:W(e)?"selected":void 0,getCellProps:q})},e.id)))})]})}),m?ve("div",{css:k$,children:ve(o,{size:"lg",color:Ie("primary",500)})}):null,be("div",{css:y$,children:[L?ve(Qk,{pageSize:O,currentPage:T,totalItems:E,onPageSizeChange:u,showItemCountText:A}):null,s?ve("div",{css:w$,children:ve(p$,{totalItems:E,pageSize:O,currentPage:T,onPageChange:h})}):null]})]})},O$=I.Row,L$=I.Cell,A$=ke`
3085
+ `,S$="__checkbox__",M$=(e,t)=>{const n=e[t]?.width;return n?{width:n,minWidth:n}:{}},E$=(e,t,n)=>{const r=e[t];return void 0===r?{}:{"data-sticky":"start","data-sticky-last":t===n?"true":void 0,left:`${r}px`}},T$=(e,t,n)=>{if(n||!t.key)return e;const{key:r,order:o}=t,i="asc"===o;return[...e].sort(((e,t)=>((e,t,n)=>{if(null==e&&null==t)return 0;if(null==e)return 1;if(null==t)return-1;if("string"==typeof e&&"string"==typeof t)return n?e.localeCompare(t):t.localeCompare(e);if("number"==typeof e&&"number"==typeof t)return n?e-t:t-e;const r=String(e),o=String(t);return n?r.localeCompare(o):o.localeCompare(r)})(e?.[r],t?.[r],i)))},O$=({columns:e,data:t=[],renderRow:n,striped:r,stickyHeader:i,pagination:s,selectable:a,selectedRows:l,variant:c="default",onSortColumn:d,onPageSizeChange:u,onPageChange:h,onAllItemsSelected:p,onRowSelected:f,loading:m,height:g,labels:b})=>{const v=tg("Table",b),[y,w]=ae({key:"",order:""}),x=se({}),C=se(null),[k,$]=ae({}),[S,M]=ae([]),{totalItems:E=t.length,currentPage:T=1,pageSize:O=10,showItemCount:L,showItemCountText:A}=s||{},N=Boolean(d),R=oe((()=>T$(t,y,N)),[t,N,y]),D=(e,t)=>{w({key:e,order:t}),d&&d({key:e,order:t})},P=l??S,z=R.length>0&&P.length===R.length,V=P.length>0&&P.length<R.length,H=oe((()=>(e=>e.reduce(((e,t)=>(e[t.key]=t,e)),{}))(e)),[e]),B=oe((()=>(e=>e.filter((e=>e.sticky)).map((e=>e.key)))(e)),[e]),_=(e=>e.length>0?e[e.length-1]:void 0)([...void 0!==k[S$]?[S$]:[],...B]),j=ue((()=>{const t=((e,t,n)=>{const r={};let o=0;const i=e.filter((e=>e.sticky));return n&&i.length>0&&(r[S$]=0,o+=n.offsetWidth),i.forEach((e=>{r[e.key]=o,o+=t[e.key]?.offsetWidth||0})),r})(e,x.current,a?C.current:void 0);$(t)}),[e,a]);ce((()=>{j()}),[j,t.length]),ce((()=>{const e=()=>{j()};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[j]),ce((()=>{void 0===l&&M((e=>((e,t)=>{const n=e.filter((e=>t.some((t=>t.id===e.id)))),r=n.length===e.length&&n.every(((t,n)=>t.id===e[n]?.id));return r?e:n})(e,t)))}),[t,l]);const F=e=>E$(k,e.key,_),q=e=>((e,t,n,r)=>({...M$(e,n),...E$(t,n,r)}))(H,k,e,_),W=e=>((e,t)=>e.some((e=>e.id===t.id)))(P,e),U=(({columns:e,selectable:t,isRowSelected:n,onRowSelected:r,stickyOffsets:o={},lastStickyColumnKey:i,getSelectRowLabel:s})=>(a,l)=>{const{id:c,name:d}=a;return Y(I.Row,{className:l?.className,children:[t?X(I.Cell,{...E$(o,S$,i),children:X(Nv,{name:`checkbox-${c}`,"aria-label":s(d,c),checked:n(a),onCheckedChange:({checked:e})=>{r(a,e)}})}):null,e.map((e=>X(I.Cell,{...l?.getCellProps(e.key),children:e.cell?e.cell(a):a?.[e.key]},e.key)))]})})({columns:e,selectable:a,isRowSelected:W,onRowSelected:(e,t)=>{void 0===l&&M((n=>((e,t,n)=>n?e.some((e=>e.id===t.id))?e:[...e,t]:e.filter((e=>e.id!==t.id)))(n,e,t))),f&&f(e,t)},stickyOffsets:k,lastStickyColumnKey:_,getSelectRowLabel:(e,t)=>v.selectRowLabel(e,t)}),K=n||U;return be("div",{children:[ve("div",{css:g?k$(g):void 0,children:be(I.Root,{css:m$(c,i),striped:r,stickyHeader:i,interactive:!0,children:[ve(I.Header,{css:g$(c),children:be(I.Row,{children:[a?ve(I.ColumnHeader,{ref:C,...E$(k,S$,_),children:ve(Nv,{name:"header-checkbox","aria-label":v.selectAllRowsLabel,checked:z,indeterminate:V,onCheckedChange:({checked:e})=>{void 0===l&&M(e?R:[]),p&&p(e)}})}):null,e.map((e=>{return ve(I.ColumnHeader,{ref:t=>{x.current[e.key]=t},...(t=e.key,M$(H,t)),role:e.sortable?"columnheader":void 0,"aria-sort":e.sortable&&"asc"===y.order?"ascending":e.sortable&&"desc"===y.order?"descending":void 0,...F(e),children:be("div",{css:b$,children:[e.label,e.sortable?be("div",{css:v$,children:[ve(og,{css:y$(y.key===e.key&&"asc"===y.order),icon:ve(dg,{style:{transform:"rotate(180deg)"}}),onClick:()=>D(e.key,"asc"),"aria-label":v.ascendingLabel}),ve(og,{css:y$(y.key===e.key&&"desc"===y.order),icon:ve(dg,{}),onClick:()=>D(e.key,"desc"),"aria-label":v.descendingLabel})]}):null]})},e.key);var t}))]})}),ve(I.Body,{css:C$(r),children:R.map((e=>ve(te.Fragment,{children:K(e,{className:W(e)?"selected":void 0,getCellProps:q})},e.id)))})]})}),m?ve("div",{css:$$,children:ve(o,{size:"lg",color:Ie("primary",500)})}):null,be("div",{css:w$,children:[L?ve(e$,{pageSize:O,currentPage:T,totalItems:E,onPageSizeChange:u,showItemCountText:A}):null,s?ve("div",{css:x$,children:ve(f$,{totalItems:E,pageSize:O,currentPage:T,onPageChange:h})}):null]})]})},L$=I.Row,A$=I.Cell,N$=ke`
3085
3086
  border: ${_e(100)} solid ${Ie("neutral",300)};
3086
- `,N$=ke`
3087
+ `,R$=ke`
3087
3088
  padding: ${Ve(400)};
3088
3089
  cursor: pointer;
3089
3090
  &:focus-visible {
@@ -3098,9 +3099,9 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3098
3099
  transparent
3099
3100
  );
3100
3101
  }
3101
- `,R$=({children:e,header:t,footer:n})=>ve(r,{css:A$,children:ve(A.Root,{multiple:!0,children:be(A.Item,{value:"extendable-card-item",children:[be(A.ItemTrigger,{css:N$,alignItems:"center",children:[ve(R,{gap:3,flex:"1",overflow:"hidden",alignItems:"center",children:t}),ve(A.ItemIndicator,{children:ve(dg,{color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]}),be(A.ItemContent,{children:[e,n]})]})})}),D$=ke`
3102
+ `,D$=({children:e,header:t,footer:n})=>ve(r,{css:N$,children:ve(A.Root,{multiple:!0,children:be(A.Item,{value:"extendable-card-item",children:[be(A.ItemTrigger,{css:R$,alignItems:"center",children:[ve(R,{gap:3,flex:"1",overflow:"hidden",alignItems:"center",children:t}),ve(A.ItemIndicator,{children:ve(dg,{color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]}),be(A.ItemContent,{children:[e,n]})]})})}),P$=ke`
3102
3103
  border: ${_e(100)} solid ${Ie("neutral",300)};
3103
- `,P$=ke`
3104
+ `,I$=ke`
3104
3105
  padding: ${Ve(400)};
3105
3106
  cursor: pointer;
3106
3107
  border-bottom: ${_e(100)} solid
@@ -3122,7 +3123,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3122
3123
  transparent
3123
3124
  );
3124
3125
  }
3125
- `,I$=ke`
3126
+ `,z$=ke`
3126
3127
  .item-content-open > * {
3127
3128
  max-height: auto;
3128
3129
 
@@ -3143,10 +3144,10 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3143
3144
  padding-bottom 0.2s ease,
3144
3145
  padding-top 0.2s ease;
3145
3146
  }
3146
- `,z$=ke`
3147
+ `,V$=ke`
3147
3148
  border-top: ${_e(100)} solid
3148
3149
  ${Ie("neutral",300)};
3149
- `,V$=({children:e,header:t,footer:n,expanded:o=!0,collapsible:i=!0,actions:s,showFooterOnCollapsed:a=!1,labels:l})=>{tg("AnalysisWidget",l);const c="analysis-widget-item",[d,u]=ae(o),h=`analysis-widget-header-${c}`;return ve(r,{as:"section","aria-labelledby":h,css:D$,children:be(A.Root,{multiple:!0,value:i?void 0:[c],defaultValue:o?[c]:[],children:[be(A.Item,{css:I$,value:c,children:[t&&ve(A.ItemTrigger,{id:h,"aria-expanded":d,css:P$,pointerEvents:i?"auto":"none",onClick:i?()=>{u(!d)}:void 0,children:be(R,{gap:3,flex:"1",overflow:"hidden",alignItems:"top",justifyContent:"space-between",children:[t,s&&s.map((e=>ve(ng,{variant:"secondary",size:"small",label:e.label,onClick:t=>{e.onClick(),t.preventDefault(),t.stopPropagation()},leftIcon:e?.icon},e.label))),i&&ve(A.ItemIndicator,{height:"1rem",marginTop:"0.5rem",display:"flex",children:ve(dg,{"aria-hidden":"true",color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]})}),be("div",{className:d?"item-content-open":"item-content-closed","aria-hidden":!d,children:[e,!a&&n&&ve(r,{css:z$,children:n})]})]}),a&&n&&ve(r,{css:z$,children:n})]})})};var H$,B$={exports:{}},_$={},j$={exports:{}},F$={exports:{}},q$={};var W$,U$,K$,G$,Z$,J$,X$,Y$,Q$,eS,tS,nS,rS,oS={};
3150
+ `,H$=({children:e,header:t,footer:n,expanded:o=!0,collapsible:i=!0,actions:s,showFooterOnCollapsed:a=!1,labels:l})=>{tg("AnalysisWidget",l);const c="analysis-widget-item",[d,u]=ae(o),h=`analysis-widget-header-${c}`;return ve(r,{as:"section","aria-labelledby":h,css:P$,children:be(A.Root,{multiple:!0,value:i?void 0:[c],defaultValue:o?[c]:[],children:[be(A.Item,{css:z$,value:c,children:[t&&ve(A.ItemTrigger,{id:h,"aria-expanded":d,css:I$,pointerEvents:i?"auto":"none",onClick:i?()=>{u(!d)}:void 0,children:be(R,{gap:3,flex:"1",overflow:"hidden",alignItems:"top",justifyContent:"space-between",children:[t,s&&s.map((e=>ve(ng,{variant:"secondary",size:"small",label:e.label,onClick:t=>{e.onClick(),t.preventDefault(),t.stopPropagation()},leftIcon:e?.icon},e.label))),i&&ve(A.ItemIndicator,{height:"1rem",marginTop:"0.5rem",display:"flex",children:ve(dg,{"aria-hidden":"true",color:"var(--chakra-colors-neutral-700)",height:"1rem",width:"1rem"})})]})}),be("div",{className:d?"item-content-open":"item-content-closed","aria-hidden":!d,children:[e,!a&&n&&ve(r,{css:V$,children:n})]})]}),a&&n&&ve(r,{css:V$,children:n})]})})};var B$,_$={exports:{}},j$={},F$={exports:{}},q$={exports:{}},W$={};var U$,K$,G$,Z$,J$,X$,Y$,Q$,eS,tS,nS,rS,oS,iS={};
3150
3151
  /** @license React v16.13.1
3151
3152
  * react-is.development.js
3152
3153
  *
@@ -3154,7 +3155,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3154
3155
  *
3155
3156
  * This source code is licensed under the MIT license found in the
3156
3157
  * LICENSE file in the root directory of this source tree.
3157
- */function iS(){return U$||(U$=1,"production"===process.env.NODE_ENV?F$.exports=function(){if(H$)return q$;H$=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case l:case c:case r:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case a:case d:case f:case p:case s:return e;default:return h}}case n:return h}}}function w(e){return y(e)===c}return q$.AsyncMode=l,q$.ConcurrentMode=c,q$.ContextConsumer=a,q$.ContextProvider=s,q$.Element=t,q$.ForwardRef=d,q$.Fragment=r,q$.Lazy=f,q$.Memo=p,q$.Portal=n,q$.Profiler=i,q$.StrictMode=o,q$.Suspense=u,q$.isAsyncMode=function(e){return w(e)||y(e)===l},q$.isConcurrentMode=w,q$.isContextConsumer=function(e){return y(e)===a},q$.isContextProvider=function(e){return y(e)===s},q$.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},q$.isForwardRef=function(e){return y(e)===d},q$.isFragment=function(e){return y(e)===r},q$.isLazy=function(e){return y(e)===f},q$.isMemo=function(e){return y(e)===p},q$.isPortal=function(e){return y(e)===n},q$.isProfiler=function(e){return y(e)===i},q$.isStrictMode=function(e){return y(e)===o},q$.isSuspense=function(e){return y(e)===u},q$.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===u||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},q$.typeOf=y,q$}():F$.exports=(W$||(W$=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case u:return m;default:var g=m&&m.$$typeof;switch(g){case a:case d:case f:case p:case s:return g;default:return h}}case n:return h}}}var w=l,x=c,C=a,k=s,$=t,S=d,M=r,E=f,T=p,O=n,L=i,A=o,N=u,R=!1;function D(e){return y(e)===c}oS.AsyncMode=w,oS.ConcurrentMode=x,oS.ContextConsumer=C,oS.ContextProvider=k,oS.Element=$,oS.ForwardRef=S,oS.Fragment=M,oS.Lazy=E,oS.Memo=T,oS.Portal=O,oS.Profiler=L,oS.StrictMode=A,oS.Suspense=N,oS.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||y(e)===l},oS.isConcurrentMode=D,oS.isContextConsumer=function(e){return y(e)===a},oS.isContextProvider=function(e){return y(e)===s},oS.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},oS.isForwardRef=function(e){return y(e)===d},oS.isFragment=function(e){return y(e)===r},oS.isLazy=function(e){return y(e)===f},oS.isMemo=function(e){return y(e)===p},oS.isPortal=function(e){return y(e)===n},oS.isProfiler=function(e){return y(e)===i},oS.isStrictMode=function(e){return y(e)===o},oS.isSuspense=function(e){return y(e)===u},oS.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===u||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},oS.typeOf=y}()),oS)),F$.exports}function sS(){if(G$)return K$;G$=1;return K$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function aS(){return J$?Z$:(J$=1,Z$=Function.call.bind(Object.prototype.hasOwnProperty))}function lS(){if(eS)return Q$;eS=1;var e=iS(),t=$e,n=sS(),r=aS(),o=function(){if(Y$)return X$;Y$=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=sS(),n={},r=aS();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var d;try{if("function"!=typeof o[c]){var u=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}d=o[c](i,c,a,s,null,t)}catch(e){d=e}if(!d||d instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var h=l?l():"";e("Failed "+s+" type: "+d.message+(null!=h?h:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},X$=o}(),i=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Q$=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var d="<<anonymous>>",u={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(s),arrayOf:function(e){return f((function(t,r,o,i,s){if("function"!=typeof e)return new p("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[r];if(!Array.isArray(a))return new p("Invalid "+i+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,i,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:f((function(e,t,n,r,o){var i=e[t];return a(i)?null:new p("Invalid "+r+" `"+o+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:f((function(t,n,r,o,i){var s=t[n];return e.isValidElementType(s)?null:new p("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,n,r,o,i){if(!(t[n]instanceof e)){var s=e.name||d;return new p("Invalid "+o+" `"+i+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:d)+"` supplied to `")+r+"`, expected instance of `"+s+"`.")}var a;return null}))},node:f((function(e,t,n,r,o){return b(e[t])?null:new p("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,o,i,s,a){if("function"!=typeof e)return new p("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new p("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var d in l)if(r(l,d)){var u=e(l,d,i,s,a+"."+d,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s;return f((function(t,n,r,o,i){for(var s=t[n],a=0;a<e.length;a++)if(h(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new p("Invalid "+o+" `"+i+"` of value `"+String(s)+"` supplied to `"+r+"`, expected one of "+l+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(o)+" at index "+t+"."),s}return f((function(t,o,i,s,a){for(var l=[],c=0;c<e.length;c++){var d=(0,e[c])(t,o,i,s,a,n);if(null==d)return null;d.data&&r(d.data,"expectedType")&&l.push(d.data.expectedType)}return new p("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return f((function(t,r,o,i,s){var a=t[r],l=v(a);if("object"!==l)return new p("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(o,i,s,c,y(d));var u=d(a,c,o,i,s+"."+c,n);if(u)return u}return null}))},exact:function(e){return f((function(o,i,s,a,l){var c=o[i],d=v(c);if("object"!==d)return new p("Invalid "+a+" `"+l+"` of type `"+d+"` supplied to `"+s+"`, expected `object`.");var u=t({},o[i],e);for(var h in u){var f=e[h];if(r(e,h)&&"function"!=typeof f)return g(s,a,l,h,y(f));if(!f)return new p("Invalid "+a+" `"+l+"` key `"+h+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(c,h,s,a,l+"."+h,n);if(m)return m}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,s,a,c,u,h,f){if(c=c||d,h=h||a,f!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,r++)}}return null==s[a]?o?null===s[a]?new p("The "+u+" `"+h+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+u+" `"+h+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,u,h)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function m(e){return f((function(t,n,r,o,i,s){var a=t[n];return v(a)!==e?new p("Invalid "+o+" `"+i+"` of type `"+y(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,o){return new p((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},Q$}function cS(){if(rS)return j$.exports;if(rS=1,"production"!==process.env.NODE_ENV){var e=iS();j$.exports=lS()(e.isElement,!0)}else j$.exports=function(){if(nS)return tS;nS=1;var e=sS();function t(){}function n(){}return n.resetWarningCache=t,tS=function(){function r(t,n,r,o,i,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},tS}()();return j$.exports}var dS,uS={exports:{}};var hS,pS={},fS={};function mS(){if(hS)return fS;return hS=1,Object.defineProperty(fS,"__esModule",{value:!0}),fS.dontSetMe=function(e,t,n){if(e[t])return new Error(`Invalid prop ${t} passed to ${n} - do not set this, set it on the child.`)},fS.findInArray=function(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},fS.int=function(e){return parseInt(e,10)},fS.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},fS.isNum=function(e){return"number"==typeof e&&!isNaN(e)},fS}var gS,bS,vS={};function yS(){if(bS)return pS;bS=1,Object.defineProperty(pS,"__esModule",{value:!0}),pS.addClassName=s,pS.addEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},pS.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&s(e.body,"react-draggable-transparent-selection")},pS.createCSSTransform=function(e,n){const r=o(e,n,"px");return{[(0,t.browserPrefixToKey)("transform",t.default)]:r}},pS.createSVGTransform=function(e,t){return o(e,t,"")},pS.getTouch=function(t,n){return t.targetTouches&&(0,e.findInArray)(t.targetTouches,(e=>n===e.identifier))||t.changedTouches&&(0,e.findInArray)(t.changedTouches,(e=>n===e.identifier))},pS.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},pS.getTranslation=o,pS.innerHeight=function(t){let n=t.clientHeight;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n-=(0,e.int)(r.paddingTop),n-=(0,e.int)(r.paddingBottom),n},pS.innerWidth=function(t){let n=t.clientWidth;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n-=(0,e.int)(r.paddingLeft),n-=(0,e.int)(r.paddingRight),n},pS.matchesSelector=r,pS.matchesSelectorAndParentsTo=function(e,t,n){let o=e;do{if(r(o,t))return!0;if(o===n)return!1;o=o.parentNode}while(o);return!1},pS.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,i=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:i}},pS.outerHeight=function(t){let n=t.clientHeight;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n+=(0,e.int)(r.borderTopWidth),n+=(0,e.int)(r.borderBottomWidth),n},pS.outerWidth=function(t){let n=t.clientWidth;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n+=(0,e.int)(r.borderLeftWidth),n+=(0,e.int)(r.borderRightWidth),n},pS.removeClassName=a,pS.removeEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},pS.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame((()=>{i(e)})):i(e)};var e=mS(),t=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(s,t,i):s[t]=e[t]);return s}(e,t)}(function(){if(gS)return vS;gS=1,Object.defineProperty(vS,"__esModule",{value:!0}),vS.browserPrefixToKey=n,vS.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},vS.default=void 0,vS.getPrefix=t;const e=["Moz","Webkit","O","ms"];function t(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const r=window.document?.documentElement?.style;if(!r)return"";if(t in r)return"";for(let o=0;o<e.length;o++)if(n(t,e[o])in r)return e[o];return""}function n(e,t){return t?`${t}${function(e){let t="",n=!0;for(let r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)}`:e}return vS.default=t(),vS}());let n="";function r(t,r){return n||(n=(0,e.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(n){return(0,e.isFunction)(t[n])}))),!!(0,e.isFunction)(t[n])&&t[n](r)}function o(e,t,n){let{x:r,y:o}=e,i=`translate(${r}${n},${o}${n})`;if(t){i=`translate(${`${"string"==typeof t.x?t.x:t.x+n}`}, ${`${"string"==typeof t.y?t.y:t.y+n}`})`+i}return i}function i(e){if(e)try{if(e.body&&a(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function s(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function a(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}return pS}var wS,xS={};function CS(){if(wS)return xS;wS=1,Object.defineProperty(xS,"__esModule",{value:!0}),xS.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},xS.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},xS.createCoreData=function(t,r,o){const i=!(0,e.isNum)(t.lastX),s=n(t);return i?{node:s,deltaX:0,deltaY:0,lastX:r,lastY:o,x:r,y:o}:{node:s,deltaX:r-t.lastX,deltaY:o-t.lastY,lastX:t.lastX,lastY:t.lastY,x:r,y:o}},xS.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},xS.getBoundPosition=function(r,o,i){if(!r.props.bounds)return[o,i];let{bounds:s}=r.props;s="string"==typeof s?s:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(s);const a=n(r);if("string"==typeof s){const{ownerDocument:n}=a,r=n.defaultView;let o;if("parent"===s)o=a.parentNode;else{o=a.getRootNode().querySelector(s)}if(!(o instanceof r.HTMLElement))throw new Error('Bounds selector "'+s+'" could not find an element.');const i=o,l=r.getComputedStyle(a),c=r.getComputedStyle(i);s={left:-a.offsetLeft+(0,e.int)(c.paddingLeft)+(0,e.int)(l.marginLeft),top:-a.offsetTop+(0,e.int)(c.paddingTop)+(0,e.int)(l.marginTop),right:(0,t.innerWidth)(i)-(0,t.outerWidth)(a)-a.offsetLeft+(0,e.int)(c.paddingRight)-(0,e.int)(l.marginRight),bottom:(0,t.innerHeight)(i)-(0,t.outerHeight)(a)-a.offsetTop+(0,e.int)(c.paddingBottom)-(0,e.int)(l.marginBottom)}}(0,e.isNum)(s.right)&&(o=Math.min(o,s.right));(0,e.isNum)(s.bottom)&&(i=Math.min(i,s.bottom));(0,e.isNum)(s.left)&&(o=Math.max(o,s.left));(0,e.isNum)(s.top)&&(i=Math.max(i,s.top));return[o,i]},xS.getControlPosition=function(e,r,o){const i="number"==typeof r?(0,t.getTouch)(e,r):null;if("number"==typeof r&&!i)return null;const s=n(o),a=o.props.offsetParent||s.offsetParent||s.ownerDocument.body;return(0,t.offsetXYFromParent)(i||e,a,o.props.scale)},xS.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var e=mS(),t=yS();function n(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}return xS}var kS,$S,SS,MS,ES={},TS={};function OS(){if(kS)return TS;return kS=1,Object.defineProperty(TS,"__esModule",{value:!0}),TS.default=function(){},TS}function LS(){if($S)return ES;$S=1,Object.defineProperty(ES,"__esModule",{value:!0}),ES.default=void 0;var e=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(s,t,i):s[t]=e[t]);return s}(e,t)}(te),t=a(cS()),n=a(xe),r=yS(),o=CS(),i=mS(),s=a(OS());function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c={start:"touchstart",move:"touchmove",stop:"touchend"},d={start:"mousedown",move:"mousemove",stop:"mouseup"};let u=d,h=class extends e.Component{constructor(){super(...arguments),l(this,"dragging",!1),l(this,"lastX",NaN),l(this,"lastY",NaN),l(this,"touchIdentifier",null),l(this,"mounted",!1),l(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,r.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,r.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();const i=(0,r.getTouchIdentifier)(e);this.touchIdentifier=i;const a=(0,o.getControlPosition)(e,i,this);if(null==a)return;const{x:l,y:c}=a,d=(0,o.createCoreData)(this,l,c);(0,s.default)("DraggableCore: handleDragStart: %j",d),(0,s.default)("calling",this.props.onStart);!1!==this.props.onStart(e,d)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,r.addUserSelectStyles)(n),this.dragging=!0,this.lastX=l,this.lastY=c,(0,r.addEvent)(n,u.move,this.handleDrag),(0,r.addEvent)(n,u.stop,this.handleDragStop))})),l(this,"handleDrag",(e=>{const t=(0,o.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,o.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const i=(0,o.createCoreData)(this,n,r);(0,s.default)("DraggableCore: handleDrag: %j",i);if(!1!==this.props.onDrag(e,i)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),l(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,o.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:i}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=i-this.lastY||0;[e,t]=(0,o.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,i=this.lastY+t}const a=(0,o.createCoreData)(this,n,i);if(!1===this.props.onStop(e,a)||!1===this.mounted)return!1;const l=this.findDOMNode();l&&this.props.enableUserSelectHack&&(0,r.scheduleRemoveUserSelectStyles)(l.ownerDocument),(0,s.default)("DraggableCore: handleDragStop: %j",a),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,l&&((0,s.default)("DraggableCore: Removing handlers"),(0,r.removeEvent)(l.ownerDocument,u.move,this.handleDrag),(0,r.removeEvent)(l.ownerDocument,u.stop,this.handleDragStop))})),l(this,"onMouseDown",(e=>(u=d,this.handleDragStart(e)))),l(this,"onMouseUp",(e=>(u=d,this.handleDragStop(e)))),l(this,"onTouchStart",(e=>(u=c,this.handleDragStart(e)))),l(this,"onTouchEnd",(e=>(u=c,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,r.addEvent)(e,c.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,r.removeEvent)(t,d.move,this.handleDrag),(0,r.removeEvent)(t,c.move,this.handleDrag),(0,r.removeEvent)(t,d.stop,this.handleDragStop),(0,r.removeEvent)(t,c.stop,this.handleDragStop),(0,r.removeEvent)(e,c.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,r.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:n.default.findDOMNode(this)}render(){return e.cloneElement(e.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};return ES.default=h,l(h,"displayName","DraggableCore"),l(h,"propTypes",{allowAnyClick:t.default.bool,allowMobileScroll:t.default.bool,children:t.default.node.isRequired,disabled:t.default.bool,enableUserSelectHack:t.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:t.default.arrayOf(t.default.number),handle:t.default.string,cancel:t.default.string,nodeRef:t.default.object,onStart:t.default.func,onDrag:t.default.func,onStop:t.default.func,onMouseDown:t.default.func,scale:t.default.number,className:i.dontSetMe,style:i.dontSetMe,transform:i.dontSetMe}),l(h,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),ES}function AS(){return SS||(SS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return l.default}}),e.default=void 0;var t=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(s,t,i):s[t]=e[t]);return s}(e,t)}(te),n=d(cS()),r=d(xe),o=function(){if(dS)return uS.exports;function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function t(){for(var t,n,r=0,o="",i=arguments.length;r<i;r++)(t=arguments[r])&&(n=e(t))&&(o&&(o+=" "),o+=n);return o}return dS=1,uS.exports=t,uS.exports.clsx=t,uS.exports}(),i=yS(),s=CS(),a=mS(),l=d(LS()),c=d(OS());function d(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p extends t.Component{static getDerivedStateFromProps(e,t){let{position:n}=e,{prevPropsPosition:r}=t;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,c.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:{...n}})}constructor(e){super(e),h(this,"onDragStart",((e,t)=>{(0,c.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,s.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),h(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,c.default)("Draggable: onDrag: %j",t);const n=(0,s.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[o,i]=(0,s.getBoundPosition)(this,r.x,r.y);r.x=o,r.y=i,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)})),h(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,s.createDraggableData)(this,t)))return!1;(0,c.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??r.default.findDOMNode(this)}render(){const{axis:e,bounds:n,children:r,defaultPosition:a,defaultClassName:c,defaultClassNameDragging:d,defaultClassNameDragged:h,position:p,positionOffset:f,scale:m,...g}=this.props;let b={},v=null;const y=!Boolean(p)||this.state.dragging,w=p||a,x={x:(0,s.canDragX)(this)&&y?this.state.x:w.x,y:(0,s.canDragY)(this)&&y?this.state.y:w.y};this.state.isElementSVG?v=(0,i.createSVGTransform)(x,f):b=(0,i.createCSSTransform)(x,f);const C=(0,o.clsx)(r.props.className||"",c,{[d]:this.state.dragging,[h]:this.state.dragged});return t.createElement(l.default,u({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(t.Children.only(r),{className:C,style:{...r.props.style,...b},transform:v}))}}e.default=p,h(p,"displayName","Draggable"),h(p,"propTypes",{...l.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:a.dontSetMe,style:a.dontSetMe,transform:a.dontSetMe}),h(p,"defaultProps",{...l.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(_$)),_$}var NS=function(){if(MS)return B$.exports;MS=1;const{default:e,DraggableCore:t}=AS();return B$.exports=e,B$.exports.default=e,B$.exports.DraggableCore=t,B$.exports}(),RS=Sf(NS);const DS=(e="medium",t,n,r)=>{const o=t?Me(t):{xsmall:"15rem",small:"20rem",medium:"30rem",large:"40rem",xlarge:"60rem","full-width":"90%"}[e]||"15rem",i=r?Me(r):{xsmall:"35rem",small:"45rem",medium:"45rem",large:"45rem",xlarge:"45rem","full-width":"unset"}[e]||"35rem",s="unset"===i?"80vh":`min(${i}, 80vh)`;let a="auto";return n?a=Me(n):"full-width"===e&&(a="90%"),ke`
3158
+ */function sS(){return K$||(K$=1,"production"===process.env.NODE_ENV?q$.exports=function(){if(B$)return W$;B$=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case l:case c:case r:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case a:case d:case f:case p:case s:return e;default:return h}}case n:return h}}}function w(e){return y(e)===c}return W$.AsyncMode=l,W$.ConcurrentMode=c,W$.ContextConsumer=a,W$.ContextProvider=s,W$.Element=t,W$.ForwardRef=d,W$.Fragment=r,W$.Lazy=f,W$.Memo=p,W$.Portal=n,W$.Profiler=i,W$.StrictMode=o,W$.Suspense=u,W$.isAsyncMode=function(e){return w(e)||y(e)===l},W$.isConcurrentMode=w,W$.isContextConsumer=function(e){return y(e)===a},W$.isContextProvider=function(e){return y(e)===s},W$.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},W$.isForwardRef=function(e){return y(e)===d},W$.isFragment=function(e){return y(e)===r},W$.isLazy=function(e){return y(e)===f},W$.isMemo=function(e){return y(e)===p},W$.isPortal=function(e){return y(e)===n},W$.isProfiler=function(e){return y(e)===i},W$.isStrictMode=function(e){return y(e)===o},W$.isSuspense=function(e){return y(e)===u},W$.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===u||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},W$.typeOf=y,W$}():q$.exports=(U$||(U$=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case u:return m;default:var g=m&&m.$$typeof;switch(g){case a:case d:case f:case p:case s:return g;default:return h}}case n:return h}}}var w=l,x=c,C=a,k=s,$=t,S=d,M=r,E=f,T=p,O=n,L=i,A=o,N=u,R=!1;function D(e){return y(e)===c}iS.AsyncMode=w,iS.ConcurrentMode=x,iS.ContextConsumer=C,iS.ContextProvider=k,iS.Element=$,iS.ForwardRef=S,iS.Fragment=M,iS.Lazy=E,iS.Memo=T,iS.Portal=O,iS.Profiler=L,iS.StrictMode=A,iS.Suspense=N,iS.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||y(e)===l},iS.isConcurrentMode=D,iS.isContextConsumer=function(e){return y(e)===a},iS.isContextProvider=function(e){return y(e)===s},iS.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},iS.isForwardRef=function(e){return y(e)===d},iS.isFragment=function(e){return y(e)===r},iS.isLazy=function(e){return y(e)===f},iS.isMemo=function(e){return y(e)===p},iS.isPortal=function(e){return y(e)===n},iS.isProfiler=function(e){return y(e)===i},iS.isStrictMode=function(e){return y(e)===o},iS.isSuspense=function(e){return y(e)===u},iS.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===u||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},iS.typeOf=y}()),iS)),q$.exports}function aS(){if(Z$)return G$;Z$=1;return G$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function lS(){return X$?J$:(X$=1,J$=Function.call.bind(Object.prototype.hasOwnProperty))}function cS(){if(tS)return eS;tS=1;var e=sS(),t=$e,n=aS(),r=lS(),o=function(){if(Q$)return Y$;Q$=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=aS(),n={},r=lS();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var d;try{if("function"!=typeof o[c]){var u=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}d=o[c](i,c,a,s,null,t)}catch(e){d=e}if(!d||d instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var h=l?l():"";e("Failed "+s+" type: "+d.message+(null!=h?h:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Y$=o}(),i=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),eS=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var d="<<anonymous>>",u={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:f(s),arrayOf:function(e){return f((function(t,r,o,i,s){if("function"!=typeof e)return new p("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[r];if(!Array.isArray(a))return new p("Invalid "+i+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,i,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:f((function(e,t,n,r,o){var i=e[t];return a(i)?null:new p("Invalid "+r+" `"+o+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:f((function(t,n,r,o,i){var s=t[n];return e.isValidElementType(s)?null:new p("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,n,r,o,i){if(!(t[n]instanceof e)){var s=e.name||d;return new p("Invalid "+o+" `"+i+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:d)+"` supplied to `")+r+"`, expected instance of `"+s+"`.")}var a;return null}))},node:f((function(e,t,n,r,o){return b(e[t])?null:new p("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,o,i,s,a){if("function"!=typeof e)return new p("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new p("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var d in l)if(r(l,d)){var u=e(l,d,i,s,a+"."+d,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s;return f((function(t,n,r,o,i){for(var s=t[n],a=0;a<e.length;a++)if(h(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new p("Invalid "+o+" `"+i+"` of value `"+String(s)+"` supplied to `"+r+"`, expected one of "+l+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(o)+" at index "+t+"."),s}return f((function(t,o,i,s,a){for(var l=[],c=0;c<e.length;c++){var d=(0,e[c])(t,o,i,s,a,n);if(null==d)return null;d.data&&r(d.data,"expectedType")&&l.push(d.data.expectedType)}return new p("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return f((function(t,r,o,i,s){var a=t[r],l=v(a);if("object"!==l)return new p("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return g(o,i,s,c,y(d));var u=d(a,c,o,i,s+"."+c,n);if(u)return u}return null}))},exact:function(e){return f((function(o,i,s,a,l){var c=o[i],d=v(c);if("object"!==d)return new p("Invalid "+a+" `"+l+"` of type `"+d+"` supplied to `"+s+"`, expected `object`.");var u=t({},o[i],e);for(var h in u){var f=e[h];if(r(e,h)&&"function"!=typeof f)return g(s,a,l,h,y(f));if(!f)return new p("Invalid "+a+" `"+l+"` key `"+h+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=f(c,h,s,a,l+"."+h,n);if(m)return m}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function f(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,s,a,c,u,h,f){if(c=c||d,h=h||a,f!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,r++)}}return null==s[a]?o?null===s[a]?new p("The "+u+" `"+h+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+u+" `"+h+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,u,h)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function m(e){return f((function(t,n,r,o,i,s){var a=t[n];return v(a)!==e?new p("Invalid "+o+" `"+i+"` of type `"+y(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,o){return new p((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return p.prototype=Error.prototype,u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},eS}function dS(){if(oS)return F$.exports;if(oS=1,"production"!==process.env.NODE_ENV){var e=sS();F$.exports=cS()(e.isElement,!0)}else F$.exports=function(){if(rS)return nS;rS=1;var e=aS();function t(){}function n(){}return n.resetWarningCache=t,nS=function(){function r(t,n,r,o,i,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},nS}()();return F$.exports}var uS,hS={exports:{}};var pS,fS={},mS={};function gS(){if(pS)return mS;return pS=1,Object.defineProperty(mS,"__esModule",{value:!0}),mS.dontSetMe=function(e,t,n){if(e[t])return new Error(`Invalid prop ${t} passed to ${n} - do not set this, set it on the child.`)},mS.findInArray=function(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},mS.int=function(e){return parseInt(e,10)},mS.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},mS.isNum=function(e){return"number"==typeof e&&!isNaN(e)},mS}var bS,vS,yS={};function wS(){if(vS)return fS;vS=1,Object.defineProperty(fS,"__esModule",{value:!0}),fS.addClassName=s,fS.addEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},fS.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&s(e.body,"react-draggable-transparent-selection")},fS.createCSSTransform=function(e,n){const r=o(e,n,"px");return{[(0,t.browserPrefixToKey)("transform",t.default)]:r}},fS.createSVGTransform=function(e,t){return o(e,t,"")},fS.getTouch=function(t,n){return t.targetTouches&&(0,e.findInArray)(t.targetTouches,(e=>n===e.identifier))||t.changedTouches&&(0,e.findInArray)(t.changedTouches,(e=>n===e.identifier))},fS.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},fS.getTranslation=o,fS.innerHeight=function(t){let n=t.clientHeight;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n-=(0,e.int)(r.paddingTop),n-=(0,e.int)(r.paddingBottom),n},fS.innerWidth=function(t){let n=t.clientWidth;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n-=(0,e.int)(r.paddingLeft),n-=(0,e.int)(r.paddingRight),n},fS.matchesSelector=r,fS.matchesSelectorAndParentsTo=function(e,t,n){let o=e;do{if(r(o,t))return!0;if(o===n)return!1;o=o.parentNode}while(o);return!1},fS.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,i=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:i}},fS.outerHeight=function(t){let n=t.clientHeight;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n+=(0,e.int)(r.borderTopWidth),n+=(0,e.int)(r.borderBottomWidth),n},fS.outerWidth=function(t){let n=t.clientWidth;const r=t.ownerDocument.defaultView.getComputedStyle(t);return n+=(0,e.int)(r.borderLeftWidth),n+=(0,e.int)(r.borderRightWidth),n},fS.removeClassName=a,fS.removeEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},fS.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame((()=>{i(e)})):i(e)};var e=gS(),t=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(s,t,i):s[t]=e[t]);return s}(e,t)}(function(){if(bS)return yS;bS=1,Object.defineProperty(yS,"__esModule",{value:!0}),yS.browserPrefixToKey=n,yS.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},yS.default=void 0,yS.getPrefix=t;const e=["Moz","Webkit","O","ms"];function t(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const r=window.document?.documentElement?.style;if(!r)return"";if(t in r)return"";for(let o=0;o<e.length;o++)if(n(t,e[o])in r)return e[o];return""}function n(e,t){return t?`${t}${function(e){let t="",n=!0;for(let r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)}`:e}return yS.default=t(),yS}());let n="";function r(t,r){return n||(n=(0,e.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(n){return(0,e.isFunction)(t[n])}))),!!(0,e.isFunction)(t[n])&&t[n](r)}function o(e,t,n){let{x:r,y:o}=e,i=`translate(${r}${n},${o}${n})`;if(t){i=`translate(${`${"string"==typeof t.x?t.x:t.x+n}`}, ${`${"string"==typeof t.y?t.y:t.y+n}`})`+i}return i}function i(e){if(e)try{if(e.body&&a(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function s(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function a(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}return fS}var xS,CS={};function kS(){if(xS)return CS;xS=1,Object.defineProperty(CS,"__esModule",{value:!0}),CS.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},CS.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},CS.createCoreData=function(t,r,o){const i=!(0,e.isNum)(t.lastX),s=n(t);return i?{node:s,deltaX:0,deltaY:0,lastX:r,lastY:o,x:r,y:o}:{node:s,deltaX:r-t.lastX,deltaY:o-t.lastY,lastX:t.lastX,lastY:t.lastY,x:r,y:o}},CS.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},CS.getBoundPosition=function(r,o,i){if(!r.props.bounds)return[o,i];let{bounds:s}=r.props;s="string"==typeof s?s:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(s);const a=n(r);if("string"==typeof s){const{ownerDocument:n}=a,r=n.defaultView;let o;if("parent"===s)o=a.parentNode;else{o=a.getRootNode().querySelector(s)}if(!(o instanceof r.HTMLElement))throw new Error('Bounds selector "'+s+'" could not find an element.');const i=o,l=r.getComputedStyle(a),c=r.getComputedStyle(i);s={left:-a.offsetLeft+(0,e.int)(c.paddingLeft)+(0,e.int)(l.marginLeft),top:-a.offsetTop+(0,e.int)(c.paddingTop)+(0,e.int)(l.marginTop),right:(0,t.innerWidth)(i)-(0,t.outerWidth)(a)-a.offsetLeft+(0,e.int)(c.paddingRight)-(0,e.int)(l.marginRight),bottom:(0,t.innerHeight)(i)-(0,t.outerHeight)(a)-a.offsetTop+(0,e.int)(c.paddingBottom)-(0,e.int)(l.marginBottom)}}(0,e.isNum)(s.right)&&(o=Math.min(o,s.right));(0,e.isNum)(s.bottom)&&(i=Math.min(i,s.bottom));(0,e.isNum)(s.left)&&(o=Math.max(o,s.left));(0,e.isNum)(s.top)&&(i=Math.max(i,s.top));return[o,i]},CS.getControlPosition=function(e,r,o){const i="number"==typeof r?(0,t.getTouch)(e,r):null;if("number"==typeof r&&!i)return null;const s=n(o),a=o.props.offsetParent||s.offsetParent||s.ownerDocument.body;return(0,t.offsetXYFromParent)(i||e,a,o.props.scale)},CS.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var e=gS(),t=wS();function n(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}return CS}var $S,SS,MS,ES,TS={},OS={};function LS(){if($S)return OS;return $S=1,Object.defineProperty(OS,"__esModule",{value:!0}),OS.default=function(){},OS}function AS(){if(SS)return TS;SS=1,Object.defineProperty(TS,"__esModule",{value:!0}),TS.default=void 0;var e=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(s,t,i):s[t]=e[t]);return s}(e,t)}(te),t=a(dS()),n=a(xe),r=wS(),o=kS(),i=gS(),s=a(LS());function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c={start:"touchstart",move:"touchmove",stop:"touchend"},d={start:"mousedown",move:"mousemove",stop:"mouseup"};let u=d,h=class extends e.Component{constructor(){super(...arguments),l(this,"dragging",!1),l(this,"lastX",NaN),l(this,"lastY",NaN),l(this,"touchIdentifier",null),l(this,"mounted",!1),l(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,r.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,r.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();const i=(0,r.getTouchIdentifier)(e);this.touchIdentifier=i;const a=(0,o.getControlPosition)(e,i,this);if(null==a)return;const{x:l,y:c}=a,d=(0,o.createCoreData)(this,l,c);(0,s.default)("DraggableCore: handleDragStart: %j",d),(0,s.default)("calling",this.props.onStart);!1!==this.props.onStart(e,d)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,r.addUserSelectStyles)(n),this.dragging=!0,this.lastX=l,this.lastY=c,(0,r.addEvent)(n,u.move,this.handleDrag),(0,r.addEvent)(n,u.stop,this.handleDragStop))})),l(this,"handleDrag",(e=>{const t=(0,o.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,o.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const i=(0,o.createCoreData)(this,n,r);(0,s.default)("DraggableCore: handleDrag: %j",i);if(!1!==this.props.onDrag(e,i)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),l(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,o.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:i}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=i-this.lastY||0;[e,t]=(0,o.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,i=this.lastY+t}const a=(0,o.createCoreData)(this,n,i);if(!1===this.props.onStop(e,a)||!1===this.mounted)return!1;const l=this.findDOMNode();l&&this.props.enableUserSelectHack&&(0,r.scheduleRemoveUserSelectStyles)(l.ownerDocument),(0,s.default)("DraggableCore: handleDragStop: %j",a),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,l&&((0,s.default)("DraggableCore: Removing handlers"),(0,r.removeEvent)(l.ownerDocument,u.move,this.handleDrag),(0,r.removeEvent)(l.ownerDocument,u.stop,this.handleDragStop))})),l(this,"onMouseDown",(e=>(u=d,this.handleDragStart(e)))),l(this,"onMouseUp",(e=>(u=d,this.handleDragStop(e)))),l(this,"onTouchStart",(e=>(u=c,this.handleDragStart(e)))),l(this,"onTouchEnd",(e=>(u=c,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,r.addEvent)(e,c.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,r.removeEvent)(t,d.move,this.handleDrag),(0,r.removeEvent)(t,c.move,this.handleDrag),(0,r.removeEvent)(t,d.stop,this.handleDragStop),(0,r.removeEvent)(t,c.stop,this.handleDragStop),(0,r.removeEvent)(e,c.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,r.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:n.default.findDOMNode(this)}render(){return e.cloneElement(e.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};return TS.default=h,l(h,"displayName","DraggableCore"),l(h,"propTypes",{allowAnyClick:t.default.bool,allowMobileScroll:t.default.bool,children:t.default.node.isRequired,disabled:t.default.bool,enableUserSelectHack:t.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:t.default.arrayOf(t.default.number),handle:t.default.string,cancel:t.default.string,nodeRef:t.default.object,onStart:t.default.func,onDrag:t.default.func,onStop:t.default.func,onMouseDown:t.default.func,scale:t.default.number,className:i.dontSetMe,style:i.dontSetMe,transform:i.dontSetMe}),l(h,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),TS}function NS(){return MS||(MS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return l.default}}),e.default=void 0;var t=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(o=t?r:n){if(o.has(e))return o.get(e);o.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(s,t,i):s[t]=e[t]);return s}(e,t)}(te),n=d(dS()),r=d(xe),o=function(){if(uS)return hS.exports;function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}function t(){for(var t,n,r=0,o="",i=arguments.length;r<i;r++)(t=arguments[r])&&(n=e(t))&&(o&&(o+=" "),o+=n);return o}return uS=1,hS.exports=t,hS.exports.clsx=t,hS.exports}(),i=wS(),s=kS(),a=gS(),l=d(AS()),c=d(LS());function d(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p extends t.Component{static getDerivedStateFromProps(e,t){let{position:n}=e,{prevPropsPosition:r}=t;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,c.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:{...n}})}constructor(e){super(e),h(this,"onDragStart",((e,t)=>{(0,c.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,s.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),h(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,c.default)("Draggable: onDrag: %j",t);const n=(0,s.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[o,i]=(0,s.getBoundPosition)(this,r.x,r.y);r.x=o,r.y=i,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)})),h(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,s.createDraggableData)(this,t)))return!1;(0,c.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??r.default.findDOMNode(this)}render(){const{axis:e,bounds:n,children:r,defaultPosition:a,defaultClassName:c,defaultClassNameDragging:d,defaultClassNameDragged:h,position:p,positionOffset:f,scale:m,...g}=this.props;let b={},v=null;const y=!Boolean(p)||this.state.dragging,w=p||a,x={x:(0,s.canDragX)(this)&&y?this.state.x:w.x,y:(0,s.canDragY)(this)&&y?this.state.y:w.y};this.state.isElementSVG?v=(0,i.createSVGTransform)(x,f):b=(0,i.createCSSTransform)(x,f);const C=(0,o.clsx)(r.props.className||"",c,{[d]:this.state.dragging,[h]:this.state.dragged});return t.createElement(l.default,u({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(t.Children.only(r),{className:C,style:{...r.props.style,...b},transform:v}))}}e.default=p,h(p,"displayName","Draggable"),h(p,"propTypes",{...l.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:a.dontSetMe,style:a.dontSetMe,transform:a.dontSetMe}),h(p,"defaultProps",{...l.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(j$)),j$}var RS=function(){if(ES)return _$.exports;ES=1;const{default:e,DraggableCore:t}=NS();return _$.exports=e,_$.exports.default=e,_$.exports.DraggableCore=t,_$.exports}(),DS=Sf(RS);const PS=(e="medium",t,n,r)=>{const o=t?Me(t):{xsmall:"15rem",small:"20rem",medium:"30rem",large:"40rem",xlarge:"60rem","full-width":"90%"}[e]||"15rem",i=r?Me(r):{xsmall:"35rem",small:"45rem",medium:"45rem",large:"45rem",xlarge:"45rem","full-width":"unset"}[e]||"35rem",s="unset"===i?"80vh":`min(${i}, 80vh)`;let a="auto";return n?a=Me(n):"full-width"===e&&(a="90%"),ke`
3158
3159
  max-width: 100%;
3159
3160
  width: ${o};
3160
3161
  height: ${a};
@@ -3164,7 +3165,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3164
3165
  border-radius: ${Be(300)};
3165
3166
  box-shadow: 0 0.25rem 0.375rem -0.25rem #0000001a;
3166
3167
  box-shadow: 0 0.625rem 0.9375rem -0.1875rem #0000001a;
3167
- `},PS=ke`
3168
+ `},IS=ke`
3168
3169
  height: 100%;
3169
3170
  min-height: ${Ve(1e3)};
3170
3171
  display: flex;
@@ -3173,11 +3174,11 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3173
3174
  padding: ${Ve(200)};
3174
3175
  border-bottom: ${_e(100)} solid
3175
3176
  ${Ie("neutral",300)};
3176
- `,IS=ke`
3177
- top: ${Ve(300)};
3178
3177
  `,zS=ke`
3178
+ top: ${Ve(300)};
3179
+ `,VS=ke`
3179
3180
  padding: 0;
3180
- `,VS=({header:e,content:t,footer:n,size:r="medium",width:o,height:i,maxHeight:s,draggable:l,blocking:c,open:d,onClose:u,labels:h,lazyMount:p,unmountOnExit:f,restoreFocus:m,modal:g,initialFocusEl:b,finalFocusEl:v,trapFocus:y})=>{const w=tg("Modal",h),x=se(null);return d?ve(z.Root,{open:d,onOpenChange:u,placement:"center",scrollBehavior:"inside",closeOnInteractOutside:!l&&!c,preventScroll:!l&&!c,closeOnEscape:!c,defaultOpen:!0,trapFocus:y,lazyMount:p,unmountOnExit:f,restoreFocus:m,modal:g,initialFocusEl:b,finalFocusEl:v,children:be(a,{children:[l?null:ve(z.Backdrop,{css:{background:"rgba(0, 0, 0, 0.64)"}}),ve(RS,{disabled:!l,nodeRef:x,children:ve(z.Positioner,{ref:x,children:be(z.Content,{"aria-label":w.dialogAriaLabel,css:DS(r,o,i,s),children:[be(z.Header,{css:PS,children:[e,c?null:ve(z.CloseTrigger,{css:IS,asChild:!0,children:ve(jb,{})})]}),ve(z.Body,{css:zS,children:t}),n?ve(z.Footer,{padding:"0.75rem",children:n}):null]})})})]})}):null},HS=e=>ke`
3181
+ `,HS=({header:e,content:t,footer:n,size:r="medium",width:o,height:i,maxHeight:s,draggable:l,blocking:c,open:d,onClose:u,labels:h,lazyMount:p,unmountOnExit:f,restoreFocus:m,modal:g,initialFocusEl:b,finalFocusEl:v,trapFocus:y})=>{const w=tg("Modal",h),x=se(null);return d?ve(z.Root,{open:d,onOpenChange:u,placement:"center",scrollBehavior:"inside",closeOnInteractOutside:!l&&!c,preventScroll:!l&&!c,closeOnEscape:!c,defaultOpen:!0,trapFocus:y,lazyMount:p,unmountOnExit:f,restoreFocus:m,modal:g,initialFocusEl:b,finalFocusEl:v,children:be(a,{children:[l?null:ve(z.Backdrop,{css:{background:"rgba(0, 0, 0, 0.64)"}}),ve(DS,{disabled:!l,nodeRef:x,children:ve(z.Positioner,{ref:x,children:be(z.Content,{"aria-label":w.dialogAriaLabel,css:PS(r,o,i,s),children:[be(z.Header,{css:IS,children:[e,c?null:ve(z.CloseTrigger,{css:zS,asChild:!0,children:ve(Fb,{})})]}),ve(z.Body,{css:VS,children:t}),n?ve(z.Footer,{padding:"0.75rem",children:n}):null]})})})]})}):null},BS=e=>ke`
3181
3182
  display: flex;
3182
3183
  flex-direction: column;
3183
3184
  height: 100%;
@@ -3185,19 +3186,19 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3185
3186
  background-color: ${Ie("neutral",100)};
3186
3187
  box-shadow: 0 0.0625rem 0.125rem -0.0625rem #0000001a;
3187
3188
  box-shadow: 0 0.0625rem 0.1875rem 0 #0000001a;
3188
- `,BS=ke`
3189
+ `,_S=ke`
3189
3190
  border-right: ${_e(100)} solid
3190
3191
  ${Ie("neutral",300)};
3191
- `,_S=ke`
3192
+ `,jS=ke`
3192
3193
  border: ${_e(100)} solid ${Ie("neutral",300)};
3193
3194
  border-radius: ${Be(300)};
3194
- `,jS=ke`
3195
+ `,FS=ke`
3195
3196
  flex-shrink: 0;
3196
3197
  min-height: ${Ve(1200)};
3197
3198
  width: 100%;
3198
3199
  border-bottom: ${_e(100)} solid
3199
3200
  ${Ie("neutral",300)};
3200
- `,FS=ke`
3201
+ `,qS=ke`
3201
3202
  flex: 1;
3202
3203
  min-height: 0;
3203
3204
  width: 100%;
@@ -3206,7 +3207,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3206
3207
  &:focus-visible {
3207
3208
  outline-color: ${Ie("primary",700)};
3208
3209
  }
3209
- `,qS=ke`
3210
+ `,WS=ke`
3210
3211
  flex-shrink: 0;
3211
3212
  min-height: ${Ve(1600)};
3212
3213
  width: 100%;
@@ -3215,7 +3216,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as o,Ic
3215
3216
  justify-content: flex-start;
3216
3217
  border-top: ${_e(100)} solid
3217
3218
  ${Ie("neutral",300)};
3218
- `,WS=({header:e,content:t,footer:n,variant:r="fixed",width:o})=>{const i=he();return be("div",{role:"region","aria-labelledby":e?i:void 0,css:[HS(o),"fixed"===r?BS:_S],children:[e?ve("div",{id:i,css:jS,children:e}):null,ve("div",{css:FS,children:t}),n?ve("div",{css:qS,children:n}):null]})};var US,KS;!function(){if(KS)return US;KS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,(function(){return t[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,r){var o=arguments.length;r=new Array(o>2?o-2:0);for(var i=2;i<o;i++)r[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(r))}}US=e}();var GS=ZS()?de:ce;"production"!==process.env.NODE_ENV&&("undefined"!=typeof process?process:{env:{NODE_ENV:"development"}}).env;function ZS(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var JS=function(e){var t,n=e.children,r=e.type,o=void 0===r?"reach-portal":r,i=se(null),s=se(null),a=(t=ae(Object.create(null))[1],ue((function(){t(Object.create(null))}),[]));return GS((function(){if(i.current){var e=i.current.ownerDocument;return s.current=null==e?void 0:e.createElement(o),e.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}}),[o,a]),s.current?Ce(n,s.current):fe("span",{ref:i})};"production"!==process.env.NODE_ENV&&(JS.displayName="Portal");
3219
+ `,US=({header:e,content:t,footer:n,variant:r="fixed",width:o})=>{const i=he();return be("div",{role:"region","aria-labelledby":e?i:void 0,css:[BS(o),"fixed"===r?_S:jS],children:[e?ve("div",{id:i,css:FS,children:e}):null,ve("div",{css:qS,children:t}),n?ve("div",{css:WS,children:n}):null]})};var KS,GS;!function(){if(GS)return KS;GS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,(function(){return t[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,r){var o=arguments.length;r=new Array(o>2?o-2:0);for(var i=2;i<o;i++)r[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(r))}}KS=e}();var ZS=JS()?de:ce;"production"!==process.env.NODE_ENV&&("undefined"!=typeof process?process:{env:{NODE_ENV:"development"}}).env;function JS(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var XS=function(e){var t,n=e.children,r=e.type,o=void 0===r?"reach-portal":r,i=se(null),s=se(null),a=(t=ae(Object.create(null))[1],ue((function(){t(Object.create(null))}),[]));return ZS((function(){if(i.current){var e=i.current.ownerDocument;return s.current=null==e?void 0:e.createElement(o),e.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}}),[o,a]),s.current?Ce(n,s.current):fe("span",{ref:i})};"production"!==process.env.NODE_ENV&&(XS.displayName="Portal");
3219
3220
  /*! *****************************************************************************
3220
3221
  Copyright (c) Microsoft Corporation.
3221
3222
 
@@ -3229,16 +3230,16 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3229
3230
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3230
3231
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3231
3232
  PERFORMANCE OF THIS SOFTWARE.
3232
- ***************************************************************************** */var XS,YS,QS=function(){return QS=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},QS.apply(this,arguments)};function eM(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function tM(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nM(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function rM(e,t,n){if(2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}!function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"}(XS||(XS={})),function(e){e.Parent="#_parent",e.Internal="#_internal"}(YS||(YS={}));var oM=XS.Start,iM=XS.Stop,sM=XS.Raise,aM=XS.Send,lM=XS.Cancel,cM=XS.NullEvent,dM=XS.Assign;XS.After,XS.DoneState;var uM=XS.Log,hM=XS.Init,pM=XS.Invoke;XS.ErrorExecution;var fM,mM=XS.ErrorPlatform,gM=XS.ErrorCustom,bM=XS.Update,vM=XS.Choose,yM=XS.Pure,wM={},xM="xstate.guard",CM="production"===process.env.NODE_ENV;function kM(e,t,n){void 0===n&&(n=".");var r=MM(e,n),o=MM(t,n);return jM(o)?!!jM(r)&&o===r:jM(r)?r in o:Object.keys(r).every((function(e){return e in o&&kM(r[e],o[e])}))}function $M(e){try{return jM(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw new Error("Events must be strings or objects with a string event.type property.")}}function SM(e,t){try{return BM(e)?e:e.toString().split(t)}catch(t){throw new Error("'".concat(e,"' is not a valid state path."))}}function MM(e,t){return"object"==typeof(n=e)&&"value"in n&&"context"in n&&"event"in n&&"_event"in n?e.value:BM(e)?EM(e):"string"!=typeof e?e:EM(SM(e,t));var n}function EM(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function TM(e,t){for(var n={},r=Object.keys(e),o=0;o<r.length;o++){var i=r[o];n[i]=t(e[i],i,e,o)}return n}function OM(e,t,n){var r,o,i={};try{for(var s=tM(Object.keys(e)),a=s.next();!a.done;a=s.next()){var l=a.value,c=e[l];n(c)&&(i[l]=t(c,l,e))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}var LM=function(e){return function(t){var n,r,o=t;try{for(var i=tM(e),s=i.next();!s.done;s=i.next()){o=o[s.value]}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function AM(e){return e?jM(e)?[[e]]:NM(Object.keys(e).map((function(t){var n=e[t];return"string"==typeof n||n&&Object.keys(n).length?AM(e[t]).map((function(e){return[t].concat(e)})):[[t]]}))):[[]]}function NM(e){var t;return(t=[]).concat.apply(t,rM([],nM(e),!1))}function RM(e){return BM(e)?e:[e]}function DM(e){return void 0===e?[]:RM(e)}function PM(e,t,n){var r,o;if(_M(e))return e(t,n.data);var i={};try{for(var s=tM(Object.keys(e)),a=s.next();!a.done;a=s.next()){var l=a.value,c=e[l];_M(c)?i[l]=c(t,n.data):i[l]=c}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}function IM(e){return e instanceof Promise||!(null===e||!_M(e)&&"object"!=typeof e||!_M(e.then))}function zM(e,t){return TM(e.states,(function(e,n){if(e){var r=(jM(t)?void 0:t[n])||(e?e.current:void 0);if(r)return{current:r,states:zM(e,r)}}}))}function VM(e,t,n,r){CM||HM(!!e,"Attempting to update undefined context");var o=e?n.reduce((function(e,n){var o,i,s=n.assignment,a={state:r,action:n,_event:t},l={};if(_M(s))l=s(e,t.data,a);else try{for(var c=tM(Object.keys(s)),d=c.next();!d.done;d=c.next()){var u=d.value,h=s[u];l[u]=_M(h)?h(e,t.data,a):h}}catch(e){o={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return Object.assign({},e,l)}),e):e;return o}var HM=function(){};function BM(e){return Array.isArray(e)}function _M(e){return"function"==typeof e}function jM(e){return"string"==typeof e}function FM(e,t){if(e)return jM(e)?{type:xM,name:e,predicate:t?t[e]:void 0}:_M(e)?{type:xM,name:e.name,predicate:e}:e}CM||(HM=function(e,t){var n=e instanceof Error?e:void 0;if((n||!e)&&void 0!==console){var r=["Warning: ".concat(t)];n&&r.push(n),console.warn.apply(console,r)}});var qM=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function WM(e){return!!e&&"__xstatenode"in e}function UM(e,t){return jM(e)||"number"==typeof e?QS({type:e},t):e}function KM(e,t){if(!jM(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=UM(e);return QS({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function GM(e,t){return RM(t).map((function(t){return void 0===t||"string"==typeof t||WM(t)?{target:t,event:e}:QS(QS({},t),{event:e})}))}function ZM(e,t,n,r,o){var i=e.options.guards,s={state:o,cond:t,_event:r};if(t.type===xM)return((null==i?void 0:i[t.name])||t.predicate)(n,r.data,s);var a=null==i?void 0:i[t.type];if(!a)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return a(n,r.data,s)}function JM(e){return"string"==typeof e?{type:e}:e}function XM(e,t,n){var r=function(){},o="object"==typeof e,i=o?e:null;return{next:((o?e.next:e)||r).bind(i),error:((o?e.error:t)||r).bind(i),complete:((o?e.complete:n)||r).bind(i)}}function YM(e,t){return"".concat(e,":invocation[").concat(t,"]")}function QM(e){return(e.type===sM||e.type===aM&&e.to===YS.Internal)&&"number"!=typeof e.delay}(fM={})[qM]=function(){return this},fM[Symbol.observable]=function(){return this};var eE=KM({type:hM});function tE(e,t){return t&&t[e]||void 0}function nE(e,t){var n;if(jM(e)||"number"==typeof e)n=_M(r=tE(e,t))?{type:e,exec:r}:r||{type:e,exec:void 0};else if(_M(e))n={type:e.name||e.toString(),exec:e};else{var r;if(_M(r=tE(e.type,t)))n=QS(QS({},e),{exec:r});else if(r){var o=r.type||e.type;n=QS(QS(QS({},r),e),{type:o})}else n=e}return n}var rE=function(e,t){return e?(BM(e)?e:[e]).map((function(e){return nE(e,t)})):[]};function oE(e){var t=nE(e);return QS(QS({id:jM(e)?e:t.id},t),{type:t.type})}function iE(e,t){var n="".concat(XS.DoneState,".").concat(e),r={type:n,data:t,toString:function(){return n}};return r}function sE(e,t){var n="".concat(XS.DoneInvoke,".").concat(e),r={type:n,data:t,toString:function(){return n}};return r}function aE(e,t){var n="".concat(XS.ErrorPlatform,".").concat(e),r={type:n,data:t,toString:function(){return n}};return r}function lE(e,t,n,r,o,i,s){void 0===s&&(s=!1);var a=s?[]:function(e){var t,n,r=[];try{for(var o=tM(e),i=o.next();!i.done;i=o.next())for(var s=i.value,a=0;a<s.actions.length;)s.actions[a].type!==dM?a++:(r.push(s.actions[a]),s.actions.splice(a,1))}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}(o),l=a.length?VM(n,r,a,t):n,c=s?[n]:void 0,d=[];function u(o,a){var u;switch(a.type){case sM:var h=function(e,t,n,r){var o,i={_event:n},s=KM(_M(e.event)?e.event(t,n.data,i):e.event);if(jM(e.delay)){var a=r&&r[e.delay];o=_M(a)?a(t,n.data,i):a}else o=_M(e.delay)?e.delay(t,n.data,i):e.delay;return QS(QS({},e),{type:sM,_event:s,delay:o})}(a,l,r,e.options.delays);return i&&"number"==typeof h.delay&&i(h,l,r),h;case aM:var p=function(e,t,n,r){var o,i={_event:n},s=KM(_M(e.event)?e.event(t,n.data,i):e.event);if(jM(e.delay)){var a=r&&r[e.delay];o=_M(a)?a(t,n.data,i):a}else o=_M(e.delay)?e.delay(t,n.data,i):e.delay;var l=_M(e.to)?e.to(t,n.data,i):e.to;return QS(QS({},e),{to:l,_event:s,event:s.data,delay:o})}(a,l,r,e.options.delays);if(!CM){var f=a.delay;HM(!jM(f)||"number"==typeof p.delay,"No delay reference for delay expression '".concat(f,"' was found on machine '").concat(e.id,"'"))}return i&&p.to!==YS.Internal&&("entry"===o?d.push(p):i(p,l,r)),p;case uM:var m=function(e,t,n){return QS(QS({},e),{value:jM(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})}(a,l,r);return null==i||i(m,l,r),m;case vM:if(!(y=null===(u=a.conds.find((function(n){var o=FM(n.cond,e.options.guards);return!o||ZM(e,o,l,r,i?void 0:t)})))||void 0===u?void 0:u.actions))return[];var g=nM(lE(e,t,l,r,[{type:o,actions:rE(DM(y),e.options.actions)}],i,s),2),b=g[0],v=g[1];return l=v,null==c||c.push(l),b;case yM:var y;if(!(y=a.get(l,r.data)))return[];var w=nM(lE(e,t,l,r,[{type:o,actions:rE(DM(y),e.options.actions)}],i,s),2),x=w[0],C=w[1];return l=C,null==c||c.push(l),x;case iM:m=function(e,t,n){var r=_M(e.activity)?e.activity(t,n.data):e.activity,o="string"==typeof r?{id:r}:r;return{type:XS.Stop,activity:o}}(a,l,r);return null==i||i(m,n,r),m;case dM:l=VM(l,r,[a],i?void 0:t),null==c||c.push(l);break;default:var k=nE(a,e.options.actions),$=k.exec;if(i)i(k,l,r);else if($&&c){var S=c.length-1,M=QS(QS({},k),{exec:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];$.apply(void 0,rM([c[S]],nM(t),!1))}});k=M}return k}}var h=NM(o.map((function(e){var t,n,o=[];try{for(var s=tM(e.actions),a=s.next();!a.done;a=s.next()){var c=a.value,h=u(e.type,c);h&&(o=o.concat(h))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return d.forEach((function(e){i(e,l,r)})),d.length=0,o})));return[h,l]}var cE=function(e,t){return t(e)};function dE(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[qM]=function(){return this},t}function uE(e,t,n){var r=dE(t);if(r.deferred=!0,WM(e)){var o=r.state=cE(void 0,(function(){return(n?e.withContext(n):e).initialState}));r.getSnapshot=function(){return o}}return r}var hE=function(e){return"atomic"===e.type||"final"===e.type};function pE(e){return Object.keys(e.states).map((function(t){return e.states[t]}))}function fE(e){return pE(e).filter((function(e){return"history"!==e.type}))}function mE(e){var t=[e];return hE(e)?t:t.concat(NM(fE(e).map(mE)))}function gE(e,t){var n,r,o,i,s,a,l,c,d=vE(new Set(e)),u=new Set(t);try{for(var h=tM(u),p=h.next();!p.done;p=h.next())for(var f=(k=p.value).parent;f&&!u.has(f);)u.add(f),f=f.parent}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}var m=vE(u);try{for(var g=tM(u),b=g.next();!b.done;b=g.next()){if("compound"!==(k=b.value).type||m.get(k)&&m.get(k).length){if("parallel"===k.type)try{for(var v=(s=void 0,tM(fE(k))),y=v.next();!y.done;y=v.next()){var w=y.value;u.has(w)||(u.add(w),d.get(w)?d.get(w).forEach((function(e){return u.add(e)})):w.initialStateNodes.forEach((function(e){return u.add(e)})))}}catch(e){s={error:e}}finally{try{y&&!y.done&&(a=v.return)&&a.call(v)}finally{if(s)throw s.error}}}else d.get(k)?d.get(k).forEach((function(e){return u.add(e)})):k.initialStateNodes.forEach((function(e){return u.add(e)}))}}catch(e){o={error:e}}finally{try{b&&!b.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}try{for(var x=tM(u),C=x.next();!C.done;C=x.next()){var k;for(f=(k=C.value).parent;f&&!u.has(f);)u.add(f),f=f.parent}}catch(e){l={error:e}}finally{try{C&&!C.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}return u}function bE(e,t){var n=t.get(e);if(!n)return{};if("compound"===e.type){var r=n[0];if(!r)return{};if(hE(r))return r.key}var o={};return n.forEach((function(e){o[e.key]=bE(e,t)})),o}function vE(e){var t,n,r=new Map;try{for(var o=tM(e),i=o.next();!i.done;i=o.next()){var s=i.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function yE(e,t){return bE(e,vE(gE([e],t)))}function wE(e,t){return Array.isArray(e)?e.some((function(e){return e===t})):e instanceof Set&&e.has(t)}function xE(e,t){return"compound"===t.type?fE(t).some((function(t){return"final"===t.type&&wE(e,t)})):"parallel"===t.type&&fE(t).every((function(t){return xE(e,t)}))}function CE(e){return new Set(NM(e.map((function(e){return e.tags}))))}function kE(e,t){if(e===t)return!0;if(void 0===e||void 0===t)return!1;if(jM(e)||jM(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){return kE(e[n],t[n])}))}var $E=function(){function e(e){var t,n,r=this;this.actions=[],this.activities=wM,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||wM,this.meta=(void 0===(n=e.configuration)&&(n=[]),n.reduce((function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e}),{})),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!==(t=Array.isArray(e.tags)?new Set(e.tags):e.tags)&&void 0!==t?t:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return function(e){return rM([],nM(new Set(NM(rM([],nM(e.map((function(e){return e.ownEvents}))),!1)))),!1)}(r.configuration)}})}return e.from=function(t,n){return t instanceof e?t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:n,_event:eE,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var r=eE;return new e({value:t.value,context:n,_event:r,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(e,t){var n=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),jM(e))return[e];var r=Object.keys(e);return r.concat.apply(r,rM([],nM(r.map((function(r){return n.toStrings(e[r],t).map((function(e){return r+t+e}))}))),!1))},e.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var t=e.tags;e.machine;var n=eM(e,["configuration","transitions","tags","machine"]);return QS(QS({},n),{tags:Array.from(t)})},e.prototype.matches=function(e){return kM(e,this.value)},e.prototype.hasTag=function(e){return this.tags.has(e)},e.prototype.can=function(e){var t;CM&&HM(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var n=null===(t=this.machine)||void 0===t?void 0:t.getTransitionData(this,e);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some((function(e){return void 0!==e.target||e.actions.length}))},e}(),SE={deferEvents:!1},ME=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=QS(QS({},SE),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents)return void this.schedule(e);this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()}else this.queue.push(e)},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},e}(),EE=new Map,TE=0,OE=function(){return"x:".concat(TE++)},LE=function(e,t){return EE.set(e,t),e},AE=function(e){return EE.get(e)},NE=function(e){EE.delete(e)};function RE(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void(CM||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}function DE(e){if(RE()){var t=function(){var e=RE();if(e&&"__xstate__"in e)return e.__xstate__}();t&&t.register(e)}}function PE(e,t){void 0===t&&(t={});var n=e.initialState,r=new Set,o=[],i=!1,s=function(e){var t;return QS(((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[qM]=function(){return this},t),e)}({id:t.id,send:function(t){o.push(t),function(){if(!i){for(i=!0;o.length>0;){var t=o.shift();n=e.transition(n,t,a),r.forEach((function(e){return e.next(n)}))}i=!1}}()},getSnapshot:function(){return n},subscribe:function(e,t,o){var i=XM(e,t,o);return r.add(i),i.next(n),{unsubscribe:function(){r.delete(i)}}}}),a={parent:t.parent,self:s,id:t.id||"anonymous",observers:r};return n=e.start?e.start(a):n,s}var IE,zE={sync:!1,autoForward:!1};!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(IE||(IE={}));var VE=function(){function e(t,n){void 0===n&&(n=e.defaultOptions);var r=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=IE.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(e,t){if(BM(e))return r.batch(e),r.state;var n=KM(UM(e,t));if(r.status===IE.Stopped)return CM||HM(!1,'Event "'.concat(n.name,'" was sent to stopped service "').concat(r.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(n.data))),r.state;if(r.status!==IE.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(r.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return r.scheduler.schedule((function(){r.forward(n);var e=r._nextState(n);r.update(e,n)})),r._state},this.sendTo=function(e,t,n){var o,i=r.parent&&(t===YS.Parent||r.parent.id===t),s=i?r.parent:jM(t)?t===YS.Internal?r:r.children.get(t)||AE(t):(o=t)&&"function"==typeof o.send?t:void 0;if(s)if("machine"in s){if(r.status!==IE.Stopped||r.parent!==s||r.state.done){var a=QS(QS({},e),{name:e.name===gM?"".concat(aE(r.id)):e.name,origin:r.sessionId});!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([s,a]):s.send(a)}}else!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([s,e.data]):s.send(e.data);else{if(!i)throw new Error("Unable to send event to child '".concat(t,"' from service '").concat(r.id,"'."));CM||HM(!1,"Service '".concat(r.id,"' has no parent: unable to send event ").concat(e.type))}},this._exec=function(e,t,n,o){void 0===o&&(o=r.machine.options.actions);var i=e.exec||tE(e.type,o),s=_M(i)?i:i?i.exec:e.exec;if(s)try{return s(t,n.data,r.machine.config.predictableActionArguments?{action:e,_event:n}:{action:e,state:r.state,_event:n})}catch(e){throw r.parent&&r.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case sM:var a=e;r.defer(a);break;case aM:var l=e;if("number"==typeof l.delay)return void r.defer(l);l.to?r.sendTo(l._event,l.to,n===eE):r.send(l._event);break;case lM:r.cancel(e.sendId);break;case oM:if(r.status!==IE.Running)return;var c=e.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[c.id||c.type])break;if(c.type===XS.Invoke){var d=JM(c.src),u=r.machine.options.services?r.machine.options.services[d.type]:void 0,h=c.id,p=c.data;CM||HM(!("forward"in c),"`forward` property is deprecated (found in invocation of '".concat(c.src,"' in in machine '").concat(r.machine.id,"'). ")+"Please use `autoForward` instead.");var f="autoForward"in c?c.autoForward:!!c.forward;if(!u)return void(CM||HM(!1,"No service found for invocation '".concat(c.src,"' in machine '").concat(r.machine.id,"'.")));var m=p?PM(p,t,n):void 0;if("string"==typeof u)return;var g=_M(u)?u(t,n.data,{data:m,src:d,meta:c.meta}):u;if(!g)return;var b=void 0;WM(g)&&(g=m?g.withContext(m):g,b={autoForward:f}),r.spawn(g,h,b)}else r.spawnActivity(c);break;case iM:r.stopChild(e.activity.id);break;case uM:var v=e,y=v.label,w=v.value;y?r.logger(y,w):r.logger(w);break;default:CM||HM(!1,"No implementation found for action type '".concat(e.type,"'"))}};var o=QS(QS({},e.defaultOptions),n),i=o.clock,s=o.logger,a=o.parent,l=o.id,c=void 0!==l?l:t.id;this.id=c,this.logger=s,this.clock=i,this.parent=a,this.options=o,this.scheduler=new ME({deferEvents:this.options.deferEvents}),this.sessionId=OE()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:cE(this,(function(){return e._initialState=e.machine.initialState,e._initialState}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return CM||HM(this.status!==IE.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(e,t){var n,r;try{for(var o=tM(e.actions),i=o.next();!i.done;i=o.next()){var s=i.value;this.exec(s,e,t)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},e.prototype.update=function(e,t){var n,r,o,i,s,a,l,c,d=this;if(e._sessionid=this.sessionId,this._state=e,this.machine.config.predictableActionArguments&&t!==eE||!this.options.execute)for(var u=void 0;u=this._outgoingQueue.shift();)u[0].send(u[1]);else this.execute(this.state);if(this.children.forEach((function(e){d.state.children[e.id]=e})),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var h=tM(this.eventListeners),p=h.next();!p.done;p=h.next()){(0,p.value)(e.event)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var f=tM(this.listeners),m=f.next();!m.done;m=f.next()){(0,m.value)(e,e.event)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}try{for(var g=tM(this.contextListeners),b=g.next();!b.done;b=g.next()){(0,b.value)(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(e){s={error:e}}finally{try{b&&!b.done&&(a=g.return)&&a.call(g)}finally{if(s)throw s.error}}if(this.state.done){var v=e.configuration.find((function(e){return"final"===e.type&&e.parent===d.machine})),y=v&&v.doneData?PM(v.doneData,e.context,t):void 0;this._doneEvent=sE(this.id,y);try{for(var w=tM(this.doneListeners),x=w.next();!x.done;x=w.next()){(0,x.value)(this._doneEvent)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(c=w.return)&&c.call(w)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),NE(this.sessionId)}},e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===IE.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,t,n){var r=this,o=XM(e,t,n);this.listeners.add(o.next),this.status!==IE.NotStarted&&o.next(this.state);var i=function(){r.doneListeners.delete(i),r.stopListeners.delete(i),o.complete()};return this.status===IE.Stopped?o.complete():(this.onDone(i),this.onStop(i)),{unsubscribe:function(){r.listeners.delete(o.next),r.doneListeners.delete(i),r.stopListeners.delete(i)}}},e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},e.prototype.onSend=function(e){return this.sendListeners.add(e),this},e.prototype.onChange=function(e){return this.contextListeners.add(e),this},e.prototype.onStop=function(e){return this.stopListeners.add(e),this},e.prototype.onDone=function(e){return this.status===IE.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},e.prototype.start=function(e){var t=this;if(this.status===IE.Running)return this;this.machine._init(),LE(this.sessionId,this),this.initialized=!0,this.status=IE.Running;var n=void 0===e?this.initialState:cE(this,(function(){return"object"==typeof(n=e)&&null!==n&&"value"in n&&"_event"in n?t.machine.resolveState(e):t.machine.resolveState($E.from(e,t.machine.context));var n}));return this.options.devTools&&this.attachDev(),this.scheduler.initialize((function(){t.update(n,eE)})),this},e.prototype._stopChildren=function(){this.children.forEach((function(e){_M(e.stop)&&e.stop()})),this.children.clear()},e.prototype._stop=function(){var e,t,n,r,o,i,s,a,l,c;try{for(var d=tM(this.listeners),u=d.next();!u.done;u=d.next()){var h=u.value;this.listeners.delete(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}try{for(var p=tM(this.stopListeners),f=p.next();!f.done;f=p.next()){(h=f.value)(),this.stopListeners.delete(h)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}try{for(var m=tM(this.contextListeners),g=m.next();!g.done;g=m.next()){h=g.value;this.contextListeners.delete(h)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}try{for(var b=tM(this.doneListeners),v=b.next();!v.done;v=b.next()){h=v.value;this.doneListeners.delete(h)}}catch(e){s={error:e}}finally{try{v&&!v.done&&(a=b.return)&&a.call(b)}finally{if(s)throw s.error}}if(!this.initialized)return this;this.initialized=!1,this.status=IE.Stopped,this._initialState=void 0;try{for(var y=tM(Object.keys(this.delayedEventsMap)),w=y.next();!w.done;w=y.next()){var x=w.value;this.clock.clearTimeout(this.delayedEventsMap[x])}}catch(e){l={error:e}}finally{try{w&&!w.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new ME({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var e=this,t=this.scheduler;return this._stop(),t.schedule((function(){var t;if(!(null===(t=e._state)||void 0===t?void 0:t.done)){var n=KM({type:"xstate.stop"}),r=cE(e,(function(){var t=NM(rM([],nM(e.state.configuration),!1).sort((function(e,t){return t.order-e.order})).map((function(t){return rE(t.onExit,e.machine.options.actions)}))),r=nM(lE(e.machine,e.state,e.state.context,n,[{type:"exit",actions:t}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),o=r[0],i=r[1],s=new $E({value:e.state.value,context:i,_event:n,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:o.filter((function(e){return!QM(e)})),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return s.changed=!0,s}));e.update(r,n),e._stopChildren(),NE(e.sessionId)}})),this},e.prototype.batch=function(e){var t=this;if(this.status===IE.NotStarted&&this.options.deferEvents)CM||HM(!1,"".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==IE.Running)throw new Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule((function(){var r,o,i=t.state,s=!1,a=[],l=function(e){var r=KM(e);t.forward(r),i=cE(t,(function(){return t.machine.transition(i,r,void 0,n||void 0)})),a.push.apply(a,rM([],nM(t.machine.config.predictableActionArguments?i.actions:i.actions.map((function(e){return function(e,t){var n=e.exec;return QS(QS({},e),{exec:void 0!==n?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})}(e,i)}))),!1)),s=s||!!i.changed};try{for(var c=tM(e),d=c.next();!d.done;d=c.next()){l(d.value)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}i.changed=s,i.actions=a,t.update(i,KM(e[e.length-1]))}))}},e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var n=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var r=KM(e);if(0===r.name.indexOf(mM)&&!this.state.nextEvents.some((function(e){return 0===e.indexOf(mM)})))throw r.data.data;return cE(this,(function(){return n.machine.transition(n.state,r,void 0,t||void 0)}))},e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,n;try{for(var r=tM(this.forwardTo),o=r.next();!o.done;o=r.next()){var i=o.value,s=this.children.get(i);if(!s)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(i,"'."));s.send(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,n=this.clock.setTimeout((function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)}),e.delay);e.id&&(this.delayedEventsMap[e.id]=n)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,n){void 0===n&&(n=this.machine.options.actions),this._exec(e,t.context,t._event,n)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null===(t=this.state)||void 0===t||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);t&&(this.removeChild(e),_M(t.stop)&&t.stop())},e.prototype.spawn=function(e,t,n){if(this.status!==IE.Running)return uE(e,t);if(IM(e))return this.spawnPromise(Promise.resolve(e),t);if(_M(e))return this.spawnCallback(e,t);if(function(e){try{return"function"==typeof e.send}catch(e){return!1}}(o=e)&&"id"in o)return this.spawnActor(e,t);if(function(e){try{return"subscribe"in e&&_M(e.subscribe)}catch(e){return!1}}(e))return this.spawnObservable(e,t);if(WM(e))return this.spawnMachine(e,QS(QS({},n),{id:t}));if(null!==(r=e)&&"object"==typeof r&&"transition"in r&&"function"==typeof r.transition)return this.spawnBehavior(e,t);throw new Error('Unable to spawn entity "'.concat(t,'" of type "').concat(typeof e,'".'));var r,o},e.prototype.spawnMachine=function(t,n){var r=this;void 0===n&&(n={});var o=new e(t,QS(QS({},this.options),{parent:this,id:n.id||t.id})),i=QS(QS({},zE),n);i.sync&&o.onTransition((function(e){r.send(bM,{state:e,id:o.id})}));var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone((function(e){r.removeChild(o.id),r.send(KM(e,{origin:o.id}))})).start(),s},e.prototype.spawnBehavior=function(e,t){var n=PE(e,{id:t,parent:this});return this.children.set(t,n),n},e.prototype.spawnPromise=function(e,t){var n,r,o=this,i=!1;e.then((function(e){i||(r=e,o.removeChild(t),o.send(KM(sE(t,e),{origin:t})))}),(function(e){if(!i){o.removeChild(t);var n=aE(t,e);try{o.send(KM(n,{origin:t}))}catch(r){!function(e,t,n){if(!CM){var r=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";if(e===t)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(e,"'.").concat(r));else{var o=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(e,"'. ").concat(r," Current error is '").concat(t,"'.").concat(o))}}}(e,r,t),o.devTools&&o.devTools.send(n,o.state),o.machine.strict&&o.stop()}}}));var s=((n={id:t,send:function(){},subscribe:function(t,n,r){var o=XM(t,n,r),i=!1;return e.then((function(e){i||(o.next(e),i||o.complete())}),(function(e){i||o.error(e)})),{unsubscribe:function(){return i=!0}}},stop:function(){i=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[qM]=function(){return this},n);return this.children.set(t,s),s},e.prototype.spawnCallback=function(e,t){var n,r,o,i=this,s=!1,a=new Set,l=new Set;try{o=e((function(e){r=e,l.forEach((function(t){return t(e)})),s||i.send(KM(e,{origin:t}))}),(function(e){a.add(e)}))}catch(e){this.send(aE(t,e))}if(IM(o))return this.spawnPromise(o,t);var c=((n={id:t,send:function(e){return a.forEach((function(t){return t(e)}))},subscribe:function(e){var t=XM(e);return l.add(t.next),{unsubscribe:function(){l.delete(t.next)}}},stop:function(){s=!0,_M(o)&&o()},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[qM]=function(){return this},n);return this.children.set(t,c),c},e.prototype.spawnObservable=function(e,t){var n,r,o=this,i=e.subscribe((function(e){r=e,o.send(KM(e,{origin:t}))}),(function(e){o.removeChild(t),o.send(KM(aE(t,e),{origin:t}))}),(function(){o.removeChild(t),o.send(KM(sE(t),{origin:t}))})),s=((n={id:t,send:function(){},subscribe:function(t,n,r){return e.subscribe(t,n,r)},stop:function(){return i.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:t}}})[qM]=function(){return this},n);return this.children.set(t,s),s},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(t){var n=t(this.state.context,e);this.spawnEffect(e.id,n)}else CM||HM(!1,"No implementation found for activity '".concat(e.type,"'"))},e.prototype.spawnEffect=function(e,t){var n;this.children.set(e,((n={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[qM]=function(){return this},n))},e.prototype.attachDev=function(){var e=RE();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(QS(QS({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:QS({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}DE(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[qM]=function(){return this},e.prototype.getSnapshot=function(){return this.status===IE.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},e.interpret=HE,e}();function HE(e,t){return new VE(e,t)}function BE(e){if("string"==typeof e){var t={type:e,toString:function(){return e}};return t}return e}function _E(e){return QS(QS({type:pM},e),{toJSON:function(){e.onDone,e.onError;var t=eM(e,["onDone","onError"]);return QS(QS({},t),{type:pM,src:BE(e.src)})}})}var jE="",FE="*",qE={},WE=function(e){return"#"===e[0]},UE=function(){function e(t,n,r,o){void 0===r&&(r="context"in t?t.context:void 0);var i,s=this;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==o?void 0:o.parent,this.key=this.config.key||(null==o?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||rM([this.machine.key],nM(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(i=this.config.schema)&&void 0!==i?i:{},this.description=this.config.description,CM||HM(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?TM(this.config.states,(function(t,n){var r,o=new e(t,{},void 0,{parent:s,key:n});return Object.assign(s.idMap,QS(((r={})[o.id]=o,r),o.idMap)),o})):qE;var a=0;!function e(t){var n,r;t.order=a++;try{for(var o=tM(pE(t)),i=o.next();!i.done;i=o.next()){e(i.value)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some((function(e){return e.event===jE})):jE in this.config.on),this.strict=!!this.config.strict,this.onEntry=DM(this.config.entry||this.config.onEntry).map((function(e){return nE(e)})),this.onExit=DM(this.config.exit||this.config.onExit).map((function(e){return nE(e)})),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=DM(this.config.invoke).map((function(e,t){var n,r;if(WM(e)){var o=YM(s.id,t);return s.machine.options.services=QS(((n={})[o]=e,n),s.machine.options.services),_E({src:o,id:o})}if(jM(e.src)){o=e.id||YM(s.id,t);return _E(QS(QS({},e),{id:o,src:e.src}))}if(WM(e.src)||_M(e.src)){o=e.id||YM(s.id,t);return s.machine.options.services=QS(((r={})[o]=e.src,r),s.machine.options.services),_E(QS(QS({id:o},e),{src:o}))}var i=e.src;return _E(QS(QS({id:YM(s.id,t)},e),{src:i}))})),this.activities=DM(this.config.activities).concat(this.invoke).map((function(e){return oE(e)})),this.transition=this.transition.bind(this),this.tags=DM(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||mE(this).forEach((function(e){return e.on}))},e.prototype.withConfig=function(t,n){var r=this.options,o=r.actions,i=r.activities,s=r.guards,a=r.services,l=r.delays;return new e(this.config,{actions:QS(QS({},o),t.actions),activities:QS(QS({},i),t.activities),guards:QS(QS({},s),t.guards),services:QS(QS({},a),t.services),delays:QS(QS({},l),t.delays)},null!=n?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return _M(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:TM(this.states,(function(e){return e.definition})),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce((function(e,t){return e[t.eventType]=e[t.eventType]||[],e[t.eventType].push(t),e}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var t=e===jE,n=this.transitions.filter((function(n){var r=n.eventType===e;return t?r:r||n.eventType===FE}));return this.__cache.candidates[e]=n,n},e.prototype.getDelayedTransitions=function(){var e=this,t=this.config.after;if(!t)return[];var n=function(t,n){var r=function(e,t){var n=t?"#".concat(t):"";return"".concat(XS.After,"(").concat(e,")").concat(n)}(_M(t)?"".concat(e.id,":delay[").concat(n,"]"):t,e.id);return e.onEntry.push(function(e,t){return{to:t?t.to:void 0,type:aM,event:_M(e)?e:UM(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:_M(e)?e.name:$M(e)}}(r,{delay:t})),e.onExit.push({type:lM,sendId:r}),r},r=BM(t)?t.map((function(e,t){var r=n(e.delay,t);return QS(QS({},e),{event:r})})):NM(Object.keys(t).map((function(e,r){var o=t[e],i=jM(o)?{target:o}:o,s=isNaN(+e)?e:+e,a=n(s,r);return DM(i).map((function(e){return QS(QS({},e),{event:a,delay:s})}))})));return r.map((function(t){var n=t.delay;return QS(QS({},e.formatTransition(t)),{delay:n})}))},e.prototype.getStateNodes=function(e){var t,n=this;if(!e)return[];var r=e instanceof $E?e.value:MM(e,this.delimiter);if(jM(r)){var o=this.getStateNode(r).initial;return void 0!==o?this.getStateNodes(((t={})[r]=o,t)):[this,this.states[r]]}var i=Object.keys(r),s=[this];return s.push.apply(s,rM([],nM(NM(i.map((function(e){return n.getStateNode(e).getStateNodes(r[e])})))),!1)),s},e.prototype.handles=function(e){var t=$M(e);return this.events.includes(t)},e.prototype.resolveState=function(e){var t=e instanceof $E?e:$E.create(e),n=Array.from(gE([],this.getStateNodes(t.value)));return new $E(QS(QS({},t),{value:this.resolve(t.value),configuration:n,done:xE(n,this),tags:CE(n),machine:this.machine}))},e.prototype.transitionLeafNode=function(e,t,n){var r=this.getStateNode(e).next(t,n);return r&&r.transitions.length?r:this.next(t,n)},e.prototype.transitionCompoundNode=function(e,t,n){var r=Object.keys(e),o=this.getStateNode(r[0])._transition(e[r[0]],t,n);return o&&o.transitions.length?o:this.next(t,n)},e.prototype.transitionParallelNode=function(e,t,n){var r,o,i={};try{for(var s=tM(Object.keys(e)),a=s.next();!a.done;a=s.next()){var l=a.value,c=e[l];if(c){var d=this.getStateNode(l)._transition(c,t,n);d&&(i[l]=d)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}var u=Object.keys(i).map((function(e){return i[e]})),h=NM(u.map((function(e){return e.transitions})));if(!u.some((function(e){return e.transitions.length>0})))return this.next(t,n);var p=NM(Object.keys(i).map((function(e){return i[e].configuration})));return{transitions:h,exitSet:NM(u.map((function(e){return e.exitSet}))),configuration:p,source:t,actions:NM(Object.keys(i).map((function(e){return i[e].actions})))}},e.prototype._transition=function(e,t,n){return jM(e)?this.transitionLeafNode(e,t,n):1===Object.keys(e).length?this.transitionCompoundNode(e,t,n):this.transitionParallelNode(e,t,n)},e.prototype.getTransitionData=function(e,t){return this._transition(e.value,e,KM(t))},e.prototype.next=function(e,t){var n,r,o,i=this,s=t.name,a=[],l=[];try{for(var c=tM(this.getCandidates(s)),d=c.next();!d.done;d=c.next()){var u=d.value,h=u.cond,p=u.in,f=e.context,m=!p||(jM(p)&&WE(p)?e.matches(MM(this.getStateNodeById(p).path,this.delimiter)):kM(MM(p,this.delimiter),LM(this.path.slice(0,-2))(e.value))),g=!1;try{g=!h||ZM(this.machine,h,f,t,e)}catch(e){throw new Error("Unable to evaluate guard '".concat(h.name||h.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,"':\n").concat(e.message))}if(g&&m){void 0!==u.target&&(l=u.target),a.push.apply(a,rM([],nM(u.actions),!1)),o=u;break}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}if(o){if(!l.length)return{transitions:[o],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var b=NM(l.map((function(t){return i.getRelativeStateNodes(t,e.historyValue)})));return{transitions:[o],exitSet:!!o.internal?[]:NM(l.map((function(e){return i.getPotentiallyReenteringNodes(e)}))),configuration:b,source:e,actions:a}}},e.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var t=[],n=this,r=e;n&&n!==r;)t.push(n),n=n.parent;return n!==r?[]:(t.push(r),t)},e.prototype.getActions=function(e,t,n,r,o,i,s){var a,l,c,d,u=this,h=i?gE([],this.getStateNodes(i.value)):[],p=new Set;try{for(var f=tM(Array.from(e).sort((function(e,t){return e.order-t.order}))),m=f.next();!m.done;m=f.next()){(!wE(h,v=m.value)||wE(n.exitSet,v)||v.parent&&p.has(v.parent))&&p.add(v)}}catch(e){a={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(a)throw a.error}}try{for(var g=tM(h),b=g.next();!b.done;b=g.next()){var v;wE(e,v=b.value)&&!wE(n.exitSet,v.parent)||n.exitSet.push(v)}}catch(e){c={error:e}}finally{try{b&&!b.done&&(d=g.return)&&d.call(g)}finally{if(c)throw c.error}}n.exitSet.sort((function(e,t){return t.order-e.order}));var y=Array.from(p).sort((function(e,t){return e.order-t.order})),w=new Set(n.exitSet),x=NM(y.map((function(e){var t=[];if("final"!==e.type)return t;var i=e.parent;if(!i.parent)return t;t.push(iE(e.id,e.doneData),iE(i.id,e.doneData?PM(e.doneData,r,o):void 0));var s=i.parent;return"parallel"===s.type&&fE(s).every((function(e){return xE(n.configuration,e)}))&&t.push(iE(s.id)),t}))),C=y.map((function(e){var t=e.onEntry,n=e.activities.map((function(e){return function(e){var t=oE(e);return{type:XS.Start,activity:t,exec:void 0}}(e)}));return{type:"entry",actions:rE(s?rM(rM([],nM(t),!1),nM(n),!1):rM(rM([],nM(n),!1),nM(t),!1),u.machine.options.actions)}})).concat({type:"state_done",actions:x.map((function(e){return function(e,t){return{type:sM,event:"function"==typeof e?e:UM(e),delay:t?t.delay:void 0,id:null==t?void 0:t.id}}(e)}))}),k=Array.from(w).map((function(e){return{type:"exit",actions:rE(rM(rM([],nM(e.onExit),!1),nM(e.activities.map((function(e){return function(e){var t=_M(e)?e:oE(e);return{type:XS.Stop,activity:t,exec:void 0}}(e)}))),!1),u.machine.options.actions)}})).concat({type:"transition",actions:rE(n.actions,this.machine.options.actions)}).concat(C);if(t){var $=rE(NM(rM([],nM(e),!1).sort((function(e,t){return t.order-e.order})).map((function(e){return e.onExit}))),this.machine.options.actions).filter((function(e){return!QM(e)}));return k.concat({type:"stop",actions:$})}return k},e.prototype.transition=function(e,t,n,r){void 0===e&&(e=this.initialState);var o,i,s=KM(t);if(e instanceof $E)o=void 0===n?e:this.resolveState($E.from(e,n));else{var a=jM(e)?this.resolve(EM(this.getResolvedPath(e))):this.resolve(e),l=null!=n?n:this.machine.context;o=this.resolveState($E.from(a,l))}if(!CM&&s.name===FE)throw new Error("An event cannot have the wildcard type ('".concat(FE,"')"));if(this.strict&&!this.events.includes(s.name)&&(i=s.name,!/^(done|error)\./.test(i)))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(s.name,"'"));var c=this._transition(o.value,o,s)||{transitions:[],configuration:[],exitSet:[],source:o,actions:[]},d=gE([],this.getStateNodes(o.value)),u=c.configuration.length?gE(d,c.configuration):d;return c.configuration=rM([],nM(u),!1),this.resolveTransition(c,o,o.context,r,s)},e.prototype.resolveRaisedTransition=function(e,t,n,r){var o,i=e.actions;return(e=this.transition(e,t,void 0,r))._event=n,e.event=n.data,(o=e.actions).unshift.apply(o,rM([],nM(i),!1)),e},e.prototype.resolveTransition=function(e,t,n,r,o){var i,s,a,l,c=this;void 0===o&&(o=eE);var d=e.configuration,u=!t||e.transitions.length>0,h=u?e.configuration:t?t.configuration:[],p=xE(h,this),f=u?yE(this.machine,d):void 0,m=t?t.historyValue?t.historyValue:e.source?this.machine.historyValue(t.value):void 0:void 0,g=this.getActions(new Set(h),p,e,n,o,t,r),b=t?QS({},t.activities):{};try{for(var v=tM(g),y=v.next();!y.done;y=v.next()){var w=y.value;try{for(var x=(a=void 0,tM(w.actions)),C=x.next();!C.done;C=x.next()){var k=C.value;k.type===oM?b[k.activity.id||k.activity.type]=k:k.type===iM&&(b[k.activity.id||k.activity.type]=!1)}}catch(e){a={error:e}}finally{try{C&&!C.done&&(l=x.return)&&l.call(x)}finally{if(a)throw a.error}}}}catch(e){i={error:e}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}var $,S,M=nM(lE(this,t,n,o,g,r,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),E=M[0],T=M[1],O=nM(function(e,t){var n,r,o=nM([[],[]],2),i=o[0],s=o[1];try{for(var a=tM(e),l=a.next();!l.done;l=a.next()){var c=l.value;t(c)?i.push(c):s.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}(E,QM),2),L=O[0],A=O[1],N=E.filter((function(e){var t;return e.type===oM&&(null===(t=e.activity)||void 0===t?void 0:t.type)===pM})),R=N.reduce((function(e,t){return e[t.activity.id]=function(e,t,n,r){var o,i=JM(e.src),s=null===(o=null==t?void 0:t.options.services)||void 0===o?void 0:o[i.type],a=e.data?PM(e.data,n,r):void 0,l=s?uE(s,e.id,a):dE(e.id);return l.meta=e,l}(t.activity,c.machine,T,o),e}),t?QS({},t.children):{}),D=new $E({value:f||t.value,context:T,_event:o,_sessionid:t?t._sessionid:null,historyValue:f?m?($=m,S=f,{current:S,states:zM($,S)}):void 0:t?t.historyValue:void 0,history:!f||e.source?t:void 0,actions:f?A:[],activities:f?b:t?t.activities:{},events:[],configuration:h,transitions:e.transitions,children:R,done:p,tags:CE(h),machine:this}),P=n!==T;D.changed=o.name===bM||P;var I=D.history;I&&delete I.history;var z=!p&&(this._transient||d.some((function(e){return e._transient})));if(!(u||z&&o.name!==jE))return D;var V=D;if(!p)for(z&&(V=this.resolveRaisedTransition(V,{type:cM},o,r));L.length;){var H=L.shift();V=this.resolveRaisedTransition(V,H._event,o,r)}var B=V.changed||(I?!!V.actions.length||P||typeof I.value!=typeof V.value||!kE(V.value,I.value):void 0);return V.changed=B,V.history=I,V},e.prototype.getStateNode=function(e){if(WE(e))return this.machine.getStateNodeById(e);if(!this.states)throw new Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var t=this.states[e];if(!t)throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return t},e.prototype.getStateNodeById=function(e){var t=WE(e)?e.slice(1):e;if(t===this.id)return this;var n=this.machine.idMap[t];if(!n)throw new Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"));return n},e.prototype.getStateNodeByPath=function(e){if("string"==typeof e&&WE(e))try{return this.getStateNodeById(e.slice(1))}catch(e){}for(var t=SM(e,this.delimiter).slice(),n=this;t.length;){var r=t.shift();if(!r.length)break;n=n.getStateNode(r)}return n},e.prototype.resolve=function(e){var t,n=this;if(!e)return this.initialStateValue||qE;switch(this.type){case"parallel":return TM(this.initialStateValue,(function(t,r){return t?n.getStateNode(r).resolve(e[r]||t):qE}));case"compound":if(jM(e)){var r=this.getStateNode(e);return"parallel"===r.type||"compound"===r.type?((t={})[e]=r.initialStateValue,t):e}return Object.keys(e).length?TM(e,(function(e,t){return e?n.getStateNode(t).resolve(e):qE})):this.initialStateValue||{};default:return e||qE}},e.prototype.getResolvedPath=function(e){if(WE(e)){var t=this.machine.idMap[e.slice(1)];if(!t)throw new Error("Unable to find state node '".concat(e,"'"));return t.path}return SM(e,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var e,t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)t=OM(this.states,(function(e){return e.initialStateValue||qE}),(function(e){return!("history"===e.type)}));else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));t=hE(this.states[this.initial])?this.initial:((e={})[this.initial]=this.states[this.initial].initialStateValue,e)}else t={};return this.__cache.initialStateValue=t,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(e,t){this._init();var n=this.getStateNodes(e);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=t?t:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var e;if("history"===this.type){var t=this.config;e=jM(t.target)&&WE(t.target)?EM(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target}return e},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(e,t,n){return void 0===n&&(n=!0),n?"history"===e.type?e.resolveHistory(t):e.initialStateNodes:[e]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var e=this;return hE(this)?[this]:"compound"!==this.type||this.initial?NM(AM(this.initialStateValue).map((function(t){return e.getFromRelativePath(t)}))):(CM||HM(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this])},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var t=nM(e),n=t[0],r=t.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw new Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(r)},e.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:OM(this.states,(function(t,n){if(!e)return t.historyValue();var r=jM(e)?void 0:e[n];return t.historyValue(r||t.initialStateValue)}),(function(e){return!e.history}))}},e.prototype.resolveHistory=function(e){var t=this;if("history"!==this.type)return[this];var n=this.parent;if(!e){var r=this.target;return r?NM(AM(r).map((function(e){return n.getFromRelativePath(e)}))):n.initialStateNodes}var o,i,s=(o=n.path,i="states",function(e){var t,n,r=e;try{for(var s=tM(o),a=s.next();!a.done;a=s.next()){var l=a.value;r=r[i][l]}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return r})(e).current;return jM(s)?[n.getStateNode(s)]:NM(AM(s).map((function(e){return"deep"===t.history?n.getFromRelativePath(e):[n.states[e[0]]]})))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var e=this,t=NM(Object.keys(this.states).map((function(t){return e.states[t].stateIds})));return[this.id].concat(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var e,t,n,r;if(this.__cache.events)return this.__cache.events;var o=this.states,i=new Set(this.ownEvents);if(o)try{for(var s=tM(Object.keys(o)),a=s.next();!a.done;a=s.next()){var l=o[a.value];if(l.states)try{for(var c=(n=void 0,tM(l.events)),d=c.next();!d.done;d=c.next()){var u=d.value;i.add("".concat(u))}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var e=new Set(this.transitions.filter((function(e){return!(!e.target&&!e.actions.length&&e.internal)})).map((function(e){return e.eventType})));return Array.from(e)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(e){var t=this;if(void 0!==e)return e.map((function(e){if(!jM(e))return e;var n=e[0]===t.delimiter;if(n&&!t.parent)return t.getStateNodeByPath(e.slice(1));var r=n?t.key+e:e;if(!t.parent)return t.getStateNodeByPath(r);try{return t.parent.getStateNodeByPath(r)}catch(e){throw new Error("Invalid transition definition for state node '".concat(t.id,"':\n").concat(e.message))}}))},e.prototype.formatTransition=function(e){var t=this,n=function(e){if(void 0!==e&&""!==e)return DM(e)}(e.target),r="internal"in e?e.internal:!n||n.some((function(e){return jM(e)&&e[0]===t.delimiter})),o=this.machine.options.guards,i=this.resolveTarget(n),s=QS(QS({},e),{actions:rE(DM(e.actions)),cond:FM(e.cond,o),target:i,source:this,internal:r,eventType:e.event,toJSON:function(){return QS(QS({},s),{target:s.target?s.target.map((function(e){return"#".concat(e.id)})):void 0,source:"#".concat(t.id)})}});return s},e.prototype.formatTransitions=function(){var e,t,n,r=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var o=this.config.on,i=FE,s=o[i],a=void 0===s?[]:s,l=eM(o,["*"]);n=NM(Object.keys(l).map((function(e){CM||e!==jE||HM(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(r.id,'".'));var t=GM(e,l[e]);return CM||function(e,t,n){var r=n.slice(0,-1).some((function(e){return!("cond"in e)&&!("in"in e)&&(jM(e.target)||WM(e.target))})),o=t===jE?"the transient event":"event '".concat(t,"'");HM(!r,"One or more transitions for ".concat(o," on state '").concat(e.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")}(r,e,t),t})).concat(GM(FE,a)))}else n=[];var c=this.config.always?GM("",this.config.always):[],d=this.config.onDone?GM(String(iE(this.id)),this.config.onDone):[];CM||HM(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var u=NM(this.invoke.map((function(e){var t=[];return e.onDone&&t.push.apply(t,rM([],nM(GM(String(sE(e.id)),e.onDone)),!1)),e.onError&&t.push.apply(t,rM([],nM(GM(String(aE(e.id)),e.onError)),!1)),t}))),h=this.after,p=NM(rM(rM(rM(rM([],nM(d),!1),nM(u),!1),nM(n),!1),nM(c),!1).map((function(e){return DM(e).map((function(e){return r.formatTransition(e)}))})));try{for(var f=tM(h),m=f.next();!m.done;m=f.next()){var g=m.value;p.push(g)}}catch(t){e={error:t}}finally{try{m&&!m.done&&(t=f.return)&&t.call(f)}finally{if(e)throw e.error}}return p},e}();var KE,GE=function(e){return{type:dM,assignment:e}};!function(e){e[e.Effect=1]="Effect",e[e.LayoutEffect=2]="LayoutEffect"}(KE||(KE={}));var ZE="undefined"!=typeof document?de:function(){};function JE(e){var t=ee.useRef();return t.current||(t.current={v:e()}),t.current.v}var XE=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},YE=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var QE=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},eT=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function tT(e,t){(0,e.exec)(t.context,t._event.data,{action:e,state:t,_event:t._event})()}function nT(e){var t=se([]),n=se([]);ZE((function(){var r=e.subscribe((function(e){var r,o;if(e.actions.length){var i=e.actions.filter((function(e){return"function"==typeof e.exec&&"__effect"in e.exec})),s=QE(function(e,t){var n,r,o=XE([[],[]],2),i=o[0],s=o[1];try{for(var a=YE(e),l=a.next();!l.done;l=a.next()){var c=l.value;t(c)?i.push(c):s.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}(i,(function(e){return e.exec.__effect===KE.Effect})),2),a=s[0],l=s[1];(r=t.current).push.apply(r,eT([],QE(a.map((function(t){return[t,e]}))),!1)),(o=n.current).push.apply(o,eT([],QE(l.map((function(t){return[t,e]}))),!1))}}));return function(){r.unsubscribe()}}),[]),ZE((function(){for(;n.current.length;){var e=QE(n.current.shift(),2);tT(e[0],e[1])}})),ce((function(){for(;t.current.length;){var e=QE(t.current.shift(),2);tT(e[0],e[1])}}))}var rT=function(){return rT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rT.apply(this,arguments)},oT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},iT=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s};var sT=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s};function aT(e,t){void 0===t&&(t={});var n=ue((function(e){var t=void 0===e.changed&&Object.keys(e.children).length;(e.changed||t)&&s(e)}),[]),r=function(e,t,n){void 0===t&&(t={});var r=JE((function(){return"function"==typeof e?e():e}));if("production"!==process.env.NODE_ENV&&"function"!=typeof e){var o=iT(ae(r),1)[0];e!==o&&console.warn("Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\nPlease make sure that you pass the same Machine as argument each time.")}var i=t.context,s=t.guards,a=t.actions,l=t.activities,c=t.services,d=t.delays,u=t.state,h=oT(t,["context","guards","actions","activities","services","delays","state"]),p=JE((function(){var e={context:i,guards:s,actions:a,activities:l,services:c,delays:d};return HE(r.withConfig(e,(function(){return rT(rT({},r.context),i)})),rT({deferEvents:!0},h))}));return ZE((function(){var e;return n&&(e=p.subscribe(function(e){if("object"==typeof e)return e;var t=function(){};return{next:e,error:void 0||t,complete:void 0||t}}(n))),function(){null==e||e.unsubscribe()}}),[n]),ZE((function(){return p.start(u?$E.create(u):void 0),function(){p.stop()}}),[]),ZE((function(){Object.assign(p.machine.options.actions,a),Object.assign(p.machine.options.guards,s),Object.assign(p.machine.options.activities,l),Object.assign(p.machine.options.services,c),Object.assign(p.machine.options.delays,d)}),[a,s,l,c,d]),nT(p),p}(e,t,n),o=sT(ae((function(){var e=r.machine.initialState;return t.state?$E.create(t.state):e})),2),i=o[0],s=o[1];return[i,r.send,r]}function lT(){return lT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lT.apply(null,arguments)}function cT(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}const dT={arr:Array.isArray,obj:e=>"[object Object]"===Object.prototype.toString.call(e),fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e,nul:e=>null===e,set:e=>e instanceof Set,map:e=>e instanceof Map,equ(e,t){if(typeof e!=typeof t)return!1;if(dT.str(e)||dT.num(e))return e===t;if(dT.obj(e)&&dT.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!dT.und(n)||e===t}};function uT(e,t){return dT.und(e)||dT.nul(e)?t:e}function hT(e){return dT.und(e)?[]:dT.arr(e)?e:[e]}function pT(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return dT.fun(e)?e(...n):e}function fT(e){const t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,cT(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(dT.und(t))return lT({to:t},e);const n=Object.keys(e).reduce(((n,r)=>dT.und(t[r])?lT({},n,{[r]:e[r]}):n),{});return lT({to:t},n)}class mT{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class gT extends mT{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach((e=>e instanceof mT&&e.addChild(this))),this.detach=()=>this.payload.forEach((e=>e instanceof mT&&e.removeChild(this)))}}class bT extends mT{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach((e=>e instanceof mT&&e.addChild(this))),this.detach=()=>Object.values(this.payload).forEach((e=>e instanceof mT&&e.removeChild(this)))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const r=this.payload[n];(!e||r instanceof mT)&&(t[n]=r instanceof mT?r[e?"getAnimatedValue":"getValue"]():r)}return t}getAnimatedValue(){return this.getValue(!0)}}let vT,yT;let wT,xT=e=>"undefined"!=typeof window?window.requestAnimationFrame(e):-1;let CT,kT=()=>Date.now();class $T extends bT{constructor(e,t){super(),this.update=void 0,this.payload=e.style?lT({},e,{style:CT(e.style)}):e,this.update=t,this.attach()}}let ST=!1;const MT=new Set,ET=()=>{if(!ST)return!1;let e=kT();for(let t of MT){let n=!1;for(let r=0;r<t.configs.length;r++){let o,i,s=t.configs[r];for(let t=0;t<s.animatedValues.length;t++){let r=s.animatedValues[t];if(r.done)continue;let a=s.fromValues[t],l=s.toValues[t],c=r.lastPosition,d=l instanceof mT,u=Array.isArray(s.initialVelocity)?s.initialVelocity[t]:s.initialVelocity;if(d&&(l=l.getValue()),s.immediate)r.setValue(l),r.done=!0;else if("string"!=typeof a&&"string"!=typeof l){if(void 0!==s.duration)c=a+s.easing((e-r.startTime)/s.duration)*(l-a),o=e>=r.startTime+s.duration;else if(s.decay)c=a+u/(1-.998)*(1-Math.exp(-.0020000000000000018*(e-r.startTime))),o=Math.abs(r.lastPosition-c)<.1,o&&(l=c);else{i=void 0!==r.lastTime?r.lastTime:e,u=void 0!==r.lastVelocity?r.lastVelocity:s.initialVelocity,e>i+64&&(i=e);let t=Math.floor(e-i);for(let e=0;e<t;++e){u+=1*((-s.tension*(c-l)+-s.friction*u)/s.mass)/1e3,c+=1*u/1e3}let n=!(!s.clamp||0===s.tension)&&(a<l?c>l:c<l),d=Math.abs(u)<=s.precision,h=0===s.tension||Math.abs(l-c)<=s.precision;o=n||d&&h,r.lastVelocity=u,r.lastTime=e}d&&!s.toValues[t].done&&(o=!1),o?(r.value!==l&&(c=l),r.done=!0):n=!0,r.setValue(c),r.lastPosition=c}else r.setValue(l),r.done=!0}t.props.onFrame&&(t.values[s.name]=s.interpolation.getValue())}t.props.onFrame&&t.props.onFrame(t.values),n||(MT.delete(t),t.stop(!0))}return MT.size?xT(ET):ST=!1,ST};function TT(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return TT({range:e,output:t,extrapolate:n});if(wT&&"string"==typeof e.output[0])return wT(e);const r=e,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,s,a,l){let c=l?l(e):e;if(c<t){if("identity"===s)return c;"clamp"===s&&(c=t)}if(c>n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(e,i[t],i[t+1],o[t],o[t+1],l,s,a,r.map)}}class OT extends gT{constructor(e,t,n,r){super(),this.calc=void 0,this.payload=e instanceof gT&&!(e instanceof OT)?e.getPayload():Array.isArray(e)?e:[e],this.calc=TT(t,n,r)}getValue(){return this.calc(...this.payload.map((e=>e.getValue())))}updateConfig(e,t,n){this.calc=TT(e,t,n)}interpolate(e,t,n){return new OT(this,e,t,n)}}const LT=(e,t,n)=>e&&new OT(e,t,n);function AT(e,t){"update"in e?t.add(e):e.getChildren().forEach((e=>AT(e,t)))}class NT extends mT{constructor(e){var t;super(),t=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){0===this.animatedStyles.size&&AT(this,this.animatedStyles),this.animatedStyles.forEach((e=>e.update()))}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,t,n){return new OT(this,e,t,n)}}class RT extends gT{constructor(e){super(),this.payload=e.map((e=>new NT(e)))}setValue(e,t){void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach(((e,n)=>this.payload[n].setValue(e,t))):this.payload.forEach((n=>n.setValue(e,t)))}getValue(){return this.payload.map((e=>e.getValue()))}interpolate(e,t){return new OT(this,e,t)}}let DT=0,PT=class{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=DT++}update(e){if(!e)return this;const t=fT(e),n=t.delay,r=void 0===n?0:n,o=t.to,i=cT(t,["delay","to"]);if(dT.arr(o)||dT.fun(o))this.queue.push(lT({},i,{delay:r,to:o}));else if(o){let e={};Object.entries(o).forEach((t=>{let n=t[0],o=t[1];const s=lT({to:{[n]:o},delay:pT(r,n)},i),a=e[s.delay]&&e[s.delay].to;e[s.delay]=lT({},e[s.delay],s,{to:lT({},a,s.to)})})),this.queue=Object.values(e)}return this.queue=this.queue.sort(((e,t)=>e.delay-t.delay)),this.diff(i),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((e=>{let t=e.from,n=void 0===t?{}:t,r=e.to,o=void 0===r?{}:r;dT.obj(n)&&(this.merged=lT({},n,this.merged)),dT.obj(o)&&(this.merged=lT({},this.merged,o))}));const t=this.local=++this.guid,n=this.localQueue=this.queue;this.queue=[],n.forEach(((r,o)=>{let i=r.delay,s=cT(r,["delay"]);const a=r=>{o===n.length-1&&t===this.guid&&r&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let l=dT.arr(s.to)||dT.fun(s.to);i?setTimeout((()=>{t===this.guid&&(l?this.runAsync(s,a):this.diff(s).start(a))}),i):l?this.runAsync(s,a):this.diff(s).start(a)}))}else dT.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,MT.has(t)||MT.add(t),ST||(ST=!0,xT(ET));var t;return this}stop(e){return this.listeners.forEach((t=>t(e))),this.listeners=[],this}pause(e){var t;return this.stop(!0),e&&(t=this,MT.has(t)&&MT.delete(t)),this}runAsync(e,t){var n=this;e.delay;let r=cT(e,["delay"]);const o=this.local;let i=Promise.resolve(void 0);if(dT.arr(r.to))for(let e=0;e<r.to.length;e++){const t=e,n=lT({},r,fT(r.to[t]));dT.arr(n.config)&&(n.config=n.config[t]),i=i.then((()=>{if(o===this.guid)return new Promise((e=>this.diff(n).start(e)))}))}else if(dT.fun(r.to)){let e,t=0;i=i.then((()=>r.to((n=>{const i=lT({},r,fT(n));if(dT.arr(i.config)&&(i.config=i.config[t]),t++,o===this.guid)return e=new Promise((e=>this.diff(i).start(e)))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((()=>e))))}i.then(t)}diff(e){this.props=lT({},this.props,e);let t=this.props,n=t.from,r=void 0===n?{}:n,o=t.to,i=void 0===o?{}:o,s=t.config,a=void 0===s?{}:s,l=t.reverse,c=t.attach,d=t.reset,u=t.immediate;if(l){var h=[i,r];r=h[0],i=h[1]}this.merged=lT({},r,this.merged,i),this.hasChanged=!1;let p=c&&c(this);if(this.animations=Object.entries(this.merged).reduce(((e,t)=>{let n=t[0],o=t[1],i=e[n]||{};const s=dT.num(o),l=dT.str(o)&&!o.startsWith("#")&&!/\d/.test(o)&&!yT[o],c=dT.arr(o),h=!s&&!c&&!l;let f=dT.und(r[n])?o:r[n],m=s||c||l?o:1,g=pT(a,n);p&&(m=p.animations[n].parent);let b,v=i.parent,y=i.interpolation,w=hT(p?m.getPayload():m),x=o;h&&(x=wT({range:[0,1],output:[o,o]})(1));let C=y&&y.getValue();const k=!dT.und(v)&&i.animatedValues.some((e=>!e.done)),$=!dT.equ(x,C),S=!dT.equ(x,i.previous),M=!dT.equ(g,i.config);if(d||S&&$||M){if(s||l)v=y=i.parent||new NT(f);else if(c)v=y=i.parent||new RT(f);else if(h){let e=i.interpolation&&i.interpolation.calc(i.parent.value);e=void 0===e||d?f:e,i.parent?(v=i.parent,v.setValue(0,!1)):v=new NT(0);const t={output:[e,o]};i.interpolation?(y=i.interpolation,i.interpolation.updateConfig(t)):y=v.interpolate(t)}return w=hT(p?m.getPayload():m),b=hT(v.getPayload()),d&&!h&&v.setValue(f,!1),this.hasChanged=!0,b.forEach((e=>{e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=k?e.lastVelocity:void 0,e.lastTime=k?e.lastTime:void 0,e.startTime=kT(),e.done=!1,e.animatedStyles.clear()})),pT(u,n)&&v.setValue(h?m:o,!1),lT({},e,{[n]:lT({},i,{name:n,parent:v,interpolation:y,animatedValues:b,toValues:w,previous:x,config:g,fromValues:hT(v.getValue()),immediate:pT(u,n),initialVelocity:uT(g.velocity,0),clamp:uT(g.clamp,!1),precision:uT(g.precision,.01),tension:uT(g.tension,170),friction:uT(g.friction,26),mass:uT(g.mass,1),duration:g.duration,easing:uT(g.easing,(e=>e)),decay:g.decay})})}return $?e:(h&&(v.setValue(1,!1),y.updateConfig({output:[x,x]})),v.done=!0,this.hasChanged=!0,lT({},e,{[n]:lT({},e[n],{previous:x})}))}),this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let e in this.animations)this.interpolations[e]=this.animations[e].interpolation,this.values[e]=this.animations[e].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}};const IT=e=>{const t=dT.fun(e),n=((e,t)=>{const n=se(!1),r=se(),o=dT.fun(t),i=oe((()=>{let n;return r.current&&(r.current.map((e=>e.destroy())),r.current=void 0),[new Array(e).fill().map(((e,r)=>{const i=new PT,s=o?pT(t,r,i):t[r];return 0===r&&(n=s.ref),i.update(s),n||i.start(),i})),n]}),[e]),s=i[0],a=i[1];r.current=s,me(a,(()=>({start:()=>Promise.all(r.current.map((e=>new Promise((t=>e.start(t)))))),stop:e=>r.current.forEach((t=>t.stop(e))),get controllers(){return r.current}})));const l=oe((()=>e=>r.current.map(((t,n)=>{t.update(o?pT(e,n,t):e[n]),a||t.start()}))),[e]);ce((()=>{n.current?o||l(t):a||r.current.forEach((e=>e.start()))})),ce((()=>(n.current=!0,()=>r.current.forEach((e=>e.destroy())))),[]);const c=r.current.map((e=>e.getValues()));return o?[c,l,e=>r.current.forEach((t=>t.pause(e)))]:c})(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r};class zT extends bT{constructor(e){void 0===e&&(e={}),super(),!e.transform||e.transform instanceof mT||(e=vT.transform(e)),this.payload=e}}const VT={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},HT="[-+]?\\d*\\.?\\d+",BT=HT+"%";function _T(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const jT=new RegExp("rgb"+_T(HT,HT,HT)),FT=new RegExp("rgba"+_T(HT,HT,HT,HT)),qT=new RegExp("hsl"+_T(HT,BT,BT)),WT=new RegExp("hsla"+_T(HT,BT,BT,HT)),UT=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,KT=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,GT=/^#([0-9a-fA-F]{6})$/,ZT=/^#([0-9a-fA-F]{8})$/;function JT(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function XT(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=JT(o,r,e+1/3),s=JT(o,r,e),a=JT(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function YT(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function QT(e){return(parseFloat(e)%360+360)%360/360}function eO(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function tO(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function nO(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=GT.exec(e))?parseInt(t[1]+"ff",16)>>>0:VT.hasOwnProperty(e)?VT[e]:(t=jT.exec(e))?(YT(t[1])<<24|YT(t[2])<<16|YT(t[3])<<8|255)>>>0:(t=FT.exec(e))?(YT(t[1])<<24|YT(t[2])<<16|YT(t[3])<<8|eO(t[4]))>>>0:(t=UT.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ZT.exec(e))?parseInt(t[1],16)>>>0:(t=KT.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=qT.exec(e))?(255|XT(QT(t[1]),tO(t[2]),tO(t[3])))>>>0:(t=WT.exec(e))?(XT(QT(t[1]),tO(t[2]),tO(t[3]))|eO(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const rO=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,oO=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,iO=new RegExp(`(${Object.keys(VT).join("|")})`,"g");let sO={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const aO=["Webkit","Ms","Moz","O"];function lO(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||sO.hasOwnProperty(e)&&sO[e]?(""+t).trim():t+"px"}sO=Object.keys(sO).reduce(((e,t)=>(aO.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),sO);const cO={};var dO,uO;dO=e=>new zT(e),CT=dO,uO=e=>{const t=e.output.map((e=>e.replace(oO,nO))).map((e=>e.replace(iO,nO))),n=t[0].match(rO).map((()=>[]));t.forEach((e=>{e.match(rO).forEach(((e,t)=>n[t].push(+e)))}));const r=t[0].match(rO).map(((t,r)=>TT(lT({},e,{output:n[r]}))));return e=>{let n=0;return t[0].replace(rO,(()=>r[n++](e))).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,((e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`))}},wT=uO,yT=VT,function(e,t){vT={fn:e,transform:t}}(((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const o=t.style,i=t.children,s=t.scrollTop,a=t.scrollLeft,l=cT(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=lO(t,o[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in l){const n=c?t:cO[t]||(cO[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())));void 0!==e.getAttribute(n)&&e.setAttribute(n,l[t])}}}),(e=>e));var hO;const pO=(hO=e=>ie(((t,n)=>{const r=function(){const e=ae(!1)[1];return ue((()=>e((e=>!e))),[])}(),o=se(!0),i=se(null),s=se(null),a=ue((e=>{const t=i.current;i.current=new $T(e,(()=>{let e=!1;s.current&&(e=vT.fn(s.current,i.current.getAnimatedValue())),s.current&&!1!==e||r()})),t&&t.detach()}),[]);ce((()=>()=>{o.current=!1,i.current&&i.current.detach()}),[]),me(n,(()=>(e=>e.current)(s))),a(t);const l=i.current.getValue();l.scrollTop,l.scrollLeft;const c=cT(l,["scrollTop","scrollLeft"]),d=(u=e,!dT.fun(u)||u.prototype instanceof te.Component?e=>s.current=function(e,t){return t&&(dT.fun(t)?t(e):dT.obj(t)&&(t.current=e)),e}(e,n):void 0);var u;return te.createElement(e,lT({},c,{ref:d}))})),e=>(dT.arr(e)?e:Object.keys(e)).reduce(((e,t)=>{const n=t;return e[n]=hO(n),e}),hO))(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);function fO(e,t){return e.map((function(e,n){return e+t[n]}))}function mO(e,t){return e.map((function(e,n){return e-t[n]}))}function gO(e){return Math.hypot.apply(Math,e)}function bO(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function vO(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function yO(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-vO(t-e,n-t,r)+t:e>n?+vO(e-n,n-t,r)+n:e}function wO(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function xO(){return xO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xO.apply(this,arguments)}function CO(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function kO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SO(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return $O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$O(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function MO(){}function EO(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?MO:1===t.length?t[0]:function(){for(var e,n,r=SO(t);!(n=r()).done;){e=n.value.apply(this,arguments)||e}return e}}function TO(e,t){if(void 0===e){if(void 0===t)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function OO(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}return e}function LO(e,t){void 0===e&&(e={});for(var n={},r=0,o=Object.entries(t);r<o.length;r++){var i=o[r],s=i[0],a=i[1];switch(typeof a){case"function":n[s]=a.call(n,e[s],s,e);break;case"object":n[s]=LO(e[s],a);break;case"boolean":a&&(n[s]=e[s])}}return n}var AO=xO({},{threshold:function(e){return void 0===e&&(e=0),TO(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return TO(.15);case!1:return TO(0);default:return TO(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return void 0===e&&(e=0),"function"==typeof e?e:TO(e)}},{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return AO.bounds(e(t))};var t=e,n=t.left,r=void 0===n?-1/0:n,o=t.right,i=void 0===o?1/0:o,s=t.top,a=void 0===s?-1/0:s,l=t.bottom;return[[r,i],[a,void 0===l?1/0:l]]}}),NO="undefined"!=typeof window&&window.document&&window.document.createElement,RO={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return void 0===e&&(e=NO?window:void 0),e})),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=void 0===n||n,o=t.capture;return{passive:r,capture:void 0!==o&&o}}},DO=xO({},AO,{threshold:function(e,t,n){var r=n.filterTaps,o=void 0!==r&&r,i=n.lockDirection,s=void 0!==i&&i,a=n.axis,l=TO(e,o?3:s||(void 0===a?void 0:a)?1:0);return this.filterTaps=o||l[0]+l[1]>0,l},swipeVelocity:function(e){return void 0===e&&(e=.5),TO(e)},swipeDistance:function(e){return void 0===e&&(e=60),TO(e)},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function PO(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["domTarget","eventOptions","window","enabled"]),s=function(e){return void 0===e&&(e={}),LO(e,RO)}({domTarget:t,eventOptions:n,window:r,enabled:o});return s.drag=function(e){return void 0===e&&(e={}),LO(e,DO)}(i),s}function IO(e){return xO({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:MO,canceled:!1,memo:void 0,args:void 0},e)}function zO(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},drag:IO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),pinch:IO({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:IO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:IO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:IO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var VO=new Map,HO=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var o=arguments.length,i=new Array(o>2?o-2:0),s=2;s<o;s++)i[s-2]=arguments[s];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(i))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var o=xO({},n.controller.state.shared,n.state,n.mapStateValues(n.state)),i=n.handler(o);return n.state.memo=void 0!==i?i:n.state.memo,n.state._active||n.clean(),o}}var t=e.prototype;return t.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},t.updateGestureState=function(e){Object.assign(this.state,e)},t.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},t.getMovement=function(e){var t=this.config,n=t.initial,r=t.bounds,o=t.rubberband,i=t.threshold,s=this.state,a=s._bounds,l=s._initial,c=s._active,d=s._intentional,u=s.lastOffset,h=s.movement,p=this.getInternalMovement(e,this.state),f=!1===d[0]?BO(p[0],i[0]):d[0],m=!1===d[1]?BO(p[1],i[1]):d[1],g=this.checkIntentionality([f,m],p);if(g._blocked)return xO({},g,{_movement:p,delta:[0,0]});var b,v,y,w,x=g._intentional,C=p;(!1!==x[0]&&!1===d[0]&&(v=OO(n,this.state),b=OO(r,this.state),l[0]=v[0],a[0]=b[0]),!1!==x[1]&&!1===d[1])&&(v=null!=(y=v)?y:OO(n,this.state),b=null!=(w=b)?w:OO(r,this.state),l[1]=v[1],a[1]=b[1]);var k=[!1!==x[0]?p[0]-x[0]:l[0],!1!==x[1]?p[1]-x[1]:l[1]],$=fO(k,u),S=c?o:[0,0];return k=_O(a,fO(k,l),S),xO({},g,{intentional:!1!==x[0]||!1!==x[1],_initial:l,_movement:C,movement:k,values:e,offset:_O(a,$,S),delta:mO(k,h)})},t.clean=function(){this.clearTimeout()},wO(e,[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}]),e}();function BO(e,t){return Math.abs(e)>=t&&bO(e)*t}function _O(e,t,n){var r=t[0],o=t[1],i=n[0],s=n[1],a=e[0],l=a[0],c=a[1],d=e[1],u=d[0],h=d[1];return[yO(r,l,c,i),yO(o,u,h,s)]}function jO(e,t,n){var r=e.state,o=e.args,i=t.timeStamp,s=t.type,a=r.values;return{_lastEventType:s,event:t,timeStamp:i,elapsedTime:n?0:i-r.startTime,args:o,previous:a}}function FO(e,t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.call.apply(e,[this,xO({},t,{event:n})].concat(o))}}var qO=function(e){var t=this;this.classes=e,this.bind=function(){for(var e={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i,s=SO(t.classes);!(i=s()).done;){new(0,i.value)(t,r).addBindings(e)}for(var a=0,l=Object.entries(t.nativeRefs);a<l.length;a++){var c=l[a];KO(e,c[0],FO(c[1],xO({},t.state.shared,{args:r})))}return t.config.domTarget?function(e,t){var n=e.config,r=e.domListeners,o=UO(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;ZO(o,WO(r),i);for(var s=0,a=Object.entries(t);s<a.length;s++){var l=a[s],c=l[0],d=l[1],u=c.slice(2).toLowerCase();r.push([u,EO.apply(void 0,d)])}GO(o,r,i)}(t,e):function(e,t){for(var n=e.config,r={},o=n.eventOptions.capture?"Capture":"",i=0,s=Object.entries(t);i<s.length;i++){var a=s[i],l=a[0],c=a[1],d=Array.isArray(c)?c:[c];r[l+o]=EO.apply(void 0,d)}return r}(t,e)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=UO(t.config),n=t.config.eventOptions;e&&ZO(e,WO(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,o=e.windowListeners;if(!n)return;for(var i in o){ZO(n,o[i],r)}e.windowListeners={}}(t)},this.state=zO(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function WO(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function UO(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function KO(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function GO(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=SO(t);!(r=o()).done;){var i=r.value,s=i[0],a=i[1];e.addEventListener(s,a,n)}}function ZO(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=SO(t);!(r=o()).done;){var i=r.value,s=i[0],a=i[1];e.removeEventListener(s,a,n)}}function JO(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;e.drag&&t.add(VO.get("drag"));e.wheel&&t.add(VO.get("wheel"));e.scroll&&t.add(VO.get("scroll"));e.move&&t.add(VO.get("move"));e.pinch&&t.add(VO.get("pinch"));e.hover&&t.add(VO.get("hover"));return t}(e),o=te.useMemo((function(){return new qO(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,te.useEffect(o.effect,[]),o.config.domTarget?XO:o.bind}function XO(){"development"===process.env.NODE_ENV&&console.warn("Deprecation notice: When the `domTarget` option is specified, you don't need to write `useEffect(bind, [bind])` anymore: event binding is now made handled internally to this lib.\n\nNext version won't return anything when `domTarget` is provided, therefore your code will break if you try to call `useEffect`.")}var YO=function(e){function t(){return e.apply(this,arguments)||this}CO(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return mO(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],o=n[1],i=this.state.axis||(r>o?"x":r<o?"y":void 0);return this.config.axis||this.config.lockDirection?i?this.config.axis&&i!==this.config.axis?{_intentional:e,_blocked:!0,axis:i}:(e["x"===i?1:0]=!1,{_intentional:e,_blocked:!1,axis:i}):{_intentional:[!1,!1],_blocked:!1,axis:i}:{_intentional:e,_blocked:!1,axis:i}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r=t.timeStamp-this.state.timeStamp;Object.assign(n,function(e,t,n){var r=gO(t),o=0===r?0:1/r,i=0===n?0:1/n,s=i*r,a=t.map((function(e){return i*e})),l=t.map((function(e){return o*e}));return{velocities:a,velocity:s,distance:gO(e),direction:l}}(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(HO);function QO(e){if("touches"in e){var t=e.targetTouches,n=e.changedTouches;return t.length>0?t:n}return null}function eL(e){var t="buttons"in e?e.buttons:0,n=QO(e),r=n&&n.length||0;return{touches:r,down:r>0||t>0,buttons:t,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}function tL(e){var t=QO(e),n=t?t[0]:e;return[n.clientX,n.clientY]}var nL=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="dragging",t.stateKey="drag",t.onDragStart=function(e){t.enabled&&!t.state._active&&(!function(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=[]),r.window&&(ZO(r.window,o[t],r.eventOptions),GO(r.window,o[t]=n,r.eventOptions))}(t.controller,t.stateKey,[["pointermove",t.onDragChange],["pointerup",t.onDragEnd],["pointercancel",t.onDragEnd]]),t.updateGestureState({_pointerId:e.pointerId}),t.config.delay>0?(t.state._delayedEvent=!0,"persist"in e&&"function"==typeof e.persist&&e.persist(),t.setTimeout(t.startDrag.bind(kO(t)),t.config.delay,e)):t.startDrag(e))},t.onDragChange=function(e){if(!t.state.canceled&&e.pointerId===t.state._pointerId)if(t.state._active){var n=eL(e);if(n.down){t.updateSharedState(n);var r=tL(e),o=t.getKinematics(r,e),i=jO(kO(t),e),s=t.state._isTap,a=gO(o._movement);s&&a>=3&&(s=!1),t.updateGestureState(xO({},i,o,{_isTap:s})),t.fireGestureHandler()}else t.onDragEnd(e)}else t.state._delayedEvent&&(t.clearTimeout(),t.startDrag(e))},t.onDragEnd=function(e){if(e.pointerId===t.state._pointerId){t.state._active=!1,t.updateSharedState({down:!1,buttons:0,touches:0});var n=t.state._isTap,r=t.state.velocities,o=r[0],i=r[1],s=t.state.movement,a=s[0],l=s[1],c=t.state._intentional,d=c[0],u=c[1],h=t.config.swipeVelocity,p=h[0],f=h[1],m=t.config.swipeDistance,g=m[0],b=m[1],v=xO({},jO(kO(t),e),t.getMovement(t.state.values)),y=[0,0];v.elapsedTime<220&&(!1!==d&&Math.abs(o)>p&&Math.abs(a)>g&&(y[0]=bO(o)),!1!==u&&Math.abs(i)>f&&Math.abs(l)>b&&(y[1]=bO(i))),t.updateGestureState(xO({},v,{tap:n,swipe:y})),t.fireGestureHandler(!0===n)}},t.clean=function(){e.prototype.clean.call(kO(t)),t.state._delayedEvent=!1,function(e,t){var n=e.config,r=e.windowListeners;n.window&&(ZO(n.window,r[t],n.eventOptions),delete r[t])}(t.controller,t.stateKey)},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0}),t.state._active=!1,t.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame((function(){return t.fireGestureHandler()})))},t.onClick=function(e){t.state._isTap||e.stopPropagation()},t}CO(t,e);var n=t.prototype;return n.startDrag=function(e){var t=tL(e);this.updateSharedState(eL(e)),this.updateGestureState(xO({},function(e,t,n){var r=e.state.offset,o=n.timeStamp;return xO({},zO()[e.stateKey],{_active:!0,values:t,initial:t,offset:r,lastOffset:r,startTime:o})}(this,t,e),jO(this,e,!0),{_pointerId:e.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(t)),this.fireGestureHandler()},n.addBindings=function(e){(KO(e,"onPointerDown",this.onDragStart),this.config.filterTaps)&&KO(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(YO);function rL(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,i;if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!rL(e[r],t[r]))return!1;return!0}if("function"==typeof Map&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!rL(r.value[1],t.get(r.value[0])))return!1;return!0}if("function"==typeof Set&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(r=n;0!=r--;)if(!("_owner"===o[r]&&e.$$typeof||rL(e[o[r]],t[o[r]])))return!1;return!0}return e!=e&&t!=t}function oL(e,t){try{return rL(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}function iL(e,t){void 0===t&&(t={}),VO.set("drag",nL);var n=se();return n.current||(n.current=function(e,t){var n,r,o=[],i=!1;return function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}(PO,oL)),JO({drag:e},n.current(t))}
3233
+ ***************************************************************************** */var YS,QS,eM=function(){return eM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},eM.apply(this,arguments)};function tM(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function nM(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rM(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function oM(e,t,n){if(2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}!function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"}(YS||(YS={})),function(e){e.Parent="#_parent",e.Internal="#_internal"}(QS||(QS={}));var iM=YS.Start,sM=YS.Stop,aM=YS.Raise,lM=YS.Send,cM=YS.Cancel,dM=YS.NullEvent,uM=YS.Assign;YS.After,YS.DoneState;var hM=YS.Log,pM=YS.Init,fM=YS.Invoke;YS.ErrorExecution;var mM,gM=YS.ErrorPlatform,bM=YS.ErrorCustom,vM=YS.Update,yM=YS.Choose,wM=YS.Pure,xM={},CM="xstate.guard",kM="production"===process.env.NODE_ENV;function $M(e,t,n){void 0===n&&(n=".");var r=EM(e,n),o=EM(t,n);return FM(o)?!!FM(r)&&o===r:FM(r)?r in o:Object.keys(r).every((function(e){return e in o&&$M(r[e],o[e])}))}function SM(e){try{return FM(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw new Error("Events must be strings or objects with a string event.type property.")}}function MM(e,t){try{return _M(e)?e:e.toString().split(t)}catch(t){throw new Error("'".concat(e,"' is not a valid state path."))}}function EM(e,t){return"object"==typeof(n=e)&&"value"in n&&"context"in n&&"event"in n&&"_event"in n?e.value:_M(e)?TM(e):"string"!=typeof e?e:TM(MM(e,t));var n}function TM(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function OM(e,t){for(var n={},r=Object.keys(e),o=0;o<r.length;o++){var i=r[o];n[i]=t(e[i],i,e,o)}return n}function LM(e,t,n){var r,o,i={};try{for(var s=nM(Object.keys(e)),a=s.next();!a.done;a=s.next()){var l=a.value,c=e[l];n(c)&&(i[l]=t(c,l,e))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}var AM=function(e){return function(t){var n,r,o=t;try{for(var i=nM(e),s=i.next();!s.done;s=i.next()){o=o[s.value]}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function NM(e){return e?FM(e)?[[e]]:RM(Object.keys(e).map((function(t){var n=e[t];return"string"==typeof n||n&&Object.keys(n).length?NM(e[t]).map((function(e){return[t].concat(e)})):[[t]]}))):[[]]}function RM(e){var t;return(t=[]).concat.apply(t,oM([],rM(e),!1))}function DM(e){return _M(e)?e:[e]}function PM(e){return void 0===e?[]:DM(e)}function IM(e,t,n){var r,o;if(jM(e))return e(t,n.data);var i={};try{for(var s=nM(Object.keys(e)),a=s.next();!a.done;a=s.next()){var l=a.value,c=e[l];jM(c)?i[l]=c(t,n.data):i[l]=c}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}function zM(e){return e instanceof Promise||!(null===e||!jM(e)&&"object"!=typeof e||!jM(e.then))}function VM(e,t){return OM(e.states,(function(e,n){if(e){var r=(FM(t)?void 0:t[n])||(e?e.current:void 0);if(r)return{current:r,states:VM(e,r)}}}))}function HM(e,t,n,r){kM||BM(!!e,"Attempting to update undefined context");var o=e?n.reduce((function(e,n){var o,i,s=n.assignment,a={state:r,action:n,_event:t},l={};if(jM(s))l=s(e,t.data,a);else try{for(var c=nM(Object.keys(s)),d=c.next();!d.done;d=c.next()){var u=d.value,h=s[u];l[u]=jM(h)?h(e,t.data,a):h}}catch(e){o={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return Object.assign({},e,l)}),e):e;return o}var BM=function(){};function _M(e){return Array.isArray(e)}function jM(e){return"function"==typeof e}function FM(e){return"string"==typeof e}function qM(e,t){if(e)return FM(e)?{type:CM,name:e,predicate:t?t[e]:void 0}:jM(e)?{type:CM,name:e.name,predicate:e}:e}kM||(BM=function(e,t){var n=e instanceof Error?e:void 0;if((n||!e)&&void 0!==console){var r=["Warning: ".concat(t)];n&&r.push(n),console.warn.apply(console,r)}});var WM=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function UM(e){return!!e&&"__xstatenode"in e}function KM(e,t){return FM(e)||"number"==typeof e?eM({type:e},t):e}function GM(e,t){if(!FM(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=KM(e);return eM({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function ZM(e,t){return DM(t).map((function(t){return void 0===t||"string"==typeof t||UM(t)?{target:t,event:e}:eM(eM({},t),{event:e})}))}function JM(e,t,n,r,o){var i=e.options.guards,s={state:o,cond:t,_event:r};if(t.type===CM)return((null==i?void 0:i[t.name])||t.predicate)(n,r.data,s);var a=null==i?void 0:i[t.type];if(!a)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return a(n,r.data,s)}function XM(e){return"string"==typeof e?{type:e}:e}function YM(e,t,n){var r=function(){},o="object"==typeof e,i=o?e:null;return{next:((o?e.next:e)||r).bind(i),error:((o?e.error:t)||r).bind(i),complete:((o?e.complete:n)||r).bind(i)}}function QM(e,t){return"".concat(e,":invocation[").concat(t,"]")}function eE(e){return(e.type===aM||e.type===lM&&e.to===QS.Internal)&&"number"!=typeof e.delay}(mM={})[WM]=function(){return this},mM[Symbol.observable]=function(){return this};var tE=GM({type:pM});function nE(e,t){return t&&t[e]||void 0}function rE(e,t){var n;if(FM(e)||"number"==typeof e)n=jM(r=nE(e,t))?{type:e,exec:r}:r||{type:e,exec:void 0};else if(jM(e))n={type:e.name||e.toString(),exec:e};else{var r;if(jM(r=nE(e.type,t)))n=eM(eM({},e),{exec:r});else if(r){var o=r.type||e.type;n=eM(eM(eM({},r),e),{type:o})}else n=e}return n}var oE=function(e,t){return e?(_M(e)?e:[e]).map((function(e){return rE(e,t)})):[]};function iE(e){var t=rE(e);return eM(eM({id:FM(e)?e:t.id},t),{type:t.type})}function sE(e,t){var n="".concat(YS.DoneState,".").concat(e),r={type:n,data:t,toString:function(){return n}};return r}function aE(e,t){var n="".concat(YS.DoneInvoke,".").concat(e),r={type:n,data:t,toString:function(){return n}};return r}function lE(e,t){var n="".concat(YS.ErrorPlatform,".").concat(e),r={type:n,data:t,toString:function(){return n}};return r}function cE(e,t,n,r,o,i,s){void 0===s&&(s=!1);var a=s?[]:function(e){var t,n,r=[];try{for(var o=nM(e),i=o.next();!i.done;i=o.next())for(var s=i.value,a=0;a<s.actions.length;)s.actions[a].type!==uM?a++:(r.push(s.actions[a]),s.actions.splice(a,1))}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}(o),l=a.length?HM(n,r,a,t):n,c=s?[n]:void 0,d=[];function u(o,a){var u;switch(a.type){case aM:var h=function(e,t,n,r){var o,i={_event:n},s=GM(jM(e.event)?e.event(t,n.data,i):e.event);if(FM(e.delay)){var a=r&&r[e.delay];o=jM(a)?a(t,n.data,i):a}else o=jM(e.delay)?e.delay(t,n.data,i):e.delay;return eM(eM({},e),{type:aM,_event:s,delay:o})}(a,l,r,e.options.delays);return i&&"number"==typeof h.delay&&i(h,l,r),h;case lM:var p=function(e,t,n,r){var o,i={_event:n},s=GM(jM(e.event)?e.event(t,n.data,i):e.event);if(FM(e.delay)){var a=r&&r[e.delay];o=jM(a)?a(t,n.data,i):a}else o=jM(e.delay)?e.delay(t,n.data,i):e.delay;var l=jM(e.to)?e.to(t,n.data,i):e.to;return eM(eM({},e),{to:l,_event:s,event:s.data,delay:o})}(a,l,r,e.options.delays);if(!kM){var f=a.delay;BM(!FM(f)||"number"==typeof p.delay,"No delay reference for delay expression '".concat(f,"' was found on machine '").concat(e.id,"'"))}return i&&p.to!==QS.Internal&&("entry"===o?d.push(p):i(p,l,r)),p;case hM:var m=function(e,t,n){return eM(eM({},e),{value:FM(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})}(a,l,r);return null==i||i(m,l,r),m;case yM:if(!(y=null===(u=a.conds.find((function(n){var o=qM(n.cond,e.options.guards);return!o||JM(e,o,l,r,i?void 0:t)})))||void 0===u?void 0:u.actions))return[];var g=rM(cE(e,t,l,r,[{type:o,actions:oE(PM(y),e.options.actions)}],i,s),2),b=g[0],v=g[1];return l=v,null==c||c.push(l),b;case wM:var y;if(!(y=a.get(l,r.data)))return[];var w=rM(cE(e,t,l,r,[{type:o,actions:oE(PM(y),e.options.actions)}],i,s),2),x=w[0],C=w[1];return l=C,null==c||c.push(l),x;case sM:m=function(e,t,n){var r=jM(e.activity)?e.activity(t,n.data):e.activity,o="string"==typeof r?{id:r}:r;return{type:YS.Stop,activity:o}}(a,l,r);return null==i||i(m,n,r),m;case uM:l=HM(l,r,[a],i?void 0:t),null==c||c.push(l);break;default:var k=rE(a,e.options.actions),$=k.exec;if(i)i(k,l,r);else if($&&c){var S=c.length-1,M=eM(eM({},k),{exec:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];$.apply(void 0,oM([c[S]],rM(t),!1))}});k=M}return k}}var h=RM(o.map((function(e){var t,n,o=[];try{for(var s=nM(e.actions),a=s.next();!a.done;a=s.next()){var c=a.value,h=u(e.type,c);h&&(o=o.concat(h))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return d.forEach((function(e){i(e,l,r)})),d.length=0,o})));return[h,l]}var dE=function(e,t){return t(e)};function uE(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[WM]=function(){return this},t}function hE(e,t,n){var r=uE(t);if(r.deferred=!0,UM(e)){var o=r.state=dE(void 0,(function(){return(n?e.withContext(n):e).initialState}));r.getSnapshot=function(){return o}}return r}var pE=function(e){return"atomic"===e.type||"final"===e.type};function fE(e){return Object.keys(e.states).map((function(t){return e.states[t]}))}function mE(e){return fE(e).filter((function(e){return"history"!==e.type}))}function gE(e){var t=[e];return pE(e)?t:t.concat(RM(mE(e).map(gE)))}function bE(e,t){var n,r,o,i,s,a,l,c,d=yE(new Set(e)),u=new Set(t);try{for(var h=nM(u),p=h.next();!p.done;p=h.next())for(var f=(k=p.value).parent;f&&!u.has(f);)u.add(f),f=f.parent}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}var m=yE(u);try{for(var g=nM(u),b=g.next();!b.done;b=g.next()){if("compound"!==(k=b.value).type||m.get(k)&&m.get(k).length){if("parallel"===k.type)try{for(var v=(s=void 0,nM(mE(k))),y=v.next();!y.done;y=v.next()){var w=y.value;u.has(w)||(u.add(w),d.get(w)?d.get(w).forEach((function(e){return u.add(e)})):w.initialStateNodes.forEach((function(e){return u.add(e)})))}}catch(e){s={error:e}}finally{try{y&&!y.done&&(a=v.return)&&a.call(v)}finally{if(s)throw s.error}}}else d.get(k)?d.get(k).forEach((function(e){return u.add(e)})):k.initialStateNodes.forEach((function(e){return u.add(e)}))}}catch(e){o={error:e}}finally{try{b&&!b.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}try{for(var x=nM(u),C=x.next();!C.done;C=x.next()){var k;for(f=(k=C.value).parent;f&&!u.has(f);)u.add(f),f=f.parent}}catch(e){l={error:e}}finally{try{C&&!C.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}return u}function vE(e,t){var n=t.get(e);if(!n)return{};if("compound"===e.type){var r=n[0];if(!r)return{};if(pE(r))return r.key}var o={};return n.forEach((function(e){o[e.key]=vE(e,t)})),o}function yE(e){var t,n,r=new Map;try{for(var o=nM(e),i=o.next();!i.done;i=o.next()){var s=i.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function wE(e,t){return vE(e,yE(bE([e],t)))}function xE(e,t){return Array.isArray(e)?e.some((function(e){return e===t})):e instanceof Set&&e.has(t)}function CE(e,t){return"compound"===t.type?mE(t).some((function(t){return"final"===t.type&&xE(e,t)})):"parallel"===t.type&&mE(t).every((function(t){return CE(e,t)}))}function kE(e){return new Set(RM(e.map((function(e){return e.tags}))))}function $E(e,t){if(e===t)return!0;if(void 0===e||void 0===t)return!1;if(FM(e)||FM(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){return $E(e[n],t[n])}))}var SE=function(){function e(e){var t,n,r=this;this.actions=[],this.activities=xM,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||xM,this.meta=(void 0===(n=e.configuration)&&(n=[]),n.reduce((function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e}),{})),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!==(t=Array.isArray(e.tags)?new Set(e.tags):e.tags)&&void 0!==t?t:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return function(e){return oM([],rM(new Set(RM(oM([],rM(e.map((function(e){return e.ownEvents}))),!1)))),!1)}(r.configuration)}})}return e.from=function(t,n){return t instanceof e?t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:n,_event:tE,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var r=tE;return new e({value:t.value,context:n,_event:r,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(e,t){var n=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),FM(e))return[e];var r=Object.keys(e);return r.concat.apply(r,oM([],rM(r.map((function(r){return n.toStrings(e[r],t).map((function(e){return r+t+e}))}))),!1))},e.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var t=e.tags;e.machine;var n=tM(e,["configuration","transitions","tags","machine"]);return eM(eM({},n),{tags:Array.from(t)})},e.prototype.matches=function(e){return $M(e,this.value)},e.prototype.hasTag=function(e){return this.tags.has(e)},e.prototype.can=function(e){var t;kM&&BM(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var n=null===(t=this.machine)||void 0===t?void 0:t.getTransitionData(this,e);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some((function(e){return void 0!==e.target||e.actions.length}))},e}(),ME={deferEvents:!1},EE=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=eM(eM({},ME),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents)return void this.schedule(e);this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()}else this.queue.push(e)},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},e}(),TE=new Map,OE=0,LE=function(){return"x:".concat(OE++)},AE=function(e,t){return TE.set(e,t),e},NE=function(e){return TE.get(e)},RE=function(e){TE.delete(e)};function DE(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void(kM||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}function PE(e){if(DE()){var t=function(){var e=DE();if(e&&"__xstate__"in e)return e.__xstate__}();t&&t.register(e)}}function IE(e,t){void 0===t&&(t={});var n=e.initialState,r=new Set,o=[],i=!1,s=function(e){var t;return eM(((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[WM]=function(){return this},t),e)}({id:t.id,send:function(t){o.push(t),function(){if(!i){for(i=!0;o.length>0;){var t=o.shift();n=e.transition(n,t,a),r.forEach((function(e){return e.next(n)}))}i=!1}}()},getSnapshot:function(){return n},subscribe:function(e,t,o){var i=YM(e,t,o);return r.add(i),i.next(n),{unsubscribe:function(){r.delete(i)}}}}),a={parent:t.parent,self:s,id:t.id||"anonymous",observers:r};return n=e.start?e.start(a):n,s}var zE,VE={sync:!1,autoForward:!1};!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(zE||(zE={}));var HE=function(){function e(t,n){void 0===n&&(n=e.defaultOptions);var r=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=zE.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(e,t){if(_M(e))return r.batch(e),r.state;var n=GM(KM(e,t));if(r.status===zE.Stopped)return kM||BM(!1,'Event "'.concat(n.name,'" was sent to stopped service "').concat(r.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(n.data))),r.state;if(r.status!==zE.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(r.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return r.scheduler.schedule((function(){r.forward(n);var e=r._nextState(n);r.update(e,n)})),r._state},this.sendTo=function(e,t,n){var o,i=r.parent&&(t===QS.Parent||r.parent.id===t),s=i?r.parent:FM(t)?t===QS.Internal?r:r.children.get(t)||NE(t):(o=t)&&"function"==typeof o.send?t:void 0;if(s)if("machine"in s){if(r.status!==zE.Stopped||r.parent!==s||r.state.done){var a=eM(eM({},e),{name:e.name===bM?"".concat(lE(r.id)):e.name,origin:r.sessionId});!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([s,a]):s.send(a)}}else!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([s,e.data]):s.send(e.data);else{if(!i)throw new Error("Unable to send event to child '".concat(t,"' from service '").concat(r.id,"'."));kM||BM(!1,"Service '".concat(r.id,"' has no parent: unable to send event ").concat(e.type))}},this._exec=function(e,t,n,o){void 0===o&&(o=r.machine.options.actions);var i=e.exec||nE(e.type,o),s=jM(i)?i:i?i.exec:e.exec;if(s)try{return s(t,n.data,r.machine.config.predictableActionArguments?{action:e,_event:n}:{action:e,state:r.state,_event:n})}catch(e){throw r.parent&&r.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case aM:var a=e;r.defer(a);break;case lM:var l=e;if("number"==typeof l.delay)return void r.defer(l);l.to?r.sendTo(l._event,l.to,n===tE):r.send(l._event);break;case cM:r.cancel(e.sendId);break;case iM:if(r.status!==zE.Running)return;var c=e.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[c.id||c.type])break;if(c.type===YS.Invoke){var d=XM(c.src),u=r.machine.options.services?r.machine.options.services[d.type]:void 0,h=c.id,p=c.data;kM||BM(!("forward"in c),"`forward` property is deprecated (found in invocation of '".concat(c.src,"' in in machine '").concat(r.machine.id,"'). ")+"Please use `autoForward` instead.");var f="autoForward"in c?c.autoForward:!!c.forward;if(!u)return void(kM||BM(!1,"No service found for invocation '".concat(c.src,"' in machine '").concat(r.machine.id,"'.")));var m=p?IM(p,t,n):void 0;if("string"==typeof u)return;var g=jM(u)?u(t,n.data,{data:m,src:d,meta:c.meta}):u;if(!g)return;var b=void 0;UM(g)&&(g=m?g.withContext(m):g,b={autoForward:f}),r.spawn(g,h,b)}else r.spawnActivity(c);break;case sM:r.stopChild(e.activity.id);break;case hM:var v=e,y=v.label,w=v.value;y?r.logger(y,w):r.logger(w);break;default:kM||BM(!1,"No implementation found for action type '".concat(e.type,"'"))}};var o=eM(eM({},e.defaultOptions),n),i=o.clock,s=o.logger,a=o.parent,l=o.id,c=void 0!==l?l:t.id;this.id=c,this.logger=s,this.clock=i,this.parent=a,this.options=o,this.scheduler=new EE({deferEvents:this.options.deferEvents}),this.sessionId=LE()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:dE(this,(function(){return e._initialState=e.machine.initialState,e._initialState}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return kM||BM(this.status!==zE.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(e,t){var n,r;try{for(var o=nM(e.actions),i=o.next();!i.done;i=o.next()){var s=i.value;this.exec(s,e,t)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},e.prototype.update=function(e,t){var n,r,o,i,s,a,l,c,d=this;if(e._sessionid=this.sessionId,this._state=e,this.machine.config.predictableActionArguments&&t!==tE||!this.options.execute)for(var u=void 0;u=this._outgoingQueue.shift();)u[0].send(u[1]);else this.execute(this.state);if(this.children.forEach((function(e){d.state.children[e.id]=e})),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var h=nM(this.eventListeners),p=h.next();!p.done;p=h.next()){(0,p.value)(e.event)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var f=nM(this.listeners),m=f.next();!m.done;m=f.next()){(0,m.value)(e,e.event)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}try{for(var g=nM(this.contextListeners),b=g.next();!b.done;b=g.next()){(0,b.value)(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(e){s={error:e}}finally{try{b&&!b.done&&(a=g.return)&&a.call(g)}finally{if(s)throw s.error}}if(this.state.done){var v=e.configuration.find((function(e){return"final"===e.type&&e.parent===d.machine})),y=v&&v.doneData?IM(v.doneData,e.context,t):void 0;this._doneEvent=aE(this.id,y);try{for(var w=nM(this.doneListeners),x=w.next();!x.done;x=w.next()){(0,x.value)(this._doneEvent)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(c=w.return)&&c.call(w)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),RE(this.sessionId)}},e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===zE.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,t,n){var r=this,o=YM(e,t,n);this.listeners.add(o.next),this.status!==zE.NotStarted&&o.next(this.state);var i=function(){r.doneListeners.delete(i),r.stopListeners.delete(i),o.complete()};return this.status===zE.Stopped?o.complete():(this.onDone(i),this.onStop(i)),{unsubscribe:function(){r.listeners.delete(o.next),r.doneListeners.delete(i),r.stopListeners.delete(i)}}},e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},e.prototype.onSend=function(e){return this.sendListeners.add(e),this},e.prototype.onChange=function(e){return this.contextListeners.add(e),this},e.prototype.onStop=function(e){return this.stopListeners.add(e),this},e.prototype.onDone=function(e){return this.status===zE.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},e.prototype.start=function(e){var t=this;if(this.status===zE.Running)return this;this.machine._init(),AE(this.sessionId,this),this.initialized=!0,this.status=zE.Running;var n=void 0===e?this.initialState:dE(this,(function(){return"object"==typeof(n=e)&&null!==n&&"value"in n&&"_event"in n?t.machine.resolveState(e):t.machine.resolveState(SE.from(e,t.machine.context));var n}));return this.options.devTools&&this.attachDev(),this.scheduler.initialize((function(){t.update(n,tE)})),this},e.prototype._stopChildren=function(){this.children.forEach((function(e){jM(e.stop)&&e.stop()})),this.children.clear()},e.prototype._stop=function(){var e,t,n,r,o,i,s,a,l,c;try{for(var d=nM(this.listeners),u=d.next();!u.done;u=d.next()){var h=u.value;this.listeners.delete(h)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}try{for(var p=nM(this.stopListeners),f=p.next();!f.done;f=p.next()){(h=f.value)(),this.stopListeners.delete(h)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}try{for(var m=nM(this.contextListeners),g=m.next();!g.done;g=m.next()){h=g.value;this.contextListeners.delete(h)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}try{for(var b=nM(this.doneListeners),v=b.next();!v.done;v=b.next()){h=v.value;this.doneListeners.delete(h)}}catch(e){s={error:e}}finally{try{v&&!v.done&&(a=b.return)&&a.call(b)}finally{if(s)throw s.error}}if(!this.initialized)return this;this.initialized=!1,this.status=zE.Stopped,this._initialState=void 0;try{for(var y=nM(Object.keys(this.delayedEventsMap)),w=y.next();!w.done;w=y.next()){var x=w.value;this.clock.clearTimeout(this.delayedEventsMap[x])}}catch(e){l={error:e}}finally{try{w&&!w.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new EE({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var e=this,t=this.scheduler;return this._stop(),t.schedule((function(){var t;if(!(null===(t=e._state)||void 0===t?void 0:t.done)){var n=GM({type:"xstate.stop"}),r=dE(e,(function(){var t=RM(oM([],rM(e.state.configuration),!1).sort((function(e,t){return t.order-e.order})).map((function(t){return oE(t.onExit,e.machine.options.actions)}))),r=rM(cE(e.machine,e.state,e.state.context,n,[{type:"exit",actions:t}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),o=r[0],i=r[1],s=new SE({value:e.state.value,context:i,_event:n,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:o.filter((function(e){return!eE(e)})),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return s.changed=!0,s}));e.update(r,n),e._stopChildren(),RE(e.sessionId)}})),this},e.prototype.batch=function(e){var t=this;if(this.status===zE.NotStarted&&this.options.deferEvents)kM||BM(!1,"".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==zE.Running)throw new Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule((function(){var r,o,i=t.state,s=!1,a=[],l=function(e){var r=GM(e);t.forward(r),i=dE(t,(function(){return t.machine.transition(i,r,void 0,n||void 0)})),a.push.apply(a,oM([],rM(t.machine.config.predictableActionArguments?i.actions:i.actions.map((function(e){return function(e,t){var n=e.exec;return eM(eM({},e),{exec:void 0!==n?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})}(e,i)}))),!1)),s=s||!!i.changed};try{for(var c=nM(e),d=c.next();!d.done;d=c.next()){l(d.value)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}i.changed=s,i.actions=a,t.update(i,GM(e[e.length-1]))}))}},e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var n=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var r=GM(e);if(0===r.name.indexOf(gM)&&!this.state.nextEvents.some((function(e){return 0===e.indexOf(gM)})))throw r.data.data;return dE(this,(function(){return n.machine.transition(n.state,r,void 0,t||void 0)}))},e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,n;try{for(var r=nM(this.forwardTo),o=r.next();!o.done;o=r.next()){var i=o.value,s=this.children.get(i);if(!s)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(i,"'."));s.send(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,n=this.clock.setTimeout((function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)}),e.delay);e.id&&(this.delayedEventsMap[e.id]=n)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,n){void 0===n&&(n=this.machine.options.actions),this._exec(e,t.context,t._event,n)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null===(t=this.state)||void 0===t||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);t&&(this.removeChild(e),jM(t.stop)&&t.stop())},e.prototype.spawn=function(e,t,n){if(this.status!==zE.Running)return hE(e,t);if(zM(e))return this.spawnPromise(Promise.resolve(e),t);if(jM(e))return this.spawnCallback(e,t);if(function(e){try{return"function"==typeof e.send}catch(e){return!1}}(o=e)&&"id"in o)return this.spawnActor(e,t);if(function(e){try{return"subscribe"in e&&jM(e.subscribe)}catch(e){return!1}}(e))return this.spawnObservable(e,t);if(UM(e))return this.spawnMachine(e,eM(eM({},n),{id:t}));if(null!==(r=e)&&"object"==typeof r&&"transition"in r&&"function"==typeof r.transition)return this.spawnBehavior(e,t);throw new Error('Unable to spawn entity "'.concat(t,'" of type "').concat(typeof e,'".'));var r,o},e.prototype.spawnMachine=function(t,n){var r=this;void 0===n&&(n={});var o=new e(t,eM(eM({},this.options),{parent:this,id:n.id||t.id})),i=eM(eM({},VE),n);i.sync&&o.onTransition((function(e){r.send(vM,{state:e,id:o.id})}));var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone((function(e){r.removeChild(o.id),r.send(GM(e,{origin:o.id}))})).start(),s},e.prototype.spawnBehavior=function(e,t){var n=IE(e,{id:t,parent:this});return this.children.set(t,n),n},e.prototype.spawnPromise=function(e,t){var n,r,o=this,i=!1;e.then((function(e){i||(r=e,o.removeChild(t),o.send(GM(aE(t,e),{origin:t})))}),(function(e){if(!i){o.removeChild(t);var n=lE(t,e);try{o.send(GM(n,{origin:t}))}catch(r){!function(e,t,n){if(!kM){var r=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";if(e===t)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(e,"'.").concat(r));else{var o=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(e,"'. ").concat(r," Current error is '").concat(t,"'.").concat(o))}}}(e,r,t),o.devTools&&o.devTools.send(n,o.state),o.machine.strict&&o.stop()}}}));var s=((n={id:t,send:function(){},subscribe:function(t,n,r){var o=YM(t,n,r),i=!1;return e.then((function(e){i||(o.next(e),i||o.complete())}),(function(e){i||o.error(e)})),{unsubscribe:function(){return i=!0}}},stop:function(){i=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[WM]=function(){return this},n);return this.children.set(t,s),s},e.prototype.spawnCallback=function(e,t){var n,r,o,i=this,s=!1,a=new Set,l=new Set;try{o=e((function(e){r=e,l.forEach((function(t){return t(e)})),s||i.send(GM(e,{origin:t}))}),(function(e){a.add(e)}))}catch(e){this.send(lE(t,e))}if(zM(o))return this.spawnPromise(o,t);var c=((n={id:t,send:function(e){return a.forEach((function(t){return t(e)}))},subscribe:function(e){var t=YM(e);return l.add(t.next),{unsubscribe:function(){l.delete(t.next)}}},stop:function(){s=!0,jM(o)&&o()},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[WM]=function(){return this},n);return this.children.set(t,c),c},e.prototype.spawnObservable=function(e,t){var n,r,o=this,i=e.subscribe((function(e){r=e,o.send(GM(e,{origin:t}))}),(function(e){o.removeChild(t),o.send(GM(lE(t,e),{origin:t}))}),(function(){o.removeChild(t),o.send(GM(aE(t),{origin:t}))})),s=((n={id:t,send:function(){},subscribe:function(t,n,r){return e.subscribe(t,n,r)},stop:function(){return i.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:t}}})[WM]=function(){return this},n);return this.children.set(t,s),s},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(t){var n=t(this.state.context,e);this.spawnEffect(e.id,n)}else kM||BM(!1,"No implementation found for activity '".concat(e.type,"'"))},e.prototype.spawnEffect=function(e,t){var n;this.children.set(e,((n={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[WM]=function(){return this},n))},e.prototype.attachDev=function(){var e=DE();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(eM(eM({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:eM({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}PE(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[WM]=function(){return this},e.prototype.getSnapshot=function(){return this.status===zE.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},e.interpret=BE,e}();function BE(e,t){return new HE(e,t)}function _E(e){if("string"==typeof e){var t={type:e,toString:function(){return e}};return t}return e}function jE(e){return eM(eM({type:fM},e),{toJSON:function(){e.onDone,e.onError;var t=tM(e,["onDone","onError"]);return eM(eM({},t),{type:fM,src:_E(e.src)})}})}var FE="",qE="*",WE={},UE=function(e){return"#"===e[0]},KE=function(){function e(t,n,r,o){void 0===r&&(r="context"in t?t.context:void 0);var i,s=this;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==o?void 0:o.parent,this.key=this.config.key||(null==o?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||oM([this.machine.key],rM(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(i=this.config.schema)&&void 0!==i?i:{},this.description=this.config.description,kM||BM(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?OM(this.config.states,(function(t,n){var r,o=new e(t,{},void 0,{parent:s,key:n});return Object.assign(s.idMap,eM(((r={})[o.id]=o,r),o.idMap)),o})):WE;var a=0;!function e(t){var n,r;t.order=a++;try{for(var o=nM(fE(t)),i=o.next();!i.done;i=o.next()){e(i.value)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some((function(e){return e.event===FE})):FE in this.config.on),this.strict=!!this.config.strict,this.onEntry=PM(this.config.entry||this.config.onEntry).map((function(e){return rE(e)})),this.onExit=PM(this.config.exit||this.config.onExit).map((function(e){return rE(e)})),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=PM(this.config.invoke).map((function(e,t){var n,r;if(UM(e)){var o=QM(s.id,t);return s.machine.options.services=eM(((n={})[o]=e,n),s.machine.options.services),jE({src:o,id:o})}if(FM(e.src)){o=e.id||QM(s.id,t);return jE(eM(eM({},e),{id:o,src:e.src}))}if(UM(e.src)||jM(e.src)){o=e.id||QM(s.id,t);return s.machine.options.services=eM(((r={})[o]=e.src,r),s.machine.options.services),jE(eM(eM({id:o},e),{src:o}))}var i=e.src;return jE(eM(eM({id:QM(s.id,t)},e),{src:i}))})),this.activities=PM(this.config.activities).concat(this.invoke).map((function(e){return iE(e)})),this.transition=this.transition.bind(this),this.tags=PM(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||gE(this).forEach((function(e){return e.on}))},e.prototype.withConfig=function(t,n){var r=this.options,o=r.actions,i=r.activities,s=r.guards,a=r.services,l=r.delays;return new e(this.config,{actions:eM(eM({},o),t.actions),activities:eM(eM({},i),t.activities),guards:eM(eM({},s),t.guards),services:eM(eM({},a),t.services),delays:eM(eM({},l),t.delays)},null!=n?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return jM(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:OM(this.states,(function(e){return e.definition})),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce((function(e,t){return e[t.eventType]=e[t.eventType]||[],e[t.eventType].push(t),e}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var t=e===FE,n=this.transitions.filter((function(n){var r=n.eventType===e;return t?r:r||n.eventType===qE}));return this.__cache.candidates[e]=n,n},e.prototype.getDelayedTransitions=function(){var e=this,t=this.config.after;if(!t)return[];var n=function(t,n){var r=function(e,t){var n=t?"#".concat(t):"";return"".concat(YS.After,"(").concat(e,")").concat(n)}(jM(t)?"".concat(e.id,":delay[").concat(n,"]"):t,e.id);return e.onEntry.push(function(e,t){return{to:t?t.to:void 0,type:lM,event:jM(e)?e:KM(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:jM(e)?e.name:SM(e)}}(r,{delay:t})),e.onExit.push({type:cM,sendId:r}),r},r=_M(t)?t.map((function(e,t){var r=n(e.delay,t);return eM(eM({},e),{event:r})})):RM(Object.keys(t).map((function(e,r){var o=t[e],i=FM(o)?{target:o}:o,s=isNaN(+e)?e:+e,a=n(s,r);return PM(i).map((function(e){return eM(eM({},e),{event:a,delay:s})}))})));return r.map((function(t){var n=t.delay;return eM(eM({},e.formatTransition(t)),{delay:n})}))},e.prototype.getStateNodes=function(e){var t,n=this;if(!e)return[];var r=e instanceof SE?e.value:EM(e,this.delimiter);if(FM(r)){var o=this.getStateNode(r).initial;return void 0!==o?this.getStateNodes(((t={})[r]=o,t)):[this,this.states[r]]}var i=Object.keys(r),s=[this];return s.push.apply(s,oM([],rM(RM(i.map((function(e){return n.getStateNode(e).getStateNodes(r[e])})))),!1)),s},e.prototype.handles=function(e){var t=SM(e);return this.events.includes(t)},e.prototype.resolveState=function(e){var t=e instanceof SE?e:SE.create(e),n=Array.from(bE([],this.getStateNodes(t.value)));return new SE(eM(eM({},t),{value:this.resolve(t.value),configuration:n,done:CE(n,this),tags:kE(n),machine:this.machine}))},e.prototype.transitionLeafNode=function(e,t,n){var r=this.getStateNode(e).next(t,n);return r&&r.transitions.length?r:this.next(t,n)},e.prototype.transitionCompoundNode=function(e,t,n){var r=Object.keys(e),o=this.getStateNode(r[0])._transition(e[r[0]],t,n);return o&&o.transitions.length?o:this.next(t,n)},e.prototype.transitionParallelNode=function(e,t,n){var r,o,i={};try{for(var s=nM(Object.keys(e)),a=s.next();!a.done;a=s.next()){var l=a.value,c=e[l];if(c){var d=this.getStateNode(l)._transition(c,t,n);d&&(i[l]=d)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}var u=Object.keys(i).map((function(e){return i[e]})),h=RM(u.map((function(e){return e.transitions})));if(!u.some((function(e){return e.transitions.length>0})))return this.next(t,n);var p=RM(Object.keys(i).map((function(e){return i[e].configuration})));return{transitions:h,exitSet:RM(u.map((function(e){return e.exitSet}))),configuration:p,source:t,actions:RM(Object.keys(i).map((function(e){return i[e].actions})))}},e.prototype._transition=function(e,t,n){return FM(e)?this.transitionLeafNode(e,t,n):1===Object.keys(e).length?this.transitionCompoundNode(e,t,n):this.transitionParallelNode(e,t,n)},e.prototype.getTransitionData=function(e,t){return this._transition(e.value,e,GM(t))},e.prototype.next=function(e,t){var n,r,o,i=this,s=t.name,a=[],l=[];try{for(var c=nM(this.getCandidates(s)),d=c.next();!d.done;d=c.next()){var u=d.value,h=u.cond,p=u.in,f=e.context,m=!p||(FM(p)&&UE(p)?e.matches(EM(this.getStateNodeById(p).path,this.delimiter)):$M(EM(p,this.delimiter),AM(this.path.slice(0,-2))(e.value))),g=!1;try{g=!h||JM(this.machine,h,f,t,e)}catch(e){throw new Error("Unable to evaluate guard '".concat(h.name||h.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,"':\n").concat(e.message))}if(g&&m){void 0!==u.target&&(l=u.target),a.push.apply(a,oM([],rM(u.actions),!1)),o=u;break}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}if(o){if(!l.length)return{transitions:[o],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var b=RM(l.map((function(t){return i.getRelativeStateNodes(t,e.historyValue)})));return{transitions:[o],exitSet:!!o.internal?[]:RM(l.map((function(e){return i.getPotentiallyReenteringNodes(e)}))),configuration:b,source:e,actions:a}}},e.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var t=[],n=this,r=e;n&&n!==r;)t.push(n),n=n.parent;return n!==r?[]:(t.push(r),t)},e.prototype.getActions=function(e,t,n,r,o,i,s){var a,l,c,d,u=this,h=i?bE([],this.getStateNodes(i.value)):[],p=new Set;try{for(var f=nM(Array.from(e).sort((function(e,t){return e.order-t.order}))),m=f.next();!m.done;m=f.next()){(!xE(h,v=m.value)||xE(n.exitSet,v)||v.parent&&p.has(v.parent))&&p.add(v)}}catch(e){a={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(a)throw a.error}}try{for(var g=nM(h),b=g.next();!b.done;b=g.next()){var v;xE(e,v=b.value)&&!xE(n.exitSet,v.parent)||n.exitSet.push(v)}}catch(e){c={error:e}}finally{try{b&&!b.done&&(d=g.return)&&d.call(g)}finally{if(c)throw c.error}}n.exitSet.sort((function(e,t){return t.order-e.order}));var y=Array.from(p).sort((function(e,t){return e.order-t.order})),w=new Set(n.exitSet),x=RM(y.map((function(e){var t=[];if("final"!==e.type)return t;var i=e.parent;if(!i.parent)return t;t.push(sE(e.id,e.doneData),sE(i.id,e.doneData?IM(e.doneData,r,o):void 0));var s=i.parent;return"parallel"===s.type&&mE(s).every((function(e){return CE(n.configuration,e)}))&&t.push(sE(s.id)),t}))),C=y.map((function(e){var t=e.onEntry,n=e.activities.map((function(e){return function(e){var t=iE(e);return{type:YS.Start,activity:t,exec:void 0}}(e)}));return{type:"entry",actions:oE(s?oM(oM([],rM(t),!1),rM(n),!1):oM(oM([],rM(n),!1),rM(t),!1),u.machine.options.actions)}})).concat({type:"state_done",actions:x.map((function(e){return function(e,t){return{type:aM,event:"function"==typeof e?e:KM(e),delay:t?t.delay:void 0,id:null==t?void 0:t.id}}(e)}))}),k=Array.from(w).map((function(e){return{type:"exit",actions:oE(oM(oM([],rM(e.onExit),!1),rM(e.activities.map((function(e){return function(e){var t=jM(e)?e:iE(e);return{type:YS.Stop,activity:t,exec:void 0}}(e)}))),!1),u.machine.options.actions)}})).concat({type:"transition",actions:oE(n.actions,this.machine.options.actions)}).concat(C);if(t){var $=oE(RM(oM([],rM(e),!1).sort((function(e,t){return t.order-e.order})).map((function(e){return e.onExit}))),this.machine.options.actions).filter((function(e){return!eE(e)}));return k.concat({type:"stop",actions:$})}return k},e.prototype.transition=function(e,t,n,r){void 0===e&&(e=this.initialState);var o,i,s=GM(t);if(e instanceof SE)o=void 0===n?e:this.resolveState(SE.from(e,n));else{var a=FM(e)?this.resolve(TM(this.getResolvedPath(e))):this.resolve(e),l=null!=n?n:this.machine.context;o=this.resolveState(SE.from(a,l))}if(!kM&&s.name===qE)throw new Error("An event cannot have the wildcard type ('".concat(qE,"')"));if(this.strict&&!this.events.includes(s.name)&&(i=s.name,!/^(done|error)\./.test(i)))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(s.name,"'"));var c=this._transition(o.value,o,s)||{transitions:[],configuration:[],exitSet:[],source:o,actions:[]},d=bE([],this.getStateNodes(o.value)),u=c.configuration.length?bE(d,c.configuration):d;return c.configuration=oM([],rM(u),!1),this.resolveTransition(c,o,o.context,r,s)},e.prototype.resolveRaisedTransition=function(e,t,n,r){var o,i=e.actions;return(e=this.transition(e,t,void 0,r))._event=n,e.event=n.data,(o=e.actions).unshift.apply(o,oM([],rM(i),!1)),e},e.prototype.resolveTransition=function(e,t,n,r,o){var i,s,a,l,c=this;void 0===o&&(o=tE);var d=e.configuration,u=!t||e.transitions.length>0,h=u?e.configuration:t?t.configuration:[],p=CE(h,this),f=u?wE(this.machine,d):void 0,m=t?t.historyValue?t.historyValue:e.source?this.machine.historyValue(t.value):void 0:void 0,g=this.getActions(new Set(h),p,e,n,o,t,r),b=t?eM({},t.activities):{};try{for(var v=nM(g),y=v.next();!y.done;y=v.next()){var w=y.value;try{for(var x=(a=void 0,nM(w.actions)),C=x.next();!C.done;C=x.next()){var k=C.value;k.type===iM?b[k.activity.id||k.activity.type]=k:k.type===sM&&(b[k.activity.id||k.activity.type]=!1)}}catch(e){a={error:e}}finally{try{C&&!C.done&&(l=x.return)&&l.call(x)}finally{if(a)throw a.error}}}}catch(e){i={error:e}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}var $,S,M=rM(cE(this,t,n,o,g,r,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),E=M[0],T=M[1],O=rM(function(e,t){var n,r,o=rM([[],[]],2),i=o[0],s=o[1];try{for(var a=nM(e),l=a.next();!l.done;l=a.next()){var c=l.value;t(c)?i.push(c):s.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}(E,eE),2),L=O[0],A=O[1],N=E.filter((function(e){var t;return e.type===iM&&(null===(t=e.activity)||void 0===t?void 0:t.type)===fM})),R=N.reduce((function(e,t){return e[t.activity.id]=function(e,t,n,r){var o,i=XM(e.src),s=null===(o=null==t?void 0:t.options.services)||void 0===o?void 0:o[i.type],a=e.data?IM(e.data,n,r):void 0,l=s?hE(s,e.id,a):uE(e.id);return l.meta=e,l}(t.activity,c.machine,T,o),e}),t?eM({},t.children):{}),D=new SE({value:f||t.value,context:T,_event:o,_sessionid:t?t._sessionid:null,historyValue:f?m?($=m,S=f,{current:S,states:VM($,S)}):void 0:t?t.historyValue:void 0,history:!f||e.source?t:void 0,actions:f?A:[],activities:f?b:t?t.activities:{},events:[],configuration:h,transitions:e.transitions,children:R,done:p,tags:kE(h),machine:this}),P=n!==T;D.changed=o.name===vM||P;var I=D.history;I&&delete I.history;var z=!p&&(this._transient||d.some((function(e){return e._transient})));if(!(u||z&&o.name!==FE))return D;var V=D;if(!p)for(z&&(V=this.resolveRaisedTransition(V,{type:dM},o,r));L.length;){var H=L.shift();V=this.resolveRaisedTransition(V,H._event,o,r)}var B=V.changed||(I?!!V.actions.length||P||typeof I.value!=typeof V.value||!$E(V.value,I.value):void 0);return V.changed=B,V.history=I,V},e.prototype.getStateNode=function(e){if(UE(e))return this.machine.getStateNodeById(e);if(!this.states)throw new Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var t=this.states[e];if(!t)throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return t},e.prototype.getStateNodeById=function(e){var t=UE(e)?e.slice(1):e;if(t===this.id)return this;var n=this.machine.idMap[t];if(!n)throw new Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"));return n},e.prototype.getStateNodeByPath=function(e){if("string"==typeof e&&UE(e))try{return this.getStateNodeById(e.slice(1))}catch(e){}for(var t=MM(e,this.delimiter).slice(),n=this;t.length;){var r=t.shift();if(!r.length)break;n=n.getStateNode(r)}return n},e.prototype.resolve=function(e){var t,n=this;if(!e)return this.initialStateValue||WE;switch(this.type){case"parallel":return OM(this.initialStateValue,(function(t,r){return t?n.getStateNode(r).resolve(e[r]||t):WE}));case"compound":if(FM(e)){var r=this.getStateNode(e);return"parallel"===r.type||"compound"===r.type?((t={})[e]=r.initialStateValue,t):e}return Object.keys(e).length?OM(e,(function(e,t){return e?n.getStateNode(t).resolve(e):WE})):this.initialStateValue||{};default:return e||WE}},e.prototype.getResolvedPath=function(e){if(UE(e)){var t=this.machine.idMap[e.slice(1)];if(!t)throw new Error("Unable to find state node '".concat(e,"'"));return t.path}return MM(e,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var e,t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)t=LM(this.states,(function(e){return e.initialStateValue||WE}),(function(e){return!("history"===e.type)}));else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));t=pE(this.states[this.initial])?this.initial:((e={})[this.initial]=this.states[this.initial].initialStateValue,e)}else t={};return this.__cache.initialStateValue=t,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(e,t){this._init();var n=this.getStateNodes(e);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=t?t:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var e;if("history"===this.type){var t=this.config;e=FM(t.target)&&UE(t.target)?TM(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target}return e},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(e,t,n){return void 0===n&&(n=!0),n?"history"===e.type?e.resolveHistory(t):e.initialStateNodes:[e]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var e=this;return pE(this)?[this]:"compound"!==this.type||this.initial?RM(NM(this.initialStateValue).map((function(t){return e.getFromRelativePath(t)}))):(kM||BM(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this])},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var t=rM(e),n=t[0],r=t.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw new Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(r)},e.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:LM(this.states,(function(t,n){if(!e)return t.historyValue();var r=FM(e)?void 0:e[n];return t.historyValue(r||t.initialStateValue)}),(function(e){return!e.history}))}},e.prototype.resolveHistory=function(e){var t=this;if("history"!==this.type)return[this];var n=this.parent;if(!e){var r=this.target;return r?RM(NM(r).map((function(e){return n.getFromRelativePath(e)}))):n.initialStateNodes}var o,i,s=(o=n.path,i="states",function(e){var t,n,r=e;try{for(var s=nM(o),a=s.next();!a.done;a=s.next()){var l=a.value;r=r[i][l]}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return r})(e).current;return FM(s)?[n.getStateNode(s)]:RM(NM(s).map((function(e){return"deep"===t.history?n.getFromRelativePath(e):[n.states[e[0]]]})))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var e=this,t=RM(Object.keys(this.states).map((function(t){return e.states[t].stateIds})));return[this.id].concat(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var e,t,n,r;if(this.__cache.events)return this.__cache.events;var o=this.states,i=new Set(this.ownEvents);if(o)try{for(var s=nM(Object.keys(o)),a=s.next();!a.done;a=s.next()){var l=o[a.value];if(l.states)try{for(var c=(n=void 0,nM(l.events)),d=c.next();!d.done;d=c.next()){var u=d.value;i.add("".concat(u))}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var e=new Set(this.transitions.filter((function(e){return!(!e.target&&!e.actions.length&&e.internal)})).map((function(e){return e.eventType})));return Array.from(e)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(e){var t=this;if(void 0!==e)return e.map((function(e){if(!FM(e))return e;var n=e[0]===t.delimiter;if(n&&!t.parent)return t.getStateNodeByPath(e.slice(1));var r=n?t.key+e:e;if(!t.parent)return t.getStateNodeByPath(r);try{return t.parent.getStateNodeByPath(r)}catch(e){throw new Error("Invalid transition definition for state node '".concat(t.id,"':\n").concat(e.message))}}))},e.prototype.formatTransition=function(e){var t=this,n=function(e){if(void 0!==e&&""!==e)return PM(e)}(e.target),r="internal"in e?e.internal:!n||n.some((function(e){return FM(e)&&e[0]===t.delimiter})),o=this.machine.options.guards,i=this.resolveTarget(n),s=eM(eM({},e),{actions:oE(PM(e.actions)),cond:qM(e.cond,o),target:i,source:this,internal:r,eventType:e.event,toJSON:function(){return eM(eM({},s),{target:s.target?s.target.map((function(e){return"#".concat(e.id)})):void 0,source:"#".concat(t.id)})}});return s},e.prototype.formatTransitions=function(){var e,t,n,r=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var o=this.config.on,i=qE,s=o[i],a=void 0===s?[]:s,l=tM(o,["*"]);n=RM(Object.keys(l).map((function(e){kM||e!==FE||BM(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(r.id,'".'));var t=ZM(e,l[e]);return kM||function(e,t,n){var r=n.slice(0,-1).some((function(e){return!("cond"in e)&&!("in"in e)&&(FM(e.target)||UM(e.target))})),o=t===FE?"the transient event":"event '".concat(t,"'");BM(!r,"One or more transitions for ".concat(o," on state '").concat(e.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")}(r,e,t),t})).concat(ZM(qE,a)))}else n=[];var c=this.config.always?ZM("",this.config.always):[],d=this.config.onDone?ZM(String(sE(this.id)),this.config.onDone):[];kM||BM(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var u=RM(this.invoke.map((function(e){var t=[];return e.onDone&&t.push.apply(t,oM([],rM(ZM(String(aE(e.id)),e.onDone)),!1)),e.onError&&t.push.apply(t,oM([],rM(ZM(String(lE(e.id)),e.onError)),!1)),t}))),h=this.after,p=RM(oM(oM(oM(oM([],rM(d),!1),rM(u),!1),rM(n),!1),rM(c),!1).map((function(e){return PM(e).map((function(e){return r.formatTransition(e)}))})));try{for(var f=nM(h),m=f.next();!m.done;m=f.next()){var g=m.value;p.push(g)}}catch(t){e={error:t}}finally{try{m&&!m.done&&(t=f.return)&&t.call(f)}finally{if(e)throw e.error}}return p},e}();var GE,ZE=function(e){return{type:uM,assignment:e}};!function(e){e[e.Effect=1]="Effect",e[e.LayoutEffect=2]="LayoutEffect"}(GE||(GE={}));var JE="undefined"!=typeof document?de:function(){};function XE(e){var t=ee.useRef();return t.current||(t.current={v:e()}),t.current.v}var YE=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},QE=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var eT=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},tT=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function nT(e,t){(0,e.exec)(t.context,t._event.data,{action:e,state:t,_event:t._event})()}function rT(e){var t=se([]),n=se([]);JE((function(){var r=e.subscribe((function(e){var r,o;if(e.actions.length){var i=e.actions.filter((function(e){return"function"==typeof e.exec&&"__effect"in e.exec})),s=eT(function(e,t){var n,r,o=YE([[],[]],2),i=o[0],s=o[1];try{for(var a=QE(e),l=a.next();!l.done;l=a.next()){var c=l.value;t(c)?i.push(c):s.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}(i,(function(e){return e.exec.__effect===GE.Effect})),2),a=s[0],l=s[1];(r=t.current).push.apply(r,tT([],eT(a.map((function(t){return[t,e]}))),!1)),(o=n.current).push.apply(o,tT([],eT(l.map((function(t){return[t,e]}))),!1))}}));return function(){r.unsubscribe()}}),[]),JE((function(){for(;n.current.length;){var e=eT(n.current.shift(),2);nT(e[0],e[1])}})),ce((function(){for(;t.current.length;){var e=eT(t.current.shift(),2);nT(e[0],e[1])}}))}var oT=function(){return oT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oT.apply(this,arguments)},iT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},sT=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s};var aT=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s};function lT(e,t){void 0===t&&(t={});var n=ue((function(e){var t=void 0===e.changed&&Object.keys(e.children).length;(e.changed||t)&&s(e)}),[]),r=function(e,t,n){void 0===t&&(t={});var r=XE((function(){return"function"==typeof e?e():e}));if("production"!==process.env.NODE_ENV&&"function"!=typeof e){var o=sT(ae(r),1)[0];e!==o&&console.warn("Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\nPlease make sure that you pass the same Machine as argument each time.")}var i=t.context,s=t.guards,a=t.actions,l=t.activities,c=t.services,d=t.delays,u=t.state,h=iT(t,["context","guards","actions","activities","services","delays","state"]),p=XE((function(){var e={context:i,guards:s,actions:a,activities:l,services:c,delays:d};return BE(r.withConfig(e,(function(){return oT(oT({},r.context),i)})),oT({deferEvents:!0},h))}));return JE((function(){var e;return n&&(e=p.subscribe(function(e){if("object"==typeof e)return e;var t=function(){};return{next:e,error:void 0||t,complete:void 0||t}}(n))),function(){null==e||e.unsubscribe()}}),[n]),JE((function(){return p.start(u?SE.create(u):void 0),function(){p.stop()}}),[]),JE((function(){Object.assign(p.machine.options.actions,a),Object.assign(p.machine.options.guards,s),Object.assign(p.machine.options.activities,l),Object.assign(p.machine.options.services,c),Object.assign(p.machine.options.delays,d)}),[a,s,l,c,d]),rT(p),p}(e,t,n),o=aT(ae((function(){var e=r.machine.initialState;return t.state?SE.create(t.state):e})),2),i=o[0],s=o[1];return[i,r.send,r]}function cT(){return cT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cT.apply(null,arguments)}function dT(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}const uT={arr:Array.isArray,obj:e=>"[object Object]"===Object.prototype.toString.call(e),fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e,nul:e=>null===e,set:e=>e instanceof Set,map:e=>e instanceof Map,equ(e,t){if(typeof e!=typeof t)return!1;if(uT.str(e)||uT.num(e))return e===t;if(uT.obj(e)&&uT.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!uT.und(n)||e===t}};function hT(e,t){return uT.und(e)||uT.nul(e)?t:e}function pT(e){return uT.und(e)?[]:uT.arr(e)?e:[e]}function fT(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return uT.fun(e)?e(...n):e}function mT(e){const t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,dT(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(uT.und(t))return cT({to:t},e);const n=Object.keys(e).reduce(((n,r)=>uT.und(t[r])?cT({},n,{[r]:e[r]}):n),{});return cT({to:t},n)}class gT{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class bT extends gT{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach((e=>e instanceof gT&&e.addChild(this))),this.detach=()=>this.payload.forEach((e=>e instanceof gT&&e.removeChild(this)))}}class vT extends gT{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach((e=>e instanceof gT&&e.addChild(this))),this.detach=()=>Object.values(this.payload).forEach((e=>e instanceof gT&&e.removeChild(this)))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const r=this.payload[n];(!e||r instanceof gT)&&(t[n]=r instanceof gT?r[e?"getAnimatedValue":"getValue"]():r)}return t}getAnimatedValue(){return this.getValue(!0)}}let yT,wT;let xT,CT=e=>"undefined"!=typeof window?window.requestAnimationFrame(e):-1;let kT,$T=()=>Date.now();class ST extends vT{constructor(e,t){super(),this.update=void 0,this.payload=e.style?cT({},e,{style:kT(e.style)}):e,this.update=t,this.attach()}}let MT=!1;const ET=new Set,TT=()=>{if(!MT)return!1;let e=$T();for(let t of ET){let n=!1;for(let r=0;r<t.configs.length;r++){let o,i,s=t.configs[r];for(let t=0;t<s.animatedValues.length;t++){let r=s.animatedValues[t];if(r.done)continue;let a=s.fromValues[t],l=s.toValues[t],c=r.lastPosition,d=l instanceof gT,u=Array.isArray(s.initialVelocity)?s.initialVelocity[t]:s.initialVelocity;if(d&&(l=l.getValue()),s.immediate)r.setValue(l),r.done=!0;else if("string"!=typeof a&&"string"!=typeof l){if(void 0!==s.duration)c=a+s.easing((e-r.startTime)/s.duration)*(l-a),o=e>=r.startTime+s.duration;else if(s.decay)c=a+u/(1-.998)*(1-Math.exp(-.0020000000000000018*(e-r.startTime))),o=Math.abs(r.lastPosition-c)<.1,o&&(l=c);else{i=void 0!==r.lastTime?r.lastTime:e,u=void 0!==r.lastVelocity?r.lastVelocity:s.initialVelocity,e>i+64&&(i=e);let t=Math.floor(e-i);for(let e=0;e<t;++e){u+=1*((-s.tension*(c-l)+-s.friction*u)/s.mass)/1e3,c+=1*u/1e3}let n=!(!s.clamp||0===s.tension)&&(a<l?c>l:c<l),d=Math.abs(u)<=s.precision,h=0===s.tension||Math.abs(l-c)<=s.precision;o=n||d&&h,r.lastVelocity=u,r.lastTime=e}d&&!s.toValues[t].done&&(o=!1),o?(r.value!==l&&(c=l),r.done=!0):n=!0,r.setValue(c),r.lastPosition=c}else r.setValue(l),r.done=!0}t.props.onFrame&&(t.values[s.name]=s.interpolation.getValue())}t.props.onFrame&&t.props.onFrame(t.values),n||(ET.delete(t),t.stop(!0))}return ET.size?CT(TT):MT=!1,MT};function OT(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return OT({range:e,output:t,extrapolate:n});if(xT&&"string"==typeof e.output[0])return xT(e);const r=e,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,s,a,l){let c=l?l(e):e;if(c<t){if("identity"===s)return c;"clamp"===s&&(c=t)}if(c>n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(e,i[t],i[t+1],o[t],o[t+1],l,s,a,r.map)}}class LT extends bT{constructor(e,t,n,r){super(),this.calc=void 0,this.payload=e instanceof bT&&!(e instanceof LT)?e.getPayload():Array.isArray(e)?e:[e],this.calc=OT(t,n,r)}getValue(){return this.calc(...this.payload.map((e=>e.getValue())))}updateConfig(e,t,n){this.calc=OT(e,t,n)}interpolate(e,t,n){return new LT(this,e,t,n)}}const AT=(e,t,n)=>e&&new LT(e,t,n);function NT(e,t){"update"in e?t.add(e):e.getChildren().forEach((e=>NT(e,t)))}class RT extends gT{constructor(e){var t;super(),t=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){0===this.animatedStyles.size&&NT(this,this.animatedStyles),this.animatedStyles.forEach((e=>e.update()))}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,t,n){return new LT(this,e,t,n)}}class DT extends bT{constructor(e){super(),this.payload=e.map((e=>new RT(e)))}setValue(e,t){void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach(((e,n)=>this.payload[n].setValue(e,t))):this.payload.forEach((n=>n.setValue(e,t)))}getValue(){return this.payload.map((e=>e.getValue()))}interpolate(e,t){return new LT(this,e,t)}}let PT=0,IT=class{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=PT++}update(e){if(!e)return this;const t=mT(e),n=t.delay,r=void 0===n?0:n,o=t.to,i=dT(t,["delay","to"]);if(uT.arr(o)||uT.fun(o))this.queue.push(cT({},i,{delay:r,to:o}));else if(o){let e={};Object.entries(o).forEach((t=>{let n=t[0],o=t[1];const s=cT({to:{[n]:o},delay:fT(r,n)},i),a=e[s.delay]&&e[s.delay].to;e[s.delay]=cT({},e[s.delay],s,{to:cT({},a,s.to)})})),this.queue=Object.values(e)}return this.queue=this.queue.sort(((e,t)=>e.delay-t.delay)),this.diff(i),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((e=>{let t=e.from,n=void 0===t?{}:t,r=e.to,o=void 0===r?{}:r;uT.obj(n)&&(this.merged=cT({},n,this.merged)),uT.obj(o)&&(this.merged=cT({},this.merged,o))}));const t=this.local=++this.guid,n=this.localQueue=this.queue;this.queue=[],n.forEach(((r,o)=>{let i=r.delay,s=dT(r,["delay"]);const a=r=>{o===n.length-1&&t===this.guid&&r&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let l=uT.arr(s.to)||uT.fun(s.to);i?setTimeout((()=>{t===this.guid&&(l?this.runAsync(s,a):this.diff(s).start(a))}),i):l?this.runAsync(s,a):this.diff(s).start(a)}))}else uT.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,ET.has(t)||ET.add(t),MT||(MT=!0,CT(TT));var t;return this}stop(e){return this.listeners.forEach((t=>t(e))),this.listeners=[],this}pause(e){var t;return this.stop(!0),e&&(t=this,ET.has(t)&&ET.delete(t)),this}runAsync(e,t){var n=this;e.delay;let r=dT(e,["delay"]);const o=this.local;let i=Promise.resolve(void 0);if(uT.arr(r.to))for(let e=0;e<r.to.length;e++){const t=e,n=cT({},r,mT(r.to[t]));uT.arr(n.config)&&(n.config=n.config[t]),i=i.then((()=>{if(o===this.guid)return new Promise((e=>this.diff(n).start(e)))}))}else if(uT.fun(r.to)){let e,t=0;i=i.then((()=>r.to((n=>{const i=cT({},r,mT(n));if(uT.arr(i.config)&&(i.config=i.config[t]),t++,o===this.guid)return e=new Promise((e=>this.diff(i).start(e)))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((()=>e))))}i.then(t)}diff(e){this.props=cT({},this.props,e);let t=this.props,n=t.from,r=void 0===n?{}:n,o=t.to,i=void 0===o?{}:o,s=t.config,a=void 0===s?{}:s,l=t.reverse,c=t.attach,d=t.reset,u=t.immediate;if(l){var h=[i,r];r=h[0],i=h[1]}this.merged=cT({},r,this.merged,i),this.hasChanged=!1;let p=c&&c(this);if(this.animations=Object.entries(this.merged).reduce(((e,t)=>{let n=t[0],o=t[1],i=e[n]||{};const s=uT.num(o),l=uT.str(o)&&!o.startsWith("#")&&!/\d/.test(o)&&!wT[o],c=uT.arr(o),h=!s&&!c&&!l;let f=uT.und(r[n])?o:r[n],m=s||c||l?o:1,g=fT(a,n);p&&(m=p.animations[n].parent);let b,v=i.parent,y=i.interpolation,w=pT(p?m.getPayload():m),x=o;h&&(x=xT({range:[0,1],output:[o,o]})(1));let C=y&&y.getValue();const k=!uT.und(v)&&i.animatedValues.some((e=>!e.done)),$=!uT.equ(x,C),S=!uT.equ(x,i.previous),M=!uT.equ(g,i.config);if(d||S&&$||M){if(s||l)v=y=i.parent||new RT(f);else if(c)v=y=i.parent||new DT(f);else if(h){let e=i.interpolation&&i.interpolation.calc(i.parent.value);e=void 0===e||d?f:e,i.parent?(v=i.parent,v.setValue(0,!1)):v=new RT(0);const t={output:[e,o]};i.interpolation?(y=i.interpolation,i.interpolation.updateConfig(t)):y=v.interpolate(t)}return w=pT(p?m.getPayload():m),b=pT(v.getPayload()),d&&!h&&v.setValue(f,!1),this.hasChanged=!0,b.forEach((e=>{e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=k?e.lastVelocity:void 0,e.lastTime=k?e.lastTime:void 0,e.startTime=$T(),e.done=!1,e.animatedStyles.clear()})),fT(u,n)&&v.setValue(h?m:o,!1),cT({},e,{[n]:cT({},i,{name:n,parent:v,interpolation:y,animatedValues:b,toValues:w,previous:x,config:g,fromValues:pT(v.getValue()),immediate:fT(u,n),initialVelocity:hT(g.velocity,0),clamp:hT(g.clamp,!1),precision:hT(g.precision,.01),tension:hT(g.tension,170),friction:hT(g.friction,26),mass:hT(g.mass,1),duration:g.duration,easing:hT(g.easing,(e=>e)),decay:g.decay})})}return $?e:(h&&(v.setValue(1,!1),y.updateConfig({output:[x,x]})),v.done=!0,this.hasChanged=!0,cT({},e,{[n]:cT({},e[n],{previous:x})}))}),this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let e in this.animations)this.interpolations[e]=this.animations[e].interpolation,this.values[e]=this.animations[e].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}};const zT=e=>{const t=uT.fun(e),n=((e,t)=>{const n=se(!1),r=se(),o=uT.fun(t),i=oe((()=>{let n;return r.current&&(r.current.map((e=>e.destroy())),r.current=void 0),[new Array(e).fill().map(((e,r)=>{const i=new IT,s=o?fT(t,r,i):t[r];return 0===r&&(n=s.ref),i.update(s),n||i.start(),i})),n]}),[e]),s=i[0],a=i[1];r.current=s,me(a,(()=>({start:()=>Promise.all(r.current.map((e=>new Promise((t=>e.start(t)))))),stop:e=>r.current.forEach((t=>t.stop(e))),get controllers(){return r.current}})));const l=oe((()=>e=>r.current.map(((t,n)=>{t.update(o?fT(e,n,t):e[n]),a||t.start()}))),[e]);ce((()=>{n.current?o||l(t):a||r.current.forEach((e=>e.start()))})),ce((()=>(n.current=!0,()=>r.current.forEach((e=>e.destroy())))),[]);const c=r.current.map((e=>e.getValues()));return o?[c,l,e=>r.current.forEach((t=>t.pause(e)))]:c})(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r};class VT extends vT{constructor(e){void 0===e&&(e={}),super(),!e.transform||e.transform instanceof gT||(e=yT.transform(e)),this.payload=e}}const HT={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},BT="[-+]?\\d*\\.?\\d+",_T=BT+"%";function jT(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const FT=new RegExp("rgb"+jT(BT,BT,BT)),qT=new RegExp("rgba"+jT(BT,BT,BT,BT)),WT=new RegExp("hsl"+jT(BT,_T,_T)),UT=new RegExp("hsla"+jT(BT,_T,_T,BT)),KT=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,GT=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ZT=/^#([0-9a-fA-F]{6})$/,JT=/^#([0-9a-fA-F]{8})$/;function XT(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function YT(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=XT(o,r,e+1/3),s=XT(o,r,e),a=XT(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function QT(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function eO(e){return(parseFloat(e)%360+360)%360/360}function tO(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function nO(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function rO(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ZT.exec(e))?parseInt(t[1]+"ff",16)>>>0:HT.hasOwnProperty(e)?HT[e]:(t=FT.exec(e))?(QT(t[1])<<24|QT(t[2])<<16|QT(t[3])<<8|255)>>>0:(t=qT.exec(e))?(QT(t[1])<<24|QT(t[2])<<16|QT(t[3])<<8|tO(t[4]))>>>0:(t=KT.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=JT.exec(e))?parseInt(t[1],16)>>>0:(t=GT.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=WT.exec(e))?(255|YT(eO(t[1]),nO(t[2]),nO(t[3])))>>>0:(t=UT.exec(e))?(YT(eO(t[1]),nO(t[2]),nO(t[3]))|tO(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const oO=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,iO=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,sO=new RegExp(`(${Object.keys(HT).join("|")})`,"g");let aO={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const lO=["Webkit","Ms","Moz","O"];function cO(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||aO.hasOwnProperty(e)&&aO[e]?(""+t).trim():t+"px"}aO=Object.keys(aO).reduce(((e,t)=>(lO.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),aO);const dO={};var uO,hO;uO=e=>new VT(e),kT=uO,hO=e=>{const t=e.output.map((e=>e.replace(iO,rO))).map((e=>e.replace(sO,rO))),n=t[0].match(oO).map((()=>[]));t.forEach((e=>{e.match(oO).forEach(((e,t)=>n[t].push(+e)))}));const r=t[0].match(oO).map(((t,r)=>OT(cT({},e,{output:n[r]}))));return e=>{let n=0;return t[0].replace(oO,(()=>r[n++](e))).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,((e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`))}},xT=hO,wT=HT,function(e,t){yT={fn:e,transform:t}}(((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const o=t.style,i=t.children,s=t.scrollTop,a=t.scrollLeft,l=dT(t,["style","children","scrollTop","scrollLeft"]),c="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=cO(t,o[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in l){const n=c?t:dO[t]||(dO[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())));void 0!==e.getAttribute(n)&&e.setAttribute(n,l[t])}}}),(e=>e));var pO;const fO=(pO=e=>ie(((t,n)=>{const r=function(){const e=ae(!1)[1];return ue((()=>e((e=>!e))),[])}(),o=se(!0),i=se(null),s=se(null),a=ue((e=>{const t=i.current;i.current=new ST(e,(()=>{let e=!1;s.current&&(e=yT.fn(s.current,i.current.getAnimatedValue())),s.current&&!1!==e||r()})),t&&t.detach()}),[]);ce((()=>()=>{o.current=!1,i.current&&i.current.detach()}),[]),me(n,(()=>(e=>e.current)(s))),a(t);const l=i.current.getValue();l.scrollTop,l.scrollLeft;const c=dT(l,["scrollTop","scrollLeft"]),d=(u=e,!uT.fun(u)||u.prototype instanceof te.Component?e=>s.current=function(e,t){return t&&(uT.fun(t)?t(e):uT.obj(t)&&(t.current=e)),e}(e,n):void 0);var u;return te.createElement(e,cT({},c,{ref:d}))})),e=>(uT.arr(e)?e:Object.keys(e)).reduce(((e,t)=>{const n=t;return e[n]=pO(n),e}),pO))(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);function mO(e,t){return e.map((function(e,n){return e+t[n]}))}function gO(e,t){return e.map((function(e,n){return e-t[n]}))}function bO(e){return Math.hypot.apply(Math,e)}function vO(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function yO(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function wO(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-yO(t-e,n-t,r)+t:e>n?+yO(e-n,n-t,r)+n:e}function xO(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function CO(){return CO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CO.apply(this,arguments)}function kO(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function $O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function MO(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return SO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?SO(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function EO(){}function TO(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?EO:1===t.length?t[0]:function(){for(var e,n,r=MO(t);!(n=r()).done;){e=n.value.apply(this,arguments)||e}return e}}function OO(e,t){if(void 0===e){if(void 0===t)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function LO(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}return e}function AO(e,t){void 0===e&&(e={});for(var n={},r=0,o=Object.entries(t);r<o.length;r++){var i=o[r],s=i[0],a=i[1];switch(typeof a){case"function":n[s]=a.call(n,e[s],s,e);break;case"object":n[s]=AO(e[s],a);break;case"boolean":a&&(n[s]=e[s])}}return n}var NO=CO({},{threshold:function(e){return void 0===e&&(e=0),OO(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return OO(.15);case!1:return OO(0);default:return OO(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return void 0===e&&(e=0),"function"==typeof e?e:OO(e)}},{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return NO.bounds(e(t))};var t=e,n=t.left,r=void 0===n?-1/0:n,o=t.right,i=void 0===o?1/0:o,s=t.top,a=void 0===s?-1/0:s,l=t.bottom;return[[r,i],[a,void 0===l?1/0:l]]}}),RO="undefined"!=typeof window&&window.document&&window.document.createElement,DO={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return void 0===e&&(e=RO?window:void 0),e})),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=void 0===n||n,o=t.capture;return{passive:r,capture:void 0!==o&&o}}},PO=CO({},NO,{threshold:function(e,t,n){var r=n.filterTaps,o=void 0!==r&&r,i=n.lockDirection,s=void 0!==i&&i,a=n.axis,l=OO(e,o?3:s||(void 0===a?void 0:a)?1:0);return this.filterTaps=o||l[0]+l[1]>0,l},swipeVelocity:function(e){return void 0===e&&(e=.5),OO(e)},swipeDistance:function(e){return void 0===e&&(e=60),OO(e)},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function IO(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["domTarget","eventOptions","window","enabled"]),s=function(e){return void 0===e&&(e={}),AO(e,DO)}({domTarget:t,eventOptions:n,window:r,enabled:o});return s.drag=function(e){return void 0===e&&(e={}),AO(e,PO)}(i),s}function zO(e){return CO({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:EO,canceled:!1,memo:void 0,args:void 0},e)}function VO(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},drag:zO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),pinch:zO({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:zO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:zO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:zO({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var HO=new Map,BO=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var o=arguments.length,i=new Array(o>2?o-2:0),s=2;s<o;s++)i[s-2]=arguments[s];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(i))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var o=CO({},n.controller.state.shared,n.state,n.mapStateValues(n.state)),i=n.handler(o);return n.state.memo=void 0!==i?i:n.state.memo,n.state._active||n.clean(),o}}var t=e.prototype;return t.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},t.updateGestureState=function(e){Object.assign(this.state,e)},t.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},t.getMovement=function(e){var t=this.config,n=t.initial,r=t.bounds,o=t.rubberband,i=t.threshold,s=this.state,a=s._bounds,l=s._initial,c=s._active,d=s._intentional,u=s.lastOffset,h=s.movement,p=this.getInternalMovement(e,this.state),f=!1===d[0]?_O(p[0],i[0]):d[0],m=!1===d[1]?_O(p[1],i[1]):d[1],g=this.checkIntentionality([f,m],p);if(g._blocked)return CO({},g,{_movement:p,delta:[0,0]});var b,v,y,w,x=g._intentional,C=p;(!1!==x[0]&&!1===d[0]&&(v=LO(n,this.state),b=LO(r,this.state),l[0]=v[0],a[0]=b[0]),!1!==x[1]&&!1===d[1])&&(v=null!=(y=v)?y:LO(n,this.state),b=null!=(w=b)?w:LO(r,this.state),l[1]=v[1],a[1]=b[1]);var k=[!1!==x[0]?p[0]-x[0]:l[0],!1!==x[1]?p[1]-x[1]:l[1]],$=mO(k,u),S=c?o:[0,0];return k=jO(a,mO(k,l),S),CO({},g,{intentional:!1!==x[0]||!1!==x[1],_initial:l,_movement:C,movement:k,values:e,offset:jO(a,$,S),delta:gO(k,h)})},t.clean=function(){this.clearTimeout()},xO(e,[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}]),e}();function _O(e,t){return Math.abs(e)>=t&&vO(e)*t}function jO(e,t,n){var r=t[0],o=t[1],i=n[0],s=n[1],a=e[0],l=a[0],c=a[1],d=e[1],u=d[0],h=d[1];return[wO(r,l,c,i),wO(o,u,h,s)]}function FO(e,t,n){var r=e.state,o=e.args,i=t.timeStamp,s=t.type,a=r.values;return{_lastEventType:s,event:t,timeStamp:i,elapsedTime:n?0:i-r.startTime,args:o,previous:a}}function qO(e,t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.call.apply(e,[this,CO({},t,{event:n})].concat(o))}}var WO=function(e){var t=this;this.classes=e,this.bind=function(){for(var e={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i,s=MO(t.classes);!(i=s()).done;){new(0,i.value)(t,r).addBindings(e)}for(var a=0,l=Object.entries(t.nativeRefs);a<l.length;a++){var c=l[a];GO(e,c[0],qO(c[1],CO({},t.state.shared,{args:r})))}return t.config.domTarget?function(e,t){var n=e.config,r=e.domListeners,o=KO(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;JO(o,UO(r),i);for(var s=0,a=Object.entries(t);s<a.length;s++){var l=a[s],c=l[0],d=l[1],u=c.slice(2).toLowerCase();r.push([u,TO.apply(void 0,d)])}ZO(o,r,i)}(t,e):function(e,t){for(var n=e.config,r={},o=n.eventOptions.capture?"Capture":"",i=0,s=Object.entries(t);i<s.length;i++){var a=s[i],l=a[0],c=a[1],d=Array.isArray(c)?c:[c];r[l+o]=TO.apply(void 0,d)}return r}(t,e)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=KO(t.config),n=t.config.eventOptions;e&&JO(e,UO(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,o=e.windowListeners;if(!n)return;for(var i in o){JO(n,o[i],r)}e.windowListeners={}}(t)},this.state=VO(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function UO(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function KO(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function GO(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function ZO(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=MO(t);!(r=o()).done;){var i=r.value,s=i[0],a=i[1];e.addEventListener(s,a,n)}}function JO(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=MO(t);!(r=o()).done;){var i=r.value,s=i[0],a=i[1];e.removeEventListener(s,a,n)}}function XO(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;e.drag&&t.add(HO.get("drag"));e.wheel&&t.add(HO.get("wheel"));e.scroll&&t.add(HO.get("scroll"));e.move&&t.add(HO.get("move"));e.pinch&&t.add(HO.get("pinch"));e.hover&&t.add(HO.get("hover"));return t}(e),o=te.useMemo((function(){return new WO(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,te.useEffect(o.effect,[]),o.config.domTarget?YO:o.bind}function YO(){"development"===process.env.NODE_ENV&&console.warn("Deprecation notice: When the `domTarget` option is specified, you don't need to write `useEffect(bind, [bind])` anymore: event binding is now made handled internally to this lib.\n\nNext version won't return anything when `domTarget` is provided, therefore your code will break if you try to call `useEffect`.")}var QO=function(e){function t(){return e.apply(this,arguments)||this}kO(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return gO(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],o=n[1],i=this.state.axis||(r>o?"x":r<o?"y":void 0);return this.config.axis||this.config.lockDirection?i?this.config.axis&&i!==this.config.axis?{_intentional:e,_blocked:!0,axis:i}:(e["x"===i?1:0]=!1,{_intentional:e,_blocked:!1,axis:i}):{_intentional:[!1,!1],_blocked:!1,axis:i}:{_intentional:e,_blocked:!1,axis:i}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r=t.timeStamp-this.state.timeStamp;Object.assign(n,function(e,t,n){var r=bO(t),o=0===r?0:1/r,i=0===n?0:1/n,s=i*r,a=t.map((function(e){return i*e})),l=t.map((function(e){return o*e}));return{velocities:a,velocity:s,distance:bO(e),direction:l}}(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(BO);function eL(e){if("touches"in e){var t=e.targetTouches,n=e.changedTouches;return t.length>0?t:n}return null}function tL(e){var t="buttons"in e?e.buttons:0,n=eL(e),r=n&&n.length||0;return{touches:r,down:r>0||t>0,buttons:t,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}function nL(e){var t=eL(e),n=t?t[0]:e;return[n.clientX,n.clientY]}var rL=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="dragging",t.stateKey="drag",t.onDragStart=function(e){t.enabled&&!t.state._active&&(!function(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=[]),r.window&&(JO(r.window,o[t],r.eventOptions),ZO(r.window,o[t]=n,r.eventOptions))}(t.controller,t.stateKey,[["pointermove",t.onDragChange],["pointerup",t.onDragEnd],["pointercancel",t.onDragEnd]]),t.updateGestureState({_pointerId:e.pointerId}),t.config.delay>0?(t.state._delayedEvent=!0,"persist"in e&&"function"==typeof e.persist&&e.persist(),t.setTimeout(t.startDrag.bind($O(t)),t.config.delay,e)):t.startDrag(e))},t.onDragChange=function(e){if(!t.state.canceled&&e.pointerId===t.state._pointerId)if(t.state._active){var n=tL(e);if(n.down){t.updateSharedState(n);var r=nL(e),o=t.getKinematics(r,e),i=FO($O(t),e),s=t.state._isTap,a=bO(o._movement);s&&a>=3&&(s=!1),t.updateGestureState(CO({},i,o,{_isTap:s})),t.fireGestureHandler()}else t.onDragEnd(e)}else t.state._delayedEvent&&(t.clearTimeout(),t.startDrag(e))},t.onDragEnd=function(e){if(e.pointerId===t.state._pointerId){t.state._active=!1,t.updateSharedState({down:!1,buttons:0,touches:0});var n=t.state._isTap,r=t.state.velocities,o=r[0],i=r[1],s=t.state.movement,a=s[0],l=s[1],c=t.state._intentional,d=c[0],u=c[1],h=t.config.swipeVelocity,p=h[0],f=h[1],m=t.config.swipeDistance,g=m[0],b=m[1],v=CO({},FO($O(t),e),t.getMovement(t.state.values)),y=[0,0];v.elapsedTime<220&&(!1!==d&&Math.abs(o)>p&&Math.abs(a)>g&&(y[0]=vO(o)),!1!==u&&Math.abs(i)>f&&Math.abs(l)>b&&(y[1]=vO(i))),t.updateGestureState(CO({},v,{tap:n,swipe:y})),t.fireGestureHandler(!0===n)}},t.clean=function(){e.prototype.clean.call($O(t)),t.state._delayedEvent=!1,function(e,t){var n=e.config,r=e.windowListeners;n.window&&(JO(n.window,r[t],n.eventOptions),delete r[t])}(t.controller,t.stateKey)},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0}),t.state._active=!1,t.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame((function(){return t.fireGestureHandler()})))},t.onClick=function(e){t.state._isTap||e.stopPropagation()},t}kO(t,e);var n=t.prototype;return n.startDrag=function(e){var t=nL(e);this.updateSharedState(tL(e)),this.updateGestureState(CO({},function(e,t,n){var r=e.state.offset,o=n.timeStamp;return CO({},VO()[e.stateKey],{_active:!0,values:t,initial:t,offset:r,lastOffset:r,startTime:o})}(this,t,e),FO(this,e,!0),{_pointerId:e.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(t)),this.fireGestureHandler()},n.addBindings=function(e){(GO(e,"onPointerDown",this.onDragStart),this.config.filterTaps)&&GO(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(QO);function oL(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,i;if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!oL(e[r],t[r]))return!1;return!0}if("function"==typeof Map&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!oL(r.value[1],t.get(r.value[0])))return!1;return!0}if("function"==typeof Set&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(r=n;0!=r--;)if(!("_owner"===o[r]&&e.$$typeof||oL(e[o[r]],t[o[r]])))return!1;return!0}return e!=e&&t!=t}function iL(e,t){try{return oL(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}function sL(e,t){void 0===t&&(t={}),HO.set("drag",rL);var n=se();return n.current||(n.current=function(e,t){var n,r,o=[],i=!1;return function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}(IO,iL)),XO({drag:e},n.current(t))}
3233
3234
  /*!
3234
3235
  * tabbable 5.3.3
3235
3236
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
3236
- */var sL=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],aL=sL.join(","),lL="undefined"==typeof Element,cL=lL?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,dL=!lL&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},uL=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(aL));return t&&cL.call(e,aL)&&r.unshift(e),r=r.filter(n)},hL=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if("SLOT"===s.tagName){var a=s.assignedElements(),l=e(a.length?a:s.children,!0,r);r.flatten?o.push.apply(o,l):o.push({scope:s,candidates:l})}else{cL.call(s,aL)&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var c=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),d=!r.shadowRootFilter||r.shadowRootFilter(s);if(c&&d){var u=e(!0===c?s.children:c.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scope:s,candidates:u})}else i.unshift.apply(i,s.children)}}return o},pL=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},fL=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},mL=function(e){return"INPUT"===e.tagName},gL=function(e){return function(e){return mL(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||dL(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},bL=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},vL=function(e,t){return!(t.disabled||function(e){return mL(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=cL.call(e,"details>summary:first-of-type")?e.parentElement:e;if(cL.call(o,"details:not([open]) *"))return!0;var i=dL(e).host,s=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return bL(e)}else{if("function"==typeof r){for(var a=e;e;){var l=e.parentElement,c=dL(e);if(l&&!l.shadowRoot&&!0===r(l))return bL(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=a}if(s)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!cL.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},yL=function(e,t){return!(gL(t)||pL(t)<0||!vL(e,t))},wL=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},xL=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scope,s=i?t.scope:t,a=pL(s,i),l=i?e(t.candidates):s;0===a?i?n.push.apply(n,l):n.push(s):r.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:l})})),r.sort(fL).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},CL=function(e,t){var n;return n=(t=t||{}).getShadowRoot?hL([e],t.includeContainer,{filter:yL.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:wL}):uL(e,t.includeContainer,yL.bind(null,t)),xL(n)},kL=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==cL.call(e,aL)&&yL(t,e)},$L=sL.concat("iframe").join(","),SL=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==cL.call(e,$L)&&vL(t,e)};
3237
+ */var aL=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],lL=aL.join(","),cL="undefined"==typeof Element,dL=cL?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,uL=!cL&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},hL=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(lL));return t&&dL.call(e,lL)&&r.unshift(e),r=r.filter(n)},pL=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if("SLOT"===s.tagName){var a=s.assignedElements(),l=e(a.length?a:s.children,!0,r);r.flatten?o.push.apply(o,l):o.push({scope:s,candidates:l})}else{dL.call(s,lL)&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var c=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),d=!r.shadowRootFilter||r.shadowRootFilter(s);if(c&&d){var u=e(!0===c?s.children:c.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scope:s,candidates:u})}else i.unshift.apply(i,s.children)}}return o},fL=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},mL=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},gL=function(e){return"INPUT"===e.tagName},bL=function(e){return function(e){return gL(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||uL(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},vL=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},yL=function(e,t){return!(t.disabled||function(e){return gL(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=dL.call(e,"details>summary:first-of-type")?e.parentElement:e;if(dL.call(o,"details:not([open]) *"))return!0;var i=uL(e).host,s=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return vL(e)}else{if("function"==typeof r){for(var a=e;e;){var l=e.parentElement,c=uL(e);if(l&&!l.shadowRoot&&!0===r(l))return vL(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=a}if(s)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!dL.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},wL=function(e,t){return!(bL(t)||fL(t)<0||!yL(e,t))},xL=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},CL=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scope,s=i?t.scope:t,a=fL(s,i),l=i?e(t.candidates):s;0===a?i?n.push.apply(n,l):n.push(s):r.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:l})})),r.sort(mL).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},kL=function(e,t){var n;return n=(t=t||{}).getShadowRoot?pL([e],t.includeContainer,{filter:wL.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:xL}):hL(e,t.includeContainer,wL.bind(null,t)),CL(n)},$L=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==dL.call(e,lL)&&wL(t,e)},SL=aL.concat("iframe").join(","),ML=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==dL.call(e,SL)&&yL(t,e)};
3237
3238
  /*!
3238
3239
  * focus-trap 6.9.4
3239
3240
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
3240
3241
  */
3241
- function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function EL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ML(Object(n),!0).forEach((function(t){TL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ML(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OL,LL=(OL=[],{activateTrap:function(e){if(OL.length>0){var t=OL[OL.length-1];t!==e&&t.pause()}var n=OL.indexOf(e);-1===n||OL.splice(n,1),OL.push(e)},deactivateTrap:function(e){var t=OL.indexOf(e);-1!==t&&OL.splice(t,1),OL.length>0&&OL[OL.length-1].unpause()}}),AL=function(e){return setTimeout(e,0)},NL=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},RL=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},DL=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},PL=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=EL({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},a=function(e){return i.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},l=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t=t.apply(void 0,i)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(a(r.activeElement)>=0)e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map((function(e){var t,n,r=CL(e,o.tabbableOptions),i=(t=e,(n=(n=o.tabbableOptions)||{}).getShadowRoot?hL([t],n.includeContainer,{filter:vL.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):uL(t,n.includeContainer,vL.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:i,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=i.findIndex((function(t){return t===e}));if(!(n<0))return t?i.slice(n+1).find((function(e){return kL(e,o.tabbableOptions)})):i.slice(0,n).reverse().find((function(e){return kL(e,o.tabbableOptions)}))}}})),i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},u=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},h=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},p=function(e){var t=DL(e);a(t)>=0||(RL(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!SL(t,o.tabbableOptions)}):RL(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=DL(e),n=a(t)>=0;n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),u(i.mostRecentlyFocusedNode||c()))},m=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==RL(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=DL(e);d();var n=null;if(i.tabbableGroups.length>0){var r=a(t),s=r>=0?i.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=NL(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(s.container===t||SL(t,o.tabbableOptions)&&!kL(t,o.tabbableOptions)&&!s.nextTabbableNode(t,!1))&&(c=r),c>=0){var h=0===c?i.tabbableGroups.length-1:c-1;n=i.tabbableGroups[h].lastTabbableNode}}else{var p=NL(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(p<0&&(s.container===t||SL(t,o.tabbableOptions)&&!kL(t,o.tabbableOptions)&&!s.nextTabbableNode(t))&&(p=r),p>=0){var f=p===i.tabbableGroups.length-1?0:p+1;n=i.tabbableGroups[f].firstTabbableNode}}}else n=l("fallbackFocus");n&&(e.preventDefault(),u(n))}(e)},g=function(e){var t=DL(e);a(t)>=0||RL(o.clickOutsideDeactivates,e)||RL(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(i.active)return LL.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?AL((function(){u(c())})):u(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",p,{capture:!0,passive:!1}),r.addEventListener("touchstart",p,{capture:!0,passive:!1}),r.addEventListener("click",g,{capture:!0,passive:!1}),r.addEventListener("keydown",m,{capture:!0,passive:!1}),n},v=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",p,!0),r.removeEventListener("touchstart",p,!0),r.removeEventListener("click",g,!0),r.removeEventListener("keydown",m,!0),n};return(n={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=s(e,"onActivate"),n=s(e,"onPostActivate"),o=s(e,"checkCanFocusTrap");o||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var a=function(){o&&d(),b(),n&&n()};return o?(o(i.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!i.active)return this;var t=EL({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,v(),i.active=!1,i.paused=!1,LL.deactivateTrap(n);var r=s(t,"onDeactivate"),a=s(t,"onPostDeactivate"),l=s(t,"checkCanReturnFocus"),c=s(t,"returnFocus","returnFocusOnDeactivate");r&&r();var d=function(){AL((function(){c&&u(h(i.nodeFocusedBeforeActivation)),a&&a()}))};return c&&l?(l(h(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,v()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,d(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),i.active&&d(),this}}).updateContainerElements(e),n};var IL=!1;if("undefined"!=typeof window){var zL={get passive(){IL=!0}};window.addEventListener("testPassive",null,zL),window.removeEventListener("testPassive",null,zL)}var VL,HL="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),BL=[],_L=!1,jL=-1,FL=void 0,qL=void 0,WL=function(e){return BL.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},UL=function(e){var t=e||window.event;return!!WL(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},KL=function(e,t){if(e){if(!BL.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};BL=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(BL),[n]),HL?(e.ontouchstart=function(e){1===e.targetTouches.length&&(jL=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-jL;!WL(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?UL(e):e.stopPropagation())}(t,e)},_L||(document.addEventListener("touchmove",UL,IL?{passive:!1}:void 0),_L=!0)):function(e){if(void 0===qL){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(qL=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===FL&&(FL=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},GL=function(e){e?(BL=BL.filter((function(t){return t.targetElement!==e})),HL?(e.ontouchstart=null,e.ontouchmove=null,_L&&0===BL.length&&(document.removeEventListener("touchmove",UL,IL?{passive:!1}:void 0),_L=!1)):BL.length||(void 0!==qL&&(document.body.style.paddingRight=qL,qL=void 0),void 0!==FL&&(document.body.style.overflow=FL,FL=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")},ZL=[],JL="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(VL||(VL={}));var XL,YL=function(e){return Object.freeze(e)},QL=function(e,t){this.inlineSize=e,this.blockSize=t,YL(this)},eA=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,YL(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),tA=function(e){return e instanceof SVGElement&&"getBBox"in e},nA=function(e){if(tA(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},rA=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},oA="undefined"!=typeof window?window:{},iA=new WeakMap,sA=/auto|scroll/,aA=/^tb|vertical/,lA=/msie|trident/i.test(oA.navigator&&oA.navigator.userAgent),cA=function(e){return parseFloat(e||"0")},dA=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new QL((n?t:e)||0,(n?e:t)||0)},uA=YL({devicePixelContentBoxSize:dA(),borderBoxSize:dA(),contentBoxSize:dA(),contentRect:new eA(0,0,0,0)}),hA=function(e,t){if(void 0===t&&(t=!1),iA.has(e)&&!t)return iA.get(e);if(nA(e))return iA.set(e,uA),uA;var n=getComputedStyle(e),r=tA(e)&&e.ownerSVGElement&&e.getBBox(),o=!lA&&"border-box"===n.boxSizing,i=aA.test(n.writingMode||""),s=!r&&sA.test(n.overflowY||""),a=!r&&sA.test(n.overflowX||""),l=r?0:cA(n.paddingTop),c=r?0:cA(n.paddingRight),d=r?0:cA(n.paddingBottom),u=r?0:cA(n.paddingLeft),h=r?0:cA(n.borderTopWidth),p=r?0:cA(n.borderRightWidth),f=r?0:cA(n.borderBottomWidth),m=u+c,g=l+d,b=(r?0:cA(n.borderLeftWidth))+p,v=h+f,y=a?e.offsetHeight-v-e.clientHeight:0,w=s?e.offsetWidth-b-e.clientWidth:0,x=o?m+b:0,C=o?g+v:0,k=r?r.width:cA(n.width)-x-w,$=r?r.height:cA(n.height)-C-y,S=k+m+w+b,M=$+g+y+v,E=YL({devicePixelContentBoxSize:dA(Math.round(k*devicePixelRatio),Math.round($*devicePixelRatio),i),borderBoxSize:dA(S,M,i),contentBoxSize:dA(k,$,i),contentRect:new eA(u,l,k,$)});return iA.set(e,E),E},pA=function(e,t,n){var r=hA(e,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case VL.DEVICE_PIXEL_CONTENT_BOX:return s;case VL.BORDER_BOX:return o;default:return i}},fA=function(e){var t=hA(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=YL([t.borderBoxSize]),this.contentBoxSize=YL([t.contentBoxSize]),this.devicePixelContentBoxSize=YL([t.devicePixelContentBoxSize])},mA=function(e){if(nA(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},gA=function(){var e=1/0,t=[];ZL.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new fA(t.target),o=mA(t.target);r.push(n),t.lastReportedSize=pA(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},bA=function(e){ZL.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(mA(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},vA=function(){var e=0;for(bA(e);ZL.some((function(e){return e.activeTargets.length>0}));)e=gA(),bA(e);return ZL.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:JL}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=JL),window.dispatchEvent(e)}(),e>0},yA=[],wA=function(e){if(!XL){var t=0,n=document.createTextNode("");new MutationObserver((function(){return yA.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),XL=function(){n.textContent="".concat(t?t--:t++)}}yA.push(e),XL()},xA=0,CA={attributes:!0,characterData:!0,childList:!0,subtree:!0},kA=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],$A=function(e){return void 0===e&&(e=0),Date.now()+e},SA=!1,MA=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!SA){SA=!0;var n,r=$A(e);n=function(){var n=!1;try{n=vA()}finally{if(SA=!1,e=r-$A(),!xA)return;n?t.run(1e3):e>0?t.run(e):t.start()}},wA((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,CA)};document.body?t():oA.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),kA.forEach((function(t){return oA.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),kA.forEach((function(t){return oA.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),EA=function(e){!xA&&e>0&&MA.start(),!(xA+=e)&&MA.stop()},TA=function(){function e(e,t){this.target=e,this.observedBox=t||VL.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=pA(this.target,this.observedBox,!0);return function(e){return!tA(e)&&!function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)&&"inline"===getComputedStyle(e).display}(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),OA=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},LA=new WeakMap,AA=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},NA=function(){function e(){}return e.connect=function(e,t){var n=new OA(e,t);LA.set(e,n)},e.observe=function(e,t,n){var r=LA.get(e),o=0===r.observationTargets.length;AA(r.observationTargets,t)<0&&(o&&ZL.push(r),r.observationTargets.push(new TA(t,n&&n.box)),EA(1),MA.schedule())},e.unobserve=function(e,t){var n=LA.get(e),r=AA(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&ZL.splice(ZL.indexOf(n),1),n.observationTargets.splice(r,1),EA(-1))},e.disconnect=function(e){var t=this,n=LA.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),RA=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");NA.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rA(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");NA.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rA(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");NA.unobserve(this,e)},e.prototype.disconnect=function(){NA.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function DA(){return DA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DA.apply(this,arguments)}function PA(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}var IA="undefined"!=typeof window?de:ce;function zA(e,t,n){return t=(t=+t)==t?t:0,n=(n=+n)==n?n:0,(e=+e)==e&&(e=(e=e<=n?e:n)>=t?e:t),e}function VA(e){var t=Math.round(e);if(Number.isNaN(e))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return t}var HA={box:"border-box"};function BA(e,t){var n=t.label,r=t.enabled,o=t.resizeSourceRef,i=ae(0),s=i[0],a=i[1];le(n+": "+s);var l=ue((function(e){a(e[0].borderBoxSize[0].blockSize),o.current="element"}),[o]);return IA((function(){if(e.current&&r){var t=new RA(l);return t.observe(e.current,HA),function(){t.disconnect()}}}),[e,l,r]),r?s:0}function _A(e){return void 0===e&&(e=1e3),new Promise((function(t){return setTimeout(t,e)}))}var jA={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},FA={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},qA=function(e,t,n){return void 0===n&&(n=e.context),new UE(e,t,n)}({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:DA({},jA,FA)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:DA({},jA,FA)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:DA({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[GE({y:function(e,t){return t.payload.y},velocity:function(e,t){return t.payload.velocity},snapSource:function(e,t){var n=t.payload.source;return void 0===n?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(e,t){},onSnapCancel:function(e,t){},onResizeCancel:function(e,t){},onCloseCancel:function(e,t){},onOpenEnd:function(e,t){},onSnapEnd:function(e,t){},onRezizeEnd:function(e,t){}},services:{onSnapStart:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenStart:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseStart:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeStart:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onSnapEnd:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenEnd:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseEnd:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeEnd:function(){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},renderVisuallyHidden:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},activate:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},deactivate:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},openSmoothly:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},openImmediately:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},snapSmoothly:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},resizeSmoothly:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}},closeSmoothly:function(e,t){try{return Promise.resolve(_A()).then((function(){}))}catch(e){return Promise.reject(e)}}},guards:{initiallyClosed:function(e){return"CLOSED"===e.initialState},initiallyOpen:function(e){return"OPEN"===e.initialState}}}),WA=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],UA=["velocity"],KA=["onRest","config"],GA={tension:170,friction:26},ZA=GA.tension,JA=GA.friction,XA=te.forwardRef((function(e,t){var n=e.children,r=e.sibling,o=e.className,i=e.footer,s=e.header,a=e.open,l=e.initialState,c=e.lastSnapRef,d=e.initialFocusRef,u=e.onDismiss,h=e.maxHeight,p=e.defaultSnap,f=void 0===p?QA:p,m=e.snapPoints,g=void 0===m?eN:m,b=e.blocking,v=void 0===b||b,y=e.scrollLocking,w=void 0===y||y,x=e.style,C=e.onSpringStart,k=e.onSpringCancel,$=e.onSpringEnd,S=e.reserveScrollBarGap,M=void 0===S?v:S,E=e.expandOnContentDrag,T=void 0!==E&&E,O=PA(e,WA),L=function(){var e=ae(!1),t=e[0],n=e[1],r=ae({}),o=r[0],i=r[1],s=ue((function(e){return i((function(t){var n;return DA({},t,((n={})[e]=!1,n))})),function(){i((function(t){var n;return DA({},t,((n={})[e]=!0,n))}))}}),[]);return ce((function(){var e=Object.values(o);0!==e.length&&e.every(Boolean)&&n(!0)}),[o]),{ready:t,registerReady:s}}(),A=L.ready,N=L.registerReady,R=se(!1),D=se(C),P=se(k),I=se($);ce((function(){D.current=C,P.current=k,I.current=$}),[k,C,$]);var z,V,H=IT((function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}})),B=H[0],_=H[1],j=se(null),F=se(null),q=se(null),W=se(null),U=se(null),K=se(null),G=se(0),Z=se(),J=se(!1),X=(z=oe((function(){return"undefined"!=typeof window?window.matchMedia("(prefers-reduced-motion: reduce)"):null}),[]),V=se(null==z?void 0:z.matches),le(V.current?"reduce":"no-preference"),ce((function(){var e=function(e){V.current=e.matches};return null==z||z.addListener(e),function(){return null==z?void 0:z.removeListener(e)}}),[z]),V),Y=function(e){var t=e.targetRef,n=e.enabled,r=e.reserveScrollBarGap,o=se({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return le(n?"Enabled":"Disabled"),ce((function(){if(!n)return o.current.deactivate(),void(o.current={activate:function(){},deactivate:function(){}});var e=t.current,i=!1;o.current={activate:function(){i||(i=!0,KL(e,{allowTouchMove:function(e){return e.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:r}))},deactivate:function(){i&&(i=!1,GL(e))}}}),[n,t,r]),o}({targetRef:F,enabled:A&&w,reserveScrollBarGap:M}),Q=function(e){var t=e.targetRef,n=e.enabled,r=se({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return le(n?"Enabled":"Disabled"),ce((function(){if(!n)return r.current.deactivate(),void(r.current={activate:function(){},deactivate:function(){}});var e=t.current,o=!1,i=[],s=[];r.current={activate:function(){if(!o){o=!0;var t=e.parentNode;document.querySelectorAll("body > *").forEach((function(e){if(e!==t){var n=e.getAttribute("aria-hidden");null!==n&&"false"!==n||(i.push(n),s.push(e),e.setAttribute("aria-hidden","true"))}}))}},deactivate:function(){o&&(o=!1,s.forEach((function(e,t){var n=i[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)})),i=[],s=[])}}}),[t,n]),r}({targetRef:j,enabled:A&&v}),ee=function(e){var t=e.targetRef,n=e.fallbackRef,r=e.initialFocusRef,o=e.enabled,i=se({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return le(o?"Enabled":"Disabled"),ce((function(){if(!o)return i.current.deactivate(),void(i.current={activate:function(){},deactivate:function(){}});var e=n.current,s=PL(t.current,{onActivate:void 0,initialFocus:r?function(){return(null==r?void 0:r.current)||e}:void 0,fallbackFocus:e,escapeDeactivates:!1,clickOutsideDeactivates:!1}),a=!1;i.current={activate:function(){try{return a?Promise.resolve():(a=!0,Promise.resolve(s.activate()).then((function(){return Promise.resolve(new Promise((function(e){return setTimeout((function(){return e(void 0)}),0)}))).then((function(){}))})))}catch(e){return Promise.reject(e)}},deactivate:function(){a&&(a=!1,s.deactivate())}}}),[o,n,r,t]),i}({targetRef:j,fallbackRef:K,initialFocusRef:d||void 0,enabled:A&&v&&!1!==d}),ne=function(e){var t=e.getSnapPoints,n=e.heightRef,r=e.lastSnapRef,o=e.ready,i=function(e){var t=e.contentRef,n=e.controlledMaxHeight,r=e.footerEnabled,o=e.footerRef,i=e.headerEnabled,s=e.headerRef,a=e.registerReady,l=e.resizeSourceRef,c=oe((function(){return a("contentHeight")}),[a]),d=function(e,t,n){var r=oe((function(){return t("maxHeight")}),[t]),o=ae((function(){return VA(e)||"undefined"!=typeof window?window.innerHeight:0})),i=o[0],s=o[1],a=i>0,l=se(0);return le(e?"controlled":"auto"),ce((function(){a&&r()}),[a,r]),IA((function(){if(e)return s(VA(e)),void(n.current="maxheightprop");var t=function(){l.current||(l.current=requestAnimationFrame((function(){s(window.innerHeight),n.current="window",l.current=0})))};return window.addEventListener("resize",t),s(window.innerHeight),n.current="window",r(),function(){window.removeEventListener("resize",t),cancelAnimationFrame(l.current)}}),[e,r,n]),i}(n,a,l),u=BA(s,{label:"headerHeight",enabled:i,resizeSourceRef:l}),h=BA(t,{label:"contentHeight",enabled:!0,resizeSourceRef:l}),p=BA(o,{label:"footerHeight",enabled:r,resizeSourceRef:l}),f=Math.min(d-u-p,h)+u+p;le("minHeight: "+f);var m=h>0;return ce((function(){m&&c()}),[m,c]),{maxHeight:d,minHeight:f,headerHeight:u,footerHeight:p}}({contentRef:e.contentRef,controlledMaxHeight:e.controlledMaxHeight,footerEnabled:e.footerEnabled,footerRef:e.footerRef,headerEnabled:e.headerEnabled,headerRef:e.headerRef,registerReady:e.registerReady,resizeSourceRef:e.resizeSourceRef}),s=i.maxHeight,a=i.minHeight,l=i.headerHeight,c=i.footerHeight,d=function(e,t){var n=[].concat(e).map(VA).reduce((function(e,n){return e.add(zA(n,0,t)),e}),new Set),r=Array.from(n),o=Math.min.apply(Math,r);if(Number.isNaN(o))throw new TypeError("minSnap is NaN");var i=Math.max.apply(Math,r);if(Number.isNaN(i))throw new TypeError("maxSnap is NaN");return{snapPoints:r,minSnap:o,maxSnap:i}}(o?t({height:n.current,footerHeight:c,headerHeight:l,minHeight:a,maxHeight:s}):[0],s),u=d.snapPoints,h=d.minSnap,p=d.maxSnap;return le("minSnap: "+h+", maxSnap:"+p),{minSnap:h,maxSnap:p,findSnap:function(e){var t=VA("function"==typeof e?e({footerHeight:c,headerHeight:l,height:n.current,minHeight:a,maxHeight:s,snapPoints:u,lastSnap:r.current}):e);return u.reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}),h)},maxHeight:s}}({contentRef:q,controlledMaxHeight:h,footerEnabled:!!i,footerRef:U,getSnapPoints:g,headerEnabled:!1!==s,headerRef:W,heightRef:G,lastSnapRef:c,ready:A,registerReady:N,resizeSourceRef:Z}),re=ne.minSnap,ie=ne.maxSnap,de=ne.maxHeight,he=ne.findSnap,pe=se(de),fe=se(re),ge=se(ie),be=se(he),ve=se(0);IA((function(){pe.current=de,ge.current=ie,fe.current=re,be.current=he,ve.current=he(f)}),[he,f,de,ie,re]);var ye=ue((function(e){var t=e.onRest,n=e.config,r=(n=void 0===n?{}:n).velocity,o=void 0===r?1:r,i=PA(n,UA),s=PA(e,KA);return new Promise((function(e){return _(DA({},s,{config:DA({velocity:o},i,{mass:1,tension:ZA,friction:Math.max(JA,JA+(JA-JA*o))}),onRest:function(){var n=[].slice.call(arguments);e.apply(void 0,n),null==t||t.apply(void 0,n)}}))}))}),[_]),we=aT(qA,{devTools:!1,actions:{onOpenCancel:ue((function(){return null==P.current?void 0:P.current({type:"OPEN"})}),[]),onSnapCancel:ue((function(e){return null==P.current?void 0:P.current({type:"SNAP",source:e.snapSource})}),[]),onCloseCancel:ue((function(){return null==P.current?void 0:P.current({type:"CLOSE"})}),[]),onResizeCancel:ue((function(){return null==P.current?void 0:P.current({type:"RESIZE",source:Z.current})}),[]),onOpenEnd:ue((function(){return null==I.current?void 0:I.current({type:"OPEN"})}),[]),onSnapEnd:ue((function(e,t){return null==I.current?void 0:I.current({type:"SNAP",source:e.snapSource})}),[]),onResizeEnd:ue((function(){return null==I.current?void 0:I.current({type:"RESIZE",source:Z.current})}),[])},context:{initialState:l},services:{onSnapStart:ue((function(e,t){try{return Promise.resolve(null==D.current?void 0:D.current({type:"SNAP",source:t.payload.source||"custom"}))}catch(e){return Promise.reject(e)}}),[]),onOpenStart:ue((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseStart:ue((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeStart:ue((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"RESIZE",source:Z.current}))}catch(e){return Promise.reject(e)}}),[]),onSnapEnd:ue((function(e,t){try{return Promise.resolve(null==I.current?void 0:I.current({type:"SNAP",source:e.snapSource}))}catch(e){return Promise.reject(e)}}),[]),onOpenEnd:ue((function(){try{return Promise.resolve(null==I.current?void 0:I.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseEnd:ue((function(){try{return Promise.resolve(null==I.current?void 0:I.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeEnd:ue((function(){try{return Promise.resolve(null==I.current?void 0:I.current({type:"RESIZE",source:Z.current}))}catch(e){return Promise.reject(e)}}),[]),renderVisuallyHidden:ue((function(e,t){try{return Promise.resolve(ye({y:ve.current,ready:0,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye]),activate:ue((function(e,t){try{return R.current=!0,Promise.resolve(Promise.all([Y.current.activate(),ee.current.activate(),Q.current.activate()])).then((function(){}))}catch(e){return Promise.reject(e)}}),[Q,ee,Y]),deactivate:ue((function(){try{return Y.current.deactivate(),ee.current.deactivate(),Q.current.deactivate(),R.current=!1,Promise.resolve()}catch(e){return Promise.reject(e)}}),[Q,ee,Y]),openImmediately:ue((function(){try{return G.current=ve.current,Promise.resolve(ye({y:ve.current,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye]),openSmoothly:ue((function(){try{return Promise.resolve(ye({y:0,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:!0})).then((function(){return G.current=ve.current,Promise.resolve(ye({y:ve.current,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:X.current})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[ye,X]),snapSmoothly:ue((function(e,t){try{var n=be.current(e.y);return G.current=n,c.current=n,Promise.resolve(ye({y:n,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:fe.current,immediate:X.current,config:{velocity:e.velocity}})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye,c,X]),resizeSmoothly:ue((function(){try{var e=be.current(G.current);return G.current=e,c.current=e,Promise.resolve(ye({y:e,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:fe.current,immediate:"element"!==Z.current||X.current})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye,c,X]),closeSmoothly:ue((function(e,t){try{return ye({minSnap:G.current,immediate:!0}),G.current=0,Promise.resolve(ye({y:0,maxHeight:pe.current,maxSnap:ge.current,immediate:X.current})).then((function(){return Promise.resolve(ye({ready:0,immediate:!0})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[ye,X])}}),xe=we[0],Ce=we[1];ce((function(){A&&Ce(a?"OPEN":"CLOSE")}),[a,Ce,A]),IA((function(){(de||ie||re)&&Ce("RESIZE")}),[de,ie,re,Ce]),ce((function(){return function(){Y.current.deactivate(),ee.current.deactivate(),Q.current.deactivate()}}),[Q,ee,Y]),me(t,(function(){return{snapTo:function(e,t){var n=void 0===t?{}:t,r=n.velocity,o=void 0===r?1:r,i=n.source,s=void 0===i?"custom":i;Ce("SNAP",{payload:{y:be.current(e),velocity:o,source:s}})},get height(){return G.current}}}),[Ce]),ce((function(){var e=F.current,t=function(e){J.current&&e.preventDefault()},n=function(t){e.scrollTop<0&&(requestAnimationFrame((function(){e.style.overflow="hidden",e.scrollTop=0,e.style.removeProperty("overflow")})),t.preventDefault())};return T&&(e.addEventListener("scroll",t),e.addEventListener("touchmove",t),e.addEventListener("touchstart",n)),function(){e.removeEventListener("scroll",t),e.removeEventListener("touchmove",t),e.removeEventListener("touchstart",n)}}),[T,F]);var ke=iL((function(e){var t=e.args,n=(t=void 0===t?[]:t)[0],r=(n=void 0===n?{}:n).closeOnTap,o=void 0!==r&&r,i=n.isContentDragging,s=void 0!==i&&i,a=e.cancel,l=e.direction[1],c=e.down,d=e.first,h=e.last,p=e.memo,f=void 0===p?B.y.getValue():p,m=e.tap,g=e.velocity,b=-1*e.movement[1];if(!R.current)return a(),f;if(u&&o&&m)return a(),setTimeout((function(){return u()}),0),f;if(m)return f;var v=f+b,y=b*g,w=Math.max(fe.current,Math.min(ge.current,v+2*y));if(!c&&u&&l>0&&v+y<fe.current/2)return a(),u(),f;var x=c?u||fe.current!==ge.current?yO(v,u?0:fe.current,ge.current,.55):v<fe.current?yO(v,fe.current,2*ge.current,.55):yO(v,fe.current/2,ge.current,.55):w;return T&&s?(x>=ge.current&&(x=ge.current),f===ge.current&&F.current.scrollTop>0&&(x=ge.current),J.current=x<ge.current):J.current=!1,d&&Ce("DRAG"),h?(Ce("SNAP",{payload:{y:x,velocity:g>.05?g:1,source:"dragging"}}),f):(_({y:x,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:fe.current,immediate:!0,config:{velocity:g}}),f)}),{filterTaps:!0});if(Number.isNaN(ge.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(fe.current))throw new TypeError("minSnapRef is NaN!!");var $e=function(e){var t,n=e.spring,r=LT([n.y,n.maxHeight],(function(e,t){return Math.round(zA(t-e,0,16))+"px"})),o=LT([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return zA(e,t,n)+"px"})),i=LT([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return e<t?t-e+"px":e>n?n-e+"px":"0px"})),s=LT([n.y,n.maxSnap],(function(e,t){return e>=t?Math.ceil(e-t):0})),a=LT([n.y,n.minSnap],(function(e,t){if(!t)return 0;var n=Math.max(t/2-45,0);return zA((e-n)*(1/(Math.min(t/2+45,t)-n)+0),0,1)})),l=LT([n.y,n.minSnap],(function(e,t){return t?zA(e/t,0,1):0}));return(t={})["--rsbs-content-opacity"]=a,t["--rsbs-backdrop-opacity"]=l,t["--rsbs-antigap-scale-y"]=s,t["--rsbs-overlay-translate-y"]=i,t["--rsbs-overlay-rounded"]=r,t["--rsbs-overlay-h"]=o,t}({spring:B});return te.createElement(pO.div,DA({},O,{"data-rsbs-root":!0,"data-rsbs-state":YA.find(xe.matches),"data-rsbs-is-blocking":v,"data-rsbs-is-dismissable":!!u,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!i,className:o,ref:j,style:DA({},$e,x,{opacity:B.ready})}),r,v&&te.createElement("div",DA({key:"backdrop","data-rsbs-backdrop":!0},ke({closeOnTap:!0}))),te.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:K,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),u&&u())}},!1!==s&&te.createElement("div",DA({key:"header","data-rsbs-header":!0,ref:W},ke()),s),te.createElement("div",DA({key:"scroll","data-rsbs-scroll":!0,ref:F},T?ke({isContentDragging:!0}):{}),te.createElement("div",{"data-rsbs-content":!0,ref:q},n)),i&&te.createElement("div",DA({key:"footer",ref:U,"data-rsbs-footer":!0},ke()),i)))})),YA=["closed","opening","open","closing","dragging","snapping","resizing"];function QA(e){var t=e.lastSnap;return null!=t?t:Math.min.apply(Math,e.snapPoints)}function eN(e){return e.minHeight}var tN=["onSpringStart","onSpringEnd","skipInitialTransition"],nN=ie((function(e,t){var n=e.onSpringStart,r=e.onSpringEnd,o=e.skipInitialTransition,i=PA(e,tN),s=ae(!1),a=s[0],l=s[1],c=se(),d=se(null),u=se(o&&i.open?"OPEN":"CLOSED");IA((function(){if(i.open)return cancelAnimationFrame(c.current),l(!0),function(){u.current="CLOSED"}}),[i.open]);var h=ue((function(e){return Promise.resolve(null==n?void 0:n(e)).then((function(){"OPEN"===e.type&&cancelAnimationFrame(c.current)}))}),[n]),p=ue((function(e){return Promise.resolve(null==r?void 0:r(e)).then((function(){"CLOSE"===e.type&&(c.current=requestAnimationFrame((function(){return l(!1)})))}))}),[r]);return a?te.createElement(JS,{"data-rsbs-portal":!0},te.createElement(XA,DA({},i,{lastSnapRef:d,ref:t,initialState:u.current,onSpringStart:h,onSpringEnd:p}))):null}));const rN=ke`
3242
+ function EL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function TL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EL(Object(n),!0).forEach((function(t){OL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function OL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LL,AL=(LL=[],{activateTrap:function(e){if(LL.length>0){var t=LL[LL.length-1];t!==e&&t.pause()}var n=LL.indexOf(e);-1===n||LL.splice(n,1),LL.push(e)},deactivateTrap:function(e){var t=LL.indexOf(e);-1!==t&&LL.splice(t,1),LL.length>0&&LL[LL.length-1].unpause()}}),NL=function(e){return setTimeout(e,0)},RL=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},DL=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},PL=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},IL=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=TL({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},a=function(e){return i.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},l=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t=t.apply(void 0,i)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(a(r.activeElement)>=0)e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map((function(e){var t,n,r=kL(e,o.tabbableOptions),i=(t=e,(n=(n=o.tabbableOptions)||{}).getShadowRoot?pL([t],n.includeContainer,{filter:yL.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):hL(t,n.includeContainer,yL.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:i,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=i.findIndex((function(t){return t===e}));if(!(n<0))return t?i.slice(n+1).find((function(e){return $L(e,o.tabbableOptions)})):i.slice(0,n).reverse().find((function(e){return $L(e,o.tabbableOptions)}))}}})),i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},u=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},h=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},p=function(e){var t=PL(e);a(t)>=0||(DL(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!ML(t,o.tabbableOptions)}):DL(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=PL(e),n=a(t)>=0;n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),u(i.mostRecentlyFocusedNode||c()))},m=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==DL(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=PL(e);d();var n=null;if(i.tabbableGroups.length>0){var r=a(t),s=r>=0?i.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=RL(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(s.container===t||ML(t,o.tabbableOptions)&&!$L(t,o.tabbableOptions)&&!s.nextTabbableNode(t,!1))&&(c=r),c>=0){var h=0===c?i.tabbableGroups.length-1:c-1;n=i.tabbableGroups[h].lastTabbableNode}}else{var p=RL(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(p<0&&(s.container===t||ML(t,o.tabbableOptions)&&!$L(t,o.tabbableOptions)&&!s.nextTabbableNode(t))&&(p=r),p>=0){var f=p===i.tabbableGroups.length-1?0:p+1;n=i.tabbableGroups[f].firstTabbableNode}}}else n=l("fallbackFocus");n&&(e.preventDefault(),u(n))}(e)},g=function(e){var t=PL(e);a(t)>=0||DL(o.clickOutsideDeactivates,e)||DL(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(i.active)return AL.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?NL((function(){u(c())})):u(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",p,{capture:!0,passive:!1}),r.addEventListener("touchstart",p,{capture:!0,passive:!1}),r.addEventListener("click",g,{capture:!0,passive:!1}),r.addEventListener("keydown",m,{capture:!0,passive:!1}),n},v=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",p,!0),r.removeEventListener("touchstart",p,!0),r.removeEventListener("click",g,!0),r.removeEventListener("keydown",m,!0),n};return(n={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=s(e,"onActivate"),n=s(e,"onPostActivate"),o=s(e,"checkCanFocusTrap");o||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var a=function(){o&&d(),b(),n&&n()};return o?(o(i.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!i.active)return this;var t=TL({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,v(),i.active=!1,i.paused=!1,AL.deactivateTrap(n);var r=s(t,"onDeactivate"),a=s(t,"onPostDeactivate"),l=s(t,"checkCanReturnFocus"),c=s(t,"returnFocus","returnFocusOnDeactivate");r&&r();var d=function(){NL((function(){c&&u(h(i.nodeFocusedBeforeActivation)),a&&a()}))};return c&&l?(l(h(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,v()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,d(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),i.active&&d(),this}}).updateContainerElements(e),n};var zL=!1;if("undefined"!=typeof window){var VL={get passive(){zL=!0}};window.addEventListener("testPassive",null,VL),window.removeEventListener("testPassive",null,VL)}var HL,BL="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),_L=[],jL=!1,FL=-1,qL=void 0,WL=void 0,UL=function(e){return _L.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},KL=function(e){var t=e||window.event;return!!UL(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},GL=function(e,t){if(e){if(!_L.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};_L=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(_L),[n]),BL?(e.ontouchstart=function(e){1===e.targetTouches.length&&(FL=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-FL;!UL(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?KL(e):e.stopPropagation())}(t,e)},jL||(document.addEventListener("touchmove",KL,zL?{passive:!1}:void 0),jL=!0)):function(e){if(void 0===WL){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(WL=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===qL&&(qL=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},ZL=function(e){e?(_L=_L.filter((function(t){return t.targetElement!==e})),BL?(e.ontouchstart=null,e.ontouchmove=null,jL&&0===_L.length&&(document.removeEventListener("touchmove",KL,zL?{passive:!1}:void 0),jL=!1)):_L.length||(void 0!==WL&&(document.body.style.paddingRight=WL,WL=void 0),void 0!==qL&&(document.body.style.overflow=qL,qL=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")},JL=[],XL="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(HL||(HL={}));var YL,QL=function(e){return Object.freeze(e)},eA=function(e,t){this.inlineSize=e,this.blockSize=t,QL(this)},tA=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,QL(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),nA=function(e){return e instanceof SVGElement&&"getBBox"in e},rA=function(e){if(nA(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},oA=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},iA="undefined"!=typeof window?window:{},sA=new WeakMap,aA=/auto|scroll/,lA=/^tb|vertical/,cA=/msie|trident/i.test(iA.navigator&&iA.navigator.userAgent),dA=function(e){return parseFloat(e||"0")},uA=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new eA((n?t:e)||0,(n?e:t)||0)},hA=QL({devicePixelContentBoxSize:uA(),borderBoxSize:uA(),contentBoxSize:uA(),contentRect:new tA(0,0,0,0)}),pA=function(e,t){if(void 0===t&&(t=!1),sA.has(e)&&!t)return sA.get(e);if(rA(e))return sA.set(e,hA),hA;var n=getComputedStyle(e),r=nA(e)&&e.ownerSVGElement&&e.getBBox(),o=!cA&&"border-box"===n.boxSizing,i=lA.test(n.writingMode||""),s=!r&&aA.test(n.overflowY||""),a=!r&&aA.test(n.overflowX||""),l=r?0:dA(n.paddingTop),c=r?0:dA(n.paddingRight),d=r?0:dA(n.paddingBottom),u=r?0:dA(n.paddingLeft),h=r?0:dA(n.borderTopWidth),p=r?0:dA(n.borderRightWidth),f=r?0:dA(n.borderBottomWidth),m=u+c,g=l+d,b=(r?0:dA(n.borderLeftWidth))+p,v=h+f,y=a?e.offsetHeight-v-e.clientHeight:0,w=s?e.offsetWidth-b-e.clientWidth:0,x=o?m+b:0,C=o?g+v:0,k=r?r.width:dA(n.width)-x-w,$=r?r.height:dA(n.height)-C-y,S=k+m+w+b,M=$+g+y+v,E=QL({devicePixelContentBoxSize:uA(Math.round(k*devicePixelRatio),Math.round($*devicePixelRatio),i),borderBoxSize:uA(S,M,i),contentBoxSize:uA(k,$,i),contentRect:new tA(u,l,k,$)});return sA.set(e,E),E},fA=function(e,t,n){var r=pA(e,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case HL.DEVICE_PIXEL_CONTENT_BOX:return s;case HL.BORDER_BOX:return o;default:return i}},mA=function(e){var t=pA(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=QL([t.borderBoxSize]),this.contentBoxSize=QL([t.contentBoxSize]),this.devicePixelContentBoxSize=QL([t.devicePixelContentBoxSize])},gA=function(e){if(rA(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},bA=function(){var e=1/0,t=[];JL.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new mA(t.target),o=gA(t.target);r.push(n),t.lastReportedSize=fA(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},vA=function(e){JL.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(gA(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},yA=function(){var e=0;for(vA(e);JL.some((function(e){return e.activeTargets.length>0}));)e=bA(),vA(e);return JL.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:XL}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=XL),window.dispatchEvent(e)}(),e>0},wA=[],xA=function(e){if(!YL){var t=0,n=document.createTextNode("");new MutationObserver((function(){return wA.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),YL=function(){n.textContent="".concat(t?t--:t++)}}wA.push(e),YL()},CA=0,kA={attributes:!0,characterData:!0,childList:!0,subtree:!0},$A=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],SA=function(e){return void 0===e&&(e=0),Date.now()+e},MA=!1,EA=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!MA){MA=!0;var n,r=SA(e);n=function(){var n=!1;try{n=yA()}finally{if(MA=!1,e=r-SA(),!CA)return;n?t.run(1e3):e>0?t.run(e):t.start()}},xA((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,kA)};document.body?t():iA.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),$A.forEach((function(t){return iA.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),$A.forEach((function(t){return iA.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),TA=function(e){!CA&&e>0&&EA.start(),!(CA+=e)&&EA.stop()},OA=function(){function e(e,t){this.target=e,this.observedBox=t||HL.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=fA(this.target,this.observedBox,!0);return function(e){return!nA(e)&&!function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)&&"inline"===getComputedStyle(e).display}(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),LA=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},AA=new WeakMap,NA=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},RA=function(){function e(){}return e.connect=function(e,t){var n=new LA(e,t);AA.set(e,n)},e.observe=function(e,t,n){var r=AA.get(e),o=0===r.observationTargets.length;NA(r.observationTargets,t)<0&&(o&&JL.push(r),r.observationTargets.push(new OA(t,n&&n.box)),TA(1),EA.schedule())},e.unobserve=function(e,t){var n=AA.get(e),r=NA(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&JL.splice(JL.indexOf(n),1),n.observationTargets.splice(r,1),TA(-1))},e.disconnect=function(e){var t=this,n=AA.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),DA=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");RA.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!oA(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");RA.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!oA(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");RA.unobserve(this,e)},e.prototype.disconnect=function(){RA.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function PA(){return PA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PA.apply(this,arguments)}function IA(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}var zA="undefined"!=typeof window?de:ce;function VA(e,t,n){return t=(t=+t)==t?t:0,n=(n=+n)==n?n:0,(e=+e)==e&&(e=(e=e<=n?e:n)>=t?e:t),e}function HA(e){var t=Math.round(e);if(Number.isNaN(e))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return t}var BA={box:"border-box"};function _A(e,t){var n=t.label,r=t.enabled,o=t.resizeSourceRef,i=ae(0),s=i[0],a=i[1];le(n+": "+s);var l=ue((function(e){a(e[0].borderBoxSize[0].blockSize),o.current="element"}),[o]);return zA((function(){if(e.current&&r){var t=new DA(l);return t.observe(e.current,BA),function(){t.disconnect()}}}),[e,l,r]),r?s:0}function jA(e){return void 0===e&&(e=1e3),new Promise((function(t){return setTimeout(t,e)}))}var FA={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},qA={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},WA=function(e,t,n){return void 0===n&&(n=e.context),new KE(e,t,n)}({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:PA({},FA,qA)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:PA({},FA,qA)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:PA({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[ZE({y:function(e,t){return t.payload.y},velocity:function(e,t){return t.payload.velocity},snapSource:function(e,t){var n=t.payload.source;return void 0===n?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(e,t){},onSnapCancel:function(e,t){},onResizeCancel:function(e,t){},onCloseCancel:function(e,t){},onOpenEnd:function(e,t){},onSnapEnd:function(e,t){},onRezizeEnd:function(e,t){}},services:{onSnapStart:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenStart:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseStart:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeStart:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onSnapEnd:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenEnd:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseEnd:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeEnd:function(){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},renderVisuallyHidden:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},activate:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},deactivate:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},openSmoothly:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},openImmediately:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},snapSmoothly:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},resizeSmoothly:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}},closeSmoothly:function(e,t){try{return Promise.resolve(jA()).then((function(){}))}catch(e){return Promise.reject(e)}}},guards:{initiallyClosed:function(e){return"CLOSED"===e.initialState},initiallyOpen:function(e){return"OPEN"===e.initialState}}}),UA=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],KA=["velocity"],GA=["onRest","config"],ZA={tension:170,friction:26},JA=ZA.tension,XA=ZA.friction,YA=te.forwardRef((function(e,t){var n=e.children,r=e.sibling,o=e.className,i=e.footer,s=e.header,a=e.open,l=e.initialState,c=e.lastSnapRef,d=e.initialFocusRef,u=e.onDismiss,h=e.maxHeight,p=e.defaultSnap,f=void 0===p?eN:p,m=e.snapPoints,g=void 0===m?tN:m,b=e.blocking,v=void 0===b||b,y=e.scrollLocking,w=void 0===y||y,x=e.style,C=e.onSpringStart,k=e.onSpringCancel,$=e.onSpringEnd,S=e.reserveScrollBarGap,M=void 0===S?v:S,E=e.expandOnContentDrag,T=void 0!==E&&E,O=IA(e,UA),L=function(){var e=ae(!1),t=e[0],n=e[1],r=ae({}),o=r[0],i=r[1],s=ue((function(e){return i((function(t){var n;return PA({},t,((n={})[e]=!1,n))})),function(){i((function(t){var n;return PA({},t,((n={})[e]=!0,n))}))}}),[]);return ce((function(){var e=Object.values(o);0!==e.length&&e.every(Boolean)&&n(!0)}),[o]),{ready:t,registerReady:s}}(),A=L.ready,N=L.registerReady,R=se(!1),D=se(C),P=se(k),I=se($);ce((function(){D.current=C,P.current=k,I.current=$}),[k,C,$]);var z,V,H=zT((function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}})),B=H[0],_=H[1],j=se(null),F=se(null),q=se(null),W=se(null),U=se(null),K=se(null),G=se(0),Z=se(),J=se(!1),X=(z=oe((function(){return"undefined"!=typeof window?window.matchMedia("(prefers-reduced-motion: reduce)"):null}),[]),V=se(null==z?void 0:z.matches),le(V.current?"reduce":"no-preference"),ce((function(){var e=function(e){V.current=e.matches};return null==z||z.addListener(e),function(){return null==z?void 0:z.removeListener(e)}}),[z]),V),Y=function(e){var t=e.targetRef,n=e.enabled,r=e.reserveScrollBarGap,o=se({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return le(n?"Enabled":"Disabled"),ce((function(){if(!n)return o.current.deactivate(),void(o.current={activate:function(){},deactivate:function(){}});var e=t.current,i=!1;o.current={activate:function(){i||(i=!0,GL(e,{allowTouchMove:function(e){return e.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:r}))},deactivate:function(){i&&(i=!1,ZL(e))}}}),[n,t,r]),o}({targetRef:F,enabled:A&&w,reserveScrollBarGap:M}),Q=function(e){var t=e.targetRef,n=e.enabled,r=se({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return le(n?"Enabled":"Disabled"),ce((function(){if(!n)return r.current.deactivate(),void(r.current={activate:function(){},deactivate:function(){}});var e=t.current,o=!1,i=[],s=[];r.current={activate:function(){if(!o){o=!0;var t=e.parentNode;document.querySelectorAll("body > *").forEach((function(e){if(e!==t){var n=e.getAttribute("aria-hidden");null!==n&&"false"!==n||(i.push(n),s.push(e),e.setAttribute("aria-hidden","true"))}}))}},deactivate:function(){o&&(o=!1,s.forEach((function(e,t){var n=i[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)})),i=[],s=[])}}}),[t,n]),r}({targetRef:j,enabled:A&&v}),ee=function(e){var t=e.targetRef,n=e.fallbackRef,r=e.initialFocusRef,o=e.enabled,i=se({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return le(o?"Enabled":"Disabled"),ce((function(){if(!o)return i.current.deactivate(),void(i.current={activate:function(){},deactivate:function(){}});var e=n.current,s=IL(t.current,{onActivate:void 0,initialFocus:r?function(){return(null==r?void 0:r.current)||e}:void 0,fallbackFocus:e,escapeDeactivates:!1,clickOutsideDeactivates:!1}),a=!1;i.current={activate:function(){try{return a?Promise.resolve():(a=!0,Promise.resolve(s.activate()).then((function(){return Promise.resolve(new Promise((function(e){return setTimeout((function(){return e(void 0)}),0)}))).then((function(){}))})))}catch(e){return Promise.reject(e)}},deactivate:function(){a&&(a=!1,s.deactivate())}}}),[o,n,r,t]),i}({targetRef:j,fallbackRef:K,initialFocusRef:d||void 0,enabled:A&&v&&!1!==d}),ne=function(e){var t=e.getSnapPoints,n=e.heightRef,r=e.lastSnapRef,o=e.ready,i=function(e){var t=e.contentRef,n=e.controlledMaxHeight,r=e.footerEnabled,o=e.footerRef,i=e.headerEnabled,s=e.headerRef,a=e.registerReady,l=e.resizeSourceRef,c=oe((function(){return a("contentHeight")}),[a]),d=function(e,t,n){var r=oe((function(){return t("maxHeight")}),[t]),o=ae((function(){return HA(e)||"undefined"!=typeof window?window.innerHeight:0})),i=o[0],s=o[1],a=i>0,l=se(0);return le(e?"controlled":"auto"),ce((function(){a&&r()}),[a,r]),zA((function(){if(e)return s(HA(e)),void(n.current="maxheightprop");var t=function(){l.current||(l.current=requestAnimationFrame((function(){s(window.innerHeight),n.current="window",l.current=0})))};return window.addEventListener("resize",t),s(window.innerHeight),n.current="window",r(),function(){window.removeEventListener("resize",t),cancelAnimationFrame(l.current)}}),[e,r,n]),i}(n,a,l),u=_A(s,{label:"headerHeight",enabled:i,resizeSourceRef:l}),h=_A(t,{label:"contentHeight",enabled:!0,resizeSourceRef:l}),p=_A(o,{label:"footerHeight",enabled:r,resizeSourceRef:l}),f=Math.min(d-u-p,h)+u+p;le("minHeight: "+f);var m=h>0;return ce((function(){m&&c()}),[m,c]),{maxHeight:d,minHeight:f,headerHeight:u,footerHeight:p}}({contentRef:e.contentRef,controlledMaxHeight:e.controlledMaxHeight,footerEnabled:e.footerEnabled,footerRef:e.footerRef,headerEnabled:e.headerEnabled,headerRef:e.headerRef,registerReady:e.registerReady,resizeSourceRef:e.resizeSourceRef}),s=i.maxHeight,a=i.minHeight,l=i.headerHeight,c=i.footerHeight,d=function(e,t){var n=[].concat(e).map(HA).reduce((function(e,n){return e.add(VA(n,0,t)),e}),new Set),r=Array.from(n),o=Math.min.apply(Math,r);if(Number.isNaN(o))throw new TypeError("minSnap is NaN");var i=Math.max.apply(Math,r);if(Number.isNaN(i))throw new TypeError("maxSnap is NaN");return{snapPoints:r,minSnap:o,maxSnap:i}}(o?t({height:n.current,footerHeight:c,headerHeight:l,minHeight:a,maxHeight:s}):[0],s),u=d.snapPoints,h=d.minSnap,p=d.maxSnap;return le("minSnap: "+h+", maxSnap:"+p),{minSnap:h,maxSnap:p,findSnap:function(e){var t=HA("function"==typeof e?e({footerHeight:c,headerHeight:l,height:n.current,minHeight:a,maxHeight:s,snapPoints:u,lastSnap:r.current}):e);return u.reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}),h)},maxHeight:s}}({contentRef:q,controlledMaxHeight:h,footerEnabled:!!i,footerRef:U,getSnapPoints:g,headerEnabled:!1!==s,headerRef:W,heightRef:G,lastSnapRef:c,ready:A,registerReady:N,resizeSourceRef:Z}),re=ne.minSnap,ie=ne.maxSnap,de=ne.maxHeight,he=ne.findSnap,pe=se(de),fe=se(re),ge=se(ie),be=se(he),ve=se(0);zA((function(){pe.current=de,ge.current=ie,fe.current=re,be.current=he,ve.current=he(f)}),[he,f,de,ie,re]);var ye=ue((function(e){var t=e.onRest,n=e.config,r=(n=void 0===n?{}:n).velocity,o=void 0===r?1:r,i=IA(n,KA),s=IA(e,GA);return new Promise((function(e){return _(PA({},s,{config:PA({velocity:o},i,{mass:1,tension:JA,friction:Math.max(XA,XA+(XA-XA*o))}),onRest:function(){var n=[].slice.call(arguments);e.apply(void 0,n),null==t||t.apply(void 0,n)}}))}))}),[_]),we=lT(WA,{devTools:!1,actions:{onOpenCancel:ue((function(){return null==P.current?void 0:P.current({type:"OPEN"})}),[]),onSnapCancel:ue((function(e){return null==P.current?void 0:P.current({type:"SNAP",source:e.snapSource})}),[]),onCloseCancel:ue((function(){return null==P.current?void 0:P.current({type:"CLOSE"})}),[]),onResizeCancel:ue((function(){return null==P.current?void 0:P.current({type:"RESIZE",source:Z.current})}),[]),onOpenEnd:ue((function(){return null==I.current?void 0:I.current({type:"OPEN"})}),[]),onSnapEnd:ue((function(e,t){return null==I.current?void 0:I.current({type:"SNAP",source:e.snapSource})}),[]),onResizeEnd:ue((function(){return null==I.current?void 0:I.current({type:"RESIZE",source:Z.current})}),[])},context:{initialState:l},services:{onSnapStart:ue((function(e,t){try{return Promise.resolve(null==D.current?void 0:D.current({type:"SNAP",source:t.payload.source||"custom"}))}catch(e){return Promise.reject(e)}}),[]),onOpenStart:ue((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseStart:ue((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeStart:ue((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"RESIZE",source:Z.current}))}catch(e){return Promise.reject(e)}}),[]),onSnapEnd:ue((function(e,t){try{return Promise.resolve(null==I.current?void 0:I.current({type:"SNAP",source:e.snapSource}))}catch(e){return Promise.reject(e)}}),[]),onOpenEnd:ue((function(){try{return Promise.resolve(null==I.current?void 0:I.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseEnd:ue((function(){try{return Promise.resolve(null==I.current?void 0:I.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeEnd:ue((function(){try{return Promise.resolve(null==I.current?void 0:I.current({type:"RESIZE",source:Z.current}))}catch(e){return Promise.reject(e)}}),[]),renderVisuallyHidden:ue((function(e,t){try{return Promise.resolve(ye({y:ve.current,ready:0,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye]),activate:ue((function(e,t){try{return R.current=!0,Promise.resolve(Promise.all([Y.current.activate(),ee.current.activate(),Q.current.activate()])).then((function(){}))}catch(e){return Promise.reject(e)}}),[Q,ee,Y]),deactivate:ue((function(){try{return Y.current.deactivate(),ee.current.deactivate(),Q.current.deactivate(),R.current=!1,Promise.resolve()}catch(e){return Promise.reject(e)}}),[Q,ee,Y]),openImmediately:ue((function(){try{return G.current=ve.current,Promise.resolve(ye({y:ve.current,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye]),openSmoothly:ue((function(){try{return Promise.resolve(ye({y:0,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:!0})).then((function(){return G.current=ve.current,Promise.resolve(ye({y:ve.current,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:ve.current,immediate:X.current})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[ye,X]),snapSmoothly:ue((function(e,t){try{var n=be.current(e.y);return G.current=n,c.current=n,Promise.resolve(ye({y:n,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:fe.current,immediate:X.current,config:{velocity:e.velocity}})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye,c,X]),resizeSmoothly:ue((function(){try{var e=be.current(G.current);return G.current=e,c.current=e,Promise.resolve(ye({y:e,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:fe.current,immediate:"element"!==Z.current||X.current})).then((function(){}))}catch(e){return Promise.reject(e)}}),[ye,c,X]),closeSmoothly:ue((function(e,t){try{return ye({minSnap:G.current,immediate:!0}),G.current=0,Promise.resolve(ye({y:0,maxHeight:pe.current,maxSnap:ge.current,immediate:X.current})).then((function(){return Promise.resolve(ye({ready:0,immediate:!0})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[ye,X])}}),xe=we[0],Ce=we[1];ce((function(){A&&Ce(a?"OPEN":"CLOSE")}),[a,Ce,A]),zA((function(){(de||ie||re)&&Ce("RESIZE")}),[de,ie,re,Ce]),ce((function(){return function(){Y.current.deactivate(),ee.current.deactivate(),Q.current.deactivate()}}),[Q,ee,Y]),me(t,(function(){return{snapTo:function(e,t){var n=void 0===t?{}:t,r=n.velocity,o=void 0===r?1:r,i=n.source,s=void 0===i?"custom":i;Ce("SNAP",{payload:{y:be.current(e),velocity:o,source:s}})},get height(){return G.current}}}),[Ce]),ce((function(){var e=F.current,t=function(e){J.current&&e.preventDefault()},n=function(t){e.scrollTop<0&&(requestAnimationFrame((function(){e.style.overflow="hidden",e.scrollTop=0,e.style.removeProperty("overflow")})),t.preventDefault())};return T&&(e.addEventListener("scroll",t),e.addEventListener("touchmove",t),e.addEventListener("touchstart",n)),function(){e.removeEventListener("scroll",t),e.removeEventListener("touchmove",t),e.removeEventListener("touchstart",n)}}),[T,F]);var ke=sL((function(e){var t=e.args,n=(t=void 0===t?[]:t)[0],r=(n=void 0===n?{}:n).closeOnTap,o=void 0!==r&&r,i=n.isContentDragging,s=void 0!==i&&i,a=e.cancel,l=e.direction[1],c=e.down,d=e.first,h=e.last,p=e.memo,f=void 0===p?B.y.getValue():p,m=e.tap,g=e.velocity,b=-1*e.movement[1];if(!R.current)return a(),f;if(u&&o&&m)return a(),setTimeout((function(){return u()}),0),f;if(m)return f;var v=f+b,y=b*g,w=Math.max(fe.current,Math.min(ge.current,v+2*y));if(!c&&u&&l>0&&v+y<fe.current/2)return a(),u(),f;var x=c?u||fe.current!==ge.current?wO(v,u?0:fe.current,ge.current,.55):v<fe.current?wO(v,fe.current,2*ge.current,.55):wO(v,fe.current/2,ge.current,.55):w;return T&&s?(x>=ge.current&&(x=ge.current),f===ge.current&&F.current.scrollTop>0&&(x=ge.current),J.current=x<ge.current):J.current=!1,d&&Ce("DRAG"),h?(Ce("SNAP",{payload:{y:x,velocity:g>.05?g:1,source:"dragging"}}),f):(_({y:x,ready:1,maxHeight:pe.current,maxSnap:ge.current,minSnap:fe.current,immediate:!0,config:{velocity:g}}),f)}),{filterTaps:!0});if(Number.isNaN(ge.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(fe.current))throw new TypeError("minSnapRef is NaN!!");var $e=function(e){var t,n=e.spring,r=AT([n.y,n.maxHeight],(function(e,t){return Math.round(VA(t-e,0,16))+"px"})),o=AT([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return VA(e,t,n)+"px"})),i=AT([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return e<t?t-e+"px":e>n?n-e+"px":"0px"})),s=AT([n.y,n.maxSnap],(function(e,t){return e>=t?Math.ceil(e-t):0})),a=AT([n.y,n.minSnap],(function(e,t){if(!t)return 0;var n=Math.max(t/2-45,0);return VA((e-n)*(1/(Math.min(t/2+45,t)-n)+0),0,1)})),l=AT([n.y,n.minSnap],(function(e,t){return t?VA(e/t,0,1):0}));return(t={})["--rsbs-content-opacity"]=a,t["--rsbs-backdrop-opacity"]=l,t["--rsbs-antigap-scale-y"]=s,t["--rsbs-overlay-translate-y"]=i,t["--rsbs-overlay-rounded"]=r,t["--rsbs-overlay-h"]=o,t}({spring:B});return te.createElement(fO.div,PA({},O,{"data-rsbs-root":!0,"data-rsbs-state":QA.find(xe.matches),"data-rsbs-is-blocking":v,"data-rsbs-is-dismissable":!!u,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!i,className:o,ref:j,style:PA({},$e,x,{opacity:B.ready})}),r,v&&te.createElement("div",PA({key:"backdrop","data-rsbs-backdrop":!0},ke({closeOnTap:!0}))),te.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:K,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),u&&u())}},!1!==s&&te.createElement("div",PA({key:"header","data-rsbs-header":!0,ref:W},ke()),s),te.createElement("div",PA({key:"scroll","data-rsbs-scroll":!0,ref:F},T?ke({isContentDragging:!0}):{}),te.createElement("div",{"data-rsbs-content":!0,ref:q},n)),i&&te.createElement("div",PA({key:"footer",ref:U,"data-rsbs-footer":!0},ke()),i)))})),QA=["closed","opening","open","closing","dragging","snapping","resizing"];function eN(e){var t=e.lastSnap;return null!=t?t:Math.min.apply(Math,e.snapPoints)}function tN(e){return e.minHeight}var nN=["onSpringStart","onSpringEnd","skipInitialTransition"],rN=ie((function(e,t){var n=e.onSpringStart,r=e.onSpringEnd,o=e.skipInitialTransition,i=IA(e,nN),s=ae(!1),a=s[0],l=s[1],c=se(),d=se(null),u=se(o&&i.open?"OPEN":"CLOSED");zA((function(){if(i.open)return cancelAnimationFrame(c.current),l(!0),function(){u.current="CLOSED"}}),[i.open]);var h=ue((function(e){return Promise.resolve(null==n?void 0:n(e)).then((function(){"OPEN"===e.type&&cancelAnimationFrame(c.current)}))}),[n]),p=ue((function(e){return Promise.resolve(null==r?void 0:r(e)).then((function(){"CLOSE"===e.type&&(c.current=requestAnimationFrame((function(){return l(!1)})))}))}),[r]);return a?te.createElement(XS,{"data-rsbs-portal":!0},te.createElement(YA,PA({},i,{lastSnapRef:d,ref:t,initialState:u.current,onSpringStart:h,onSpringEnd:p}))):null}));const oN=ke`
3242
3243
  width: ${Ve(1e3)};
3243
3244
  border-radius: ${Be(300)};
3244
3245
  background: transparent;
@@ -3252,7 +3253,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3252
3253
  margin: 0;
3253
3254
  background: ${Ie("neutral",300)};
3254
3255
  }
3255
- `,oN=(e,t)=>ke`
3256
+ `,iN=(e,t)=>ke`
3256
3257
  [data-rsbs-overlay] {
3257
3258
  border-top-left-radius: ${Be(500)};
3258
3259
  border-top-right-radius: ${Be(500)};
@@ -3278,11 +3279,11 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3278
3279
  padding: 0;
3279
3280
  min-height: ${Ve(1600)};
3280
3281
  }
3281
- `;!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("[data-rsbs-overlay] {\n border-top-left-radius: 16px;\n border-top-left-radius: var(--rsbs-overlay-rounded,16px);\n border-top-right-radius: 16px;\n border-top-right-radius: var(--rsbs-overlay-rounded,16px);\n display: flex;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n flex-direction: column;\n height: 0px;\n height: var(--rsbs-overlay-h,0px);\n transform: translate3d(0, 0px, 0);\n transform: translate3d(0, var(--rsbs-overlay-translate-y,0px), 0);\n will-change: height;\n}\n\n[data-rsbs-overlay]:focus {\n outline: none;\n}\n\n[data-rsbs-is-blocking='false'] [data-rsbs-overlay] {\n box-shadow: 0 -5px 60px 0 rgba(38, 89, 115, 0.11),\n 0 -1px 0 rgba(38, 89, 115, 0.05);\n}\n\n[data-rsbs-overlay],\n[data-rsbs-root]:after {\n max-width: auto;\n max-width: var(--rsbs-max-w,auto);\n margin-left: env(safe-area-inset-left);\n margin-left: var(--rsbs-ml,env(safe-area-inset-left));\n margin-right: env(safe-area-inset-right);\n margin-right: var(--rsbs-mr,env(safe-area-inset-right));\n}\n\n[data-rsbs-overlay],\n[data-rsbs-backdrop],\n[data-rsbs-root]:after {\n z-index: 3;\n -ms-scroll-chaining: none;\n overscroll-behavior: none;\n touch-action: none;\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n\n[data-rsbs-backdrop] {\n top: -60px;\n bottom: -60px;\n background-color: rgba(0, 0, 0, 0.6);\n background-color: var(--rsbs-backdrop-bg,rgba(0, 0, 0, 0.6));\n will-change: opacity;\n cursor: pointer;\n opacity: 1;\n}\n\n[data-rsbs-is-dismissable='false'] [data-rsbs-backdrop] {\n cursor: ns-resize;\n}\n\n[data-rsbs-root]:after {\n content: '';\n pointer-events: none;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n height: 1px;\n transform-origin: bottom;\n transform: scale3d(1, 0, 1);\n transform: scale3d(1, var(--rsbs-antigap-scale-y,0), 1);\n will-change: transform;\n}\n\n[data-rsbs-footer],\n[data-rsbs-header] {\n flex-shrink: 0;\n cursor: ns-resize;\n padding: 16px;\n}\n\n[data-rsbs-header] {\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(1 * 0.125));\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125));\n z-index: 1;\n padding-top: calc(20px + env(safe-area-inset-top));\n padding-bottom: 8px;\n}\n\n[data-rsbs-header]:before {\n position: absolute;\n content: '';\n display: block;\n width: 36px;\n height: 4px;\n top: calc(8px + env(safe-area-inset-top));\n left: 50%;\n transform: translateX(-50%);\n border-radius: 2px;\n background-color: hsla(0, 0%, 0%, 0.14);\n background-color: var(--rsbs-handle-bg,hsla(0, 0%, 0%, 0.14));\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {\n [data-rsbs-header]:before {\n transform: translateX(-50%) scaleY(0.75);\n }\n}\n\n[data-rsbs-has-header='false'] [data-rsbs-header] {\n box-shadow: none;\n padding-top: calc(12px + env(safe-area-inset-top));\n}\n\n[data-rsbs-scroll] {\n flex-shrink: 1;\n flex-grow: 1;\n -webkit-tap-highlight-color: revert;\n -webkit-touch-callout: revert;\n -webkit-user-select: auto;\n -ms-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n overflow: auto;\n -ms-scroll-chaining: none;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n}\n\n[data-rsbs-scroll]:focus {\n outline: none;\n}\n\n[data-rsbs-has-footer='false'] [data-rsbs-content] {\n padding-bottom: env(safe-area-inset-bottom);\n}\n\n[data-rsbs-content] {\n /* The overflow hidden is to ensure any margin on child nodes are included when the resize observer is measuring the height */\n overflow: hidden;\n}\n\n[data-rsbs-footer] {\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(1 * 0.125)),\n 0 2px 0 #fff;\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125)),\n 0 2px 0 var(--rsbs-bg,#fff);\n overflow: hidden;\n z-index: 1;\n padding-bottom: calc(16px + env(safe-area-inset-bottom));\n}\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-footer] > * {\n opacity: 1;\n opacity: var(--rsbs-content-opacity,1);\n }\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-backdrop] {\n opacity: 1;\n opacity: var(--rsbs-backdrop-opacity,1);\n }\n\n[data-rsbs-state='closed'],\n[data-rsbs-state='closing'] {\n /* Allows interactions on the rest of the page before the close transition is finished */\n pointer-events: none;\n}\n");const iN=(e,t)=>{let n=0,r=1/0;return t.forEach(((t,o)=>{const i=Math.abs(t-e);i<r&&(r=i,n=o)})),n},sN=({header:e,content:t,footer:n,open:r=!1,onClose:o,minimizedHeight:i,midHeight:s=200,maxFullHeight:a,defaultSnap:l="minimized",className:c,blocking:d,zIndex:u=1e3,labels:h})=>{const p=tg("Sheet",h),f=se(null),m=te.useRef([]),[g,b]=te.useState(null),v=window.innerWidth>768,y=m.current;let w=p.expandSheetLabel;if(null!=g){const e=iN(g,y);e>0&&e<y.length-1?w=p.makeFullScreenLabel:e===y.length-1&&(w=p.expandedSheetLabel)}const x=!(null==g||!y.length||iN(g,y)!==y.length-1);return ve(nN,{ref:f,css:oN(!!e,u),className:c,open:r,onDismiss:o,header:be("div",{children:[ve("button",{type:"button",disabled:x,"aria-label":w,css:rN,onKeyDown:e=>{if("Enter"!==e.key&&" "!==e.key)return;e.preventDefault();const t=y[y.length-1];if(v)return void f.current?.snapTo?.((()=>t));const n=g??y[0];let r=y.findIndex((e=>e>n));-1===r&&(r=y.length-1);const o=y[r];f.current?.snapTo?.((()=>o))},children:ve("div",{})}),ve("span",{"aria-live":"polite",style:{position:"absolute",width:1,height:1,overflow:"hidden",clip:"rect(0 0 0 0)"},children:w}),e]}),footer:n,snapPoints:({headerHeight:e,maxHeight:t,footerHeight:r})=>{const o=[20,i||e,s+(n?r:0),a||t-t/6];return m.current=o,o},onSpringEnd:()=>{const e=f.current?.height;e&&b(e)},defaultSnap:({headerHeight:e,maxHeight:t,footerHeight:r})=>{let o=20;return"minimized"===l?o=i||e:"mid"===l?o=s+(n?r:0):"full"===l&&(o=a||t-t/6),o},blocking:d,children:r?t:null})},aN=e=>"small"===e||"small-full-width"===e,lN=(e,t)=>{let n="14.875rem";return(e=>"full-width"===e||"small-full-width"===e)(e)?n="100%":"large"===e&&(n="22.875rem"),ke`
3282
+ `;!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("[data-rsbs-overlay] {\n border-top-left-radius: 16px;\n border-top-left-radius: var(--rsbs-overlay-rounded,16px);\n border-top-right-radius: 16px;\n border-top-right-radius: var(--rsbs-overlay-rounded,16px);\n display: flex;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n flex-direction: column;\n height: 0px;\n height: var(--rsbs-overlay-h,0px);\n transform: translate3d(0, 0px, 0);\n transform: translate3d(0, var(--rsbs-overlay-translate-y,0px), 0);\n will-change: height;\n}\n\n[data-rsbs-overlay]:focus {\n outline: none;\n}\n\n[data-rsbs-is-blocking='false'] [data-rsbs-overlay] {\n box-shadow: 0 -5px 60px 0 rgba(38, 89, 115, 0.11),\n 0 -1px 0 rgba(38, 89, 115, 0.05);\n}\n\n[data-rsbs-overlay],\n[data-rsbs-root]:after {\n max-width: auto;\n max-width: var(--rsbs-max-w,auto);\n margin-left: env(safe-area-inset-left);\n margin-left: var(--rsbs-ml,env(safe-area-inset-left));\n margin-right: env(safe-area-inset-right);\n margin-right: var(--rsbs-mr,env(safe-area-inset-right));\n}\n\n[data-rsbs-overlay],\n[data-rsbs-backdrop],\n[data-rsbs-root]:after {\n z-index: 3;\n -ms-scroll-chaining: none;\n overscroll-behavior: none;\n touch-action: none;\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n\n[data-rsbs-backdrop] {\n top: -60px;\n bottom: -60px;\n background-color: rgba(0, 0, 0, 0.6);\n background-color: var(--rsbs-backdrop-bg,rgba(0, 0, 0, 0.6));\n will-change: opacity;\n cursor: pointer;\n opacity: 1;\n}\n\n[data-rsbs-is-dismissable='false'] [data-rsbs-backdrop] {\n cursor: ns-resize;\n}\n\n[data-rsbs-root]:after {\n content: '';\n pointer-events: none;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n height: 1px;\n transform-origin: bottom;\n transform: scale3d(1, 0, 1);\n transform: scale3d(1, var(--rsbs-antigap-scale-y,0), 1);\n will-change: transform;\n}\n\n[data-rsbs-footer],\n[data-rsbs-header] {\n flex-shrink: 0;\n cursor: ns-resize;\n padding: 16px;\n}\n\n[data-rsbs-header] {\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(1 * 0.125));\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125));\n z-index: 1;\n padding-top: calc(20px + env(safe-area-inset-top));\n padding-bottom: 8px;\n}\n\n[data-rsbs-header]:before {\n position: absolute;\n content: '';\n display: block;\n width: 36px;\n height: 4px;\n top: calc(8px + env(safe-area-inset-top));\n left: 50%;\n transform: translateX(-50%);\n border-radius: 2px;\n background-color: hsla(0, 0%, 0%, 0.14);\n background-color: var(--rsbs-handle-bg,hsla(0, 0%, 0%, 0.14));\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {\n [data-rsbs-header]:before {\n transform: translateX(-50%) scaleY(0.75);\n }\n}\n\n[data-rsbs-has-header='false'] [data-rsbs-header] {\n box-shadow: none;\n padding-top: calc(12px + env(safe-area-inset-top));\n}\n\n[data-rsbs-scroll] {\n flex-shrink: 1;\n flex-grow: 1;\n -webkit-tap-highlight-color: revert;\n -webkit-touch-callout: revert;\n -webkit-user-select: auto;\n -ms-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n overflow: auto;\n -ms-scroll-chaining: none;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n}\n\n[data-rsbs-scroll]:focus {\n outline: none;\n}\n\n[data-rsbs-has-footer='false'] [data-rsbs-content] {\n padding-bottom: env(safe-area-inset-bottom);\n}\n\n[data-rsbs-content] {\n /* The overflow hidden is to ensure any margin on child nodes are included when the resize observer is measuring the height */\n overflow: hidden;\n}\n\n[data-rsbs-footer] {\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(1 * 0.125)),\n 0 2px 0 #fff;\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125)),\n 0 2px 0 var(--rsbs-bg,#fff);\n overflow: hidden;\n z-index: 1;\n padding-bottom: calc(16px + env(safe-area-inset-bottom));\n}\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-footer] > * {\n opacity: 1;\n opacity: var(--rsbs-content-opacity,1);\n }\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-backdrop] {\n opacity: 1;\n opacity: var(--rsbs-backdrop-opacity,1);\n }\n\n[data-rsbs-state='closed'],\n[data-rsbs-state='closing'] {\n /* Allows interactions on the rest of the page before the close transition is finished */\n pointer-events: none;\n}\n");const sN=(e,t)=>{let n=0,r=1/0;return t.forEach(((t,o)=>{const i=Math.abs(t-e);i<r&&(r=i,n=o)})),n},aN=({header:e,content:t,footer:n,open:r=!1,onClose:o,minimizedHeight:i,midHeight:s=200,maxFullHeight:a,defaultSnap:l="minimized",className:c,blocking:d,zIndex:u=1e3,labels:h})=>{const p=tg("Sheet",h),f=se(null),m=te.useRef([]),[g,b]=te.useState(null),v=window.innerWidth>768,y=m.current;let w=p.expandSheetLabel;if(null!=g){const e=sN(g,y);e>0&&e<y.length-1?w=p.makeFullScreenLabel:e===y.length-1&&(w=p.expandedSheetLabel)}const x=!(null==g||!y.length||sN(g,y)!==y.length-1);return ve(rN,{ref:f,css:iN(!!e,u),className:c,open:r,onDismiss:o,header:be("div",{children:[ve("button",{type:"button",disabled:x,"aria-label":w,css:oN,onKeyDown:e=>{if("Enter"!==e.key&&" "!==e.key)return;e.preventDefault();const t=y[y.length-1];if(v)return void f.current?.snapTo?.((()=>t));const n=g??y[0];let r=y.findIndex((e=>e>n));-1===r&&(r=y.length-1);const o=y[r];f.current?.snapTo?.((()=>o))},children:ve("div",{})}),ve("span",{"aria-live":"polite",style:{position:"absolute",width:1,height:1,overflow:"hidden",clip:"rect(0 0 0 0)"},children:w}),e]}),footer:n,snapPoints:({headerHeight:e,maxHeight:t,footerHeight:r})=>{const o=[20,i||e,s+(n?r:0),a||t-t/6];return m.current=o,o},onSpringEnd:()=>{const e=f.current?.height;e&&b(e)},defaultSnap:({headerHeight:e,maxHeight:t,footerHeight:r})=>{let o=20;return"minimized"===l?o=i||e:"mid"===l?o=s+(n?r:0):"full"===l&&(o=a||t-t/6),o},blocking:d,children:r?t:null})},lN=e=>"small"===e||"small-full-width"===e,cN=(e,t)=>{let n="14.875rem";return(e=>"full-width"===e||"small-full-width"===e)(e)?n="100%":"large"===e&&(n="22.875rem"),ke`
3282
3283
  width: 100%;
3283
3284
  max-width: ${n};
3284
3285
  border-radius: ${Be(300)};
3285
- padding: ${aN(e)?`${Ve(200)} ${Ve(200)} ${Ve(300)} ${Ve(200)}`:`${Ve(200)} ${Ve(300)} ${Ve(300)} ${Ve(300)}`};
3286
+ padding: ${lN(e)?`${Ve(200)} ${Ve(200)} ${Ve(300)} ${Ve(200)}`:`${Ve(200)} ${Ve(300)} ${Ve(300)} ${Ve(300)}`};
3286
3287
  display: flex;
3287
3288
  align-items: ${t?"center":"flex-start"};
3288
3289
  justify-content: ${t?"space-between":"flex-start"};
@@ -3292,7 +3293,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3292
3293
  button {
3293
3294
  margin-left: ${t?0:Ve(600)};
3294
3295
  }
3295
- `},cN=ke`
3296
+ `},dN=ke`
3296
3297
  display: flex;
3297
3298
  align-items: baseline;
3298
3299
  gap: ${Ve(200)};
@@ -3300,35 +3301,35 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3300
3301
  svg {
3301
3302
  margin-top: 0.1875rem;
3302
3303
  }
3303
- `,dN=e=>ke`
3304
+ `,uN=e=>ke`
3304
3305
  color: ${Ie("neutral",800)};
3305
- font-size: ${aN(e)?ze(300):ze(500)};
3306
- line-height: ${aN(e)?He(500):He(700)};
3306
+ font-size: ${lN(e)?ze(300):ze(500)};
3307
+ line-height: ${lN(e)?He(500):He(700)};
3307
3308
  font-weight: 400;
3308
3309
  text-align: left;
3309
- `,uN=(e,t)=>ke`
3310
+ `,hN=(e,t)=>ke`
3310
3311
  color: ${Ie("neutral",700)};
3311
- font-size: ${aN(e)?ze(200):ze(400)};
3312
- line-height: ${aN(e)?He(400):He(600)};
3312
+ font-size: ${lN(e)?ze(200):ze(400)};
3313
+ line-height: ${lN(e)?He(400):He(600)};
3313
3314
  font-weight: 400;
3314
3315
  margin-left: ${t?Ve(600):"0"};
3315
3316
  text-align: left;
3316
- `,hN=(e,t)=>ke`
3317
+ `,pN=(e,t)=>ke`
3317
3318
  color: ${Ie("neutral",700)};
3318
- font-size: ${aN(e)?ze(200):ze(400)};
3319
- line-height: ${aN(e)?He(400):He(600)};
3319
+ font-size: ${lN(e)?ze(200):ze(400)};
3320
+ line-height: ${lN(e)?He(400):He(600)};
3320
3321
  font-weight: 400;
3321
3322
  margin-left: ${t?Ve(600):"0"};
3322
3323
  text-align: left;
3323
- `,pN=ke`
3324
+ `,fN=ke`
3324
3325
  background-color: ${Ie("neutral",100)};
3325
3326
  border: ${_e(100)} solid ${Ie("neutral",300)};
3326
3327
  color: ${Ie("neutral",700)};
3327
- `,fN=ke`
3328
+ `,mN=ke`
3328
3329
  background-color: ${Ie("neutral",200)};
3329
3330
  border: ${_e(100)} solid ${Ie("neutral",300)};
3330
3331
  color: ${Ie("neutral",700)};
3331
- `,mN=ke`
3332
+ `,gN=ke`
3332
3333
  background-color: ${Ie("success",100)};
3333
3334
  border: ${_e(100)} solid ${Ie("success",300)};
3334
3335
  color: ${Ie("success",500)};
@@ -3336,7 +3337,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3336
3337
  p {
3337
3338
  color: ${Ie("success",900)};
3338
3339
  }
3339
- `,gN=ke`
3340
+ `,bN=ke`
3340
3341
  background-color: ${Ie("warning",100)};
3341
3342
  border: ${_e(100)} solid ${Ie("warning",300)};
3342
3343
  color: ${Ie("warning",500)};
@@ -3344,7 +3345,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3344
3345
  p {
3345
3346
  color: ${Ie("warning",900)};
3346
3347
  }
3347
- `,bN=ke`
3348
+ `,vN=ke`
3348
3349
  background-color: ${Ie("error",100)};
3349
3350
  border: ${_e(100)} solid ${Ie("error",300)};
3350
3351
  color: ${Ie("error",500)};
@@ -3352,52 +3353,52 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3352
3353
  p {
3353
3354
  color: ${Ie("error",900)};
3354
3355
  }
3355
- `,vN=({label:e,caption:t,variant:n,size:r="large",icon:o=ve(cg,{height:"1rem",width:"1rem"}),onActionClick:i,actionLabel:s,actionButtonVariant:a="secondary",isButtonRight:l,buttonLeftIcon:c,buttonRightIcon:d,labels:u})=>{const h=tg("InlineMessage",u);let p=pN;"info-grey"===n?p=fN:"success"===n?p=mN:"warning"===n?p=gN:"error"===n&&(p=bN);const f="error"===n||"warning"===n?"alert":"status",m="alert"===f?"assertive":"polite";return be("div",{css:[lN(r,l),p],role:f,"aria-live":m,"aria-roledescription":h.roleDescription,children:[be("div",{children:[be("div",{css:cN,children:[o,ve("string"==typeof e?"p":"div",{css:dN(r),children:e})]}),t&&"string"==typeof t?ve("p",{css:uN(r,!!o),children:t}):t?ve("div",{css:hN(r,!!o),children:t}):null]}),s?ve(ng,{label:s,variant:a,size:"large"===r||"full-width"===r?"default":"small",onClick:i,leftIcon:c,rightIcon:d}):null]})},yN=ke`
3356
+ `,yN=({label:e,caption:t,variant:n,size:r="large",icon:o=ve(cg,{height:"1rem",width:"1rem"}),onActionClick:i,actionLabel:s,actionButtonVariant:a="secondary",isButtonRight:l,buttonLeftIcon:c,buttonRightIcon:d,labels:u})=>{const h=tg("InlineMessage",u);let p=fN;"info-grey"===n?p=mN:"success"===n?p=gN:"warning"===n?p=bN:"error"===n&&(p=vN);const f="error"===n||"warning"===n?"alert":"status",m="alert"===f?"assertive":"polite";return be("div",{css:[cN(r,l),p],role:f,"aria-live":m,"aria-roledescription":h.roleDescription,children:[be("div",{children:[be("div",{css:dN,children:[o,ve("string"==typeof e?"p":"div",{css:uN(r),children:e})]}),t&&"string"==typeof t?ve("p",{css:hN(r,!!o),children:t}):t?ve("div",{css:pN(r,!!o),children:t}):null]}),s?ve(ng,{label:s,variant:a,size:"large"===r||"full-width"===r?"default":"small",onClick:i,leftIcon:c,rightIcon:d}):null]})},wN=ke`
3356
3357
  width: 100%;
3357
3358
  min-height: calc(${Ve(1200)} * 12);
3358
3359
  background-color: ${Ie("neutral",100)};
3359
3360
  display: flex;
3360
3361
  flex-direction: column;
3361
- `,wN=ke`
3362
+ `,xN=ke`
3362
3363
  background-color: ${Ie("neutral",200)};
3363
3364
  padding: ${Ve(300)};
3364
3365
  display: flex;
3365
3366
  align-items: center;
3366
3367
  gap: ${Ve(300)};
3367
- `,xN=ke`
3368
+ `,CN=ke`
3368
3369
  flex: 1;
3369
3370
 
3370
3371
  .ds-text-input-container {
3371
3372
  margin-bottom: 0;
3372
3373
  }
3373
- `,CN=ke`
3374
+ `,kN=ke`
3374
3375
  flex-shrink: 0;
3375
3376
  color: ${Ie("neutral",700)};
3376
3377
  font-size: ${ze(400)};
3377
3378
  font-style: normal;
3378
3379
  font-weight: 400;
3379
- `,kN=ke`
3380
+ `,$N=ke`
3380
3381
  flex: 1;
3381
3382
  min-height: 0;
3382
3383
  padding: ${Ve(400)};
3383
3384
  display: flex;
3384
3385
  flex-direction: column;
3385
3386
  gap: ${Ve(300)};
3386
- `,$N=ke`
3387
+ `,SN=ke`
3387
3388
  color: ${Ie("neutral",700)};
3388
3389
  font-size: ${ze(400)};
3389
3390
  line-height: ${He(600)};
3390
3391
  font-weight: 700;
3391
- `,SN=ke`
3392
- width: 100%;
3393
3392
  `,MN=ke`
3393
+ width: 100%;
3394
+ `,EN=ke`
3394
3395
  flex: 1;
3395
3396
  min-height: 0;
3396
3397
  overflow-y: auto;
3397
3398
  display: flex;
3398
3399
  flex-direction: column;
3399
3400
  gap: ${Ve(200)};
3400
- `,EN=ke`
3401
+ `,TN=ke`
3401
3402
  background-color: ${Ie("neutral",200)};
3402
3403
  border: ${_e(100)} solid ${Ie("neutral",300)};
3403
3404
  border-radius: ${Be(300)};
@@ -3423,13 +3424,13 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3423
3424
  &:active {
3424
3425
  background-color: ${Ie("neutral",300)};
3425
3426
  }
3426
- `,TN=ke`
3427
+ `,ON=ke`
3427
3428
  display: flex;
3428
3429
  flex: 1;
3429
3430
  min-width: 0;
3430
3431
  flex-direction: column;
3431
3432
  gap: ${Ve(50)};
3432
- `,ON=ke`
3433
+ `,LN=ke`
3433
3434
  color: ${Ie("neutral",900)};
3434
3435
  font-size: ${ze(300)};
3435
3436
  line-height: ${He(500)};
@@ -3437,7 +3438,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3437
3438
  overflow: hidden;
3438
3439
  text-overflow: ellipsis;
3439
3440
  white-space: nowrap;
3440
- `,LN=ke`
3441
+ `,AN=ke`
3441
3442
  color: ${Ie("neutral",700)};
3442
3443
  font-size: ${ze(300)};
3443
3444
  line-height: ${He(500)};
@@ -3445,7 +3446,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3445
3446
  overflow: hidden;
3446
3447
  text-overflow: ellipsis;
3447
3448
  white-space: nowrap;
3448
- `,AN=({value:e,placeholder:t,showInfoMessage:n=!0,items:r=[],disabled:o,readOnly:i,id:s,name:a,autoFocus:l,autoComplete:c,onBlur:d,onFocus:u,onQueryChange:h,onCancel:p,onItemClick:f,onChange:m,labels:g})=>{const b=tg("MobileSearch",g),[v,y]=te.useState(e??""),[w,x]=te.useState(!0),[C,k]=te.useState(!1),$=te.useRef(null),S="string"==typeof e,M=S?e:v;te.useEffect((()=>{S&&y(e)}),[S,e]),te.useEffect((()=>{h?.(M)}),[M,h]);const E=te.useMemo((()=>{const e=M.trim().toLowerCase();return e?r.filter((t=>`${t.id??""} ${t.label} ${t.caption??""}`.toLowerCase().includes(e))):r}),[r,M]),T=M.trim().length?b.matchingResultsTitle(E.length):b.recentSearchesTitle,O=M.length?ve(jb,{onClick:()=>{S||y("");const e=$.current?.querySelector("input");e&&(e.value="",e.focus()),x(!0)}}):null;let L=Ie("neutral",500);return o?L=Ie("neutral",500):C&&(L=Ie("primary",700)),be("div",{ref:$,css:yN,children:[be("div",{css:wN,children:[ve("div",{css:xN,children:ve(V,{startElement:ve(Bg,{width:"1.25rem",height:"1.25rem",fill:L,"aria-hidden":"true"}),endElement:O,children:ve(Nb,{label:"",value:M,placeholder:t??b.inputAriaLabel,onChange:e=>{S||y(e.target.value),x(!0),m?.(e)},onFocus:e=>{k(!0),x(!0),u?.(e)},onBlur:e=>{k(!1),d?.(e)},noMarginBottom:!0,type:"search","aria-label":t??b.inputAriaLabel,disabled:o,readOnly:i,id:s,name:a,autoFocus:l??!0,autoComplete:c,style:{paddingLeft:"2.5rem"}})})}),ve(ng,{css:CN,variant:"borderless",label:b.cancelLabel,onClick:()=>{S||y(""),x(!1);const e=$.current?.querySelector("input");e&&(e.value="",e.blur()),p?.()}})]}),w?be("div",{css:kN,children:[ve("h3",{css:$N,children:T}),n?ve("div",{css:SN,children:ve(vN,{label:b.infoLabel,variant:"info-white",size:"full-width"})}):null,ve("ul",{css:MN,"aria-label":T,children:E.map((e=>ve("li",{children:be(N.button,{type:"button",css:EN,onClick:()=>(e=>{f?.(e)})(e),"aria-label":`${e.label}, ${e.caption??""}`,style:{width:"100%"},children:[e.icon??null,be("div",{css:TN,children:[ve("p",{css:ON,children:e.label}),ve("p",{css:LN,children:e.caption})]})]})},e.id)))})]}):null]})},NN=e=>ke`
3449
+ `,NN=({value:e,placeholder:t,showInfoMessage:n=!0,items:r=[],disabled:o,readOnly:i,id:s,name:a,autoFocus:l,autoComplete:c,onBlur:d,onFocus:u,onQueryChange:h,onCancel:p,onItemClick:f,onChange:m,labels:g})=>{const b=tg("MobileSearch",g),[v,y]=te.useState(e??""),[w,x]=te.useState(!0),[C,k]=te.useState(!1),$=te.useRef(null),S="string"==typeof e,M=S?e:v;te.useEffect((()=>{S&&y(e)}),[S,e]),te.useEffect((()=>{h?.(M)}),[M,h]);const E=te.useMemo((()=>{const e=M.trim().toLowerCase();return e?r.filter((t=>`${t.id??""} ${t.label} ${t.caption??""}`.toLowerCase().includes(e))):r}),[r,M]),T=M.trim().length?b.matchingResultsTitle(E.length):b.recentSearchesTitle,O=M.length?ve(Fb,{onClick:()=>{S||y("");const e=$.current?.querySelector("input");e&&(e.value="",e.focus()),x(!0)}}):null;let L=Ie("neutral",500);return o?L=Ie("neutral",500):C&&(L=Ie("primary",700)),be("div",{ref:$,css:wN,children:[be("div",{css:xN,children:[ve("div",{css:CN,children:ve(V,{startElement:ve(Bg,{width:"1.25rem",height:"1.25rem",fill:L,"aria-hidden":"true"}),endElement:O,children:ve(Rb,{label:"",value:M,placeholder:t??b.inputAriaLabel,onChange:e=>{S||y(e.target.value),x(!0),m?.(e)},onFocus:e=>{k(!0),x(!0),u?.(e)},onBlur:e=>{k(!1),d?.(e)},noMarginBottom:!0,type:"search","aria-label":t??b.inputAriaLabel,disabled:o,readOnly:i,id:s,name:a,autoFocus:l??!0,autoComplete:c,style:{paddingLeft:"2.5rem"}})})}),ve(ng,{css:kN,variant:"borderless",label:b.cancelLabel,onClick:()=>{S||y(""),x(!1);const e=$.current?.querySelector("input");e&&(e.value="",e.blur()),p?.()}})]}),w?be("div",{css:$N,children:[ve("h3",{css:SN,children:T}),n?ve("div",{css:MN,children:ve(yN,{label:b.infoLabel,variant:"info-white",size:"full-width"})}):null,ve("ul",{css:EN,"aria-label":T,children:E.map((e=>ve("li",{children:be(N.button,{type:"button",css:TN,onClick:()=>(e=>{f?.(e)})(e),"aria-label":`${e.label}, ${e.caption??""}`,style:{width:"100%"},children:[e.icon??null,be("div",{css:ON,children:[ve("p",{css:LN,children:e.label}),ve("p",{css:AN,children:e.caption})]})]})},e.id)))})]}):null]})},RN=e=>ke`
3449
3450
  a,
3450
3451
  p {
3451
3452
  font-size: ${ze("small"===e?200:400)};
@@ -3477,19 +3478,19 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3477
3478
  a:hover {
3478
3479
  text-decoration: underline;
3479
3480
  }
3480
- `,RN=e=>ke`
3481
+ `,DN=e=>ke`
3481
3482
  svg {
3482
3483
  height: ${Ve("small"===e?200:300)};
3483
3484
  width: ${Ve("small"===e?200:300)};
3484
3485
  color: ${Ie("neutral",600)};
3485
3486
  }
3486
- `,DN=ke`
3487
+ `,PN=ke`
3487
3488
  cursor: pointer;
3488
3489
  color: ${Ie("neutral",600)};
3489
3490
  display: flex;
3490
3491
  justify-content: center;
3491
3492
  align-items: center;
3492
- `,PN=({links:e,separator:t,maxItems:n=99,linkRouter:r,size:o="default"})=>{const[i,s]=ae(e.length>n);ce((()=>{s(e.length>n)}),[e.length]);const a=r;return ve(H.Root,{children:ve(H.List,{gap:"small"===o?"0.375rem":"0.625rem",children:i?be(ye,{children:[ve(H.Item,{css:NN(o),children:be(a,{to:e[0].link,href:e[0].link,children:[e[0].icon,e[0].label]})}),ve(H.Separator,{css:RN(o),children:t||ve(dg,{rotate:"270"})}),ve("li",{className:"chakra-breadcrumb__item",children:ve("button",{css:DN,type:"button",onClick:()=>s(!1),children:"..."})}),ve(H.Separator,{css:RN(o),children:t||ve(dg,{rotate:"270"})}),ve(H.Item,{css:NN(o),children:be("p",{"aria-current":"page","aria-label":e[e.length-1].label,children:[e[e.length-1].icon,e[e.length-1].label]})})]}):e.map(((n,r)=>n?.label?be(ge,{children:[ve(H.Item,{css:NN(o),children:r<e.length-1?be(a,{to:n.link,href:n.link,children:[n.icon,n.label]}):be("p",{"aria-current":"page","aria-label":n.label,children:[n.label&&n.icon?n.icon:"",n.label]})}),r<e.length-1?ve(H.Separator,{css:RN(o),children:t||ve(dg,{rotate:"270"})}):null]},n.label):null))})})},IN=(e,t)=>ke`
3493
+ `,IN=({links:e,separator:t,maxItems:n=99,linkRouter:r,size:o="default"})=>{const[i,s]=ae(e.length>n);ce((()=>{s(e.length>n)}),[e.length]);const a=r;return ve(H.Root,{children:ve(H.List,{gap:"small"===o?"0.375rem":"0.625rem",children:i?be(ye,{children:[ve(H.Item,{css:RN(o),children:be(a,{to:e[0].link,href:e[0].link,children:[e[0].icon,e[0].label]})}),ve(H.Separator,{css:DN(o),children:t||ve(dg,{rotate:"270"})}),ve("li",{className:"chakra-breadcrumb__item",children:ve("button",{css:PN,type:"button",onClick:()=>s(!1),children:"..."})}),ve(H.Separator,{css:DN(o),children:t||ve(dg,{rotate:"270"})}),ve(H.Item,{css:RN(o),children:be("p",{"aria-current":"page","aria-label":e[e.length-1].label,children:[e[e.length-1].icon,e[e.length-1].label]})})]}):e.map(((n,r)=>n?.label?be(ge,{children:[ve(H.Item,{css:RN(o),children:r<e.length-1?be(a,{to:n.link,href:n.link,children:[n.icon,n.label]}):be("p",{"aria-current":"page","aria-label":n.label,children:[n.label&&n.icon?n.icon:"",n.label]})}),r<e.length-1?ve(H.Separator,{css:DN(o),children:t||ve(dg,{rotate:"270"})}):null]},n.label):null))})})},zN=(e,t)=>ke`
3493
3494
  min-height: ${Ve(1400)};
3494
3495
  width: 100vw;
3495
3496
  position: ${e?"sticky":"absolute"};
@@ -3499,7 +3500,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3499
3500
  border-top: ${_e(100)} solid
3500
3501
  ${Ie("neutral",400)};
3501
3502
  z-index: 101;
3502
- `,zN=e=>ke`
3503
+ `,VN=e=>ke`
3503
3504
  height: 100%;
3504
3505
  width: 100%;
3505
3506
  max-width: ${null!=e?Me(e):"100%"};
@@ -3514,7 +3515,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3514
3515
  flex-direction: column;
3515
3516
  align-items: flex-start;
3516
3517
  }
3517
- `,VN=ke`
3518
+ `,HN=ke`
3518
3519
  display: flex;
3519
3520
  align-items: center;
3520
3521
  flex-wrap: wrap;
@@ -3527,7 +3528,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3527
3528
  color: ${Ie("neutral",700)};
3528
3529
  text-decoration: underline;
3529
3530
  }
3530
- `,HN=ke`
3531
+ `,BN=ke`
3531
3532
  width: 15rem;
3532
3533
  font-size: ${ze(300)};
3533
3534
  line-height: ${He(500)};
@@ -3538,17 +3539,17 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3538
3539
  @media screen and (max-width: 48rem) {
3539
3540
  text-align: left;
3540
3541
  }
3541
- `,BN=ke`
3542
+ `,_N=ke`
3542
3543
  display: flex;
3543
3544
  align-items: center;
3544
3545
  gap: ${Ve(400)};
3545
- `,_N=({children:e,label:t="© World Resources Institute",fixed:n,filled:r,maxWidth:o,additionalLogos:i})=>{const s=(new Date).getFullYear();return ve("footer",{css:IN(n,r),children:be("div",{css:zN(o),children:[be("div",{css:BN,children:[ve(wg,{height:"2rem",width:"5.6875rem"}),i&&i.map(((e,t)=>ve("div",{children:e},t)))]}),ve("div",{css:VN,children:e}),ve("div",{children:be("p",{css:HN,children:[t," ",s]})})]})})},jN=ke`
3546
+ `,jN=({children:e,label:t="© World Resources Institute",fixed:n,filled:r,maxWidth:o,additionalLogos:i})=>{const s=(new Date).getFullYear();return ve("footer",{css:zN(n,r),children:be("div",{css:VN(o),children:[be("div",{css:_N,children:[ve(wg,{height:"2rem",width:"5.6875rem"}),i&&i.map(((e,t)=>ve("div",{children:e},t)))]}),ve("div",{css:HN,children:e}),ve("div",{children:be("p",{css:BN,children:[t," ",s]})})]})})},FN=ke`
3546
3547
  width: 100%;
3547
3548
  display: flex;
3548
3549
  align-items: center;
3549
3550
  height: ${Ve(1400)};
3550
3551
  background-color: ${Ie("neutral",200)};
3551
- `,FN=ke`
3552
+ `,qN=ke`
3552
3553
  height: ${Ve(1400)};
3553
3554
  width: 99%;
3554
3555
  background-color: ${Ie("neutral",200)};
@@ -3644,9 +3645,9 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3644
3645
  opacity: 1;
3645
3646
  }
3646
3647
  }
3647
- `,qN=ke`
3648
- position: relative;
3649
3648
  `,WN=ke`
3649
+ position: relative;
3650
+ `,UN=ke`
3650
3651
  position: absolute;
3651
3652
  top: -0.3125rem;
3652
3653
  right: -0.3125rem;
@@ -3661,7 +3662,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3661
3662
  display: flex;
3662
3663
  justify-content: center;
3663
3664
  align-items: center;
3664
- `,UN=(e,t)=>Math.max(0,e.findIndex((e=>e.value===t))),KN=({defaultValue:e,tabs:t,onTabClick:n,hideLabels:r,activationMode:o="manual",labels:i})=>{const s=tg("MobileTabBar",i),a=t.length,[l,c]=ae((()=>UN(t,e)));return ve("div",{css:jN,children:ve(B.Root,{width:"full",defaultValue:e||t?.[0]?.value,onValueChange:({value:e})=>(e=>{const r=UN(t,e);c(r),n&&n(e)})(e),activationMode:o,children:ve(B.List,{alignItems:"center",border:"none",children:t.map(((e,t)=>{const{label:n,icon:o,bagdeCount:i,"aria-label":c,"aria-describedby":d,disabled:u,...h}=e,p=`${e.value}-str-status`,f=l===t,m=[s.tabPositionStatus(t+1,a),f?s.selectedStatus:s.notSelectedStatus];u&&m.push(s.disabledStatus);const g=[d,p].filter(Boolean).join(" ")||void 0;return be(B.Trigger,{css:FN,"aria-label":c||n,"aria-disabled":!!u||void 0,"aria-describedby":g,disabled:u,...h,children:[be("div",{css:qN,children:[o,i?ve("div",{css:WN,className:"ds-badge-count",children:i}):null]}),r?null:ve("p",{children:n}),ve(_,{id:p,children:m.join(", ")})]},e.value)}))})})})},GN=(e,t,n,r,o)=>{let i="3rem";return e?i="6rem":o&&(i="1.75rem"),ke`
3665
+ `,KN=(e,t)=>Math.max(0,e.findIndex((e=>e.value===t))),GN=({defaultValue:e,tabs:t,onTabClick:n,hideLabels:r,activationMode:o="manual",labels:i})=>{const s=tg("MobileTabBar",i),a=t.length,[l,c]=ae((()=>KN(t,e)));return ve("div",{css:FN,children:ve(B.Root,{width:"full",defaultValue:e||t?.[0]?.value,onValueChange:({value:e})=>(e=>{const r=KN(t,e);c(r),n&&n(e)})(e),activationMode:o,children:ve(B.List,{alignItems:"center",border:"none",children:t.map(((e,t)=>{const{label:n,icon:o,bagdeCount:i,"aria-label":c,"aria-describedby":d,disabled:u,...h}=e,p=`${e.value}-str-status`,f=l===t,m=[s.tabPositionStatus(t+1,a),f?s.selectedStatus:s.notSelectedStatus];u&&m.push(s.disabledStatus);const g=[d,p].filter(Boolean).join(" ")||void 0;return be(B.Trigger,{css:qN,"aria-label":c||n,"aria-disabled":!!u||void 0,"aria-describedby":g,disabled:u,...h,children:[be("div",{css:WN,children:[o,i?ve("div",{css:UN,className:"ds-badge-count",children:i}):null]}),r?null:ve("p",{children:n}),ve(_,{id:p,children:m.join(", ")})]},e.value)}))})})})},ZN=(e,t,n,r,o)=>{let i="3rem";return e?i="6rem":o&&(i="1.75rem"),ke`
3665
3666
  max-height: ${i};
3666
3667
  width: 100%;
3667
3668
  background-color: ${n??Ie("neutral","dark"===r?800:100)};
@@ -3671,7 +3672,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3671
3672
  z-index: 102;
3672
3673
  border-bottom: ${_e(100)} solid
3673
3674
  ${Ie("neutral",400)};
3674
- `},ZN=(e,t)=>ke`
3675
+ `},JN=(e,t)=>ke`
3675
3676
  height: ${Ve(t?700:1200)};
3676
3677
  width: 100%;
3677
3678
  background-color: ${Ie("neutral","dark"===e?800:100)};
@@ -3682,7 +3683,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3682
3683
  justify-content: flex-start;
3683
3684
  gap: 0;
3684
3685
  padding: ${t?0:`${Ve(200)} ${Ve(400)}`};
3685
- `,JN=(e,t,n)=>ke`
3686
+ `,XN=(e,t,n)=>ke`
3686
3687
  height: ${Ve(n?700:1200)};
3687
3688
  width: 100%;
3688
3689
  max-width: ${t?Me(t):"100%"};
@@ -3693,13 +3694,13 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3693
3694
  justify-content: space-between;
3694
3695
  margin: 0 auto;
3695
3696
  padding: ${n?0:`${Ve(200)} ${Ve(400)}`};
3696
- `,XN=(e,t)=>ke`
3697
+ `,YN=(e,t)=>ke`
3697
3698
  display: flex;
3698
3699
  margin: ${t?"-0.0625rem":"0rem"};
3699
3700
  justify-content: flex-start;
3700
3701
  gap: ${Ve(300)};
3701
3702
  color: ${Ie("neutral",e?100:900)};
3702
- `,YN=ke`
3703
+ `,QN=ke`
3703
3704
  outline: none;
3704
3705
 
3705
3706
  a {
@@ -3711,12 +3712,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3711
3712
  outline-width: ${Ve(50)};
3712
3713
  }
3713
3714
  }
3714
- `,QN=e=>ke`
3715
+ `,eR=e=>ke`
3715
3716
  display: ${e?"none":"flex"};
3716
3717
  align-items: center;
3717
3718
  justify-content: flex-start;
3718
3719
  gap: 0rem;
3719
- `,eR=(e,t,n)=>ke`
3720
+ `,tR=(e,t,n)=>ke`
3720
3721
  font-size: ${ze(n?300:400)};
3721
3722
  line-height: ${He(600)};
3722
3723
  font-weight: 400;
@@ -3741,12 +3742,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3741
3742
  font-weight: 700;
3742
3743
  color: ${Ie("accessible","controls-on-neutral-lights")};
3743
3744
  `:""}
3744
- `,tR=e=>ke`
3745
+ `,nR=e=>ke`
3745
3746
  height: ${Ve(e?700:1200)};
3746
3747
  display: flex;
3747
3748
  align-items: center;
3748
3749
  justify-content: flex-end;
3749
- `,nR=e=>ke`
3750
+ `,rR=e=>ke`
3750
3751
  height: 100%;
3751
3752
  font-size: ${ze(400)};
3752
3753
  line-height: ${He(600)};
@@ -3766,7 +3767,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3766
3767
  }
3767
3768
  }
3768
3769
  `:""}
3769
- `,rR=e=>ke`
3770
+ `,oR=e=>ke`
3770
3771
  height: 100%;
3771
3772
  display: flex;
3772
3773
  align-items: center;
@@ -3775,7 +3776,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3775
3776
  padding-left: ${Ve(400)};
3776
3777
  border-left: ${_e(100)} solid
3777
3778
  ${Ie("neutral",e?700:300)};
3778
- `,oR=(e="light",t)=>ke`
3779
+ `,iR=(e="light",t)=>ke`
3779
3780
  background-color: none;
3780
3781
  border: none;
3781
3782
  cursor: pointer;
@@ -3801,7 +3802,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3801
3802
  outline-width: ${_e(200)};
3802
3803
  background-color: ${Ie("neutral",200)};
3803
3804
  }
3804
- `,iR=(e,t)=>ke`
3805
+ `,sR=(e,t)=>ke`
3805
3806
  position: absolute;
3806
3807
  top: ${Ve(t?700:1200)};
3807
3808
  right: 0;
@@ -3816,10 +3817,10 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3816
3817
  justify-content: flex-start;
3817
3818
  gap: ${Ve(400)};
3818
3819
  transition: width 0.5s ease-in-out;
3819
- `,sR=ke`
3820
+ `,aR=ke`
3820
3821
  height: 100%;
3821
3822
  width: 100%;
3822
- `,aR=e=>ke`
3823
+ `,lR=e=>ke`
3823
3824
  background-color: ${Ie("neutral","dark"===e?800:200)};
3824
3825
  border-bottom: ${_e(100)} solid
3825
3826
  ${Ie("neutral",300)};
@@ -3840,13 +3841,13 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3840
3841
  margin-left: -${Ve(300)};
3841
3842
  }
3842
3843
  }
3843
- `,lR=ke`
3844
- background-color: ${Ie("neutral",100)};
3845
3844
  `,cR=ke`
3845
+ background-color: ${Ie("neutral",100)};
3846
+ `,dR=ke`
3846
3847
  min-height: 100vh;
3847
3848
  width: 100%;
3848
3849
  overflow-y: scroll;
3849
- `;ke``;const dR=e=>ke`
3850
+ `;ke``;const uR=e=>ke`
3850
3851
  display: inline-block;
3851
3852
  width: 100%;
3852
3853
  padding: ${Ve(300)} ${Ve(400)};
@@ -3875,7 +3876,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3875
3876
  outline-width: ${_e(200)};
3876
3877
  background-color: ${Ie("neutral",200)};
3877
3878
  }
3878
- `,uR=ke`
3879
+ `,hR=ke`
3879
3880
  width: 100%;
3880
3881
  padding: ${Ve(300)} ${Ve(400)};
3881
3882
  display: flex;
@@ -3899,7 +3900,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3899
3900
  outline-width: ${_e(200)};
3900
3901
  background-color: ${Ie("neutral",200)};
3901
3902
  }
3902
- `,hR=e=>ke`
3903
+ `,pR=e=>ke`
3903
3904
  position: absolute;
3904
3905
  top: 0rem;
3905
3906
  right: 0;
@@ -3911,7 +3912,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3911
3912
  align-items: flex-start;
3912
3913
  justify-content: flex-start;
3913
3914
  transition: width 0.5s ease-in-out;
3914
- `,pR=ke`
3915
+ `,fR=ke`
3915
3916
  height: ${Ve(1200)};
3916
3917
  width: 100%;
3917
3918
  display: flex;
@@ -3923,7 +3924,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3923
3924
  position: relative;
3924
3925
  top: 0;
3925
3926
  left: 0;
3926
- `,fR=ke`
3927
+ `,mR=ke`
3927
3928
  position: absolute;
3928
3929
  bottom: 0;
3929
3930
  left: 0;
@@ -3938,7 +3939,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3938
3939
  button {
3939
3940
  width: calc(48% - 1.5rem);
3940
3941
  }
3941
- `,mR=({theme:e="light",variant:t,navigationSection:n,utilitySection:r,actionsSection:o,linkRouter:i,isOpen:s,setIsOpen:a,pathname:l,resolvedLabels:c})=>{const d="condensed"===t,[u,h]=ae(void 0),[p,f]=ae(-1),m=se(null),g=se([]),b=i;return be(ye,{children:[ve("div",{css:iR(s,d),children:s&&be("div",{css:sR,children:[be("div",{style:{overflowY:"scroll",width:"100%",height:"100%",paddingBottom:"4.5rem"},children:[r?ve("div",{css:aR(e),children:r?.map((e=>ve("div",{className:"ds-utility-item",children:e})))}):null,n?ve("div",{css:lR,children:n.map(((e,t)=>e.link?ve(b,{to:e.link,href:e.link,onClick:()=>{h(void 0),f(-1),a(!1)},css:dR(l===e.link),children:e.label},e.label):be("button",{css:uR,type:"button",ref:e=>{g.current[t]=e},onClick:()=>{e.items&&(h(e),f(t),setTimeout((()=>{m.current?.focus()}),100))},children:[e.label,e.items?ve(dg,{rotate:"270",color:"var(--chakra-colors-neutral-700)"}):null]},e.label)))}):null]}),o?ve("div",{css:fR,children:o.map((e=>ve(ng,{...e,onClick:t=>{e?.onClick?.(t),h(void 0),f(-1),a(!1)}},e.ariaLabel)))}):null]})}),ve("div",{css:hR(!!u?.items),children:u?.items?be(ye,{children:[be("div",{css:pR,children:[be("button",{type:"button",onClick:()=>{h(void 0),f(-1),g.current[p]?.focus()},"aria-label":c.goBackLabel,css:oR(e),ref:m,children:[ve(dg,{rotate:"90",color:"var(--chakra-colors-neutral-700)"}),u?.label]}),be("button",{type:"button",onClick:()=>{h(void 0),f(-1),a(!1)},"aria-label":c.closeMenuLabel,css:oR(e),children:[c.closeButtonText,ve(pg,{height:"1rem",width:"1rem"})]})]}),ve("div",{css:cR,children:u?.items?.map((e=>ve(b,{to:e.link,href:e.link,css:dR(),onClick:()=>{h(void 0),f(-1),a(!1)},children:e.label},e.label)))})]}):null})]})},gR=1023,bR=({variant:e="default",theme:t="light",logo:n,linkRouter:r,pathname:o,navigationSection:i,utilitySection:s,actionsSection:a,maxWidth:l,fixed:c,onNavbarHeightChange:d,backgroundColor:u,labels:h})=>{const p=tg("Navbar",h),f=se(null),m=se(null),g=se(null),[b,v]=ae(!1),[y,w]=ae(-1),[x,C]=ae("undefined"!=typeof window&&window?.innerWidth<=gR),[k,$]=ae(!1),S=r,M=ue((()=>{if(m.current&&f.current&&g.current){const e=f.current.getBoundingClientRect(),t=m.current.getBoundingClientRect(),n=g.current.getBoundingClientRect();t.width,e.width,window.innerWidth<=gR||window.innerWidth<=y?(d?.(96),v(!0)):window.innerWidth>gR&&window.innerWidth<=1440?e.right>=t.left?(d?.(96),v(!0),w(window.innerWidth)):window.innerWidth>y&&(d?.(48),v(!1),w(-1)):(d?.(48),v(!1),w(-1)),b&&(window.innerWidth<=gR||n.right>=t.left?(C(!0),d?.(48)):(C(!1),d?.(96)))}}),[y,b]);ce((()=>(M(),window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M)})),[M]);const E="condensed"===e;return be("nav",{css:GN(b&&!x,c,u,t,E),children:[be("div",{css:JN(b&&!x,l,E),children:[be("div",{css:XN(b&&!x||"dark"===t,E),ref:f,children:[n?ve("div",{ref:g,css:YN,children:n}):null,ve("div",{css:QN(b),children:i?.map((e=>e.link?ve(S,{to:e.link,href:e.link,css:eR(o===e.link,t,E),children:e.label},e.label):ve(nb,{theme:t,label:e.label,fontSize:E?"0.875rem":"1rem",items:e.items||[]},e.label)))})]}),ve("div",{css:tR(E),ref:m,children:x?be("button",{type:"button",onClick:()=>$(!k),"aria-label":k?p.closeMenuLabel:p.openMenuLabel,"aria-expanded":k,css:oR(t),children:[k?p.closeLabel:p.menuLabel,ve(k?pg:zg,{height:E?"0.75rem":"1rem",width:E?"0.75rem":"1rem"})]}):be(ye,{children:[ve("div",{css:tR(E),children:s?.map(((e,t)=>ve("div",{css:nR(b),children:e},t)))}),a?.length?ve("div",{css:rR(b),children:a.map((e=>ve(ng,{...e},e.ariaLabel)))}):null]})})]}),b&&!x?ve("div",{css:ZN(t,E),children:i?.map((e=>e.link?ve(S,{to:e.link,href:e.link,css:eR(o===e.link,t,E),children:e.label},e.label):ve(nb,{theme:t,label:e.label,fontSize:E?"0.875rem":"1rem",items:e.items||[]},e.label)))}):null,x?ve(mR,{theme:t,variant:e,navigationSection:i,utilitySection:s,actionsSection:a,linkRouter:r,isOpen:k,setIsOpen:$,pathname:o,resolvedLabels:p}):null]})},vR=ke`
3942
+ `,gR=({theme:e="light",variant:t,navigationSection:n,utilitySection:r,actionsSection:o,linkRouter:i,isOpen:s,setIsOpen:a,pathname:l,resolvedLabels:c})=>{const d="condensed"===t,[u,h]=ae(void 0),[p,f]=ae(-1),m=se(null),g=se([]),b=i;return be(ye,{children:[ve("div",{css:sR(s,d),children:s&&be("div",{css:aR,children:[be("div",{style:{overflowY:"scroll",width:"100%",height:"100%",paddingBottom:"4.5rem"},children:[r?ve("div",{css:lR(e),children:r?.map((e=>ve("div",{className:"ds-utility-item",children:e})))}):null,n?ve("div",{css:cR,children:n.map(((e,t)=>e.link?ve(b,{to:e.link,href:e.link,onClick:()=>{h(void 0),f(-1),a(!1)},css:uR(l===e.link),children:e.label},e.label):be("button",{css:hR,type:"button",ref:e=>{g.current[t]=e},onClick:()=>{e.items&&(h(e),f(t),setTimeout((()=>{m.current?.focus()}),100))},children:[e.label,e.items?ve(dg,{rotate:"270",color:"var(--chakra-colors-neutral-700)"}):null]},e.label)))}):null]}),o?ve("div",{css:mR,children:o.map((e=>ve(ng,{...e,onClick:t=>{e?.onClick?.(t),h(void 0),f(-1),a(!1)}},e.ariaLabel)))}):null]})}),ve("div",{css:pR(!!u?.items),children:u?.items?be(ye,{children:[be("div",{css:fR,children:[be("button",{type:"button",onClick:()=>{h(void 0),f(-1),g.current[p]?.focus()},"aria-label":c.goBackLabel,css:iR(e),ref:m,children:[ve(dg,{rotate:"90",color:"var(--chakra-colors-neutral-700)"}),u?.label]}),be("button",{type:"button",onClick:()=>{h(void 0),f(-1),a(!1)},"aria-label":c.closeMenuLabel,css:iR(e),children:[c.closeButtonText,ve(pg,{height:"1rem",width:"1rem"})]})]}),ve("div",{css:dR,children:u?.items?.map((e=>ve(b,{to:e.link,href:e.link,css:uR(),onClick:()=>{h(void 0),f(-1),a(!1)},children:e.label},e.label)))})]}):null})]})},bR=1023,vR=({variant:e="default",theme:t="light",logo:n,linkRouter:r,pathname:o,navigationSection:i,utilitySection:s,actionsSection:a,maxWidth:l,fixed:c,onNavbarHeightChange:d,backgroundColor:u,labels:h})=>{const p=tg("Navbar",h),f=se(null),m=se(null),g=se(null),[b,v]=ae(!1),[y,w]=ae(-1),[x,C]=ae("undefined"!=typeof window&&window?.innerWidth<=bR),[k,$]=ae(!1),S=r,M=ue((()=>{if(m.current&&f.current&&g.current){const e=f.current.getBoundingClientRect(),t=m.current.getBoundingClientRect(),n=g.current.getBoundingClientRect();t.width,e.width,window.innerWidth<=bR||window.innerWidth<=y?(d?.(96),v(!0)):window.innerWidth>bR&&window.innerWidth<=1440?e.right>=t.left?(d?.(96),v(!0),w(window.innerWidth)):window.innerWidth>y&&(d?.(48),v(!1),w(-1)):(d?.(48),v(!1),w(-1)),b&&(window.innerWidth<=bR||n.right>=t.left?(C(!0),d?.(48)):(C(!1),d?.(96)))}}),[y,b]);ce((()=>(M(),window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M)})),[M]);const E="condensed"===e;return be("nav",{css:ZN(b&&!x,c,u,t,E),children:[be("div",{css:XN(b&&!x,l,E),children:[be("div",{css:YN(b&&!x||"dark"===t,E),ref:f,children:[n?ve("div",{ref:g,css:QN,children:n}):null,ve("div",{css:eR(b),children:i?.map((e=>e.link?ve(S,{to:e.link,href:e.link,css:tR(o===e.link,t,E),children:e.label},e.label):ve(rb,{theme:t,label:e.label,fontSize:E?"0.875rem":"1rem",items:e.items||[]},e.label)))})]}),ve("div",{css:nR(E),ref:m,children:x?be("button",{type:"button",onClick:()=>$(!k),"aria-label":k?p.closeMenuLabel:p.openMenuLabel,"aria-expanded":k,css:iR(t),children:[k?p.closeLabel:p.menuLabel,ve(k?pg:zg,{height:E?"0.75rem":"1rem",width:E?"0.75rem":"1rem"})]}):be(ye,{children:[ve("div",{css:nR(E),children:s?.map(((e,t)=>ve("div",{css:rR(b),children:e},t)))}),a?.length?ve("div",{css:oR(b),children:a.map((e=>ve(ng,{...e},e.ariaLabel)))}):null]})})]}),b&&!x?ve("div",{css:JN(t,E),children:i?.map((e=>e.link?ve(S,{to:e.link,href:e.link,css:tR(o===e.link,t,E),children:e.label},e.label):ve(rb,{theme:t,label:e.label,fontSize:E?"0.875rem":"1rem",items:e.items||[]},e.label)))}):null,x?ve(gR,{theme:t,variant:e,navigationSection:i,utilitySection:s,actionsSection:a,linkRouter:r,isOpen:k,setIsOpen:$,pathname:o,resolvedLabels:p}):null]})},yR=ke`
3942
3943
  width: ${Ve(1600)};
3943
3944
  height: 100%;
3944
3945
  z-index: 100;
@@ -3948,7 +3949,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3948
3949
  display: flex;
3949
3950
  flex-direction: column;
3950
3951
  justify-content: space-between;
3951
- `,yR=ke`
3952
+ `,wR=ke`
3952
3953
  width: ${Ve(1600)};
3953
3954
  height: ${Ve(1600)};
3954
3955
  background-color: ${Ie("neutral",200)};
@@ -4039,7 +4040,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4039
4040
  }
4040
4041
  }
4041
4042
  }
4042
- `,wR=ke`
4043
+ `,xR=ke`
4043
4044
  display: flex;
4044
4045
  justify-content: center;
4045
4046
  align-items: center;
@@ -4052,7 +4053,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4052
4053
  fill: ${Ie("neutral",600)};
4053
4054
  }
4054
4055
  }
4055
- `,xR=ke`
4056
+ `,CR=ke`
4056
4057
  width: ${Ve(1600)};
4057
4058
  height: ${Ve(1600)};
4058
4059
  background-color: ${Ie("neutral",200)};
@@ -4090,7 +4091,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4090
4091
  text-align: center;
4091
4092
  color: ${Ie("neutral",600)};
4092
4093
  }
4093
- `,CR=ke`
4094
+ `,kR=ke`
4094
4095
  width: 20rem;
4095
4096
  height: 100%;
4096
4097
  z-index: 100;
@@ -4100,7 +4101,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4100
4101
  overflow-x: hidden;
4101
4102
  border-right: ${_e(100)} solid
4102
4103
  ${Ie("neutral",300)};
4103
- `,kR=({tabs:e=[],defaultValue:t,onTabClick:n,children:o,onOpenChange:i,labels:s})=>{const a=tg("NavigationRail",s),[l,c]=ae(!1),[d,u]=ae(t||e?.[0]?.value),h=e=>{u(e),n&&n(e)},[p]=j(["(max-width: 48rem)"]);return p?be(B.Root,{defaultValue:d,onValueChange:({value:e})=>h(e),children:[ve(B.List,{style:{display:"flex",overflowX:"auto",whiteSpace:"nowrap",padding:"0.5rem",gap:"0.5rem"},children:e.map((e=>ve(B.Trigger,{value:e.value,css:{"--indicator-color":Ie("primary",500),flexShrink:0,padding:"0.625rem 1rem",color:Ie("neutral",600),"&[data-selected]":{color:Ie("neutral",800),fontWeight:600}},children:e.label},e.value)))}),e.map((e=>ve(B.Content,{value:e.value,children:o},e.value)))]}):be("div",{style:{height:"calc(100vh - 3rem - 3.5rem)",position:"fixed",top:"3rem",left:0,display:"flex"},children:[be("div",{css:vR,children:[ve(B.Root,{defaultValue:t||e?.[0]?.value,orientation:"horizontal",width:"full",onValueChange:({value:e})=>{h(e)},children:ve(B.List,{alignItems:"center",border:"none",style:{flexDirection:"column"},children:e.map((e=>ve(B.Trigger,{css:yR,"aria-label":e["aria-label"]||e.label,...e,children:be(r,{display:"flex",alignItems:"center",flexDirection:"column",gap:"0.3125rem",className:"ds-tab-label",children:[e.icon?ve("div",{css:wR,children:e.icon}):null,ve("p",{children:e.label})]})},e.label)))})}),o?ve(F.Root,{onOpenChange:({open:e})=>{c(e),i&&i(!e)},children:be(F.Trigger,{css:xR,children:[ve("div",{css:wR,children:ve(l?sg:ig,{})}),be("div",{className:"ds-tab-label",children:[ve("p",{children:l?a.showLabel:a.hideLabel}),ve("p",{children:a.sidebarLabel})]})]})}):null]}),o?ve(F.Root,{defaultOpen:!0,open:!l,children:ve(F.Content,{height:"100%",children:ve("div",{css:CR,role:"tabpanel","aria-labelledby":d,children:o})})}):null]})},$R=e=>ke`
4104
+ `,$R=({tabs:e=[],defaultValue:t,onTabClick:n,children:o,onOpenChange:i,labels:s})=>{const a=tg("NavigationRail",s),[l,c]=ae(!1),[d,u]=ae(t||e?.[0]?.value),h=e=>{u(e),n&&n(e)},[p]=j(["(max-width: 48rem)"]);return p?be(B.Root,{defaultValue:d,onValueChange:({value:e})=>h(e),children:[ve(B.List,{style:{display:"flex",overflowX:"auto",whiteSpace:"nowrap",padding:"0.5rem",gap:"0.5rem"},children:e.map((e=>ve(B.Trigger,{value:e.value,css:{"--indicator-color":Ie("primary",500),flexShrink:0,padding:"0.625rem 1rem",color:Ie("neutral",600),"&[data-selected]":{color:Ie("neutral",800),fontWeight:600}},children:e.label},e.value)))}),e.map((e=>ve(B.Content,{value:e.value,children:o},e.value)))]}):be("div",{style:{height:"calc(100vh - 3rem - 3.5rem)",position:"fixed",top:"3rem",left:0,display:"flex"},children:[be("div",{css:yR,children:[ve(B.Root,{defaultValue:t||e?.[0]?.value,orientation:"horizontal",width:"full",onValueChange:({value:e})=>{h(e)},children:ve(B.List,{alignItems:"center",border:"none",style:{flexDirection:"column"},children:e.map((e=>ve(B.Trigger,{css:wR,"aria-label":e["aria-label"]||e.label,...e,children:be(r,{display:"flex",alignItems:"center",flexDirection:"column",gap:"0.3125rem",className:"ds-tab-label",children:[e.icon?ve("div",{css:xR,children:e.icon}):null,ve("p",{children:e.label})]})},e.label)))})}),o?ve(F.Root,{onOpenChange:({open:e})=>{c(e),i&&i(!e)},children:be(F.Trigger,{css:CR,children:[ve("div",{css:xR,children:ve(l?sg:ig,{})}),be("div",{className:"ds-tab-label",children:[ve("p",{children:l?a.showLabel:a.hideLabel}),ve("p",{children:a.sidebarLabel})]})]})}):null]}),o?ve(F.Root,{defaultOpen:!0,open:!l,children:ve(F.Content,{height:"100%",children:ve("div",{css:kR,role:"tabpanel","aria-labelledby":d,children:o})})}):null]})},SR=e=>ke`
4104
4105
  width: 100%;
4105
4106
  display: flex;
4106
4107
  align-items: center;
@@ -4109,7 +4110,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4109
4110
  ${"view"===e&&`\n border: ${_e(100)} solid ${Ie("neutral",400)};\n background-color: ${Ie("neutral",200)};\n border-radius: ${Be(300)};\n padding: ${Ve(100)};\n `}
4110
4111
 
4111
4112
  ${"transparent"===e&&`\n border: none;\n background-color: transparent;\n border-radius: ${Be(300)};\n padding: 0 ${Ve(400)};\n\n .chakra-tabs__list {\n gap: ${Ve(800)};\n }\n `}
4112
- `,SR=ke`
4113
+ `,MR=ke`
4113
4114
  width: 99%;
4114
4115
  height: ${Ve(1e3)};
4115
4116
  padding: ${Ve(200)} ${Ve(400)};
@@ -4125,7 +4126,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4125
4126
  &:focus-visible {
4126
4127
  box-shadow: none;
4127
4128
  }
4128
- `,MR=ke`
4129
+ `,ER=ke`
4129
4130
  background-color: ${Ie("neutral",200)};
4130
4131
  color: ${Ie("neutral",700)};
4131
4132
 
@@ -4182,11 +4183,11 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4182
4183
  opacity: 1;
4183
4184
  }
4184
4185
  }
4185
- `,ER=ke`
4186
+ `,TR=ke`
4186
4187
  width: ${Ve(100)};
4187
4188
  height: ${Ve(600)};
4188
4189
  background-color: ${Ie("neutral",400)};
4189
- `,TR=ke`
4190
+ `,OR=ke`
4190
4191
  height: ${Ve(800)};
4191
4192
  border-radius: ${Be(200)};
4192
4193
  background-color: ${Ie("neutral",200)};
@@ -4261,7 +4262,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4261
4262
  opacity: 1;
4262
4263
  }
4263
4264
  }
4264
- `,OR=ke`
4265
+ `,LR=ke`
4265
4266
  background-color: transparent;
4266
4267
  color: ${Ie("neutral",600)};
4267
4268
  width: auto;
@@ -4338,7 +4339,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4338
4339
  }
4339
4340
  }
4340
4341
  }
4341
- `,LR=(e,t)=>Math.max(0,e.findIndex((e=>e.value===t))),AR=e=>1===e?"none":2===e?"left":"right",NR=({variant:e="panel",defaultValue:t,tabs:n,onTabClick:o,activationMode:i="manual"})=>{const[s,a]=ae(LR(n,t)||0);return ve("div",{css:$R(e),children:ve(B.Root,{width:"full",defaultValue:t||n?.[0]?.value,onValueChange:({value:e})=>{return a(LR(n,t=e)),void(o&&o(t));var t},activationMode:i,children:ve(B.List,{alignItems:"center",border:"none",children:n.map(((t,o)=>be(ge,{children:["view"===e&&1===o&&"left"===AR(s)?ve("div",{css:ER}):null,ve(B.Trigger,{css:[SR,"view"===e&&TR,"panel"===e&&MR,"transparent"===e&&OR],"aria-label":t["aria-label"]||t.label,...t,children:be(r,{display:"flex",alignItems:"center",gap:"0.3125rem",children:[t.icon,t.label]})},t.label),"view"===e&&1===o&&o<n.length-1&&"right"===AR(s)?ve("div",{css:ER}):null]},t.label)))})})})},RR=Ie("neutral",700),DR=ke`
4342
+ `,AR=(e,t)=>Math.max(0,e.findIndex((e=>e.value===t))),NR=e=>1===e?"none":2===e?"left":"right",RR=({variant:e="panel",defaultValue:t,tabs:n,onTabClick:o,activationMode:i="manual"})=>{const[s,a]=ae(AR(n,t)||0);return ve("div",{css:SR(e),children:ve(B.Root,{width:"full",defaultValue:t||n?.[0]?.value,onValueChange:({value:e})=>{return a(AR(n,t=e)),void(o&&o(t));var t},activationMode:i,children:ve(B.List,{alignItems:"center",border:"none",children:n.map(((t,o)=>be(ge,{children:["view"===e&&1===o&&"left"===NR(s)?ve("div",{css:TR}):null,ve(B.Trigger,{css:[MR,"view"===e&&OR,"panel"===e&&ER,"transparent"===e&&LR],"aria-label":t["aria-label"]||t.label,...t,children:be(r,{display:"flex",alignItems:"center",gap:"0.3125rem",children:[t.icon,t.label]})},t.label),"view"===e&&1===o&&o<n.length-1&&"right"===NR(s)?ve("div",{css:TR}):null]},t.label)))})})})},DR=Ie("neutral",700),PR=ke`
4342
4343
  position: relative;
4343
4344
  width: 100%;
4344
4345
 
@@ -4351,12 +4352,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4351
4352
  &[data-open='true'][data-placement='top'] input {
4352
4353
  border-bottom-left-radius: ${Be(300)};
4353
4354
  border-bottom-right-radius: ${Be(300)};
4354
- border-bottom-color: ${RR};
4355
+ border-bottom-color: ${DR};
4355
4356
  border-top-left-radius: 0;
4356
4357
  border-top-right-radius: 0;
4357
4358
  border-top-color: transparent;
4358
4359
  }
4359
- `,PR=ke`
4360
+ `,IR=ke`
4360
4361
  width: 100%;
4361
4362
  z-index: 1000;
4362
4363
  overflow-y: auto;
@@ -4370,7 +4371,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4370
4371
  margin-top: calc(${_e(100)} * -1);
4371
4372
  border-top-left-radius: 0;
4372
4373
  border-top-right-radius: 0;
4373
- border-top: ${_e(100)} solid ${RR};
4374
+ border-top: ${_e(100)} solid ${DR};
4374
4375
 
4375
4376
  &[data-placement^='top'] {
4376
4377
  margin-top: 0;
@@ -4381,12 +4382,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4381
4382
  ${Ie("neutral",400)};
4382
4383
  border-bottom-left-radius: 0;
4383
4384
  border-bottom-right-radius: 0;
4384
- border-bottom: ${_e(100)} solid ${RR};
4385
+ border-bottom: ${_e(100)} solid ${DR};
4385
4386
  box-shadow:
4386
4387
  0 -0.25rem 0.375rem -0.25rem #0000001a,
4387
4388
  0 -0.625rem 0.9375rem -0.1875rem #0000001a;
4388
4389
  }
4389
- `,IR=ke`
4390
+ `,zR=ke`
4390
4391
  padding: ${Ve(200)};
4391
4392
  border-radius: ${Be(300)};
4392
4393
  cursor: pointer;
@@ -4407,7 +4408,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4407
4408
  &:active {
4408
4409
  background-color: ${Hm(40)};
4409
4410
  }
4410
- `,zR=({text:e,query:t})=>{if(!t)return e;const n=new RegExp(`(${t})`,"ig"),r=e.split(n);return ve(ye,{children:r.map((e=>n.test(e)?ve("strong",{children:e},e):ve("span",{children:e},e)))})},VR=({items:e,query:t,onSelect:n,highlightedIndex:o})=>{const i=se(null);return ce((()=>{if(!i.current)return;const e=i.current.children[o];e&&e.scrollIntoView({block:"nearest"})}),[o]),ve(r,{ref:i,padding:"0.5rem",children:e.map(((e,i)=>{const s=e.searchLabel||("string"==typeof e.label||"number"==typeof e.label?String(e.label):"");return ve(r,{css:IR,"data-highlighted":i===o||void 0,onClick:()=>n(e.id||s),children:"string"==typeof e.label||"number"==typeof e.label?ve(zR,{text:String(e.label),query:t}):e.label},e.id)}))})},HR=e=>e.searchLabel?e.searchLabel:"string"==typeof e.label||"number"==typeof e.label?String(e.label):"",BR=({placeholder:e,disabled:t,size:n="default",options:i=[],resultsMaxHeight:s=50,isLoading:l=!1,displayResults:c="text",onSelect:d,onQueryChange:h,onClear:p,renderResults:f,labels:m})=>{const g=tg("Search",m),[b,v]=ae(""),{open:y,onOpen:w,onClose:x}=q(),[C,k]=ae(i),[$,S]=ae(-1),[M,E]=ae(!1),[T,O]=ae("pointer"),L=se(null),{contentRef:A,placement:N}=sw(),R=`search-results-${he()}`,D=e=>{const t=i.find((t=>t.id===e||HR(t)===e));t&&(d?.(t),v(""),x())};ce((()=>{if(h?.(b),!b)return void k(i);const e=i.filter((e=>{const t=b.toLowerCase();return e.id?.toLowerCase().includes(t)||HR(e).toLowerCase().includes(t)||e.caption?.toLowerCase().includes(t)})).map((e=>({id:e.id??HR(e),label:e.label,searchLabel:e.searchLabel,caption:e.caption,variant:"select",icon:e.icon,onItemClick:()=>D(e.id||HR(e))})));k(e),w()}),[b]);const P=b.length?ve(jb,{onClick:()=>{v(""),p?.()}}):null,I="none"!==c&&!!b.length&&C.length>0&&y,z=(I||l&&!!b.length)&&"custom"!==c;let H=Ie("neutral",500);t?H=Ie("neutral",500):M&&(H=Ie("primary",700));const B="small"===n?"1rem":"1.25rem",_=Me(s);return be(u.Root,{open:z,onOpenChange:e=>{e.open||x()},autoFocus:!1,closeOnEscape:!1,positioning:{sameWidth:!0,gutter:0},children:[be("div",{ref:L,css:DR,"data-open":z||void 0,"data-placement":N,children:[ve(u.Anchor,{children:ve(V,{startElement:ve(Bg,{width:B,height:B,fill:H}),endElement:P,children:ve(Nb,{autoComplete:"off",placeholder:e||g.filterPlaceholder,onChange:e=>{const{value:t}=e.target;v(t)},onFocus:()=>E(!0),onBlur:()=>E(!1),value:b,label:"",style:{paddingLeft:"2.5rem"},type:"search","aria-label":e||g.filterAriaLabel,"aria-expanded":I,"aria-controls":R,role:"combobox","aria-autocomplete":"list",disabled:t,size:n,noMarginBottom:!0,onKeyDown:e=>{if(I){if("ArrowDown"===e.key&&(e.preventDefault(),O("keyboard"),S((e=>Math.min(e+1,C.length-1)))),"ArrowUp"===e.key&&(e.preventDefault(),O("keyboard"),S((e=>Math.max(e-1,0)))),"Enter"===e.key&&(e.preventDefault(),$>=0)){const e=C[$];D(e.id||HR(e))}"Escape"===e.key&&x()}}})})}),(I||l&&!!b.length)&&"custom"===c&&f&&!l&&f({items:C,highlightedIndex:$,query:b,onSelect:D})]}),ve(a,{children:ve(u.Positioner,{children:be(u.Content,{ref:A,css:PR,style:{maxHeight:_},"data-nav-source":T,onPointerMove:()=>O("pointer"),children:[l&&ve(r,{padding:"1rem",children:ve(o,{})}),"text"===c&&!l&&ve(VR,{highlightedIndex:$,items:C,query:b,onSelect:D}),"list"===c&&!l&&ve(l$,{items:C,highlightedIndex:$})]})})})]})},_R={small:Ve(400),medium:Ve(600),large:Ve(1e3),default:Ve(400)};function jR(e,t,n,r){const o=function(e,t){return null!=t&&""!==t?Me(t):e&&_R[e]?_R[e]:_R.default}(e,t),i=n?Ie("neutral",200):Ie("primary",300),s=r||i,a=r&&n?"opacity: 0.7;":"",l=n?Ie("neutral",400):Ie("primary",800),c=n?Ie("neutral",400):Ie("primary",800);return ke`
4411
+ `,VR=({text:e,query:t})=>{if(!t)return e;const n=new RegExp(`(${t})`,"ig"),r=e.split(n);return ve(ye,{children:r.map((e=>n.test(e)?ve("strong",{children:e},e):ve("span",{children:e},e)))})},HR=({items:e,query:t,onSelect:n,highlightedIndex:o})=>{const i=se(null);return ce((()=>{if(!i.current)return;const e=i.current.children[o];e&&e.scrollIntoView({block:"nearest"})}),[o]),ve(r,{ref:i,padding:"0.5rem",children:e.map(((e,i)=>{const s=e.searchLabel||("string"==typeof e.label||"number"==typeof e.label?String(e.label):"");return ve(r,{css:zR,"data-highlighted":i===o||void 0,onClick:()=>n(e.id||s),children:"string"==typeof e.label||"number"==typeof e.label?ve(VR,{text:String(e.label),query:t}):e.label},e.id)}))})},BR=e=>e.searchLabel?e.searchLabel:"string"==typeof e.label||"number"==typeof e.label?String(e.label):"",_R=({placeholder:e,disabled:t,size:n="default",options:i=[],resultsMaxHeight:s=50,isLoading:l=!1,displayResults:c="text",onSelect:d,onQueryChange:h,onClear:p,renderResults:f,labels:m})=>{const g=tg("Search",m),[b,v]=ae(""),{open:y,onOpen:w,onClose:x}=q(),[C,k]=ae(i),[$,S]=ae(-1),[M,E]=ae(!1),[T,O]=ae("pointer"),L=se(null),{contentRef:A,placement:N}=aw(),R=`search-results-${he()}`,D=e=>{const t=i.find((t=>t.id===e||BR(t)===e));t&&(d?.(t),v(""),x())};ce((()=>{if(h?.(b),!b)return void k(i);const e=i.filter((e=>{const t=b.toLowerCase();return e.id?.toLowerCase().includes(t)||BR(e).toLowerCase().includes(t)||e.caption?.toLowerCase().includes(t)})).map((e=>({id:e.id??BR(e),label:e.label,searchLabel:e.searchLabel,caption:e.caption,variant:"select",icon:e.icon,onItemClick:()=>D(e.id||BR(e))})));k(e),w()}),[b]);const P=b.length?ve(Fb,{onClick:()=>{v(""),p?.()}}):null,I="none"!==c&&!!b.length&&C.length>0&&y,z=(I||l&&!!b.length)&&"custom"!==c;let H=Ie("neutral",500);t?H=Ie("neutral",500):M&&(H=Ie("primary",700));const B="small"===n?"1rem":"1.25rem",_=Me(s);return be(u.Root,{open:z,onOpenChange:e=>{e.open||x()},autoFocus:!1,closeOnEscape:!1,positioning:{sameWidth:!0,gutter:0},children:[be("div",{ref:L,css:PR,"data-open":z||void 0,"data-placement":N,children:[ve(u.Anchor,{children:ve(V,{startElement:ve(Bg,{width:B,height:B,fill:H}),endElement:P,children:ve(Rb,{autoComplete:"off",placeholder:e||g.filterPlaceholder,onChange:e=>{const{value:t}=e.target;v(t)},onFocus:()=>E(!0),onBlur:()=>E(!1),value:b,label:"",style:{paddingLeft:"2.5rem"},type:"search","aria-label":e||g.filterAriaLabel,"aria-expanded":I,"aria-controls":R,role:"combobox","aria-autocomplete":"list",disabled:t,size:n,noMarginBottom:!0,onKeyDown:e=>{if(I){if("ArrowDown"===e.key&&(e.preventDefault(),O("keyboard"),S((e=>Math.min(e+1,C.length-1)))),"ArrowUp"===e.key&&(e.preventDefault(),O("keyboard"),S((e=>Math.max(e-1,0)))),"Enter"===e.key&&(e.preventDefault(),$>=0)){const e=C[$];D(e.id||BR(e))}"Escape"===e.key&&x()}}})})}),(I||l&&!!b.length)&&"custom"===c&&f&&!l&&f({items:C,highlightedIndex:$,query:b,onSelect:D})]}),ve(a,{children:ve(u.Positioner,{children:be(u.Content,{ref:A,css:IR,style:{maxHeight:_},"data-nav-source":T,onPointerMove:()=>O("pointer"),children:[l&&ve(r,{padding:"1rem",children:ve(o,{})}),"text"===c&&!l&&ve(HR,{highlightedIndex:$,items:C,query:b,onSelect:D}),"list"===c&&!l&&ve(c$,{items:C,highlightedIndex:$})]})})})]})},jR={small:Ve(400),medium:Ve(600),large:Ve(1e3),default:Ve(400)};function FR(e,t,n,r){const o=function(e,t){return null!=t&&""!==t?Me(t):e&&jR[e]?jR[e]:jR.default}(e,t),i=n?Ie("neutral",200):Ie("primary",300),s=r||i,a=r&&n?"opacity: 0.7;":"",l=n?Ie("neutral",400):Ie("primary",800),c=n?Ie("neutral",400):Ie("primary",800);return ke`
4411
4412
  height: ${o};
4412
4413
  width: ${o};
4413
4414
  border-radius: 50%;
@@ -4442,20 +4443,20 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4442
4443
  background-color: ${Ie("primary",500)};
4443
4444
  }
4444
4445
  }
4445
- `}const FR=ke`
4446
+ `}const qR=ke`
4446
4447
  font-size: ${ze(200)};
4447
4448
  line-height: ${He(400)};
4448
4449
  font-weight: 700;
4449
4450
  color: inherit;
4450
- `,qR={small:{fontSize:Ee(8),boxSize:Ee(10),padding:Ee(2)},large:{fontSize:Ee(12),boxSize:Ee(20),padding:`${Ee(2)} ${Ee(4)}`}},WR=ke`
4451
+ `,WR={small:{fontSize:Ee(8),boxSize:Ee(10),padding:Ee(2)},large:{fontSize:Ee(12),boxSize:Ee(20),padding:`${Ee(2)} ${Ee(4)}`}},UR=ke`
4451
4452
  display: flex;
4452
4453
  justify-content: flex-start;
4453
4454
  align-items: center;
4454
4455
  gap: ${Ve(200)};
4455
- `,UR=e=>ke`
4456
+ `,KR=e=>ke`
4456
4457
  position: relative;
4457
4458
  display: flex;
4458
- `,KR=(e="large")=>{const t=Ve("small"===e?100:200);return ke`
4459
+ `,GR=(e="large")=>{const t=Ve("small"===e?100:200);return ke`
4459
4460
  height: ${t};
4460
4461
  width: ${t};
4461
4462
  background-color: ${Ie("error",500)};
@@ -4464,7 +4465,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4464
4465
  top: 0rem;
4465
4466
  right: 0rem;
4466
4467
  z-index: 1;
4467
- `},GR=(e="large")=>{const{boxSize:t,padding:n}=qR[e];return ke`
4468
+ `},ZR=(e="large")=>{const{boxSize:t,padding:n}=WR[e];return ke`
4468
4469
  background-color: ${Ie("error",500)};
4469
4470
  padding: ${n};
4470
4471
  border-radius: 9999px;
@@ -4479,12 +4480,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4479
4480
  min-width: ${t};
4480
4481
  height: ${t};
4481
4482
  z-index: 1;
4482
- `},ZR=(e="large")=>{const{fontSize:t}=qR[e];return ke`
4483
+ `},JR=(e="large")=>{const{fontSize:t}=WR[e];return ke`
4483
4484
  font-size: ${t};
4484
4485
  line-height: 1;
4485
4486
  font-weight: 700;
4486
4487
  color: ${Ie("error",100)};
4487
- `},JR=(e="large")=>{const{boxSize:t}=qR[e];return ke`
4488
+ `},XR=(e="large")=>{const{boxSize:t}=WR[e];return ke`
4488
4489
  height: ${t};
4489
4490
  min-width: ${t};
4490
4491
  background-color: ${Ie("error",500)};
@@ -4493,12 +4494,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4493
4494
  justify-content: center;
4494
4495
  align-items: center;
4495
4496
  padding: 0rem ${Ve(100)} 0.0625rem ${Ve(100)};
4496
- `},XR=(e="large")=>{const{fontSize:t}=qR[e];return ke`
4497
+ `},YR=(e="large")=>{const{fontSize:t}=WR[e];return ke`
4497
4498
  font-size: ${t};
4498
4499
  line-height: ${He(600)};
4499
4500
  font-weight: 700;
4500
4501
  color: ${Ie("error",100)};
4501
- `},YR=({hasNotification:e,notificationCount:t,label:n,labels:r,children:o,size:i="large"})=>{const s=tg("Badge",r),[a,l]=ae(!1);ce((()=>{const e=()=>{window.innerWidth<1024?l(!0):l(!1)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const c=(()=>{let e="";return t&&t>0&&(e=`${t>99?"99+":t}`),e})(),d="small"===i?"1rem":"1.5rem";return be("div",a&&null==o?{css:WR,role:"status","aria-live":"polite",children:[be("div",{css:UR(),children:[ve(xg,{color:"currentColor",height:d,width:d}),!e||t||n?null:ve("div",{css:KR(i),"aria-hidden":!0})]}),n?ve("p",{children:n}):null,c.length>0?ve("div",{css:JR(i),children:ve("p",{css:XR(i),"aria-label":s.unreadMessagesLabel(t||0),children:c})}):null]}:{css:WR,role:"status","aria-live":"polite",children:[n?ve("p",{children:n}):null,be("div",{css:UR(),children:[c.length>0?ve("div",{css:GR(i),children:ve("p",{css:ZR(i),"aria-label":s.unreadMessagesLabel(t||0),children:c})}):null,e&&!t?ve("div",{css:KR(i),"aria-hidden":!0}):null,o??ve(xg,{color:"currentColor",height:d,width:d})]})]})},QR=ie((({name:e,ariaLabel:t,size:n="medium",customSize:r,src:o,srcSet:i,onClick:s,notificationCount:a,badgeSize:l="large",disabled:c=!1,customBackgroundColor:d="",labels:u},h)=>{const p=tg("Avatar",u),f=()=>{c||s?.()},m=!!o||!!i,g=!!s&&!c,b=!!a&&a>0,v=be(W.Root,{"aria-label":t||e,ref:h,css:jR(n,r,c,d),onClick:f,onKeyDown:e=>{c||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),f())},role:g?"button":"img",tabIndex:g?0:void 0,"aria-disabled":s?c:void 0,children:[m&&ve(W.Image,{src:o,srcSet:i,alt:t||e||"Avatar image"}),!m&&e&&ve(W.Fallback,{name:e,css:FR}),!m&&!e&&ve(Vg,{size:"100%",style:{padding:"15%",color:c?Ie("neutral",400):Ie("primary",800)}})]});return b?ve(YR,{notificationCount:a,size:l,labels:{unreadMessagesLabel:p.unreadMessagesLabel},children:v}):v})),eD=e=>{switch(e){case"success":return{backgroundColor:Ie("success",100),textColor:Ie("success",900),borderColor:Ie("success",300),iconColor:Ie("success",500)};case"warning":return{backgroundColor:Ie("warning",100),textColor:Ie("warning",900),borderColor:Ie("warning",300),iconColor:Ie("warning",500)};case"error":return{backgroundColor:Ie("error",100),textColor:Ie("error",900),borderColor:Ie("error",300),iconColor:Ie("error",500)};case"information":return{backgroundColor:Ie("information",100),textColor:Ie("information",900),borderColor:Ie("information",300),iconColor:Ie("information",500)};case"general-grey":return{backgroundColor:Ie("neutral",200),textColor:Ie("neutral",800),borderColor:Ie("neutral",300),iconColor:Ie("neutral",700)};default:return{backgroundColor:Ie("neutral",100),textColor:Ie("neutral",800),borderColor:Ie("neutral",300),iconColor:Ie("neutral",700)}}},tD=(e,t="full-width",n=!1)=>{const{backgroundColor:r,textColor:o,borderColor:i}=eD(e),s="inline"===t,a=_e(100),l=s?`calc(${Ve(200)} - ${a})`:Ve(200),c=`calc(${Ve(200)} - ${a})`;return ke`
4502
+ `},QR=({hasNotification:e,notificationCount:t,label:n,labels:r,children:o,size:i="large"})=>{const s=tg("Badge",r),[a,l]=ae(!1);ce((()=>{const e=()=>{window.innerWidth<1024?l(!0):l(!1)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const c=(()=>{let e="";return t&&t>0&&(e=`${t>99?"99+":t}`),e})(),d="small"===i?"1rem":"1.5rem";return be("div",a&&null==o?{css:UR,role:"status","aria-live":"polite",children:[be("div",{css:KR(),children:[ve(xg,{color:"currentColor",height:d,width:d}),!e||t||n?null:ve("div",{css:GR(i),"aria-hidden":!0})]}),n?ve("p",{children:n}):null,c.length>0?ve("div",{css:XR(i),children:ve("p",{css:YR(i),"aria-label":s.unreadMessagesLabel(t||0),children:c})}):null]}:{css:UR,role:"status","aria-live":"polite",children:[n?ve("p",{children:n}):null,be("div",{css:KR(),children:[c.length>0?ve("div",{css:ZR(i),children:ve("p",{css:JR(i),"aria-label":s.unreadMessagesLabel(t||0),children:c})}):null,e&&!t?ve("div",{css:GR(i),"aria-hidden":!0}):null,o??ve(xg,{color:"currentColor",height:d,width:d})]})]})},eD=ie((({name:e,ariaLabel:t,size:n="medium",customSize:r,src:o,srcSet:i,onClick:s,notificationCount:a,badgeSize:l="large",disabled:c=!1,customBackgroundColor:d="",labels:u},h)=>{const p=tg("Avatar",u),f=()=>{c||s?.()},m=!!o||!!i,g=!!s&&!c,b=!!a&&a>0,v=be(W.Root,{"aria-label":t||e,ref:h,css:FR(n,r,c,d),onClick:f,onKeyDown:e=>{c||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),f())},role:g?"button":"img",tabIndex:g?0:void 0,"aria-disabled":s?c:void 0,children:[m&&ve(W.Image,{src:o,srcSet:i,alt:t||e||"Avatar image"}),!m&&e&&ve(W.Fallback,{name:e,css:qR}),!m&&!e&&ve(Vg,{size:"100%",style:{padding:"15%",color:c?Ie("neutral",400):Ie("primary",800)}})]});return b?ve(QR,{notificationCount:a,size:l,labels:{unreadMessagesLabel:p.unreadMessagesLabel},children:v}):v})),tD=e=>{switch(e){case"success":return{backgroundColor:Ie("success",100),textColor:Ie("success",900),borderColor:Ie("success",300),iconColor:Ie("success",500)};case"warning":return{backgroundColor:Ie("warning",100),textColor:Ie("warning",900),borderColor:Ie("warning",300),iconColor:Ie("warning",500)};case"error":return{backgroundColor:Ie("error",100),textColor:Ie("error",900),borderColor:Ie("error",300),iconColor:Ie("error",500)};case"information":return{backgroundColor:Ie("information",100),textColor:Ie("information",900),borderColor:Ie("information",300),iconColor:Ie("information",500)};case"general-grey":return{backgroundColor:Ie("neutral",200),textColor:Ie("neutral",800),borderColor:Ie("neutral",300),iconColor:Ie("neutral",700)};default:return{backgroundColor:Ie("neutral",100),textColor:Ie("neutral",800),borderColor:Ie("neutral",300),iconColor:Ie("neutral",700)}}},nD=(e,t="full-width",n=!1)=>{const{backgroundColor:r,textColor:o,borderColor:i}=tD(e),s="inline"===t,a=_e(100),l=s?`calc(${Ve(200)} - ${a})`:Ve(200),c=`calc(${Ve(200)} - ${a})`;return ke`
4502
4503
  display: ${s?"inline-flex":"flex"};
4503
4504
  width: ${s?"fit-content":"100%"};
4504
4505
  max-width: 100%;
@@ -4516,7 +4517,7 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4516
4517
  line-height: ${He(600)};
4517
4518
  font-weight: 400;
4518
4519
  }
4519
- `},nD=e=>{const{iconColor:t}=eD(e);return ke`
4520
+ `},rD=e=>{const{iconColor:t}=tD(e);return ke`
4520
4521
  display: flex;
4521
4522
  align-items: center;
4522
4523
  justify-content: center;
@@ -4528,32 +4529,32 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4528
4529
  width: ${Ve(400)};
4529
4530
  height: ${Ve(400)};
4530
4531
  }
4531
- `},rD=ee.forwardRef((({children:e,icon:t,variant:n,onClose:r,labels:o,isCentered:i=!1,width:s="full-width"},a)=>{const l=tg("AlertBanner",o),[c,d]=ee.useState(!0),u=ve("success"===n?bg:"warning"===n?vg:"error"===n?yg:cg,{});return c?be(U.Root,{css:tD(n,s,i),children:[ve(U.Indicator,{css:nD(n),children:t||u}),ve(U.Content,{flex:i?"initial":"1",children:e}),ve(jb,{"aria-label":l.closeAlertLabel,pos:"absolute",top:"0.75rem",insetEnd:"0.75rem",onClick:()=>{d(!1),r?.()}})]}):null})),oD=ke`
4532
+ `},oD=ee.forwardRef((({children:e,icon:t,variant:n,onClose:r,labels:o,isCentered:i=!1,width:s="full-width"},a)=>{const l=tg("AlertBanner",o),[c,d]=ee.useState(!0),u=ve("success"===n?bg:"warning"===n?vg:"error"===n?yg:cg,{});return c?be(U.Root,{css:nD(n,s,i),children:[ve(U.Indicator,{css:rD(n),children:t||u}),ve(U.Content,{flex:i?"initial":"1",children:e}),ve(Fb,{"aria-label":l.closeAlertLabel,pos:"absolute",top:"0.75rem",insetEnd:"0.75rem",onClick:()=>{d(!1),r?.()}})]}):null})),iD=ke`
4532
4533
  height: ${Ve(200)};
4533
4534
  width: 100%;
4534
4535
  background-color: ${Ie("neutral",300)};
4535
4536
  display: flex;
4536
4537
  align-items: center;
4537
4538
  justify-content: flex-start;
4538
- `,iD=(e,t)=>ke`
4539
+ `,sD=(e,t)=>ke`
4539
4540
  height: 100%;
4540
4541
  width: ${e}%;
4541
4542
  background-color: ${t??Ie("primary",500)};
4542
4543
  transition: width 0.5s ease-in-out;
4543
- `,sD=({progress:e,labels:t,color:n})=>{const r=tg("ProgressBar",t);let o=e;return o>100&&(o=100),o<0&&(o=0),ve("div",{css:oD,role:"progressbar","aria-label":r.progressAriaLabel(o),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o,children:ve("div",{css:iD(o,n)})})},aD=ke`
4544
+ `,aD=({progress:e,labels:t,color:n})=>{const r=tg("ProgressBar",t);let o=e;return o>100&&(o=100),o<0&&(o=0),ve("div",{css:iD,role:"progressbar","aria-label":r.progressAriaLabel(o),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o,children:ve("div",{css:sD(o,n)})})},lD=ke`
4544
4545
  width: 100%;
4545
4546
  display: flex;
4546
4547
  align-items: center;
4547
4548
  justify-content: space-between;
4548
4549
  position: relative;
4549
- `,lD=ke`
4550
+ `,cD=ke`
4550
4551
  height: 3.75rem;
4551
4552
  width: ${Ve(2e3)};
4552
4553
  display: flex;
4553
4554
  flex-direction: column;
4554
4555
  align-items: center;
4555
4556
  justify-content: space-between;
4556
- `,cD=(e,t)=>ke`
4557
+ `,dD=(e,t)=>ke`
4557
4558
  height: ${Ve(800)};
4558
4559
  width: ${Ve(800)};
4559
4560
  display: flex;
@@ -4589,12 +4590,12 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4589
4590
  }
4590
4591
 
4591
4592
  ${t?`\n background-color: ${Ie("neutral",300)};\n \n &:hover {\n background-color: ${Ie("neutral",300)};\n box-shadow: none;\n }\n `:""}
4592
- `,dD=e=>ke`
4593
+ `,uD=e=>ke`
4593
4594
  color: ${Ie("neutral",e?800:600)};
4594
4595
  font-size: ${ze(300)};
4595
4596
  line-height: ${He(500)};
4596
4597
  font-weight: 400;
4597
- `,uD=ke`
4598
+ `,hD=ke`
4598
4599
  height: ${_e(100)};
4599
4600
  width: 100%;
4600
4601
  padding: 0 1.875rem;
@@ -4602,25 +4603,25 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4602
4603
  top: ${Ve(400)};
4603
4604
  left: 0;
4604
4605
  z-index: -1;
4605
- `,hD=ke`
4606
+ `,pD=ke`
4606
4607
  height: ${_e(100)};
4607
4608
  width: 100%;
4608
4609
  background-color: ${Ie("neutral",400)};
4609
- `,pD=({steps:e,currentStep:t,labels:n})=>{const r=tg("StepProgressIndicator",n);return be("div",{css:aD,children:[e.map(((e,n)=>be("div",{css:lD,children:[ve("button",{css:cD(t>=n+1,t<n+1),type:"button",onClick:e.onClick,"aria-current":t===n+1,"aria-disabled":t<n+1,disabled:t<n+1,"aria-label":r.currentStepLabel(n+1,e.label||"",t>n+1),"data-active":t>=n+1,children:t>n+1?ve(ag,{height:"1rem",width:"1rem"}):n+1}),e.label?ve("p",{css:dD(t===n+1),children:e.label}):null]},`${e.label}-${n}`))),ve("div",{css:uD,children:ve("div",{css:hD})})]})},fD=ke`
4610
+ `,fD=({steps:e,currentStep:t,labels:n})=>{const r=tg("StepProgressIndicator",n);return be("div",{css:lD,children:[e.map(((e,n)=>be("div",{css:cD,children:[ve("button",{css:dD(t>=n+1,t<n+1),type:"button",onClick:e.onClick,"aria-current":t===n+1,"aria-disabled":t<n+1,disabled:t<n+1,"aria-label":r.currentStepLabel(n+1,e.label||"",t>n+1),"data-active":t>=n+1,children:t>n+1?ve(ag,{height:"1rem",width:"1rem"}):n+1}),e.label?ve("p",{css:uD(t===n+1),children:e.label}):null]},`${e.label}-${n}`))),ve("div",{css:hD,children:ve("div",{css:pD})})]})},mD=ke`
4610
4611
  font-size: ${ze(500)};
4611
4612
  line-height: ${He(700)};
4612
4613
  font-weight: 400;
4613
4614
  color: ${Ie("neutral",800)};
4614
- `,mD=ke`
4615
+ `,gD=ke`
4615
4616
  font-size: ${ze(400)};
4616
4617
  line-height: ${He(600)};
4617
4618
  font-weight: 400;
4618
4619
  color: ${Ie("neutral",700)};
4619
- `,gD=ke`
4620
- padding: 0.375rem;
4621
4620
  `,bD=ke`
4622
4621
  padding: 0.375rem;
4623
- `;let vD=!1;const yD=new Set,wD=e=>{let t,n=!1;const r=()=>{n&&(n=!1,(()=>{vD=!1;const[e]=yD;e&&(yD.delete(e),e())})())},o=()=>{vD=!0,n=!0,t=void 0,e()};return vD?(t=()=>o(),yD.add(t)):o(),()=>{n?r():t&&yD.delete(t)}},xD={pauseOnPageIdle:!0,offsets:"1.5rem"},CD={"top-start":K({placement:"top-start",...xD}),top:K({placement:"top",...xD}),"top-end":K({placement:"top-end",...xD}),"bottom-start":K({placement:"bottom-start",...xD}),bottom:K({placement:"bottom",...xD}),"bottom-end":K({placement:"bottom-end",...xD})},kD=e=>{CD[e.placement].create({title:e.label,description:e.caption,duration:e.duration||5e3,meta:{closable:e.closable,icon:e.icon,closableLabel:e.closableLabel,onClose:e.onClose,maxWidth:e.maxWidth},...e})},$D=e=>{Object.values(CD).forEach((t=>{t.dismiss(e)}))},SD=({labels:e})=>{const t=tg("Toast",e),[n,r]=ae(!1);return ce((()=>{const e=wD((()=>r(!0)));return()=>{e(),r(!1)}}),[]),n?Object.keys(CD).map((e=>ve(a,{children:ve(G,{toaster:CD[e],insetInline:{mdDown:"4"},children:n=>{return be(Z.Root,{css:(r=n.meta?.maxWidth,ke`
4622
+ `,vD=ke`
4623
+ padding: 0.375rem;
4624
+ `;let yD=!1;const wD=new Set,xD=e=>{let t,n=!1;const r=()=>{n&&(n=!1,(()=>{yD=!1;const[e]=wD;e&&(wD.delete(e),e())})())},o=()=>{yD=!0,n=!0,t=void 0,e()};return yD?(t=()=>o(),wD.add(t)):o(),()=>{n?r():t&&wD.delete(t)}},CD={pauseOnPageIdle:!0,offsets:"1.5rem"},kD={"top-start":K({placement:"top-start",...CD}),top:K({placement:"top",...CD}),"top-end":K({placement:"top-end",...CD}),"bottom-start":K({placement:"bottom-start",...CD}),bottom:K({placement:"bottom",...CD}),"bottom-end":K({placement:"bottom-end",...CD})},$D=e=>{kD[e.placement].create({title:e.label,description:e.caption,duration:e.duration||5e3,meta:{closable:e.closable,icon:e.icon,closableLabel:e.closableLabel,onClose:e.onClose,maxWidth:e.maxWidth},...e})},SD=e=>{Object.values(kD).forEach((t=>{t.dismiss(e)}))},MD=({labels:e})=>{const t=tg("Toast",e),[n,r]=ae(!1);return ce((()=>{const e=xD((()=>r(!0)));return()=>{e(),r(!1)}}),[]),n?Object.keys(kD).map((e=>ve(a,{children:ve(G,{toaster:kD[e],insetInline:{mdDown:"4"},children:n=>{return be(Z.Root,{css:(r=n.meta?.maxWidth,ke`
4624
4625
  justify-content: space-between;
4625
4626
  align-items: center;
4626
4627
  gap: ${Ve(200)};
@@ -4664,4 +4665,4 @@ function ML(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
4664
4665
  color: ${Ie("error",900)};
4665
4666
  }
4666
4667
  }
4667
- `),width:{md:"sm"},children:[be(J,{flexDirection:"row",className:"ds-toast-icon-container",alignItems:n.description?"flex-start":"center",children:["info"===n.type?n.meta?.icon?n.meta.icon:ve(cg,{color:"var(--chakra-colors-neutral-700)"}):null,"loading"===n.type?ve(o,{size:"lg",borderWidth:"0.1875rem",color:"var(--chakra-colors-primary-700)"}):null,"success"===n.type?n.meta?.icon?n.meta.icon:ve(bg,{color:"var(--chakra-colors-success-500)"}):null,"warning"===n.type?n.meta?.icon?n.meta.icon:ve(vg,{color:"var(--chakra-colors-warning-500)"}):null,"error"===n.type?n.meta?.icon?n.meta.icon:ve(yg,{color:"var(--chakra-colors-error-500)"}):null,be(J,{gap:"1",flex:"1",maxWidth:"100%",children:[ve(Z.Title,{css:fD,"aria-label":`${n.title}`,children:n.title}),n.description?ve(Z.Title,{css:mD,"aria-label":`${n.description}`,children:n.description}):null]})]}),n.action||n.meta?.closable?be(J,{flexDirection:"row",children:[n.action?ve(ng,{css:gD,label:n.action.label,size:"small",variant:"info"===n.type?"primary":"secondary",onClick:()=>{n?.action?.onClick&&n.action.onClick(),CD[e].dismiss(n.id)}}):null,n.meta?.closable?ve(ng,{css:bD,label:n.meta.closableLabel,"aria-label":n.meta?.closableLabel||t.dismissLabel,leftIcon:ve(pg,{height:"0.625rem!",width:"0.625rem!"}),size:"small",variant:"secondary",onClick:()=>{n.meta?.onClose&&n.meta.onClose(),CD[e].dismiss(n.id)}}):null]}):null]});var r}})},e))):null};export{rD as AlertBanner,V$ as AnalysisWidget,QR as Avatar,YR as Badge,JC as BaseMap,PN as Breadcrumb,ng as Button,Av as Checkbox,wy as CheckboxList,Vv as CheckboxOptionCard,jb as CloseButton,QC as ClusterPoint,vw as Combobox,Fe as DesignSystemLocaleProvider,R$ as ExtendableCard,kb as FieldWrapper,_N as Footer,Ov as FormContainer,_C as GuidedTour,og as IconButton,vN as InlineMessage,qy as InputWithUnits,Qk as ItemCount,hk as LayerGroup,pk as LayerGroupContainer,uk as LayerItem,vk as LayerParameters,Nk as LegendItem,l$ as List,mv as MapControlsToolbar,YC as MapMarker,tk as MapMarkers,DC as MapPopUp,nb as Menu,AN as MobileSearch,KN as MobileTabBar,VS as Modal,$v as MultiActionButton,bR as Navbar,kR as NavigationRail,Ak as OpacityControl,Wv as OptionCard,p$ as Pagination,WS as Panel,Jy as Password,sD as ProgressBar,_k as QualitativeAttribute,Zv as Radio,Jv as RadioGroup,Yy as RadioList,Hb as RichTextEditor,Bb as SSOButtons,Gk as ScaleBar,BR as Search,Fy as Select,sN as Sheet,ek as SimpleMapPin,dy as Slider,ew as SliderInput,pD as StepProgressIndicator,hy as Switch,NR as TabBar,T$ as Table,L$ as TableCell,O$ as TableRow,By as Tag,Nb as TextInput,ow as Textarea,SD as Toast,fv as Toolbar,ib as Tooltip,$D as closeToast,Pe as designSystemStyles,De as designSystemStylesForTailwind,_e as getThemedBorderWidth,Ie as getThemedColor,ze as getThemedFontSize,He as getThemedLineHeight,Be as getThemedRadius,Ve as getThemedSpacing,kD as showToast};
4668
+ `),width:{md:"sm"},children:[be(J,{flexDirection:"row",className:"ds-toast-icon-container",alignItems:n.description?"flex-start":"center",children:["info"===n.type?n.meta?.icon?n.meta.icon:ve(cg,{color:"var(--chakra-colors-neutral-700)"}):null,"loading"===n.type?ve(o,{size:"lg",borderWidth:"0.1875rem",color:"var(--chakra-colors-primary-700)"}):null,"success"===n.type?n.meta?.icon?n.meta.icon:ve(bg,{color:"var(--chakra-colors-success-500)"}):null,"warning"===n.type?n.meta?.icon?n.meta.icon:ve(vg,{color:"var(--chakra-colors-warning-500)"}):null,"error"===n.type?n.meta?.icon?n.meta.icon:ve(yg,{color:"var(--chakra-colors-error-500)"}):null,be(J,{gap:"1",flex:"1",maxWidth:"100%",children:[ve(Z.Title,{css:mD,"aria-label":`${n.title}`,children:n.title}),n.description?ve(Z.Title,{css:gD,"aria-label":`${n.description}`,children:n.description}):null]})]}),n.action||n.meta?.closable?be(J,{flexDirection:"row",children:[n.action?ve(ng,{css:bD,label:n.action.label,size:"small",variant:"info"===n.type?"primary":"secondary",onClick:()=>{n?.action?.onClick&&n.action.onClick(),kD[e].dismiss(n.id)}}):null,n.meta?.closable?ve(ng,{css:vD,label:n.meta.closableLabel,"aria-label":n.meta?.closableLabel||t.dismissLabel,leftIcon:ve(pg,{height:"0.625rem!",width:"0.625rem!"}),size:"small",variant:"secondary",onClick:()=>{n.meta?.onClose&&n.meta.onClose(),kD[e].dismiss(n.id)}}):null]}):null]});var r}})},e))):null};export{oD as AlertBanner,H$ as AnalysisWidget,eD as Avatar,QR as Badge,XC as BaseMap,IN as Breadcrumb,ng as Button,Nv as Checkbox,xy as CheckboxList,Hv as CheckboxOptionCard,Fb as CloseButton,ek as ClusterPoint,yw as Combobox,Fe as DesignSystemLocaleProvider,D$ as ExtendableCard,$b as FieldWrapper,jN as Footer,Lv as FormContainer,jC as GuidedTour,og as IconButton,yN as InlineMessage,Wy as InputWithUnits,e$ as ItemCount,pk as LayerGroup,fk as LayerGroupContainer,hk as LayerItem,yk as LayerParameters,Rk as LegendItem,c$ as List,gv as MapControlsToolbar,QC as MapMarker,nk as MapMarkers,PC as MapPopUp,rb as Menu,NN as MobileSearch,GN as MobileTabBar,HS as Modal,Sv as MultiActionButton,vR as Navbar,$R as NavigationRail,Nk as OpacityControl,Uv as OptionCard,f$ as Pagination,US as Panel,Xy as Password,aD as ProgressBar,jk as QualitativeAttribute,Jv as Radio,Xv as RadioGroup,Qy as RadioList,Bb as RichTextEditor,_b as SSOButtons,Zk as ScaleBar,_R as Search,qy as Select,aN as Sheet,tk as SimpleMapPin,uy as Slider,tw as SliderInput,fD as StepProgressIndicator,py as Switch,RR as TabBar,O$ as Table,A$ as TableCell,L$ as TableRow,_y as Tag,Rb as TextInput,iw as Textarea,MD as Toast,mv as Toolbar,sb as Tooltip,SD as closeToast,Pe as designSystemStyles,De as designSystemStylesForTailwind,_e as getThemedBorderWidth,Ie as getThemedColor,ze as getThemedFontSize,He as getThemedLineHeight,Be as getThemedRadius,Ve as getThemedSpacing,$D as showToast};