1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7539],{357:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(8081)},8081:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],s=!1,c=-1;function d(){s&&r&&(s=!1,r.length?u=r.concat(u):c=-1,u.length&&f())}function f(){if(!s){var e=l(d);s=!0;for(var t=u.length;t;){for(r=u,u=[];++c<t;)r&&r[c].run();c=-1,t=u.length}r=null,s=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||s||l(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},5581:function(e,t,n){"use strict";let r,o,i,a;n.d(t,{Vq:function(){return ep},ZR:function(){return eh},EM:function(){return ef},$N:function(){return em}});var l=n(2265),u=n(7551),s=n(635),c=n(3746),d=n(6584),f=n(4524),h=n(1463),m=n(8371),p=n(9110),v=n(6832),g=n(4707),b=n(4515),w=n(3856),E=n(1469),y=n(6216),M=n(3509),T=n(7593),C=n(5583),x=n(3600),P=n(3184),F=n(9299);function O(){let e=(0,l.useRef)(!1);return(0,h.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var L=n(5537),S=n(5959);function k(e,t){let n=(0,l.useRef)([]),r=(0,d.z)(e);(0,l.useEffect)(()=>{let e=[...n.current];
1for(let[o,i]of t.entries())if(n.current[o]!==i){let o=r(t,e);return n.current=t,o}},[r,...t])}var R=n(9080),A=n(9309);let I=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||I[0]===e.target)return;let t=e.target;t=t.closest(A.y),I.unshift(null!=t?t:e.target),(I=I.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var D=n(8043);function N(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var H=((r=H||{})[r.None=0]="None",r[r.InitialFocus=1]="InitialFocus",r[r.TabLock=2]="TabLock",r[r.FocusLock=4]="FocusLock",r[r.RestoreFocus=8]="RestoreFocus",r[r.AutoFocus=16]="AutoFocus",r);let z=Object.assign((0,x.yV)(function(e,t){let n=(0,l.useRef)(null),r=(0,E.T)(n,t),{initialFocus:o,initialFocusFallback:i,containers:a,features:u=15,...f}=e;(0,w.H)()||(u=0);let h=(0,v.i)(n);!function(e,t){let{ownerDocument:n}=t,r=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,l.useRef)(I.slice());return k((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,D.Y)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=I.slice())},[e,I,t]),(0,d.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);k(()=>{r||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,A.C5)(o())},[r]),(0,L.L)(()=>{r&&(0,A.C5)(o())})}(u,{ownerDocument:h});let m=function(e,t){let{ownerDocument:n,container:r,initialFocus:o,initialFocusFallback:i}=t,a=(0,l.useRef)(null),u=(0,c.g)(!!(1&e),"focus-trap#initial-focus"),s=O();return k(()=>{if(0===e)return;if(!u){null!=i&&i.current&&(0,A.C5)(i.current);return}let t=r.current;t&&(0,D.Y)(()=>{if(!s.current)return;let r=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){a.current=r;return}}else if(t.contains(r)){a.current=r;return}if(null!=o&&o.current)(0,A.C5)(o.current);else{if(16&e){if((0,A.jA)(t,A.TO.First|A.TO.AutoFocus)!==A.fE.Error)return}else if((0,A.jA)(t,A.TO.First)!==A.fE.Error)return;if(null!=i&&i.current&&((0,A.C5)(i.current),(null==n?void 0:n.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=null==n?void 0:n.activeElement})},[i,u,e]),a}(u,{ownerDocument:h,container:n,initialFocus:o,initialFocusFallback:i});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:i}=t,a=O(),l=!!(4&e);(0,s.O)(null==n?void 0:n.defaultView,"focus",e=>{if(!l||!a.current)return;let t=N(o);r.current instanceof HTMLElement&&t.add(r.current);let n=i.current;if(!n)return;let u=e.target;u&&u instanceof HTMLElement?B(t,u)?(i.current=u,(0,A.C5)(u)):(e.preventDefault(),e.stopPropagation(),(0,A.C5)(n)):(0,A.C5)(i.current)},!0)}(u,{ownerDocument:h,container:n,containers:a,previousActiveElement:m});let p=(0,S.l)(),g=(0,d.z)(e=>{let t=n.current;t&&(0,C.E)(p.current,{[S.N.Forwards]:()=>{(0,A.jA)(t,A.TO.First,{skipElements:[e.relatedTarget,i]})},[S.N.Backwards]:()=>{(0,A.jA)(t,A.TO.Last,{skipElements:[e.relatedTarget,i]})}})}),b=(0,c.g)(!!(2&u),"focus-trap#tab-lock"),y=(0,F.G)(),M=(0,l.useRef)(!1);return l.createElement(l.Fragment,null,b&&l.createElement(R._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:R.x.Focusable}),(0,x.sY)({ourProps:{ref:r,onKeyDown(e){"Tab"==e.key&&(M.current=!0,y.requestAnimationFrame(()=>{M.current=!1}))},onBlur(e){if(!(4&u))return;let t=N(a);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(B(t,r)||(M.current?(0,A.jA)(n.current,(0,C.E)(p.current,{[S.N.Forwards]:()=>A.TO.Next,[S.N.Backwards]:()=>A.TO.Previous})|A.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,A.C5)(e.target)))}},theirProps:f,defaultTag:"div",name:"FocusTrap"}),b&&l.createElement(R._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:g,features:R.x.Focusable}))}),{features:H});function B(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var V=n(2934),Y=n(8703),j=n(9072),Z=n(2585);function _(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:G)!==l.Fragment||1===l.Children.count(e.children)}let W=(0,l.createContext)(null);W.displayName="TransitionContext";var U=((o=U||{}).Visible="visible",o.Hidden="hidden",o);let q=(0,l.createContext)(null);function J(e){return"children"in e?J(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function X(e,t){let n=(0,Y.E)(e),r=(0,l.useRef)([]),o=O(),i=(0,F.G)(),a=(0,d.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.l4.Hidden,a=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==a&&((0,C.E)(t,{[x.l4.Unmount](){r.current.splice(a,1)},[x.l4.Hidden](){r.current[a].state="hidden"}}),i.microTask(()=>{var e;!J(r)&&o.current&&(null==(e=n.current)||e.call(n))}))}),u=(0,d.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>a(e,x.l4.Unmount)}),s=(0,l.useRef)([]),c=(0,l.useRef)(Promise.resolve()),f=(0,l.useRef)({enter:[],leave:[]}
1),h=(0,d.z)((e,n,r)=>{s.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{s.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(f.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?c.current=c.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),m=(0,d.z)((e,t,n)=>{Promise.all(f.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=s.current.shift())||e()}).then(()=>n(t))});return(0,l.useMemo)(()=>({children:r,register:u,unregister:a,onStart:h,onStop:m,wait:c,chains:f}),[u,a,r,h,m,f,c])}q.displayName="NestingContext";let G=l.Fragment,K=x.VN.RenderStrategy,$=(0,x.yV)(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,a=(0,l.useRef)(null),u=_(e),s=(0,E.T)(...u?[a,t]:null===t?[]:[t]);(0,w.H)();let c=(0,M.oJ)();if(void 0===n&&null!==c&&(n=(c&M.ZM.Open)===M.ZM.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,m]=(0,l.useState)(n?"visible":"hidden"),p=X(()=>{n||m("hidden")}),[v,g]=(0,l.useState)(!0),b=(0,l.useRef)([n]);(0,h.e)(()=>{!1!==v&&b.current[b.current.length-1]!==n&&(b.current.push(n),g(!1))},[b,n]);let y=(0,l.useMemo)(()=>({show:n,appear:r,initial:v}),[n,r,v]);(0,h.e)(()=>{n?m("visible"):J(p)||null===a.current||m("hidden")},[n,p]);let T={unmount:o},C=(0,d.z)(()=>{var t;v&&g(!1),null==(t=e.beforeEnter)||t.call(e)}),P=(0,d.z)(()=>{var t;v&&g(!1),null==(t=e.beforeLeave)||t.call(e)});return l.createElement(q.Provider,{value:p},l.createElement(W.Provider,{value:y},(0,x.sY)({ourProps:{...T,as:l.Fragment,children:l.createElement(Q,{ref:s,...T,...i,beforeEnter:C,beforeLeave:P})},theirProps:{},defaultTag:l.Fragment,features:K,visible:"visible"===f,name:"Transition"})))}),Q=(0,x.yV)(function(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:a,beforeLeave:u,afterLeave:s,enter:c,enterFrom:f,enterTo:m,entered:p,leave:v,leaveFrom:g,leaveTo:b,...y}=e,[T,P]=(0,l.useState)(null),F=(0,l.useRef)(null),O=_(e),L=(0,E.T)(...O?[F,t,P]:null===t?[]:[t]),S=null==(n=y.unmount)||n?x.l4.Unmount:x.l4.Hidden,{show:k,appear:R,initial:A}=function(){let e=(0,l.useContext)(W);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,D]=(0,l.useState)(k?"visible":"hidden"),N=function(){let e=(0,l.useContext)(q);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:H,unregister:z}=N;(0,h.e)(()=>H(F),[H,F]),(0,h.e)(()=>{if(S===x.l4.Hidden&&F.current){if(k&&"visible"!==I){D("visible");return}return(0,C.E)(I,{hidden:()=>z(F),visible:()=>H(F)})}},[I,F,H,z,k,S]);let B=(0,w.H)();(0,h.e)(()=>{if(O&&B&&"visible"===I&&null===F.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[F,I,B,O]);let V=A&&!R,Y=R&&k&&A,U=(0,l.useRef)(!1),$=X(()=>{U.current||(D("hidden"),z(F))},N),Q=(0,d.z)(e=>{U.current=!0,$.onStart(F,e?"enter":"leave",e=>{"enter"===e?null==i||i():"leave"===e&&(null==u||u())})}),ee=(0,d.z)(e=>{let t=e?"enter":"leave";U.current=!1,$.onStop(F,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==s||s())}),"leave"!==t||J($)||(D("hidden"),z(F))});(0,l.useEffect)(()=>{O&&o||(Q(k),ee(k))},[k,O,o]);let et=!(!o||!O||!B||V),[,en]=(0,j.Y)(et,T,k,{start:Q,end:ee}),er=(0,x.oA)({ref:L,className:(null==(r=(0,Z.A)(y.className,Y&&c,Y&&f,en.enter&&c,en.enter&&en.closed&&f,en.enter&&!en.closed&&m,en.leave&&v,en.leave&&!en.closed&&g,en.leave&&en.closed&&b,!en.transition&&k&&p))?void 0:r.trim())||void 0,...(0,j.X)(en)}),eo=0;return"visible"===I&&(eo|=M.ZM.Open),"hidden"===I&&(eo|=M.ZM.Closed),en.enter&&(eo|=M.ZM.Opening),en.leave&&(eo|=M.ZM.Closing),l.createElement(q.Provider,{value:$},l.createElement(M.up,{value:eo},(0,x.sY)({ourProps:er,theirProps:y,defaultTag:G,features:K,visible:"visible"===I,name:"Transition.Child"})))}),ee=(0,x.yV)(function(e,t){let n=null!==(0,l.useContext)(W),r=null!==(0,M.oJ)();return l.createElement(l.Fragment,null,!n&&r?l.createElement($,{ref:t,...e}):l.createElement(Q,{ref:t,...e}))}),et=Object.assign($,{Child:ee,Root:$});var en=((i=en||{})[i.Open=0]="Open",i[i.Closed=1]="Closed",i),er=((a=er||{})[a.SetTitleId=0]="SetTitleId",a);let eo={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ei=(0,l.createContext)(null);function ea(e){let t=(0,l.useContext)(ei);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,ea),t}return t}function el(e,t){return(0,C.E)(t.type,eo,e,t)}ei.displayName="DialogContext";let eu=(0,x.yV)(function(e,t){let n=(0,l.useId)(),{id:r="headlessui-dialog-".concat(n),open:o,onClose:i,initialFocus:a,role:C="dialog",autoFocus:
1F=!0,__demoMode:O=!1,unmount:L=!1,...S}=e,k=(0,l.useRef)(!1);C="dialog"===C||"alertdialog"===C?C:(k.current||(k.current=!0,console.warn("Invalid role [".concat(C,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let R=(0,M.oJ)();void 0===o&&null!==R&&(o=(R&M.ZM.Open)===M.ZM.Open);let A=(0,l.useRef)(null),I=(0,E.T)(A,t),D=(0,v.i)(A),N=o?0:1,[B,Y]=(0,l.useReducer)(el,{titleId:null,descriptionId:null,panelRef:(0,l.createRef)()}),j=(0,d.z)(()=>i(!1)),Z=(0,d.z)(e=>Y({type:0,id:e})),_=!!(0,w.H)()&&0===N,[W,U]=(0,V.kF)(),q=(0,g.H1)(),{resolveContainers:J}=(0,g.vs)({mainTreeNode:q,portals:W,defaultContainers:[{get current(){var X;return null!=(X=B.panelRef.current)?X:A.current}}]}),G=null!==R&&(R&M.ZM.Closing)===M.ZM.Closing;(0,f.s)(!O&&!G&&_,{allowed:(0,d.z)(()=>{var e,t;return[null!=(t=null==(e=A.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,d.z)(()=>{var e;return[null!=(e=null==q?void 0:q.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),(0,p.O)(_,J,e=>{e.preventDefault(),j()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,c.g)(e,"escape");(0,s.O)(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===u.R.Escape&&n(e))})}(_,null==D?void 0:D.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),j()}),(0,b.P)(!O&&!G&&_,D,J),(0,m.m)(_,A,j);let[K,$]=(0,P.fw)(),Q=(0,l.useMemo)(()=>[{dialogState:N,close:j,setTitleId:Z,unmount:L},B],[N,B,j,Z,L]),ee=(0,l.useMemo)(()=>({open:0===N}),[N]),et={ref:I,id:r,role:C,tabIndex:-1,"aria-modal":O?void 0:0===N||void 0,"aria-labelledby":B.titleId,"aria-describedby":K,unmount:L},en=!function(){var e;let[t]=(0,l.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,l.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,h.e)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),er=H.None;return _&&!O&&(er|=H.RestoreFocus,er|=H.TabLock,F&&(er|=H.AutoFocus),en&&(er|=H.InitialFocus)),l.createElement(M.uu,null,l.createElement(T.O,{force:!0},l.createElement(V.h_,null,l.createElement(ei.Provider,{value:Q},l.createElement(V.wA,{target:A},l.createElement(T.O,{force:!1},l.createElement($,{slot:ee},l.createElement(U,null,l.createElement(z,{initialFocus:a,initialFocusFallback:A,containers:J,features:er},l.createElement(y.Z,{value:j},(0,x.sY)({ourProps:et,theirProps:S,slot:ee,defaultTag:es,features:ec,visible:0===N,name:"Dialog"})))))))))))}),es="div",ec=x.VN.RenderStrategy|x.VN.Static,ed=(0,x.yV)(function(e,t){let{transition:n=!1,open:r,...o}=e,i=(0,M.oJ)(),a=e.hasOwnProperty("open")||null!==i,u=e.hasOwnProperty("onClose");if(!a&&!u)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!u)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!i&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==r||n)&&!o.static?l.createElement(g.Jl,null,l.createElement(et,{show:r,transition:n,unmount:o.unmount},l.createElement(eu,{ref:t,...o}))):l.createElement(g.Jl,null,l.createElement(eu,{ref:t,open:r,...o}))}),ef=(0,x.yV)(function(e,t){let n=(0,l.useId)(),{id:r="headlessui-dialog-panel-".concat(n),transition:o=!1,...i}=e,[{dialogState:a,unmount:u},s]=ea("Dialog.Panel"),c=(0,E.T)(t,s.panelRef),f=(0,l.useMemo)(()=>({open:0===a}),[a]),h=(0,d.z)(e=>{e.stopPropagation()});return l.createElement(o?ee:l.Fragment,{...o?{unmount:u}:{}},(0,x.sY)({ourProps:{ref:c,id:r,onClick:h},theirProps:i,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),eh=(0,x.yV)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:i}]=ea("Dialog.Backdrop"),a=(0,l.useMemo)(()=>({open:0===o}),[o]);return l.createElement(n?ee:l.Fragment,{...n?{unmount:i}:{}},(0,x.sY)({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),em=(0,x.yV)(function(e,t){let n=(0,l.useId)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:i,setTitleId:a}]=ea("Dialog.Title"),u=(0,E.T)(t);(0,l.useEffect)(()=>(a(r),()=>a(null)),[r,a]);let s=(0,l.useMemo)(()=>({open:0===i}),[i]);return(0,x.sY)({ourProps:{ref:u,id:r},theirProps:o,slot:s,defaultTag:"h2",name:"Dialog.Title"})}),ep=Object.assign(ed,{Panel:ef,Title:em,Description:P.dk})},2934:function(e,t,n){"use strict";n.d(t,{h_:function(){return M},kF:function(){return w},wA:function(){return y}});var r=n(2265),o=n(4887),i=n(6584),a=n(1463),l=n(5537),u=n(6832),s=n(3856),c=n(1469),d=n(7593),f=n(4462),h=n(3600);let m=r.Fragment,p=(0,h.yV)(function(e,t){let n=(0,r.useRef)(null),i=(0,c.T)((0,c.h)(e=>{n.current=e}),t),p=(0,u.i)(n),v=function(e){let t=(0,d.n)(),n=(0,r.useContext)(g),o=(0,u.i)(e),[i,a]=(0,r.useState)(()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(f.O.isServer)return null;let r=null==o?void 0:o.getElementById("headlessui-portal-root");
1if(r)return r;if(null===o)return null;let i=o.createElement("div");return i.setAttribute("id","headlessui-portal-root"),o.body.appendChild(i)});return(0,r.useEffect)(()=>{null!==i&&(null!=o&&o.body.contains(i)||null==o||o.body.appendChild(i))},[i,o]),(0,r.useEffect)(()=>{t||null!==n&&a(n.current)},[n,a,t]),i}(n),[w]=(0,r.useState)(()=>{var e;return f.O.isServer?null:null!=(e=null==p?void 0:p.createElement("div"))?e:null}),E=(0,r.useContext)(b),y=(0,s.H)();return(0,a.e)(()=>{!v||!w||v.contains(w)||(w.setAttribute("data-headlessui-portal",""),v.appendChild(w))},[v,w]),(0,a.e)(()=>{if(w&&E)return E.register(w)},[E,w]),(0,l.L)(()=>{var e;v&&w&&(w instanceof Node&&v.contains(w)&&v.removeChild(w),v.childNodes.length<=0&&(null==(e=v.parentElement)||e.removeChild(v)))}),y&&v&&w?(0,o.createPortal)((0,h.sY)({ourProps:{ref:i},theirProps:e,slot:{},defaultTag:m,name:"Portal"}),w):null}),v=r.Fragment,g=(0,r.createContext)(null),b=(0,r.createContext)(null);function w(){let e=(0,r.useContext)(b),t=(0,r.useRef)([]),n=(0,i.z)(n=>(t.current.push(n),e&&e.register(n),()=>o(n))),o=(0,i.z)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),a=(0,r.useMemo)(()=>({register:n,unregister:o,portals:t}),[n,o,t]);return[t,(0,r.useMemo)(()=>function(e){let{children:t}=e;return r.createElement(b.Provider,{value:a},t)},[a])]}let E=(0,h.yV)(function(e,t){let n=(0,c.T)(t),{enabled:o=!0,...i}=e;return o?r.createElement(p,{...i,ref:n}):(0,h.sY)({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:m,name:"Portal"})}),y=(0,h.yV)(function(e,t){let{target:n,...o}=e,i={ref:(0,c.T)(t)};return r.createElement(g.Provider,{value:n},(0,h.sY)({ourProps:i,theirProps:o,defaultTag:v,name:"Popover.Group"}))}),M=Object.assign(E,{Group:y})},635:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(2265),o=n(8703);function i(e,t,n,i){let a=(0,o.E)(n);(0,r.useEffect)(()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)},[e,t,i])}},4524:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(777),o=n(1498),i=n(3746),a=n(1463);let l=new Map,u=new Map;function s(e){var t;let n=null!=(t=u.get(e))?t:0;return u.set(e,n+1),0!==n||(l.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=u.get(e))?t:1;if(1===n?u.delete(e):u.set(e,n-1),1!==n)return;let r=l.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,l.delete(e))})(e)}function c(e){let{allowed:t,disallowed:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=(0,i.g)(e,"inert-others");(0,a.e)(()=>{var e,i;if(!l)return;let a=(0,r.k)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&a.add(s(t));let u=null!=(i=null==t?void 0:t())?i:[];for(let e of u){if(!e)continue;let t=(0,o.r)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)u.some(t=>e.contains(t))||a.add(s(e));n=n.parentElement}}return a.dispose},[l,t,n])}},3746:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var r=n(2265);class o extends Map{get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}constructor(e){super(),this.factory=e}}var i=n(8528),a=n(1463),l=n(9258);let u=new o(()=>(0,i.M)(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}}));function s(e,t){let n=u.get(t),o=(0,r.useId)(),i=(0,l.o)(n);if((0,a.e)(()=>{if(e)return n.dispatch("ADD",o),()=>n.dispatch("REMOVE",o)},[n,e]),!e)return!1;let s=i.indexOf(o),c=i.length;return -1===s&&(s=c,c+=1),s===c-1}},8371:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(2265),o=n(777),i=n(8703);function a(e,t,n){let a=(0,i.E)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,r.useEffect)(()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let r=(0,o.k)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>a.current(n));e.observe(n),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>a.current(n));e.observe(n),r.add(()=>e.disconnect())}return()=>r.dispose()},[t,a,e])}},5537:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2265),o=n(8043),i=n(6584);function a(e){let t=(0,i.z)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,o.Y)(()=>{n.current&&t()})}),[t])}},9110:function(e,t,n){"use strict";n.d(t,{O:function(){return c}});var r=n(2265),o=n(9309),i=n(1555),a=n(8703);function l(e,t,n,o){let i=(0,a.E)(n);(0,r.useEffect)(()=>
1{if(e)return document.addEventListener(t,n,o),()=>document.removeEventListener(t,n,o);function n(e){i.current(e)}},[e,t,o])}var u=n(3746),s=n(5149);function c(e,t,n){let c=(0,u.g)(e,"outside-click"),d=(0,a.E)(n),f=(0,r.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(r)||e.composed&&e.composedPath().includes(n)))return;return(0,o.sP)(r,o.tJ.Loose)||-1===r.tabIndex||e.preventDefault(),d.current(e,r)}},[d,t]),h=(0,r.useRef)(null);l(c,"pointerdown",e=>{var t,n;h.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),l(c,"mousedown",e=>{var t,n;h.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target},!0),l(c,"click",e=>{(0,i.tq)()||h.current&&(f(e,()=>h.current),h.current=null)},!0);let m=(0,r.useRef)({x:0,y:0});l(c,"touchstart",e=>{m.current.x=e.touches[0].clientX,m.current.y=e.touches[0].clientY},!0),l(c,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-m.current.x)>=30||Math.abs(t.y-m.current.y)>=30))return f(e,()=>e.target instanceof HTMLElement?e.target:null)},!0),(0,s.s)(c,"blur",e=>f(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},6832:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(2265),o=n(1498);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>(0,o.r)(...t),[...t])}},4707:function(e,t,n){"use strict";n.d(t,{H1:function(){return d},Jl:function(){return c},vs:function(){return u}});var r=n(2265),o=n(9080),i=n(1498),a=n(6584),l=n(6832);function u(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,l.i)(n),o=(0,a.z)(()=>{var o,i;let a=[];for(let t of e)null!==t&&(t instanceof HTMLElement?a.push(t):"current"in t&&t.current instanceof HTMLElement&&a.push(t.current));if(null!=t&&t.current)for(let e of t.current)a.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(i=null==n?void 0:n.getRootNode())?void 0:i.host))||a.some(t=>e.contains(t))||a.push(e));return a});
1return{resolveContainers:o,contains:(0,a.z)(e=>o().some(t=>t.contains(e)))}}let s=(0,r.createContext)(null);function c(e){let{children:t,node:n}=e,[a,l]=(0,r.useState)(null),u=d(null!=n?n:a);return r.createElement(s.Provider,{value:u},t,null===u&&r.createElement(o._,{features:o.x.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,i.r)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){l(r);break}}}}))}function d(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,r.useContext)(s))?e:t}},4515:function(e,t,n){"use strict";n.d(t,{P:function(){return c}});var r=n(9258),o=n(1463),i=n(777),a=n(8528),l=n(1555);let u=(0,a.M)(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,i.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let t,{doc:n,d:r,meta:o}=e,a={doc:n,d:r,meta:function(e){let t={};for(let n of e)Object.assign(t,n(t));return t}(o)},u=[(0,l.gn)()?{before(e){let{doc:t,d:n,meta:r}=e;function o(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=(0,i.k)();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,a=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),i=t.querySelector(r);i&&!o(i)&&(a=i)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(o(e.target)){let t=e.target;for(;t.parentElement&&o(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement&&"INPUT"!==e.target.tagName){if(o(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{},{before(e){var n;let{doc:r}=e,o=r.documentElement;t=Math.max(0,(null!=(n=r.defaultView)?n:window).innerWidth-o.clientWidth)},after(e){let{doc:n,d:r}=e,o=n.documentElement,i=Math.max(0,o.clientWidth-o.offsetWidth),a=Math.max(0,t-i);r.style(o,"paddingRight","".concat(a,"px"))}},{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}];u.forEach(e=>{let{before:t}=e;return null==t?void 0:t(a)}),u.forEach(e=>{let{after:t}=e;return null==t?void 0:t(a)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});u.subscribe(()=>{let e=u.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&u.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&u.dispatch("TEARDOWN",n)}});var s=n(3746);function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>({containers:[]}),i=(0,r.o)(u),a=t?i.get(t):void 0;a&&a.count,(0,o.e)(()=>{if(!(!t||!e))return u.dispatch("PUSH",t,n),()=>u.dispatch("POP",t,n)},[e,t])}((0,s.g)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}},3856:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r,o=n(2265),i=n(4462);function a(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(o,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,l]=o.useState(i.O.isHandoffComplete);return a&&!1===i.O.isHandoffComplete&&l(!1),o.useEffect(()=>{!0!==a&&l(!0)},[a]),o.useEffect(()=>i.O.handoff(),[]),!t&&a}},9258:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(2265);function o(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}},5959:function(e,t,n){"use strict";let r;n.d(t,{N:function(){return a},l:function(){return l}});var o=n(2265),i=n(5149),a=((r=a||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function l(){let e=(0,o.useRef)(0);return(0,i.s)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)},!0),e}},9072:function(e,t,n){"use strict";let r;n.d(t,{X:function(){return s},Y:function(){return c}});var o=n(2265),i=n(777),a=n(9299),l=n(1463),u=((r=u||{})[r.None=0]="None",r[r.Closed=1]="Closed",r[r.Enter=2]="Enter",r[r.Leave=4]="Leave",r);function s(e){let t={};for(let n in e)!0===e[n]&&(t["data-".concat(n)]="");return t}function c(e,t,n,r){let[u,s]=(0,o.useState)(n),{hasFlag:c,addFlag:d,removeFlag:f}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,o.useState)(e),r=(0,o.useCallback)(e=>n(e),[t]),i=(0,o.useCallback)(e=>n(t=>t|e),[t]),a=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:a,removeFlag:(0,o.useCallback)(e=>n(t=>t&~e),[n]),toggleFlag:(0,o.useCallback)(e=>n(t=>t^e),[n])}}(e&&u?3:0),h=(0,o.useRef)(!1),m=(0,o.useRef)(!1),p=(0,a.G)();return(0,l.e)(()=>{var o;if(e){if(n&&s(!0),!t){n&&d(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,t){let{prepare:n,run:r,done:o,inFlight:a}=t,l=(0,i.k)();return function(e,t){let{inFlight:n,prepare:r}=t;if(null!=n&&n.current){r();return}let o=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=o}(e,{prepare:n,inFlight:a}),l.nextFrame(()=>{r(),l.requestAnimationFrame(()=>{l.add(function(e,t){let n=(0,i.k)();if(!e)return n.dispose;let r=!1;n.add(()=>{r=!0});let o=e.getAnimations().filter(e=>e instanceof CSSTransition);return 0===o.length?t():Promise.allSettled(o.map(e=>e.finished)).then(()=>{r||t()}),n.dispose}(e,o))})}),l.dispose}(t,{inFlight:h,prepare(){m.current?m.current=!1:m.current=h.current,h.current=!0,m.current||(n?(d(3),f(4)):(d(4),f(2)))},run(){m.current?n?(f(3),d(4)):(f(4),d(3)):n?f(1):d(1)},done(){var e;m.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(h.current=!1,f(7),n||s(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,p]),e?[u,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},5149:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var r=n(2265),o=n(8703);function i(e,t,n,i){let a=(0,o.E)(n);(0,r.useEffect)(()=>
1{if(e)return window.addEventListener(t,n,i),()=>window.removeEventListener(t,n,i);function n(e){a.current(e)}},[e,t,i])}},6216:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265);let o=(0,r.createContext)(()=>{});function i(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}},3509:function(e,t,n){"use strict";let r;n.d(t,{ZM:function(){return a},oJ:function(){return l},up:function(){return u},uu:function(){return s}});var o=n(2265);let i=(0,o.createContext)(null);i.displayName="OpenClosedContext";var a=((r=a||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function l(){return(0,o.useContext)(i)}function u(e){let{value:t,children:n}=e;return o.createElement(i.Provider,{value:t},n)}function s(e){let{children:t}=e;return o.createElement(i.Provider,{value:null},t)}},7593:function(e,t,n){"use strict";n.d(t,{O:function(){return a},n:function(){return i}});var r=n(2265);let o=(0,r.createContext)(!1);function i(){return(0,r.useContext)(o)}function a(e){return r.createElement(o.Provider,{value:e.force},e.children)}},1555:function(e,t,n){"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return o}})},8528:function(e,t,n){"use strict";function r(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var o=arguments.length,i=Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let l=t[e].call(n,...i);l&&(n=l,r.forEach(e=>e()))}}}n.d(t,{M:function(){return r}})},4573:function(e,t,n){"use strict";var r=n(2265);let o=r.forwardRef(function(e,t){let{title:n,titleId:o,...i}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},i),n?r.createElement("title",{id:o},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});t.Z=o},965:function(e,t,n){"use strict";var r={};!function e(t,n,r,o){var i,a,l,u,s,c,d,f,h,m,p,v=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),g="function"==typeof Path2D&&"function"==typeof DOMMatrix;function b(){}function w(e){var r=n.exports.Promise,o=void 0!==r?r:t.Promise;return"function"==typeof o?new o(e):(e(b,b),null)}var E=(i=function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();try{n.createPattern(r,"no-repeat")}catch(e){return!1}return!0}(),a=new Map,{transform:function(e){if(i)return e;if(a.has(e))return a.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),a.set(e,t),t},clear:function(){a.clear()}}),y=(s=Math.floor(1e3/60),c={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(l=function(e){var t=Math.random();return c[t]=requestAnimationFrame(function n(r){d===r||d+s-1<r?(d=r,delete c[t],e()):c[t]=requestAnimationFrame(n)}),t},u=function(e){c[e]&&cancelAnimationFrame(c[e])}):(l=function(e){return setTimeout(e,s)},u=function(e){return clearTimeout(e)}),{frame:l,cancel:u}),M=(m={},function(){if(f)return f;if(!r&&v){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{f=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",e),null}!function(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(n,r,o){if(h)return t(n,null),h;var i=Math.random().toString(36).slice(2);return h=w(function(r){function a(t){t.data.callback===i&&(delete m[i],e.removeEventListener("message",a),h=null,E.clear(),o(),r())}e.addEventListener("message",a),t(n,i),m[i]=a.bind(null,{data:{callback:i}})})},e.reset=function(){for(var t in e.postMessage({reset:!0}),m)m[t](),delete m[t]}}(f)}return f}),T={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};
1function C(e,t,n){var r;return r=e&&null!=e[t]?e[t]:T[t],n?n(r):r}function x(e){return e<0?0:Math.floor(e)}function P(e){return parseInt(e,16)}function F(e){return e.map(O)}function O(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:P(t.substring(0,2)),g:P(t.substring(2,4)),b:P(t.substring(4,6))}}function L(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function S(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function k(e,n){var i,a=!e,l=!!C(n||{},"resize"),u=!1,s=C(n,"disableForReducedMotion",Boolean),c=v&&C(n||{},"useWorker")?M():null,d=a?L:S,f=!!e&&!!c&&!!e.__confetti_initialized,h="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function m(n){var m,p=s||C(n,"disableForReducedMotion",Boolean),v=C(n,"zIndex",Number);if(p&&h)return w(function(e){e()});a&&i?e=i.canvas:a&&!e&&((m=document.createElement("canvas")).style.position="fixed",m.style.top="0px",m.style.left="0px",m.style.pointerEvents="none",m.style.zIndex=v,e=m,document.body.appendChild(e)),l&&!f&&d(e);var b={width:e.width,height:e.height};function M(){if(c){var t={getBoundingClientRect:function(){if(!a)return e.getBoundingClientRect()}};d(t),c.postMessage({resize:{width:t.width,height:t.height}});return}b.width=b.height=null}function T(){i=null,l&&(u=!1,t.removeEventListener("resize",M)),a&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,f=!1)}return(c&&!f&&c.init(e),f=!0,c&&(e.__confetti_initialized=!0),l&&!u&&(u=!0,t.addEventListener("resize",M,!1)),c)?c.fire(n,b,T):function(t,n,a){for(var l,u,s,c,f,h,m,p=C(t,"particleCount",x),v=C(t,"angle",Number),b=C(t,"spread",Number),M=C(t,"startVelocity",Number),T=C(t,"decay",Number),P=C(t,"gravity",Number),O=C(t,"drift",Number),L=C(t,"colors",F),S=C(t,"ticks",Number),k=C(t,"shapes"),R=C(t,"scalar"),A=!!C(t,"flat"),I=((l=C(t,"origin",Object)).x=C(l,"x",Number),l.y=C(l,"y",Number),l),D=p,N=[],H=e.width*I.x,z=e.height*I.y;D--;)N.push(function(e){var t=e.angle*(Math.PI/180),n=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*n-Math.random()*n),tiltAngle:(.5*Math.random()+.25)
1*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}({x:H,y:z,angle:v,spread:b,startVelocity:M,color:L[D%L.length],shape:k[Math.floor(Math.random()*(k.length-0))+0],ticks:S,decay:T,gravity:P,drift:O,scalar:R,flat:A}));return i?i.addFettis(N):(u=e,f=N.slice(),h=u.getContext("2d"),m=w(function(e){function t(){s=c=null,h.clearRect(0,0,n.width,n.height),E.clear(),a(),e()}s=y.frame(function e(){r&&!(n.width===o.width&&n.height===o.height)&&(n.width=u.width=o.width,n.height=u.height=o.height),n.width||n.height||(d(u),n.width=u.width,n.height=u.height),h.clearRect(0,0,n.width,n.height),(f=f.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n,r,o,i,a,l,u,s,c,d,f,h,m,p,v,b,w=t.tick++/t.totalTicks,y=t.x+t.random*t.tiltCos,M=t.y+t.random*t.tiltSin,T=t.wobbleX+t.random*t.tiltCos,C=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-w)+")",e.beginPath(),g&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill((n=t.shape.path,r=t.shape.matrix,o=t.x,i=t.y,a=.1*Math.abs(T-y),l=.1*Math.abs(C-M),u=Math.PI/10*t.wobble,s=new Path2D(n),(c=new Path2D).addPath(s,new DOMMatrix(r)),(d=new Path2D).addPath(c,new DOMMatrix([Math.cos(u)*a,Math.sin(u)*a,-Math.sin(u)*l,Math.cos(u)*l,o,i])),d));else if("bitmap"===t.shape.type){var x=Math.PI/10*t.wobble,P=.1*Math.abs(T-y),F=.1*Math.abs(C-M),O=t.shape.bitmap.width*t.scalar,L=t.shape.bitmap.height*t.scalar,S=new DOMMatrix([Math.cos(x)*P,Math.sin(x)*P,-Math.sin(x)*F,Math.cos(x)*F,t.x,t.y]);S.multiplySelf(new DOMMatrix(t.shape.matrix));var k=e.createPattern(E.transform(t.shape.bitmap),"no-repeat");k.setTransform(S),e.globalAlpha=1-w,e.fillStyle=k,e.fillRect(t.x-O/2,t.y-L/2,O,L),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(T-y)*t.ovalScalar,Math.abs(C-M)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(f=t.x,h=t.y,m=Math.abs(T-y)*t.ovalScalar,p=Math.abs(C-M)*t.ovalScalar,v=Math.PI/10*t.wobble,b=2*Math.PI,e.save(),e.translate(f,h),e.rotate(v),e.scale(m,p),e.arc(0,0,1,0,b,void 0),e.restore());else if("star"===t.shape)for(var R=Math.PI/2*3,A=4*t.scalar,I=8*t.scalar,D=t.x,N=t.y,H=5,z=Math.PI/5;H--;)D=t.x+Math.cos(R)*I,N=t.y+Math.sin(R)*I,e.lineTo(D,N),R+=z,D=t.x+Math.cos(R)*A,N=t.y+Math.sin(R)*A,e.lineTo(D,N),R+=z;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(M)),e.lineTo(Math.floor(T),Math.floor(C)),e.lineTo(Math.floor(y),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(h,e)})).length?s=y.frame(e):t()}),c=t}),(i={addFettis:function(e){return f=f.concat(e),m},canvas:u,promise:m,reset:function(){s&&y.cancel(s),c&&c()}}).promise)}(n,b,T)}return m.reset=function(){c&&c.reset(),i&&i.reset()},m}function R(){return p||(p=k(null,{useWorker:!0,resize:!0})),p}n.exports=function(){return R().apply(this,arguments)},n.exports.reset=function(){R().reset()},n.exports.create=k,n.exports.shapeFromPath=function(e){if(!g)throw Error("path confetti are not supported in this browser");"string"==typeof e?r=e:(r=e.path,o=e.matrix);var t=new Path2D(r),n=document.createElement("canvas").getContext("2d");if(!o){for(var r,o,i,a,l=1e3,u=1e3,s=0,c=0,d=0;d<1e3;d+=2)for(var f=0;f<1e3;f+=2)n.isPointInPath(t,d,f,"nonzero")&&(l=Math.min(l,d),u=Math.min(u,f),s=Math.max(s,d),c=Math.max(c,f));var h=Math.min(10/(i=s-l),10/(a=c-u));o=[h,0,0,h,-Math.round(i/2+l)*h,-Math.round(a/2+u)*h]}return{type:"path",path:r,matrix:o}},n.exports.shapeFromText=function(e){var t,n=1,r="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,n="scalar"in e?e.scalar:n,o="fontFamily"in e?e.fontFamily:o,r="color"in e?e.color:r);var i=10*n,a=""+i+"px "+o,l=new OffscreenCanvas(i,i),u=l.getContext("2d");u.font=a;var s=u.measureText(t),c=Math.ceil(s.actualBoundingBoxRight+s.actualBoundingBoxLeft),d=Math.ceil(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent),f=s.actualBoundingBoxLeft+2,h=s.actualBoundingBoxAscent+2;c+=4,d+=4,(u=(l=new OffscreenCanvas(c,d)).getContext("2d")).font=a,u.fillStyle=r,u.fillText(t,f,h);var m=1/n;return{type:"bitmap",bitmap:l.transferToImageBitmap(),matrix:[m,0,0,m,-c*m/2,-d*m/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),r,!1),t.Z=r.exports,r.exports.create}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.