(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25910],{86470:function(e,t,n){"use strict";n.d(t,{u:function(){return g},Z:function(){return h}});var r,a=n(25773),i=n(64649),o=n(8136),u=n(90005),l=n.n(u),c=n(28116),s=n(27378),d=n(75420),p=n(97527),f=function(){if(!((0,p.Z)()&&window.document.documentElement))return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r};function m(e){var t=e.className,n=e.direction,r=e.index,o=e.marginDirection,u=e.children,l=e.split,c=e.wrap,d=s.useContext(g),p=d.horizontalSize,f=d.verticalSize,m=d.latestIndex,v=d.supportFlexGap,y={};return(!v&&("vertical"===n?rt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},g=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),I={small:8,middle:16,large:24},x=function(e){var t,n,r,u,p,v=s.useContext(d.E_),x=v.getPrefixCls,h=v.space,b=v.direction,R=e.size,w=void 0===R?(null==h?void 0:h.size)||"small":R,E=e.align,S=e.className,M=e.children,T=e.direction,P=void 0===T?"horizontal":T,_=e.prefixCls,k=e.split,C=e.style,z=e.wrap,N=void 0!==z&&z,D=y(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),O=(t=s.useState(!1),r=(n=(0,o.Z)(t,2))[0],u=n[1],s.useEffect(function(){u(f())},[]),r),F=s.useMemo(function(){return(Array.isArray(w)?w:[w,w]).map(function(e){return"string"==typeof e?I[e]:e||0})},[w]),A=(0,o.Z)(F,2),Z=A[0],L=A[1],B=(0,c.Z)(M,{keepEmpty:!0}),j=void 0===E&&"horizontal"===P?"center":E,G=x("space",_),Q=l()(G,"".concat(G,"-").concat(P),(p={},(0,i.Z)(p,"".concat(G,"-rtl"),"rtl"===b),(0,i.Z)(p,"".concat(G,"-align-").concat(j),j),p),S),V="".concat(G,"-item"),U="rtl"===b?"marginLeft":"marginRight",K=0,H=B.map(function(e,t){null!=e&&(K=t);var n=e&&e.key||"".concat(V,"-").concat(t);return s.createElement(m,{className:V,key:n,direction:P,index:t,marginDirection:U,split:k,wrap:N},e)}),W=s.useMemo(function(){return{horizontalSize:Z,verticalSize:L,latestIndex:K,supportFlexGap:O}},[Z,L,K,O]);if(0===B.length)return null;var Y={};return N&&(Y.flexWrap="wrap",O||(Y.marginBottom=-L)),O&&(Y.columnGap=Z,Y.rowGap=L),s.createElement("div",(0,a.Z)({className:Q,style:(0,a.Z)((0,a.Z)({},Y),C)},D),s.createElement(g.Provider,{value:W},H))};x.Compact=v.ZP;var h=x},30007:function(){},98054:function(e){e.exports={style:{fontFamily:"'__blMelody_7268c9', '__blMelody_Fallback_7268c9'"},className:"__className_7268c9",variable:"__variable_7268c9"}},51412:function(e,t,n){"use strict";let r,a,i;n.d(t,{v:function(){return G}});var o=n(39308),u=n(55818),l=n(97768),c=n(27378),s=n(96020),d=n(70349),p=n(46156),f=n(3155),m=n(43795),v=n(59990),y=n(7191),g=n(73419),I=n(45183),x=n(21211),h=n(42191),b=n(46720),R=n(47110),w=n(62267),E=n(13649),S=n(60486),M=n(38607),T=n(24461),P=((r=P||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),_=((a=_||{})[a.Pointer=0]="Pointer",a[a.Other=1]="Other",a),k=((i=k||{})[i.OpenMenu=0]="OpenMenu",i[i.CloseMenu=1]="CloseMenu",i[i.GoToItem=2]="GoToItem",i[i.Search=3]="Search",i[i.ClearSearch=4]="ClearSearch",i[i.RegisterItem=5]="RegisterItem",i[i.UnregisterItem=6]="UnregisterItem",i);function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,h.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),a=n?r.indexOf(n):null;return -1===a&&(a=null),{items:r,activeItemIndex:a}}let z={1:e=>1===e.menuState?e:(0,u._)((0,o._)({},e),{activeItemIndex:null,menuState:1}),0:e=>0===e.menuState?e:(0,u._)((0,o._)({},e),{menuState:0}),2:(e,t)=>{var n;let r=C(e),a=(0,I.d)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return(0,u._)((0,o._)({},e,r),{searchQuery:"",activeItemIndex:a,activationTrigger:null!=(n=t.trigger)?n:1})},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),i=a?e.items.indexOf(a):-1;return -1===i||i===e.activeItemIndex?(0,u._)((0,o._)({},e),{searchQuery:r}):(0,u._)((0,o._)({},e),{searchQuery:r,activeItemIndex:i,activationTrigger:1})},4:e=>""===e.searchQuery?e:(0,u._)((0,o._)({},e),{searchQuery:"",searchActiveItemIndex:null}),5:(e,t)=>{let n=C(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return(0,o._)({},e,n)},6:(e,t)=>{let n=C(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return(0,u._)((0,o._)({},e,n),{activationTrigger:1})}},N=(0,c.createContext)(null);function D(e){let t=(0,c.useContext)(N);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}function O(e,t){return(0,s.E)(t.type,z,e,t)}N.displayName="MenuContext";let F=c.Fragment,A=(0,d.yV)(function(e,t){let n=(0,c.useReducer)(O,{menuState:1,buttonRef:(0,c.createRef)(),itemsRef:(0,c.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:r,itemsRef:a,buttonRef:i},o]=n,u=(0,v.T)(t);(0,b.O)([i,a],(e,t)=>{var n;o({type:1}),(0,h.sP)(t,h.tJ.Loose)||(e.preventDefault(),null==(n=i.current)||n.focus())},0===r);let l=(0,M.z)(()=>{o({type:1})}),p=(0,c.useMemo)(()=>({open:0===r,close:l}),[r,l]);return c.createElement(N.Provider,{value:n},c.createElement(w.up,{value:(0,s.E)(r,{0:w.ZM.Open,1:w.ZM.Closed})},(0,d.sY)({ourProps:{ref:u},theirProps:e,slot:p,defaultTag:F,name:"Menu"})))}),Z=(0,d.yV)(function(e,t){var n;let r=(0,y.M)(),{id:a="headlessui-menu-button-".concat(r)}=e,i=(0,l._)(e,["id"]),[o,u]=D("Menu.Button"),s=(0,v.T)(o.buttonRef,t),p=(0,f.G)(),m=(0,M.z)(e=>{switch(e.key){case g.R.Space:case g.R.Enter:case g.R.ArrowDown:e.preventDefault(),e.stopPropagation(),u({type:0}),p.nextFrame(()=>u({type:2,focus:I.T.First}));break;case g.R.ArrowUp:e.preventDefault(),e.stopPropagation(),u({type:0}),p.nextFrame(()=>u({type:2,focus:I.T.Last}))}}),h=(0,M.z)(e=>{e.key===g.R.Space&&e.preventDefault()}),b=(0,M.z)(t=>{if((0,x.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(u({type:1}),p.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),u({type:0})))}),R=(0,c.useMemo)(()=>({open:0===o.menuState}),[o]),w={ref:s,id:a,type:(0,E.f)(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===o.menuState,onKeyDown:m,onKeyUp:h,onClick:b};return(0,d.sY)({ourProps:w,theirProps:i,slot:R,defaultTag:"button",name:"Menu.Button"})}),L=d.AN.RenderStrategy|d.AN.Static,B=(0,d.yV)(function(e,t){var n,r;let a=(0,y.M)(),{id:i="headlessui-menu-items-".concat(a)}=e,o=(0,l._)(e,["id"]),[u,s]=D("Menu.Items"),m=(0,v.T)(u.itemsRef,t),x=(0,S.i)(u.itemsRef),b=(0,f.G)(),E=(0,w.oJ)(),T=null!==E?E===w.ZM.Open:0===u.menuState;(0,c.useEffect)(()=>{let e=u.itemsRef.current;e&&0===u.menuState&&e!==(null==x?void 0:x.activeElement)&&e.focus({preventScroll:!0})},[u.menuState,u.itemsRef,x]),(0,R.B)({container:u.itemsRef.current,enabled:0===u.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let P=(0,M.z)(e=>{var t,n;switch(b.dispose(),e.key){case g.R.Space:if(""!==u.searchQuery)return e.preventDefault(),e.stopPropagation(),s({type:3,value:e.key});case g.R.Enter:if(e.preventDefault(),e.stopPropagation(),s({type:1}),null!==u.activeItemIndex){let{dataRef:e}=u.items[u.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,h.wI)(u.buttonRef.current);break;case g.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),s({type:2,focus:I.T.Next});case g.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),s({type:2,focus:I.T.Previous});case g.R.Home:case g.R.PageUp:return e.preventDefault(),e.stopPropagation(),s({type:2,focus:I.T.First});case g.R.End:case g.R.PageDown:return e.preventDefault(),e.stopPropagation(),s({type:2,focus:I.T.Last});case g.R.Escape:e.preventDefault(),e.stopPropagation(),s({type:1}),(0,p.k)().nextFrame(()=>{var e;return null==(e=u.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case g.R.Tab:e.preventDefault(),e.stopPropagation(),s({type:1}),(0,p.k)().nextFrame(()=>{(0,h.EO)(u.buttonRef.current,e.shiftKey?h.TO.Previous:h.TO.Next)});break;default:1===e.key.length&&(s({type:3,value:e.key}),b.setTimeout(()=>s({type:4}),350))}}),_=(0,M.z)(e=>{e.key===g.R.Space&&e.preventDefault()}),k=(0,c.useMemo)(()=>({open:0===u.menuState}),[u]),C={"aria-activedescendant":null===u.activeItemIndex||null==(n=u.items[u.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=u.buttonRef.current)?void 0:r.id,id:i,onKeyDown:P,onKeyUp:_,role:"menu",tabIndex:0,ref:m};return(0,d.sY)({ourProps:C,theirProps:o,slot:k,defaultTag:"div",features:L,visible:T,name:"Menu.Items"})}),j=c.Fragment,G=Object.assign(A,{Button:Z,Items:B,Item:(0,d.yV)(function(e,t){let n=(0,y.M)(),{id:r="headlessui-menu-item-".concat(n),disabled:a=!1}=e,i=(0,l._)(e,["id","disabled"]),[o,u]=D("Menu.Item"),s=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,f=(0,c.useRef)(null),g=(0,v.T)(t,f);(0,m.e)(()=>{if(0!==o.menuState||!s||0===o.activationTrigger)return;let e=(0,p.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[f,s,o.menuState,o.activationTrigger,o.activeItemIndex]);let x=(0,c.useRef)({disabled:a,domRef:f});(0,m.e)(()=>{x.current.disabled=a},[x,a]),(0,m.e)(()=>{var e,t;x.current.textValue=null==(t=null==(e=f.current)?void 0:e.textContent)?void 0:t.toLowerCase()},[x,f]),(0,m.e)(()=>(u({type:5,id:r,dataRef:x}),()=>u({type:6,id:r})),[x,r]);let b=(0,M.z)(()=>{u({type:1})}),R=(0,M.z)(e=>{if(a)return e.preventDefault();u({type:1}),(0,h.wI)(o.buttonRef.current)}),w=(0,M.z)(()=>{if(a)return u({type:2,focus:I.T.Nothing});u({type:2,focus:I.T.Specific,id:r})}),E=(0,T.g)(),S=(0,M.z)(e=>E.update(e)),P=(0,M.z)(e=>{!E.wasMoved(e)||a||s||u({type:2,focus:I.T.Specific,id:r,trigger:0})}),_=(0,M.z)(e=>{E.wasMoved(e)&&!a&&s&&u({type:2,focus:I.T.Nothing})}),k=(0,c.useMemo)(()=>({active:s,disabled:a,close:b}),[s,a,b]);return(0,d.sY)({ourProps:{id:r,ref:g,role:"menuitem",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,disabled:void 0,onClick:R,onFocus:w,onPointerEnter:S,onMouseEnter:S,onPointerMove:P,onMouseMove:P,onPointerLeave:_,onMouseLeave:_},theirProps:i,slot:k,defaultTag:j,name:"Menu.Item"})})})},13649:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(27378),a=n(43795);function i(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function o(e,t){let[n,o]=(0,r.useState)(()=>i(e));return(0,a.e)(()=>{o(i(e))},[e.type,e.as]),(0,a.e)(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}},24461:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(27378);function a(e){return[e.screenX,e.screenY]}function i(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=a(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=a(t)}}}},47110:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(27378),a=n(43795),i=n(17722);function o(e){let{container:t,accept:n,walk:o,enabled:u=!0}=e,l=(0,r.useRef)(n),c=(0,r.useRef)(o);(0,r.useEffect)(()=>{l.current=n,c.current=o},[n,o]),(0,a.e)(()=>{if(!t||!u)return;let e=(0,i.r)(t);if(!e)return;let n=l.current,r=c.current,a=Object.assign(e=>n(e),{acceptNode:n}),o=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,a,!1);for(;o.nextNode();)r(o.currentNode)},[t,u,l,c])}},45183:function(e,t,n){"use strict";let r;n.d(t,{T:function(){return a},d:function(){return i}});var a=((r=a||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=null!=r?r:-1,i=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,r)=>(-1===a||!(r.length-n-1>=a))&&!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=a)&&!t.resolveDisabled(e));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}})();return -1===i?r:i}},95969:function(e,t,n){"use strict";var r=n(27378);t.Z=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}},37783:function(e,t,n){"use strict";var r=n(27378);t.Z=function(e){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),r.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}}}]);