PageSourceSearch

https://www.homeexchange.com/_next/static/chunks/9710-c7700463ecb8d367.js

js homeexchange.com collected 2026-09-24 08:50:39 UTC 1,162,088 bytes, 67 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9710],{774:(e,t,n)=>{"use strict";n.d(t,{UC:()=>C,bL:()=>$,l9:()=>_,z3:()=>m});var r=n(34023),i=n(82669),a=n(17069),o=n(66825),s=n(98004),l=n(34233),u=n(39739),d=n(97765),c=n(22905),f=n(94799),p="Collapsible",[h,m]=(0,a.A)(p),[g,v]=h(p),y=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:i,defaultOpen:a,disabled:s,onOpenChange:l,...d}=e,[h,m]=(0,o.i)({prop:i,defaultProp:a??!1,onChange:l,caller:p});return(0,f.jsx)(g,{scope:n,disabled:s,contentId:(0,c.B)(),open:h,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),children:(0,f.jsx)(u.sG.div,{"data-state":E(h),"data-disabled":s?"":void 0,...d,ref:t})})});y.displayName=p;var b="CollapsibleTrigger",x=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,a=v(b,n);return(0,f.jsx)(u.sG.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":E(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:(0,i.mK)(e.onClick,a.onOpenToggle)})});x.displayName=b;var w="CollapsibleContent",S=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=v(w,e.__scopeCollapsible);return(0,f.jsx)(d.C,{present:n||i.open,children:({present:e})=>(0,f.jsx)(k,{...r,ref:t,present:e})})});S.displayName=w;var k=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:i,children:a,...o}=e,d=v(w,n),[c,p]=r.useState(i),h=r.useRef(null),m=(0,l.s)(t,h),g=r.useRef(0),y=g.current,b=r.useRef(0),x=b.current,S=d.open||c,k=r.useRef(S),$=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.N)(()=>{let e=h.current;if(e){$.current=$.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,b.current=t.width,k.current||(e.style.transitionDuration=$.current.transitionDuration,e.style.animationName=$.current.animationName),p(i)}},[d.open,i]),(0,f.jsx)(u.sG.div,{"data-state":E(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!S,...o,ref:m,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:S&&a})});function E(e){return e?"open":"closed"}var $=y,_=x,C=S},836:(e,t,n)=>{"use strict";n.d(t,{s:()=>o,v:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(71));return e}},955:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});let r=new Map,i=new Set;function a(){if("u"<typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let a=r.get(n.target);if(a&&(a.delete(n.propertyName),0===a.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let i=r.get(n.target);i||(i=new Set,r.set(n.target,i),n.target.addEventListener("transitioncancel",t,{once:!0})),i.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function o(e){requestAnimationFrame(()=>{for(let[e]of r)"isConnected"in e&&!e.isConnected&&r.delete(e);0===r.size?e():i.add(e)})}"u">typeof document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a))},1075:(e,t,n)=>{"use strict";n.d(t,{G:()=>o,H:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e=!1){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(16));return t}},2049:(e,t,n)=>{"use strict";n.d(t,{SE:()=>p,Nu:()=>h,p9:()=>b,$I:()=>S,SJ:()=>c,Xj:()=>v,RZ:()=>$,Jg:()=>l,NV:()=>s,ro:()=>a,tF:()=>o,cK:()=>u,ZI:()=>C,Py:()=>_,wH:()=>y,kq:()=>w,D:()=>x,Ec:()=>f});var r=n(19780);let i={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function a(e,t){return t=(0,r.yP)(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function o(e,t){return t=(0,r.yP)(t,e.calendar),e=y(e),t=y(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function s(e,t){return l(e.calendar,t.calendar)&&a(e,t)}function l(e,t){var n,r,i,a;return null!=(a=null!=(i=null==(n=e.isEqual)?void 0:n.call(e,t))?i:null==(r=t.isEqual)?void 0:r.call(t,e))?a:e.identifier===t.identifier}function u(e,t){return a(e,f(t))}let d={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};
1function c(e,t,n){let r=Math.ceil(e.calendar.toJulianDay(e)+1-(n?d[n]:function(e){let t=E.get(e);if(!t){if(Intl.Locale){let n=new Intl.Locale(e);if("getWeekInfo"in n&&(t=n.getWeekInfo()))return E.set(e,t),t.firstDay}let n=function(e){if(Intl.Locale){let t=k.get(e);return!t&&(t=new Intl.Locale(e).maximize().region)&&k.set(e,t),t}let t=e.split("-")[1];return"u"===t?void 0:t}(e);if(e.includes("-fw-")){let n=e.split("-fw-")[1].split("-")[0];t="mon"===n?{firstDay:1}:"tue"===n?{firstDay:2}:"wed"===n?{firstDay:3}:"thu"===n?{firstDay:4}:"fri"===n?{firstDay:5}:"sat"===n?{firstDay:6}:{firstDay:0}}else t=e.includes("-ca-iso8601")?{firstDay:1}:{firstDay:n&&i[n]||0};E.set(e,t)}return t.firstDay}(t)))%7;return r<0&&(r+=7),r}function f(e){return(0,r.gw)((0,r.Yd)(Date.now(),e))}function p(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function h(e,t){return m(e)-m(t)}function m(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let g=null;function v(){return null==g&&(g=new Intl.DateTimeFormat().resolvedOptions().timeZone),g}function y(e){return e.subtract({days:e.day-1})}function b(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function x(e){return y(e.subtract({months:e.month-1}))}function w(e,t,n){let r=c(e,t,n);return e.subtract({days:r})}function S(e,t,n){return w(e,t,n).add({days:6})}let k=new Map,E=new Map;function $(e,t,n){let r=e.calendar.getDaysInMonth(e);return Math.ceil((c(y(e),t,n)+r)/7)}function _(e,t){return e&&t?0>=e.compare(t)?e:t:e||t}function C(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}},2713:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(34023);let i="u">typeof document?r.useLayoutEffect:()=>{}},3194:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(43111),i=n(86614);function a(e,t){return(0,i.t)(e,r.$,t)}},3351:(e,t,n)=>{"use strict";var r=n(29252);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
1;return n.PropTypes=n,n}},3559:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});class r{constructor(){this.idMap=new Map}add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}},3768:(e,t,n)=>{"use strict";n.d(t,{BF:()=>c,FP:()=>p,J9:()=>h,Kg:()=>f,Zb:()=>u,du:()=>l,vB:()=>d});var r=n(24811),i=n(99097),a=n(97057),o=n(20290);function s(e,t,n){return Math.floor(e/t)!==n}function l(e,t){return t<0||t>=e.length}function u(e,t){return c(e.current,{disabledIndices:t})}function d(e,t){return c(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function c(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&p(e,a,r));return a}function f(e,{event:t,orientation:n,loopFocus:i,onLoop:u,rtl:d,cols:h,disabledIndices:m,minIndex:g,maxIndex:v,prevIndex:y,stopEvent:b=!1}){let x,w=y;if(t.key===o.il?x="up":t.key===o.Jd&&(x="down"),x){let n=[],o=[],s=!1,d=0;{let t=null,r=-1;e.forEach((e,i)=>{if(null==e)return;d+=1;let a=e.closest('[role="row"]');a&&(s=!0),(a!==t||-1===r)&&(t=a,n[r+=1]=[]),n[r].push(i),o[i]=r})}let f=!1,S=0;if(s)for(let e of n){let t=e.length;t>S&&(S=t),t!==h&&(f=!0)}let k=f&&d<e.length,E=S||h;b&&(0,a.jo)(t);let $=(r=>{if(!f||-1===y)return;let a=o[y];if(null==a)return;let s=n[a].indexOf(y),l="up"===r?-1:1;for(let r=a+l,d=0;d<n.length;d+=1,r+=l){if(r<0||r>=n.length){if(!i||k)return;if(r=r<0?n.length-1:0,u){let e=Math.min(s,n[r].length-1);r=o[u(t,y,n[r][e]??n[r][0])]??r}}let a=n[r];for(let t=Math.min(s,a.length-1);t>=0;t-=1){let n=a[t];if(!p(e,n,m))return n}}})(x)??(t=>{if(!k||-1===y)return;let n=y%E,a="up"===t?-E:E,o=v-v%E,s=(0,r.RI)(v/E)+1;for(let t=y-n+a,r=0;r<s;r+=1,t+=a){if(t<0||t>v){if(!i)return;t=t<0?o:0}let r=Math.min(t+E-1,v);for(let i=Math.min(t+n,r);i>=t;i-=1)if(!p(e,i,m))return i}})(x);if(void 0!==$)w=$;else if(-1===y)w="up"===x?v:g;else if(w=c(e,{startingIndex:y,amount:E,decrement:"up"===x,disabledIndices:m}),i){if("up"===x&&(y-E<g||w<0)){let e=y%E,n=v%E,r=v-(n-e);w=n===e?v:n>e?r:r-E,u&&(w=u(t,y,w))}"down"===x&&y+E>v&&(w=c(e,{startingIndex:y%E-E,amount:E,disabledIndices:m}),u&&(w=u(t,y,w)))}l(e,w)&&(w=y)}if("both"===n){let n=(0,r.RI)(y/h);t.key===(d?o.eR:o.RJ)&&(b&&(0,a.jo)(t),y%h!=h-1?(w=c(e,{startingIndex:y,disabledIndices:m}),i&&s(w,h,n)&&(w=c(e,{startingIndex:y-y%h-1,disabledIndices:m}),u&&(w=u(t,y,w)))):i&&(w=c(e,{startingIndex:y-y%h-1,disabledIndices:m}),u&&(w=u(t,y,w))),s(w,h,n)&&(w=y)),t.key===(d?o.RJ:o.eR)&&(b&&(0,a.jo)(t),y%h!=0?(w=c(e,{startingIndex:y,decrement:!0,disabledIndices:m}),i&&s(w,h,n)&&(w=c(e,{startingIndex:y+(h-y%h),decrement:!0,disabledIndices:m}),u&&(w=u(t,y,w)))):i&&(w=c(e,{startingIndex:y+(h-y%h),decrement:!0,disabledIndices:m}),u&&(w=u(t,y,w))),s(w,h,n)&&(w=y));let f=(0,r.RI)(v/h)===n;l(e,w)&&(i&&f?(w=t.key===(d?o.RJ:o.eR)?v:c(e,{startingIndex:y-y%h-1,disabledIndices:m}),u&&(w=u(t,y,w))):w=y)}return w}function p(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!!(!h(r)||r.matches(":disabled"))||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function h(e,t=e?(0,i.L9)(e):null){var n;return!!e&&!!e.isConnected&&!!t&&"hidden"!==(n=t).visibility&&"collapse"!==n.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}},3831:(e,t,n)=>{"use strict";n.d(t,{OX:()=>u,ZI:()=>c,ZR:()=>f,cf:()=>d});var r=n(63663),i=n(2049),a=n(61793),o=n(17597),s=n(34023);function l(e){return e&&e.__esModule?e.default:e}let u=new WeakMap;function d(e){return(null==e?void 0:e.calendar.identifier)==="gregory"&&"BC"===e.era?"short":void 0}function c(e){var t;let n,u,c=(0,a.o)(l(r.A),"@react-aria/calendar");"highlightedRange"in e?{start:n,end:u}=e.highlightedRange||{}:n=u=null!=(t=e.value)?t:void 0;let f=(0,o.i)({weekday:"long",month:"long",year:"numeric",day:"numeric",era:d(n)||d(u),timeZone:e.timeZone}),h="anchorDate"in e?e.anchorDate:null;return(0,s.useMemo)(()=>
1{if(!h&&n&&u)if((0,i.ro)(n,u)){let t=f.format(n.toDate(e.timeZone));return c.format("selectedDateDescription",{date:t})}else{let t=p(f,c,n,u,e.timeZone);return c.format("selectedRangeDescription",{dateRange:t})}return""},[n,u,h,e.timeZone,c,f])}function f(e,t,n,u){let c=(0,a.o)(l(r.A),"@react-aria/calendar"),f=d(e)||d(t),h=(0,o.i)({month:"long",year:"numeric",era:f,calendar:e.calendar.identifier,timeZone:n}),m=(0,o.i)({month:"long",year:"numeric",day:"numeric",era:f,calendar:e.calendar.identifier,timeZone:n});return(0,s.useMemo)(()=>{if((0,i.ro)(e,(0,i.wH)(e))){let r=e,a=t;if(e.calendar.getFormattableMonth&&(r=e.calendar.getFormattableMonth(e)),t.calendar.getFormattableMonth&&(a=t.calendar.getFormattableMonth(t)),(0,i.ro)(t,(0,i.p9)(e)))return h.format(r.toDate(n));if((0,i.ro)(t,(0,i.p9)(t)))return u?p(h,c,r,a,n):h.formatRange(r.toDate(n),a.toDate(n))}return u?p(m,c,e,t,n):m.formatRange(e.toDate(n),t.toDate(n))},[e,t,h,m,c,n,u])}function p(e,t,n,r,i){let a=e.formatRangeToParts(n.toDate(i),r.toDate(i)),o=-1;for(let e=0;e<a.length;e++){let t=a[e];if("shared"===t.source&&"literal"===t.type)o=e;else if("endRange"===t.source)break}let s="",l="";for(let e=0;e<a.length;e++)e<o?s+=a[e].value:e>o&&(l+=a[e].value);return t.format("dateRange",{startDate:s,endDate:l})}},3848:(e,t,n)=>{"use strict";n.d(t,{JG:()=>s,RT:()=>a,ST:()=>o});let{userAgent:r,platform:i,maxTouchPoints:a}="u"<typeof navigator?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0},o=r.toLowerCase(),s=i.toLowerCase()},4455:(e,t,n)=>{"use strict";n.d(t,{jH:()=>a});var r=n(34023);n(94799);var i=r.createContext(void 0);function a(e){let t=r.useContext(i);return e||t||"ltr"}},4652:(e,t,n)=>{"use strict";n.d(t,{C1:()=>L,bL:()=>N,q7:()=>M});var r=n(34023),i=n(82669),a=n(34233),o=n(17069),s=n(39739),l=n(69096),u=n(66825),d=n(4455),c=n(99255),f=n(48179),p=n(97765),h=n(94799),m="Radio",[g,v]=(0,o.A)(m),[y,b]=g(m),x=r.forwardRef((e,t)=>{let{__scopeRadio:n,name:o,checked:l=!1,required:u,disabled:d,value:c="on",onCheck:f,form:p,...m}=e,[g,v]=r.useState(null),b=(0,a.s)(t,e=>v(e)),x=r.useRef(!1),w=!g||p||!!g.closest("form");return(0,h.jsxs)(y,{scope:n,checked:l,disabled:d,children:[(0,h.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":E(l),"data-disabled":d?"":void 0,disabled:d,value:c,...m,ref:b,onClick:(0,i.mK)(e.onClick,e=>{l||f?.(),w&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})}),w&&(0,h.jsx)(k,{control:g,bubbles:!x.current,name:o,value:c,checked:l,required:u,disabled:d,form:p,style:{transform:"translateX(-100%)"}})]})});x.displayName=m;var w="RadioIndicator",S=r.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,a=b(w,n);return(0,h.jsx)(p.C,{present:r||a.checked,children:(0,h.jsx)(s.sG.span,{"data-state":E(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})});S.displayName=w;var k=r.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:i=!0,...o},l)=>{let u=r.useRef(null),d=(0,a.s)(u,l),p=(0,f.Z)(n),m=(0,c.X)(t);return r.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==n&&t){let r=new Event("click",{bubbles:i});t.call(e,n),e.dispatchEvent(r)}},[p,n,i]),(0,h.jsx)(s.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:d,style:{...o.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function E(e){return e?"checked":"unchecked"}k.displayName="RadioBubbleInput";var $=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],_="RadioGroup",[C,D]=(0,o.A)(_,[l.RG,v]),I=(0,l.RG)(),R=v(),[T,P]=C(_),O=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:r,defaultValue:i,value:a,required:o=!1,disabled:c=!1,orientation:f,dir:p,loop:m=!0,onValueChange:g,...v}=e,y=I(n),b=(0,d.jH)(p),[x,w]=(0,u.i)({prop:a,defaultProp:i??null,onChange:g,caller:_});return(0,h.jsx)(T,{scope:n,name:r,required:o,disabled:c,value:x,onValueChange:w,children:(0,h.jsx)(l.bL,{asChild:!0,...y,orientation:f,dir:b,loop:m,children:(0,h.jsx)(s.sG.div,{role:"radiogroup","aria-required":o,"aria-orientation":f,"data-disabled":c?"":void 0,dir:b,...v,ref:t})})})});O.displayName=_;var A="RadioGroupItem",j=r.forwardRef((e,t)=>
1{let{__scopeRadioGroup:n,disabled:o,...s}=e,u=P(A,n),d=u.disabled||o,c=I(n),f=R(n),p=r.useRef(null),m=(0,a.s)(t,p),g=u.value===s.value,v=r.useRef(!1);return r.useEffect(()=>{let e=e=>{$.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,h.jsx)(l.q7,{asChild:!0,...c,focusable:!d,active:g,children:(0,h.jsx)(x,{disabled:d,required:u.required,checked:g,...f,...s,name:u.name,ref:m,onCheck:()=>u.onValueChange(s.value),onKeyDown:(0,i.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(s.onFocus,()=>{v.current&&p.current?.click()})})})});j.displayName=A;var z=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e,i=R(n);return(0,h.jsx)(S,{...i,...r,ref:t})});z.displayName="RadioGroupIndicator";var N=O,M=j,L=z},4868:(e,t,n)=>{"use strict";function r(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}n.d(t,{B:()=>r})},5201:(e,t,n)=>{"use strict";n.d(t,{h:()=>p});var r=n(34023),i=n(69370),a=n(61426),o=n(92796),s=n(66810),l=n(28410),u=n(59627),d=n(18039),c=n(14186),f=n(94799);let p=r.forwardRef(function(e,t){let{render:n,className:r,style:p,finalFocus:h,initialFocus:m,...g}=e,v=(0,a.P)(),y=v.useState("descriptionElementId"),b=v.useState("disablePointerDismissal"),x=v.useState("floatingRootContext"),w=v.useState("popupProps"),S=v.useState("modal"),k=v.useState("mounted"),E=v.useState("nested"),$=v.useState("nestedOpenDialogCount"),_=v.useState("open"),C=v.useState("openMethod"),D=v.useState("titleElementId"),I=v.useState("transitionStatus"),R=v.useState("role"),T=x.useState("floatingId");(0,s.p)(),(0,l.v)({open:_,ref:v.context.popupRef,onComplete(){_&&v.context.onOpenChangeComplete?.(!0)}});let P=void 0===m?(0,d.UM)(v.context.popupRef):m,O=v.useStateSetter("popupElement"),A=(0,o.o)("div",e,{state:{open:_,nested:E,transitionStatus:I,nestedDialogOpen:$>0},props:[w,{id:T,"aria-labelledby":D,"aria-describedby":y,role:R,...d.Ls,hidden:!k,onKeyDown(e){u.jF.has(e.key)&&e.stopPropagation()},style:{"--nested-dialogs":$}},g],ref:[t,v.context.popupRef,O],stateAttributesMapping:c.v});return(0,f.jsx)(i.s,{context:x,openInteractionType:C,disabled:!k,closeOnFocusOut:!b,initialFocus:P,returnFocus:h,modal:!1!==S,restoreFocus:"popup",children:A})})},5407:(e,t,n)=>{"use strict";n.d(t,{G:()=>v});var r=n(34023),i=n(7366),a=n(84505),o=n(92796),s=n(9785),l=n(31262),u=n(26594),d=n(47085),c=n(99097),f=n(8551),p=n(78337),h=n(79342),m=n(62165),g=n(40109);let v=r.forwardRef(function(e,t){let{render:n,className:r,style:v,...y}=e,{state:b}=(0,s.V$)(),x=(0,l.Ee)(),w=(0,a.P)(x,u.T.open),S=(0,a.P)(x,u.T.disabled),k=(0,a.P)(x,u.T.readOnly),E=(0,a.P)(x,u.T.hasSelectedValue),$=(0,a.P)(x,u.T.selectionMode),_=(0,g.Xb)(x),C=(0,g.$B)(),D={...b,open:w,disabled:S,readOnly:k,popupSide:_,listEmpty:C,placeholder:"none"!==$&&!E},I=(0,i.K)(e=>{x.set("inputGroupElement",e)});return(0,o.o)("div",e,{ref:[t,I],props:[{role:"group",onMouseDown(e){!function(e,t,n,r,i){if(e.baseUIHandlerPrevented||r)return;let a=(0,h.EW)(e.nativeEvent),o=(0,c.vq)(a)?a:null;o!==e.currentTarget&&(i?.(o)||(0,m.H5)(o))||(e.preventDefault(),!n&&(t.state.inputRef.current?.focus(),t.state.openOnInputClick&&t.state.setOpen(!0,(0,f.d)(p._J,e.nativeEvent))))}(e,x,S,k,e=>(0,h.gR)(x.state.chipsContainerRef.current,e))}},y],state:D,stateAttributesMapping:d.d})})},6280:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(34023),i=n(88018),a=n(53451);function o(e,t=!1,n=!1){let[s,l]=r.useState(e&&t?"idle":void 0),[u,d]=r.useState(e);return e&&!u&&(d(!0),l("starting")),e||!u||"ending"===s||n||l("ending"),e||u||"ending"!==s||l(void 0),(0,i.g)(()=>{if(!e&&u&&"ending"!==s&&n){let e=a.KP.request(()=>{l("ending")});return()=>{a.KP.cancel(e)}}},[e,u,s,n]),(0,i.g)(()=>{if(!e||t)return;let n=a.KP.request(()=>{l(void 0)});return()=>{a.KP.cancel(n)}},[t,e]),(0,i.g)(()=>{if(!e||!t)return;e&&u&&"idle"!==s&&l("starting");let n=a.KP.request(()=>{l("idle")});return()=>{a.KP.cancel(n)}},[t,e,u,s]),{mounted:u,setMounted:d,transitionStatus:s}}},6665:(e,t,n)=>{"use strict";n.d(t,{p:()=>c});var r=n(34023),i=n(50360),a=n(49754),o=n(69045),s=n(8551),l=n(78337),u=n(31262),d=n(94799);let c=r.forwardRef(function(e,t){let n=(0,u.Ee)(),{buttonRef:r,getButtonProps:c}=(0,o.s)({native:!1}),f=(0,i.a)(t,r),p=c({onClick:function(e){n.state.setOpen(!1,(0,s.d)(l.SR,e.nativeEvent,e.currentTarget))}});return(0,d.jsx)("span",{ref:f,...p,"aria-label":"Dismiss",tabIndex:void 0,style:a.a})})},6757:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r=n(34023),i=n(61426),a=n(92796),o=n(99901);let s=r.forwardRef(function(e,t){let{render:n,className:r,style:s,id:l,...u}=e,d=(0,i.P)(),c=(0,o.e)(l);return d.useSyncedValueWithCleanup("descriptionElementId",c),(0,a.o)("p",e,{ref:t,props:[{id:c},u]})})}
1,6964:(e,t,n)=>{"use strict";n.d(t,{lg:()=>v,qW:()=>f,bL:()=>g});var r,i=n(34023),a=n(82669),o=n(39739),s=n(34233),l=n(12789),u=n(94799),d="dismissableLayer.update",c=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:v,onDismiss:y,...b}=e,x=i.useContext(c),[w,S]=i.useState(null),k=w?.ownerDocument??globalThis?.document,[,E]=i.useState({}),$=(0,s.s)(t,e=>S(e)),_=Array.from(x.layers),[C]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),D=_.indexOf(C),I=w?_.indexOf(w):-1,R=x.layersWithOutsidePointerEventsDisabled.size>0,T=I>=D,P=function(e,t=globalThis?.document){let n=(0,l.c)(e),r=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){m("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));T&&!n&&(p?.(e),v?.(e),e.defaultPrevented||y?.())},k),O=function(e,t=globalThis?.document){let n=(0,l.c)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&m("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(g?.(e),v?.(e),e.defaultPrevented||y?.())},k);return!function(e,t=globalThis?.document){let n=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{I===x.layers.size-1&&(f?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},k),i.useEffect(()=>{if(w)return n&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(w)),x.layers.add(w),h(),()=>{n&&1===x.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=r)}},[w,k,n,x]),i.useEffect(()=>()=>{w&&(x.layers.delete(w),x.layersWithOutsidePointerEventsDisabled.delete(w),h())},[w,x]),i.useEffect(()=>{let e=()=>E({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,u.jsx)(o.sG.div,{...b,ref:$,style:{pointerEvents:R?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.mK)(e.onFocusCapture,O.onFocusCapture),onBlurCapture:(0,a.mK)(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:(0,a.mK)(e.onPointerDownCapture,P.onPointerDownCapture)})});f.displayName="DismissableLayer";var p=i.forwardRef((e,t)=>{let n=i.useContext(c),r=i.useRef(null),a=(0,s.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(o.sG.div,{...e,ref:a})});function h(){let e=new CustomEvent(d);document.dispatchEvent(e)}function m(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.hO)(i,a):i.dispatchEvent(a)}p.displayName="DismissableLayerBranch";var g=f,v=p},7217:(e,t,n)=>{"use strict";n.d(t,{Bt:()=>l,Md:()=>s,s4:()=>i,yA:()=>o});var r=n(3848);let i=/^i(os$|p)/.test(r.JG)||"macintel"===r.JG&&r.RT>1,a="android",o=r.JG===a||r.ST.includes(a),s=!i&&r.JG.startsWith("mac");r.JG.startsWith("win"),o||/^(linux|chrome os)/.test(r.JG);let l=s||i},7366:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(87079),i=n(45753);let a=r.X.useInsertionEffect,o=a&&a!==r.X.useLayoutEffect?a:e=>e();function s(e){let t=(0,i.j)(l).current;return t.next=e,o(t.effect),t.trampoline}function l(){let e={next:void 0,callback:u,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function u(){}},8551:(e,t,n)=>{"use strict";n.d(t,{M:()=>a,d:()=>i});var r=n(57936);function i(e,t,n,i){let a=!1,o=!1,s=i??r.t0;return{reason:e,event:t??new Event("base-ui"),cancel(){a=!0},allowPropagation(){o=!0},get isCanceled(){return a},get isPropagationAllowed(){return o},trigger:n,...s}}function a(e,t,n){let i=n??r.t0;return{reason:e,event:t??new Event("base-ui"),...i}}}
1,8788:(e,t,n)=>{"use strict";var r=n(34023),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,o=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var d="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,d=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&d({inst:i})},[e,n,t]),o(function(){return u(i)&&d({inst:i}),e(function(){u(i)&&d({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},8838:(e,t,n)=>{"use strict";n.d(t,{O:()=>a,b:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(65));return e}},9657:(e,t,n)=>{"use strict";n.d(t,{o:()=>$});var r=n(34023),i=n(84505),a=n(7366),o=n(7217),s=n(64441),l=n(99901),u=n(92796),d=n(31262),c=n(47085),f=n(26594),p=n(9785),h=n(35980),m=n(81646);let g=r.createContext(void 0);var v=n(97057),y=n(94158),b=n(8551),x=n(78337),w=n(56136),S=n(6665),k=n(40109),E=n(94799);let $=r.forwardRef(function(e,t){let{render:n,className:$,disabled:_=!1,id:C,style:D,...I}=e,{state:R,disabled:T,setTouched:P,setFocused:O,validationMode:A,validation:j}=(0,p.V$)(),{labelId:z}=(0,m.H)(),N=r.useContext(g),M=!!(0,y.O)(!0),L=(0,d.Ee)(),F=(0,d.dc)(),U=(0,w.j)(),B=(0,i.P)(L,f.T.required),V=(0,i.P)(L,f.T.disabled),Z=(0,i.P)(L,f.T.readOnly),K=(0,i.P)(L,f.T.name),q=(0,i.P)(L,f.T.form),W=(0,i.P)(L,f.T.selectionMode),G=(0,i.P)(L,f.T.autoHighlight),H=(0,i.P)(L,f.T.inputProps),J=(0,i.P)(L,f.T.triggerProps),Y=(0,i.P)(L,f.T.open),X=(0,i.P)(L,f.T.mounted),Q=(0,i.P)(L,f.T.selectedValue),ee=(0,i.P)(L,f.T.id),et=(0,i.P)(L,f.T.inline),en=(0,i.P)(L,f.T.modal),er=!!G,ei=(0,k.Xb)(L),ea=T||V||_,eo=(0,k.$B)(),es=M||et,el=(0,l.e)(C??(es?void 0:ee)),eu=M?h.HH:R,[ed,ec]=r.useState(null),ef=r.useRef(!1),ep=r.useRef(null),eh=r.useRef(!1),em="none"===W&&!M,eg=(0,a.K)(e=>{let t=M||L.state.inline;t&&!L.state.hasInputValue&&L.state.setInputValue("",(0,b.d)(x.dv)),L.update({inputElement:e,inputInsidePopup:t,inputOwnsFormValue:em})}),ev=M?I:j.getValidationProps(ea,I);function ey(){L.state.setIndices({activeIndex:null,selectedIndex:null,type:L.state.keyboardActiveRef.current?x.QJ:x.Wn})}function eb(){L.state.keyboardActiveRef.current=!1}let ex={...eu,open:Y,disabled:ea,readOnly:Z,popupSide:ei,listEmpty:eo},ew=(0,u.o)("input",e,{state:ex,ref:[t,L.state.inputRef,eg],props:[H,J,{value:ed??F,"aria-readonly":Z||void 0,"aria-required":B||void 0,"aria-labelledby":z,disabled:ea,readOnly:Z,required:"none"===W?B:void 0,form:q,...em&&K&&{name:K},id:el,onFocus(){if(O(!0),!et||!eh.current)return;eh.current=!1;let e=ep.current;null!=e&&Object.hasOwn(L.state.valuesRef.current,e)&&L.state.setIndices({activeIndex:e})},onBlur(){P(!0),O(!1);let e=L.state.activeIndex;if(et&&null!==e&&"always"!==G&&(ep.current=e,eh.current=!0,L.state.setIndices({activeIndex:null})),"onBlur"===A){let e="none"===W?F:Q;j.commit(e)}},onCompositionStart(e){o.yA||(ef.current=!0,ec(e.currentTarget.value))},onCompositionEnd(e){ef.current=!1;let t=e.currentTarget.value;ec(null),L.state.setInputValue(t,(0,b.d)(x.pf,e.nativeEvent))},onChange(e){let t=e.nativeEvent,n=t.inputType,r=ef.current||!(!n||"insertReplacementText"===n);function i(e){!Z&&!ea&&e&&r&&(L.state.setOpen(!0,(0,b.d)(x.pf,t)),er||ey())}if(ef.current){let n=e.currentTarget.value;ec(n),""!==n||L.state.openOnInputClick||L.state.inputInsidePopup||L.state.setOpen(!1,(0,b.d)(x.qs,t));let r=n.trim(),a=er&&""!==r;i(r),Y&&null!==L.state.activeIndex&&!a&&ey();return}let a=(0,b.d)(x.pf,t);if(L.state.setInputValue(e.currentTarget.value,a),a.isCanceled)return;let o=""===e.currentTarget.value,s=(0,b.d)(x.qs,t);o&&!L.state.inputInsidePopup&&("single"===W&&L.state.setSelectedValue(null,s),L.state.openOnInputClick||L.state.setOpen(!1,s)),i(e.currentTarget.value.trim()),Y&&null!==L.state.activeIndex&&!er&&ey()},onKeyDown(e){if(ea||Z||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)return;L.state.keyboardActiveRef.current=!0;let t=e.currentTarget,n=t.scrollWidth-t.clientWidth,r="rtl"===U;if("Home"===e.key){(0,v.jo)(e);let n=s.cn&&r?t.value.length:0;t.setSelectionRange(n,n),t.scrollLeft=0;return}if("End"===e.key){(0,v.jo)(e);let i=s.cn&&r?0:t.value.length;t.setSelectionRange(i,i),t.scrollLeft=r?-n:n;return}if(!X&&"Escape"===e.key){let t="multiple"===W&&Array.isArray(Q)?0===Q.length:null===Q,n=(0,b.d)(x.jv,e.nativeEvent);L.state.setInputValue("",n),L.state.setSelectedValue("multiple"===W?[]:null,n),t||L.state.inline||n.isPropagationAllowed||e.stopPropagation();return}if(N&&"Backspace"===e.key&&""===t.value&&void 0===N.highlightedChipIndex&&Array.isArray(Q)&&Q.length>0){let t=N.chipsRef.current.length,n=t>0?t-1:Q.length-1,r=Q.filter((e,t)=>
1t!==n);ey(),L.state.setSelectedValue(r,(0,b.d)(x.dv,e.nativeEvent));return}let i=N?.highlightedChipIndex!==void 0,a=function(e){let t;if(!N)return;let{highlightedChipIndex:n}=N,r=N.chipsRef.current.length,[i,a]=(0,k.ln)(U);return void 0!==n?e.key===i?(e.preventDefault(),t=n>0?n-1:void 0):e.key===a?(e.preventDefault(),t=n<r-1?n+1:void 0):("Backspace"===e.key||"Delete"===e.key)&&(e.preventDefault(),t=(0,k.jr)(n,Q.length),ey()):e.key===i&&(e.currentTarget.selectionStart??0)===0&&Q.length>0&&(e.preventDefault(),t=r>0?r-1:void 0),t}(e);if(N?.setHighlightedChipIndex(a),void 0!==a?N?.chipsRef.current[a]?.focus():i&&L.state.inputRef.current?.focus(),229!==e.which&&"Enter"===e.key&&Y){let t=L.state.activeIndex,n=e.nativeEvent;if(null===t){if(et)return;L.state.setOpen(!1,(0,b.d)(x.dv,n));return}(0,v.jo)(e),(0,k.L6)(L,t,n)}},onPointerMove:eb,onPointerDown:eb},ev],stateAttributesMapping:c.d}),eS=M?(0,E.jsx)(p.eZ.Provider,{value:p.er,children:ew}):ew;return(0,E.jsxs)(r.Fragment,{children:[Y&&(!es||en)&&(0,E.jsx)(S.p,{ref:L.state.startDismissRef}),eS]})})},9785:(e,t,n)=>{"use strict";n.d(t,{V$:()=>u,eZ:()=>l,er:()=>s});var r=n(68125),i=n(34023),a=n(57936),o=n(35980);let s={invalid:void 0,name:void 0,validityData:{state:o.ZV,errors:[],error:"",value:"",initialValue:null},setValidityData:a.tE,disabled:void 0,setTouched:a.tE,setDirty:a.tE,setFilled:a.tE,setFocused:a.tE,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:o.mk,registerFieldControl:a.tE,validation:{getValidationProps:(e,t=a.t0)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:a.tE,getInputControl:()=>null,commit:async()=>{},change:a.tE}},l=i.createContext(s);function u(e=!0){let t=i.useContext(l);if(t.setValidityData===a.tE&&!e)throw Error((0,r.A)(28));return t}},9901:(e,t,n)=>{"use strict";n.d(t,{O:()=>l});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,a=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return i(r.overflowY,t)||i(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},o=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var n,i,l,u;let d;if("u"<typeof document)return[];let{scrollMode:c,block:f,inline:p,boundary:h,skipOverflowHiddenElements:m}=t,g="function"==typeof h?h:e=>e!==h;if(!r(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,y=[],b=e;for(;r(b)&&g(b);){if((b=s(b))===v){y.push(b);break}null!=b&&b===document.body&&a(b)&&!a(document.documentElement)||null!=b&&a(b,m)&&y.push(b)}let x=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,w=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:S,scrollY:k}=window,{height:E,width:$,top:_,right:C,bottom:D,left:I}=e.getBoundingClientRect(),{top:R,right:T,bottom:P,left:O}={top:parseFloat((d=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(d.scrollMarginRight)||0,bottom:parseFloat(d.scrollMarginBottom)||0,left:parseFloat(d.scrollMarginLeft)||0},A="start"===f||"nearest"===f?_-R:"end"===f?D+P:_+E/2-R+P,j="center"===p?I+$/2-O+T:"end"===p?C+T:I-O,z=[];for(let e=0;e<y.length;e++){let t=y[e],{height:n,width:r,top:i,right:s,bottom:l,left:u}=t.getBoundingClientRect();if("if-needed"===c&&_>=0&&I>=0&&D<=w&&C<=x&&(t===v&&!a(t)||_>=i&&D<=l&&I>=u&&C<=s))break;let d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),m=parseInt(d.borderTopWidth,10),g=parseInt(d.borderRightWidth,10),b=parseInt(d.borderBottomWidth,10),R=0,T=0,P="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-g:0,O="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-b:0,N="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)R="start"===f?A:"end"===f?A-w:"nearest"===f?o(k,k+w,w,m,b,k+A,k+A+E,E):A-w/2,T="start"===p?j:"center"===p?j-x/2:"end"===p?j-x:o(S,S+x,x,h,g,S+j,S+j+$,$),R=Math.max(0,R+k),T=Math.max(0,T+S);else{R="start"===f?A-i-m:"end"===f?A-l+b+O:"nearest"===f?o(i,l,n,m,b+O,A,A+E,E):A-(i+n/2)+O/2,T="start"===p?j-u-h:"center"===p?j-(u+r/2)+P/2:"end"===p?j-s+g+P:o(u,s,r,h,g+P,j,j+$,$);let{scrollLeft:e,scrollTop:a}=t;R=0===M?0:Math.max(0,Math.min(a+R/M,t.scrollHeight-n/M+O)),T=0===N?0:Math.max(0,Math.min(e+T/N,t.scrollWidth-r/N+P)),A+=a-R,j+=e-T}z.push({el:t,top:R,left:T})}return z}},10059:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(44821),i=n(21400),a=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.gn)(this.gcTime)&&(this.#e=r.zs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(i.S$?1/0:3e5))}clearGcTimeout(){this.#e&&(r.zs.clearTimeout(this.#e),this.#e=void 0)}}}
1,10138:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(84505);class i{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,i){return(0,r.P)(this,e,t,n,i)}}},11087:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var r=n(34023),i=[];for(let e of[["af","93",0,null,"0"],["ax","358",1,["18","4"],"0"],["al","355",0,null,"0"],["dz","213",0,null,"0"],["as","1",5,["684"],"1"],["ad","376"],["ao","244"],["ai","1",6,["264"],"1"],["ag","1",7,["268"],"1"],["ar","54",0,null,"0"],["am","374",0,null,"0"],["aw","297"],["ac","247"],["au","61",0,["4"],"0"],["at","43",0,null,"0"],["az","994",0,null,"0"],["bs","1",8,["242"],"1"],["bh","973"],["bd","880",0,null,"0"],["bb","1",9,["246"],"1"],["by","375",0,null,"8"],["be","32",0,null,"0"],["bz","501"],["bj","229"],["bm","1",10,["441"],"1"],["bt","975"],["bo","591",0,null,"0"],["ba","387",0,null,"0"],["bw","267"],["br","55",0,null,"0"],["io","246"],["vg","1",11,["284"],"1"],["bn","673"],["bg","359",0,null,"0"],["bf","226"],["bi","257"],["kh","855",0,null,"0"],["cm","237"],["ca","1",1,["204","226","236","249","250","257","263","289","306","343","354","365","367","368","382","403","416","418","428","431","437","438","450","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905","942"],"1"],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"],"1"],["cf","236"],["td","235"],["cl","56"],["cn","86",0,null,"0"],["cx","61",2,["4","89164"],"0"],["cc","61",1,["4","89162"],"0"],["co","57",0,null,"0"],["km","269"],["cg","242"],["cd","243",0,null,"0"],["ck","682"],["cr","506"],["ci","225"],["hr","385",0,null,"0"],["cu","53",0,null,"0"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"],"1"],["do","1",2,["809","829","849"],"1"],["ec","593",0,null,"0"],["eg","20",0,null,"0"],["sv","503"],["gq","240"],["er","291",0,null,"0"],["ee","372"],["sz","268"],["et","251",0,null,"0"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0,["4"],"0"],["fr","33",0,null,"0"],["gf","594",0,null,"0"],["pf","689"],["ga","241"],["gm","220"],["ge","995",0,null,"0"],["de","49",0,null,"0"],["gh","233",0,null,"0"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"],"1"],["gp","590",0,null,"0"],["gu","1",15,["671"],"1"],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36",0,null,"06"],["is","354"],["in","91",0,null,"0"],["id","62",0,null,"0"],["ir","98",0,null,"0"],["iq","964",0,null,"0"],["ie","353",0,null,"0"],["im","44",2,["1624","74576","7524","7624","7924"],"0"],["il","972",0,null,"0"],["it","39",0,["3"]],["jm","1",4,["658","876"],"1"],["jp","81",0,null,"0"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962",0,null,"0"],["kz","7",1,["33","7"],"8"],["ke","254",0,null,"0"],["ki","686",0,null,"0"],["xk","383",0,null,"0"],["kw","965"],["kg","996",0,null,"0"],["la","856",0,null,"0"],["lv","371"],["lb","961",0,null,"0"],["ls","266"],["lr","231",0,null,"0"],["ly","218",0,null,"0"],["li","423",0,null,"0"],["lt","370",0,null,"0"],["lu","352"],["mo","853"],["mg","261",0,null,"0"],["mw","265",0,null,"0"],["my","60",0,null,"0"],["mv","960"],["ml","223"],["mt","356"],["mh","692",0,null,"1"],["mq","596",0,null,"0"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373",0,null,"0"],["mc","377",0,null,"0"],["mn","976",0,null,"0"],["me","382",0,null,"0"],["ms","1",16,["664"],"1"],["ma","212",0,["6","7"],"0"],["mz","258"],["mm","95",0,null,"0"],["na","264",0,null,"0"],["nr","674"],["np","977",0,null,"0"],["nl","31",0,null,"0"],["nc","687"],["nz","64",0,null,"0"],["ni","505"],["ne","227"],["ng","234",0,null,"0"],["nu","683"],["nf","672"],["kp","850",0,null,"0"],["mk","389",0,null,"0"],["mp","1",17,["670"],"1"],["no","47",0,["4","9"]],["om","968"],["pk","92",0,null,"0"],["pw","680"],["ps","970",0,null,"0"],["pa","507"],["pg","675"],["py","595",0,null,"0"],["pe","51",0,null,"0"],["ph","63",0,null,"0"],["pl","48"],["pt","351"],["pr","1",3,["787","939"],"1"],["qa","974"],["re","262",0,null,"0"],["ro","40",0,null,"0"],["ru","7",0,["33"],"8"],["rw","250",0,null,"0"],["ws","685"],["sm","378"],["st","239"],["sa","966",0,null,"0"],["sn","221"],["rs","381",0,null,"0"],["sc","248"],["sl","232",0,null,"0"],["sg","65"],["sx","1",21,["721"],"1"],["sk","421",0,null,"0"],["si","386",0,null,"0"],["sb","677"],["so","252",0,null,"0"],["za","27",0,null,"0"],["kr","82",0,null,"0"],["ss","211",0,null,"0"],["es","34"],["lk","94",0,null,"0"],["bl","590",1,null,"0"],["sh","290"],["kn","1",18,["869"],"1"],["lc","1",19,["758"],"1"],["mf","590",2,null,"0"],["pm","508",0,null,"0"],["vc","1",20,["784"],"1"],["sd","249",0,null,"0"],["sr","597"],["sj","47",1,["4","79","9"]],["se","46",0,null,"0"],["ch","41",0,null,"0"],["sy","963",0,null,"0"],["tw","886",0,null,"0"],["tj","992"],["tz","255",0,null,"0"],["th","66",0,null,"0"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"],"1"],["tn","216"],["tr","90",0,null,"0"],["tm","993",0,null,"8"],["tc","1",23,["649"],"1"],["tv","688"],["vi","1",24,["340"],"1"],["ug","256",0,null,"0"],["ua","380",0,null,"0"],["ae","971",0,null,"0"],["gb","44",0,null,"0"],["us","1",0,null,"1"],["uy","598",0,null,"0"],["uz","998"],["vu","678"],["va","39",1,["06698","3"]],["ve","58",0,null,"0"],["vn","84",0,null,"0"],["wf","681"],["eh","212",1,["5288","5289","6","7"],"0"],["ye","967",0,null,"0"],["zm","260",0,null,"0"],["zw","263",0,null,"0"]])i.push({name:"",iso2:e[0],dialCode:e[1],priority:e[2]||0,areaCodes:e[3]||null,
1nodeById:{},nationalPrefix:e[4]||null,normalisedName:"",initials:"",dialCodePlus:""});var a={ad:"Andorra",ae:"United Arab Emirates",af:"Afghanistan",ag:"Antigua & Barbuda",ai:"Anguilla",al:"Albania",am:"Armenia",ao:"Angola",ar:"Argentina",as:"American Samoa",at:"Austria",au:"Australia",aw:"Aruba",ax:"\xc5land Islands",az:"Azerbaijan",ba:"Bosnia & Herzegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgium",bf:"Burkina Faso",bg:"Bulgaria",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"St. Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Caribbean Netherlands",br:"Brazil",bs:"Bahamas",bt:"Bhutan",bw:"Botswana",by:"Belarus",bz:"Belize",ca:"Canada",cc:"Cocos (Keeling) Islands",cd:"Congo - Kinshasa",cf:"Central African Republic",cg:"Congo - Brazzaville",ch:"Switzerland",ci:"C\xf4te d’Ivoire",ck:"Cook Islands",cl:"Chile",cm:"Cameroon",cn:"China",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Cape Verde",cw:"Cura\xe7ao",cx:"Christmas Island",cy:"Cyprus",cz:"Czechia",de:"Germany",dj:"Djibouti",dk:"Denmark",dm:"Dominica",do:"Dominican Republic",dz:"Algeria",ec:"Ecuador",ee:"Estonia",eg:"Egypt",eh:"Western Sahara",er:"Eritrea",es:"Spain",et:"Ethiopia",fi:"Finland",fj:"Fiji",fk:"Falkland Islands",fm:"Micronesia",fo:"Faroe Islands",fr:"France",ga:"Gabon",gb:"United Kingdom",gd:"Grenada",ge:"Georgia",gf:"French Guiana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Greenland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"Equatorial Guinea",gr:"Greece",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Hong Kong SAR China",hn:"Honduras",hr:"Croatia",ht:"Haiti",hu:"Hungary",id:"Indonesia",ie:"Ireland",il:"Israel",im:"Isle of Man",in:"India",io:"British Indian Ocean Territory",iq:"Iraq",ir:"Iran",is:"Iceland",it:"Italy",je:"Jersey",jm:"Jamaica",jo:"Jordan",jp:"Japan",ke:"Kenya",kg:"Kyrgyzstan",kh:"Cambodia",ki:"Kiribati",km:"Comoros",kn:"St. Kitts & Nevis",kp:"North Korea",kr:"South Korea",kw:"Kuwait",ky:"Cayman Islands",kz:"Kazakhstan",la:"Laos",lb:"Lebanon",lc:"St. Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Lithuania",lu:"Luxembourg",lv:"Latvia",ly:"Libya",ma:"Morocco",mc:"Monaco",md:"Moldova",me:"Montenegro",mf:"St. Martin",mg:"Madagascar",mh:"Marshall Islands",mk:"North Macedonia",ml:"Mali",mm:"Myanmar (Burma)",mn:"Mongolia",mo:"Macao SAR China",mp:"Northern Mariana Islands",mq:"Martinique",mr:"Mauritania",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldives",mw:"Malawi",mx:"Mexico",my:"Malaysia",mz:"Mozambique",na:"Namibia",nc:"New Caledonia",ne:"Niger",nf:"Norfolk Island",ng:"Nigeria",ni:"Nicaragua",nl:"Netherlands",no:"Norway",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"New Zealand",om:"Oman",pa:"Panama",pe:"Peru",pf:"French Polynesia",pg:"Papua New Guinea",ph:"Philippines",pk:"Pakistan",pl:"Poland",pm:"St. Pierre & Miquelon",pr:"Puerto Rico",ps:"Palestinian Territories",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xe9union",ro:"Romania",rs:"Serbia",ru:"Russia",rw:"Rwanda",sa:"Saudi Arabia",sb:"Solomon Islands",sc:"Seychelles",sd:"Sudan",se:"Sweden",sg:"Singapore",sh:"St. Helena",si:"Slovenia",sj:"Svalbard & Jan Mayen",sk:"Slovakia",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Suriname",ss:"South Sudan",st:"S\xe3o Tom\xe9 & Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syria",sz:"Eswatini",tc:"Turks & Caicos Islands",td:"Chad",tg:"Togo",th:"Thailand",tj:"Tajikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunisia",to:"Tonga",tr:"Turkey",tt:"Trinidad & Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ukraine",ug:"Uganda",us:"United States",uy:"Uruguay",uz:"Uzbekistan",va:"Vatican City",vc:"St. Vincent & Grenadines",ve:"Venezuela",vg:"British Virgin Islands",vi:"U.S. Virgin Islands",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis & Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"South Africa",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Change country, selected ${countryName} (${dialCode})",noCountrySelected:"Select country",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",clearSearchAriaLabel:"Clear search",zeroSearchResults:"No results found",oneSearchResult:"1 result found",multipleSearchResults:"${count} results found",ac:"Ascension Island",xk:"Kosovo"},o="iti__hide",s="iti__v-hide",l="iti__arrow--up",u="iti__globe",d="iti__flag",c="iti__country",f="iti__highlight",p="ArrowUp",h="ArrowDown",m="Enter",g="Escape",v=/\p{L}/u,y=/[^+0-9]/,b=/[^+0-9]/g,x=/^[a-zA-ZÀ-ÿа-яА-Я ]$/,w="polite",S="auto",k="aria-expanded",E="aria-label",$="aria-selected",_="aria-activedescendant",C="aria-controls",D="aria-hidden",I=e=>"u">typeof window&&"function"==typeof window.matchMedia&&window.matchMedia(e).matches,R={allowPhonewords:!1,allowDropdown:!0,autoPlaceholder:w,containerClass:"",countryOrder:null,countrySearch:!0,customPlaceholder:null,dropdownContainer:null,excludeCountries:[],fixDropdownWidth:!0,formatAsYouType:!0,formatOnDisplay:!0,geoIpLookup:null,hiddenInput:null,i18n:{},initialCountry:"",loadUtils:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",showFlags:!0,separateDialCode:!1,strictMode:!1,useFullscreenPopup:(()=>
1{if("u">typeof navigator&&"u">typeof window){let e=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),t=I("(max-width: 500px)"),n=I("(max-height: 600px)"),r=I("(pointer: coarse)");return e||t||r&&n}return!1})(),validationNumberTypes:["MOBILE"]},T=(e="")=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),P=e=>Object.keys(e).filter(t=>!!e[t]).join(" "),O=(e,t,n)=>{let r=document.createElement(e);return t&&Object.entries(t).forEach(([e,t])=>r.setAttribute(e,t)),n&&n.appendChild(r),r},A=class{constructor(e,t,n){this.highlightedItem=null,this.selectedItem=null,e.dataset.intlTelInputId=n.toString(),this.telInput=e,this.options=t,this.id=n,this.hadInitialPlaceholder=!!e.getAttribute("placeholder"),this.isRTL=!!this.telInput.closest("[dir=rtl]"),this.options.separateDialCode&&(this.originalPaddingLeft=this.telInput.style.paddingLeft)}generateMarkup(e){this.countries=e,this._prepareTelInput();let t=this._createWrapperAndInsert();this._maybeBuildCountryContainer(t),t.appendChild(this.telInput),this._maybeUpdateInputPaddingAndReveal(),this._maybeBuildHiddenInputs(t)}_prepareTelInput(){this.telInput.classList.add("iti__tel-input"),this.telInput.hasAttribute("autocomplete")||this.telInput.form?.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off")}_createWrapperAndInsert(){let{allowDropdown:e,showFlags:t,containerClass:n,useFullscreenPopup:r}=this.options,i=O("div",{class:P({iti:!0,"iti--allow-dropdown":e,"iti--show-flags":t,"iti--inline-dropdown":!r,[n]:!!n})});return this.isRTL&&i.setAttribute("dir","ltr"),this.telInput.before(i),i}_maybeBuildCountryContainer(e){let{allowDropdown:t,separateDialCode:n,showFlags:r}=this.options;if(t||r||n){this.countryContainer=O("div",{class:`iti__country-container ${s}`},e),t?(this.selectedCountry=O("button",{type:"button",class:"iti__selected-country",[k]:"false",[E]:this.options.i18n.noCountrySelected,"aria-haspopup":"dialog",[C]:`iti-${this.id}__dropdown-content`},this.countryContainer),this.telInput.disabled&&this.selectedCountry.setAttribute("disabled","true")):this.selectedCountry=O("div",{class:"iti__selected-country"},this.countryContainer);let r=O("div",{class:"iti__selected-country-primary"},this.selectedCountry);this.selectedCountryInner=O("div",{class:d},r),t&&(this.dropdownArrow=O("div",{class:"iti__arrow",[D]:"true"},r)),n&&(this.selectedDialCode=O("div",{class:"iti__selected-dial-code"},this.selectedCountry)),t&&this._buildDropdownContent()}}_buildDropdownContent(){let{fixDropdownWidth:e,useFullscreenPopup:t,countrySearch:n,i18n:r,dropdownContainer:i,containerClass:a}=this.options;if(this.dropdownContent=O("div",{id:`iti-${this.id}__dropdown-content`,class:`iti__dropdown-content ${o} ${e?"":"iti--flexible-dropdown-width"}`,role:"dialog","aria-modal":"true"}),this.isRTL&&this.dropdownContent.setAttribute("dir","rtl"),n&&this._buildSearchUI(),this.countryList=O("ul",{class:"iti__country-list",id:`iti-${this.id}__country-listbox`,role:"listbox",[E]:r.countryListAriaLabel},this.dropdownContent),this._appendListItems(),n&&this.updateSearchResultsA11yText(),i){let e=P({iti:!0,"iti--container":!0,"iti--fullscreen-popup":t,"iti--inline-dropdown":!t,[a]:!!a});this.dropdown=O("div",{class:e}),this.dropdown.appendChild(this.dropdownContent)}else this.countryContainer.appendChild(this.dropdownContent)}_buildSearchUI(){var e;let t,{i18n:n}=this.options,r=O("div",{class:"iti__search-input-wrapper"},this.dropdownContent);this.searchIcon=O("span",{class:"iti__search-icon",[D]:"true"},r),this.searchIcon.innerHTML=`
2  <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${D}="true">
3    <circle cx="11" cy="11" r="7" />
4    <line x1="21" y1="21" x2="16.65" y2="16.65" />
5  </svg>`,this.searchInput=O("input",{id:`iti-${this.id}__search-input`,type:"search",class:"iti__search-input",placeholder:n.searchPlaceholder,role:"combobox",[k]:"true",[E]:n.searchPlaceholder,[C]:`iti-${this.id}__country-listbox`,"aria-autocomplete":"list",autocomplete:"off"},r),this.searchClearButton=O("button",{type:"button",class:`iti__search-clear ${o}`,[E]:n.clearSearchAriaLabel,tabindex:"-1"},r),this.searchClearButton.innerHTML=(e=this.id,t=`iti-${e}-clear-mask`,`
6    <svg class="iti__search-clear-svg" width="12" height="12" viewBox="0 0 16 16" ${D}="true" focusable="false">
7      <mask id="${t}" maskUnits="userSpaceOnUse">
8        <rect width="16" height="16" fill="white" />
9        <path d="M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8" stroke="black" stroke-linecap="round" class="iti__search-clear-x" />
10      </mask>
11      <circle cx="8" cy="8" r="8" class="iti__search-clear-bg" mask="url(#${t})" />
12    </svg>`),this.searchResultsA11yText=O("span",{class:"iti__a11y-text"},this.dropdownContent),this.searchNoResults=O("div",{class:`iti__no-results ${o}`,[D]:"true"},this.dropdownContent),this.searchNoResults.textContent=n.zeroSearchResults}_maybeUpdateInputPaddingAndReveal(){this.countryContainer&&(this.updateInputPadding(),this.countryContainer.classList.remove(s))}
12_maybeBuildHiddenInputs(e){let{hiddenInput:t}=this.options;if(t){let n=t(this.telInput.getAttribute("name")||"");if(n.phone){let t=this.telInput.form?.querySelector(`input[name="${n.phone}"]`);t?this.hiddenInput=t:(this.hiddenInput=O("input",{type:"hidden",name:n.phone}),e.appendChild(this.hiddenInput))}if(n.country){let t=this.telInput.form?.querySelector(`input[name="${n.country}"]`);t?this.hiddenInputCountry=t:(this.hiddenInputCountry=O("input",{type:"hidden",name:n.country}),e.appendChild(this.hiddenInputCountry))}}}_appendListItems(){let e=document.createDocumentFragment();for(let t=0;t<this.countries.length;t++){let n=this.countries[t],r=P({[c]:!0}),i=O("li",{id:`iti-${this.id}__item-${n.iso2}`,class:r,tabindex:"-1",role:"option",[$]:"false"});i.dataset.dialCode=n.dialCode,i.dataset.countryCode=n.iso2,n.nodeById[this.id]=i,this.options.showFlags&&O("div",{class:`${d} iti__${n.iso2}`},i),O("span",{class:"iti__country-name"},i).textContent=n.name;let a=O("span",{class:"iti__dial-code"},i);this.isRTL&&a.setAttribute("dir","ltr"),a.textContent=`+${n.dialCode}`,e.appendChild(i)}this.countryList.appendChild(e)}updateInputPadding(){if(this.selectedCountry){let e=this.options.separateDialCode?78:42,t=this.selectedCountry.offsetWidth||this._getHiddenSelectedCountryWidth()||e;this.telInput.style.paddingLeft=`${t+6}px`}}_getHiddenSelectedCountryWidth(){if(this.telInput.parentNode){let e;try{e=window.top.document.body}catch(t){e=document.body}let t=this.telInput.parentNode.cloneNode(!1);t.style.visibility="hidden",e.appendChild(t);let n=this.countryContainer.cloneNode();t.appendChild(n);let r=this.selectedCountry.cloneNode(!0);n.appendChild(r);let i=r.offsetWidth;return e.removeChild(t),i}return 0}updateSearchResultsA11yText(){let e,{i18n:t}=this.options,n=this.countryList.childElementCount;e=0===n?t.zeroSearchResults:t.searchResultsText?t.searchResultsText(n):1===n?t.oneSearchResult:t.multipleSearchResults.replace("${count}",n.toString()),this.searchResultsA11yText.textContent=e}scrollTo(e){let t=this.countryList,n=document.documentElement.scrollTop,r=t.offsetHeight,i=t.getBoundingClientRect().top+n,a=e.offsetHeight,o=e.getBoundingClientRect().top+n,s=o-i+t.scrollTop;o<i?t.scrollTop=s:o+a>i+r&&(t.scrollTop=s-(r-a))}highlightListItem(e,t){let n=this.highlightedItem;if(n&&n.classList.remove(f),this.highlightedItem=e,this.highlightedItem&&(this.highlightedItem.classList.add(f),this.options.countrySearch)){let e=this.highlightedItem.getAttribute("id")||"";this.searchInput.setAttribute(_,e)}t&&this.highlightedItem.focus()}updateSelectedItem(e){if(this.selectedItem&&this.selectedItem.dataset.countryCode!==e&&(this.selectedItem.setAttribute($,"false"),this.selectedItem=null),e&&!this.selectedItem){let t=this.countryList.querySelector(`[data-country-code="${e}"]`);t&&(t.setAttribute($,"true"),this.selectedItem=t)}}filterCountries(e){this.countryList.innerHTML="";let t=!0;for(let n of e){let e=n.nodeById[this.id];e&&(this.countryList.appendChild(e),t&&(this.highlightListItem(e,!1),t=!1))}t?(this.highlightListItem(null,!1),this.searchNoResults&&this.searchNoResults.classList.remove(o)):this.searchNoResults&&this.searchNoResults.classList.add(o),this.countryList.scrollTop=0,this.updateSearchResultsA11yText()}destroy(){this.telInput.iti=void 0,delete this.telInput.dataset.intlTelInputId,this.options.separateDialCode&&(this.telInput.style.paddingLeft=this.originalPaddingLeft);let e=this.telInput.parentNode;for(let t of(e.before(this.telInput),e.remove(),this.telInput=null,this.countryContainer=null,this.selectedCountry=null,this.selectedCountryInner=null,this.selectedDialCode=null,this.dropdownArrow=null,this.dropdownContent=null,this.searchInput=null,this.searchIcon=null,this.searchClearButton=null,this.searchNoResults=null,this.searchResultsA11yText=null,this.countryList=null,this.dropdown=null,this.hiddenInput=null,this.hiddenInputCountry=null,this.highlightedItem=null,this.selectedItem=null,this.countries))delete t.nodeById[this.id];this.countries=null}},j=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],z=e=>{let t=e.replace(/\D/g,"");if(t.startsWith("1")&&t.length>=4){let e=t.substring(1,4);return j.includes(e)}return!1};for(let e of i)e.name=a[e.iso2];var N=0,M=new Set(i.map(e=>e.iso2)),L=class e{constructor(t,n={}){this.id=N++,this.options={...R,...n},((e,t)=>{e.useFullscreenPopup&&(e.fixDropdownWidth=!1),1===e.onlyCountries.length&&(e.initialCountry=e.onlyCountries[0]),e.separateDialCode&&(e.nationalMode=!1),!e.allowDropdown||e.showFlags||e.separateDialCode||(e.nationalMode=!1),e.useFullscreenPopup&&!e.dropdownContainer&&(e.dropdownContainer=document.body),e.i18n={...t,...e.i18n}})(this.options,a),this.ui=new A(t,this.options,this.id),this.isAndroid=e._getIsAndroid(),this.promise=this._createInitPromises(),this.countries=(e=>{let{onlyCountries:t,excludeCountries:n}=e;if(t.length){let e=t.map(e=>e.toLowerCase());return i.filter(t=>e.includes(t.iso2))}if(n.length){let e=n.map(e=>e.toLowerCase());return i.filter(t=>!e.includes(t.iso2))}return i})(this.options);const{dialCodes:r,dialCodeMaxLen:o,dialCodeToIso2Map:s}=(e=>{let t=new Set,n=0,r={},i=(e,t)=>{if(!e||!t)return;t.length>n&&(n=t.length),r.hasOwnProperty(t)||(r[t]=[]);let i=r[t];i.includes(e)||i.push(e)};for(let n of[...e].sort((e,t)=>
12e.priority-t.priority)){t.has(n.dialCode)||t.add(n.dialCode);for(let e=1;e<n.dialCode.length;e++){let t=n.dialCode.substring(0,e);i(n.iso2,t)}if(i(n.iso2,n.dialCode),n.areaCodes){let e=r[n.dialCode][0];for(let t of n.areaCodes){for(let r=1;r<t.length;r++){let a=t.substring(0,r),o=n.dialCode+a;i(e,o),i(n.iso2,o)}i(n.iso2,n.dialCode+t)}}}return{dialCodes:t,dialCodeMaxLen:n,dialCodeToIso2Map:r}})(this.countries);this.dialCodes=r,this.dialCodeMaxLen=o,this.dialCodeToIso2Map=s,this.countryByIso2=new Map(this.countries.map(e=>[e.iso2,e])),this._init()}static _getIsAndroid(){return"u">typeof navigator&&/Android/i.test(navigator.userAgent)}_updateNumeralSet(e){/[\u0660-\u0669]/.test(e)?this.userNumeralSet="arabic-indic":/[\u06F0-\u06F9]/.test(e)?this.userNumeralSet="persian":this.userNumeralSet="ascii"}_mapAsciiToUserNumerals(e){if(this.userNumeralSet||this._updateNumeralSet(this.ui.telInput.value),"ascii"===this.userNumeralSet)return e;let t="arabic-indic"===this.userNumeralSet?1632:1776;return e.replace(/[0-9]/g,e=>String.fromCharCode(t+Number(e)))}_normaliseNumerals(e){if(!e)return"";if(this._updateNumeralSet(e),"ascii"===this.userNumeralSet)return e;let t="arabic-indic"===this.userNumeralSet?1632:1776,n="arabic-indic"===this.userNumeralSet?/[\u0660-\u0669]/g:/[\u06F0-\u06F9]/g;return e.replace(n,e=>String.fromCharCode(48+(e.charCodeAt(0)-t)))}_getTelInputValue(){let e=this.ui.telInput.value.trim();return this._normaliseNumerals(e)}_setTelInputValue(e){this.ui.telInput.value=this._mapAsciiToUserNumerals(e)}_createInitPromises(){return Promise.all([new Promise((e,t)=>{this.resolveAutoCountryPromise=e,this.rejectAutoCountryPromise=t}),new Promise((e,t)=>{this.resolveUtilsScriptPromise=e,this.rejectUtilsScriptPromise=t})])}_init(){this.selectedCountryData={},this.abortController=new AbortController,this._processCountryData(),this.ui.generateMarkup(this.countries),this._setInitialState(),this._initListeners(),this._initRequests()}_processCountryData(){var e,t;for(let n of(((e,t)=>{for(let n of e){let e=n.iso2.toLowerCase();t.i18n[e]&&(n.name=t.i18n[e])}})(this.countries,this.options),e=this.countries,(t=this.options).countryOrder&&(t.countryOrder=t.countryOrder.map(e=>e.toLowerCase())),e.sort((e,n)=>{let{countryOrder:r}=t;if(r){let t=r.indexOf(e.iso2),i=r.indexOf(n.iso2),a=t>-1,o=i>-1;if(a||o)return a&&o?t-i:a?-1:1}return e.name.localeCompare(n.name)}),this.countries))n.normalisedName=T(n.name),n.initials=n.normalisedName.split(/[^a-z]/).map(e=>e[0]).join(""),n.dialCodePlus=`+${n.dialCode}`}_setInitialState(e=!1){let t=this.ui.telInput.getAttribute("value"),n=this._normaliseNumerals(t),r=this._getTelInputValue(),i=n&&n.startsWith("+")&&(!r||!r.startsWith("+"))?n:r,a=this._getDialCode(i),o=z(i),{initialCountry:s,geoIpLookup:l}=this.options,u=s===S&&l;if(a&&!o)this._updateCountryFromNumber(i);else if(!u||e){let e=s?s.toLowerCase():"";M.has(e)?this._setCountry(e):a&&o?this._setCountry("us"):this._setCountry("")}i&&this._updateValFromNumber(i)}_initListeners(){this._initTelInputListeners(),this.options.allowDropdown&&this._initDropdownListeners(),(this.ui.hiddenInput||this.ui.hiddenInputCountry)&&this.ui.telInput.form&&this._initHiddenInputListener()}_initHiddenInputListener(){let e=()=>{this.ui.hiddenInput&&(this.ui.hiddenInput.value=this.getNumber()),this.ui.hiddenInputCountry&&(this.ui.hiddenInputCountry.value=this.selectedCountryData.iso2||"")};this.ui.telInput.form?.addEventListener("submit",e,{signal:this.abortController.signal})}_initDropdownListeners(){let e=this.abortController.signal,t=e=>{this.ui.dropdownContent.classList.contains(o)?this.ui.telInput.focus():e.preventDefault()},n=this.ui.telInput.closest("label");n&&n.addEventListener("click",t,{signal:e});let r=()=>{!this.ui.dropdownContent.classList.contains(o)||this.ui.telInput.disabled||this.ui.telInput.readOnly||this._openDropdown()};this.ui.selectedCountry.addEventListener("click",r,{signal:e});let i=e=>{this.ui.dropdownContent.classList.contains(o)&&[p,h," ",m].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this._openDropdown()),"Tab"===e.key&&this._closeDropdown()};this.ui.countryContainer.addEventListener("keydown",i,{signal:e})}_initRequests(){let{loadUtils:e,initialCountry:t,geoIpLookup:n}=this.options;if(e&&!U.utils){let t=()=>{U.attachUtils(e)?.catch(()=>{})};U.documentReady()?t():window.addEventListener("load",()=>{t()},{signal:this.abortController.signal})}else this.resolveUtilsScriptPromise();
12t===S&&n&&!this.selectedCountryData.iso2?this._loadAutoCountry():this.resolveAutoCountryPromise()}_loadAutoCountry(){U.autoCountry?this.handleAutoCountry():U.startedLoadingAutoCountry||(U.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((e="")=>{let t=e.toLowerCase();M.has(t)?(U.autoCountry=t,setTimeout(()=>F("handleAutoCountry"))):(this._setInitialState(!0),F("rejectAutoCountryPromise"))},()=>{this._setInitialState(!0),F("rejectAutoCountryPromise")}))}_openDropdownWithPlus(){this._openDropdown(),this.ui.searchInput.value="+",this._filterCountriesByQuery("")}_initTelInputListeners(){this._bindInputListener(),this._maybeBindKeydownListener(),this._maybeBindPasteListener()}_bindInputListener(){let{strictMode:e,formatAsYouType:t,separateDialCode:n,allowDropdown:r,countrySearch:i}=this.options,a=!1;v.test(this._getTelInputValue())&&(a=!0);let o=o=>{let s=this._getTelInputValue();if(this.isAndroid&&o?.data==="+"&&n&&r&&i){let e=this.ui.telInput.selectionStart||0,t=s.substring(0,e-1),n=s.substring(e);this._setTelInputValue(t+n),this._openDropdownWithPlus();return}this._updateCountryFromNumber(s)&&this._triggerCountryChange();let l=o?.data&&y.test(o.data),u=o?.inputType==="insertFromPaste"&&s;l||u&&!e?a=!0:y.test(s)||(a=!1);let d=o?.detail&&o.detail.isSetNumber,c="ascii"===this.userNumeralSet;if(t&&!a&&!d&&c){let e=this.ui.telInput.selectionStart||0,t=s.substring(0,e).replace(b,"").length,n=o?.inputType==="deleteContentForward",r=((e,t,n,r,i)=>{let a=n?n.formatNumberAsYouType(e,r.iso2):e,{dialCode:o}=r;return i&&"+"!==t.charAt(0)&&a.includes(`+${o}`)?(a.split(`+${o}`)[1]||"").trim():a})(this._getFullNumber(),s,U.utils,this.selectedCountryData,this.options.separateDialCode),i=((e,t,n,r)=>{if(0===n&&!r)return 0;let i=0;for(let n=0;n<t.length;n++){if(/[+0-9]/.test(t[n])&&i++,i===e&&!r)return n+1;if(r&&i===e+1)return n}return t.length})(t,r,e,n);this._setTelInputValue(r),this.ui.telInput.setSelectionRange(i,i)}};this.ui.telInput.addEventListener("input",o,{signal:this.abortController.signal})}_maybeBindKeydownListener(){let{strictMode:e,separateDialCode:t,allowDropdown:n,countrySearch:r}=this.options;if(e||t){let i=i=>{if(i.key&&1===i.key.length&&!i.altKey&&!i.ctrlKey&&!i.metaKey){if(t&&n&&r&&"+"===i.key){i.preventDefault(),this._openDropdownWithPlus();return}if(e){let e=this._getTelInputValue(),n=!e.startsWith("+")&&0===this.ui.telInput.selectionStart&&"+"===i.key,r=this._normaliseNumerals(i.key),a=/^[0-9]$/.test(r),o=t?a:n||a,s=this.ui.telInput,l=s.selectionStart,u=s.selectionEnd,d=e.slice(0,l),c=e.slice(u),f=d+i.key+c,p=this._getFullNumber(f),h=U.utils.getCoreNumber(p,this.selectedCountryData.iso2),m=this.maxCoreNumberLength&&h.length>this.maxCoreNumberLength,g=this._getNewCountryFromNumber(p);o&&(!m||null!==g||n)||i.preventDefault()}}};this.ui.telInput.addEventListener("keydown",i,{signal:this.abortController.signal})}}_maybeBindPasteListener(){if(this.options.strictMode){let e=e=>{e.preventDefault();let t=this.ui.telInput,n=t.selectionStart,r=t.selectionEnd,i=this._getTelInputValue(),a=i.slice(0,n),o=i.slice(r),s=this.selectedCountryData.iso2,l=e.clipboardData.getData("text"),u=this._normaliseNumerals(l),d=0===n&&r>0,c=!i.startsWith("+")||d,f=u.replace(b,""),p=f.startsWith("+"),h=f.replace(/\+/g,""),m=p&&c?`+${h}`:h,g=a+m+o;if(g.length>5){let e=U.utils.getCoreNumber(g,s);for(;0===e.length&&g.length>0;)g=g.slice(0,-1),e=U.utils.getCoreNumber(g,s);if(!e)return;if(this.maxCoreNumberLength&&e.length>this.maxCoreNumberLength)if(t.selectionEnd!==i.length)return;else{let t=e.length-this.maxCoreNumberLength;g=g.slice(0,g.length-t)}}this._setTelInputValue(g);let v=n+m.length;t.setSelectionRange(v,v),t.dispatchEvent(new InputEvent("input",{bubbles:!0}))};this.ui.telInput.addEventListener("paste",e,{signal:this.abortController.signal})}}_cap(e){let t=Number(this.ui.telInput.getAttribute("maxlength"));return t&&e.length>t?e.substring(0,t):e}_trigger(e,t={}){let n=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:t});this.ui.telInput.dispatchEvent(n)}_openDropdown(){let{fixDropdownWidth:e,countrySearch:t}=this.options;if(this.dropdownAbortController=new AbortController,e&&(this.ui.dropdownContent.style.width=`${this.ui.telInput.offsetWidth}px`),this.ui.dropdownContent.classList.remove(o),this.ui.selectedCountry.setAttribute(k,"true"),this._setDropdownPosition(),t){let e=this.ui.countryList.firstElementChild;e&&(this.ui.highlightListItem(e,!1),this.ui.countryList.scrollTop=0),this.ui.searchInput.focus()}this._bindDropdownListeners(),this.ui.dropdownArrow.classList.add(l),this._trigger("open:countrydropdown")}_setDropdownPosition(){if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.ui.dropdown),!this.options.useFullscreenPopup){let e=this.ui.telInput.getBoundingClientRect(),t=this.ui.telInput.offsetHeight;if(this.options.dropdownContainer){this.ui.dropdown.style.top=`${e.top+t}px`,this.ui.dropdown.style.left=`${e.left}px`;let n=()=>this._closeDropdown();window.addEventListener("scroll",n,{signal:this.dropdownAbortController.signal})}}}_bindDropdownListeners(){let e=this.dropdownAbortController.signal;this._bindDropdownMouseoverListener(e),this._bindDropdownCountryClickListener(e),this._bindDropdownClickOffListener(e),this._bindDropdownKeydownListener(e),this.options.countrySearch&&this._bindDropdownSearchListeners(e)}_bindDropdownMouseoverListener(e){let t=e=>{let t=e.target?.closest(`.${c}`);t&&this.ui.highlightListItem(t,!1)};this.ui.countryList.addEventListener("mouseover",t,{signal:e})}_bindDropdownCountryClickListener(e){let t=e=>{let t=e.target?.closest(`.${c}`);t&&this._selectListItem(t)};this.ui.countryList.addEventListener("click",t,{signal:e})}_bindDropdownClickOffListener(e){let t=e=>{e.target.closest(`#iti-${this.id}__dropdown-content`)||this._closeDropdown()};setTimeout(()=>{document.documentElement.addEventListener("click",t,{signal:e})},0)}_bindDropdownKeydownListener(e){let t="",n=null,r=e=>
12{[p,h,m,g].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),e.key===p||e.key===h?this._handleUpDownKey(e.key):e.key===m?this._handleEnterKey():e.key===g&&(this._closeDropdown(),this.ui.selectedCountry.focus())),!this.options.countrySearch&&x.test(e.key)&&(e.stopPropagation(),n&&clearTimeout(n),t+=e.key.toLowerCase(),this._searchForCountry(t),n=setTimeout(()=>{t=""},1e3))};document.addEventListener("keydown",r,{signal:e})}_bindDropdownSearchListeners(e){let t=()=>{let e=this.ui.searchInput.value.trim();this._filterCountriesByQuery(e),this.ui.searchInput.value?this.ui.searchClearButton.classList.remove(o):this.ui.searchClearButton.classList.add(o)},n=null;this.ui.searchInput.addEventListener("input",()=>{n&&clearTimeout(n),n=setTimeout(()=>{t(),n=null},100)},{signal:e});let r=()=>{this.ui.searchInput.value="",this.ui.searchInput.focus(),t()};this.ui.searchClearButton.addEventListener("click",r,{signal:e})}_searchForCountry(e){let t=((e,t)=>{let n=t.toLowerCase();for(let t of e)if(t.name.toLowerCase().startsWith(n))return t;return null})(this.countries,e);if(t){let e=t.nodeById[this.id];this.ui.highlightListItem(e,!1),this.ui.scrollTo(e)}}_filterCountriesByQuery(e){let t;t=""===e?this.countries:((e,t)=>{let n=T(t),r=[],i=[],a=[],o=[],s=[],l=[];for(let t of e)t.iso2===n?r.push(t):t.normalisedName.startsWith(n)?i.push(t):t.normalisedName.includes(n)?a.push(t):n===t.dialCode||n===t.dialCodePlus?o.push(t):t.dialCodePlus.includes(n)?s.push(t):t.initials.includes(n)&&l.push(t);let u=(e,t)=>e.priority-t.priority;return[...r.sort(u),...i.sort(u),...a.sort(u),...o.sort(u),...s.sort(u),...l.sort(u)]})(this.countries,e),this.ui.filterCountries(t)}_handleUpDownKey(e){let t=e===p?this.ui.highlightedItem?.previousElementSibling:this.ui.highlightedItem?.nextElementSibling;!t&&this.ui.countryList.childElementCount>1&&(t=e===p?this.ui.countryList.lastElementChild:this.ui.countryList.firstElementChild),t&&(this.ui.scrollTo(t),this.ui.highlightListItem(t,!1))}_handleEnterKey(){this.ui.highlightedItem&&this._selectListItem(this.ui.highlightedItem)}_updateValFromNumber(e){let t=e;if(this.options.formatOnDisplay&&U.utils&&this.selectedCountryData){let e=this.options.nationalMode||!t.startsWith("+")&&!this.options.separateDialCode,{NATIONAL:n,INTERNATIONAL:r}=U.utils.numberFormat;t=U.utils.formatNumber(t,this.selectedCountryData.iso2,e?n:r)}t=this._beforeSetNumber(t),this._setTelInputValue(t)}_updateCountryFromNumber(e){let t=this._getNewCountryFromNumber(e);return null!==t&&this._setCountry(t)}_ensureHasDialCode(e){let{dialCode:t,nationalPrefix:n}=this.selectedCountryData;if(e.startsWith("+")||!t)return e;let r=n&&e.startsWith(n)&&!this.options.separateDialCode?e.substring(1):e;return`+${t}${r}`}_getNewCountryFromNumber(e){let t=e.indexOf("+"),n=t?e.substring(t):e,r=this.selectedCountryData.iso2,i=this.selectedCountryData.dialCode;n=this._ensureHasDialCode(n);let a=this._getDialCode(n,!0),o=n.replace(/\D/g,"");if(a){let e=a.replace(/\D/g,""),t=this.dialCodeToIso2Map[e];if(1===t.length)return t[0]===r?null:t[0];if(!r&&this.defaultCountry&&t.includes(this.defaultCountry))return this.defaultCountry;if("1"===i&&z(o))return null;let{areaCodes:n,priority:s}=this.selectedCountryData;if(n){for(let e of n.map(e=>`${i}${e}`))if(o.startsWith(e))return null}let l=n&&0!==s&&o.length>e.length,u=r&&t.includes(r)&&!l,d=r===t[0];if(!u&&!d)return t[0]}else if(n.startsWith("+")&&o.length){let e=this.selectedCountryData.dialCode||"";return e&&e.startsWith(o)?null:""}else if((!n||"+"===n)&&!r)return this.defaultCountry;return null}_setCountry(e){let{separateDialCode:t,showFlags:n,i18n:r,allowDropdown:i}=this.options,a=this.selectedCountryData.iso2||"";if(i&&this.ui.updateSelectedItem(e),this.selectedCountryData=e?this.countryByIso2.get(e):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.ui.selectedCountry){let t,i,a=e&&n?`${d} iti__${e}`:`${d} ${u}`;if(e){let{name:e,dialCode:n}=this.selectedCountryData;i=e,t=r.selectedCountryAriaLabel.replace("${countryName}",e).replace("${dialCode}",`+${n}`)}else i=r.noCountrySelected,t=r.noCountrySelected;this.ui.selectedCountryInner.className=a,this.ui.selectedCountry.setAttribute("title",i),this.ui.selectedCountry.setAttribute(E,t)}if(t){let e=this.selectedCountryData.dialCode?`+${this.selectedCountryData.dialCode}`:"";this.ui.selectedDialCode.textContent=e,this.ui.updateInputPadding()}return this._updatePlaceholder(),this._updateMaxLength(),a!==e}_updateMaxLength(){let{strictMode:e,placeholderNumberType:t,validationNumberTypes:n}=this.options,{iso2:r}=this.selectedCountryData;if(e&&U.utils)if(r){let e=U.utils.numberType[t],i=U.utils.getExampleNumber(r,!1,e,!0),a=i;for(;
12U.utils.isPossibleNumber(i,r,n);)a=i,i+="0";let o=U.utils.getCoreNumber(a,r);this.maxCoreNumberLength=o.length,"by"===r&&(this.maxCoreNumberLength=o.length+1)}else this.maxCoreNumberLength=null}_updatePlaceholder(){let{autoPlaceholder:e,placeholderNumberType:t,nationalMode:n,customPlaceholder:r}=this.options,i="aggressive"===e||!this.ui.hadInitialPlaceholder&&e===w;if(U.utils&&i){let e=U.utils.numberType[t],i=this.selectedCountryData.iso2?U.utils.getExampleNumber(this.selectedCountryData.iso2,n,e):"";i=this._beforeSetNumber(i),"function"==typeof r&&(i=r(i,this.selectedCountryData)),this.ui.telInput.setAttribute("placeholder",i)}}_selectListItem(e){let t=e.dataset.countryCode,n=this._setCountry(t);this._closeDropdown();let r=e.dataset.dialCode;if(this._updateDialCode(r),this.options.formatOnDisplay){let e=this._getTelInputValue();this._updateValFromNumber(e)}this.ui.telInput.focus(),n&&this._triggerCountryChange()}_closeDropdown(){this.ui.dropdownContent.classList.contains(o)||(this.ui.dropdownContent.classList.add(o),this.ui.selectedCountry.setAttribute(k,"false"),this.options.countrySearch&&(this.ui.searchInput.removeAttribute(_),this.ui.highlightedItem&&(this.ui.highlightedItem.classList.remove(f),this.ui.highlightedItem=null)),this.ui.dropdownArrow.classList.remove(l),this.dropdownAbortController.abort(),this.dropdownAbortController=null,this.options.dropdownContainer&&this.ui.dropdown.remove(),this._trigger("close:countrydropdown"))}_updateDialCode(e){let t,n=this._getTelInputValue(),r=`+${e}`;if(n.startsWith("+")){let e=this._getDialCode(n);t=e?n.replace(e,r):r,this._setTelInputValue(t)}}_getDialCode(e,t){let n="";if(e.startsWith("+")){let r="",i=!1;for(let a=0;a<e.length;a++){let o=e.charAt(a);if(/[0-9]/.test(o)){if(r+=o,!this.dialCodeToIso2Map[r])break;if(this.dialCodes.has(r)){if(n=e.substring(0,a+1),i=!0,!t)break}else t&&i&&(n=e.substring(0,a+1));if(r.length===this.dialCodeMaxLen)break}}}return n}_getFullNumber(e){let t=e?this._normaliseNumerals(e):this._getTelInputValue(),{dialCode:n}=this.selectedCountryData,r=t.replace(/\D/g,"");return(this.options.separateDialCode&&!t.startsWith("+")&&n&&r?`+${n}`:"")+t}_beforeSetNumber(e){let t=this._getDialCode(e),n=((e,t,n,r)=>{let i=e;if(n&&t){let e=" "===i[(t=`+${r.dialCode}`).length]||"-"===i[t.length]?t.length+1:t.length;i=i.substring(e)}return i})(e,t,this.options.separateDialCode,this.selectedCountryData);return this._cap(n)}_triggerCountryChange(){this._trigger("countrychange")}handleAutoCountry(){this.options.initialCountry===S&&U.autoCountry&&(this.defaultCountry=U.autoCountry,this.selectedCountryData.iso2||this.ui.selectedCountryInner.classList.contains(u)||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}handleUtils(){if(U.utils){let e=this._getTelInputValue();e&&this._updateValFromNumber(e),this.selectedCountryData.iso2&&(this._updatePlaceholder(),this._updateMaxLength())}this.resolveUtilsScriptPromise()}destroy(){this.ui.telInput&&(this.options.allowDropdown&&this._closeDropdown(),this.abortController.abort(),this.abortController=null,this.ui.destroy(),U.instances instanceof Map?U.instances.delete(this.id):delete U.instances[this.id])}getExtension(){return U.utils?U.utils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}getNumber(e){if(U.utils){let{iso2:t}=this.selectedCountryData,n=this._getFullNumber(),r=U.utils.formatNumber(n,t,e);return this._mapAsciiToUserNumerals(r)}return""}getNumberType(){return U.utils?U.utils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}getSelectedCountryData(){return this.selectedCountryData}getValidationError(){if(U.utils){let{iso2:e}=this.selectedCountryData;return U.utils.getValidationError(this._getFullNumber(),e)}return -99}isValidNumber(){let{dialCode:e,iso2:t}=this.selectedCountryData;if("44"===e&&U.utils){let e=this._getFullNumber(),n=U.utils.getCoreNumber(e,t);if("7"===n[0]&&10!==n.length)return!1}return this._validateNumber(!1)}isValidNumberPrecise(){return this._validateNumber(!0)}_utilsIsPossibleNumber(e){return U.utils?U.utils.isPossibleNumber(e,this.selectedCountryData.iso2,this.options.validationNumberTypes):null}_validateNumber(e){if(!U.utils)return null;if(!this.selectedCountryData.iso2)return!1;let t=t=>e?this._utilsIsValidNumber(t):this._utilsIsPossibleNumber(t),n=this._getFullNumber(),r=n.search(v);if(r>-1&&!this.options.allowPhonewords){let e=t(n.substring(0,r)),i=t(n);return e&&i}return t(n)}_utilsIsValidNumber(e){return U.utils?U.utils.isValidNumber(e,this.selectedCountryData.iso2,this.options.validationNumberTypes):null}setCountry(e){let t=e?.toLowerCase();if(!M.has(t))throw Error(`Invalid country code: '${t}'`);let n=this.selectedCountryData.iso2;if(e&&t!==n||!e&&n){if(this._setCountry(t),this._updateDialCode(this.selectedCountryData.dialCode),this.options.formatOnDisplay){let e=this._getTelInputValue();
12this._updateValFromNumber(e)}this._triggerCountryChange()}}setNumber(e){let t=this._normaliseNumerals(e),n=this._updateCountryFromNumber(t);this._updateValFromNumber(t),n&&this._triggerCountryChange(),this._trigger("input",{isSetNumber:!0})}setPlaceholderNumberType(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}setDisabled(e){this.ui.telInput.disabled=e,e?this.ui.selectedCountry.setAttribute("disabled","true"):this.ui.selectedCountry.removeAttribute("disabled")}},F=(e,...t)=>{Object.values(U.instances).forEach(n=>{let r=n[e];"function"==typeof r&&r.apply(n,t)})},U=Object.assign((e,t)=>{let n=new L(e,t);return U.instances[n.id]=n,e.iti=n,n},{defaults:R,documentReady:()=>"complete"===document.readyState,getCountryData:()=>i,getInstance:e=>{let t=e.dataset.intlTelInputId;return t?U.instances[t]:null},instances:{},attachUtils:e=>{if(!U.utils&&!U.startedLoadingUtilsScript){let t;if("function"!=typeof e)return Promise.reject(TypeError(`The argument passed to attachUtils must be a function that returns a promise for the utilities module, not ${typeof e}`));try{t=Promise.resolve(e())}catch(e){return Promise.reject(e)}return U.startedLoadingUtilsScript=!0,t.then(e=>{let t=e?.default;if(!t||"object"!=typeof t)throw TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");return U.utils=t,F("handleUtils"),!0}).catch(e=>{throw F("rejectUtilsScriptPromise",e),e})}return null},startedLoadingUtilsScript:!1,startedLoadingAutoCountry:!1,version:"25.15.1"}),B=(0,r.forwardRef)(function({initialValue:e="",onChangeNumber:t=()=>{},onChangeCountry:n=()=>{},onChangeValidity:i=()=>{},onChangeErrorCode:a=()=>{},usePreciseValidation:o=!1,initOptions:s={},inputProps:l={},disabled:u},d){let c=(0,r.useRef)(null),f=(0,r.useRef)(null);(0,r.useImperativeHandle)(d,()=>({getInstance:()=>f.current,getInput:()=>c.current}));let p=(0,r.useCallback)(()=>{let e=f.current?.getNumber()||"",r=f.current?.getSelectedCountryData().iso2||"";if(t(e),n(r),f.current)if(o?f.current.isValidNumberPrecise():f.current.isValidNumber())i(!0),a(null);else{let e=f.current.getValidationError();i(!1),a(e)}},[n,a,t,i,o]);return(0,r.useEffect)(()=>(c.current&&(f.current=U(c.current,s)),()=>{f.current?.destroy()}),[]),(0,r.useEffect)(()=>{let e=c.current;return e&&(e.addEventListener("countrychange",p),f.current.promise.then(p)),()=>{e&&e.removeEventListener("countrychange",p)}},[p]),(0,r.useEffect)(()=>{f.current&&void 0!==u&&f.current.setDisabled(u)},[u]),r.createElement("input",{type:"tel",ref:c,onInput:p,defaultValue:e,...l})})},11214:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var r=n(71987),i=n(21203);function a(e,t,n){let[a,o]=(0,r.x)(n?.in,e,t);return+(0,i.o)(a)==+(0,i.o)(o)}},11303:(e,t,n)=>{"use strict";n.d(t,{hJ:()=>f,Se:()=>p});var r=n(34023);let i=(0,r.createContext)({});var a=n(76230);function o({children:e}){let t=(0,r.useMemo)(()=>({register:()=>{}}),[]);return r.createElement(a.F.Provider,{value:t},e)}var s=n(28803),l=n(56742),u=n(93419),d=n(2713);let c=r.createContext(null);function f(e){var t;let n=(0,u.wR)(),{portalContainer:a=n?null:document.body,isExiting:d}=e,[f,p]=(0,r.useState)(!1),h=(0,r.useMemo)(()=>({contain:f,setContain:p}),[f,p]),{getContainer:m}=null!=(t=(0,r.useContext)(i))?t:{};if(!e.portalContainer&&m&&(a=m()),!a)return null;let g=e.children;return e.disableFocusManagement||(g=r.createElement(s.n1,{restoreFocus:!0,contain:(e.shouldContainFocus||f)&&!d},g)),g=r.createElement(c.Provider,{value:h},r.createElement(o,null,g)),l.createPortal(g,a)}function p(){let e=(0,r.useContext)(c),t=null==e?void 0:e.setContain;(0,d.N)(()=>{null==t||t(!0)},[t])}},12013:(e,t,n)=>{"use strict";function r(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}n.d(t,{A:()=>r})},12271:(e,t,n)=>{"use strict";n.d(t,{y:()=>S});var r=n(34023),i=n(42800),a=n(88018),o=n(30417),s=n(58302),l=n(78406),u=n(37750),d=n(77799),c=n(33848),f=n(17366),p=n(65538),h=n(97869),m=n(75565),g=n(8551),v=n(78337),y=n(27684),b=n(21610),x=n(90288),w=n(94799);let S=r.forwardRef(function(e,t){let{anchor:n,positionMethod:S="absolute",className:k,render:E,side:$,align:_,sideOffset:C=0,alignOffset:D=0,collisionBoundary:I="clipping-ancestors",collisionPadding:R=5,arrowPadding:T=5,sticky:P=!1,disableAnchorTracking:O=!1,
12collisionAvoidance:A=h.uD,style:j,...z}=e,{store:N}=(0,u.Y)(),M=(0,p.y)(),L=(0,m.v)(!0),F=N.useState("parent"),U=N.useState("floatingRootContext"),B=N.useState("floatingTreeRoot"),V=N.useState("mounted"),Z=N.useState("open"),K=N.useState("modal"),q=N.useState("openMethod"),W=N.useState("activeTriggerElement"),G=N.useState("transitionStatus"),H=N.useState("positionerElement"),J=N.useState("instantType"),Y=N.useState("adaptiveOrigin"),X=N.useState("lastOpenChangeReason"),Q=N.useState("floatingNodeId"),ee=N.useState("floatingParentNodeId"),et=U.useState("domReferenceElement"),en=r.useRef(null),er=(0,y.V)(H),ei=n,ea=C,eo=D,es=_,el=A;"context-menu"===F.type&&(ei=n??F.context?.anchor,es=es??"start",$||"center"===es||(eo=e.alignOffset??2,ea=e.sideOffset??-5));let eu=$,ed=es;"menu"===F.type?(eu=eu??"inline-end",ed=ed??"start",el=e.collisionAvoidance??h.Pe):"menubar"===F.type&&(eu=eu??("vertical"===F.context.orientation?"inline-end":"bottom"),ed=ed??"start");let ec="context-menu"===F.type,ef=(0,d.s)({anchor:ei,floatingRootContext:U,positionMethod:L?"fixed":S,mounted:V,side:eu,sideOffset:ea,align:ed,alignOffset:eo,arrowPadding:ec?0:T,collisionBoundary:I,collisionPadding:R,sticky:P,nodeId:Q,keepMounted:M,disableAnchorTracking:O,collisionAvoidance:el,shift:ec?{crossAxis:!("side"in el&&"flip"===el.side),rootBoundary:"layoutViewport"}:void 0,externalTree:B,adaptiveOrigin:Y});r.useEffect(()=>{function e(e){e.open&&(e.parentNodeId===Q&&N.set("hoverEnabled",!1),e.nodeId!==Q&&e.parentNodeId===N.select("floatingParentNodeId")&&N.setOpen(!1,(0,g.d)(v.p)))}return B.events.on("menuopenchange",e),()=>{B.events.off("menuopenchange",e)}},[N,B.events,Q]),r.useEffect(()=>{if(null!=N.select("floatingParentNodeId"))return B.events.on("menuopenchange",e),()=>{B.events.off("menuopenchange",e)};function e(e){if(e.open||e.nodeId!==N.select("floatingParentNodeId"))return;let t=e.reason??v.p;N.setOpen(!1,(0,g.d)(t))}},[B.events,N]);let ep=(0,o.Z)();r.useEffect(()=>{Z||ep.clear()},[Z,ep]),r.useEffect(()=>{function e(e){if(Z&&e.nodeId===N.select("floatingParentNodeId"))if(e.target&&W&&W!==e.target){let e=N.select("closeDelay");e>0?ep.isStarted()||ep.start(e,()=>{N.setOpen(!1,(0,g.d)(v.p))}):N.setOpen(!1,(0,g.d)(v.p))}else ep.clear()}return B.events.on("itemhover",e),()=>{B.events.off("itemhover",e)}},[B.events,Z,W,N,ep]),r.useEffect(()=>{let e={open:Z,nodeId:Q,parentNodeId:ee,reason:N.select("lastOpenChangeReason")};B.events.emit("menuopenchange",e)},[B.events,Z,N,Q,ee]),(0,a.g)(()=>{let e=en.current;if(et&&(en.current=et),e&&et&&et!==e){N.set("instantType",void 0);let e=new AbortController;return er(()=>{N.set("instantType","trigger-change")},e.signal),()=>{e.abort()}}},[et,er,N]);let eh={open:Z,side:ef.side,align:ef.align,anchorHidden:ef.anchorHidden,nested:"menu"===F.type,instant:J},em="menubar"===F.type&&F.context.modal,eg=K&&X!==v.N7;(0,x.G)(Z&&(em||eg),"touch"===q,H,W);let ev=(0,b.i)(e,eh,{styles:ef.positionerStyles,transitionStatus:G,props:z,refs:[t,N.useStateSetter("positionerElement")],hidden:!V,inert:!Z}),ey=V&&"menu"!==F.type&&("menubar"!==F.type&&K&&X!==v.N7||"menubar"===F.type&&F.context.modal),eb=null;return"menubar"===F.type?eb=F.context.contentElement:void 0===F.type&&(eb=W),(0,w.jsxs)(l.r.Provider,{value:ef,children:[ey&&(0,w.jsx)(f.W,{ref:"context-menu"===F.type||"nested-context-menu"===F.type?F.context.internalBackdropRef:null,inert:(0,i.Y)(!Z),cutout:eb}),(0,w.jsx)(s.$c,{id:Q,children:(0,w.jsx)(c.u,{elementsRef:N.context.itemDomElements,labelsRef:N.context.itemLabels,children:ev})})]})})},12307:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(26427);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},12789:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(34023);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},13293:(e,t,n)=>{"use strict";var r;n.d(t,{UY:()=>i,fd:()=>l,nP:()=>a,rs:()=>o,u5:()=>s});let i=Symbol("ZodOutput"),a=Symbol("ZodInput");class o{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&"object"==typeof n&&"id"in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function s(){return new o}(r=globalThis).__zod_globalRegistry??(r.__zod_globalRegistry=s());let l=globalThis.__zod_globalRegistry},13327:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(34023),i=n(88018),a=n(7366),o=n(45753),s=n(99097),l=n(57936),u=n(99901),d=n(81646);function c(e={}){let{id:t,implicit:n=!1,controlRef:f}
12=e,{controlId:p,registerControlId:h}=(0,d.H)(),m=(0,u.e)(t),g=n?p:void 0,v=(0,o.j)(()=>Symbol()),y=r.useRef(!1),b=r.useRef(null!=t),x=(0,a.K)(()=>{y.current&&h!==l.tE&&(y.current=!1,h(v.current,void 0))});return(0,i.g)(()=>{let e;if(h!==l.tE){if(n){let n=f?.current;e=(0,s.vq)(n)&&null!=n.closest("label")?t??null:g??m}else if(null!=t)b.current=!0,e=t;else{if(!b.current)return void x();e=m}if(void 0===e)return void x();y.current=!0,h(v.current,e)}},[t,f,g,h,n,m,v,x]),r.useEffect(()=>x,[x]),p??m}},14186:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(96094);let i={...n(41118).GW,...r.G,nestedDialogOpen:e=>e?{"data-nested-dialog-open":""}:null}},14571:(e,t,n)=>{"use strict";n.d(t,{g:()=>l});var r=n(34023),i=n(55240),a=n(37750),o=n(65538),s=n(94799);let l=r.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:l}=(0,a.Y)();return l.useState("mounted")||n?(0,s.jsx)(o.V.Provider,{value:n,children:(0,s.jsx)(i.XF,{ref:t,...r})}):null})},14926:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(2713);function i(e,t){(0,r.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},15483:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(84412),i=n(59496),a=n(56614),o=n(34023);function s(e={}){let{autoFocus:t=!1,isTextInput:n,within:l}=e,u=(0,o.useRef)({isFocused:!1,isFocusVisible:t||(0,r.pP)()}),[d,c]=(0,o.useState)(!1),[f,p]=(0,o.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),h=(0,o.useCallback)(()=>p(u.current.isFocused&&u.current.isFocusVisible),[]),m=(0,o.useCallback)(e=>{u.current.isFocused=e,u.current.isFocusVisible=(0,r.pP)(),c(e),h()},[h]);(0,r.K7)(e=>{u.current.isFocusVisible=e,h()},[n,d],{enabled:d,isTextInput:n});let{focusProps:g}=(0,i.i)({isDisabled:l,onFocusChange:m}),{focusWithinProps:v}=(0,a.R)({isDisabled:!l,onFocusWithinChange:m});return{isFocused:d,isFocusVisible:f,focusProps:l?v:g}}},15720:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r,i=n(34023);let a="u">typeof document?null!=(r=i.useInsertionEffect)?r:i.useLayoutEffect:()=>{};function o(e,t,n){let[r,o]=(0,i.useState)(e||t),s=(0,i.useRef)(r),l=(0,i.useRef)(void 0!==e),u=void 0!==e;(0,i.useEffect)(()=>{l.current,l.current=u},[u]);let d=u?e:r;a(()=>{s.current=d});let[,c]=(0,i.useReducer)(()=>({}),{});return[d,(0,i.useCallback)((e,...t)=>{let r="function"==typeof e?e(s.current):e;Object.is(s.current,r)||(s.current=r,o(r),c(),null==n||n(r,...t))},[n])]}},15741:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});let r=0;function i(e){return r+=1,`${e}-${Math.random().toString(36).slice(2,6)}-${r}`}},15957:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(84412),i=n(92030),a=n(80254),o=n(955),s=n(74052);function l(e){let t=(0,i.TW)(e);if("virtual"===(0,r.ME)()){let n=(0,a.bq)(t);(0,o.v)(()=>{let r=(0,a.bq)(t);(r===n||r===t.body)&&e.isConnected&&(0,s.e)(e)})}else(0,s.e)(e)}},16365:(e,t,n)=>{"use strict";n.d(t,{M:()=>b});var r=n(34023),i=n(78638),a=n(88018),o=n(7366),s=n(99901),l=n(92796),u=n(69045),d=n(32705),c=n(37457),f=n(1075),p=n(83778),h=n(62025),m=n(8838),g=n(8551),v=n(78337),y=n(79342);let b=r.forwardRef(function(e,t){let{className:n,disabled:b=!1,render:x,value:w,id:S,nativeButton:k=!0,style:E,...$}=e,{value:_,getTabPanelIdByValue:C,onValueChange:D,orientation:I,tabActivationDirection:R}=(0,p.z)(),{activateOnFocus:T,registerTabResizeObserverElement:P,tabsListElement:O}=(0,m.b)(),{highlightedIndex:A,onHighlightedIndexChange:j}=(0,f.G)(),z=(0,s.e)(S),N=r.useMemo(()=>({disabled:b,id:z,value:w}),[b,z,w]),{compositeProps:M,compositeRef:L,index:F}=(0,c.k)({metadata:N}),U=w===_,B=r.useRef(!1),V=r.useRef(null),Z=(0,o.K)(e=>{V.current?.(),V.current=e?P(e):null});(0,a.g)(()=>{if(B.current){B.current=!1;return}if(U&&F>-1&&A!==F){if(null!=O){let e=(0,y.RS)((0,i.R)(O));if(e&&(0,y.gR)(O,e))return}b||j(F)}},[U,F,A,j,b,O]);let{getButtonProps:K,buttonRef:q}=(0,u.s)({disabled:b,native:k,focusableWhenDisabled:!0}),W=C(w),G=r.useRef(!1),H=r.useRef(!1);function J(e){D(w,(0,g.d)(v.dv,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,l.o)("button",e,{state:{disabled:b,active:U,orientation:I,tabActivationDirection:R},ref:[t,q,L,Z],props:[M,{role:"tab","aria-controls":W,"aria-selected":U,id:z,onClick:function(e){U||b||J(e)},onFocus:function(e){U||b||T&&(!G.current||H.current)&&J(e)},onPointerDown:function(e){if(U||b)return;G.current=!0,H.current=0===e.button;let t=(0,i.R)(e.currentTarget);
12function n(){G.current=!1,H.current=!1,t.removeEventListener("pointerup",n),t.removeEventListener("pointercancel",n)}t.addEventListener("pointerup",n),t.addEventListener("pointercancel",n)},[d.h]:U?"":void 0,onKeyDownCapture(){B.current=!0}},$,K],stateAttributesMapping:h.h})})},16943:(e,t,n)=>{"use strict";n.d(t,{K:()=>d});var r=n(34023),i=n(84505),a=n(55240),o=n(31262),s=n(67558),l=n(26594),u=n(94799);let d=r.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,d=(0,o.Ee)(),c=(0,i.P)(d,l.T.mounted),f=(0,i.P)(d,l.T.forceMounted);return c||n||f?(0,u.jsx)(s.P.Provider,{value:n,children:(0,u.jsx)(a.XF,{ref:t,...r})}):null})},17069:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>a});var r=n(34023),i=n(94799);function a(e,t){let n=r.createContext(t),a=e=>{let{children:t,...a}=e,o=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(n.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],a=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return a.scopeName=e,[function(t,a){let o=r.createContext(a),s=n.length;n=[...n,a];let l=t=>{let{scope:n,children:a,...l}=t,u=n?.[e]?.[s]||o,d=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:d,children:a})};return l.displayName=t+"Provider",[l,function(n,i){let l=i?.[e]?.[s]||o,u=r.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(a,...t)]}},17366:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(34023),i=n(94799);let a=r.forwardRef(function(e,t){let n,{cutout:r,...a}=e;if(r){let e=r.getBoundingClientRect();n=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,i.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...a,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:n}})})},17597:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(19758),i=n(40625),a=n(80668),o=n(34023);function s(e){e=(0,a.k)(null!=e?e:{},l);let{locale:t}=(0,r.Y)();return(0,o.useMemo)(()=>new(0,i.p)(t,e),[t,e])}function l(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}},17977:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>a});var r=n(34023),i=0;function a(){r.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},18039:(e,t,n)=>{"use strict";n.d(t,{Ae:()=>x,DU:()=>k,L_:()=>E,Ls:()=>v,T1:()=>S,UM:()=>y,i:()=>w,i6:()=>C,l$:()=>_,tr:()=>$,xp:()=>b,xs:()=>D});var r=n(34023),i=n(56742),a=n(57936),o=n(56065),s=n(7366),l=n(88018),u=n(45753),d=n(20290),c=n(58302),f=n(49414),p=n(6280),h=n(28410),m=n(8551),g=n(78337);let v={tabIndex:-1,[d.Ed]:""};function y(e){return t=>"touch"!==t||e.current}function b(e,t=!1){let n=(0,o.B)(),r=null!=(0,c.R1)(),i=(0,u.j)(()=>e(n,r)).current;return(0,f.D)({popupStore:i,treatPopupAsFloatingElement:t,floatingRootContext:i.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:i.setOpen}),i}function x({handle:e,store:t}){return(0,l.g)(()=>e.attachStore(t),[e,t]),null}function w(e,t,n,r=!1){t?e.preventUnmountingOnClose=!1:r&&(e.preventUnmountingOnClose=!0);let i=n?.id??null;(i||t)&&(e.activeTriggerId=i,e.activeTriggerElement=n??null)}function S(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function k(e,t,n,r={}){let a=n.reason,o=a===g.N7,s=t&&a===g.F4,l=!t&&(a===g.Ui||a===g.jv),u=S(n);if(e.context.onOpenChange?.(t,n),n.isCanceled)return;r.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,n);let d=()=>{let i={...r.extraState,open:t};s?i.instantType="focus":l?i.instantType="dismiss":o&&(i.instantType=void 0),w(i,t,n.trigger,u()),e.update(i)};o?i.flushSync(d):d()}function E(e,t,n,i){let a,o,u=n.useState("isMountedByTrigger",e),d=(a=r.useRef(null),o=r.useRef(null),r.useCallback(t=>{if(void 0===e)return;let r=!1;if(null!==a.current){let e=a.current,t=o.current,i=n.context.triggerElements.getById(e);t&&i===t&&(n.context.triggerElements.delete(e),r=!0),a.current=null,o.current=null}if(null!==t&&(a.current=e,o.current=t,n.context.triggerElements.add(e,t),r=!0),r){let e=n.context.triggerElements.size;n.select("open")&&n.state.triggerCount!==e&&n.set("triggerCount",e)}},[n,e])),c=(0,s.K)(t=>{let r=n.select("open"),a=n.select("activeTriggerId");a===e?n.update({activeTriggerElement:t,...r?i:null}):null==a&&r&&n.update({activeTriggerId:e,activeTriggerElement:t,...i})}),f=r.useCallback(e=>{d(e),e&&c(e)},[d,c]);return(0,l.g)(()=>{u&&n.update({activeTriggerElement:t.current,...i})},[u,n,t,...Object.values(i)]),{registerTrigger:f,isMountedByThisTrigger:u}}function $(e,t={}){let{closeOnActiveTriggerUnmount:n=!1}=t,i=r.useRef(null),a=e.useState("open"),o=e.useState("triggerCount"),s=e.useState("activeTriggerId"),u=e.useState("activeTriggerElement");(0,l.g)(()=>
12{if(!a){i.current=null,0!==e.state.triggerCount&&e.set("triggerCount",0);return}let t=e.context.triggerElements.size,r={};e.state.triggerCount!==t&&(r.triggerCount=t);let o=e.select("activeTriggerId"),s=null;if(o){let t=e.context.triggerElements.getById(o);if(t)i.current=o,t!==e.state.activeTriggerElement&&(r.activeTriggerElement=t);else{for(let[t,n]of e.context.triggerElements.entries())if(n===e.state.activeTriggerElement){r.activeTriggerId=t,r.activeTriggerElement=n,i.current=t;break}void 0===r.activeTriggerId&&(i.current===o?s=o:i.current=null)}}else i.current=null;if(!s&&!o&&1===t){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,n]=t.value;r.activeTriggerId=e,r.activeTriggerElement=n,i.current=e}}(void 0!==r.triggerCount||void 0!==r.activeTriggerId||void 0!==r.activeTriggerElement)&&e.update(r),s&&n&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===s&&!e.context.triggerElements.getById(s)){let t=(0,m.d)(g.dv);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[a,e,o,s,u,n])}function _(e,t,n){let{mounted:r,setMounted:i,transitionStatus:a}=(0,p.$)(e),o=t.useState("preventUnmountingOnClose"),l=!e&&o;t.useSyncedValues({mounted:r,transitionStatus:a,preventUnmountingOnClose:l});let u=(0,s.K)(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)});return(0,h.v)({enabled:r&&!e&&!l,open:e,ref:t.context.popupRef,onComplete(){e||u()}}),{forceUnmount:u,transitionStatus:a}}function C(e,t){e.useSyncedValues(t),(0,l.g)(()=>()=>{e.update({activeTriggerProps:a.t0,inactiveTriggerProps:a.t0,popupProps:a.t0})},[e])}function D(e,t){(0,l.g)(()=>{t||null===e.state.openMethod||e.set("openMethod",null)},[t,e]),(0,l.g)(()=>()=>{null!==e.state.openMethod&&e.set("openMethod",null)},[e])}},18075:(e,t,n)=>{"use strict";function r(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}n.d(t,{d:()=>r})},18849:(e,t,n)=>{"use strict";n.d(t,{t:()=>j});var r=n(34023),i=n(24811),a=n(49308),o=n(64441),s=n(7366),l=n(78638),u=n(99097),d=n(88018),c=n(84505),f=n(53451),p=n(69370),h=n(83560),m=n(76786),g=n(41118),v=n(70194),y=n(28833),b=n(96094),x=n(28410),w=n(92796),S=n(28655),k=n(27e3),E=n(8551),$=n(78337),_=n(53668),C=n(59627),D=n(21708),I=n(51407),R=n(64652),T=n(64988),P=n(56136),O=n(94799);let A={...g.GW,...b.G},j=r.forwardRef(function(e,t){let{render:n,className:i,style:h,finalFocus:g,...b}=e,{store:j,popupRef:U,onOpenChangeComplete:B,setOpen:V,valueRef:Z,firstItemTextRef:K,selectedItemTextRef:q,multiple:W,handleScrollArrowVisibility:G,scrollHandlerRef:H,listRef:J,highlightItemOnHover:Y,floatingContext:X}=(0,m.l)(),{side:Q,align:ee,alignItemWithTriggerActive:et,isPositioned:en,setControlledAlignItemWithTrigger:er}=(0,v.H)(),ei=null!=(0,_.S)(!0),ea=(0,P.j)(),{nonce:eo,disableStyleElements:es}=(0,T.n)(),el=(0,c.P)(j,S.T.id),eu=(0,c.P)(j,S.T.open),ed=(0,c.P)(j,S.T.openMethod),ec=(0,c.P)(j,S.T.mounted),ef=(0,c.P)(j,S.T.popupProps),ep=(0,c.P)(j,S.T.transitionStatus),eh=(0,c.P)(j,S.T.triggerElement),em=(0,c.P)(j,S.T.positionerElement),eg=(0,c.P)(j,S.T.listElement),ev=r.useRef(!1),ey=r.useRef(!1),eb=r.useRef({}),ex=(0,f.NR)(),ew=(0,s.K)(e=>{var t;if(!em||!U.current||!ey.current)return;let n="0px"===em.style.top,r="0px"===em.style.bottom;if(ev.current||!et||!n&&!r)return void G(e);let i=M(em),a=(t=em.getBoundingClientRect().height,t/i.y),o=(0,l.R)(em),s=(0,u.zk)(em),d=s.getComputedStyle(em),c=parseFloat(d.marginTop),f=parseFloat(d.marginBottom),p=z(s.getComputedStyle(U.current)),h=Math.min(o.documentElement.clientHeight-c-f,p),m=e.scrollTop,g=N(e),v=null,y=e=>{em.style.height=`${e}px`},b=n?g-m:m,x=Math.min(a+b,h);if(b<=R.Pv){let t=(0,I.q)(b,0,h-a);t>0&&y(a+t),e.scrollTop=n?g:0,h-(a+t)<=R.Pv&&(ev.current=!0),G(e);return}if(h-x>R.Pv)v=n?1/0:0;else if(r&&m<g){let e=a+b-h;v=m-(b-e)}let w=Math.ceil(x);if(0!==w&&y(w),null!=v){let t=(0,I.q)(v,0,N(e));Math.abs(e.scrollTop-t)>R.Pv&&(e.scrollTop=t)}w>=h-R.Pv&&(ev.current=!0),G(e)});r.useImperativeHandle(H,()=>ew,[ew]),(0,x.v)({open:eu,ref:U,onComplete(){eu&&B?.(!0)}}),(0,d.g)(()=>{em&&U.current&&!Object.keys(eb.current).length&&(eb.current={top:em.style.top||"0",left:em.style.left||"0",right:em.style.right,height:em.style.height,bottom:em.style.bottom,minHeight:em.style.minHeight,maxHeight:em.style.maxHeight,marginTop:em.style.marginTop,marginBottom:em.style.marginBottom})},[U,em]),(0,d.g)(()=>{eu||et||(ey.current=!1,ev.current=!1,(0,k.Y)(em,eb.current))},[eu,et,em,U]),(0,d.g)(()=>{let e=U.current;if(!eu||!eh||!em||!e||et&&!en||"ending"===j.state.transitionStatus)return;if(ey.current=!0,e.style.removeProperty("--transform-origin"),!et)return void ex.request(()=>G(eg||e));let t=function(e){let{style:t}=e,n={};for(let[e,r]of F)n[e]=t.getPropertyValue(e),t.setProperty(e,r,"important");return()=>{for(let[e]of F){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}(e);try{let t,n=q.current;n?.isConnected||(n=!S.T.hasSelectedValue(j.state)&&K.current?.isConnected?K.current:null);let r=Z.current,i=(0,u.zk)(em),a=i.getComputedStyle(em),s=i.getComputedStyle(e),d=(0,l.R)(eh),c=M(eh),f=L(eh.getBoundingClientRect(),c),p=L(em.getBoundingClientRect(),c),h=f.height,m=eg||e,g=m.scrollHeight,v=parseFloat(s.borderBottomWidth),y=parseFloat(a.marginTop)||10,b=parseFloat(a.marginBottom)||10,x=parseFloat(a.minHeight)||100,w=z(s),E=d.documentElement.clientHeight-y-b,$=d.documentElement.clientWidth,_=E-f.bottom+h,C="rtl"===ea?f.right-p.width:f.left,D=0;if(n&&r){let e=L(r.getBoundingClientRect(),c);t=L(n.getBoundingClientRect(),c),C=p.left+("rtl"===ea?e.right-t.right:e.left-t.left);
12let i=e.top-f.top+e.height/2;D=t.top-p.top+t.height/2-i}let T=_+D+b+v,P=Math.min(E,T),O=E-y-b,A=T-P;em.style.left=`${(0,I.q)(C,5,$-5-p.width)}px`,em.style.height=`${P}px`,em.style.maxHeight="none",em.style.marginTop=`${y}px`,em.style.marginBottom=`${b}px`,e.style.height="100%";let F=N(m),U=A>=F-R.Pv;U&&(P=Math.min(E,p.height)-(A-F));let B=f.top<20||f.bottom>E-20||Math.ceil(P)+R.Pv<Math.min(g,x),V=(i.visualViewport?.scale??1)!==1&&o.Fp;if(B||V){(0,k.Y)(em,eb.current),er(!1);return}let W=Math.max(x,P);if(U){let e=Math.max(0,E-T);em.style.top=p.height>=O?"0":`${e}px`,em.style.height=`${P}px`,m.scrollTop=N(m)}else em.style.bottom="0",m.scrollTop=A;if(t){let n=p.top,r=p.height,i=t.top+t.height/2,a=(0,I.q)(r>0?(i-n)/r*100:50,0,100);e.style.setProperty("--transform-origin",`50% ${a}%`)}(W===E||P>=w)&&(ev.current=!0),G(m),Y&&null===j.state.selectedIndex&&null===j.state.activeIndex&&null!=J.current[0]&&j.set("activeIndex",0)}finally{t()}},[j,eu,em,eh,Z,K,q,U,G,et,er,ex,eg,J,Y,ea,en]),r.useEffect(()=>{if(!et||!em||!eu)return;let e=(0,u.zk)(em);return(0,a.q)(e,"resize",function(e){V(!1,(0,E.d)($.L5,e))})},[V,et,em,eu]);let eS={...eg?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":W||void 0,id:`${el}-list`},onKeyDown(e){ei&&C.jF.has(e.key)&&e.stopPropagation()},onScroll(e){eg||ew(e.currentTarget)},...et&&{style:eg?{height:"100%"}:k.O},className:!eg&&et?y.E.className:void 0},ek=(0,w.o)("div",e,{ref:[t,U],state:{open:eu,transitionStatus:ep,side:Q,align:ee},stateAttributesMapping:A,props:[ef,eS,(0,D.d)(ep),b]});return(0,O.jsxs)(r.Fragment,{children:[!es&&y.E.getElement(eo),(0,O.jsx)(p.s,{context:X,modal:!1,disabled:!ec,openInteractionType:ed,returnFocus:g,restoreFocus:!0,children:ek})]})});function z(e){let t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function N(e){return(0,R.XF)(e.scrollHeight,e.clientHeight)}function M(e){return h.iD.getScale(e)}function L(e,t){return(0,i.B1)({x:e.x/t.x,y:e.y/t.y,width:e.width/t.x,height:e.height/t.y})}let F=[["transform","none"],["scale","1"],["translate","0 0"]]},19130:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},19656:(e,t,n)=>{"use strict";n.d(t,{UC:()=>en,VY:()=>ei,ZL:()=>ee,bL:()=>X,bm:()=>ea,hE:()=>er,hJ:()=>et,l9:()=>Q});var r=n(34023),i=n(82669),a=n(34233),o=n(17069),s=n(22905),l=n(66825),u=n(6964),d=n(75043),c=n(50257),f=n(97765),p=n(39739),h=n(17977),m=n(62812),g=n(42888),v=n(89360),y=n(94799),b="Dialog",[x,w]=(0,o.A)(b),[S,k]=x(b),E=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:a,onOpenChange:o,modal:u=!0}=e,d=r.useRef(null),c=r.useRef(null),[f,p]=(0,l.i)({prop:i,defaultProp:a??!1,onChange:o,caller:b});return(0,y.jsx)(S,{scope:t,triggerRef:d,contentRef:c,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};E.displayName=b;var $="DialogTrigger",_=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=k($,n),s=(0,a.s)(t,o.triggerRef);return(0,y.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":q(o.open),...r,ref:s,onClick:(0,i.mK)(e.onClick,o.onOpenToggle)})});_.displayName=$;var C="DialogPortal",[D,I]=x(C,{forceMount:void 0}),R=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:a}=e,o=k(C,t);return(0,y.jsx)(D,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,y.jsx)(f.C,{present:n||o.open,children:(0,y.jsx)(c.Z,{asChild:!0,container:a,children:e})}))})};R.displayName=C;var T="DialogOverlay",P=r.forwardRef((e,t)=>{let n=I(T,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=k(T,e.__scopeDialog);return a.modal?(0,y.jsx)(f.C,{present:r||a.open,children:(0,y.jsx)(A,{...i,ref:t})}):null});P.displayName=T;var O=(0,v.TL)("DialogOverlay.RemoveScroll"),A=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=k(T,n);return(0,y.jsx)(m.A,{as:O,allowPinchZoom:!0,shards:[i.contentRef],children:(0,y.jsx)(p.sG.div,{"data-state":q(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),j="DialogContent",z=r.forwardRef((e,t)=>
12{let n=I(j,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=k(j,e.__scopeDialog);return(0,y.jsx)(f.C,{present:r||a.open,children:a.modal?(0,y.jsx)(N,{...i,ref:t}):(0,y.jsx)(M,{...i,ref:t})})});z.displayName=j;var N=r.forwardRef((e,t)=>{let n=k(j,e.__scopeDialog),o=r.useRef(null),s=(0,a.s)(t,n.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,g.Eq)(e)},[]),(0,y.jsx)(L,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault())})}),M=r.forwardRef((e,t)=>{let n=k(j,e.__scopeDialog),i=r.useRef(!1),a=r.useRef(!1);return(0,y.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),L=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,...l}=e,c=k(j,n),f=r.useRef(null),p=(0,a.s)(t,f);return(0,h.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:s,children:(0,y.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":q(c.open),...l,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(J,{titleId:c.titleId}),(0,y.jsx)(Y,{contentRef:f,descriptionId:c.descriptionId})]})]})}),F="DialogTitle",U=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=k(F,n);return(0,y.jsx)(p.sG.h2,{id:i.titleId,...r,ref:t})});U.displayName=F;var B="DialogDescription",V=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=k(B,n);return(0,y.jsx)(p.sG.p,{id:i.descriptionId,...r,ref:t})});V.displayName=B;var Z="DialogClose",K=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=k(Z,n);return(0,y.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,i.mK)(e.onClick,()=>a.onOpenChange(!1))})});function q(e){return e?"open":"closed"}K.displayName=Z;var W="DialogTitleWarning",[G,H]=(0,o.q)(W,{contentName:j,titleName:F,docsSlug:"dialog"}),J=({titleId:e})=>{let t=H(W),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
13
14If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
15
16For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Y=({contentRef:e,descriptionId:t})=>{let n=H("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},X=E,Q=_,ee=R,et=P,en=z,er=U,ei=V,ea=K},19758:(e,t,n)=>{"use strict";n.d(t,{C:()=>v,Y:()=>y});let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function a(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return i.has(t)}var o=n(34023),s=n(93419);let l=Symbol.for("react-aria.i18n.locale");function u(){let e="u">typeof window&&window[l]||"u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:a(e)?"rtl":"ltr"}}let d=u(),c=new Set;function f(){for(let e of(d=u(),c))e(d)}function p(){let e=(0,s.wR)(),[t,n]=(0,o.useState)(d);return((0,o.useEffect)(()=>(0===c.size&&window.addEventListener("languagechange",f),c.add(n),()=>{c.delete(n),0===c.size&&window.removeEventListener("languagechange",f)}),[]),e)?{locale:"u">typeof window&&window[l]||"en-US",direction:"ltr"}:t}let h=o.createContext(null);function m(e){let{locale:t,children:n}=e,r=o.useMemo(()=>({locale:t,direction:a(t)?"rtl":"ltr"}),[t]);return o.createElement(h.Provider,{value:r},n)}function g(e){let{children:t}=e,n=p();return o.createElement(h.Provider,{value:n},t)}function v(e){let{locale:t,children:n}=e;return t?o.createElement(m,{locale:t,children:n}):o.createElement(g,{children:n})}function y(){let e=p();return(0,o.useContext)(h)||e}},19780:(e,t,n)=>{"use strict";n.d(t,{Tr:()=>f,Yd:()=>h,ay:()=>p,cd:()=>b,gw:()=>m,oU:()=>s,tR:()=>g,uB:()=>y,yP:()=>v});var r=n(74761),i=n(27196),a=n(55241),o=n(2049);function s(e){return e=v(e,new(0,a.FG)),l((0,a.LA)(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function l(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function u(e,t){if("UTC"===t)return 0;if(e>0&&t===(0,o.Xj)())return -6e4*new Date(e).getTimezoneOffset();let{year:n,month:r,day:i,hour:a,minute:s,second:u}=c(e,t);return l(n,r,i,a,s,u,0)-1e3*Math.floor(e/1e3)}let d=new Map;function c(e,t){let n=d.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),d.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)"literal"!==e.type&&(i[e.type]=e.value);return{year:"BC"===i.era||"B"===i.era?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:"24"===i.hour?0:+i.hour,minute:+i.minute,second:+i.second}}function f(e,t,n="compatible"){var r,i,l;let d=g(e);if("UTC"===t)return s(d);if(t===(0,o.Xj)()&&"compatible"===n){d=v(d,new(0,a.FG));let e=new Date,t=(0,a.LA)(d.era,d.year);return e.setFullYear(t,d.month-1,d.day),e.setHours(d.hour,d.minute,d.second,d.millisecond),e.getTime()}let p=s(d),h=u(p-864e5,t),m=u(p+864e5,t),y=(r=d,((i=p-h)==(l=p-m)?[i]:[i,l]).filter(e=>{var n;let i;return n=r,i=c(e,t),n.year===i.year&&n.month===i.month&&n.day===i.day&&n.hour===i.hour&&n.minute===i.minute&&n.second===i.second}));
16if(1===y.length)return y[0];if(y.length>1)switch(n){case"compatible":case"earlier":return y[0];case"later":return y[y.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(p-h,p-m);case"compatible":case"later":return Math.max(p-h,p-m);case"reject":throw RangeError("No such absolute time found")}}function p(e,t,n="compatible"){return new Date(f(e,t,n))}function h(e,t){let n=u(e,t),i=new Date(e+n),a=i.getUTCFullYear(),o=i.getUTCMonth()+1,s=i.getUTCDate(),l=i.getUTCHours(),d=i.getUTCMinutes(),c=i.getUTCSeconds(),f=i.getUTCMilliseconds();return new(0,r.Ip)(a<1?"BC":"AD",a<1?-a+1:a,o,s,t,n,l,d,c,f)}function m(e){return new(0,r.ng)(e.calendar,e.era,e.year,e.month,e.day)}function g(e,t){let n=0,i=0,a=0,o=0;if("timeZone"in e)({hour:n,minute:i,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:i,second:a,millisecond:o}=t),new(0,r._l)(e.calendar,e.era,e.year,e.month,e.day,n,i,a,o)}function v(e,t){if((0,o.Jg)(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,(0,i.AU)(r),r}function y(e,t,n){if(e instanceof r.Ip){var i,a;return e.timeZone===t?e:(i=e,a=t,v(h(s(i)-i.offset,a),i.calendar))}return h(f(e,t,n),t)}function b(e){return new Date(s(e)-e.offset)}},20163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(34023),i=n(42800),a=n(55240),o=n(61426),s=n(66810),l=n(17366),u=n(94799);let d=r.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,d=(0,o.P)(),c=d.useState("mounted"),f=d.useState("modal"),p=d.useState("open");return c||n?(0,u.jsx)(s.m.Provider,{value:n,children:(0,u.jsxs)(a.XF,{ref:t,...r,children:[c&&!0===f&&(0,u.jsx)(l.W,{ref:d.context.internalBackdropRef,inert:(0,i.Y)(!p)}),e.children]})}):null})},20290:(e,t,n)=>{"use strict";n.d(t,{BT:()=>i,Ed:()=>r,Jd:()=>l,RJ:()=>o,eR:()=>a,il:()=>s});let r="data-base-ui-focusable",i="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",a="ArrowLeft",o="ArrowRight",s="ArrowUp",l="ArrowDown"},20411:(e,t,n)=>{"use strict";e.exports=n(36339)},20656:(e,t,n)=>{"use strict";n.d(t,{M:()=>o,z:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(!e)throw Error((0,r.A)(66));return e}},20821:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},21055:(e,t,n)=>{"use strict";n.d(t,{i:()=>v});var r=n(34023),i=n(49308),a=n(7217),o=n(64441),s=n(65736),l=n(78638),u=n(30417),d=n(99097),c=n(63389),f=n(79342),p=n(62165),h=n(8551),m=n(78337);let g=a.Md&&o.Fp;function v(e,t={}){let{enabled:n=!0,delay:a}=t,o="rootStore"in e?e.rootStore:e,{events:y,dataRef:b}=o.context,x=r.useRef(!1),w=r.useRef(null),S=r.useRef(!0),k=(0,u.Z)();r.useEffect(()=>{let e=o.select("domReferenceElement");if(!n)return;let t=(0,d.zk)(e);return(0,s.g)((0,i.q)(t,"blur",function(){let e=o.select("domReferenceElement");!o.select("open")&&(0,d.sb)(e)&&e===(0,f.RS)((0,l.R)(e))&&(x.current=!0)}),g&&(0,i.q)(t,"keydown",function(){S.current=!0},!0),g&&(0,i.q)(t,"pointerdown",function(){S.current=!1},!0))},[o,n]),r.useEffect(()=>{if(n)return y.on("openchange",e),()=>{y.off("openchange",e)};function e(e){if(e.reason===m.Ui||e.reason===m.jv){let e=o.select("domReferenceElement");(0,d.vq)(e)&&(w.current=e,x.current=!0)}}},[y,n,o]);let E=r.useMemo(()=>{function e(){x.current=!1,w.current=null}return{onMouseLeave(){e()},onFocus(t){let n=t.currentTarget;if(x.current){if(w.current===n)return;e()}let r=(0,f.EW)(t.nativeEvent);if((0,d.vq)(r)){if(g&&!t.relatedTarget){if(!S.current&&!(0,p.$u)(r))return}else if(!(0,p.em)(r))return}let i=(0,p.Hi)(t.relatedTarget,o.context.triggerElements),{nativeEvent:s,currentTarget:l}=t,u="function"==typeof a?a():a;o.select("open")&&i||0===u||void 0===u?o.setOpen(!0,(0,h.d)(m.F4,s,l)):k.start(u,()=>{x.current||o.setOpen(!0,(0,h.d)(m.F4,s,l))})},onBlur(t){e();let n=t.relatedTarget,r=t.nativeEvent,i=(0,d.vq)(n)&&n.hasAttribute((0,c.F)("focus-guard"))&&"outside"===n.getAttribute("data-type");k.start(0,()=>{let e=o.select("domReferenceElement"),t=(0,f.RS)((0,l.R)(e));if(!n&&t===e||(0,f.gR)(b.current.floatingContext?.refs.floating.current,t)||(0,f.gR)(e,t)||i)return;let a=n??t;(0,p.Hi)(a,o.context.triggerElements)||o.setOpen(!1,(0,h.d)(m.F4,r))})}}},[b,a,o,k]);return r.useMemo(()=>n?{reference:E,trigger:E}:{},[n,E])}},21067:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(null);function o(e){let t=i.useContext(a);if(null===t&&!e)throw Error((0,r.A)(5));return t}},21178:(e,t,n)=>{"use strict";n.d(t,{s:()=>$});var r=n(34023),i=n(86289),a=n(57936),o=n(88018),s=n(61332),l=n(83435),u=n(49308),d=n(7366),c=n(99097),f=n(79342),p=n(97057);function h(e){return null!=e&&null!=e.clientX}var m=n(8551),g=n(18039),v=n(66431),y=n(56721),b=n(78337),x=n(28227),w=n(3559);let S={...x.ol,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class k extends y.H{constructor(e,t,n){const i=new w.Z;super(function(e,t,n,r=!1){let i={...(0,x.rJ)(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e};return i.floatingRootContext=(0,x.OB)(t,n,r),i}(e,i,t,n),function(e){return{popupRef:r.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}(i),S)}setOpen=(e,t)=>{(0,g.DU)(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,(0,m.d)(b.Ui,e))}}var E=n(94799);let $=(0,i.G1)(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:i,disableHoverablePopup:a=!1,trackCursorAxis:l="none",actionsRef:u,onOpenChange:d,onOpenChangeComplete:c,handle:f,triggerId:p,defaultTr
16iggerId:h=null,children:v}=e,y=(0,g.xp)((e,t)=>new k({open:n,openProp:i,activeTriggerId:h,triggerIdProp:p},e,t));y.useControlledProp("openProp",i),y.useControlledProp("triggerIdProp",p),y.useContextCallback("onOpenChange",d),y.useContextCallback("onOpenChangeComplete",c);let x=y.useState("open"),w=!t&&x,S=y.useState("activeTriggerId"),$=y.useState("mounted"),C=y.useState("payload");y.useSyncedValues({trackCursorAxis:l,disableHoverablePopup:a,disabled:t}),(0,g.tr)(y,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:D,transitionStatus:I}=(0,g.l$)(w,y),R=y.useState("isInstantPhase"),T=y.useState("instantType"),P=y.useState("lastOpenChangeReason"),O=r.useRef(null);(0,o.g)(()=>{x&&t&&y.setOpen(!1,(0,m.d)(b.r9))},[x,t,y]),(0,o.g)(()=>{"ending"===I&&P===b.dv||"ending"!==I&&R?("delay"!==T&&(O.current=T),y.set("instantType","delay")):null!==O.current&&(y.set("instantType",O.current),O.current=null)},[I,R,P,T,y]),(0,o.g)(()=>{w&&null==S&&y.set("payload",void 0)},[y,S,w]),r.useImperativeHandle(u,()=>({unmount:D,close:()=>y.setOpen(!1,(0,m.d)(b.zJ))}),[D,y]);let A=w||$||!t&&"none"!==l;return(0,E.jsxs)(s.B.Provider,{value:y,children:[f&&(0,E.jsx)(g.Ae,{handle:f,store:y}),A&&(0,E.jsx)(_,{store:y,disabled:t,trackCursorAxis:l}),"function"==typeof v?v({payload:C}):v]})});function _({store:e,disabled:t,trackCursorAxis:n}){let i=e.useState("floatingRootContext"),o=(0,l.s)(i,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),s=function(e,t={}){let{enabled:n=!0,axis:i="both"}=t,a="rootStore"in e?e.rootStore:e,o=a.useState("open"),s=a.useState("floatingElement"),l=a.useState("domReferenceElement"),m=a.context.dataRef,g=r.useRef(!1),v=r.useRef(null),[y,b]=r.useState(),[x,w]=r.useState([]),S=(0,d.K)(e=>{a.set("positionReference",e)}),k=(0,d.K)((e,t,n)=>{if(!g.current&&(!m.current.openEvent||h(m.current.openEvent))){var r,o;let s,u,d;a.set("positionReference",(r=n??l,o={x:e,y:t,axis:i,dataRef:m,pointerType:y},s=null,u=null,d=!1,{contextElement:r||void 0,getBoundingClientRect(){let e=r?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},t="x"===o.axis||"both"===o.axis,n="y"===o.axis||"both"===o.axis,i=["mouseenter","mousemove"].includes(o.dataRef.current.openEvent?.type||"")&&"touch"!==o.pointerType,a=e.width,l=e.height,c=e.x,f=e.y;return null==s&&o.x&&t&&(s=e.x-o.x),null==u&&o.y&&n&&(u=e.y-o.y),c-=s||0,f-=u||0,a=0,l=0,!d||i?(a="y"===o.axis?e.width:0,l="x"===o.axis?e.height:0,c=t&&null!=o.x?o.x:c,f=n&&null!=o.y?o.y:f):d&&!i&&(l="x"===o.axis?e.height:l,a="y"===o.axis?e.width:a),d=!0,{width:a,height:l,x:c,y:f,top:f,right:c+a,bottom:f+l,left:c}}}))}}),E=(0,d.K)(e=>{o?v.current||(k(e.clientX,e.clientY,e.currentTarget),w([])):k(e.clientX,e.clientY,e.currentTarget)}),$=(0,p.Go)(y)?s:o;r.useEffect(()=>{if(!n)return void S(l);if(!$)return;function e(){v.current?.(),v.current=null}let t=(0,c.zk)(s);return!m.current.openEvent||h(m.current.openEvent)?v.current=(0,u.q)(t,"mousemove",function(t){let n=(0,f.EW)(t);(0,f.gR)(s,n)?e():k(t.clientX,t.clientY)}):S(l),e},[$,n,s,m,l,a,k,S,x]),r.useEffect(()=>()=>{a.set("positionReference",null)},[a]),r.useEffect(()=>{n&&!s&&(g.current=!1)},[n,s]),r.useEffect(()=>{!n&&o&&(g.current=!0)},[n,o]);let _=r.useMemo(()=>{function e(e){b(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:E,onMouseEnter:E}},[E]);return r.useMemo(()=>n?{reference:_,trigger:_}:{},[n,_])}(i,{enabled:!t&&"none"!==n,axis:"none"===n?void 0:n}),m=r.useMemo(()=>(0,v.v6)(s.reference,o.reference),[s.reference,o.reference]);return(0,g.i6)(e,{activeTriggerProps:m,inactiveTriggerProps:m,popupProps:o.floating??a.t0}),null}},21203:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(52883);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setHours(0,0,0,0),n}},21400:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>m,EN:()=>h,Eh:()=>d,F$:()=>p,GU:()=>D,MK:()=>c,S$:()=>i,ZM:()=>C,ZZ:()=>$,Zw:()=>o,d2:()=>u,f8:()=>v,gn:()=>s,hT:()=>_,j3:()=>l,lQ:()=>a,nJ:()=>f,ox:()=>I,pl:()=>S,rX:()=>k,y9:()=>E,yy:()=>w});var r=n(44821),i="u"<typeof window||"Deno"in globalThis;function a(){}function o(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t){return"function"==typeof e?e(t):e}function d(e,t){return"function"==typeof e?e(t):e}function c(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;
16if(o){if(r){if(t.queryHash!==p(o,t.options))return!1}else if(!m(t.queryKey,o))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function f(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(a))return!1}else if(!m(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))}function p(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function m(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>m(e[n],t[n]))}var g=Object.prototype.hasOwnProperty;function v(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!x(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!x(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return new Promise(t=>{r.zs.setTimeout(t,e)})}function S(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?function e(t,n,r=0){if(t===n)return t;if(r>500)return n;let i=y(t)&&y(n);if(!i&&!(b(t)&&b(n)))return n;let a=(i?t:Object.keys(t)).length,o=i?n:Object.keys(n),s=o.length,l=i?Array(s):{},u=0;for(let d=0;d<s;d++){let s=i?d:o[d],c=t[s],f=n[s];if(c===f){l[s]=c,(i?d<a:g.call(t,s))&&u++;continue}if(null===c||null===f||"object"!=typeof c||"object"!=typeof f){l[s]=f;continue}let p=e(c,f,r+1);l[s]=p,p===c&&u++}return a===s&&u===a?t:l}(e,t):t}function k(e){return e}function E(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function $(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var _=Symbol();function C(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==_?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function D(e,t){return"function"==typeof e?e(...t):!!e}function I(e,t,n){let r,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}},21596:(e,t,n)=>{"use strict";function r(){return(r=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}).apply(null,arguments)}n.d(t,{A:()=>r})},21610:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(41118),i=n(92796),a=n(21708);function o(e,t,{styles:n,transitionStatus:s,props:l,refs:u,hidden:d,inert:c=!1}){let f={...n};return c&&(f.pointerEvents="none"),(0,i.o)("div",e,{state:t,ref:u,props:[{role:"presentation",hidden:d,style:f},(0,a.d)(s),l],stateAttributesMapping:r.GW})}},21708:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(57936),i=n(97869);function a(e){return"starting"===e?i.K2:r.t0}},22905:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r,i=n(34023),a=n(98004),o=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(o());return(0,a.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},23416:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(95898),i=n(69621);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var o=n(35176);function s(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let s=e[n];for(let e in s){let n=t[e],l=s[e];"function"==typeof n&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,r.c)(n,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof l?t[e]=(0,o.A)(n,l):"id"===e&&n&&l?t.id=(0,i.Tw)(n,l):"ref"===e&&n&&l?t.ref=function(...e){return 1===e.length&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return n||(n="function"==typeof r),r});if(n)return()=>{r.forEach((t,n)=>{"function"==typeof t?t():a(e[n],null)})}}}(n,l):t[e]=void 0!==l?l:n}}return t}}
16,23614:(e,t,n)=>{"use strict";let r;n.d(t,{B:()=>o});let i=Symbol.for("react-aria.i18n.locale"),a=Symbol.for("react-aria.i18n.strings");class o{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let i=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("u"<typeof window)return null;let t=window[i];if(void 0===r){let e=window[a];if(!e)return null;for(let n in r={},e)r[n]=new o({[t]:e[n]},t)}let n=null==r?void 0:r[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}},24461:(e,t,n)=>{"use strict";n.d(t,{R:()=>m});var r=n(34023),i=n(42800),a=n(88018),o=n(99901),s=n(96094),l=n(28410),u=n(6280),d=n(92796),c=n(95598),f=n(62025),p=n(83778);let h={...f.h,...s.G},m=r.forwardRef(function(e,t){let{className:n,value:s,render:f,keepMounted:m=!1,style:g,...v}=e,{value:y,getTabIdByPanelValue:b,orientation:x,tabActivationDirection:w,registerMountedTabPanel:S}=(0,p.z)(),k=(0,o.e)(),{ref:E,index:$}=(0,c.q)(),_=s===y,{mounted:C,transitionStatus:D,setMounted:I}=(0,u.$)(_),R=!C,T=b(s),P=r.useRef(null),O=(0,d.o)("div",e,{state:{hidden:R,orientation:x,tabActivationDirection:w,transitionStatus:D},ref:[t,E,P],props:[{"aria-labelledby":T,hidden:R,id:k,role:"tabpanel",tabIndex:_?0:-1,inert:(0,i.Y)(!_),"data-index":$},v],stateAttributesMapping:h});return((0,l.v)({open:_,ref:P,onComplete(){_||I(!1)}}),(0,a.g)(()=>{if(null!=k&&(!R||m))return S(s,k)},[R,m,s,k,S]),m||C)?O:null})},24811:(e,t,n)=>{"use strict";n.d(t,{B1:()=>D,C0:()=>f,Dz:()=>v,Jx:()=>l,LI:()=>o,PG:()=>h,RI:()=>s,Sg:()=>p,T9:()=>a,TV:()=>g,WJ:()=>b,_3:()=>c,bV:()=>_,jk:()=>i,lP:()=>$,nI:()=>C,qE:()=>d,r_:()=>r,sq:()=>m,w7:()=>y});let r=["top","right","bottom","left"],i=Math.min,a=Math.max,o=Math.round,s=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t,n){return a(e,i(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return h(g(e))}function y(e,t,n){void 0===n&&(n=!1);let r=p(e),i=v(e),a=m(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=_(o)),[o,_(o)]}function b(e){let t=_(e);return[x(e),t,x(t)]}function x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],S=["right","left"],k=["top","bottom"],E=["bottom","top"];function $(e,t,n,r){let i=p(e),a=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?S:w;return t?w:S;case"left":case"right":return t?k:E;default:return[]}}(f(e),"start"===n,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(x)))),a}function _(e){let t=f(e);return u[t]+e.slice(t.length)}function C(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function D(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}},25952:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var r=n(34023);new WeakMap;let i="__role_"+Date.now(),a="__focusManager_"+Date.now();var o={};o={"ar-AE":{calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,selectedTimeDescription:e=>`\u{627}\u{644}\u{648}\u{642}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}
16: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"},"bg-BG":{calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{434}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{432}\u{440}\u{435}\u{43C}\u{435}: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"},"cs-CZ":{calendar:"Kalend\xe1ř",day:"den",dayPeriod:"č\xe1st dne",endDate:"Konečn\xe9 datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měs\xedc",second:"sekunda",selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.startDate} a\u{17E} ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xfd \u{10D}as: ${e.time}`,startDate:"Poč\xe1tečn\xed datum",timeZoneName:"časov\xe9 p\xe1smo",weekday:"den v t\xfddnu",year:"rok"},"da-DK":{calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"\xe6ra",hour:"time",minute:"minut",month:"m\xe5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"\xe5r"},"de-DE":{calendar:"Kalender",day:"Tag",dayPeriod:"Tagesh\xe4lfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xe4hlte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"},"el-GR":{calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,selectedTimeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"},"en-US":{era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`},"es-ES":{calendar:"Calendario",day:"d\xeda",dayPeriod:"a.\xa0m./p.\xa0m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"d\xeda de la semana",year:"a\xf1o"},"et-EE":{calendar:"Kalender",day:"p\xe4ev",dayPeriod:"enne/p\xe4rast l\xf5unat",endDate:"L\xf5ppkuup\xe4ev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>
16`Valitud aeg: ${e.time}`,startDate:"Alguskuup\xe4ev",timeZoneName:"ajav\xf6\xf6nd",weekday:"n\xe4dalap\xe4ev",year:"aasta"},"fi-FI":{calendar:"Kalenteri",day:"p\xe4iv\xe4",dayPeriod:"vuorokaudenaika",endDate:"P\xe4\xe4ttymisp\xe4iv\xe4",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.startDate} \u{2013} ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamisp\xe4iv\xe4",timeZoneName:"aikavy\xf6hyke",weekday:"viikonp\xe4iv\xe4",year:"vuosi"},"fr-FR":{calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"\xe8re",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xa0: ${e.time}`,startDate:"Date de d\xe9but",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"ann\xe9e"},"he-IL":{calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,selectedTimeDescription:e=>`\u{5D6}\u{5DE}\u{5DF} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"},"hr-HR":{calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"},"hu-HU":{calendar:"Napt\xe1r",day:"nap",dayPeriod:"napszak",endDate:"Befejező d\xe1tum",era:"\xe9ra",hour:"\xf3ra",minute:"perc",month:"h\xf3nap",second:"m\xe1sodperc",selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.startDate}\u{2013}${e.endDate}`,selectedTimeDescription:e=>`Kijel\xf6lt id\u{151}: ${e.time}`,startDate:"Kezdő d\xe1tum",timeZoneName:"időz\xf3na",weekday:"h\xe9t napja",year:"\xe9v"},"it-IT":{calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"},"ja-JP":{calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.startDate} \u{304B}\u{3089} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{6642}\u{9593} : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"},"ko-KR":{calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`\u{C120}\u{D0DD} \u{C2DC}\u{AC04}: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"},"lt-LT":{calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endD
16ate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"},"lv-LV":{calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: no ${e.startDate} l\u{12B}dz ${e.endDate}`,selectedTimeDescription:e=>`Atlas\u{12B}tais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"},"nb-NO":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"m\xe5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"\xe5r"},"nl-NL":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"},"pl-PL":{calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"},"pt-BR":{calendar:"Calend\xe1rio",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"m\xeas",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso hor\xe1rio",weekday:"dia da semana",year:"ano"},"pt-PT":{calendar:"Calend\xe1rio",day:"dia",dayPeriod:"am/pm",endDate:"Data de T\xe9rmino",era:"era",hour:"hora",minute:"minuto",month:"m\xeas",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de In\xedcio",timeZoneName:"fuso hor\xe1rio",weekday:"dia da semana",year:"ano"},"ro-RO":{calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectat\u{103}: ${e.time}`,startDate:"Dată \xeenceput",timeZoneName:"fus orar",weekday:"ziua din săptăm\xe2nă",year:"an"},"ru-RU":{calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: \u{441} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{435} \u{432}\u{440}\u{435}\u{43C}\u{44F}
16: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"},"sk-SK":{calendar:"Kalend\xe1r",day:"deň",dayPeriod:"AM/PM",endDate:"D\xe1tum ukončenia",era:"letopočet",hour:"hodina",minute:"min\xfata",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xfd \u{10D}as: ${e.time}`,startDate:"D\xe1tum začatia",timeZoneName:"časov\xe9 p\xe1smo",weekday:"deň t\xfdždňa",year:"rok"},"sl-SI":{calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani \u{10D}as: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"},"sr-SP":{calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"},"sv-SE":{calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"m\xe5nad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"\xe5r"},"tr-TR":{calendar:"Takvim",day:"g\xfcn",dayPeriod:"\xd6\xd6/\xd6S",endDate:"Bitiş Tarihi",era:"\xe7ağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xe7ilen Zaman: ${e.time}`,startDate:"Başlangı\xe7 Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın g\xfcn\xfc",year:"yıl"},"uk-UA":{calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{2014} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{447}\u{430}\u{441}: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"},"zh-CN":{calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65F6}\u{95F4}\u{FF1A}${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"},"zh-TW":{calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{6642}\u{9593}\u{FF1A}${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"}};var s=n(28803),l=n(80254),u=n(23416),d=n(19758),c=n(34562);function f(e,t,n){let r=(0,s.N$)(e,{tabbable:!0}),i=r.nextNode(),a=null,o=1/0;for(;i;){let e=i.getBoundingClientRect().left-t,s=Math.abs(e);Math.sign(e)===n&&s<o&&(a=i,o=s),i=r.nextNode()}return a}
16var p=n(75270),h=n(50596),m=n(69621),g=n(28325),v=n(47273),y=n(56614),b=n(61793);function x(e,t,n){var x,w,S,k,E,$,_,C;let D=(0,b.o)((C=o)&&C.__esModule?C.default:C,"@react-aria/datepicker"),{isInvalid:I,validationErrors:R,validationDetails:T}=t.displayValidation,{labelProps:P,fieldProps:O,descriptionProps:A,errorMessageProps:j}=function(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:o}=function(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a="label"}=e;t=(0,m.Bi)(t);let o=(0,m.Bi)(),s={};return n&&(r=r?`${o} ${r}`:o,s={id:o,htmlFor:"label"===a?t:void 0}),{labelProps:s,fieldProps:(0,v.b)({id:t,"aria-label":i,"aria-labelledby":r})}}(e),s=(0,m.X1)([!!t,!!n,r,i]),l=(0,m.X1)([!!t,!!n,r,i]);return{labelProps:a,fieldProps:o=(0,u.v)(o,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:s},errorMessageProps:{id:l}}}({...e,labelElementType:"span",isInvalid:I,errorMessage:e.errorMessage||R}),z=O["aria-labelledby"]||O.id,{locale:N}=(0,d.Y)(),M=t.formatValue(N,{month:"long"}),L=M?D.format("selectedRangeDescription",{startDate:M.start,endDate:M.end}):"",F=(0,h.I)(L),U={"aria-label":D.format("startDate"),"aria-labelledby":z},B={"aria-label":D.format("endDate"),"aria-labelledby":z},V=(0,m.Bi)(),Z=(0,m.Bi)(),K=function(e,t){let{direction:n}=(0,d.Y)(),i=(0,r.useMemo)(()=>(0,s.C7)(t),[t]),a=()=>{var e;if(!t.current)return;let n=null==(e=window.event)?void 0:e.target,r=(0,s.N$)(t.current,{tabbable:!0});if(n&&(r.currentNode=n,n=r.previousNode()),!n){let e;do(e=r.lastChild())&&(n=e);while(e)}for(;null==n?void 0:n.hasAttribute("data-placeholder");){let e=r.previousNode();if(e&&e.hasAttribute("data-placeholder"))n=e;else break}n&&n.focus()},{pressProps:o}=(0,c.d)({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){"mouse"===e.pointerType&&a()},onPress(e){("touch"===e.pointerType||"pen"===e.pointerType)&&a()}});return(0,u.v)(o,{onKeyDown:r=>{if((0,l.sD)(r.currentTarget,r.target))switch(r.altKey&&("ArrowDown"===r.key||"ArrowUp"===r.key)&&"setOpen"in e&&(r.preventDefault(),r.stopPropagation(),e.setOpen(!0)),r.key){case"ArrowLeft":if(r.preventDefault(),r.stopPropagation(),"rtl"===n){if(t.current){let e=r.target,n=f(t.current,e.getBoundingClientRect().left,-1);n&&n.focus()}}else i.focusPrevious();break;case"ArrowRight":if(r.preventDefault(),r.stopPropagation(),"rtl"===n){if(t.current){let e=r.target,n=f(t.current,e.getBoundingClientRect().left,1);n&&n.focus()}}else i.focusNext()}}})}(t,n),q=[F["aria-describedby"],O["aria-describedby"]].filter(Boolean).join(" ")||void 0,W=(0,r.useMemo)(()=>(0,s.C7)(n,{accept:e=>e.id!==V}),[n,V]),G={[a]:W,[i]:"presentation","aria-describedby":q,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},H=(0,g.$)(e),J=(0,r.useRef)(!1),{focusWithinProps:Y}=(0,y.R)({...e,isDisabled:t.isOpen,onBlurWithin:t=>{let n=document.getElementById(Z);if(!(0,l.sD)(n,t.relatedTarget)){var r,i;J.current=!1,null==(r=e.onBlur)||r.call(e,t),null==(i=e.onFocusChange)||i.call(e,!1)}},onFocusWithin:t=>{if(!J.current){var n,r;J.current=!0,null==(n=e.onFocus)||n.call(e,t),null==(r=e.onFocusChange)||r.call(e,!0)}}}),X=(0,r.useRef)(p.YD),Q=(0,r.useRef)(p.YD);return{groupProps:(0,u.v)(H,K,O,F,Y,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":q,onKeyDown(n){!t.isOpen&&e.onKeyDown&&e.onKeyDown(n)},onKeyUp(n){!t.isOpen&&e.onKeyUp&&e.onKeyUp(n)}}),labelProps:{...P,onClick:()=>{W.focusFirst()}},buttonProps:{...F,id:V,"aria-haspopup":"dialog","aria-label":D.format("calendar"),"aria-labelledby":`${V} ${z}`,"aria-describedby":q,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:Z,"aria-labelledby":`${V} ${z}`},startFieldProps:{...U,...G,value:null!=($=null==(x=t.value)?void 0:x.start)?$:null,defaultValue:null==(w=t.defaultValue)?void 0:w.start,onCh
16ange:e=>t.setDateTime("start",e),autoFocus:e.autoFocus,name:e.startName,form:e.form,[p.Lf]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(e){X.current=e,t.updateValidation((0,p.cX)(e,Q.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...B,...G,value:null!=(_=null==(S=t.value)?void 0:S.end)?_:null,defaultValue:null==(k=t.defaultValue)?void 0:k.end,onChange:e=>t.setDateTime("end",e),name:e.endName,form:e.form,[p.Lf]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(e){Q.current=e,t.updateValidation((0,p.cX)(X.current,e))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:A,errorMessageProps:j,calendarProps:{autoFocus:!0,value:(null==(E=t.dateRange)?void 0:E.start)&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:"function"==typeof e.errorMessage?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" "),firstDayOfWeek:e.firstDayOfWeek,pageBehavior:e.pageBehavior},isInvalid:I,validationErrors:R,validationDetails:T}}},26427:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>i,_P:()=>a,w4:()=>r});let r=864e5,i=6e4,a=Symbol.for("constructDateFrom")},26506:(e,t,n)=>{"use strict";n.d(t,{K:()=>y});var r=n(34023),i=n(56742),a=n(84505),o=n(88018),s=n(31262),l=n(95598),u=n(92796);let d=r.createContext(void 0);var c=n(26594),f=n(69045);let p=r.createContext(!1);var h=n(79141),m=n(94799);function g(e){let{componentProps:t,forwardedRef:n,virtualized:g,indexFromFilter:v}=e,{render:y,className:b,style:x,value:w=null,index:S,disabled:k=!1,nativeButton:E=!1,...$}=t,_=r.useRef(null),C=(0,l.q)({guess:!0,index:S,textRef:_}),D=(0,s.Ee)(),I=r.useContext(p),R=(0,s.Eg)(),T=(0,a.P)(D,c.T.selectionMode),P=(0,a.P)(D,c.T.disabled),O=(0,a.P)(D,c.T.readOnly),A=(0,a.P)(D,c.T.isItemEqualToValue),j=P||k,z="none"!==T,N=S??v??C.index,M=-1!==N,L=(0,a.P)(D,c.T.id),F=(0,a.P)(D,c.T.isActive,N),U=(0,a.P)(D,c.T.isSelected,w),B=(0,a.P)(D,c.T.itemProps),V=r.useRef(null),Z=null!=L&&M?`${L}-${N}`:void 0,K=U&&z;(0,o.g)(()=>{if(!(M&&(g||null!=S)))return;let e=D.state.listRef.current;return e[N]=V.current,()=>{delete e[N]}},[M,g,N,S,D]),(0,o.g)(()=>{if(!M||R)return;let e=D.state.valuesRef.current;return e[N]=w,()=>{delete e[N]}},[M,R,N,w,D]),(0,o.g)(()=>{if(!M||R)return;let e=D.state.selectedValue,t=Array.isArray(e)?e[e.length-1]:e;(0,h.tl)(w,t,A)&&D.set("selectedIndex",N)},[M,R,D,N,w,A]);let{getButtonProps:q,buttonRef:W}=(0,f.s)({disabled:j,focusableWhenDisabled:!0,native:E,composite:!0});function G(e){function t(){D.state.handleSelection(e,w)}D.state.submitOnItemClick?(i.flushSync(t),D.state.requestSubmit()):t()}let H=(0,u.o)("div",t,{ref:[W,n,C.ref,V],state:{disabled:j,selected:K,highlighted:F},props:[B,{id:Z,role:I?"gridcell":"option","aria-selected":z?K:void 0,tabIndex:void 0,onPointerDownCapture(e){e.isPrimary&&(D.state.pointerDownItemRef.current=e.currentTarget),e.preventDefault()},onMouseDown(e){e.preventDefault()},onClick(e){j||O||G(e.nativeEvent)},onMouseUp(e){let t=D.state.pointerDownItemRef.current===e.currentTarget;D.state.pointerDownItemRef.current=null,j||O||0!==e.button||t||!F||G(e.nativeEvent)}},$,q]}),J=r.useMemo(()=>({selected:K,textRef:_}),[K,_]);return(0,m.jsx)(d.Provider,{value:J,children:H})}function v(e){let{componentProps:t,forwardedRef:n}=e,r=(0,s.Ee)(),i=(0,a.P)(r,c.T.isItemEqualToValue),{flatFilteredItems:o}=(0,s.Dc)(),l=(0,h.Vz)(o,t.value??null,i);return(0,m.jsx)(g,{componentProps:t,forwardedRef:n,virtualized:!0,indexFromFilter:l})}let y=r.memo(r.forwardRef(function(e,t){let n=(0,s.Ee)(),r=(0,a.P)(n,c.T.virtualized);return r&&null==e.index?(0,m.jsx)(v,{componentProps:e,forwardedRef:t}):(0,m.jsx)(g,{componentProps:e,forwardedRef:t,virtualized:r,indexFromFilter:void 0})}))},26594:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(79141),i=n(67241);let a={id:e=>e.id,labelId:e=>e.labelId,items:e=>e.items,selectedValue:e=>e.selectedValue,hasSelectionChips:e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0},hasSelectedValue:e=>{let{selectedValue:t,selectionMode:n}=e;return null!=t&&(!("multiple"===n&&Array.isArray(t))||t.length>0)},hasNullItemLabel:(e,t)=>
16!!t&&(0,i.Dp)(e.items),open:e=>e.open,mounted:e=>e.mounted,forceMounted:e=>e.forceMounted,inline:e=>e.inline,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,i=e.selectedValue;return Array.isArray(i)?i.some(e=>(0,r.tl)(t,e,n)):(0,r.tl)(t,i,n)},transitionStatus:e=>e.transitionStatus,popupProps:e=>e.popupProps,listProps:e=>e.listProps,inputProps:e=>e.inputProps,triggerProps:e=>e.triggerProps,itemProps:e=>e.itemProps,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupId:e=>e.popupId,triggerElement:e=>e.triggerElement,inputElement:e=>e.inputElement,inputGroupElement:e=>e.inputGroupElement,popupSide:e=>e.popupSide,openMethod:e=>e.openMethod,inputInsidePopup:e=>e.inputInsidePopup,inputOwnsFormValue:e=>e.inputOwnsFormValue,selectionMode:e=>e.selectionMode,name:e=>e.name,form:e=>e.form,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,grid:e=>e.grid,virtualized:e=>e.virtualized,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,modal:e=>e.modal,autoHighlight:e=>e.autoHighlight}},26642:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,Y:()=>i});var r=n(52276);function i(e){return""===e.pointerType&&!!e.isTrusted||((0,r.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function a(e){return!(0,r.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},27e3:(e,t,n)=>{"use strict";function r(e,t){e&&Object.assign(e.style,t)}n.d(t,{O:()=>i,Y:()=>r});let i={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"}},27196:(e,t,n)=>{"use strict";n.d(t,{AU:()=>u,D8:()=>$,E0:()=>S,Rb:()=>h,Re:()=>c,WQ:()=>a,XH:()=>E,YP:()=>y,d_:()=>k,gt:()=>x,hZ:()=>f,ib:()=>p,tY:()=>v,xy:()=>b});var r=n(19780),i=n(55241);function a(e,t){let n=e.copy(),r="hour"in n?g(n,t):0;o(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,s(n),l(n),n.day+=7*(t.weeks||0),n.day+=t.days||0,n.day+=r,function(e){for(;e.day<1;)e.month--,s(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,s(e)}(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a,u;let e=null==(a=(u=n.calendar).isInverseEra)?void 0:a.call(u,n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let d=n.calendar.getMonthsInYear(n);return n.month>d&&(n.month=d,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function o(e,t){var n,r;(null==(n=(r=e.calendar).isInverseEra)?void 0:n.call(r,e))&&(t=-t),e.year+=t}function s(e){for(;e.month<1;)o(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,o(e,1)}function l(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function u(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),l(e)}function d(e){let t={};for(let n in e)"number"==typeof e[n]&&(t[n]=-e[n]);return t}function c(e,t){return a(e,d(t))}function f(e,t){let n=e.copy();return null!=t.era&&(n.era=t.era),null!=t.year&&(n.year=t.year),null!=t.month&&(n.month=t.month),null!=t.day&&(n.day=t.day),u(n),n}function p(e,t){let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),h(n),n}function h(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function m(e,t){let n=e%t;return n<0&&(n+=t),n}function g(e,t){let n;return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,e.second+=Math.floor(e.millisecond/1e3),e.millisecond=m(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=m(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=m(e.minute,60),n=Math.floor(e.hour/24),e.hour=m(e.hour,24),n}function v(e,t){let n=e.copy();return g(n,t),n}function y(e,t){return v(e,d(t))}function b(e,t,n,r){let i=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error("Invalid era: "+e.era);a=w(a,n,0,t.length-1,null==r?void 0:r.round),i.era=t[a],u(i);break}case"year":var a,o;(null==(a=(o=i.calendar).isInverseEra)?void 0:a.call(o,i))&&(n=-n),i.year=w(e.year,n,-1/0,9999,null==r?void 0:r.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=w(e.month,n,1,e.calendar.getMonthsInYear(e),null==r?void 0:r.round);break;case"day":i.day=w(e.day,n,1,e.calendar.getDaysInMonth(e),null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),u(i),i}function x(e,t,n,r){let i=e.copy();switch(t){case"hour":{let t=e.hour,a=0,o=23;if((null==r?void 0:r.hourCycle)===12){let e=t>=12;a=12*!!e,o=e?23:11}i.hour=w(t,n,a,o,null==r?void 0:r.round);break}case"minute":i.minute=w(e.minute,n,0,59,null==r?void 0:r.round);break;case"second":i.second=w(e.second,n,0,59,null==r?void 0:r.round);break;case"millisecond":i.millisecond=w(e.millisecond,n,0,999,null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return i}function w(e,t,n,r,i=!1){if(i){(e+=Math.sign(t))<n&&(e=r);let i=Math.abs(t);(e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i)>r&&(e=n)}else(e+=t)<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function S(e,t){let n;if(null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days){let i=a((0,r.tR)(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=(0,r.Tr)(i,e.timeZone)}else n=(0,r.oU)(e)-e.offset;n+=t.milliseconds||0,n+=1e3*(t.seconds||0),n+=6e4*(t.minutes||0),n+=36e5*(t.hours||0);let i=(0,r.Yd)(n,e.timeZone);return(0,r.yP)(i,e.calendar)}function k(e,t){return S(e,d(t))}function E(e,t,n,a){switch(t){case"hour":{let t=0,o=23;if((null==a?void 0:a.hourCycle)===12){let n=e.hour>=12;t=12*!!n,o=n?23:11}let s=(0,r.tR)(e),l=(0,r.yP)(p(s,{hour:t}),new(0,i.FG)),u=[(0,r.Tr)(l,e.timeZone,"earlier"),(0,r.Tr)(l,e.timeZone,"later")].filter(t=>(0,r.Yd)(t,e.timeZone).day===l.day)[0],d=(0,r.yP)(p(s,{hour:o}),new(0,i.FG)),c=[(0,r.Tr)(d,e.timeZone,"earlier"),(0,r.Tr)(d,e.timeZone,"later")].filter(t=>(0,r.Yd)(t,e.timeZone).day===d.day).pop(),f=(0,r.oU)(e)-e.offset,h=Math.floor(f/36e5),m=f%36e5;return f=36e5*w(h,n,Math.floor(u/36e5),Math.floor(c/36e5),null==a?void 0:a.roun
16d)+m,(0,r.yP)((0,r.Yd)(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return x(e,t,n,a);case"era":case"year":case"month":case"day":{let i=b((0,r.tR)(e),t,n,a),o=(0,r.Tr)(i,e.timeZone);return(0,r.yP)((0,r.Yd)(o,e.timeZone),e.calendar)}default:throw Error("Unsupported field "+t)}}function $(e,t,n){let i=(0,r.tR)(e),a=p(f(i,t),t);if(0===a.compare(i))return e;let o=(0,r.Tr)(a,e.timeZone,n);return(0,r.yP)((0,r.Yd)(o,e.timeZone),e.calendar)}},27370:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(3848);let i=/jsdom|happydom/.test(r.ST)},27504:(e,t,n)=>{"use strict";n.d(t,{UC:()=>eR,In:()=>eD,q7:()=>eP,VF:()=>eA,p4:()=>eO,ZL:()=>eI,bL:()=>e$,l9:()=>e_,WT:()=>eC,LM:()=>eT});var r=n(34023),i=n(56742),a=n(73051),o=n(82669),s=n(78512),l=n(34233),u=n(17069),d=n(4455),c=n(6964),f=n(17977),p=n(75043),h=n(22905),m=n(94454),g=n(50257),v=n(39739),y=n(89360),b=n(12789),x=n(66825),w=n(98004),S=n(48179),k=n(94799),E=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});r.forwardRef((e,t)=>(0,k.jsx)(v.sG.span,{...e,ref:t,style:{...E,...e.style}})).displayName="VisuallyHidden";var $=n(42888),_=n(62812),C=[" ","Enter","ArrowUp","ArrowDown"],D=[" ","Enter"],I="Select",[R,T,P]=(0,s.N)(I),[O,A]=(0,u.A)(I,[P,m.Bk]),j=(0,m.Bk)(),[z,N]=O(I),[M,L]=O(I),F=e=>{let{__scopeSelect:t,children:n,open:i,defaultOpen:a,onOpenChange:o,value:s,defaultValue:l,onValueChange:u,dir:c,name:f,autoComplete:p,disabled:g,required:v,form:y}=e,b=j(t),[w,S]=r.useState(null),[E,$]=r.useState(null),[_,C]=r.useState(!1),D=(0,d.jH)(c),[T,P]=(0,x.i)({prop:i,defaultProp:a??!1,onChange:o,caller:I}),[O,A]=(0,x.i)({prop:s,defaultProp:l,onChange:u,caller:I}),N=r.useRef(null),L=!w||y||!!w.closest("form"),[F,U]=r.useState(new Set),B=Array.from(F).map(e=>e.props.value).join(";");return(0,k.jsx)(m.bL,{...b,children:(0,k.jsxs)(z,{required:v,scope:t,trigger:w,onTriggerChange:S,valueNode:E,onValueNodeChange:$,valueNodeHasChildren:_,onValueNodeHasChildrenChange:C,contentId:(0,h.B)(),value:O,onValueChange:A,open:T,onOpenChange:P,dir:D,triggerPointerDownPosRef:N,disabled:g,children:[(0,k.jsx)(R.Provider,{scope:t,children:(0,k.jsx)(M,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{U(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{U(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),L?(0,k.jsxs)(ew,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:p,value:O,onChange:e=>A(e.target.value),disabled:g,form:y,children:[void 0===O?(0,k.jsx)("option",{value:""}):null,Array.from(F)]},B):null]})})};F.displayName=I;var U="SelectTrigger",B=r.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:i=!1,...a}=e,s=j(n),u=N(U,n),d=u.disabled||i,c=(0,l.s)(t,u.onTriggerChange),f=T(n),p=r.useRef("touch"),[h,g,y]=ek(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=eE(t,e,n);void 0!==r&&u.onValueChange(r.value)}),b=e=>{d||(u.onOpenChange(!0),y()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,k.jsx)(m.Mz,{asChild:!0,...s,children:(0,k.jsx)(v.sG.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":eS(u.value)?"":void 0,...a,ref:c,onClick:(0,o.mK)(a.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&b(e)}),onPointerDown:(0,o.mK)(a.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(b(e),e.preventDefault())}),onKeyDown:(0,o.mK)(a.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&C.includes(e.key)&&(b(),e.preventDefault())})})})});B.displayName=U;var V="SelectValue",Z=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:a,placeholder:o="",...s}=e,u=N(V,n),{onValueNodeHasChildrenChange:d}=u,c=void 0!==a,f=(0,l.s)(t,u.onValueNodeChange);return(0,w.N)(()=>{d(c)},[d,c]),(0,k.jsx)(v.sG.span,{...s,ref:f,style:{pointerEvents:"none"},children:eS(u.value)?(0,k.jsx)(k.Fragment,{children:o}):a})});Z.displayName=V;var K=r.forwardRef((e,t)=>
16{let{__scopeSelect:n,children:r,...i}=e;return(0,k.jsx)(v.sG.span,{"aria-hidden":!0,...i,ref:t,children:r||"▼"})});K.displayName="SelectIcon";var q=e=>(0,k.jsx)(g.Z,{asChild:!0,...e});q.displayName="SelectPortal";var W="SelectContent",G=r.forwardRef((e,t)=>{let n=N(W,e.__scopeSelect),[a,o]=r.useState();return((0,w.N)(()=>{o(new DocumentFragment)},[]),n.open)?(0,k.jsx)(X,{...e,ref:t}):a?i.createPortal((0,k.jsx)(H,{scope:e.__scopeSelect,children:(0,k.jsx)(R.Slot,{scope:e.__scopeSelect,children:(0,k.jsx)("div",{children:e.children})})}),a):null});G.displayName=W;var[H,J]=O(W),Y=(0,y.TL)("SelectContent.RemoveScroll"),X=r.forwardRef((e,t)=>{let{__scopeSelect:n,position:i="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:s,onPointerDownOutside:u,side:d,sideOffset:h,align:m,alignOffset:g,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:x,hideWhenDetached:w,avoidCollisions:S,...E}=e,C=N(W,n),[D,I]=r.useState(null),[R,P]=r.useState(null),O=(0,l.s)(t,e=>I(e)),[A,j]=r.useState(null),[z,M]=r.useState(null),L=T(n),[F,U]=r.useState(!1),B=r.useRef(!1);r.useEffect(()=>{if(D)return(0,$.Eq)(D)},[D]),(0,f.Oh)();let V=r.useCallback(e=>{let[t,...n]=L().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:"nearest"}),n===t&&R&&(R.scrollTop=0),n===r&&R&&(R.scrollTop=R.scrollHeight),n?.focus(),document.activeElement!==i))return},[L,R]),Z=r.useCallback(()=>V([A,D]),[V,A,D]);r.useEffect(()=>{F&&Z()},[F,Z]);let{onOpenChange:K,triggerPointerDownPosRef:q}=C;r.useEffect(()=>{if(D){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(q.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(q.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():D.contains(n.target)||K(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[D,K,q]),r.useEffect(()=>{let e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);let[G,J]=ek(e=>{let t=L().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eE(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),X=r.useCallback((e,t,n)=>{let r=!B.current&&!n;(void 0!==C.value&&C.value===t||r)&&(j(e),r&&(B.current=!0))},[C.value]),et=r.useCallback(()=>D?.focus(),[D]),en=r.useCallback((e,t,n)=>{let r=!B.current&&!n;(void 0!==C.value&&C.value===t||r)&&M(e)},[C.value]),er="popper"===i?ee:Q,ei=er===ee?{side:d,sideOffset:h,align:m,alignOffset:g,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:x,hideWhenDetached:w,avoidCollisions:S}:{};return(0,k.jsx)(H,{scope:n,content:D,viewport:R,onViewportChange:P,itemRefCallback:X,selectedItem:A,onItemLeave:et,itemTextRefCallback:en,focusSelectedItem:Z,selectedItemText:z,position:i,isPositioned:F,searchRef:G,children:(0,k.jsx)(_.A,{as:Y,allowPinchZoom:!0,children:(0,k.jsx)(p.n,{asChild:!0,trapped:C.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,o.mK)(a,e=>{C.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,k.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:(0,k.jsx)(er,{role:"listbox",id:C.contentId,"data-state":C.open?"open":"closed",dir:C.dir,onContextMenu:e=>e.preventDefault(),...E,...ei,onPlaced:()=>U(!0),ref:O,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:(0,o.mK)(E.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||J(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=L().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>V(t)),e.preventDefault()}})})})})})})});X.displayName="SelectContentImpl";var Q=r.forwardRef((e,t)=>
16{let{__scopeSelect:n,onPlaced:i,...o}=e,s=N(W,n),u=J(W,n),[d,c]=r.useState(null),[f,p]=r.useState(null),h=(0,l.s)(t,e=>p(e)),m=T(n),g=r.useRef(!1),y=r.useRef(!0),{viewport:b,selectedItem:x,selectedItemText:S,focusSelectedItem:E}=u,$=r.useCallback(()=>{if(s.trigger&&s.valueNode&&d&&f&&b&&x&&S){let e=s.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==s.dir){let i=r.left-t.left,o=n.left-i,s=e.left-o,l=e.width+s,u=Math.max(l,t.width),c=window.innerWidth-10,f=(0,a.q)(o,[10,Math.max(10,c-u)]);d.style.minWidth=l+"px",d.style.left=f+"px"}else{let i=t.right-r.right,o=window.innerWidth-n.right-i,s=window.innerWidth-e.right-o,l=e.width+s,u=Math.max(l,t.width),c=window.innerWidth-10,f=(0,a.q)(o,[10,Math.max(10,c-u)]);d.style.minWidth=l+"px",d.style.right=f+"px"}let o=m(),l=window.innerHeight-20,u=b.scrollHeight,c=window.getComputedStyle(f),p=parseInt(c.borderTopWidth,10),h=parseInt(c.paddingTop,10),v=parseInt(c.borderBottomWidth,10),y=p+h+u+parseInt(c.paddingBottom,10)+v,w=Math.min(5*x.offsetHeight,y),k=window.getComputedStyle(b),E=parseInt(k.paddingTop,10),$=parseInt(k.paddingBottom,10),_=e.top+e.height/2-10,C=x.offsetHeight/2,D=p+h+(x.offsetTop+C);if(D<=_){let e=o.length>0&&x===o[o.length-1].ref.current;d.style.bottom="0px";let t=Math.max(l-_,C+(e?$:0)+(f.clientHeight-b.offsetTop-b.offsetHeight)+v);d.style.height=D+t+"px"}else{let e=o.length>0&&x===o[0].ref.current;d.style.top="0px";let t=Math.max(_,p+b.offsetTop+(e?E:0)+C);d.style.height=t+(y-D)+"px",b.scrollTop=D-_+b.offsetTop}d.style.margin="10px 0",d.style.minHeight=w+"px",d.style.maxHeight=l+"px",i?.(),requestAnimationFrame(()=>g.current=!0)}},[m,s.trigger,s.valueNode,d,f,b,x,S,s.dir,i]);(0,w.N)(()=>$(),[$]);let[_,C]=r.useState();(0,w.N)(()=>{f&&C(window.getComputedStyle(f).zIndex)},[f]);let D=r.useCallback(e=>{e&&!0===y.current&&($(),E?.(),y.current=!1)},[$,E]);return(0,k.jsx)(et,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:g,onScrollButtonChange:D,children:(0,k.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:(0,k.jsx)(v.sG.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Q.displayName="SelectItemAlignedPosition";var ee=r.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:i=10,...a}=e,o=j(n);return(0,k.jsx)(m.UC,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ee.displayName="SelectPopperPosition";var[et,en]=O(W,{}),er="SelectViewport",ei=r.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:i,...a}=e,s=J(er,n),u=en(er,n),d=(0,l.s)(t,s.onViewportChange),c=r.useRef(0);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,k.jsx)(R.Slot,{scope:n,children:(0,k.jsx)(v.sG.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:(0,o.mK)(a.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if(r?.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<r){let a=i+e,o=Math.min(r,a),s=a-o;n.style.height=o+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});ei.displayName=er;var ea="SelectGroup",[eo,es]=O(ea);r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=(0,h.B)();return(0,k.jsx)(eo,{scope:n,id:i,children:(0,k.jsx)(v.sG.div,{role:"group","aria-labelledby":i,...r,ref:t})})}).displayName=ea;var el="SelectLabel";r.forwardRef((e,t)=>
16{let{__scopeSelect:n,...r}=e,i=es(el,n);return(0,k.jsx)(v.sG.div,{id:i.id,...r,ref:t})}).displayName=el;var eu="SelectItem",[ed,ec]=O(eu),ef=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:i,disabled:a=!1,textValue:s,...u}=e,d=N(eu,n),c=J(eu,n),f=d.value===i,[p,m]=r.useState(s??""),[g,y]=r.useState(!1),b=(0,l.s)(t,e=>c.itemRefCallback?.(e,i,a)),x=(0,h.B)(),w=r.useRef("touch"),S=()=>{a||(d.onValueChange(i),d.onOpenChange(!1))};if(""===i)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,k.jsx)(ed,{scope:n,value:i,disabled:a,textId:x,isSelected:f,onItemTextChange:r.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,k.jsx)(R.ItemSlot,{scope:n,value:i,disabled:a,textValue:p,children:(0,k.jsx)(v.sG.div,{role:"option","aria-labelledby":x,"data-highlighted":g?"":void 0,"aria-selected":f&&g,"data-state":f?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...u,ref:b,onFocus:(0,o.mK)(u.onFocus,()=>y(!0)),onBlur:(0,o.mK)(u.onBlur,()=>y(!1)),onClick:(0,o.mK)(u.onClick,()=>{"mouse"!==w.current&&S()}),onPointerUp:(0,o.mK)(u.onPointerUp,()=>{"mouse"===w.current&&S()}),onPointerDown:(0,o.mK)(u.onPointerDown,e=>{w.current=e.pointerType}),onPointerMove:(0,o.mK)(u.onPointerMove,e=>{w.current=e.pointerType,a?c.onItemLeave?.():"mouse"===w.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,o.mK)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:(0,o.mK)(u.onKeyDown,e=>{(c.searchRef?.current===""||" "!==e.key)&&(D.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});ef.displayName=eu;var ep="SelectItemText",eh=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:a,style:o,...s}=e,u=N(ep,n),d=J(ep,n),c=ec(ep,n),f=L(ep,n),[p,h]=r.useState(null),m=(0,l.s)(t,e=>h(e),c.onItemTextChange,e=>d.itemTextRefCallback?.(e,c.value,c.disabled)),g=p?.textContent,y=r.useMemo(()=>(0,k.jsx)("option",{value:c.value,disabled:c.disabled,children:g},c.value),[c.disabled,c.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:x}=f;return(0,w.N)(()=>(b(y),()=>x(y)),[b,x,y]),(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(v.sG.span,{id:c.textId,...s,ref:m}),c.isSelected&&u.valueNode&&!u.valueNodeHasChildren?i.createPortal(s.children,u.valueNode):null]})});eh.displayName=ep;var em="SelectItemIndicator",eg=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return ec(em,n).isSelected?(0,k.jsx)(v.sG.span,{"aria-hidden":!0,...r,ref:t}):null});eg.displayName=em;var ev="SelectScrollUpButton";r.forwardRef((e,t)=>{let n=J(ev,e.__scopeSelect),i=en(ev,e.__scopeSelect),[a,o]=r.useState(!1),s=(0,l.s)(t,i.onScrollButtonChange);return(0,w.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){o(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,k.jsx)(eb,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null}).displayName=ev;var ey="SelectScrollDownButton";r.forwardRef((e,t)=>{let n=J(ey,e.__scopeSelect),i=en(ey,e.__scopeSelect),[a,o]=r.useState(!1),s=(0,l.s)(t,i.onScrollButtonChange);return(0,w.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,k.jsx)(eb,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null}).displayName=ey;var eb=r.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:i,...a}=e,s=J("SelectScrollButton",n),l=r.useRef(null),u=T(n),d=r.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return r.useEffect(()=>()=>d(),[d]),(0,w.N)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,k.jsx)(v.sG.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,o.mK)(a.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(i,50))}),onPointerMove:(0,o.mK)(a.onPointerMove,()=>{s.onItemLeave?.(),null===l.current&&(l.current=window.setInterval(i,50))}),onPointerLeave:(0,o.mK)(a.onPointerLeave,()=>{d()})})});r.forwardRef((e,t)=>
16{let{__scopeSelect:n,...r}=e;return(0,k.jsx)(v.sG.div,{"aria-hidden":!0,...r,ref:t})}).displayName="SelectSeparator";var ex="SelectArrow";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=j(n),a=N(ex,n),o=J(ex,n);return a.open&&"popper"===o.position?(0,k.jsx)(m.i3,{...i,...r,ref:t}):null}).displayName=ex;var ew=r.forwardRef(({__scopeSelect:e,value:t,...n},i)=>{let a=r.useRef(null),o=(0,l.s)(i,a),s=(0,S.Z)(t);return r.useEffect(()=>{let e=a.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==t&&n){let r=new Event("change",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[s,t]),(0,k.jsx)(v.sG.select,{...n,style:{...E,...n.style},ref:o,defaultValue:t})});function eS(e){return""===e||void 0===e}function ek(e){let t=(0,b.c)(e),n=r.useRef(""),i=r.useRef(0),a=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(i.current),""!==t&&(i.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),o=r.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,a,o]}function eE(e,t,n){var r,i;let a=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,s=(r=e,i=Math.max(o,0),r.map((e,t)=>r[(i+t)%r.length]));1===a.length&&(s=s.filter(e=>e!==n));let l=s.find(e=>e.textValue.toLowerCase().startsWith(a.toLowerCase()));return l!==n?l:void 0}ew.displayName="SelectBubbleInput";var e$=F,e_=B,eC=Z,eD=K,eI=q,eR=G,eT=ei,eP=ef,eO=eh,eA=eg},27684:(e,t,n)=>{"use strict";n.d(t,{V:()=>s});var r=n(56742),i=n(53451),a=n(7366),o=n(68708);function s(e,t=!1){let n=(0,i.NR)();return(0,a.K)((i,a=null)=>{n.cancel();let s=(0,o.q)(e);if(null==s)return;let l=()=>{r.flushSync(i)};if("function"!=typeof s.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void i();function u(){Promise.all(s.getAnimations().map(e=>e.finished)).then(()=>{a?.aborted||l()},()=>{a?.aborted||(s.getAnimations().some(e=>e.pending||"finished"!==e.playState)?u():l())})}if(t){let e="data-starting-style";if(!s.hasAttribute(e))return void n.request(u);let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),u())});return t.observe(s,{attributes:!0,attributeFilter:[e]}),void a?.addEventListener("abort",()=>t.disconnect(),{once:!0})}n.request(u)})}},27700:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(99097),i=n(30417),a=n(79342),o=n(64014);let s=.1*.1;function l(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function u(e,t,n,r,i,a,o,s,u,d){let c=!1;return l(e,t,n,r,i,a)&&(c=!c),l(e,t,i,a,o,s)&&(c=!c),l(e,t,o,s,u,d)&&(c=!c),l(e,t,u,d,n,r)&&(c=!c),c}function d(e,t,n,r,i,a){let o=Math.min(n,i),s=Math.max(n,i),l=Math.min(r,a),u=Math.max(r,a);return e>=o&&e<=s&&t>=l&&t<=u}function c(e={}){let{blockPointerEvents:t=!1}=e,n=new i.E,l=({x:e,y:t,placement:i,elements:l,onClose:c,nodeId:f,tree:p})=>{let h=i?.split("-")[0],m=!1,g=null,v=null,y="u">typeof performance?performance.now():0;return function(i){n.clear();let b=l.domReference,x=l.floating;if(!b||!x||null==h||null==e||null==t)return;let{clientX:w,clientY:S}=i,k=(0,a.EW)(i),E="mouseleave"===i.type,$=(0,a.gR)(x,k),_=(0,a.gR)(b,k);if($&&(m=!0,!E))return;if(_&&(m=!1,!E)){m=!0;return}if(E&&(0,r.vq)(i.relatedTarget)&&(0,a.gR)(x,i.relatedTarget))return;function C(){return!!(p&&(0,o.CM)(p.nodesRef.current,f).length>0)}function D(){C()||(n.clear(),c())}if(C())return;let I=b.getBoundingClientRect(),R=x.getBoundingClientRect(),T=e>R.right-R.width/2,P=t>R.bottom-R.height/2,O=R.width>I.width,A=R.height>I.height,j=(O?I:R).left,z=(O?I:R).right,N=(A?I:R).top,M=(A?I:R).bottom;if("top"===h&&t>=I.bottom-1||"bottom"===h&&t<=I.top+1||"left"===h&&e>=I.right-1||"right"===h&&e<=I.left+1)return void D();let L=!1;switch(h){case"top":L=d(w,S,j,I.top+1,z,R.bottom-1);break;case"bottom":L=d(w,S,j,R.top+1,z,I.bottom-1);break;case"left":L=d(w,S,R.right-1,M,I.left+1,N);break;case"right":L=d(w,S,I.right-1,M,R.left+1,N)}if(L)return;if(m&&(!(w>=I.x)||!(w<=I.x+I.width)||!(S>=I.y)||!(S<=I.y+I.height))||!E&&function(e,t){let n=performance.now(),r=n-y;if(null===g||null===v||0===r)return g=e,v=t,y=n,!1;let i=e-g,a=t-v;return g=e,v=t,y=n,i*i+a*a<r*r*s}(w,S))return void D();let F=!1;switch(h){case"top":{let n=O?.25:2,r=t+.5+1,i=T||O?R.bottom-.5:R.top,a=T?O?R.bottom-.5:R.top:R.bottom-.5;F=u(w,S,O||T?e+n:e-n,r,O?e-n:T?e+n:e-n,r,R.left,i,R.right,a);break}case"bottom":{let n=O?.25:2,r=t-.5,i=T||O?R.top+.5:R.bottom,a=T?O?R.top+.5:R.bottom:R.top+.5;F=u(w,S,O||T?e+n:e-n,r,O?e-n:T?e+n:e-n,r,R.left,i,R.right,a);break}case"left":{let n=A?.25:2,r=e+.5+1,i=P||A?R.right-.5:R.left,a=P?A?R.right-.5:R.left
16:R.right-.5;F=u(w,S,i,R.top,a,R.bottom,r,A||P?t+n:t-n,r,A?t-n:P?t+n:t-n);break}case"right":{let n=A?.25:2,r=e-.5,i=P||A?R.left+.5:R.right,a=P?A?R.left+.5:R.right:R.left+.5;F=u(w,S,r,A||P?t+n:t-n,r,A?t-n:P?t+n:t-n,i,R.top,a,R.bottom)}}F?m||n.start(40,D):D()}};return l.__options={...e,blockPointerEvents:t},l}},28227:(e,t,n)=>{"use strict";n.d(t,{rJ:()=>o,OB:()=>s,ol:()=>f});var r=n(57936),i=n(73451),a=n(3559);function o(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new i.K({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new a.Z,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0}),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:r.t0,inactiveTriggerProps:r.t0,popupProps:r.t0}}function s(e,t,n=!1){return new i.K({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}let l=e=>e.triggerIdProp??e.activeTriggerId,u=e=>e.openProp??e.open,d=e=>(e.popupElement?.id??e.floatingId)||void 0;function c(e,t){return void 0!==t&&u(e)&&l(e)===t}let f={open:u,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:l,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:d,isTriggerActive:(e,t)=>void 0!==t&&l(e)===t,isOpenedByTrigger:(e,t)=>c(e,t),isMountedByTrigger:(e,t)=>void 0!==t&&l(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>c(e,t)||void 0!==t&&u(e)&&null==l(e)&&1===e.triggerCount?d(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement}},28325:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});let r=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),a=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),o=new Set(["dir","lang","hidden","inert","translate"]),s=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),l=/^(data-.*)$/;function u(e,t={}){let{labelable:n,isLink:d,global:c,events:f=c,propNames:p}=t,h={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||d&&a.has(t)||c&&o.has(t)||f&&(s.has(t)||t.endsWith("Capture")&&s.has(t.slice(0,-7)))||(null==p?void 0:p.has(t))||l.test(t))&&(h[t]=e[t]);return h}},28410:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(34023),i=n(7366),a=n(27684);function o(e){let{enabled:t=!0,open:n,ref:o,onComplete:s}=e,l=(0,i.K)(s),u=(0,a.V)(o,n);r.useEffect(()=>{if(!t)return;let e=new AbortController;return u(l,e.signal),()=>{e.abort()}},[t,n,l,u])}},28655:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(79141),i=n(67241);let a={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return null!=t&&(n&&Array.isArray(t)?t.length>0:""!==(0,i.T)(t,r))},hasNullItemLabel:(e,t)=>!!t&&(0,i.Dp)(e.items),open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,i=e.value;return e.multiple?Array.isArray(i)&&i.some(e=>(0,r.tl)(t,e,n)):(0,r.tl)(t,i,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>
16e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows}},28803:(e,t,n)=>{"use strict";n.d(t,{n1:()=>g,C7:()=>I,N$:()=>D,Pu:()=>w});var r=n(2713),i=n(80254),a=n(92030),o=n(52276),s=n(52139),l=n(69003);class u{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,i.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=n,i=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(i),i.currentNode=r,this._currentSetFor.add(i),n=r=e.host}else n=n.parentNode;let a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=r,this._currentSetFor.add(a),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,i.sD)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let n;if("function"==typeof this.filter?n=this.filter(e):(null==(t=this.filter)?void 0:t.acceptNode)&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var n;let e;if("function"==typeof this.filter?e=this.filter(t):(null==(n=this.filter)?void 0:n.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let n=e.shadowRoot;if(n){let e=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(null==(t=this.filter)?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=r?r:null,this.whatToShow=null!=n?n:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const i=t.shadowRoot;if(i){const e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var d=n(84412),c=n(15957),f=n(34023);let p=f.createContext(null),h="react-aria-focus-scope-restore",m=null;function g(e){var t,n,s,l,u,c,g,w,I,R;let T,A,j,z,{children:N,contain:M,restoreFocus:L,autoFocus:F}=e,U=(0,f.useRef)(null),B=(0,f.useRef)(null),V=(0,f.useRef)([]),{parentNode:Z}=(0,f.useContext)(p)||{},K=(0,f.useMemo)(()=>new P({scopeRef:V}),[V]);(0,r.N)(()=>{let e=Z||O.root;if(O.getTreeNode(e.scopeRef)&&m&&!S(m,e.scopeRef)){let t=O.getTreeNode(m);t&&(e=t)}e.addChild(K),O.addNode(K)},[K,Z]),(0,r.N)(()=>{let e=O.getTreeNode(V);e&&(e.contain=!!M)},[M]),(0,r.N)(()=>{var e;let t=null==(e=U.current)?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==B.current;)n.push(t),t.addEventListener(h,r),t=t.nextSibling;return V.current=n,()=>{for(let e of n)e.removeEventListener(h,r)}},[N]),t=V,n=L,s=M,(0,r.N)(()=>{if(n||s)return;let e=t.current,r=(0,a.TW)(e?e[0]:void 0),o=e=>{let n=(0,i.wt)(e);b(n,t.current)?m=t:x(n)||(m=null)};
16return r.addEventListener("focusin",o,!1),null==e||e.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{r.removeEventListener("focusin",o,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",o,!1))}},[t,n,s]),l=V,u=M,T=(0,f.useRef)(void 0),A=(0,f.useRef)(void 0),(0,r.N)(()=>{let e=l.current;if(!u){A.current&&(cancelAnimationFrame(A.current),A.current=void 0);return}let t=(0,a.TW)(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!y(l)||e.isComposing)return;let n=(0,i.bq)(t),r=l.current;if(!r||!b(n,r))return;let a=D(v(r),{tabbable:!0},r);if(!n)return;a.currentNode=n;let o=e.shiftKey?a.previousNode():a.nextNode();o||(a.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,o=e.shiftKey?a.previousNode():a.nextNode()),e.preventDefault(),o&&k(o,!0)},r=e=>{(!m||S(m,l))&&b((0,i.wt)(e),l.current)?(m=l,T.current=(0,i.wt)(e)):y(l)&&!x((0,i.wt)(e),l)?T.current?T.current.focus():m&&m.current&&$(m.current):y(l)&&(T.current=(0,i.wt)(e))},s=e=>{A.current&&cancelAnimationFrame(A.current),A.current=requestAnimationFrame(()=>{let n=(0,d.ME)(),r=("virtual"===n||null===n)&&(0,o.m0)()&&(0,o.H8)(),a=(0,i.bq)(t);if(!r&&a&&y(l)&&!x(a,l)){m=l;let t=(0,i.wt)(e);if(t&&t.isConnected){var s;T.current=t,null==(s=T.current)||s.focus()}else m.current&&$(m.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[l,u]),(0,r.N)(()=>()=>{A.current&&cancelAnimationFrame(A.current)},[A]),c=V,g=L,w=M,j=(0,f.useRef)("u">typeof document?(0,i.bq)((0,a.TW)(c.current?c.current[0]:void 0)):null),(0,r.N)(()=>{let e=c.current,t=(0,a.TW)(e?e[0]:void 0);if(!g||w)return;let n=()=>{(!m||S(m,c))&&b((0,i.bq)(t),c.current)&&(m=c)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[c,w]),(0,r.N)(()=>{let e=(0,a.TW)(c.current?c.current[0]:void 0);if(!g)return;let t=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(c)||t.isComposing)return;let n=e.activeElement;if(!x(n,c)||!_(c))return;let r=O.getTreeNode(c);if(!r)return;let i=r.nodeToRestore,a=D(e.body,{tabbable:!0});a.currentNode=n;let o=t.shiftKey?a.previousNode():a.nextNode();if(i&&i.isConnected&&i!==e.body||(i=void 0,r.nodeToRestore=void 0),(!o||!x(o,c))&&i){a.currentNode=i;do o=t.shiftKey?a.previousNode():a.nextNode();while(x(o,c));(t.preventDefault(),t.stopPropagation(),o)?k(o,!0):x(i)?k(i,!0):n.blur()}};return w||e.addEventListener("keydown",t,!0),()=>{w||e.removeEventListener("keydown",t,!0)}},[c,g,w]),(0,r.N)(()=>{var e;let t=(0,a.TW)(c.current?c.current[0]:void 0);if(!g)return;let n=O.getTreeNode(c);if(n)return n.nodeToRestore=null!=(e=j.current)?e:void 0,()=>{let e=O.getTreeNode(c);if(!e)return;let n=e.nodeToRestore,r=(0,i.bq)(t);if(g&&n&&(r&&x(r,c)||r===t.body&&_(c))){let e=O.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=e.getTreeNode(c);for(;t;){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void C(t.nodeToRestore);t=t.parent}for(t=e.getTreeNode(c);t;){if(t.scopeRef&&t.scopeRef.current&&O.getTreeNode(t.scopeRef))return void C(E(t.scopeRef.current,!0));t=t.parent}}})}}},[c,g]),I=V,R=F,z=f.useRef(R),(0,f.useEffect)(()=>{if(z.current){m=I;let e=(0,a.TW)(I.current?I.current[0]:void 0);!b((0,i.bq)(e),m.current)&&I.current&&$(I.current)}z.current=!1},[I]),(0,f.useEffect)(()=>{let e=(0,i.bq)((0,a.TW)(V.current?V.current[0]:void 0)),t=null;if(b(e,V.current)){for(let n of O.traverse())n.scopeRef&&b(e,n.scopeRef.current)&&(t=n);t===O.getTreeNode(V)&&(m=t.scopeRef)}},[V]),(0,r.N)(()=>()=>{var e,t,n;let r=null!=(n=null==(t=O.getTreeNode(V))||null==(e=t.parent)?void 0:e.scopeRef)?n:null;(V===m||S(V,m))&&(!r||O.getTreeNode(r))&&(m=r),O.removeTreeNode(V)},[V]);let q=(0,f.useMemo)(()=>{var e;return e=V,{focusNext(t={}){var n;let r=e.current,{from:o,tabbable:s,wrap:l,accept:u}=t,d=o||(0,i.bq)((0,a.TW)(null!=(n=r[0])?n:void 0)),c=r[0].previousElementSibling,f=D(v(r),{tabbable:s,accept:u},r);f.currentNode=b(d,r)?d:c;let p=f.nextNode();return!p&&l&&(f.currentNode=c,p=f.nextNode()),p&&k(p,!0),p},focusPrevious(t={}){var n;let r=e.current,{from:o,tabbable:s,wrap:l,accept:u}=t,d=o||(0,i.bq)((0,a.TW)(null!=(n=r[0])?n:void 0)),c=r[r.length-1].nextElementSibling,f=D(v(r),{tabbable:s,accept:u},r);f.currentNode=b(d,r)?d:c;let p=f.previousNode();return!p&&l&&(f.currentNode=c,p=f.previousNode()),p&&k(p,!0),p},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=D(v(n),{tabbable:r,accept:i},n);a.currentNode=n[0].previousElementSibling;let o=a.nextNode();return o&&k(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=D(v(n),{tabbable:r,accept:i},n);a.currentNode=n[n.length-1].nextElementSibling;let o=a.previousNode();return o&&k(o,!0),o}}},[]),W=(0,f.useMemo)(()=>({focusManager:q,parentNode:K}),[K,q]);return f.createElement(p.Provider,{value:W},f.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:U}),N,f.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:B}))}function v(e){return e[0].parentElement}function y(e){let t=O.getTreeNode(m);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function b(e,t){return!!e&&!!t&&t.some(t=>(0,i.sD)(t,e))}function x(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of O.traverse(O.getTreeNode(t)))if(n&&b(e,n.current))return!0;return!1}function w(e){return x(e,m)}function S(e,t){var n;let r=null==(n=O.getTreeNode(t))?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function k(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,c.l)(e)}catch{}}function E(e,t=!0){let n=e[0].previousElementSibling,r=v(e),i=D(r,{tabbable:t},e);i.currentNode=n;let a=i.nextNode();return t&&!a&&((i=D(r=v(e),{tabbable:!1},e)).currentNode=n,a=i.nextNode()),a}function $(e,t=!0){k(E(e,t))}function _(e){let t=O.getTreeNode(m);for(;t&&t.scopeRef!==e;
16){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function C(e){e.dispatchEvent(new CustomEvent(h,{bubbles:!0,cancelable:!0}))&&k(e)}function D(e,t,n){var r,o,d;let c=(null==t?void 0:t.tabbable)?s.A:s.t,f=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,p=(0,a.TW)(f),h=(r=e||p,o=NodeFilter.SHOW_ELEMENT,d={acceptNode:e=>(0,i.sD)(null==t?void 0:t.from,e)||(null==t?void 0:t.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=[];if(e.form){var n,r;let i=null==(r=e.form)||null==(n=r.elements)?void 0:n.namedItem(e.name);t=[...null!=i?i:[]]}else t=[...(0,a.TW)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!t&&!t.some(e=>e.checked)}(e)||"INPUT"===h.currentNode.tagName&&"radio"===h.currentNode.type&&h.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:c(e)&&(!n||b(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},(0,l.Nf)()?new u(p,r,o,d):p.createTreeWalker(r,o,d));return(null==t?void 0:t.from)&&(h.currentNode=t.from),h}function I(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:o,tabbable:s=t.tabbable,wrap:l=t.wrap,accept:u=t.accept}=n,d=o||(0,i.bq)((0,a.TW)(r)),c=D(r,{tabbable:s,accept:u});(0,i.sD)(r,d)&&(c.currentNode=d);let f=c.nextNode();return!f&&l&&(c.currentNode=r,f=c.nextNode()),f&&k(f,!0),f},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:o,tabbable:s=t.tabbable,wrap:l=t.wrap,accept:u=t.accept}=n,d=o||(0,i.bq)((0,a.TW)(r)),c=D(r,{tabbable:s,accept:u});if((0,i.sD)(r,d))c.currentNode=d;else{let e=R(c);return e&&k(e,!0),null!=e?e:null}let f=c.previousNode();if(!f&&l){c.currentNode=r;let e=R(c);if(!e)return null;f=e}return f&&k(f,!0),null!=f?f:null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=D(r,{tabbable:i,accept:a}).nextNode();return o&&k(o,!0),o},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=R(D(r,{tabbable:i,accept:a}));return o&&k(o,!0),null!=o?o:null}}}function R(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class T{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let i=new P({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&b(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new T;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!=(t=null==(e=r.parent)?void 0:e.scopeRef)?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new P({scopeRef:null}),this.fastMap.set(null,this.root)}}class P{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let O=new T},28833:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(94799);let i="base-ui-disable-scrollbar",a={className:i,getElement:e=>(0,r.jsx)("style",{nonce:e,href:i,precedence:"base-ui:low",children:`.${i}{scrollbar-width:none}.${i}::-webkit-scrollbar{display:none}`})}},29140:(e,t,n)=>{"use strict";n.d(t,{$T:()=>c,_U:()=>l,e6:()=>p,ot:()=>d,qk:()=>f});var r=n(74761),i=n(19780),a=n(55241);let o=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,s=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function l(e){let t=e.match(o);if(!t){if(s.test(e))throw Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`);throw Error("Invalid ISO 8601 date string: "+e)}let n=new(0,r.ng)(u(t[1],0,9999),u(t[2],1,12),1);return n.day=u(t[3],1,n.calendar.getDaysInMonth(n)),n}function u(e,t,n){let r=Number(e);if(r<t||r>n)throw RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function d(e){return`${String(e.hour).padStart(2,"0")}
16:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function c(e){let t,n=(0,i.yP)(e,new(0,a.FG));return t="BC"===n.era?1===n.year?"0000":"-"+String(Math.abs(1-n.year)).padStart(6,"00"):String(n.year).padStart(4,"0"),`${t}-${String(n.month).padStart(2,"0")}-${String(n.day).padStart(2,"0")}`}function f(e){return`${c(e)}T${d(e)}`}function p(e){var t;let n,r,i,a,o;return`${f(e)}${n=0>Math.sign(t=e.offset)?"-":"+",r=Math.floor((t=Math.abs(t))/36e5),i=Math.floor(t%36e5/6e4),a=Math.floor(t%36e5%6e4/1e3),o=`${n}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`,0!==a&&(o+=`:${String(a).padStart(2,"0")}`),o}[${e.timeZone}]`}},29252:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},29286:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference")},29613:(e,t,n)=>{"use strict";n.d(t,{Ap:()=>_,OQ:()=>N,hB:()=>O,tO:()=>j});var r=n(34023),i=n(73051),a=n(82669),o=n(34233),s=n(17069),l=n(66825),u=n(4455),d=n(48179),c=n(99255),f=n(39739),p=n(78512),h=n(94799),m=["PageUp","PageDown"],g=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],v={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},y="Slider",[b,x,w]=(0,p.N)(y),[S,k]=(0,s.A)(y,[w]),[E,$]=S(y),_=r.forwardRef((e,t)=>{let{name:n,min:o=0,max:s=100,step:u=1,orientation:d="horizontal",disabled:c=!1,minStepsBetweenThumbs:f=0,defaultValue:p=[o],value:v,onValueChange:y=()=>{},onValueCommit:x=()=>{},inverted:w=!1,form:S,...k}=e,$=r.useRef(new Set),_=r.useRef(0),C="horizontal"===d,[D=[],T]=(0,l.i)({prop:v,defaultProp:p,onChange:e=>{let t=[...$.current];t[_.current]?.focus(),y(e)}}),P=r.useRef(D);function O(e,t,{commit:n}={commit:!1}){let r,a=(String(u).split(".")[1]||"").length,l=Math.round((Math.round((e-o)/u)*u+o)*(r=Math.pow(10,a)))/r,d=(0,i.q)(l,[o,s]);T((e=[])=>{let r=function(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(e,d,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,n)=>e[n+1]-t))>=t;return!0}(r,f*u))return e;{_.current=r.indexOf(d);let t=String(r)!==String(e);return t&&n&&x(r),t?r:e}})}return(0,h.jsx)(E,{scope:e.__scopeSlider,name:n,disabled:c,min:o,max:s,valueIndexToChangeRef:_,thumbs:$.current,values:D,orientation:d,form:S,children:(0,h.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,h.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,h.jsx)(C?I:R,{"aria-disabled":c,"data-disabled":c?"":void 0,...k,ref:t,onPointerDown:(0,a.mK)(k.onPointerDown,()=>{c||(P.current=D)}),min:o,max:s,inverted:w,onSlideStart:c?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}(D,e);O(e,t)},onSlideMove:c?void 0:function(e){O(e,_.current)},onSlideEnd:c?void 0:function(){let e=P.current[_.current];D[_.current]!==e&&x(D)},onHomeKeyDown:()=>!c&&O(o,0,{commit:!0}),onEndKeyDown:()=>!c&&O(s,D.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!c){let n=m.includes(e.key)||e.shiftKey&&g.includes(e.key),r=_.current;O(D[r]+u*(n?10:1)*t,r,{commit:!0})}}})})})})});_.displayName=y;var[C,D]=S(y,{startEdge:"left",endEdge:"right",size:"width",direction:1}),I=r.forwardRef((e,t)=>{let{min:n,max:i,dir:a,inverted:s,onSlideStart:l,onSlideMove:d,onSlideEnd:c,onStepKeyDown:f,...p}=e,[m,g]=r.useState(null),y=(0,o.s)(t,e=>g(e)),b=r.useRef(void 0),x=(0,u.jH)(a),w="ltr"===x,S=w&&!s||!w&&s;function k(e){let t=b.current||m.getBoundingClientRect(),r=U([0,t.width],S?[n,i]:[i,n]);return b.current=t,r(e-t.left)}return(0,h.jsx)(C,{scope:e.__scopeSlider,startEdge:S?"left":"right",endEdge:S?"right":"left",direction:S?1:-1,size:"width",children:(0,h.jsx)(T,{dir:x,"data-orientation":"horizontal",...p,ref:y,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=k(e.clientX);l?.(t)},onSlideMove:e=>{let t=k(e.clientX);d?.(t)},onSlideEnd:()=>{b.current=void 0,c?.()},onStepKeyDown:e=>
16{let t=v[S?"from-left":"from-right"].includes(e.key);f?.({event:e,direction:t?-1:1})}})})}),R=r.forwardRef((e,t)=>{let{min:n,max:i,inverted:a,onSlideStart:s,onSlideMove:l,onSlideEnd:u,onStepKeyDown:d,...c}=e,f=r.useRef(null),p=(0,o.s)(t,f),m=r.useRef(void 0),g=!a;function y(e){let t=m.current||f.current.getBoundingClientRect(),r=U([0,t.height],g?[i,n]:[n,i]);return m.current=t,r(e-t.top)}return(0,h.jsx)(C,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:(0,h.jsx)(T,{"data-orientation":"vertical",...c,ref:p,style:{...c.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=y(e.clientY);s?.(t)},onSlideMove:e=>{let t=y(e.clientY);l?.(t)},onSlideEnd:()=>{m.current=void 0,u?.()},onStepKeyDown:e=>{let t=v[g?"from-bottom":"from-top"].includes(e.key);d?.({event:e,direction:t?-1:1})}})})}),T=r.forwardRef((e,t)=>{let{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:o,onHomeKeyDown:s,onEndKeyDown:l,onStepKeyDown:u,...d}=e,c=$(y,n);return(0,h.jsx)(f.sG.span,{...d,ref:t,onKeyDown:(0,a.mK)(e.onKeyDown,e=>{"Home"===e.key?(s(e),e.preventDefault()):"End"===e.key?(l(e),e.preventDefault()):m.concat(g).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,a.mK)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)}),onPointerMove:(0,a.mK)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:(0,a.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),o(e))})})}),P="SliderTrack",O=r.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,i=$(P,n);return(0,h.jsx)(f.sG.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:t})});O.displayName=P;var A="SliderRange",j=r.forwardRef((e,t)=>{let{__scopeSlider:n,...i}=e,a=$(A,n),s=D(A,n),l=r.useRef(null),u=(0,o.s)(t,l),d=a.values.length,c=a.values.map(e=>F(e,a.min,a.max)),p=d>1?Math.min(...c):0,m=100-Math.max(...c);return(0,h.jsx)(f.sG.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...i,ref:u,style:{...e.style,[s.startEdge]:p+"%",[s.endEdge]:m+"%"}})});j.displayName=A;var z="SliderThumb",N=r.forwardRef((e,t)=>{let n=x(e.__scopeSlider),[i,a]=r.useState(null),s=(0,o.s)(t,e=>a(e)),l=r.useMemo(()=>i?n().findIndex(e=>e.ref.current===i):-1,[n,i]);return(0,h.jsx)(M,{...e,ref:s,index:l})}),M=r.forwardRef((e,t)=>{var n,i,s,l,u;let d,p,{__scopeSlider:m,index:g,name:v,...y}=e,x=$(z,m),w=D(z,m),[S,k]=r.useState(null),E=(0,o.s)(t,e=>k(e)),_=!S||x.form||!!S.closest("form"),C=(0,c.X)(S),I=x.values[g],R=void 0===I?0:F(I,x.min,x.max),T=(n=g,(i=x.values.length)>2?`Value ${n+1} of ${i}`:2===i?["Minimum","Maximum"][n]:void 0),P=C?.[w.size],O=P?(s=P,l=R,u=w.direction,p=U([0,50],[0,d=s/2]),(d-p(l)*u)*u):0;return r.useEffect(()=>{if(S)return x.thumbs.add(S),()=>{x.thumbs.delete(S)}},[S,x.thumbs]),(0,h.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[w.startEdge]:`calc(${R}% + ${O}px)`},children:[(0,h.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,h.jsx)(f.sG.span,{role:"slider","aria-label":e["aria-label"]||T,"aria-valuemin":x.min,"aria-valuenow":I,"aria-valuemax":x.max,"aria-orientation":x.orientation,"data-orientation":x.orientation,"data-disabled":x.disabled?"":void 0,tabIndex:x.disabled?void 0:0,...y,ref:E,style:void 0===I?{display:"none"}:e.style,onFocus:(0,a.mK)(e.onFocus,()=>{x.valueIndexToChangeRef.current=g})})}),_&&(0,h.jsx)(L,{name:v??(x.name?x.name+(x.values.length>1?"[]":""):void 0),form:x.form,value:I},g)]})});N.displayName=z;var L=r.forwardRef(({__scopeSlider:e,value:t,...n},i)=>{let a=r.useRef(null),s=(0,o.s)(a,i),l=(0,d.Z)(t);return r.useEffect(()=>{let e=a.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(l!==t&&n){let r=new Event("input",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[l,t]),(0,h.jsx)(f.sG.input,{style:{display:"none"},...n,ref:s,defaultValue:t})});function F(e,t,n){return(0,i.q)(100/(n-t)*(e-t),[0,100])}function U(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}L.displayName="RadioBubbleInput"}
16,30043:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,M:()=>a});var r=n(34023);let i=r.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function a(){return r.useContext(i)}},30417:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,Z:()=>o});var r=n(45753),i=n(53158);class a{static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}}function o(){let e=(0,r.j)(a.create).current;return(0,i.y)(e.disposeEffect),e}},31262:(e,t,n)=>{"use strict";n.d(t,{Dc:()=>f,Ee:()=>d,Eg:()=>h,Hw:()=>o,KR:()=>u,XD:()=>l,dc:()=>p,kN:()=>s,ui:()=>c,vx:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0),o=i.createContext(void 0),s=i.createContext(void 0),l=i.createContext(!1),u=i.createContext("");function d(){let e=i.useContext(a);if(!e)throw Error((0,r.A)(22));return e}function c(){let e=i.useContext(o);if(!e)throw Error((0,r.A)(23));return e}function f(){let e=i.useContext(s);if(!e)throw Error((0,r.A)(24));return e}function p(){return i.useContext(u)}function h(){return i.useContext(l)}},31375:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(34023);function i(e){let t=r.useRef(!0);t.current&&(t.current=!1,e())}},31590:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(34023),i=n(94664);function a(){let e=(0,i.l)(),t=e.useState("toasts");return r.useMemo(()=>({toasts:t,add:e.addToast,close:e.closeToast,update:e.updateToast,promise:e.promiseToast}),[t,e])}},31795:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(34023),i=n(7366),a=n(7217),o=n(93602);function s(e){let[t,n]=r.useState(null),s=function(e,t){var n;let o,s,{onClick:l,onPointerDown:u}=(n=(0,i.K)((n,r)=>{("function"==typeof e?e():e)||t(r||(a.s4?"touch":""))}),o=r.useRef(""),s=r.useCallback(e=>{e.defaultPrevented||(o.current=e.pointerType,n(e,e.pointerType))},[n]),{onClick:r.useCallback(e=>{0===e.detail?n(e,"keyboard"):("pointerType"in e?n(e,e.pointerType):n(e,o.current),o.current="")},[n]),onPointerDown:s});return r.useMemo(()=>({onClick:l,onPointerDown:u}),[l,u])}(e,n);return(0,o.x)(e,t=>{t&&!e&&n(null)}),r.useMemo(()=>({openMethod:t,triggerProps:s}),[t,s])}},31816:(e,t,n)=>{"use strict";function r(e,t){return e-t*Math.floor(e/t)}n.d(t,{z:()=>r})},31821:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var r=n(34023),i=n(61332),a=n(836),o=n(77799),s=n(63244),l=n(97869),u=n(21610),d=n(94799);let c=r.forwardRef(function(e,t){let{render:n,className:c,anchor:f,positionMethod:p="absolute",side:h="top",align:m="center",sideOffset:g=0,alignOffset:v=0,collisionBoundary:y="clipping-ancestors",collisionPadding:b=5,arrowPadding:x=5,sticky:w=!1,disableAnchorTracking:S=!1,collisionAvoidance:k=l.Pe,style:E,...$}=e,_=(0,i.g)(),C=(0,s.a)(),D=_.useState("open"),I=_.useState("mounted"),R=_.useState("trackCursorAxis"),T=_.useState("disableHoverablePopup"),P=_.useState("floatingRootContext"),O=_.useState("instantType"),A=_.useState("transitionStatus"),j=_.useState("adaptiveOrigin"),z=(0,o.s)({anchor:f,positionMethod:p,floatingRootContext:P,mounted:I,side:h,sideOffset:g,align:m,alignOffset:v,collisionBoundary:y,collisionPadding:b,sticky:w,arrowPadding:x,disableAnchorTracking:S,keepMounted:C,collisionAvoidance:k,adaptiveOrigin:j}),N=r.useMemo(()=>({open:D,side:z.side,align:z.align,anchorHidden:z.anchorHidden,instant:"none"!==R?"tracking-cursor":O}),[D,z.side,z.align,z.anchorHidden,R,O]),M=(0,u.i)(e,N,{styles:z.positionerStyles,transitionStatus:A,props:$,refs:[t,_.useStateSetter("positionerElement")],hidden:!I,inert:!D||"both"===R||T});return(0,d.jsx)(a.v.Provider,{value:z,children:M})})},31963:(e,t,n)=>{"use strict";n.d(t,{l:()=>k});var r=n(34023),i=n(42800),a=n(88018),o=n(7366),s=n(84505),l=n(76786),u=n(33848),d=n(77799),c=n(70194),f=n(17366),p=n(97869),h=n(27e3),m=n(28655),g=n(8551),v=n(78337),y=n(79141),b=n(21610),x=n(90288),w=n(94799);let S={position:"fixed"},k=r.forwardRef(function(e,t){let{anchor:n,className:k,render:E,positionMethod:$,side:_,align:C,sideOffset:D,alignOffset:I,c
16ollisionBoundary:R="clipping-ancestors",collisionPadding:T,arrowPadding:P,sticky:O,disableAnchorTracking:A,alignItemWithTrigger:j=!0,collisionAvoidance:z=p.uD,style:N,...M}=e,{store:L,listRef:F,labelsRef:U,alignItemWithTriggerActiveRef:B,selectedItemTextRef:V,valuesRef:Z,initialValueRef:K,popupRef:q,setValue:W,floatingContext:G}=(0,l.l)(),H=(0,s.P)(L,m.T.open),J=(0,s.P)(L,m.T.mounted),Y=(0,s.P)(L,m.T.modal),X=(0,s.P)(L,m.T.value),Q=(0,s.P)(L,m.T.openMethod),ee=(0,s.P)(L,m.T.positionerElement),et=(0,s.P)(L,m.T.triggerElement),en=(0,s.P)(L,m.T.isItemEqualToValue),er=(0,s.P)(L,m.T.transitionStatus),ei=r.useRef(null),ea=r.useRef(null),[eo,es]=r.useState(j),el=J&&eo&&"touch"!==Q;J||eo===j||es(j),r.useImperativeHandle(B,()=>el),(0,x.G)((el||Y)&&H,"touch"===Q,ee,et);let eu=(0,d.s)({anchor:n,floatingRootContext:G,positionMethod:$,mounted:J,side:_,sideOffset:D,align:C,alignOffset:I,arrowPadding:P,collisionBoundary:R,collisionPadding:T,sticky:O,disableAnchorTracking:A??el,collisionAvoidance:z,keepMounted:!0}),ed=el?"none":eu.side,ec=el?S:eu.positionerStyles,ef={open:H,side:ed,align:eu.align,anchorHidden:eu.anchorHidden};(0,a.g)(()=>{L.set("popupSide",eu.side)},[L,eu.side]);let ep=L.useStateSetter("positionerElement"),eh=(0,b.i)(e,ef,{styles:ec,transitionStatus:er,props:M,refs:[t,ep],hidden:!J,inert:!H}),em=r.useRef(0),eg=(0,o.K)(e=>{if(0===Z.current.length)return;let t=em.current;if(em.current=e.size,e.size===t)return;let n=(0,g.d)(v.dv);if(0!==t&&!L.state.multiple&&null!==X&&-1===(0,y.Vz)(Z.current,X,en)){let e=K.current,t=null!=e&&-1!==(0,y.Vz)(Z.current,e,en)?e:null;W(t,n),null===t&&(L.set("selectedIndex",null),V.current=null)}if(0!==t&&L.state.multiple&&Array.isArray(X)){let e=X.filter(e=>-1!==(0,y.Vz)(Z.current,e,en));e.length!==X.length&&(W(e,n),0===e.length&&(L.set("selectedIndex",null),V.current=null))}if(H&&el){L.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:""};(0,h.Y)(ee,e),(0,h.Y)(q.current,e)}}),ev=r.useMemo(()=>({...eu,side:ed,alignItemWithTriggerActive:el,setControlledAlignItemWithTrigger:es,scrollUpArrowRef:ei,scrollDownArrowRef:ea}),[eu,ed,el,es]);return(0,w.jsx)(u.u,{elementsRef:F,labelsRef:U,onMapChange:eg,children:(0,w.jsxs)(c.i.Provider,{value:ev,children:[J&&Y&&(0,w.jsx)(f.W,{inert:(0,i.Y)(!H),cutout:et}),eh]})})})},32005:(e,t,n)=>{"use strict";n.d(t,{o:()=>f});var r=n(34023),i=n(61332),a=n(836),o=n(41118),s=n(28410),l=n(92796),u=n(21708),d=n(91039),c=n(18039);let f=r.forwardRef(function(e,t){let{render:n,className:r,style:f,...p}=e,h=(0,i.g)(),{side:m,align:g}=(0,a.s)(),v=h.useState("open"),y=h.useState("instantType"),b=h.useState("transitionStatus"),x=h.useState("popupProps"),w=h.useState("floatingRootContext"),S=h.useState("disabled"),k=h.useState("closeDelay");(0,s.v)({open:v,ref:h.context.popupRef,onComplete(){v&&h.context.onOpenChangeComplete?.(!0)}}),(0,d.a)(w,{enabled:!S,closeDelay:k});let E=h.useStateSetter("popupElement");return(0,l.o)("div",e,{state:{open:v,side:m,align:g,instant:y,transitionStatus:b},ref:[t,h.context.popupRef,E],props:[c.Ls,x,(0,u.d)(b),p],stateAttributesMapping:o.LM})})},32705:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});let r="data-composite-item-active"},33848:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(34023),i=n(45753),a=n(7366),o=n(88018),s=n(30043),l=n(94799);function u(e){let{children:t,elementsRef:n,labelsRef:u,onMapChange:p}=e,h=(0,a.K)(p),[,m]=r.useState(!1),g=(0,i.j)(c).current,v=(0,i.j)(d).current,y=r.useRef(0),b=r.useRef(!0),x=r.useRef([]),w=r.useRef(null),S=(0,a.K)(()=>{b.current||(b.current=!0,m(e=>!e))}),k=(0,a.K)((e,t)=>{v.set(e,t),S()}),E=(0,a.K)(e=>{v.delete(e),S()}),$=(0,a.K)(e=>{let t=new Map;return n.current.length=0,u&&(u.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,u&&(u.current[e.index]=void 0!==e.registration.label?e.registration.label:e.registration.textRef?.current?.textContent??e.element.textContent)}),y.current=n.current.length,t}),_=(0,a.K)(()=>{var e;let t,n,r,i,[a,o]=(e=v,t=new Set,n=[],r=[],e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};null===a?r.push(o):a>=0&&(t.add(a),n.push(o))}),i=0,r.sort((e,t)=>
16f(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]),s=$(a);!function(e){if(w.current?.disconnect(),w.current=null,"function"!=typeof MutationObserver||e.length<2)return;let t=new MutationObserver(n=>{if(!function(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&f(r,n)>0){t.disconnect(),S();return}r=n}});w.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=function(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}(o),x.current=a,b.current=!1,g.forEach(e=>e(s)),h(s)});(0,o.g)(()=>(b.current||$(x.current),()=>{n.current=[],u&&(u.current=[])}),[n,u,$]),(0,o.g)(()=>{b.current&&_()}),(0,o.g)(()=>()=>{w.current?.disconnect(),b.current=!0},[]);let C=(0,a.K)(e=>(g.add(e),()=>{g.delete(e)})),D=r.useMemo(()=>({register:k,unregister:E,subscribeMapChange:C,nextIndexRef:y}),[k,E,C,y]);return(0,l.jsx)(s.D.Provider,{value:D,children:t})}function d(){return new Map}function c(){return new Set}function f(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}},34067:(e,t,n)=>{"use strict";n.d(t,{k:()=>I});var r=n(68125),i=n(34023),a=n(99097),o=n(86289),s=n(30417),l=n(96820),u=n(61332),d=n(41118),c=n(92796),f=n(92337),p=n(18039),h=n(99901);let m=i.createContext(void 0);var g=n(88018),v=n(79130),y=n(8551),b=n(78337);n(94799);let x=i.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new s.E,currentIdRef:{current:null},currentContextRef:{current:null}});var w=n(82312),S=n(27700),k=n(21055),E=n(79342),$=n(97057),_=n(83271);let C="data-base-ui-tooltip-trigger";function D(e){if("composedPath"in e){let t=e.composedPath();for(let e=0;e<t.length;e+=1){let n=t[e];if((0,a.vq)(n))return n}}let t=e.target;return(0,a.vq)(t)?t:null}let I=(0,o.nk)(function(e,t){let{render:n,className:o,style:I,handle:R,payload:T,disabled:P,delay:O,closeOnClick:A=!0,closeDelay:j,id:z,...N}=e,M=(0,u.g)(!0),L=(0,f.f)(R)??M;if(!L)throw Error((0,r.A)(82));let F=(0,h.e)(z),U=L.useState("isTriggerActive",F),B=L.useState("isOpenedByTrigger",F),V=L.useState("floatingRootContext"),Z=i.useRef(null),K=O??600,q=j??0,{registerTrigger:W,isMountedByThisTrigger:G}=(0,p.L_)(F,Z,L,{payload:T,closeOnClick:A,closeDelay:q}),H=i.useContext(m),{delayRef:J,isInstantPhase:Y,hasProvider:X}=function(e,t={open:!1}){let{open:n}=t,r="rootStore"in e?e.rootStore:e,a=r.useState("floatingId"),{currentIdRef:o,delayRef:s,timeoutMs:l,initialDelayRef:u,currentContextRef:d,hasProvider:c,timeout:f}=i.useContext(x),[p,h]=i.useState(!1),m=i.useRef(n);return(0,g.g)(()=>{m.current=n},[n]),(0,g.g)(()=>{function e(){d.current?.setIsInstantPhase(!1),o.current=null,d.current=null,s.current=u.current,f.clear()}if(o.current&&!n&&o.current===a){if(h(!1),l)return f.start(l,()=>{r.select("open")||o.current&&o.current!==a||e()}),()=>{(m.current||o.current!==a)&&f.clear()};e()}},[n,a,o,s,l,u,d,f,r]),(0,g.g)(()=>
16{if(!n)return;let e=d.current,t=o.current;f.clear(),d.current={onOpenChange:r.setOpen,setIsInstantPhase:h},o.current=a,s.current={open:0,close:(0,v.uf)(u.current,"close")},null!==t&&t!==a?(h(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,(0,y.d)(b.dv))):(h(!1),e?.setIsInstantPhase(!1))},[n,a,r,o,s,u,d,f]),(0,g.g)(()=>()=>{o.current===a&&(d.current=null,m.current)&&(o.current=null,s.current=u.current,f.clear())},[d,o,s,a,u,f]),i.useMemo(()=>({hasProvider:c,delayRef:s,isInstantPhase:p}),[c,s,p])}(V,{open:B}),Q=(0,_.uu)(V);L.useSyncedValue("isInstantPhase",Y);let ee=L.useState("disabled"),et=P??ee,en=(0,l.u)(et),er=L.useState("trackCursorAxis"),ei=L.useState("disableHoverablePopup"),ea=i.useRef(!1),eo=(0,s.Z)(),es=i.useRef(void 0);function el(){return X?0===(0,v.uf)(J.current,"open")?0:O??H??600:K}function eu(e){let t=Z.current;if(!t||!e)return!1;let n=function(e){let t=e;for(;t;){let e=t.closest(`[${C}]`);if(e)return e;let n=t.getRootNode();t="host"in n&&(0,a.vq)(n.host)?n.host:null}return null}(e);return null!==n&&n!==t&&(0,E.gR)(t,n)}let ed=(0,w.j)(V,{enabled:!et,mouseOnly:!0,move:!1,handleClose:ei||"both"===er?null:(0,S.i)(),restMs:el,delay:()=>null==j&&X?{close:(0,v.uf)(J.current,"close")}:{close:q},triggerElementRef:Z,isActiveTrigger:U,isClosing:()=>"ending"===L.select("transitionStatus"),shouldOpen:()=>!ea.current}),ec=(0,k.i)(V,{enabled:!et}).reference,ef=L.useState("triggerProps",G),ep=G||"none"!==er;return(0,c.o)("button",e,{state:{open:B},ref:[t,W,Z],props:[ed,ec,ep?ef:void 0,{onMouseOver(e){(e=>{let t,n=ea.current,r=D(e),i=(ea.current=t=eu(r),t&&(Q.openChangeTimeout.clear(),Q.restTimeout.clear(),Q.restTimeoutPending=!1,eo.clear()),t),a=Z.current,o=a&&r&&(0,E.gR)(a,r);if(i&&L.select("open")&&L.select("lastOpenChangeReason")===b.N7)return L.setOpen(!1,(0,y.d)(b.N7,e));if(n&&!i&&o&&!en.current&&!L.select("open")&&a&&(0,$.Go)(es.current)){let t=()=>{ea.current||en.current||L.select("open")||L.setOpen(!0,(0,y.d)(b.N7,e,a))},n=el();0===n?(eo.clear(),t()):eo.start(n,t)}})(e.nativeEvent)},onFocus(e){eu(D(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){ea.current=!1,eo.clear(),es.current=void 0},onPointerEnter(e){es.current=e.pointerType},onPointerDown(e){es.current=e.pointerType,L.set("closeOnClick",A),A&&!L.select("open")&&L.cancelPendingOpen(e.nativeEvent)},onClick(e){A&&!L.select("open")&&L.cancelPendingOpen(e.nativeEvent)},id:F,"data-trigger-disabled":et?"":void 0,[C]:et?void 0:""},N],stateAttributesMapping:d.qV})})},34233:(e,t,n)=>{"use strict";n.d(t,{s:()=>o,t:()=>a});var r=n(34023);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function o(...e){return r.useCallback(a(...e),e)}},34562:(e,t,n)=>{"use strict";n.d(t,{d:()=>T});var r=n(39416),i=n(52276),a=n(92030),o=n(955);let s="default",l="",u=new WeakMap;function d(e){if((0,i.un)())"disabled"===s&&(s="restoring",setTimeout(()=>{(0,o.v)(()=>{if("restoring"===s){let t=(0,a.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=l||""),l="",s="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&u.has(e)){let t=u.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[n]&&(e.style[n]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),u.delete(e)}}var c=n(76230);function f(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var p=n(37487);function h(e,t,n){var r=f(e,t,"set");if(r.set)r.set.call(e,n);else{if(!r.writable)throw TypeError("attempted to set read only private field");r.value=n}return n}var m=n(23416),g=n(14926),v=n(67566),y=n(55443),b=n(2713),x=n(80254),w=n(57769),S=n(95898),k=n(74052),E=n(26642);n(56742);var $=n(34023),_=new WeakMap;class C{continuePropagation(){h(this,_,!1)}get shouldStopPropagation(){var e;return e=f(this,_,"get"),e.get?e.get.call(this):e.value}constructor(e,t,n,r){var i;(0,p._)(this,_,{writable:!0,value:void 0}),h(this,_,!0);
16let a=null!=(i=null==r?void 0:r.target)?i:n.currentTarget;const o=null==a?void 0:a.getBoundingClientRect();let s,l=0,u,d=null;null!=n.clientX&&null!=n.clientY&&(u=n.clientX,d=n.clientY),o&&(null!=u&&null!=d?(s=u-o.left,l=d-o.top):(s=o.width/2,l=o.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l,this.key=n.key}}let D=Symbol("linkClicked"),I="react-aria-pressable-style",R="data-react-aria-pressable";function T(e){let{onPress:t,onPressChange:n,onPressStart:o,onPressEnd:f,onPressUp:p,onClick:h,isDisabled:_,isPressed:T,preventFocusOnPress:z,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:M,ref:L,...F}=function(e){let t=(0,$.useContext)(c.F);if(t){let{register:n,ref:r,...i}=t;e=(0,m.v)(i,e),n()}return(0,g.w)(t,e.ref),e}(e),[U,B]=(0,$.useState)(!1),V=(0,$.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:Z,removeAllGlobalListeners:K,removeGlobalListener:q}=(0,v.A)(),W=(0,$.useCallback)((e,t)=>{let r=V.current;if(_||r.didFirePressStart)return!1;let i=!0;if(r.isTriggeringEvent=!0,o){let n=new C("pressstart",t,e);o(n),i=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,B(!0),i},[_,o,n]),G=(0,$.useCallback)((e,r,i=!0)=>{let a=V.current;if(!a.didFirePressStart)return!1;a.didFirePressStart=!1,a.isTriggeringEvent=!0;let o=!0;if(f){let t=new C("pressend",r,e);f(t),o=t.shouldStopPropagation}if(n&&n(!1),B(!1),t&&i&&!_){let n=new C("press",r,e);t(n),o&&(o=n.shouldStopPropagation)}return a.isTriggeringEvent=!1,o},[_,f,n,t]),H=(0,y.J)(G),J=(0,$.useCallback)((e,t)=>{let n=V.current;if(_)return!1;if(p){n.isTriggeringEvent=!0;let r=new C("pressup",t,e);return p(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[_,p]),Y=(0,y.J)(J),X=(0,$.useCallback)(e=>{let t=V.current;if(t.isPressed&&t.target){for(let n of(t.didFirePressStart&&null!=t.pointerType&&G(A(t.target,e),t.pointerType,!1),t.isPressed=!1,es(null),t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,K(),M||d(t.target),t.disposables))n();t.disposables=[]}},[M,K,G]),Q=(0,y.J)(X),ee=(0,$.useCallback)(e=>{N&&X(e)},[N,X]),et=(0,$.useCallback)(e=>{_||null==h||h(e)},[_,h]),en=(0,$.useCallback)((e,t)=>{if(!_&&h){let n=new MouseEvent("click",e);(0,r.o1)(n,t),h((0,r.eg)(n))}},[_,h]),er=(0,y.J)(en),[ei,ea]=(0,$.useState)(!1);(0,b.N)(()=>{let e=V.current;if(ei){let t=e.target,n=(0,S.c)(n=>{t&&O(n,t)&&!n.repeat&&(0,x.sD)(t,(0,x.wt)(n))&&e.target&&Y(A(e.target,n),"keyboard")},t=>{var n,r,i;if(e.isPressed&&e.target&&O(t,e.target)){j((0,x.wt)(t),t.key)&&t.preventDefault();let n=(0,x.wt)(t),i=(0,x.sD)(e.target,(0,x.wt)(t));H(A(e.target,t),"keyboard",i),i&&er(t,e.target),K(),"Enter"!==t.key&&P(e.target)&&(0,x.sD)(e.target,n)&&!t[D]&&(t[D]=!0,(0,w.Fe)(e.target,t,!1)),e.isPressed=!1,ea(!1),null==(r=e.metaKeyEvents)||r.delete(t.key)}else if("Meta"===t.key&&(null==(n=e.metaKeyEvents)?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null==(i=e.target)||i.dispatchEvent(new KeyboardEvent("keyup",n))}});return Z((0,a.TW)(e.target),"keyup",n,!0),()=>{q((0,a.TW)(e.target),"keyup",n,!0)}}},[ei,Z,K,q]);let[eo,es]=(0,$.useState)(null);(0,b.N)(()=>{let e=V.current;if("pointer"===eo){let t=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,x.sD)(e.target,(0,x.wt)(t))&&null!=e.pointerType){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?Q(t):((0,k.e)(e.target),e.target.click()))},80);Z(t.currentTarget,"click",()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else Q(t);e.isOverTarget=!1}},n=e=>{Q(e)};return Z((0,a.TW)(e.target),"pointerup",t,!1),Z((0,a.TW)(e.target),"pointercancel",n,!1),()=>{q((0,a.TW)(e.target),"pointerup",t,!1),q((0,a.TW)(e.target),"pointercancel",n,!1)}}},[eo,Z,q]);let el=(0,$.useMemo)(()=>{let e=V.current,t={onKeyDown(t){if(O(t.nativeEvent,t.currentTarget)&&(0,x.sD)(t.currentTarget,(0,x.wt)(t.nativeEvent))){var n;j((0,x.wt)(t.nativeEvent),t.key)&&t.preventDefault();let r=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,ea(!0),e.pointerType="keyboard",r=W(t,"keyboard")),r&&t.stopPropagation(),t.metaKey&&(0,i.cX)()&&(null==(n=e.metaKeyEvents)||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,x.sD)(t.currentTarget,(0,x.wt)(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!w.Fe.isOpening){let n=!0;if(_&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,E.Y)(t.nativeEvent))){let e=W(t,"virtual"),r=J(t,"virtual"),i=G(t,"virtual");et(t),n=e&&r&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let r=e.pointerType||t.nativeEvent.pointerType||"virtual",i=J(A(t.currentTarget,t),r),a=G(A(t.currentTarget,t),r,!0);n=i&&a,e.isOverTarget=!1,et(t),X(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}};return"u">typeof PointerEvent&&(t.onPointerDown=t=>{if(0!==t.button||!(0,x.sD)(t.currentTarget,(0,x.wt)(t.nativeEvent)))return;if((0,E.P)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let n=!0;if(!e.isPressed){e.isPressed=!0,es("pointer"),e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,M||function(e){if((0,i.un)()){if("default"===s){let t=(0,a.TW)(e);l=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}s="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";u.set(e,e.style[t]),e.style[t]="none"}}(e.target),n=W(t,e.pointerType);let r=(0,x.wt)(t.nativeEvent);"releasePointerCapture"in r&&("hasPointerCapture"in r?r.hasPointerCapture(t.pointerId)&&r.releasePointerCapture(t.pointerId):r.releasePointerCapture(t.pointerId))}n&&t.stopPropagation()},t.onMouseDown=t=>{if((0,x.sD)(t.currentTarget,(0,x.wt)(t.nativeEvent))&&0===t.button){if(z){let n=(0,r.LE)(t.target);n&&e.disposables.push(n)}
16t.stopPropagation()}},t.onPointerUp=t=>{(0,x.sD)(t.currentTarget,(0,x.wt)(t.nativeEvent))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||J(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,W(A(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,G(A(e.target,t),e.pointerType,!1),ee(t))},t.onDragStart=e=>{(0,x.sD)(e.currentTarget,(0,x.wt)(e.nativeEvent))&&X(e)}),t},[_,z,K,M,X,ee,G,W,J,et,en]);return(0,$.useEffect)(()=>{if(!L)return;let e=(0,a.TW)(L.current);if(!e||!e.head||e.getElementById(I))return;let t=e.createElement("style");t.id=I,t.textContent=`
17@layer {
18  [${R}] {
19    touch-action: pan-x pan-y pinch-zoom;
20  }
21}
22    `.trim(),e.head.prepend(t)},[L]),(0,$.useEffect)(()=>{let e=V.current;return()=>{var t;for(let n of(M||d(null!=(t=e.target)?t:void 0),e.disposables))n();e.disposables=[]}},[M]),{isPressed:T||U,pressProps:(0,m.v)(F,el,{[R]:!0})}}function P(e){return"A"===e.tagName&&e.hasAttribute("href")}function O(e,t){let{key:n,code:r}=e,i=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,a.mD)(t).HTMLInputElement&&!N(t,n)||t instanceof(0,a.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&P(t))&&"Enter"!==n)}function A(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function j(e,t){return e instanceof HTMLInputElement?!N(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!P(e))}let z=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:z.has(e.type)}},35176:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}},35303:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(34023),i=n(88018);let a=n(7217).Bt;var o=n(64441),s=n(49754),l=n(94799);let u=r.forwardRef(function(e,t){let[n,u]=r.useState();return(0,i.g)(()=>{a&&o.Fp&&u("button")},[]),(0,l.jsx)("span",{...e,ref:t,style:s.Q,"aria-hidden":!n||void 0,...{tabIndex:0,role:n},"data-base-ui-focus-guard":""})})},35358:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(34023),i=n(57936);let a=r.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:i.tE,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function o(){return r.useContext(a)}},35700:(e,t,n)=>{"use strict";n.d(t,{II:()=>d,cc:()=>u,v_:()=>l});var r=n(59492),i=n(87083),a=n(87836),o=n(21400);function s(e){return Math.min(1e3*2**e,3e4)}function l(e){return(e??"online")!=="online"||i.t.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function d(e){let t,n=!1,d=0,c=(0,a.T)(),f=()=>r.m.isFocused()&&("always"===e.networkMode||i.t.isOnline())&&e.canRun(),p=()=>l(e.networkMode)&&e.canRun(),h=e=>{"pending"===c.status&&(t?.(),c.resolve(e))},m=e=>{"pending"===c.status&&(t?.(),c.reject(e))},g=()=>new Promise(n=>{t=e=>{("pending"!==c.status||f())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===c.status&&e.onContinue?.()}),v=()=>{let t;if("pending"!==c.status)return;let r=0===d?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(h).catch(t=>{if("pending"!==c.status)return;let r=e.retry??3*!o.S$,i=e.retryDelay??s,a="function"==typeof i?i(d,t):i,l=!0===r||"number"==typeof r&&d<r||"function"==typeof r&&r(d,t);n||!l?m(t):(d++,e.onFail?.(d,t),(0,o.yy)(a).then(()=>f()?void 0:g()).then(()=>{n?m(t):v()}))})};return{promise:c,status:()=>c.status,cancel:t=>{if("pending"===c.status){let n=new u(t);m(n),e.onCancel?.(n)}},continue:()=>(t?.(),c),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:p,start:()=>(p()?v():g().then(v),c)}}},35821:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95778);function i(){let e,t,n;return{localeError:(e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"},i=>
22{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;return`Invalid input: expected ${e}, received ${a}`}case"invalid_value":if(1===i.values.length)return`Invalid input: expected ${r.stringifyPrimitive(i.values[0])}`;return`Invalid option: expected one of ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Too big: expected ${i.origin??"value"} to have ${t}${i.maximum.toString()} ${n.unit??"elements"}`;return`Too big: expected ${i.origin??"value"} to be ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Too small: expected ${i.origin} to have ${t}${i.minimum.toString()} ${n.unit}`;return`Too small: expected ${i.origin} to be ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Invalid string: must start with "${i.prefix}"`;if("ends_with"===i.format)return`Invalid string: must end with "${i.suffix}"`;if("includes"===i.format)return`Invalid string: must include "${i.includes}"`;if("regex"===i.format)return`Invalid string: must match pattern ${i.pattern}`;return`Invalid ${t[i.format]??i.format}`;case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`}})}}},35980:(e,t,n)=>{"use strict";n.d(t,{HH:()=>i,ZV:()=>r,dc:()=>o,mk:()=>a});let r={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},i={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},a={disabled:!1,...i},o={valid:e=>null===e?null:e?{"data-valid":""}:{"data-invalid":""}}},36339:(e,t,n)=>{"use strict";var r=n(34023),i=n(71289),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var c=s(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var p=o(e,(c=u(function(){function e(e){if(!l){if(l=!0,o=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,a(o,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(o=e,t):(o=e,s=n)}var o,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],c[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}},36599:(e,t,n)=>{"use strict";n.d(t,{S:()=>l});var r=n(34023),i=n(92796),a=n(56065),o=n(88018),s=n(20656);let l=r.forwardRef(function(e,t){var n;let l,{render:u,className:d,style:c,id:f,children:p,...h}=e,{id:m,children:g,type:v,setId:y}=function(e,t,n){let{toast:r,setTitleId:i,setDescriptionId:o}=(0,s.M)(),l=t??("title"===n?r.title:r.description);return{id:(0,a.B)(e),children:l,type:r.type,setId:"title"===n?i:o}}(f,p,"title");return n=(0,i.o)("h2",e,{ref:t,state:{type:v},props:{...h,id:m,children:g}}),l=r.isValidElement(n)&&function e(t){return null!=t&&"boolean"!=typeof t&&""!==t&&(!Array.isArray(t)||t.some(e))}(n.props.children),(0,o.g)(()=>{if(l)return y(m),()=>{y(e=>e===m?void 0:e)}},[l,m,y]),l?n:null})},37457:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var r=n(34023),i=n(50360),a=n(1075),o=n(95598);function s(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:l}=(0,a.G)(),{ref:u,index:d}=(0,o.q)(e),c=n===d,f=r.useRef(null),p=(0,i.a)(u,f);return{compositeProps:{tabIndex:c?0:-1,onFocus(){l(d)},onMouseMove(){let e=f.current;if(!t||!e)return;let n=e.hasAttribute("disabled")||"true"===e.ariaDisabled;c||n||e.focus()}},compositeRef:p,index:d}}},37487:(e,t,n)=>{"use strict";function r(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}n.d(t,{_:()=>r})},37750:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,Y:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(36));return t}},38137:()=>{},38437:e=>{var t;t=()=>(()=>{var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i={},a={default:()=>u,rawCountryData:()=>s};for(var o in a)e(i,o,{get:a[o],enumerable:!0});var s=[["af","93",0,null,"0"],["ax","358",1,["18","4"],"0"],["al","355",0,null,"0"],["dz","213",0,null,"0"],["as","1",5,["684"],"1"],["ad","376"],["ao","244"],["ai","1",6,["264"],"1"],["ag","1",7,["268"],"1"],["ar","54",0,null,"0"],["am","374",0,null,"0"],["aw","297"],["ac","247"],["au","61",0,["4"],"0"],["at","43",0,null,"0"],["az","994",0,null,"0"],["bs","1",8,["242"],"1"],["bh","973"],["bd","880",0,null,"0"],["bb","1",9,["246"],"1"],["by","375",0,null,"8"],["be","32",0,null,"0"],["bz","501"],["bj","229"],["bm","1",10,["441"],"1"],["bt","975"],["bo","591",0,null,"0"],["ba","387",0,null,"0"],["bw","267"],["br","55",0,null,"0"],["io","246"],["vg","1",11,["284"],"1"],["bn","673"],["bg","359",0,null,"0"],["bf","226"],["bi","257"],["kh","855",0,null,"0"],["cm","237"],["ca","1",1,["204","226","236","249","250","257","263","289","306","343","354","365","367","368","382","403","416","418","428","431","437","438","450","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905","942"],"1"],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"],"1"],["cf","236"],["td","235"],["cl","56"],["cn","86",0,null,"0"],["cx","61",2,["4","89164"],"0"],["cc","61",1,["4","89162"],"0"],["co","57",0,null,"0"],["km","269"],["cg","242"],["cd","243",0,null,"0"],["ck","682"],["cr","506"],["ci","225"],["hr","385",0,null,"0"],["cu","53",0,null,"0"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"],"1"],["do","1",2,["809","829","849"],"1"],["ec","593",0,null,"0"],["eg","20",0,null,"0"],["sv","503"],["gq","240"],["er","291",0,null,"0"],["ee","372"],["sz","268"],["et","251",0,null,"0"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0,["4"],"0"],["fr","33",0,null,"0"],["gf","594",0,null,"0"],["pf","689"],["ga","241"],["gm","220"],["ge","995",0,null,"0"],["de","49",0,null,"0"],["gh","233",0,null,"0"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"],"1"],["gp","590",0,null,"0"],["gu","1",15,["671"],"1"],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36",0,null,"06"],["is","354"],["in","91",0,null,"0"],["id","62",0,null,"0"],["ir","98",0,null,"0"],["iq","964",0,null,"0"],["ie","353",0,null,"0"],["im","44",2,["1624","74576","7524","7624","7924"],"0"],["il","972",0,null,"0"],["it","39",0,["3"]],["jm","1",4,["658","876"],"1"],["jp","81",0,null,"0"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962",0,null,"0"],["kz","7",1,["33","7"],"8"],["ke","254",0,null,"0"],["ki","686",0,null,"0"],["xk","383",0,null,"0"],["kw","965"],["kg","996",0,null,"0"],["la","856",0,null,"0"],["lv","371"],["lb","961",0,null,"0"],["ls","266"],["lr","231",0,null,"0"],["ly","218",0,null,"0"],["li","423",0,null,"0"],["lt","370",0,null,"0"],["lu","352"],["mo","853"],["mg","261",0,null,"0"],["mw","265",0,null,"0"],["my","60",0,null,"0"],["mv","960"],["ml","223"],["mt","356"],["mh","692",0,null,"1"],["mq","596",0,null,"0"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373",0,null,"0"],["mc","377",0,null,"0"],["mn","976",0,null,"0"],["me","382",0,null,"0"],["ms","1",16,["664"],"1"],["ma","212",0,["6","7"],"0"],["mz","258"],["mm","95",0,null,"0"],["na","264",0,null,"0"],["nr","674"],["np","977",0,null,"0"],["nl","31",0,null,"0"],["nc","687"],["nz","64",0,null,"0"],["ni","505"],["ne","227"],["ng","234",0,null,"0"],["nu","683"],["nf","672"],["kp","850",0,null,"0"],["mk","389",0,null,"0"],["mp","1",17,["670"],"1"],["no","47",0,["4","9"]],["om","968"],["pk","92",0,null,"0"],["pw","680"],["ps","970",0,null,"0"],["pa","507"],["pg","675"],["py","595",0,null,"0"],["pe","51",0,null,"0"],["ph","63",0,null,"0"],["pl","48"],["pt","351"],["pr","1",3,["787","939"],"1"],["qa","974"],["re","262",0,null,"0"],["ro","40",0,null,"0"],["ru","7",0,["33"],"8"],["rw","250",0,null,"0"],["ws","685"],["sm","378"],["st","239"],["sa","966",0,null,"0"],["sn","221"],["rs","381",0,null,"0"],["sc","248"],["sl","232",0,null,"0"],["sg","65"],["sx","1",21,["721"],"1"],["sk","421",0,null,"0"],["si","386",0,null,"0"],["sb","677"],["so","252",0,null,"0"],["za","27",0,null,"0"],["kr","82",0,null,"0"],["ss","211",0,null,"0"],["es","34"],["lk","94",0,null,"0"],["bl","590",1,null,"0"],["sh","290"],["kn","1",18,["869"],"1"],["lc","1",19,["758"],"1"],["mf","590",2,null,"0"],["pm","508",0,null,"0"],["vc","1",20,["784"],"1"],["sd","249",0,null,"0"],["sr","597"],["sj","47",1,["4","79","9"]],["se","46",0,null,"0"],["ch","41",0,null,"0"],["sy","963",0,null,"0"],["tw","886",0,null,"0"],["tj","992"],["tz","255",0,null,"0"],["th","66",0,null,"0"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"],"1"],["tn","216"],["tr","90",0,null,"0"],["tm","993",0,null,"8"],["tc","1",23,["649"],"1"],["tv","688"],["vi","1",24,["340"],"1"],["ug","256",0,null,"0"],["ua","380",0,null,"0"],["ae","971",0,null,"0"],["gb","44",0,null,"0"],["us","1",0,null,"1"],["uy","598",0,null,"0"],["uz","998"],["vu","678"],["va","39",1,["06698","3"]],["ve","58",0,null,"0"],["vn","84",0,null,"0"],["wf","681"],["eh","212",1,["5288","5289","6","7"],"0"],["ye","967",0,null,"0"],["zm","260",0,null,"0"],["zw","263",0,null,"0"]],l=[];for(let e of s)l.push({name:"",iso2:e[0],dialCode:e[1],priority:e[2]||0,areaCodes:e[3]||null,
22nodeById:{},nationalPrefix:e[4]||null,normalisedName:"",initials:"",dialCodePlus:""});var u=l;return((i,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of n(a))r.call(i,l)||l===o||e(i,l,{get:()=>a[l],enumerable:!(s=t(a,l))||s.enumerable});return i})(e({},"__esModule",{value:!0}),i)})().default,e.exports?e.exports=t():window.allCountries=t()},39416:(e,t,n)=>{"use strict";n.d(t,{LE:()=>f,eg:()=>l,lR:()=>c,o1:()=>u,yB:()=>d});var r=n(2713),i=n(52139),a=n(92030),o=n(74052),s=n(34023);function l(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function u(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function d(e){let t=(0,s.useRef)({isFocused:!1,observer:null});return(0,r.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,s.useCallback)(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target;r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=l(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let c=!1;function f(e){for(;e&&!(0,i.t)(e);)e=e.parentElement;let t=(0,a.mD)(e),n=t.document.activeElement;if(!n||n===e)return;c=!0;let r=!1,s=e=>{(e.target===n||r)&&e.stopImmediatePropagation()},l=t=>{(t.target===n||r)&&(t.stopImmediatePropagation(),e||r||(r=!0,(0,o.e)(n),f()))},u=t=>{(t.target===e||r)&&t.stopImmediatePropagation()},d=t=>{(t.target===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,(0,o.e)(n),f()))};t.addEventListener("blur",s,!0),t.addEventListener("focusout",l,!0),t.addEventListener("focusin",d,!0),t.addEventListener("focus",u,!0);let f=()=>{cancelAnimationFrame(p),t.removeEventListener("blur",s,!0),t.removeEventListener("focusout",l,!0),t.removeEventListener("focusin",d,!0),t.removeEventListener("focus",u,!0),c=!1,r=!1},p=requestAnimationFrame(f);return f}},39595:(e,t,n)=>{"use strict";n.d(t,{m:()=>x});var r,i={};i={"ar-AE":{rangeOverflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.maxValue} \u{623}\u{648} \u{642}\u{628}\u{644} \u{630}\u{644}\u{643}.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.minValue} \u{623}\u{648} \u{628}\u{639}\u{62F} \u{630}\u{644}\u{643}.`,unavailableDate:"البيانات المحددة غير متاحة."},"bg-BG":{rangeOverflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.maxValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{440}\u{430}\u{43D}\u{43D}\u{430}.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.minValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{43A}\u{44A}\u{441}\u{43D}\u{43E}.`,unavailableDate:"Избраната дата не е налична."},"cs-CZ":{rangeOverflow:e=>`Hodnota mus\xed b\xfdt ${e.maxValue} nebo d\u{159}\xedv\u{11B}j\u{161}\xed.`,rangeReversed:"Datum zah\xe1jen\xed mus\xed předch\xe1zet datu ukončen\xed.",rangeUnderflow:e=>`Hodnota mus\xed b\xfdt ${e.minValue} nebo pozd\u{11B}j\u{161}\xed.`,unavailableDate:"Vybran\xe9 datum nen\xed k dispozici."},"da-DK":{rangeOverflow:e=>`V\xe6rdien skal v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xe6re f\xf8r slutdatoen.",rangeUnderflow:e=>`V\xe6rdien skal v\xe6re ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xe6ngelig."},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xfcher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xe4ter sein.`,unavailableDate:"Das ausgew\xe4hlte Datum ist nicht verf\xfcgbar."},"el-GR":{rangeOverflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.maxValue} \u{3AE} \u{3C0}\u{3B1}\u{3BB}\u{3B1}\u{3B9}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.minValue} \u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3B3}\u{3B5}\u{3BD}\u{3AD}\u{3C3}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xf3n.",rangeUnderflow:e=>`El valor debe ser ${e.minValue}
22 o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`V\xe4\xe4rtus peab olema ${e.maxValue} v\xf5i varasem.`,rangeReversed:"Alguskuup\xe4ev peab olema enne l\xf5ppkuup\xe4eva.",rangeUnderflow:e=>`V\xe4\xe4rtus peab olema ${e.minValue} v\xf5i hilisem.`,unavailableDate:"Valitud kuup\xe4ev pole saadaval."},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xe4 aikaisempi.`,rangeReversed:"Aloitusp\xe4iv\xe4n on oltava ennen lopetusp\xe4iv\xe4\xe4.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xe4 my\xf6h\xe4isempi.`,unavailableDate:"Valittu p\xe4iv\xe4m\xe4\xe4r\xe4 ei ole k\xe4ytett\xe4viss\xe4."},"fr-FR":{rangeOverflow:e=>`La valeur doit \xeatre ${e.maxValue} ou ant\xe9rieure.`,rangeReversed:"La date de d\xe9but doit \xeatre ant\xe9rieure \xe0 la date de fin.",rangeUnderflow:e=>`La valeur doit \xeatre ${e.minValue} ou ult\xe9rieure.`,unavailableDate:"La date s\xe9lectionn\xe9e n’est pas disponible."},"he-IL":{rangeOverflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.maxValue} \u{5D0}\u{5D5} \u{5DE}\u{5D5}\u{5E7}\u{5D3}\u{5DD} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.minValue} \u{5D0}\u{5D5} \u{5DE}\u{5D0}\u{5D5}\u{5D7}\u{5E8} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,unavailableDate:"התאריך הנבחר אינו זמין."},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az \xe9rt\xe9knek ${e.maxValue} vagy kor\xe1bbinak kell lennie.`,rangeReversed:"A kezdő d\xe1tumnak a befejező d\xe1tumn\xe1l kor\xe1bbinak kell lennie.",rangeUnderflow:e=>`Az \xe9rt\xe9knek ${e.minValue} vagy k\xe9s\u{151}bbinek kell lennie.`,unavailableDate:"A kiv\xe1lasztott d\xe1tum nem \xe9rhető el."},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`\u{5024}\u{306F} ${e.maxValue} \u{4EE5}\u{4E0B}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`\u{5024}\u{306F} ${e.minValue} \u{4EE5}\u{4E0A}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,unavailableDate:"選択した日付は使用できません。"},"ko-KR":{rangeOverflow:e=>`\u{AC12}\u{C740} ${e.maxValue} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`\u{AC12}\u{C740} ${e.minValue} \u{C774}\u{D6C4}\u{C5EC}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."},"lt-LT":{rangeOverflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.maxValue} arba ankstesn\u{117}.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.minValue} arba naujesn\u{117}.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.maxValue} vai agr\u{101}kai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.minValue} vai v\u{113}l\u{101}kai.`,unavailableDate:"Atlasītais datums nav pieejams."},"nb-NO":{rangeOverflow:e=>`Verdien m\xe5 v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xe5 v\xe6re f\xf8r sluttdatoen.",rangeUnderflow:e=>`Verdien m\xe5 v\xe6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.maxValue} lub wcze\u{15B}niejsz\u{105}.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.minValue} lub p\xf3\u{17A}niejsz\u{105}.`,unavailableDate:"Wybrana data jest niedostępna."},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior \xe0 data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xedvel."},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de in\xedcio deve ser anterior \xe0 data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xedvel."},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie s\u{103} fie ${e.maxValue} sau anterioar\u{103}.`,rangeReversed:"Data de \xeenceput trebuie să fie anterioară datei de sf\xe2rșit.",rangeUnderflow:e=>`Valoarea trebuie s\u{103} fie ${e.minValue} sau ulterioar\u{103}.`,unavailableDate:"Data selectată nu este disponibilă."},"ru-RU":{rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{43F}\u{43E}\u{437}\u{436}\u{435} ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{44C}\u{448}\u{435} ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."},"sk-SK":{rangeOverflow:e=>`Hodnota mus\xed by\u{165} ${e.maxValue} alebo skor\u{161}ia.`,rangeReversed:"D\xe1tum začiatku mus\xed byť skorš\xed ako d\xe1tum konca.",rangeUnderflow:e=>`Hodnota mus\xed by\u{165} ${e.minValue} alebo neskor\u{161}ia.`,unavailableDate:"Vybrat\xfd d\xe1tum je nedostupn\xfd."},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u{161}a.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u{161}a.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`V\xe4rdet m\xe5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xe5ste vara f\xf6re slutdatumet.",rangeUnderflow:e=>`V\xe4rdet m\xe5ste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet \xe4r inte tillg\xe4ngligt."},"tr-TR":{rangeOverflow:e=>`De\u{11F}er, ${e.maxValue} veya \xf6ncesi olmal\u{131}d\u{131}r.`,rangeReversed:"Başlangı\xe7 tarihi bitiş tarihinden \xf6nce olmalıdır.",rangeUnderflow:e=>`De\u{11F}er, ${e.minValue} veya sonras\u{131} olmal\u{131}d\u{131}r.`,unavailableDate:"Se\xe7ilen tarih kullanılamıyor."},"uk-UA":{rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{43F}\u{456}\u{437}\u{43D}\u{456}\u{448}\u{435} ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{456}\u{448}\u{435} ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."},"zh-CN":{rangeOverflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{65E5}\u{671F}\u{3002}`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{65E5}\u{671F}\u{3002}`,unavailableDate:"所选日期不可用。"},"zh-TW":{rangeOverflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{3002}`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{3002}`,unavailableDate:"所選日期無法使用。"}};var a=n(40625),o=n(74761),s=n(23614),l=n(45778),u=n(75270),d=n(34023);let c=new(0,s.B)((r=i)&&r.__esModule?r.default:r);function f(){let e="u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return e}function p(e,t,n,r,i){let o=null!=e&&null!=n&&e.compare(n)>0,u=null!=e&&null!=t&&0>e.compare(t),d=null!=e&&(null==r?void 0:r(e))||!1,p=o||u||d,h=[];if(p){let e=f(),r=s.B.getGlobalDictionaryForPackage("@react-stately/datepicker")||c,p=new(0,l.J)(e,r),m=new(0,a.p)(e,g({},i)),v=m.resolvedOptions().timeZone;u&&null!=t&&h.push(p.format("rangeUnderflow",{minValue:m.format(t.toDate(v))})),o&&null!=n&&h.push(p.format("rangeOverflow",{maxValue:m.format(n.toDate(v))})),d&&h.push(p.format("unavailableDate"))}
22return{isInvalid:p,validationErrors:h,validationDetails:{badInput:d,customError:!1,patternMismatch:!1,rangeOverflow:o,rangeUnderflow:u,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!p}}}let h={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},m={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function g(e,t){var n;e={...t.shouldForceLeadingZeros?m:h,...e};let r=t.granularity||"minute",i=Object.keys(e),a=i.indexOf(null!=(n=t.maxGranularity)?n:"year");a<0&&(a=0);let o=i.indexOf(r);if(o<0&&(o=2),a>o)throw Error("maxGranularity must be greater than granularity");let s=i.slice(a,o+1).reduce((t,n)=>(t[n]=e[n],t),{});return null!=t.hourCycle&&(s.hour12=12===t.hourCycle),s.timeZone=t.timeZone||"UTC",("hour"===r||"minute"===r||"second"===r)&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&0===a&&(s.era="short"),s}function v(e){return e&&"hour"in e?e:new(0,o.gX)}var y=n(19780),b=n(15720);function x(e){var t,n,r,i;let o=function(e){let[t,n]=(0,b.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),r=(0,d.useCallback)(()=>{n(!0)},[n]),i=(0,d.useCallback)(()=>{n(!1)},[n]),a=(0,d.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:i,toggle:a}}(e),[l,h]=(0,b.P)(e.value,e.defaultValue||null,e.onChange),[m]=(0,d.useState)(l),[x,S]=(0,d.useState)(()=>l||{start:null,end:null});null==l&&x.start&&x.end&&S(x={start:null,end:null});let k=l||x,E=e=>{S(k=e||{start:null,end:null}),w(k)?h(k):h(null)},[$,_]=function(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=(0,d.useState)([r,n]);return e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||(t=e?r:i[0]),[t,e?n:i[1]]}((null==k?void 0:k.start)||(null==k?void 0:k.end)||e.placeholderValue||null,e.granularity),C="hour"===$||"minute"===$||"second"===$,D=null==(r=e.shouldCloseOnSelect)||r,[I,R]=(0,d.useState)(null),[T,P]=(0,d.useState)(null);k&&w(k)&&(I=k,"hour"in k.start&&(T=k));let O=(e,t)=>{E({start:"timeZone"in t.start?t.start.set((0,y.gw)(e.start)):(0,y.tR)(e.start,t.start),end:"timeZone"in t.end?t.end.set((0,y.gw)(e.end)):(0,y.tR)(e.end,t.end)}),R(null),P(null),B.commitValidation()},A=t=>{let n="function"==typeof D?D():D;C?w(t)&&(n||(null==T?void 0:T.start)&&(null==T?void 0:T.end))?O(t,{start:(null==T?void 0:T.start)||v(e.placeholderValue),end:(null==T?void 0:T.end)||v(e.placeholderValue)}):R(t):w(t)?(E(t),B.commitValidation()):R(t),n&&o.setOpen(!1)},j=e=>{w(I)&&w(e)?O(I,e):P(e)},z=(null==k||null==(t=k.start)?void 0:t.calendar.identifier)==="gregory"&&"BC"===k.start.era||(null==k||null==(n=k.end)?void 0:n.calendar.identifier)==="gregory"&&"BC"===k.end.era,N=(0,d.useMemo)(()=>({granularity:$,timeZone:_,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:z}),[$,e.hourCycle,e.shouldForceLeadingZeros,_,e.hideTimeZone,z]),{minValue:M,maxValue:L,isDateUnavailable:F}=e,U=(0,d.useMemo)(()=>(function(e,t,n,r,i){var a,o;let l=p(null!=(a=null==e?void 0:e.start)?a:null,t,n,r,i),d=p(null!=(o=null==e?void 0:e.end)?o:null,t,n,r,i),h=(0,u.cX)(l,d);if((null==e?void 0:e.end)!=null&&null!=e.start&&0>e.end.compare(e.start)){let e=s.B.getGlobalDictionaryForPackage("@react-stately/datepicker")||c;h=(0,u.cX)(h,{isInvalid:!0,validationErrors:[e.getStringForLocale("rangeReversed",f())],validationDetails:{...u.oE,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return h})(k,M,L,F,N),[k,M,L,F,N]),B=(0,u.KZ)({...e,value:l,name:(0,d.useMemo)(()=>[e.startName,e.endName].filter(e=>null!=e),[e.startName,e.endName]),builtinValidation:U}),V=B.displayValidation.isInvalid,Z=e.validationState||(V?"invalid":null);return{...B,value:k,defaultValue:null!=(i=e.defaultValue)?i:m,setValue:E,dateRange:I,timeRange:T,granularity:$,hasTime:C,setDate(e,t){var n,r;"start"===e?A({start:t,end:null!=(n=null==I?void 0:I.end)?n:null}):A({start:null!=(r=null==I?void 0:I.start)?r:null,end:t})},setTime(e,t){var n,r;"start"===e?j({start:t,end:null!=(n=null==T?void 0:T.end)?n:null}):j({start:null!=(r=null==T?void 0:T.start)?r:null,end:t})},setDateTime(e,t){var n,r;"start"===e?E({start:t,end:null!=(n=null==k?void 0:k.end)?n:null}):E({start:null!=(r=null==k?void 0:k.start)?r:null,end:t})},setDateRange:A,setTimeRange:j,...o,setOpen(t){!t&&!((null==k?void 0:k.start)&&(null==k?void 0:k.end))&&w(I)&&C&&O(I,{start:(null==T?void 0:T.start)||v(e.placeholderValue),end:(null==T?void 0:T.end)||v(e.placeholderValue)}),o.setOpen(t)},validationState:Z,isInvalid:V,formatValue(t,n){let r;if(!k||!k.start||!k.end)return null;let i="timeZone"in k.start?k.start.timeZone:void 0,o=e.granularity||(k.start&&"minute"in k.start?"minute":"day"),s="timeZone"in k.end?k.end.timeZone:void 0,l=e.granularity||(k.end&&"minute"in k.end?"minute":"day"),u=g(n,{granularity:o,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:"gregory"===k.start.calendar.identifier&&"BC"===k.start.era||"gregory"===k.end.calendar.identifier&&"BC"===k.end.era}),d=k.start.toDate(i||"UTC"),c=k.end.toDate(s||"UTC"),f=new(0,a.p)(t,u);if(i===s&&o===l&&0!==k.start.compare(k.end)){try{let e=f.formatRangeToParts(d,c),t=-1;for(let n=0;n<e.length;n++){let r=e[n];
22if("shared"===r.source&&"literal"===r.type)t=n;else if("endRange"===r.source)break}let n="",r="";for(let i=0;i<e.length;i++)i<t?n+=e[i].value:i>t&&(r+=e[i].value);return{start:n,end:r}}catch{}r=f}else{let i=g(n,{granularity:l,timeZone:s,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});r=new(0,a.p)(t,i)}return{start:f.format(d),end:r.format(c)}},getDateFormatter(e,t){let n=g({},{...N,...t});return new(0,a.p)(e,n)}}}function w(e){return(null==e?void 0:e.start)!=null&&null!=e.end}},39739:(e,t,n)=>{"use strict";n.d(t,{hO:()=>l,sG:()=>s});var r=n(34023),i=n(56742),a=n(89360),o=n(94799),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,a.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?n:t,{...a,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},39993:(e,t,n)=>{"use strict";let r,i,a,o,s,l;n.d(t,{jG:()=>d});var u=n(44821).Zq,d=(r=[],i=0,a=e=>{e()},o=e=>{e()},s=u,{batch:e=>{let t;i++;try{t=e()}finally{let e;--i||(e=r,r=[],e.length&&s(()=>{o(()=>{e.forEach(e=>{a(e)})})}))}return t},batchCalls:e=>(...t)=>{l(()=>{e(...t)})},schedule:l=e=>{i?r.push(e):s(()=>{a(e)})},setNotifyFunction:e=>{a=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{s=e}})},40109:(e,t,n)=>{"use strict";n.d(t,{$B:()=>s,L6:()=>d,Xb:()=>o,jr:()=>u,ln:()=>l});var r=n(84505),i=n(31262),a=n(26594);function o(e){let t=(0,r.P)(e,a.T.mounted),n=(0,r.P)(e,a.T.popupSide),i=(0,r.P)(e,a.T.positionerElement);return t&&i?n:null}function s(){return 0===(0,i.Dc)().filteredItems.length}function l(e){return"rtl"===e?["ArrowRight","ArrowLeft"]:["ArrowLeft","ArrowRight"]}function u(e,t){let n=e>=t-1?t-2:e;return n>=0?n:void 0}function d(e,t,n){let r=e.state.listRef.current[t];r&&(e.state.selectionEventRef.current=n,r.click(),e.state.selectionEventRef.current=null)}},40625:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});let r=new Map;class i{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} \u{2013} ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==l&&(l="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),l&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let n=o(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===r&&23===i)return"h23";if(24===r&&23===i)return"h24";if(0===r&&11===i)return"h11";if(12===r&&11===i)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=o(e,t),this.options=t}}let a={true:{ja:"h11"},false:{}};function o(e,t={}){if("boolean"==typeof t.hour12&&(null==s&&(s="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),s)){let n=a[String((t={...t}).hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=null!=n?n:r,delete t.hour12}let n=e+(t?Object.entries(t).sort((e,t)=>
22e[0]<t[0]?-1:1).join():"");if(r.has(n))return r.get(n);let i=new Intl.DateTimeFormat(e,t);return r.set(n,i),i}let s=null,l=null},41118:(e,t,n)=>{"use strict";n.d(t,{GW:()=>f,LM:()=>p,jL:()=>c,qV:()=>d});var r,i=n(96094);(r={}).open="data-open",r.closed="data-closed",r[r.startingStyle=i.T.startingStyle]="startingStyle",r[r.endingStyle=i.T.endingStyle]="endingStyle",r.anchorHidden="data-anchor-hidden",r.side="data-side",r.align="data-align";let a={"data-popup-open":""},o={"data-popup-open":"","data-pressed":""},s={"data-open":""},l={"data-closed":""},u={"data-anchor-hidden":""},d={open:e=>e?a:null},c={open:e=>e?o:null},f={open:e=>e?s:l,anchorHidden:e=>e?u:null},p={...f,...i.G}},41566:(e,t,n)=>{"use strict";function r(e){return null==e?void 0:`${e}-popup`}function i(e,t){return(n,r)=>null!=n&&e.contains(n,r,t)}n.d(t,{I2:()=>i,xj:()=>r})},41731:(e,t,n)=>{"use strict";n.d(t,{V:()=>u});var r=n(34023),i=n(84505),a=n(55240),o=n(76786),s=n(28655),l=n(94799);let u=r.forwardRef(function(e,t){let{store:n}=(0,o.l)(),r=(0,i.P)(n,s.T.mounted),u=(0,i.P)(n,s.T.forceMount);return r||u?(0,l.jsx)(a.XF,{ref:t,...e}):null})},42800:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(81360);function i(e){return(0,r._)(19)?e:e?"true":void 0}},42888:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>u});var r=new WeakMap,i=new WeakMap,a={},o=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,n,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=s(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var d=a[n],c=[],f=new Set,p=new Set(u),h=function(e){!e||f.has(e)||(f.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(l),a=null!==t&&"false"!==t,o=(r.get(e)||0)+1,s=(d.get(e)||0)+1;r.set(e,o),d.set(e,s),c.push(e),1===o&&a&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),a||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),o++,function(){c.forEach(function(e){var t=r.get(e)-1,a=d.get(e)-1;r.set(e,t),d.set(e,a),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),a||e.removeAttribute(n)}),--o||(r=new WeakMap,r=new WeakMap,i=new WeakMap,a={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),l(r,i,n,"aria-hidden")):function(){return null}}},43111:(e,t,n)=>{"use strict";n.d(t,{$:()=>d});var r=n(59492),i=n(39993),a=n(70073),o=n(20821),s=n(87836),l=n(21400),u=n(44821),d=class extends o.Q{constructor(e,t){super(),this.options=t,this.#t=e,this.#n=null,this.#r=(0,s.T)(),this.bindMethods(),this.setOptions(t)}#t;#i=void 0;#a=void 0;#o=void 0;#s;#l;#r;#n;#u;#d;#c;#f;#p;#h;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#i.addObserver(this),c(this.#i,this.options)?this.#g():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#i,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#i,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#b(),this.#i.removeObserver(this)}setOptions(e){let t=this.options,n=this.#i;if(this.options=this.#t.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,l.Eh)(this.options.enabled,this.#i))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#x(),this.#i.setOptions(this.options),t._defaulted&&!(0,l.f8)(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#i,observer:this});let r=this.hasListeners();r&&p(this.#i,n,this.options,t)&&this.#g(),this.updateResult(),r&&(this.#i!==n||(0,l.Eh)(this.options.enabled,this.#i)!==(0,l.Eh)(t.enabled,this.#i)||(0,l.d2)(this.options.staleTime,this.#i)!==(0,l.d2)(t.staleTime,this.#i))&&this.#w();let i=this.#S();r&&(this.#i!==n||(0,l.Eh)(this.options.enabled,this.#i)!==(0,l.Eh)(t.enabled,this.#i)||i!==this.#h)&&this.#k(i)}getOptimisticResult(e){var t,n;let r=this.#t.getQueryCache().build(this.#t,e),i=this.createResult(r,e);return t=this,n=i,(0,l.f8)(t.getCurrentResult(),n)||(this.#o=i,this.#l=this.options,this.#s=this.#i.state),i}getCurrentResult(){return this.#o}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#r.status||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#i}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#g({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#g(e){this.#x();let t=this.#i.fetch(this.options,e);return e?.throwOnError||(t=t.catch(l.lQ)),t}#w(){this.#y();let e=(0,l.d2)(this.options.staleTime,this.#i);if(l.S$||this.#o.isStale||!(0,l.gn)(e))return;let t=(0,l.j3)(this.#o.dataUpdatedAt,e);this.#f=u.zs.setTimeout(()=>{this.#o.isStale||this.updateResult()},t+1)}#S(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#i):this.options.refetchInterval)??!1}#k(e){this.#b(),this.#h=e,!l.S$&&!1!==(0,l.Eh)(this.options.enabled,this.#i)&&(0,l.gn)(this.#h)&&0!==this.#h&&(this.#p=u.zs.setInterval(()=>
22{(this.options.refetchIntervalInBackground||r.m.isFocused())&&this.#g()},this.#h))}#v(){this.#w(),this.#k(this.#S())}#y(){this.#f&&(u.zs.clearTimeout(this.#f),this.#f=void 0)}#b(){this.#p&&(u.zs.clearInterval(this.#p),this.#p=void 0)}createResult(e,t){let n,r=this.#i,i=this.options,o=this.#o,u=this.#s,d=this.#l,f=e!==r?e.state:this.#a,{state:m}=e,g={...m},v=!1;if(t._optimisticResults){let n=this.hasListeners(),o=!n&&c(e,t),s=n&&p(e,r,t,i);(o||s)&&(g={...g,...(0,a.k)(m.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:y,errorUpdatedAt:b,status:x}=g;n=g.data;let w=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===x){let e;o?.isPlaceholderData&&t.placeholderData===d?.placeholderData?(e=o.data,w=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(x="success",n=(0,l.pl)(o?.data,e,t),v=!0)}if(t.select&&void 0!==n&&!w)if(o&&n===u?.data&&t.select===this.#u)n=this.#d;else try{this.#u=t.select,n=t.select(n),n=(0,l.pl)(o?.data,n,t),this.#d=n,this.#n=null}catch(e){this.#n=e}this.#n&&(y=this.#n,n=this.#d,b=Date.now(),x="error");let S="fetching"===g.fetchStatus,k="pending"===x,E="error"===x,$=k&&S,_=void 0!==n,C={status:x,fetchStatus:g.fetchStatus,isPending:k,isSuccess:"success"===x,isError:E,isInitialLoading:$,isLoading:$,data:n,dataUpdatedAt:g.dataUpdatedAt,error:y,errorUpdatedAt:b,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:S,isRefetching:S&&!k,isLoadingError:E&&!_,isPaused:"paused"===g.fetchStatus,isPlaceholderData:v,isRefetchError:E&&_,isStale:h(e,t),refetch:this.refetch,promise:this.#r,isEnabled:!1!==(0,l.Eh)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==C.data,n="error"===C.status&&!t,i=e=>{n?e.reject(C.error):t&&e.resolve(C.data)},a=()=>{i(this.#r=C.promise=(0,s.T)())},o=this.#r;switch(o.status){case"pending":e.queryHash===r.queryHash&&i(o);break;case"fulfilled":(n||C.data!==o.value)&&a();break;case"rejected":n&&C.error===o.reason||a()}}return C}updateResult(){let e=this.#o,t=this.createResult(this.#i,this.options);if(this.#s=this.#i.state,this.#l=this.options,void 0!==this.#s.data&&(this.#c=this.#i),(0,l.f8)(t,e))return;this.#o=t;let n=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add("error"),Object.keys(this.#o).some(t=>this.#o[t]!==e[t]&&r.has(t))};this.#E({listeners:n()})}#x(){let e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#i)return;let t=this.#i;this.#i=e,this.#a=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#E(e){i.jG.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#o)}),this.#t.getQueryCache().notify({query:this.#i,type:"observerResultsUpdated"})})}};function c(e,t){return!1!==(0,l.Eh)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&f(e,t,t.refetchOnMount)}function f(e,t,n){if(!1!==(0,l.Eh)(t.enabled,e)&&"static"!==(0,l.d2)(t.staleTime,e)){let r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&h(e,t)}return!1}function p(e,t,n,r){return(e!==t||!1===(0,l.Eh)(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&h(e,n)}function h(e,t){return!1!==(0,l.Eh)(t.enabled,e)&&e.isStaleByTime((0,l.d2)(t.staleTime,e))}},43407:(e,t,n)=>{"use strict";n.d(t,{g:()=>d});var r=n(3831),i=n(2049),a=n(34023),o=n(47273),s=n(23416),l=n(19758),u=n(17597);function d(e,t){let{startDate:n=t.visibleRange.start,endDate:d=t.visibleRange.end,firstDayOfWeek:c}=e,{direction:f}=(0,l.Y)(),p=(0,r.ZR)(n,d,t.timeZone,!0),{ariaLabel:h,ariaLabelledBy:m}=r.OX.get(t),g=(0,o.b)({"aria-label":[h,p].filter(Boolean).join(", "),"aria-labelledby":m}),v=(0,u.i)({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:y}=(0,l.Y)(),b=(0,a.useMemo)(()=>{let e=(0,i.kq)((0,i.Ec)(t.timeZone),y,c);return[...Array(7).keys()].map(n=>{let r=e.add({days:n}).toDate(t.timeZone);return v.format(r)})},[y,t.timeZone,v,c]),x=(0,i.RZ)(n,y,c);return{gridProps:(0,s.v)(g,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:e=>{switch(e.key){case"Enter":case" ":e.preventDefault(),t.selectFocusedDate();break;case"PageUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousSection(e.shiftKey);break;case"PageDown":e.preventDefault(),e.stopPropagation(),t.focusNextSection(e.shiftKey);break;case"End":e.preventDefault(),e.stopPropagation(),t.focusSectionEnd();break;case"Home":e.preventDefault(),e.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===f?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===f?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(e.preventDefault(),t.setAnchorDate(null))}},onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:b,weeksInMonth:x}}}
22,43502:(e,t,n)=>{"use strict";n.d(t,{bL:()=>m});var r=n(34023),i=n.t(r,2);n(56742);var a=n(34233),o=n(94799),s=Symbol.for("react.lazy"),l=i[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=Symbol("radix.slottable");function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var n,i;let s,d,f,p=(i=n=`Primitive.${t}`,(s=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(u(n)&&"function"==typeof l&&(n=l(n._payload)),r.isValidElement(n)){var o;let e,s,l=(o=n,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,a.t)(t,l):l),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${i}.SlotClone`,d=s,(f=r.forwardRef((e,t)=>{let{children:n,...i}=e;u(n)&&"function"==typeof l&&(n=l(n._payload));let a=r.Children.toArray(n),s=a.find(c);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(d,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,o.jsx)(d,{...i,ref:t,children:n})})).displayName=`${n}.Slot`,f),h=r.forwardRef((e,n)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?p:t,{...i,ref:n})});return h.displayName=`Primitive.${t}`,{...e,[t]:h}},{}),p=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),h=r.forwardRef((e,t)=>(0,o.jsx)(f.span,{...e,ref:t,style:{...p,...e.style}}));h.displayName="VisuallyHidden";var m=h},44047:(e,t,n)=>{"use strict";n.d(t,{b:()=>E});var r=n(34023),i=n(78638),a=n(30417),o=n(96820),s=n(84505),l=n(76786),u=n(9785),d=n(81646),c=n(41118),f=n(35980),p=n(92796),h=n(28655),m=n(54302),g=n(62165),v=n(79342),y=n(66431),b=n(69045),x=n(8551),w=n(78337),S=n(13327);let k={...c.jL,...f.dc,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},E=r.forwardRef(function(e,t){let{render:n,className:c,id:f,disabled:E=!1,nativeButton:$=!0,style:_,...C}=e,{setTouched:D,setFocused:I,validationMode:R,state:T,disabled:P}=(0,u.V$)(),{labelId:O}=(0,d.H)(),{store:A,setOpen:j,selectionRef:z,validation:N,readOnly:M,required:L,alignItemWithTriggerActiveRef:F,disabled:U}=(0,l.l)(),B=P||U||E,V=(0,s.P)(A,h.T.open),Z=(0,s.P)(A,h.T.mounted),K=(0,s.P)(A,h.T.value),q=(0,s.P)(A,h.T.triggerProps),W=(0,s.P)(A,h.T.positionerElement),G=(0,s.P)(A,h.T.listElement),H=(0,s.P)(A,h.T.popupSide),J=(0,s.P)(A,h.T.id),Y=(0,s.P)(A,h.T.labelId),X=(0,s.P)(A,h.T.hasSelectedValue),Q=Z&&W?H:null,ee=f??J;(0,S.l)({id:ee});let et=(0,o.u)(W),en=r.useRef(null),{getButtonProps:er,buttonRef:ei}=(0,b.s)({disabled:B,native:$}),ea=A.useStateSetter("triggerElement"),eo=(0,a.Z)(),es=(0,a.Z)(),el=(0,a.Z)();r.useEffect(()=>{if(V)return el.start(400,()=>{z.current.allowUnselectedMouseUp=!0,z.current.allowSelectedMouseUp=!0}),()=>{el.clear()};z.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},es.clear()},[V,z,es,el]);let eu=(0,y.v6)(q,{id:ee,role:"combobox","aria-expanded":V,"aria-haspopup":"listbox","aria-controls":V?G?.id??(0,g.nd)(W)?.id:void 0,"aria-labelledby":O??Y,"aria-readonly":M||void 0,"aria-required":L||void 0,tabIndex:B?-1:0,onFocus(e){I(!0),V&&F.current&&j(!1,(0,x.d)(w.dv,e.nativeEvent)),eo.start(0,()=>{A.set("forceMount",!0)})},onBlur(e){(0,v.gR)(W,e.relatedTarget)||(D(!0),I(!1),"onBlur"===R&&N.commit(K))},onMouseDown(e){if(V)return;let t=(0,i.R)(e.currentTarget);function n(e){if(!en.current)return;let t=e.target;(0,v.gR)(en.current,t)||(0,v.gR)(et.current,t)||(0,m.U)(e,en.current)||j(!1,(0,x.d)(w.LO,e))}es.start(0,()=>{t.addEventListener("mouseup",n,{once:!0})})}},C,er),ed=N.getValidationProps(B,eu);ed.role="combobox";let ec={...T,open:V,disabled:B,value:K,readOnly:M,popupSide:Q,placeholder:!X};return(0,p.o)("button",e,{ref:[t,en,ei,ea],state:ec,stateAttributesMapping:k,props:ed})})},44619:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(18075);class i{nodesRef={current:[]};events=(0,r.d)();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);-1!==t&&this.nodesRef.current.splice(t,1)}}},44675:(e,t,n)=>{"use strict";n.d(t,{e:()=>v});var r=n(34023),i=n(88018),a=n(84505),o=n(76786),s=n(95598),l=n(92796);let u=r.createContext(void 0);var d=n(28655),c=n(69045),f=n(8551),p=n(78337),h=n(79141),m=n(97057),g=n(94799);let v=r.memo(r.forwardRef(function(e,t){let{render:n,className:v,style:y,value:b=null,label:x,disabled:w=!1,nativeButton:S=!1,...k}
22=e,E=r.useRef(null),$=(0,s.q)({guess:!0,label:x,textRef:E}),{store:_,itemProps:C,setOpen:D,setValue:I,selectionRef:R,typingRef:T,valuesRef:P,multiple:O,selectedItemTextRef:A,disabled:j,readOnly:z}=(0,o.l)(),N=j||w,M=(0,a.P)(_,d.T.isActive,$.index),L=(0,a.P)(_,d.T.open),F=(0,a.P)(_,d.T.isSelected,b),U=(0,a.P)(_,d.T.isSelectedByFocus,$.index),B=(0,a.P)(_,d.T.isItemEqualToValue),V=$.index,Z=r.useRef(null);(0,i.g)(()=>{let e=P.current;return e[V]=b,()=>{delete e[V]}},[V,b,P]),(0,i.g)(()=>{let e=_.state.value,t=e;O&&Array.isArray(e)&&(t=e.length>0?e[e.length-1]:void 0),void 0!==t&&(0,h.tl)(b,t,B)&&(_.set("selectedIndex",V),E.current&&(A.current=E.current))},[V,O,B,_,b,A]);let K=r.useRef("mouse"),q=r.useRef(!1),{getButtonProps:W,buttonRef:G}=(0,c.s)({disabled:N,focusableWhenDisabled:!0,native:S,composite:!0});function H(){R.current.dragY=0}let J=(0,l.o)("div",e,{ref:[G,t,$.ref,Z],state:{disabled:N,selected:F,highlighted:M},props:[C,{role:"option","aria-selected":F,tabIndex:L&&M?0:-1,onKeyDown(e){_.set("activeIndex",V)," "===e.key&&T.current&&e.preventDefault()},onClick(e){let t="touch"!==K.current,n=e.nativeEvent.pointerType,r=t&&(0,m.YF)(e.nativeEvent)&&(void 0!==n||M),i=t&&!r&&!q.current;q.current=!1,N||i||function(e){if(j||z)return;let t=_.state.value;if(O){let n=Array.isArray(t)?t:[];I(F?(0,h.Ai)(n,b,B):[...n,b],(0,f.d)(p.Bo,e))}else I(b,(0,f.d)(p.Bo,e)),D(!1,(0,f.d)(p.Bo,e))}(e.nativeEvent)},onPointerEnter(e){K.current=e.pointerType},onPointerMove(e){if("mouse"===e.pointerType&&1===e.buttons){let t=R.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){K.current=e.pointerType,q.current=!0,H()},onMouseUp(){if(H(),N||"touch"===K.current||q.current)return;let e=!R.current.allowSelectedMouseUp&&F,t=!R.current.allowUnselectedMouseUp&&!F;e||t||(q.current=!0,Z.current?.click(),q.current=!1)}},k,W]}),Y=r.useMemo(()=>({selected:F,index:V,textRef:E,selectedByFocus:U}),[F,V,E,U]);return(0,g.jsx)(u.Provider,{value:Y,children:J})}))},44821:(e,t,n)=>{"use strict";n.d(t,{Zq:()=>a,zs:()=>i});var r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},i=new class{#$=r;#_=!1;setTimeoutProvider(e){this.#$=e}setTimeout(e,t){return this.#$.setTimeout(e,t)}clearTimeout(e){this.#$.clearTimeout(e)}setInterval(e,t){return this.#$.setInterval(e,t)}clearInterval(e){this.#$.clearInterval(e)}};function a(e){setTimeout(e,0)}},45351:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});var r=n(34023),i=n(56742),a=n(55240),o=n(94799);let s=r.forwardRef(function(e,t){let{children:n,container:s,className:l,render:u,style:d,...c}=e,{node:f,subtree:p}=(0,a.CK)({container:s,ref:t,componentProps:e,elementProps:c});return p||f?(0,o.jsxs)(r.Fragment,{children:[p,f&&i.createPortal(n,f)]}):null})},45515:(e,t,n)=>{"use strict";n.d(t,{D:()=>v});var r=n(34023),i=n(50360),a=n(69045),o=n(66431),s=n(7217),l=n(78337),u=n(75565),d=n(53959);let c={type:"regular-item"};var f=n(37750),p=n(92796),h=n(99901),m=n(95598),g=n(78406);let v=r.forwardRef(function(e,t){let{render:n,className:v,id:y,label:b,nativeButton:x=!1,disabled:w=!1,closeOnClick:S=!0,style:k,...E}=e,$=(0,m.q)({guess:!0,label:b}),_=(0,g.O)(!0),C=(0,h.e)(y),{store:D}=(0,f.Y)(),I=D.useState("disabled"),R=w||I,T=D.useState("isActive",$.index),P=D.useState("itemProps"),{getItemProps:O,itemRef:A}=function(e){let{closeOnClick:t,disabled:n,highlighted:c,id:f,store:p,typingRef:h=p.context.typingRef,nativeButton:m,itemMetadata:g,nodeId:v}=e,y=r.useRef(null),{getButtonProps:b,buttonRef:x}=(0,a.s)({disabled:n,focusableWhenDisabled:!0,native:m,composite:!0}),w=function(e){let{closeOnClick:t,highlighted:n,id:i,nodeId:a,store:o,typingRef:c,itemRef:f,itemMetadata:p}=e,{events:h}=o.useState("floatingTreeRoot"),m=o.useState("open"),g=(0,u.v)(!0),v=void 0!==g;return r.useMemo(()=>({id:i,role:"menuitem",tabIndex:m&&n?0:-1,onKeyDown(e){" "===e.key&&c?.current&&e.preventDefault()},onMouseMove(e){a&&h.emit("itemhover",{nodeId:a,target:e.currentTarget})},onClick(e){t&&h.emit("close",{domEvent:e,reason:l.Bo})},onMouseUp(e){if(g){let t=g.initialCursorPointRef.current;if(g.initialCursorPointRef.current=null,v&&t&&1>=Math.abs(e.clientX-t.x)&&1>=Math.abs(e.clientY-t.y)||v&&!s.Md&&2===e.button)return}f.current&&o.context.allowMouseUpTriggerRef.current&&(!v||2===e.button)&&"regular-item"===p.type&&(0,d.B)(f.current,e,{detail:1})}}),[t,n,i,h,a,m,o,c,f,g,v,p])}({closeOnClick:t,highlighted:c,id:f,nodeId:v,store:p,typingRef:h,itemRef:y,itemMetadata:g}),S=r.useCallback(e=>(0,o.v6)(w,{onMouseEnter(){"submenu-trigger"===g.type&&g.setActive()}},e,b),[w,b,g]),k=(0,i.a)(y,x);return r.useMemo(()=>({getItemProps:S,itemRef:k}),[S,k])}({closeOnClick:S,disabled:R,highlighted:T,id:C,store:D,nativeButton:x,nodeId:_?.context.nodeId,itemMetadata:c});return(0,p.o)("div",e,{state:{disabled:R,highlighted:T},props:[P,E,O],ref:[A,t,$.ref]})})},45753:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(34023);let i={};function a(e,t){let n=r.useRef(i);return n.current===i&&(n.current=e(t)),n}},45778:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});let r=new Map,i=new Map;class a{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let i=t["="+e];if(i)return"function"==typeof i?i():i;let a=this.locale+":"+n,o=r.get(a);return o||(o=new Intl.PluralRules(this.locale,{type:n}),r.set(a,o)),"function"==typeof(i=t[o.select(e)]||t.other)?i():i}number(e){let t=i.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),i.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}},45863:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(69621),i=n(80254),a=n(28325),o=n(15957),s=n(34023),l=n(11303);function u(e,t){let{role:n="dialog"}=e,u=(0,r.X1)();u=e["aria-label"]?void 0:u;let d=(0,s.useRef)(!1);return(0,s.useEffect)(()=>
22{if(t.current&&!(0,i.sD)(t.current,document.activeElement)){(0,o.l)(t.current);let e=setTimeout(()=>{(document.activeElement===t.current||document.activeElement===document.body)&&(d.current=!0,t.current&&(t.current.blur(),(0,o.l)(t.current)),d.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,l.Se)(),{dialogProps:{...(0,a.$)(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||u,onBlur:e=>{d.current&&e.stopPropagation()}},titleProps:{id:u}}}},46536:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(34023);function i({controlled:e,default:t,name:n,state:a="value"}){let{current:o}=r.useRef(void 0!==e),[s,l]=r.useState(t),u=r.useCallback(e=>{o||l(e)},[]);return[o?e:s,u]}},47085:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(41118),i=n(35980);let a={...r.jL,...i.dc,popupSide:e=>e?{"data-popup-side":e}:null,listEmpty:e=>e?{"data-list-empty":""}:null}},47273:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(69621);function i(e,t){let{id:n,"aria-label":i,"aria-labelledby":a}=e;return n=(0,r.Bi)(n),a&&i?a=[...new Set([n,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),i||a||!t||(i=t),{id:n,"aria-label":i,"aria-labelledby":a}}},47903:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(34023),i=n(84505),a=n(76786),o=n(70194),s=n(92796),l=n(28833),u=n(27e3),d=n(28655);let c=r.forwardRef(function(e,t){let{render:n,className:r,style:c,...f}=e,{store:p,scrollHandlerRef:h,multiple:m}=(0,a.l)(),{alignItemWithTriggerActive:g}=(0,o.H)(),v=(0,i.P)(p,d.T.hasScrollArrows),y=(0,i.P)(p,d.T.openMethod),b=(0,i.P)(p,d.T.id),x={id:`${b}-list`,role:"listbox","aria-multiselectable":m||void 0,onScroll(e){h.current?.(e.currentTarget)},...g&&{style:u.O},className:v&&"touch"!==y?l.E.className:void 0},w=p.useStateSetter("listElement");return(0,s.o)("div",e,{ref:[t,w],props:[x,f]})})},48179:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(34023);function i(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},48573:(e,t,n)=>{"use strict";n.r(t),n.d(t,{$brand:()=>l.$brand,$input:()=>l.$input,$output:()=>l.$output,NEVER:()=>l.NEVER,TimePrecision:()=>l.TimePrecision,ZodAny:()=>e4,ZodArray:()=>tn,ZodBase64:()=>eS,ZodBase64URL:()=>eE,ZodBigInt:()=>eK,ZodBigIntFormat:()=>eW,ZodBoolean:()=>eV,ZodCIDRv4:()=>ey,ZodCIDRv6:()=>ex,ZodCUID:()=>en,ZodCUID2:()=>ei,ZodCatch:()=>tY,ZodCodec:()=>t3,ZodCustom:()=>na,ZodCustomStringFormat:()=>eR,ZodDate:()=>te,ZodDefault:()=>tV,ZodDiscriminatedUnion:()=>tp,ZodE164:()=>e_,ZodEmail:()=>F,ZodEmoji:()=>X,ZodEnum:()=>tC,ZodError:()=>w,ZodExactOptional:()=>tM,ZodFile:()=>tP,ZodFirstPartyTypeKind:()=>r,ZodFunction:()=>nr,ZodGUID:()=>B,ZodIPv4:()=>ef,ZodIPv6:()=>eg,ZodISODate:()=>p,ZodISODateTime:()=>c,ZodISODuration:()=>v,ZodISOTime:()=>m,ZodIntersection:()=>tm,ZodIssueCode:()=>ng,ZodJWT:()=>eD,ZodKSUID:()=>ed,ZodLazy:()=>t8,ZodLiteral:()=>tR,ZodMAC:()=>eh,ZodMap:()=>tk,ZodNaN:()=>tQ,ZodNanoID:()=>ee,ZodNever:()=>e9,ZodNonOptional:()=>tW,ZodNull:()=>e0,ZodNullable:()=>tF,ZodNumber:()=>ej,ZodNumberFormat:()=>eN,ZodObject:()=>ta,ZodOptional:()=>tz,ZodPipe:()=>t1,ZodPrefault:()=>tK,ZodPromise:()=>nt,ZodReadonly:()=>t2,ZodRealError:()=>S,ZodRecord:()=>tb,ZodSet:()=>t$,ZodString:()=>N,ZodStringFormat:()=>L,ZodSuccess:()=>tH,ZodSymbol:()=>eJ,ZodTemplateLiteral:()=>t5,ZodTransform:()=>tA,ZodTuple:()=>tv,ZodType:()=>j,ZodULID:()=>eo,ZodURL:()=>H,ZodUUID:()=>Z,ZodUndefined:()=>eX,ZodUnion:()=>tu,ZodUnknown:()=>e6,ZodVoid:()=>e7,ZodXID:()=>el,ZodXor:()=>tc,_ZodString:()=>z,_default:()=>tZ,_function:()=>ni,any:()=>e3,array:()=>tr,base64:()=>ek,base64url:()=>e$,bigint:()=>eq,boolean:()=>eZ,catch:()=>tX,check:()=>no,cidrv4:()=>eb,cidrv6:()=>ew,clone:()=>l.clone,codec:()=>t6,coerce:()=>s,config:()=>l.config,core:()=>l,cuid:()=>er,cuid2:()=>ea,custom:()=>ns,date:()=>tt,decode:()=>D,decodeAsync:()=>R,describe:()=>nd,discriminatedUnion:()=>th,e164:()=>eC,email:()=>U,emoji:()=>Q,encode:()=>C,encodeAsync:()=>I,endsWith:()=>l._endsWith,enum:()=>tD,exactOptional:()=>tL,file:()=>tO,flattenError:()=>l.flattenError,float32:()=>eL,float64:()=>eF,formatError:()=>l.formatError,fromJSONSchema:()=>nk,function:()=>ni,getErrorMap:()=>ny,globalRegistry:()=>l.globalRegistry,gt:()=>l._gt,gte:()=>l._gte,guid:()=>V,hash:()=>eA,hex:()=>eO,hostname:()=>eP,httpUrl:()=>Y,includes:()=>l._includes,instanceof:()=>nf,int:()=>eM,int32:()=>eU,int64:()=>eG,intersection:()=>tg,ipv4:()=>ep,ipv6:()=>ev,iso:()=>a,json:()=>nh,jwt:()=>eI,keyof:()=>ti,ksuid:()=>ec,lazy:()=>ne,length:()=>l._length,literal:()=>tT,locales:()=>nE,looseObject:()=>tl,looseRecord:()=>tS,lowercase:()=>l._lowercase,lt:()=>l._lt,lte:()=>l._lte,mac:()=>em,map:()=>tE,maxLength:()=>l._maxLength,maxSize:()=>l._maxSize,meta:()=>nc,mime:()=>l._mime,minLength:()=>l._minLength,minSize:()=>l._minSize,multipleOf:()=>l._multipleOf,nan:()=>t0,nanoid:()=>et,nativeEnum:()=>tI,negative:()=>l._negative,never:()=>e5,nonnegative:()=>l._nonnegative,nonoptional:()=>tG,nonpositive:()=>l._nonpositive,normalize:()=>l._normalize,null:()=>e1,nullable:()=>tU,nullish:()=>tB,number:()=>ez,object:()=>to,optional:()=>tN,overwrite:()=>l._overwrite,parse:()=>k,parseAsync:()=>E,partialRecord:()=>tw,pipe:()=>t4,positive:()=>l._positive,prefault:()=>tq,preprocess:()=>nm,prettifyError:()=>l.prettifyError,promise:()=>nn,property:()=>l._property,readonly:()=>t9,record:()=>tx,refine:()=>nl,regex:()=>l._regex,regexes:()=>l.regexes,registry:()=>l.registry,safeDecode:()=>P,safeDecodeAsync:()=>A,safeEncode:()=>T,safeEncodeAsync:()=>O,safeParse:()=>$,safeParseAsync:()=>_,set:()=>t_,setErrorMap:()=>nv,size:()=>l._size,slugify:()=>l._slugify,startsWith:()=>l._startsWith,strictObject:()=>
22ts,string:()=>M,stringFormat:()=>eT,stringbool:()=>np,success:()=>tJ,superRefine:()=>nu,symbol:()=>eY,templateLiteral:()=>t7,toJSONSchema:()=>u.bl,toLowerCase:()=>l._toLowerCase,toUpperCase:()=>l._toUpperCase,transform:()=>tj,treeifyError:()=>l.treeifyError,trim:()=>l._trim,tuple:()=>ty,uint32:()=>eB,uint64:()=>eH,ulid:()=>es,undefined:()=>eQ,union:()=>td,unknown:()=>e2,uppercase:()=>l._uppercase,url:()=>J,util:()=>l.util,uuid:()=>K,uuidv4:()=>q,uuidv6:()=>W,uuidv7:()=>G,void:()=>e8,xid:()=>eu,xor:()=>tf});var r,i={};n.r(i),n.d(i,{endsWith:()=>l._endsWith,gt:()=>l._gt,gte:()=>l._gte,includes:()=>l._includes,length:()=>l._length,lowercase:()=>l._lowercase,lt:()=>l._lt,lte:()=>l._lte,maxLength:()=>l._maxLength,maxSize:()=>l._maxSize,mime:()=>l._mime,minLength:()=>l._minLength,minSize:()=>l._minSize,multipleOf:()=>l._multipleOf,negative:()=>l._negative,nonnegative:()=>l._nonnegative,nonpositive:()=>l._nonpositive,normalize:()=>l._normalize,overwrite:()=>l._overwrite,positive:()=>l._positive,property:()=>l._property,regex:()=>l._regex,size:()=>l._size,slugify:()=>l._slugify,startsWith:()=>l._startsWith,toLowerCase:()=>l._toLowerCase,toUpperCase:()=>l._toUpperCase,trim:()=>l._trim,uppercase:()=>l._uppercase});var a={};n.r(a),n.d(a,{ZodISODate:()=>p,ZodISODateTime:()=>c,ZodISODuration:()=>v,ZodISOTime:()=>m,date:()=>h,datetime:()=>f,duration:()=>y,time:()=>g});var o={};n.r(o),n.d(o,{ZodAny:()=>e4,ZodArray:()=>tn,ZodBase64:()=>eS,ZodBase64URL:()=>eE,ZodBigInt:()=>eK,ZodBigIntFormat:()=>eW,ZodBoolean:()=>eV,ZodCIDRv4:()=>ey,ZodCIDRv6:()=>ex,ZodCUID:()=>en,ZodCUID2:()=>ei,ZodCatch:()=>tY,ZodCodec:()=>t3,ZodCustom:()=>na,ZodCustomStringFormat:()=>eR,ZodDate:()=>te,ZodDefault:()=>tV,ZodDiscriminatedUnion:()=>tp,ZodE164:()=>e_,ZodEmail:()=>F,ZodEmoji:()=>X,ZodEnum:()=>tC,ZodExactOptional:()=>tM,ZodFile:()=>tP,ZodFunction:()=>nr,ZodGUID:()=>B,ZodIPv4:()=>ef,ZodIPv6:()=>eg,ZodIntersection:()=>tm,ZodJWT:()=>eD,ZodKSUID:()=>ed,ZodLazy:()=>t8,ZodLiteral:()=>tR,ZodMAC:()=>eh,ZodMap:()=>tk,ZodNaN:()=>tQ,ZodNanoID:()=>ee,ZodNever:()=>e9,ZodNonOptional:()=>tW,ZodNull:()=>e0,ZodNullable:()=>tF,ZodNumber:()=>ej,ZodNumberFormat:()=>eN,ZodObject:()=>ta,ZodOptional:()=>tz,ZodPipe:()=>t1,ZodPrefault:()=>tK,ZodPromise:()=>nt,ZodReadonly:()=>t2,ZodRecord:()=>tb,ZodSet:()=>t$,ZodString:()=>N,ZodStringFormat:()=>L,ZodSuccess:()=>tH,ZodSymbol:()=>eJ,ZodTemplateLiteral:()=>t5,ZodTransform:()=>tA,ZodTuple:()=>tv,ZodType:()=>j,ZodULID:()=>eo,ZodURL:()=>H,ZodUUID:()=>Z,ZodUndefined:()=>eX,ZodUnion:()=>tu,ZodUnknown:()=>e6,ZodVoid:()=>e7,ZodXID:()=>el,ZodXor:()=>tc,_ZodString:()=>z,_default:()=>tZ,_function:()=>ni,any:()=>e3,array:()=>tr,base64:()=>ek,base64url:()=>e$,bigint:()=>eq,boolean:()=>eZ,catch:()=>tX,check:()=>no,cidrv4:()=>eb,cidrv6:()=>ew,codec:()=>t6,cuid:()=>er,cuid2:()=>ea,custom:()=>ns,date:()=>tt,describe:()=>nd,discriminatedUnion:()=>th,e164:()=>eC,email:()=>U,emoji:()=>Q,enum:()=>tD,exactOptional:()=>tL,file:()=>tO,float32:()=>eL,float64:()=>eF,function:()=>ni,guid:()=>V,hash:()=>eA,hex:()=>eO,hostname:()=>eP,httpUrl:()=>Y,instanceof:()=>nf,int:()=>eM,int32:()=>eU,int64:()=>eG,intersection:()=>tg,ipv4:()=>ep,ipv6:()=>ev,json:()=>nh,jwt:()=>eI,keyof:()=>ti,ksuid:()=>ec,lazy:()=>ne,literal:()=>tT,looseObject:()=>tl,looseRecord:()=>tS,mac:()=>em,map:()=>tE,meta:()=>nc,nan:()=>t0,nanoid:()=>et,nativeEnum:()=>tI,never:()=>e5,nonoptional:()=>tG,null:()=>e1,nullable:()=>tU,nullish:()=>tB,number:()=>ez,object:()=>to,optional:()=>tN,partialRecord:()=>tw,pipe:()=>t4,prefault:()=>tq,preprocess:()=>nm,promise:()=>nn,readonly:()=>t9,record:()=>tx,refine:()=>nl,set:()=>t_,strictObject:()=>ts,string:()=>M,stringFormat:()=>eT,stringbool:()=>np,success:()=>tJ,superRefine:()=>nu,symbol:()=>eY,templateLiteral:()=>t7,transform:()=>tj,tuple:()=>ty,uint32:()=>eB,uint64:()=>eH,ulid:()=>es,undefined:()=>eQ,union:()=>td,unknown:()=>e2,url:()=>J,uuid:()=>K,uuidv4:()=>q,uuidv6:()=>W,uuidv7:()=>G,void:()=>e8,xid:()=>eu,xor:()=>tf});var s={};n.r(s),n.d(s,{bigint:()=>nD,boolean:()=>nC,date:()=>nI,number:()=>n_,string:()=>n$});var l=n(72821),u=n(70566),d=n(92108);let c=l.$constructor("ZodISODateTime",(e,t)=>{l.$ZodISODateTime.init(e,t),L.init(e,t)});function f(e){return l._isoDateTime(c,e)}let p=l.$constructor("ZodISODate",(e,t)=>{l.$ZodISODate.init(e,t),L.init(e,t)});function h(e){return l._isoDate(p,e)}let m=l.$constructor("ZodISOTime",(e,t)=>{l.$ZodISOTime.init(e,t),L.init(e,t)});function g(e){return l._isoTime(m,e)}let v=l.$constructor("ZodISODuration",(e,t)=>{l.$ZodISODuration.init(e,t),L.init(e,t)});function y(e){return l._isoDuration(v,e)}var b=n(95778);let x=(e,t)=>{l.$ZodError.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>l.formatError(e,t)},flatten:{value:t=>l.flattenError(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,b.jsonStringifyReplacer,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,b.jsonStringifyReplacer,2)}},isEmpty:{get:()=>0===e.issues.length}})},w=l.$constructor("ZodError",x),S=l.$constructor("ZodError",x,{Parent:Error}),k=l._parse(S),E=l._parseAsync(S),$=l._safeParse(S),_=l._safeParseAsync(S),C=l._encode(S),D=l._decode(S),I=l._encodeAsync(S),R=l._decodeAsync(S),T=l._safeEncode(S),P=l._safeDecode(S),O=l._safeEncodeAsync(S),A=l._safeDecodeAsync(S),j=l.$constructor("ZodType",(e,t)=>(l.$ZodType.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:(0,d.uE)(e,"input"),output:(0,d.uE)(e,"output")}}),e.toJSONSchema=(0,d.OA)(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(l.util.mergeDefs(t,{checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>l.clone(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>k(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>$(e,t,n),e.parseAsync=async(t,n)=>E(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>_(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>C(e,t,n),e.decode=(t,n)=>D(e,t,n),e.encodeAsync=async(t,n)=>I(e,t,n),e.decodeAsync=async(t,n)=>R(e,t,n),e.safeEncode=(t,n)=>T(e,t,n),e.safeDecode=(t,n)=>P(e,t,n),e.safeEncodeAsync=async(t,n)=>O(e,t,n),e.safeDecodeAsync=async(t,n)=>A(e,t,n),e.refine=(t,n)=>e.check(nl(t,n)),e.superRefine=t=>e.check(nu(t)),e.overwrite=t=>e.check(l._overwrite(t)),e.optional=()=>tN(e),e.exactOptional=()=>tL(e),e.nullable=()=>tU(e),e.nullish=()=>tN(tU(e)),e.nonoptional=t=>tG(e,t),e.array=()=>tr(e),e.or=t=>td([e,t]),e.and=t=>tg(e,t),e.transform=t=>t4(e,tj(t)),e.default=t=>tZ(e,t),e.prefault=t=>tq(e,t),e.catch=t=>tX(e,t),e.pipe=t=>t4(e,t),e.readonly=()=>t9(e),e.describe=t=>{let n=e.clone();return l.globalRegistry.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:()=>l.globalRegistry.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return l.globalRegistry.get(e);let n=e.clone();return l.globalRegistry.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>
22e.safeParse(null).success,e.apply=t=>t(e),e)),z=l.$constructor("_ZodString",(e,t)=>{l.$ZodString.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.SW(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(l._regex(...t)),e.includes=(...t)=>e.check(l._includes(...t)),e.startsWith=(...t)=>e.check(l._startsWith(...t)),e.endsWith=(...t)=>e.check(l._endsWith(...t)),e.min=(...t)=>e.check(l._minLength(...t)),e.max=(...t)=>e.check(l._maxLength(...t)),e.length=(...t)=>e.check(l._length(...t)),e.nonempty=(...t)=>e.check(l._minLength(1,...t)),e.lowercase=t=>e.check(l._lowercase(t)),e.uppercase=t=>e.check(l._uppercase(t)),e.trim=()=>e.check(l._trim()),e.normalize=(...t)=>e.check(l._normalize(...t)),e.toLowerCase=()=>e.check(l._toLowerCase()),e.toUpperCase=()=>e.check(l._toUpperCase()),e.slugify=()=>e.check(l._slugify())}),N=l.$constructor("ZodString",(e,t)=>{l.$ZodString.init(e,t),z.init(e,t),e.email=t=>e.check(l._email(F,t)),e.url=t=>e.check(l._url(H,t)),e.jwt=t=>e.check(l._jwt(eD,t)),e.emoji=t=>e.check(l._emoji(X,t)),e.guid=t=>e.check(l._guid(B,t)),e.uuid=t=>e.check(l._uuid(Z,t)),e.uuidv4=t=>e.check(l._uuidv4(Z,t)),e.uuidv6=t=>e.check(l._uuidv6(Z,t)),e.uuidv7=t=>e.check(l._uuidv7(Z,t)),e.nanoid=t=>e.check(l._nanoid(ee,t)),e.guid=t=>e.check(l._guid(B,t)),e.cuid=t=>e.check(l._cuid(en,t)),e.cuid2=t=>e.check(l._cuid2(ei,t)),e.ulid=t=>e.check(l._ulid(eo,t)),e.base64=t=>e.check(l._base64(eS,t)),e.base64url=t=>e.check(l._base64url(eE,t)),e.xid=t=>e.check(l._xid(el,t)),e.ksuid=t=>e.check(l._ksuid(ed,t)),e.ipv4=t=>e.check(l._ipv4(ef,t)),e.ipv6=t=>e.check(l._ipv6(eg,t)),e.cidrv4=t=>e.check(l._cidrv4(ey,t)),e.cidrv6=t=>e.check(l._cidrv6(ex,t)),e.e164=t=>e.check(l._e164(e_,t)),e.datetime=t=>e.check(f(t)),e.date=t=>e.check(h(t)),e.time=t=>e.check(g(t)),e.duration=t=>e.check(y(t))});function M(e){return l._string(N,e)}let L=l.$constructor("ZodStringFormat",(e,t)=>{l.$ZodStringFormat.init(e,t),z.init(e,t)}),F=l.$constructor("ZodEmail",(e,t)=>{l.$ZodEmail.init(e,t),L.init(e,t)});function U(e){return l._email(F,e)}let B=l.$constructor("ZodGUID",(e,t)=>{l.$ZodGUID.init(e,t),L.init(e,t)});function V(e){return l._guid(B,e)}let Z=l.$constructor("ZodUUID",(e,t)=>{l.$ZodUUID.init(e,t),L.init(e,t)});function K(e){return l._uuid(Z,e)}function q(e){return l._uuidv4(Z,e)}function W(e){return l._uuidv6(Z,e)}function G(e){return l._uuidv7(Z,e)}let H=l.$constructor("ZodURL",(e,t)=>{l.$ZodURL.init(e,t),L.init(e,t)});function J(e){return l._url(H,e)}function Y(e){return l._url(H,{protocol:/^https?$/,hostname:l.regexes.domain,...l.util.normalizeParams(e)})}let X=l.$constructor("ZodEmoji",(e,t)=>{l.$ZodEmoji.init(e,t),L.init(e,t)});function Q(e){return l._emoji(X,e)}let ee=l.$constructor("ZodNanoID",(e,t)=>{l.$ZodNanoID.init(e,t),L.init(e,t)});function et(e){return l._nanoid(ee,e)}let en=l.$constructor("ZodCUID",(e,t)=>{l.$ZodCUID.init(e,t),L.init(e,t)});function er(e){return l._cuid(en,e)}let ei=l.$constructor("ZodCUID2",(e,t)=>{l.$ZodCUID2.init(e,t),L.init(e,t)});function ea(e){return l._cuid2(ei,e)}let eo=l.$constructor("ZodULID",(e,t)=>{l.$ZodULID.init(e,t),L.init(e,t)});function es(e){return l._ulid(eo,e)}let el=l.$constructor("ZodXID",(e,t)=>{l.$ZodXID.init(e,t),L.init(e,t)});function eu(e){return l._xid(el,e)}let ed=l.$constructor("ZodKSUID",(e,t)=>{l.$ZodKSUID.init(e,t),L.init(e,t)});function ec(e){return l._ksuid(ed,e)}let ef=l.$constructor("ZodIPv4",(e,t)=>{l.$ZodIPv4.init(e,t),L.init(e,t)});function ep(e){return l._ipv4(ef,e)}let eh=l.$constructor("ZodMAC",(e,t)=>{l.$ZodMAC.init(e,t),L.init(e,t)});function em(e){return l._mac(eh,e)}let eg=l.$constructor("ZodIPv6",(e,t)=>{l.$ZodIPv6.init(e,t),L.init(e,t)});function ev(e){return l._ipv6(eg,e)}let ey=l.$constructor("ZodCIDRv4",(e,t)=>{l.$ZodCIDRv4.init(e,t),L.init(e,t)});function eb(e){return l._cidrv4(ey,e)}let ex=l.$constructor("ZodCIDRv6",(e,t)=>{l.$ZodCIDRv6.init(e,t),L.init(e,t)});function ew(e){return l._cidrv6(ex,e)}let eS=l.$constructor("ZodBase64",(e,t)=>{l.$ZodBase64.init(e,t),L.init(e,t)});function ek(e){return l._base64(eS,e)}let eE=l.$constructor("ZodBase64URL",(e,t)=>{l.$ZodBase64URL.init(e,t),L.init(e,t)});function e$(e){return l._base64url(eE,e)}let e_=l.$constructor("ZodE164",(e,t)=>{l.$ZodE164.init(e,t),L.init(e,t)});function eC(e){return l._e164(e_,e)}let eD=l.$constructor("ZodJWT",(e,t)=>{l.$ZodJWT.init(e,t),L.init(e,t)});function eI(e){return l._jwt(eD,e)}let eR=l.$constructor("ZodCustomStringFormat",(e,t)=>{l.$ZodCustomStringFormat.init(e,t),L.init(e,t)});function eT(e,t,n={}){return l._stringFormat(eR,e,t,n)}function eP(e){return l._stringFormat(eR,"hostname",l.regexes.hostname,e)}function eO(e){return l._stringFormat(eR,"hex",l.regexes.hex,e)}function eA(e,t){let n=t?.enc??"hex",r=`${e}_${n}`,i=l.regexes[r];if(!i)throw Error(`Unrecognized hash format: ${r}`);return l._stringFormat(eR,r,i,t)}let ej=l.$constructor("ZodNumber",(e,t)=>{l.$ZodNumber.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Wg(e,t,n,r),e.gt=(t,n)=>e.check(l._gt(t,n)),e.gte=(t,n)=>e.check(l._gte(t,n)),e.min=(t,n)=>e.check(l._gte(t,n)),e.lt=(t,n)=>e.check(l._lt(t,n)),e.lte=(t,n)=>e.check(l._lte(t,n)),e.max=(t,n)=>e.check(l._lte(t,n)),e.int=t=>e.check(eM(t)),e.safe=t=>e.check(eM(t)),e.positive=t=>e.check(l._gt(0,t)),e.nonnegative=t=>e.check(l._gte(0,t)),e.negative=t=>e.check(l._lt(0,t)),e.nonpositive=t=>e.check(l._lte(0,t)),e.multipleOf=(t,n)=>e.check(l._multipleOf(t,n)),e.step=(t,n)=>e.check(l._multipleOf(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function ez(e){return l._number(ej,e)}let eN=l.$constructor("ZodNumberFormat",(e,t)=>{l.$ZodNumberFormat.init(e,t),ej.init(e,t)});function eM(e){return l._int(eN,e)}function eL(e){return l._float32(eN,e)}function eF(e){return l._float64(eN,e)}function eU(e){return l._int32(eN,e)}function eB(e){return l._uint32(eN,e)}let eV=l.$constructor("ZodBoolean",(e,t)=>{l.$ZodBoolean.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.dO(e,t,n,r)});function eZ(e){return l._boolean(eV,e)}let eK=l.$constructor("ZodBigInt",(e,t)=>{l.$ZodBigInt.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Y8(e,t,n,r),e.gte=(t,n)=>e.check(l._gte(t,n)),e.min=(t,n)=>e.check(l._gte(t,n)),e.gt=(t,n)=>e.check(l._gt(t,n)),e.gte=(t,n)=>e.check(l._gte(t,n)),e.min=(t,n)=>e.check(l._gte(t,n)),e.lt=(t,n)=>e.check(l._lt(t,n)),e.lte=(t,n)=>e.check(l._lte(t,n)),e.max=(t,n)=>e.check(l._lte(t,n)),e.positive=t=>e.check(l._gt(BigInt(0),t)),e.negative=t=>e.check(l._lt(BigInt(0),t)),e.nonpositive=t=>e.check(l._lte(BigInt(0),t)),e.nonnegative=t=>e.check(l._gte(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(l._multipleOf(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function eq(e){return l._bigint(eK,e)}let eW=l.$constructor("ZodBigIntFormat",(e,t)=>{l.$ZodBigIntFormat.init(e,t),eK.init(e,t)});function eG(e){return l._int64(eW,e)}function eH(e){return l._uint64(eW,e)}let eJ=l.$constructor("ZodSymbol",(e,t)=>{l.$ZodSymbol.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.fg(e,t,n,r)});function eY(e){return l._symbol(eJ,e)}let eX=l.$constructor("ZodUndefined",(e,t)=>{l.$ZodUndefined.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.BU(e,t,n,r)});function eQ(e){return l._undefined(eX,e)}let e0=l.$constructor("ZodNull",(e,t)=>{l.$ZodNull.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.In(e,t,n,r)});function e1(e){return l._null(e0,e)}let e4=l.$constructor("ZodAny",(e,t)=>{l.$ZodAny.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.NX(e,t,n,r)});function e3(){return l._any(e4)}let e6=l.$constructor("ZodUnknown",(e,t)=>{l.$ZodUnknown.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.NV(e,t,n,r)});function e2(){return l._unknown(e6)}let e9=l.$constructor("ZodNever",(e,t)=>{l.$ZodNever.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.RH(e,t,n,r)});function e5(e){return l._never(e9,e)}let e7=l.$constructor("ZodVoid",(e,t)=>{l.$ZodVoid.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.vn(e,t,n,r)});function e8(e){return l._void(e7,e)}let te=l.$constructor("ZodDate",(e,t)=>{l.$ZodDate.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Fl(e,t,n,r),e.min=(t,n)=>e.check(l._gte(t,n)),e.max=(t,n)=>e.check(l._lte(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function tt(e){return l._date(te,e)}let tn=l.$constructor("ZodArray",(e,t)=>{l.$ZodArray.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.cY(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(l._minLength(t,n)),e.nonempty=t=>e.check(l._minLength(1,t)),e.max=(t,n)=>e.check(l._maxLength(t,n)),e.length=(t,n)=>e.check(l._length(t,n)),e.unwrap=()=>e.element});function tr(e,t){return l._array(tn,e,t)}function ti(e){return tD(Object.keys(e._zod.def.shape))}let ta=l.$constructor("ZodObject",(e,t)=>{l.$ZodObjectJIT.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Ec(e,t,n,r),l.util.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>tD(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:e2()}),e.loose=()=>e.clone({...e._zod.def,catchall:e2()}),e.strict=()=>e.clone({...e._zod.def,catchall:e5()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>l.util.extend(e,t),e.safeExtend=t=>l.util.safeExtend(e,t),e.merge=t=>l.util.merge(e,t),e.pick=t=>l.util.pick(e,t),e.omit=t=>l.util.omit(e,t),e.partial=(...t)=>l.util.partial(tz,e,t[0]),e.required=(...t)=>l.util.required(tW,e,t[0])});function to(e,t){return new ta({type:"object",shape:e??{},...l.util.normalizeParams(t)})}function ts(e,t){return new ta({type:"object",shape:e,catchall:e5(),...l.util.normalizeParams(t)})}function tl(e,t){return new ta({type:"object",shape:e,catchall:e2(),...l.util.normalizeParams(t)})}let tu=l.$constructor("ZodUnion",(e,t)=>{l.$ZodUnion.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.iC(e,t,n,r),e.options=t.options});function td(e,t){return new tu({type:"union",options:e,...l.util.normalizeParams(t)})}let tc=l.$constructor("ZodXor",(e,t)=>{tu.init(e,t),l.$ZodXor.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.iC(e,t,n,r),e.options=t.options});function tf(e,t){return new tc({type:"union",options:e,inclusive:!1,...l.util.normalizeParams(t)})}let tp=l.$constructor("ZodDiscriminatedUnion",(e,t)=>{tu.init(e,t),l.$ZodDiscriminatedUnion.init(e,t)});function th(e,t,n){return new tp({type:"union",options:t,discriminator:e,...l.util.normalizeParams(n)})}let tm=l.$constructor("ZodIntersection",(e,t)=>{l.$ZodIntersection.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.i_(e,t,n,r)});function tg(e,t){return new tm({type:"intersection",left:e,right:t})}let tv=l.$constructor("ZodTuple",(e,t)=>{l.$ZodTuple.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.CN(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function ty(e,t,n){let r=t instanceof l.$ZodType,i=r?n:t;return new tv({type:"tuple",items:e,rest:r?t:null,...l.util.normalizeParams(i)})}let tb=l.$constructor("ZodRecord",(e,t)=>{l.$ZodRecord.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.GC(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function tx(e,t,n){return new tb({type:"record",keyType:e,valueType:t,...l.util.normalizeParams(n)})}function tw(e,t,n){let r=l.clone(e);return r._zod.values=void 0,new tb({type:"record",keyType:r,valueType:t,...l.util.normalizeParams(n)})}function tS(e,t,n){return new tb({type:"record",keyType:e,valueType:t,mode:"loose",...l.util.normalizeParams(n)})}let tk=l.$constructor("ZodMap",(e,t)=>{l.$ZodMap.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.jq(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(l._minSize(...t)),e.nonempty=t=>e.check(l._minSize(1,t)),e.max=(...t)=>e.check(l._maxSize(...t)),e.size=(...t)=>e.check(l._size(...t))});function tE(e,t,n){return new tk({type:"map",keyType:e,valueType:t,...l.util.normalizeParams(n)})}
22let t$=l.$constructor("ZodSet",(e,t)=>{l.$ZodSet.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.zH(e,t,n,r),e.min=(...t)=>e.check(l._minSize(...t)),e.nonempty=t=>e.check(l._minSize(1,t)),e.max=(...t)=>e.check(l._maxSize(...t)),e.size=(...t)=>e.check(l._size(...t))});function t_(e,t){return new t$({type:"set",valueType:e,...l.util.normalizeParams(t)})}let tC=l.$constructor("ZodEnum",(e,t)=>{l.$ZodEnum.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.C0(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new tC({...t,checks:[],...l.util.normalizeParams(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new tC({...t,checks:[],...l.util.normalizeParams(r),entries:i})}});function tD(e,t){return new tC({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...l.util.normalizeParams(t)})}function tI(e,t){return new tC({type:"enum",entries:e,...l.util.normalizeParams(t)})}let tR=l.$constructor("ZodLiteral",(e,t)=>{l.$ZodLiteral.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Yv(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
22(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function tT(e,t){return new tR({type:"literal",values:Array.isArray(e)?e:[e],...l.util.normalizeParams(t)})}let tP=l.$constructor("ZodFile",(e,t)=>{l.$ZodFile.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.H1(e,t,n,r),e.min=(t,n)=>e.check(l._minSize(t,n)),e.max=(t,n)=>e.check(l._maxSize(t,n)),e.mime=(t,n)=>e.check(l._mime(Array.isArray(t)?t:[t],n))});function tO(e){return l._file(tP,e)}let tA=l.$constructor("ZodTransform",(e,t)=>{l.$ZodTransform.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.xi(e,t,n,r),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new l.$ZodEncodeError(e.constructor.name);n.addIssue=r=>{"string"==typeof r?n.issues.push(l.util.issue(r,n.value,t)):(r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=e),n.issues.push(l.util.issue(r)))};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function tj(e){return new tA({type:"transform",transform:e})}let tz=l.$constructor("ZodOptional",(e,t)=>{l.$ZodOptional.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.$k(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tN(e){return new tz({type:"optional",innerType:e})}let tM=l.$constructor("ZodExactOptional",(e,t)=>{l.$ZodExactOptional.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.$k(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tL(e){return new tM({type:"optional",innerType:e})}let tF=l.$constructor("ZodNullable",(e,t)=>{l.$ZodNullable.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.yq(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tU(e){return new tF({type:"nullable",innerType:e})}function tB(e){return tN(tU(e))}let tV=l.$constructor("ZodDefault",(e,t)=>{l.$ZodDefault.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.mh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function tZ(e,t){return new tV({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():l.util.shallowClone(t)}})}let tK=l.$constructor("ZodPrefault",(e,t)=>{l.$ZodPrefault.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.A(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tq(e,t){return new tK({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():l.util.shallowClone(t)}})}let tW=l.$constructor("ZodNonOptional",(e,t)=>{l.$ZodNonOptional.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.cR(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tG(e,t){return new tW({type:"nonoptional",innerType:e,...l.util.normalizeParams(t)})}let tH=l.$constructor("ZodSuccess",(e,t)=>{l.$ZodSuccess.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.aw(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tJ(e){return new tH({type:"success",innerType:e})}let tY=l.$constructor("ZodCatch",(e,t)=>{l.$ZodCatch.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Q9(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function tX(e,t){return new tY({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}let tQ=l.$constructor("ZodNaN",(e,t)=>{l.$ZodNaN.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Kj(e,t,n,r)});function t0(e){return l._nan(tQ,e)}let t1=l.$constructor("ZodPipe",(e,t)=>{l.$ZodPipe.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.fs(e,t,n,r),e.in=t.in,e.out=t.out});function t4(e,t){return new t1({type:"pipe",in:e,out:t})}let t3=l.$constructor("ZodCodec",(e,t)=>{t1.init(e,t),l.$ZodCodec.init(e,t)});function t6(e,t,n){return new t3({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}let t2=l.$constructor("ZodReadonly",(e,t)=>{l.$ZodReadonly.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.$X(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function t9(e){return new t2({type:"readonly",innerType:e})}let t5=l.$constructor("ZodTemplateLiteral",(e,t)=>{l.$ZodTemplateLiteral.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Cv(e,t,n,r)});function t7(e,t){return new t5({type:"template_literal",parts:e,...l.util.normalizeParams(t)})}let t8=l.$constructor("ZodLazy",(e,t)=>{l.$ZodLazy.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Tr(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function ne(e){return new t8({type:"lazy",getter:e})}let nt=l.$constructor("ZodPromise",(e,t)=>{l.$ZodPromise.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.CX(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function nn(e){return new nt({type:"promise",innerType:e})}let nr=l.$constructor("ZodFunction",(e,t)=>{l.$ZodFunction.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.bq(e,t,n,r)});function ni(e){return new nr({type:"function",input:Array.isArray(e?.input)?ty(e?.input):e?.input??tr(e2()
22),output:e?.output??e2()})}let na=l.$constructor("ZodCustom",(e,t)=>{l.$ZodCustom.init(e,t),j.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.A6(e,t,n,r)});function no(e){let t=new l.$ZodCheck({check:"custom"});return t._zod.check=e,t}function ns(e,t){return l._custom(na,e??(()=>!0),t)}function nl(e,t={}){return l._refine(na,e,t)}function nu(e){return l._superRefine(e)}let nd=l.describe,nc=l.meta;function nf(e,t={}){let n=new na({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...l.util.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:"invalid_type",expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}let np=(...e)=>l._stringbool({Codec:t3,Boolean:eV,String:N},...e);function nh(e){let t=ne(()=>td([M(e),ez(),eZ(),e1(),tr(t),tx(M(),t)]));return t}function nm(e,t){return t4(tj(e),t)}let ng={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function nv(e){l.config({customError:e})}function ny(){return l.config().customError}r||(r={});var nb=n(35821),nx=n(13293);let nw={...o,...i,iso:a},nS=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function nk(e,t){var n;let r;if("boolean"==typeof e)return e?nw.any():nw.never();let i={version:(n=t?.defaultTarget,"https://json-schema.org/draft/2020-12/schema"===(r=e.$schema)?"draft-2020-12":"http://json-schema.org/draft-07/schema#"===r?"draft-7":"http://json-schema.org/draft-04/schema#"===r?"draft-4":n??"draft-2020-12"),defs:e.$defs||e.definitions||{},refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??nx.fd};return function e(t,n){if("boolean"==typeof t)return t?nw.any():nw.never();let r=function t(n,r){let i;if(void 0!==n.not){if("object"==typeof n.not&&0===Object.keys(n.not).length)return nw.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(void 0!==n.unevaluatedItems)throw Error("unevaluatedItems is not supported");if(void 0!==n.unevaluatedProperties)throw Error("unevaluatedProperties is not supported");if(void 0!==n.if||void 0!==n.then||void 0!==n.else)throw Error("Conditional schemas (if/then/else) are not supported");if(void 0!==n.dependentSchemas||void 0!==n.dependentRequired)throw Error("dependentSchemas and dependentRequired are not supported");if(n.$ref){let t=n.$ref;if(r.refs.has(t))return r.refs.get(t);if(r.processing.has(t))return nw.lazy(()=>{if(!r.refs.has(t))throw Error(`Circular reference not resolved: ${t}`);return r.refs.get(t)});r.processing.add(t);let i=e(function(e,t){if(!e.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(0===n.length)return t.rootSchema;let r="draft-2020-12"===t.version?"$defs":"definitions";if(n[0]===r){let r=n[1];if(!r||!t.defs[r])throw Error(`Reference not found: ${e}`);return t.defs[r]}throw Error(`Reference not found: ${e}`)}(t,r),r);return r.refs.set(t,i),r.processing.delete(t),i}if(void 0!==n.enum){let e=n.enum;if("openapi-3.0"===r.version&&!0===n.nullable&&1===e.length&&null===e[0])return nw.null();if(0===e.length)return nw.never();if(1===e.length)return nw.literal(e[0]);if(e.every(e=>"string"==typeof e))return nw.enum(e);let t=e.map(e=>nw.literal(e));return t.length<2?t[0]:nw.union([t[0],t[1],...t.slice(2)])}if(void 0!==n.const)return nw.literal(n.const);let a=n.type;if(Array.isArray(a)){let e=a.map(e=>t({...n,type:e},r));return 0===e.length?nw.never():1===e.length?e[0]:nw.union(e)}if(!a)return nw.any();switch(a){case"string":{let e=nw.string();if(n.format){let t=n.format;
22"email"===t?e=e.check(nw.email()):"uri"===t||"uri-reference"===t?e=e.check(nw.url()):"uuid"===t||"guid"===t?e=e.check(nw.uuid()):"date-time"===t?e=e.check(nw.iso.datetime()):"date"===t?e=e.check(nw.iso.date()):"time"===t?e=e.check(nw.iso.time()):"duration"===t?e=e.check(nw.iso.duration()):"ipv4"===t?e=e.check(nw.ipv4()):"ipv6"===t?e=e.check(nw.ipv6()):"mac"===t?e=e.check(nw.mac()):"cidr"===t?e=e.check(nw.cidrv4()):"cidr-v6"===t?e=e.check(nw.cidrv6()):"base64"===t?e=e.check(nw.base64()):"base64url"===t?e=e.check(nw.base64url()):"e164"===t?e=e.check(nw.e164()):"jwt"===t?e=e.check(nw.jwt()):"emoji"===t?e=e.check(nw.emoji()):"nanoid"===t?e=e.check(nw.nanoid()):"cuid"===t?e=e.check(nw.cuid()):"cuid2"===t?e=e.check(nw.cuid2()):"ulid"===t?e=e.check(nw.ulid()):"xid"===t?e=e.check(nw.xid()):"ksuid"===t&&(e=e.check(nw.ksuid()))}"number"==typeof n.minLength&&(e=e.min(n.minLength)),"number"==typeof n.maxLength&&(e=e.max(n.maxLength)),n.pattern&&(e=e.regex(new RegExp(n.pattern))),i=e;break}case"number":case"integer":{let e="integer"===a?nw.number().int():nw.number();"number"==typeof n.minimum&&(e=e.min(n.minimum)),"number"==typeof n.maximum&&(e=e.max(n.maximum)),"number"==typeof n.exclusiveMinimum?e=e.gt(n.exclusiveMinimum):!0===n.exclusiveMinimum&&"number"==typeof n.minimum&&(e=e.gt(n.minimum)),"number"==typeof n.exclusiveMaximum?e=e.lt(n.exclusiveMaximum):!0===n.exclusiveMaximum&&"number"==typeof n.maximum&&(e=e.lt(n.maximum)),"number"==typeof n.multipleOf&&(e=e.multipleOf(n.multipleOf)),i=e;break}case"boolean":i=nw.boolean();break;case"null":i=nw.null();break;case"object":{let t={},a=n.properties||{},o=new Set(n.required||[]);for(let[n,i]of Object.entries(a)){let a=e(i,r);t[n]=o.has(n)?a:a.optional()}if(n.propertyNames){let a=e(n.propertyNames,r),o=n.additionalProperties&&"object"==typeof n.additionalProperties?e(n.additionalProperties,r):nw.any();if(0===Object.keys(t).length){i=nw.record(a,o);break}let s=nw.object(t).passthrough(),l=nw.looseRecord(a,o);i=nw.intersection(s,l);break}if(n.patternProperties){let a=n.patternProperties,o=Object.keys(a),s=[];for(let t of o){let n=e(a[t],r),i=nw.string().regex(new RegExp(t));s.push(nw.looseRecord(i,n))}let l=[];if(Object.keys(t).length>0&&l.push(nw.object(t).passthrough()),l.push(...s),0===l.length)i=nw.object({}).passthrough();else if(1===l.length)i=l[0];else{let e=nw.intersection(l[0],l[1]);for(let t=2;t<l.length;t++)e=nw.intersection(e,l[t]);i=e}break}let s=nw.object(t);i=!1===n.additionalProperties?s.strict():"object"==typeof n.additionalProperties?s.catchall(e(n.additionalProperties,r)):s.passthrough();break}case"array":{let t=n.prefixItems,a=n.items;if(t&&Array.isArray(t)){let o=t.map(t=>e(t,r)),s=a&&"object"==typeof a&&!Array.isArray(a)?e(a,r):void 0;i=s?nw.tuple(o).rest(s):nw.tuple(o),"number"==typeof n.minItems&&(i=i.check(nw.minLength(n.minItems))),"number"==typeof n.maxItems&&(i=i.check(nw.maxLength(n.maxItems)))}else if(Array.isArray(a)){let t=a.map(t=>e(t,r)),o=n.additionalItems&&"object"==typeof n.additionalItems?e(n.additionalItems,r):void 0;i=o?nw.tuple(t).rest(o):nw.tuple(t),"number"==typeof n.minItems&&(i=i.check(nw.minLength(n.minItems))),"number"==typeof n.maxItems&&(i=i.check(nw.maxLength(n.maxItems)))}else if(void 0!==a){let t=e(a,r),o=nw.array(t);"number"==typeof n.minItems&&(o=o.min(n.minItems)),"number"==typeof n.maxItems&&(o=o.max(n.maxItems)),i=o}else i=nw.array(nw.any());break}default:throw Error(`Unsupported type: ${a}`)}return n.description&&(i=i.describe(n.description)),void 0!==n.default&&(i=i.default(n.default)),i}(t,n),i=t.type||void 0!==t.enum||void 0!==t.const;if(t.anyOf&&Array.isArray(t.anyOf)){let a=t.anyOf.map(t=>e(t,n)),o=nw.union(a);r=i?nw.intersection(r,o):o}if(t.oneOf&&Array.isArray(t.oneOf)){let a=t.oneOf.map(t=>e(t,n)),o=nw.xor(a);r=i?nw.intersection(r,o):o}if(t.allOf&&Array.isArray(t.allOf))if(0===t.allOf.length)r=i?r:nw.any();else{let a=i?r:e(t.allOf[0],n),o=+!i;for(let r=o;r<t.allOf.length;r++)a=nw.intersection(a,e(t.allOf[r],n));r=a}!0===t.nullable&&"openapi-3.0"===n.version&&(r=nw.nullable(r)),!0===t.readOnly&&(r=nw.readonly(r));let a={};for(let e of["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"])e in t&&(a[e]=t[e]);for(let e of["contentEncoding","contentMediaType","contentSchema"])e in t&&(a[e]=t[e]);for(let e of Object.keys(t))nS.has(e)||(a[e]=t[e]);return Object.keys(a).length>0&&n.registry.add(r,a),r}(e,i)}var nE=n(70457);function n$(e){return l._coercedString(N,e)}function n_(e){return l._coercedNumber(ej,e)}function nC(e){return l._coercedBoolean(eV,e)}function nD(e){return l._coercedBigint(eK,e)}function nI(e){return l._coercedDate(te,e)}(0,l.config)((0,nb.A)())},48778:(e,t,n)=>{"use strict";n.d(t,{i:()=>A});var r=n(34023),i=n(30417),a=n(7366),o=n(56065),s=n(88018),l=n(45753),u=n(57936),d=n(86289),c=n(58302),f=n(49414),p=n(83435),h=n(96161),m=n(73924),g=n(37750),v=n(21067),y=n(97869),b=n(56136),x=n(31795),w=n(8551),S=n(78337),k=n(75565),E=n(66431),$=n(56721),_=n(44619),C=n(28227),D=n(3559);let I={...C.ol,disabled:e=>"menubar"===e.parent.type&&e.parent.context.disabled||e.disabled,modal:e=>(void 0===e.parent.type||"context-menu"===e.parent.type)&&(e.modal??!0),openMethod:e=>e.openMethod,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>"menu"===e.parent.type?e.parent.store.select("rootId"):void 0!==e.parent.type?e.parent.context.rootId:e.rootId,activeIndex:e=>e.activeIndex,isActive:(e,t)=>
22e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>"menu"===e.parent.type?e.parent.store.select("floatingTreeRoot"):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>e.keyboardEventRelay?e.keyboardEventRelay:"menu"===e.parent.type?e.parent.store.select("keyboardEventRelay"):void 0};class R extends $.H{constructor(e){super({...{...(0,C.rJ)(),disabled:!1,modal:!0,openMethod:null,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new _.k,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:u.t0,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0},...e},{positionerRef:r.createRef(),popupRef:r.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},allowMouseUpTriggerRef:{current:!1},triggerFocusTargetRef:r.createRef(),beforeContentFocusGuardRef:r.createRef(),onOpenChangeComplete:void 0,triggerElements:new D.Z},I),this.unsubscribeParentListener=this.observe("parent",e=>{if(this.unsubscribeParentListener?.(),"menu"===e.type){let t=e.store.select("rootId"),n=e.store.select("floatingTreeRoot"),r=e.store.select("keyboardEventRelay");this.unsubscribeParentListener=e.store.subscribe(()=>{let i=e.store.select("rootId"),a=e.store.select("floatingTreeRoot"),o=e.store.select("keyboardEventRelay");(t!==i||n!==a||r!==o)&&(t=i,n=a,r=o,this.notifyAll())}),this.context.allowMouseUpTriggerRef=e.store.context.allowMouseUpTriggerRef;return}void 0!==e.type&&(this.context.allowMouseUpTriggerRef=e.context.allowMouseUpTriggerRef),this.unsubscribeParentListener=null})}setOpen(e,t){this.state.floatingRootContext.context.events.emit("setOpen",{open:e,eventDetails:t})}unsubscribeParentListener=null}var T=n(18039);let P=r.createContext(void 0);var O=n(94799);let A=(0,d.G1)(function(e){var t;let n,{children:d,open:$,onOpenChange:_,onOpenChangeComplete:C,defaultOpen:D=!1,disabled:I=!1,modal:A,loopFocus:j=!0,orientation:z="vertical",actionsRef:N,closeParentOnEsc:M=!1,handle:L,triggerId:F,defaultTriggerId:U=null,highlightItemOnHover:B=!0}=e,V=(0,k.v)(!0),Z=(0,g.Y)(!0),K=(0,v.t)(!0),q=r.useContext(P),W=r.useMemo(()=>q&&Z?{type:"menu",store:Z.store}:K?{type:"menubar",context:K}:V&&!Z?{type:"context-menu",context:V}:{type:void 0},[V,Z,K,q]),G=(t={open:D,openProp:$,activeTriggerId:U,triggerIdProp:F,parent:W},(0,l.j)(()=>new R(t)).current);G.useControlledProp("openProp",$),G.useControlledProp("triggerIdProp",F),G.useContextCallback("onOpenChangeComplete",C);let H=(0,o.B)(),J=(0,o.B)(),Y=G.useState("floatingTreeRoot"),X=(0,c.fI)(Y),Q=(0,c.R1)(),ee=G.useState("open"),et=G.useState("activeTriggerElement"),en=G.useState("positionerElement"),er=G.useState("hoverEnabled"),ei=G.useState("disabled"),ea=G.useState("lastOpenChangeReason"),eo=G.useState("parent"),es=G.useState("activeIndex"),el=G.useState("payload"),eu=G.useState("floatingParentNodeId"),ed=r.useRef(null),ec=r.useRef("context-menu"!==eo.type),ef=(0,i.Z)(),ep=r.useRef(!0),eh=(0,i.Z)(),em=null!=eu,{openMethod:eg,triggerProps:ev}=(0,x.G)(ee);G.useSyncedValues({disabled:I,highlightItemOnHover:B,modal:void 0===eo.type?A:void 0,openMethod:eg,rootId:H}),(0,T.tr)(G);let{forceUnmount:ey}=(0,T.l$)(ee,G,()=>{G.set("allowMouseEnter",!1)});(0,s.g)(()=>{V&&!Z?G.update({parent:{type:"context-menu",context:V},floatingNodeId:X,floatingParentNodeId:Q}):Z&&G.update({floatingNodeId:X,floatingParentNodeId:Q})},[V,Z,X,Q,G]),r.useEffect(()=>{if(ee||(ed.current=null),"context-menu"===eo.type){if(!ee){ef.clear(),ec.current=!1;return}ef.start(500,()=>{ec.current=!0})}},[ef,ee,eo.type]),(0,s.g)(()=>{ee||er||G.set("hoverEnabled",!0)},[ee,er,G]);let eb=(0,a.K)((e,t)=>{let n=t.reason;if(!e&&!G.select("open")||ee===e&&t.trigger===et&&ea===n)return;let r=(0,T.T1)(t);if(e||null!=t.trigger||(t.trigger=et??void 0),_?.(e,t),t.isCanceled)return;G.state.floatingRootContext.dispatchOpenChange(e,t);let i=t.event;if(!1===e&&i?.type==="click"&&"touch"===i.pointerType&&!ep.current)return;e&&n===S.F4?(ep.current=!1,eh.start(300,()=>{ep.current=!0})):(ep.current=!0,eh.clear());let a=(n===S.Ui||n===S.Bo)&&0===i.detail,o=!e&&(n===S.jv||null==n),s={open:e,openChangeReason:n};ed.current=t.event,(0,T.i)(s,e,t.trigger,r()),G.update(s),"menubar"===eo.type&&(n===S.F4||n===S.Xn||n===S.N7||n===S.Dq||n===S.p)?G.set("instantType","group"):a||o?G.set("instantType",a?"click":"dismiss"):G.set("instantType",void 0)}),ex=(0,f.D)({popupStore:G,floatingId:J,nested:null!=Q,onOpenChange:eb}),ew=ex.context.events;(0,s.g)(()=>{let e=({open:e,eventDetails:t})=>eb(e,t);return ew.on("setOpen",e),()=>{ew?.off("setOpen",e)}},[ew,eb]);let eS=r.useCallback(()=>{G.setOpen(!1,(0,w.d)(S.zJ))},[G]);r.useImperativeHandle(N,()=>({unmount:ey,close:eS}),[ey,eS]),"context-menu"===eo.type&&(n=eo.context),r.useImperativeHandle(n?.positionerRef,()=>en,[en]),r.useImperativeHandle(n?.actionsRef,()=>({setOpen:eb}),[eb]);let ek=(0,p.s)(ex,{enabled:!ei,bubbles:{escapeKey:M&&"menu"===eo.type},outsidePress:()=>"context-menu"!==eo.type||ed.current?.type==="contextmenu"||ec.current,externalTree:em?Y:void 0}),eE=(0,b.j)(),e$=r.useCallback(e=>{G.select("activeIndex")!==e&&G.set("activeIndex",e)}
22,[G]),e_=(0,h.C)(ex,{enabled:!ei,listRef:G.context.itemDomElements,activeIndex:es,nested:void 0!==eo.type,loopFocus:j,orientation:z,parentOrientation:"menubar"===eo.type?eo.context.orientation:void 0,rtl:"rtl"===eE,disabledIndices:u.Ml,onNavigate:e$,openOnArrowKeyDown:"context-menu"!==eo.type,externalTree:em?Y:void 0,focusItemOnHover:B}),eC=r.useCallback(e=>{G.context.typingRef.current=e},[G]),eD=(0,m.l)(ex,{enabled:!ei,listRef:G.context.itemLabels,elementsRef:G.context.itemDomElements,activeIndex:es,resetMs:y.HQ,onMatch:e=>{ee&&e!==es&&G.set("activeIndex",e)},onTyping:eC}),eI=r.useMemo(()=>{let e=(0,E.v6)(eD.reference,e_.reference,ek.reference,{onMouseMove(){G.set("allowMouseEnter",!0)}},ev);return e["aria-haspopup"]="menu",e["aria-expanded"]=ee,e},[G,eD.reference,e_.reference,ek.reference,ev,ee]),eR=r.useMemo(()=>{let e=(0,E.v6)(e_.trigger,ek.trigger,ev);return e["aria-haspopup"]="menu",e["aria-expanded"]=!1,e},[e_.trigger,ek.trigger,ev]),eT=r.useMemo(()=>(0,E.v6)(T.Ls,{id:J,role:"menu","aria-labelledby":et?.id,onMouseMove(){G.set("allowMouseEnter",!0),"menu"===eo.type&&G.set("hoverEnabled",!1)},onClick(){G.select("hoverEnabled")&&G.set("hoverEnabled",!1)},onKeyDown(e){let t=G.select("keyboardEventRelay");t&&!e.isPropagationStopped()&&t(e)}},eD.floating,e_.floating,ek.floating),[et,J,eo.type,G,eD.floating,e_.floating,ek.floating]),eP=e_.item??u.t0;(0,T.i6)(G,{floatingRootContext:ex,activeTriggerProps:eI,inactiveTriggerProps:eR,popupProps:eT,itemProps:eP});let eO=r.useMemo(()=>({store:G,parent:W}),[G,W]),eA=(0,O.jsxs)(g.J.Provider,{value:eO,children:[L&&(0,O.jsx)(T.Ae,{handle:L,store:G}),"function"==typeof d?d({payload:el}):d]});return void 0===eo.type||"context-menu"===eo.type?(0,O.jsx)(c.P6,{externalTree:Y,children:eA}):eA})},49308:(e,t,n)=>{"use strict";function r(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}n.d(t,{q:()=>r})},49414:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var r=n(34023),i=n(88018),a=n(99097),o=n(73451);function s(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:s,floatingId:l,nested:u,onOpenChange:d}=e,c=t.useState("open"),f=t.useState("activeTriggerElement"),p=t.useState(n?"popupElement":"positionerElement"),h=t.context.triggerElements,m=r.useRef(null);void 0===s&&null===m.current&&(m.current=new o.K({open:c,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:h,onOpenChange:d,floatingId:l,syncOnly:!0,nested:u}));let g=s??m.current;return t.useSyncedValue("floatingId",l),(0,i.g)(()=>{let e={open:c,floatingId:l,referenceElement:f,floatingElement:p};(0,a.vq)(f)&&(e.domReferenceElement=f),g.state.positionReference===g.state.referenceElement&&(e.positionReference=f),g.update(e)},[c,l,f,p,g]),g.context.onOpenChange=d,g.context.nested=u,g}},49542:(e,t,n)=>{"use strict";n.d(t,{m:()=>l});var r=n(52883);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}var a=n(71987),o=n(26427),s=n(21203);function l(e,t,n){let[r,l]=(0,a.x)(n?.in,e,t),u=(0,s.o)(r),d=(0,s.o)(l);return Math.round((u-i(u)-(d-i(d)))/o.w4)}},49754:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,a:()=>a});let r={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},i={...r,position:"fixed",top:0,left:0},a={...r,position:"absolute"}},50072:(e,t,n)=>{"use strict";n.d(t,{FJ:()=>C,Fu:()=>K,J8:()=>L,QX:()=>_,T5:()=>D,c4:()=>h,ko:()=>R,me:()=>S,vH:()=>F});var r=n(34023),i=n(56742),a=n(65200);function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;let l="NOT_LOADED",u="LOADED",d="AUTH_FAILURE";class c{static load(e,t){return s(this,void 0,void 0,function*(){var n,r;let i=e.libraries?e.libraries.split(","):[],a=this.serializeParams(e);this.listeners.push(t),(null==(r=null==(n=window.google)?void 0:n.maps)?void 0:r.importLibrary)?(this.serializedApiParams||(this.loadingStatus=u),this.notifyLoadingStatusListeners()):(this.serializedApiParams=a,this.initImportLibrary(e)),this.serializedApiParams&&this.serializedApiParams!==a&&console.warn("[google-maps-api-loader] The maps API has already been loaded with different parameters and will not be loaded again. Refresh the page for new values to have effect.");let o=["maps",...i];yield Promise.all(o.map(e=>google.maps.importLibrary(e)))})}static serializeParams(e){return[e.v,e.key,e.language,e.region,e.authReferrerPolicy,e.solutionChannel].join("/")}static initImportLibrary(e){if(window.google||(window.google={}),window.google.maps||(window.google.maps={}),window.google.maps.importLibrary)return void console.error("[google-maps-api-loader-internal]: initImportLibrary must only be called once");let t=null,n=()=>t||(t=new Promise((t,n)=>{var r;let i=document.createElement("script"),a=new URLSearchParams;for(let[t,n]of Object.entries(e)){let e=t.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase());a.set(e,String(n))}a.set("loading","async"),a.set("callback","__googleMapsCallback__"),i.async=!0,i.src="https://maps.googleapis.com/ma
22ps/api/js?"+a.toString(),i.nonce=(null==(r=document.querySelector("script[nonce]"))?void 0:r.nonce)||"",i.onerror=()=>{this.loadingStatus="FAILED",this.notifyLoadingStatusListeners(),n(Error("The Google Maps JavaScript API could not load."))},window.__googleMapsCallback__=()=>{this.loadingStatus=u,this.notifyLoadingStatusListeners(),t()},window.gm_authFailure=()=>{this.loadingStatus=d,this.notifyLoadingStatusListeners()},this.loadingStatus="LOADING",this.notifyLoadingStatusListeners(),document.head.append(i)}));google.maps.importLibrary=e=>n().then(()=>google.maps.importLibrary(e))}static notifyLoadingStatusListeners(){for(let e of this.listeners)e(this.loadingStatus)}}c.loadingStatus=l,c.listeners=[];let f=["gmp_visgl_reactgooglemaps_v1.7.1"],p=r.createContext(null),h=e=>{let{children:t}=e,n=o(e,["children"]),{mapInstances:i,addMapInstance:a,removeMapInstance:l,clearMapInstances:u}=function(){let[e,t]=(0,r.useState)({});return{mapInstances:e,addMapInstance:(e,n="default")=>{t(t=>Object.assign(Object.assign({},t),{[n]:e}))},removeMapInstance:(e="default")=>{t(t=>(t[e],o(t,["symbol"==typeof e?e:e+""])))},clearMapInstances:()=>{t({})}}}(),{status:d,loadedLibraries:h,importLibrary:m}=function(e){let{onLoad:t,onError:n,apiKey:i,version:a,libraries:l=[]}=e,u=o(e,["onLoad","onError","apiKey","version","libraries"]),[d,f]=(0,r.useState)(c.loadingStatus),[p,h]=(0,r.useReducer)((e,t)=>e[t.name]?e:Object.assign(Object.assign({},e),{[t.name]:t.value}),{}),m=(0,r.useMemo)(()=>null==l?void 0:l.join(","),[l]),g=(0,r.useMemo)(()=>JSON.stringify(Object.assign({apiKey:i,version:a},u)),[i,a,u]),v=(0,r.useCallback)(e=>s(this,void 0,void 0,function*(){var t;if(p[e])return p[e];if(!(null==(t=null==google?void 0:google.maps)?void 0:t.importLibrary))throw Error("[api-provider-internal] importLibrary was called before google.maps.importLibrary was defined.");let n=yield window.google.maps.importLibrary(e);return h({name:e,value:n}),n}),[p]);return(0,r.useEffect)(()=>{s(this,void 0,void 0,function*(){try{let e=Object.assign({key:i},u);for(let t of(a&&(e.v=a),(null==m?void 0:m.length)>0&&(e.libraries=m),(void 0===e.channel||e.channel<0||e.channel>999)&&delete e.channel,void 0===e.solutionChannel?e.solutionChannel="GMP_visgl_rgmlibrary_v1_default":""===e.solutionChannel&&delete e.solutionChannel,yield c.load(e,e=>f(e)),["core","maps",...l]))yield v(t);t&&t()}catch(e){n?n(e):console.error("<ApiProvider> failed to load the Google Maps JavaScript API",e)}})},[i,m,g]),{status:d,loadedLibraries:p,importLibrary:v}}(n),g=(0,r.useMemo)(()=>n.disableUsageAttribution?null:f,[n.disableUsageAttribution]),v=(0,r.useMemo)(()=>({mapInstances:i,addMapInstance:a,removeMapInstance:l,clearMapInstances:u,status:d,loadedLibraries:h,importLibrary:m,internalUsageAttributionIds:g}),[i,a,l,u,d,h,m,g]);return r.createElement(p.Provider,{value:v},t)},m={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mousemove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},g=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],v=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],y=Object.keys(m);function b(e,t){let n,i=(n=(0,r.useRef)(void 0),(0,r.useEffect)(()=>{n.current=e}),n.current);return(0,r.useMemo)(()=>i&&t(i,e)?i:e,[e,i,t])}let x=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapT
22ypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function w(){var e;return(null==(e=(0,r.useContext)(p))?void 0:e.status)||l}function S(e,t){if(!e||!t)return!1;let n=k(e),r=k(t);return n.lat===r.lat&&n.lng===r.lng}function k(e){return e&&"object"==typeof e&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)?e:e.toJSON()}let E=()=>r.createElement("div",{style:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"}},r.createElement("h2",null,"Error: AuthFailure"),r.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",r.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details."));class ${static has(e){return this.entries[e]&&this.entries[e].length>0}static pop(e){return this.entries[e]&&this.entries[e].pop()||null}static push(e,t){this.entries[e]||(this.entries[e]=[]),this.entries[e].push(t)}}$.entries={};let _=r.createContext(null),C={VECTOR:"VECTOR",RASTER:"RASTER",UNINITIALIZED:"UNINITIALIZED"},D=e=>{let t,n,i,s,l,c,{children:f,id:h,className:S,style:C}=e,D=(0,r.useContext)(p),I=w();if(!D)throw Error("<Map> can only be used inside an <ApiProvider> component.");let[R,T,P]=function(e,t){let n,i,a=w()===u,[s,l]=(0,r.useState)(null),[d,c]=function(){let[e,t]=(0,r.useState)(null);return[e,(0,r.useCallback)(e=>t(e),[t])]}(),f=(n=function(){let[,e]=(0,r.useReducer)(e=>e+1,0);return e}(),i=(0,r.useRef)({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0}),(0,r.useEffect)(()=>{if(!s)return;let e=google.maps.event.addListener(s,"bounds_changed",()=>{let e,t,r,a,o;e=s.getCenter(),t=s.getZoom(),r=s.getHeading()||0,a=s.getTilt()||0,o=s.getBounds(),e&&o&&Number.isFinite(t)||console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(i.current,{center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:t||0,heading:r,tilt:a}),n()});return()=>e.remove()},[s,n]),i),{id:p,defaultBounds:h,defaultCenter:m,defaultZoom:g,defaultHeading:v,defaultTilt:y,reuseMaps:b,renderingType:x,colorScheme:S}=e,k=o(e,["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"]),E=void 0!==e.zoom||void 0!==e.defaultZoom,_=void 0!==e.center||void 0!==e.defaultCenter;h||E&&_||console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!k.center&&m&&(k.center=m),!k.zoom&&Number.isFinite(g)&&(k.zoom=g),!k.heading&&Number.isFinite(v)&&(k.heading=v),!k.tilt&&Number.isFinite(y)&&(k.tilt=y);let C=k.internalUsageAttributionIds;for(let e of(null==C?k.internalUsageAttributionIds=t.internalUsageAttributionIds:k.internalUsageAttributionIds=[...t.internalUsageAttributionIds||[],...C],Object.keys(k)))void 0===k[e]&&delete k[e];let D=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{let n,r;if(!d||!a)return;let{addMapInstance:i,removeMapInstance:s}=t,{mapId:u}=e,c=`${u||"default"}:${x||"default"}:${S||"LIGHT"}`;if(b&&$.has(c)?(n=(r=$.pop(c)).getDiv(),d.appendChild(n),r.setOptions(k),setTimeout(()=>r.setCenter(r.getCenter()),0)):((n=document.createElement("div")).style.height="100%",d.appendChild(n),r=new google.maps.Map(n,Object.assign(Object.assign(Object.assign({},k),x?{renderingType:x}:{}),S?{colorScheme:S}:{}))),l(r),i(r,p),h){let{padding:e}=h,t=o(h,["padding"]);r.fitBounds(t,e)}else E&&_||r.fitBounds({east:180,west:-180,south:-90,north:90});if(D.current){let{mapId:e,cameraState:t}=D.current;e!==u&&r.setOptions(t)}return()=>{D.current={mapId:u,cameraState:f.current},n.remove(),b?$.push(c,r):google.maps.event.clearInstanceListeners(r),l(null),s(p)}},[d,a,p,e.mapId,e.renderingType,e.colorScheme]),[s,c,f]}(e,D);for(let a of(t=e.center?k(e.center):null,n=null,i=null,t&&Number.isFinite(t.lat)&&Number.isFinite(t.lng)&&(n=t.lat,i=t.lng),s=Number.isFinite(e.zoom)?e.zoom:null,l=Number.isFinite(e.heading)?e.heading:null,c=Number.isFinite(e.tilt)?e.tilt:null,(0,r.useLayoutEffect)(()=>
22{if(!R)return;let e={},t=!1;null!==n&&null!==i&&(P.current.center.lat!==n||P.current.center.lng!==i)&&(e.center={lat:n,lng:i},t=!0),null!==s&&P.current.zoom!==s&&(e.zoom=s,t=!0),null!==l&&P.current.heading!==l&&(e.heading=l,t=!0),null!==c&&P.current.tilt!==c&&(e.tilt=c,t=!0),t&&R.moveCamera(e)}),y)){let t=e[a],n=m[a];(0,r.useEffect)(()=>{if(!R||!t)return;let e=google.maps.event.addListener(R,n,e=>{t(function(e,t,n){var r;let i={type:e,map:t,detail:{},stoppable:!1,stop:()=>{}};if(g.includes(e)){let e=t.getCenter(),n=t.getZoom(),r=t.getHeading()||0,a=t.getTilt()||0,o=t.getBounds();return e&&o&&Number.isFinite(n)||console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),i.detail={center:(null==e?void 0:e.toJSON())||{lat:0,lng:0},zoom:n||0,heading:r,tilt:a,bounds:(null==o?void 0:o.toJSON())||{north:90,east:180,south:-90,west:-180}},i}if(v.includes(e)){if(!n)throw Error("[createEvent] mouse events must provide a srcEvent");return i.domEvent=n.domEvent,i.stoppable=!0,i.stop=()=>n.stop(),i.detail={latLng:(null==(r=n.latLng)?void 0:r.toJSON())||null,placeId:n.placeId},i}return i}(n,R,e))});return()=>e.remove()},[R,n,t])}!function(e,t){var n,i;let o={};for(let e of Object.keys(t))x.has(e)&&(o[e]=t[e]);n=()=>{e&&e.setOptions(o)},i=[o],(0,r.useEffect)(n,[b(i,a)])}(R,e);let O=function(e,t){let{viewport:n,viewState:i}=t;return(0,r.useLayoutEffect)(()=>{if(!e||!i)return;let{latitude:t,longitude:n,bearing:r,pitch:a,zoom:o}=i;e.moveCamera({center:{lat:t,lng:n},heading:r,tilt:a,zoom:o+1})},[e,i]),!!n}(R,e),A=!!e.controlled;(0,r.useEffect)(()=>{if(R)return O&&R.setOptions({disableDefaultUI:!0}),(O||A)&&R.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{R.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}},[R,O,A,e.gestureHandling,e.keyboardShortcuts]);let j=e.center?k(e.center):null,z=null,N=null;j&&Number.isFinite(j.lat)&&Number.isFinite(j.lng)&&(z=j.lat,N=j.lng);let M=(0,r.useMemo)(()=>{var t,n,r;return{center:{lat:null!=z?z:0,lng:null!=N?N:0},zoom:null!=(t=e.zoom)?t:0,heading:null!=(n=e.heading)?n:0,tilt:null!=(r=e.tilt)?r:0}},[z,N,e.zoom,e.heading,e.tilt]);(0,r.useLayoutEffect)(()=>{if(!R||!A)return;R.moveCamera(M);let e=R.addListener("bounds_changed",()=>{R.moveCamera(M)});return()=>e.remove()},[R,A,M]);let L=(0,r.useMemo)(()=>Object.assign({width:"100%",height:"100%",position:"relative",zIndex:O?-1:0},C),[C,O]),F=(0,r.useMemo)(()=>({map:R}),[R]);return I===d?r.createElement("div",{style:Object.assign({position:"relative"},S?{}:L),className:S},r.createElement(E,null)):r.createElement("div",Object.assign({ref:T,"data-testid":"map",style:S?void 0:L,className:S},h?{id:h}:{}),R?r.createElement(_.Provider,{value:F},f):null)};D.deckGLViewProps=!0;let I=new Set,R=(e=null)=>{let t=(0,r.useContext)(p),{map:n}=(0,r.useContext)(_)||{};if(null===t)return!function(...e){let t=JSON.stringify(e);I.has(t)||(I.add(t),console.error(...e))}("useMap(): failed to retrieve APIProviderContext. Make sure that the <APIProvider> component exists and that the component you are calling `useMap()` from is a sibling of the <APIProvider>."),null;let{mapInstances:i}=t;return null!==e?i[e]||null:n||i.default||null};function T(e){let t=w()===u,n=(0,r.useContext)(p);return(0,r.useEffect)(()=>{t&&n&&n.importLibrary(e)},[t,n,e]),(null==n?void 0:n.loadedLibraries[e])||null}function P(e,t,n){(0,r.useEffect)(()=>{if(!e||!t||!n)return;let r=google.maps.event.addListener(e,t,n);return()=>r.remove()},[e,t,n])}function O(e,t,n){(0,r.useEffect)(()=>{e&&(e[t]=n)},[e,t,n])}function A(e,t,n){(0,r.useEffect)(()=>{if(e&&t&&n)return e.addEventListener(t,n),()=>e.removeEventListener(t,n)},[e,t,n])}class j{constructor(){this.renderedStyles=new Set,this.styleElement=null}getStyleElement(){return this.styleElement||(this.styleElement=document.createElement("style"),this.styleElement.setAttribute("data-rgm-anchor-styles",""),document.head.appendChild(this.styleElement)),this.styleElement}addAdvancedMarkerPointerEventsOverwrite(){if(this.renderedStyles.has("marker-pointer-events"))return;let e=this.getStyleElement();e.textContent+=`
23      gmp-advanced-marker[data-origin='rgm'] {
24        pointer-events: none !important;
25      }
26    `,this.renderedStyles.add("marker-pointer-events")}cleanup(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null,this.renderedStyles.clear())}}let z=new j,N=r.createContext(null),M=["50%","100%"],L=(0,r.forwardRef)((e,t)=>{let{children:n,style:a,className:o,anchorPoint:s}=e,[l,u]=function(e){var t,n,i,a,o;let[s,l]=(0,r.useState)(null),[u,d]=(0,r.useState)(null),c=R(),f=T("marker"),{children:p,onClick:h,className:m,onMouseEnter:g,onMouseLeave:v,onDrag:y,onDragStart:b,onDragEnd:x,collisionBehavior:w,clickable:S,draggable:k,position:E,title:$,zIndex:_,anchorPoint:C,anch
26orLeft:D,anchorTop:I}=e,j=r.Children.count(p);return(0,r.useEffect)(()=>{if(!c||!f)return;let e=new f.AdvancedMarkerElement;e.map=c,l(e);let t=null;return j>0&&(e.content=t=document.createElement("div"),d(t)),()=>{e.map=null,null==t||t.remove(),l(null),d(null)}},[c,f,j]),(0,r.useEffect)(()=>{(null==s?void 0:s.content)&&U(s.content)&&!(j>0)&&(s.content.className=null!=m?m:"")},[s,m,j]),t=s,n=C,i=D,a=I,o=j>0,(0,r.useEffect)(()=>{if(!t||!o)return;let e=function(){var e;if(!(null==(e=null==google?void 0:google.maps)?void 0:e.version))return;let t=google.maps.version.split("."),n=parseInt(t[0],10),r=parseInt(t[1],10);return n>3||3===n&&r>=62}(),r=t.content;if(r&&U(r)){if(void 0!==i||void 0!==a){e||console.warn(`AdvancedMarker: The anchorLeft and anchorTop props are only supported in Google Maps API version 3.62 and above. The current version is ${google.maps.version}.`),t.anchorLeft=i,t.anchorTop=a,void 0!==n&&console.warn("AdvancedMarker: the anchorPoint prop is ignored when anchorLeft and/or anchorTop are set.");return}if(void 0!==n){let[i,a]=null!=n?n:M,o=`calc(-1 * ${i})`,s=`calc(-1 * ${a})`;e?(t.anchorLeft=o,t.anchorTop=s,r.style.transform=""):(r.style.transform=`translate(50%, 100%) translate(${o}, ${s})`,t.dataset.origin="rgm",z.addAdvancedMarkerPointerEventsOverwrite())}}},[t,n,i,a,o]),O(s,"position",E),O(s,"title",null!=$?$:""),O(s,"zIndex",_),O(s,"collisionBehavior",w),(0,r.useEffect)(()=>{s&&(void 0!==k?s.gmpDraggable=k:y||b||x?s.gmpDraggable=!0:s.gmpDraggable=!1)},[s,k,y,x,b]),(0,r.useEffect)(()=>{if(!s)return;let e=void 0!==S||!!h||!!g||!!v;s.gmpClickable=e,e&&(null==s?void 0:s.content)&&U(s.content)&&(s.content.style.pointerEvents="all",h&&(s.content.style.cursor="pointer"))},[s,S,h,g,v]),P(s,"click",h),P(s,"drag",y),P(s,"dragstart",b),P(s,"dragend",x),A(null==s?void 0:s.element,"mouseenter",g),A(null==s?void 0:s.element,"mouseleave",v),[s,u]}(e),d=(0,r.useMemo)(()=>l?{marker:l}:null,[l]);return((0,r.useImperativeHandle)(t,()=>l,[l]),u)?r.createElement(N.Provider,{value:d},(0,i.createPortal)(r.createElement(B,{anchorPoint:s,styles:a,className:o},n),u)):null});function F(){let[e,t]=(0,r.useState)(null);return[(0,r.useCallback)(e=>{t(e)},[]),e]}function U(e){return e.nodeType===Node.ELEMENT_NODE}L.displayName="AdvancedMarker";let B=({children:e,styles:t,className:n})=>r.createElement("div",{className:n,style:t},e);function V(e,t,n){var r;let i=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?i?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":i?e.setProperty(t,n):"number"!=typeof n||0===n||(r=t,Z.has(r))?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}let Z=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth"]),K=e=>{let{children:t,headerContent:n,style:s,className:l,pixelOffset:u,anchor:d,shouldFocus:c,onClose:f,onCloseClick:p}=e,h=o(e,["children","headerContent","style","className","pixelOffset","anchor","shouldFocus","onClose","onCloseClick"]),m=T("maps"),[g,v]=(0,r.useState)(null),y=(0,r.useRef)(null),x=(0,r.useRef)(null),w=b(h,a);(0,r.useEffect)(()=>{if(!m)return;y.current=document.createElement("div"),x.current=document.createElement("div"),u&&(w.pixelOffset=new google.maps.Size(u[0],u[1])),n&&(w.headerContent="string"==typeof n?n:x.current);let e=new google.maps.InfoWindow(w);return e.setContent(y.current),v(e),()=>{var t,n;e.setContent(null),null==(t=y.current)||t.remove(),null==(n=x.current)||n.remove(),y.current=null,x.current=null,v(null)}},[m]);let S=(0,r.useRef)(null);(0,r.useEffect)(()=>{g&&y.current&&(!function(e,t,n){if(null!=t&&"object"!=typeof t)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");let r=e.style;if(null==n){if(null==t)return;for(let e in t)t.hasOwnProperty(e)&&V(r,e,t[e]);return}for(let e in n)n.hasOwnProperty(e)&&(null==t||!t.hasOwnProperty(e))&&(0===e.indexOf("--")?r.setProperty(e,""):"float"===e?r.cssFloat="":r[e]="");if(null!=t)for(let e in t){let i=t[e];t.hasOwnProperty(e)&&n[e]!==i&&V(r,e,i)}}(y.current,s||null,S.current),S.current=s||null,l!==y.current.className&&(y.current.className=l||""))},[g,l,s]),(0,r.useEffect)(()=>{g&&(u?w.pixelOffset=new google.maps.Size(u[0],u[1]):w.pixelOffset=null,n?w.headerContent="string"==typeof n?n:x.current:w.headerContent=null,g.setOptions(w))},[w,u,n]),P(g,"close",f),P(g,"closeclick",p);let k=R();return(0,r.useEffect)(()=>{var e;if(!k||!g||null===d)return;let t=!!d,n={map:k};if(d&&(n.anchor=d,void 0!==d.content&&d.content instanceof Element)){let t=null==d?void 0:d.getBoundingClientRect();
26if(t&&"rgm"===d.dataset.origin){let n=null==(e=d.content.firstElementChild)?void 0:e.firstElementChild,r=null==n?void 0:n.getBoundingClientRect(),i=r.x-t.x+(r.width-t.width)/2,a=r.y-t.y;w.pixelOffset=new google.maps.Size(u?u[0]+i:i,u?u[1]+a:a),g.setOptions(w)}}return void 0!==c&&(n.shouldFocus=c),g.open(n),()=>{t&&g.set("anchor",null),g.close()}},[g,d,k,c,w,u]),r.createElement(r.Fragment,null,y.current&&(0,i.createPortal)(t,y.current),null!==x.current&&(0,i.createPortal)(n,x.current))};(0,r.forwardRef)((e,t)=>{let n=function(e){let[t,n]=(0,r.useState)(null),i=R(),{onClick:a,onDrag:s,onDragStart:l,onDragEnd:u,onMouseOver:d,onMouseOut:c}=e,f=o(e,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"]),{position:p,draggable:h}=f;return(0,r.useEffect)(()=>{if(!i){void 0===i&&console.error("<Marker> has to be inside a Map component.");return}let e=new google.maps.Marker(f);return e.setMap(i),n(e),()=>{e.setMap(null),n(null)}},[i]),(0,r.useEffect)(()=>{if(!t)return;let e=google.maps.event;return a&&e.addListener(t,"click",a),s&&e.addListener(t,"drag",s),l&&e.addListener(t,"dragstart",l),u&&e.addListener(t,"dragend",u),d&&e.addListener(t,"mouseover",d),c&&e.addListener(t,"mouseout",c),t.setDraggable(!!h),()=>{e.clearInstanceListeners(t)}},[t,h,a,s,l,u,d,c]),(0,r.useEffect)(()=>{t&&f&&t.setOptions(f)},[t,f]),(0,r.useEffect)(()=>{!h&&p&&t&&t.setPosition(p)},[h,p,t]),t}(e);return(0,r.useImperativeHandle)(t,()=>n,[n]),r.createElement(r.Fragment,null)}).displayName="Marker"},50257:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(34023),i=n(56742),a=n(39739),o=n(98004),s=n(94799),l=r.forwardRef((e,t)=>{let{container:n,...l}=e,[u,d]=r.useState(!1);(0,o.N)(()=>d(!0),[]);let c=n||u&&globalThis?.document?.body;return c?i.createPortal((0,s.jsx)(a.sG.div,{...l,ref:t}),c):null});l.displayName="Portal"},50360:(e,t,n)=>{"use strict";n.d(t,{U:()=>a,a:()=>i});var r=n(45753);function i(e,t,n,i){var a,l,u,d,c;let f=(0,r.j)(o).current;return a=f,l=e,u=t,d=n,c=i,(a.refs[0]!==l||a.refs[1]!==u||a.refs[2]!==d||a.refs[3]!==c)&&s(f,[e,t,n,i]),f.callback}function a(e){var t,n;let i=(0,r.j)(o).current;return t=i,n=e,(t.refs.length!==n.length||t.refs.some((e,t)=>e!==n[t]))&&s(i,e),i.callback}function o(){return{callback:null,cleanup:null,refs:[]}}function s(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(null!=i)switch(typeof i){case"function":{let t=i(n);"function"==typeof t&&(r[e]=t);break}case"object":i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}},50596:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var r=n(2713),i=n(34023);let a=0,o=new Map;function s(e){let[t,n]=(0,i.useState)();return(0,r.N)(()=>{if(!e)return;let t=o.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${a++}`;n(r);let i=document.createElement("div");i.id=r,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},o.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),o.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}},51173:(e,t,n)=>{"use strict";n.d(t,{s:()=>f});var r=n(23416),i=n(28325),a=n(34562),o=n(15957),s=n(59496);function l(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&n.stopPropagation()}}var u=n(14926),d=n(34023);let c=d.createContext(null);function f(e,t){let n,{elementType:f="button",isDisabled:p,onPress:h,onPressStart:m,onPressEnd:g,onPressUp:v,onPressChange:y,preventFocusOnPress:b,allowFocusWhenDisabled:x,onClick:w,href:S,target:k,rel:E,type:$="button"}=e;n="button"===f?{type:$,disabled:p,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==f||p?void 0:S,target:"a"===f?k:void 0,type:"input"===f?$:void 0,disabled:"input"===f?p:void 0,"aria-disabled":p&&"input"!==f?p:void 0,rel:"a"===f?E:void 0};let{pressProps:_,isPressed:C}=(0,a.d)({onPressStart:m,onPressEnd:g,onPressChange:y,onPress:h,onPressUp:v,onClick:w,isDisabled:p,preventFocusOnPress:b,ref:t}),{focusableProps:D}=function(e,t){let{focusProps:n}=(0,s.i)(e),{keyboardProps:i}={keyboardProps:e.isDisabled?{}:{onKeyDown:l(e.onKeyDown),onKeyUp:l(e.onKeyUp)}},a=(0,r.v)(n,i),f=function(e){let t=(0,d.useContext)(c)||{};(0,u.w)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:f,h=(0,d.useRef)(e.autoFocus);(0,d.useEffect)(()=>{h.current&&t.current&&(0,o.l)(t.current),h.current=!1},[t]);let m=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(m=void 0),{focusableProps:(0,r.v)({...a,tabIndex:m},p)}}(e,t);x&&(D.tabIndex=p?-1:D.tabIndex);let I=(0,r.v)(D,_,(0,i.$)(e,{labelable:!0}));return{isPressed:C,buttonProps:(0,r.v)(n,I,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}},51355:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(91939);function i(e){return(0,r.G)("dialog",e)}},51407:(e,t,n)=>{"use strict";function r(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}n.d(t,{q:()=>r})},51700:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(72909);let i=(e,t,n)=>{if(e&&"reportValidity"in e){let i=(0,r.Jt)(n,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},a=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?i(r.ref,n,e):r&&r.refs&&r.refs.forEac
26h(t=>i(t,n,e))}},o=(e,t)=>{t.shouldUseNativeValidation&&a(e,t);let n={};for(let i in e){let a=(0,r.Jt)(t.fields,i),o=Object.assign(e[i]||{},{ref:a&&a.ref});if(s(t.names||Object.keys(e),i)){let e=Object.assign({},(0,r.Jt)(n,i));(0,r.hZ)(e,"root",o),(0,r.hZ)(n,i,e)}else(0,r.hZ)(n,i,o)}return n},s=(e,t)=>{let n=l(t);return e.some(e=>l(e).match(`^${n}\\.\\d+`))};function l(e){return e.replace(/\]|\[/g,"")}var u=n(72821);function d(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function c(e,t,n){if(void 0===n&&(n={}),"_def"in e&&"object"==typeof e._def&&"typeName"in e._def)return function(i,s,l){try{return Promise.resolve(d(function(){return Promise.resolve(e["sync"===n.mode?"parse":"parseAsync"](i,t)).then(function(e){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:n.raw?Object.assign({},i):e}})},function(e){if(Array.isArray(null==e?void 0:e.issues))return{values:{},errors:o(function(e,t){for(var n={};e.length;){var i=e[0],a=i.code,o=i.message,s=i.path.join(".");if(!n[s])if("unionErrors"in i){var l=i.unionErrors[0].errors[0];n[s]={message:l.message,type:l.code}}else n[s]={message:o,type:a};if("unionErrors"in i&&i.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=n[s].types,d=u&&u[i.code];n[s]=(0,r.Gb)(s,t,n,a,d?[].concat(d,i.message):i.message)}e.shift()}return n}(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};if("_zod"in e&&"object"==typeof e._zod)return function(i,s,l){try{return Promise.resolve(d(function(){return Promise.resolve(("sync"===n.mode?u.parse:u.parseAsync)(e,i,t)).then(function(e){return l.shouldUseNativeValidation&&a({},l),{errors:{},values:n.raw?Object.assign({},i):e}})},function(e){if(e instanceof u.$ZodError)return{values:{},errors:o(function(e,t){for(var n={};e.length;){var i=e[0],a=i.code,o=i.message,s=i.path.join(".");if(!n[s])if("invalid_union"===i.code&&i.errors.length>0){var l=i.errors[0][0];n[s]={message:l.message,type:l.code}}else n[s]={message:o,type:a};if("invalid_union"===i.code&&i.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),t){var u=n[s].types,d=u&&u[i.code];n[s]=(0,r.Gb)(s,t,n,a,d?[].concat(d,i.message):i.message)}e.shift()}return n}(e.issues,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}};throw Error("Invalid input: not a Zod schema")}},51987:(e,t,n)=>{"use strict";n.d(t,{VY:()=>X,Kq:()=>H,bL:()=>Y,LM:()=>J});var r=n(34023),i=n(56742),a=n(82669),o=n(34233),s=n(78512),l=n(17069),u=n(6964),d=n(50257),c=n(97765),f=n(39739),p=n(12789),h=n(66825),m=n(98004),g=n(94799),v=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),y=r.forwardRef((e,t)=>(0,g.jsx)(f.sG.span,{...e,ref:t,style:{...v,...e.style}}));y.displayName="VisuallyHidden";var b="ToastProvider",[x,w,S]=(0,s.N)("Toast"),[k,E]=(0,l.A)("Toast",[S]),[$,_]=k(b),C=e=>{let{__scopeToast:t,label:n="Notification",duration:i=5e3,swipeDirection:a="right",swipeThreshold:o=50,children:s}=e,[l,u]=r.useState(null),[d,c]=r.useState(0),f=r.useRef(!1),p=r.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${b}\`. Expected non-empty \`string\`.`),(0,g.jsx)(x.Provider,{scope:t,children:(0,g.jsx)($,{scope:t,label:n,duration:i,swipeDirection:a,swipeThreshold:o,toastCount:d,viewport:l,onViewportChange:u,onToastAdd:r.useCallback(()=>c(e=>e+1),[]),onToastRemove:r.useCallback(()=>c(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:s})})};C.displayName=b;var D="ToastViewport",I=["F8"],R="toast.viewportPause",T="toast.viewportResume",P=r.forwardRef((e,t)=>{let{__scopeToast:n,hotkey:i=I,label:a="Notifications ({hotkey})",...s}=e,l=_(D,n),d=w(n),c=r.useRef(null),p=r.useRef(null),h=r.useRef(null),m=r.useRef(null),v=(0,o.s)(t,m,l.onViewportChange),y=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=l.toastCount>0;r.useEffect(()=>{let e=e=>{0!==i.length&&i.every(t=>e[t]||e.code===t)&&m.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),r.useEffect(()=>
26{let e=c.current,t=m.current;if(b&&e&&t){let n=()=>{if(!l.isClosePausedRef.current){let e=new CustomEvent(R);t.dispatchEvent(e),l.isClosePausedRef.current=!0}},r=()=>{if(l.isClosePausedRef.current){let e=new CustomEvent(T);t.dispatchEvent(e),l.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||r()},a=()=>{e.contains(document.activeElement)||r()};return e.addEventListener("focusin",n),e.addEventListener("focusout",i),e.addEventListener("pointermove",n),e.addEventListener("pointerleave",a),window.addEventListener("blur",n),window.addEventListener("focus",r),()=>{e.removeEventListener("focusin",n),e.removeEventListener("focusout",i),e.removeEventListener("pointermove",n),e.removeEventListener("pointerleave",a),window.removeEventListener("blur",n),window.removeEventListener("focus",r)}}},[b,l.isClosePausedRef]);let S=r.useCallback(({tabbingDirection:e})=>{let t=d().map(t=>{let n=t.ref.current,r=[n,...function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}(n)];return"forwards"===e?r:r.reverse()});return("forwards"===e?t.reverse():t).flat()},[d]);return r.useEffect(()=>{let e=m.current;if(e){let t=t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r)return void p.current?.focus();let i=S({tabbingDirection:r?"backwards":"forwards"}),a=i.findIndex(e=>e===n);G(i.slice(a+1))?t.preventDefault():r?p.current?.focus():h.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[d,S]),(0,g.jsxs)(u.lg,{ref:c,role:"region","aria-label":a.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&(0,g.jsx)(A,{ref:p,onFocusFromOutsideViewport:()=>{G(S({tabbingDirection:"forwards"}))}}),(0,g.jsx)(x.Slot,{scope:n,children:(0,g.jsx)(f.sG.ol,{tabIndex:-1,...s,ref:v})}),b&&(0,g.jsx)(A,{ref:h,onFocusFromOutsideViewport:()=>{G(S({tabbingDirection:"backwards"}))}})]})});P.displayName=D;var O="ToastFocusProxy",A=r.forwardRef((e,t)=>{let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=_(O,n);return(0,g.jsx)(y,{tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:e=>{let t=e.relatedTarget;a.viewport?.contains(t)||r()}})});A.displayName=O;var j="Toast",z=r.forwardRef((e,t)=>{let{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[l,u]=(0,h.i)({prop:r,defaultProp:i??!0,onChange:o,caller:j});return(0,g.jsx)(c.C,{present:n||l,children:(0,g.jsx)(L,{open:l,...s,ref:t,onClose:()=>u(!1),onPause:(0,p.c)(e.onPause),onResume:(0,p.c)(e.onResume),onSwipeStart:(0,a.mK)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,a.mK)(e.onSwipeMove,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${n}px`)}
26),onSwipeCancel:(0,a.mK)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,a.mK)(e.onSwipeEnd,e=>{let{x:t,y:n}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${n}px`),u(!1)})})})});z.displayName=j;var[N,M]=k(j,{onClose(){}}),L=r.forwardRef((e,t)=>{let{__scopeToast:n,type:s="foreground",duration:l,open:d,onClose:c,onEscapeKeyDown:h,onPause:m,onResume:v,onSwipeStart:y,onSwipeMove:b,onSwipeCancel:w,onSwipeEnd:S,...k}=e,E=_(j,n),[$,C]=r.useState(null),D=(0,o.s)(t,e=>C(e)),I=r.useRef(null),P=r.useRef(null),O=l||E.duration,A=r.useRef(0),z=r.useRef(O),M=r.useRef(0),{onToastAdd:L,onToastRemove:U}=E,B=(0,p.c)(()=>{$?.contains(document.activeElement)&&E.viewport?.focus(),c()}),V=r.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(M.current),A.current=new Date().getTime(),M.current=window.setTimeout(B,e))},[B]);r.useEffect(()=>{let e=E.viewport;if(e){let t=()=>{V(z.current),v?.()},n=()=>{let e=new Date().getTime()-A.current;z.current=z.current-e,window.clearTimeout(M.current),m?.()};return e.addEventListener(R,n),e.addEventListener(T,t),()=>{e.removeEventListener(R,n),e.removeEventListener(T,t)}}},[E.viewport,O,m,v,V]),r.useEffect(()=>{d&&!E.isClosePausedRef.current&&V(O)},[d,O,E.isClosePausedRef,V]),r.useEffect(()=>(L(),()=>U()),[L,U]);let Z=r.useMemo(()=>$?function e(t){let n=[];return Array.from(t.childNodes).forEach(t=>{var r;if(t.nodeType===t.TEXT_NODE&&t.textContent&&n.push(t.textContent),(r=t).nodeType===r.ELEMENT_NODE){let r=t.ariaHidden||t.hidden||"none"===t.style.display,i=""===t.dataset.radixToastAnnounceExclude;if(!r)if(i){let e=t.dataset.radixToastAnnounceAlt;e&&n.push(e)}else n.push(...e(t))}}),n}($):null,[$]);return E.viewport?(0,g.jsxs)(g.Fragment,{children:[Z&&(0,g.jsx)(F,{__scopeToast:n,role:"status","aria-live":"foreground"===s?"assertive":"polite",children:Z}),(0,g.jsx)(N,{scope:n,onClose:B,children:i.createPortal((0,g.jsx)(x.ItemSlot,{scope:n,children:(0,g.jsx)(u.bL,{asChild:!0,onEscapeKeyDown:(0,a.mK)(h,()=>{E.isFocusedToastEscapeKeyDownRef.current||B(),E.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,g.jsx)(f.sG.li,{tabIndex:0,"data-state":d?"open":"closed","data-swipe-direction":E.swipeDirection,...k,ref:D,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,a.mK)(e.onKeyDown,e=>{"Escape"===e.key&&(h?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(E.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:(0,a.mK)(e.onPointerDown,e=>{0===e.button&&(I.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,a.mK)(e.onPointerMove,e=>{if(!I.current)return;let t=e.clientX-I.current.x,n=e.clientY-I.current.y,r=!!P.current,i=["left","right"].includes(E.swipeDirection),a=["left","up"].includes(E.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,s=i?0:a(0,n),l="touch"===e.pointerType?10:2,u={x:o,y:s},d={originalEvent:e,delta:u};r?(P.current=u,q("toast.swipeMove",b,d,{discrete:!1})):W(u,E.swipeDirection,l)?(P.current=u,q("toast.swipeStart",y,d,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(n)>l)&&(I.current=null)}),onPointerUp:(0,a.mK)(e.onPointerUp,e=>{let t=P.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),P.current=null,I.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};W(t,E.swipeDirection,E.swipeThreshold)?q("toast.swipeEnd",S,r,{discrete:!0}):q("toast.swipeCancel",w,r,{discrete:!0}),n.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),E.viewport)})]}):null}),F=e=>{let{__scopeToast:t,children:n,...i}=e,a=_(j,t),[o,s]=r.useState(!1),[l,u]=r.useState(!1);return function(e=()=>{}){let t=(0,p.c)(e);(0,m.N)(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}(()=>s(!0)),r.useEffect(()=>{let e=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,g.jsx)(d.Z,{asChild:!0,children:(0,g.jsx)(y,{...i,children:o&&(0,g.jsxs)(g.Fragment,{children:[a.label," ",n]})})})};r.forwardRef((e,t)=>
26{let{__scopeToast:n,...r}=e;return(0,g.jsx)(f.sG.div,{...r,ref:t})}).displayName="ToastTitle";var U=r.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e;return(0,g.jsx)(f.sG.div,{...r,ref:t})});U.displayName="ToastDescription";var B="ToastAction";r.forwardRef((e,t)=>{let{altText:n,...r}=e;return n.trim()?(0,g.jsx)(K,{altText:n,asChild:!0,children:(0,g.jsx)(Z,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${B}\`. Expected non-empty \`string\`.`),null)}).displayName=B;var V="ToastClose",Z=r.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e,i=M(V,n);return(0,g.jsx)(K,{asChild:!0,children:(0,g.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,a.mK)(e.onClick,i.onClose)})})});Z.displayName=V;var K=r.forwardRef((e,t)=>{let{__scopeToast:n,altText:r,...i}=e;return(0,g.jsx)(f.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function q(e,t,n,{discrete:r}){let i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,f.hO)(i,a):i.dispatchEvent(a)}var W=(e,t,n=0)=>{let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return"left"===t||"right"===t?a&&r>n:!a&&i>n};function G(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var H=C,J=P,Y=z,X=U},52139:(e,t,n)=>{"use strict";n.d(t,{t:()=>u,A:()=>d});var r=n(92030);let i="u">typeof Element&&"checkVisibility"in Element.prototype;function a(e,t){return i?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=(0,r.mD)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:i}=e.style,a="none"!==n&&"hidden"!==i&&"collapse"!==i;if(a){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);a="none"!==n&&"hidden"!==r&&"collapse"!==r}return a}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||a(e.parentElement,e))}let o=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],s=o.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";o.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let l=o.join(':not([hidden]):not([tabindex="-1"]),');function u(e){return e.matches(s)&&a(e)&&!c(e)}function d(e){return e.matches(l)&&a(e)&&!c(e)}function c(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}},52159:(e,t,n)=>{"use strict";n.d(t,{I:()=>w});var r=n(34023),i=n(84505),a=n(88018),o=n(69370),s=n(92796),l=n(31262),u=n(26594),d=n(41118),c=n(94158),f=n(28410),p=n(96094),h=n(79342),m=n(21708),g=n(6665),v=n(41566),y=n(40109),b=n(94799);let x={...d.GW,...p.G},w=r.forwardRef(function(e,t){let{render:n,className:d,style:p,initialFocus:w,finalFocus:S,...k}=e,E=(0,l.Ee)(),$=(0,c.O)(),_=(0,l.ui)(),C=(0,i.P)(E,u.T.mounted),D=(0,i.P)(E,u.T.open),I=(0,i.P)(E,u.T.openMethod),R=(0,i.P)(E,u.T.popupProps),T=(0,i.P)(E,u.T.transitionStatus),P=(0,i.P)(E,u.T.inputInsidePopup),O=(0,i.P)(E,u.T.inputElement),A=(0,i.P)(E,u.T.modal),j=(0,i.P)(E,u.T.id),z=(0,y.$B)(),N=k.id??(P?(0,v.xj)(j):void 0);(0,a.g)(()=>(E.set("popupId",E.state.popupRef.current?.id||N),()=>{E.set("popupId",void 0)}),[E,N]),(0,f.v)({open:D,ref:E.state.popupRef,onComplete(){D&&E.state.onOpenChangeComplete(!0)}});let M={open:D,side:$.side,align:$.align,anchorHidden:$.anchorHidden,transitionStatus:T,empty:z},L=(0,s.o)("div",e,{state:M,ref:[t,E.state.popupRef],props:[R,{id:N,role:P?"dialog":"presentation",onFocus(e){let t=(0,h.EW)(e.nativeEvent);"touch"!==I&&((0,h.gR)(E.state.listElement,t)||t===e.currentTarget)&&E.state.inputRef.current?.focus()}},(0,m.d)(T),k],stateAttributesMapping:x}),F=!!P&&(e=>"touch"===e?E.state.popupRef.current:O),U=!P||A;return(0,b.jsx)(o.s,{context:_,disabled:!C,modal:U,openInteractionType:I,initialFocus:void 0===w?F:w,returnFocus:null!=S?S:!!P&&void 0,getInsideElements:()=>[E.state.startDismissRef.current,E.state.endDismissRef.current],children:(0,b.jsxs)(r.Fragment,{children:[L,U&&(0,b.jsx)(g.p,{ref:E.state.endDismissRef})]})})})},52276:(e,t,n)=>{"use strict";function r(e){var t;if("u"<typeof window||null==window.navigator)return!1;let n=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function i(e){var t;return"u">typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function a(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{H8:()=>c,Tc:()=>d,bh:()=>l,cX:()=>o,gm:()=>p,m0:()=>f,un:()=>u});let o=a(function(){return i(/^Mac/i)}),s=a(function(){return i(/^iPhone/i)}),l=a(function(){return i(/^iPad/i)||o()&&navigator.maxTouchPoints>1}),u=a(function(){return s()||l()});a(function(){return o()||u()});
26let d=a(function(){return r(/AppleWebKit/i)&&!c()}),c=a(function(){return r(/Chrome/i)}),f=a(function(){return r(/Android/i)}),p=a(function(){return r(/Firefox/i)})},52765:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,v:()=>l});var r=n(34023),i=n(60529);let a=e=>e;function o(e,t=a){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n}let s=e=>{let t=(0,i.y)(e),n=e=>o(t,e);return Object.assign(n,t),n},l=e=>e?s(e):s},52883:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(12307);function i(e,t){return(0,r.w)(t||e,e)}},53158:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(34023),i=n(57936);function a(e){r.useEffect(e,i.Ml)}},53344:(e,t,n)=>{"use strict";n.d(t,{t:()=>x});var r=n(34023),i=n(53158),a=n(45753),o=n(88018),s=n(94664),l=n(56721),u=n(15741),d=n(78638),c=n(30417);function f(e,t){if("string"==typeof e)return{description:e};if("function"==typeof e){let n=e(t);return"string"==typeof n?{description:n}:n}return e}var p=n(79342),h=n(62165);function m(e){let t=new Map,n=0,r=0;return e.forEach((e,i)=>{let a="ending"===e.transitionStatus;t.set(e.id,{value:e,domIndex:i,visibleIndex:a?-1:n,offsetY:r}),r+=e.height||0,a||(n+=1)}),t}function g(e,t){let n=0;return e.map(e=>{if("ending"===e.transitionStatus)return e;let r=n>=t;return n+=1,e.limited===r?e:{...e,limited:r}})}let v={toasts:e=>e.toasts,isEmpty:e=>0===e.toasts.length,toast:(e,t)=>e.toastMetadata.get(t)?.value,toastIndex:(e,t)=>e.toastMetadata.get(t)?.domIndex??-1,toastOffsetY:(e,t)=>e.toastMetadata.get(t)?.offsetY??0,toastVisibleIndex:(e,t)=>e.toastMetadata.get(t)?.visibleIndex??-1,focused:e=>e.focused,expanded:e=>e.hovering||e.focused,expandedOrOutOfFocus:e=>e.hovering||e.focused||!e.isWindowFocused,prevFocusElement:e=>e.prevFocusElement};class y extends l.H{timers=new Map;areTimersPaused=!1;constructor(e){super({...e,toastMetadata:m(e.toasts)},{},v)}setViewport=e=>{this.set("viewport",e)};syncProviderProps(e,t){let n=this.state.limit!==t;if(this.state.timeout===e&&!n)return;let r={timeout:e,limit:t};if(n){let e=g(this.state.toasts,t);r.toasts=e,r.toastMetadata=m(e)}this.update(r)}disposeEffect=()=>()=>{this.timers.forEach(e=>{e.timeout?.clear()}),this.timers.clear()};removeToast(e,t=!1){let n=v.toastIndex(this.state,e);if(-1===n)return;let r=this.state.toasts[n];t||r?.onRemove?.();let i=[...this.state.toasts];i.splice(n,1),this.setToasts(i)}addToast=e=>{let{timeout:t,limit:n}=this.state,r=e.id||(0,u.$)("toast");if(e.id){let t=v.toast(this.state,e.id);if(t)if("ending"===t.transitionStatus)this.removeToast(e.id,!0);else{let{id:t,transitionStatus:n,...r}=e;return this.updateToastInternal(e.id,r,!0,!0),e.id}}let i={...e,id:r,updateKey:0,transitionStatus:"starting"},a=[i,...this.state.toasts];this.setToasts(g(a,n));let o=i.timeout??t;return"loading"!==i.type&&o>0&&this.scheduleTimer(r,o,()=>this.closeToast(r)),v.expandedOrOutOfFocus(this.state)&&this.pauseTimers(),r};updateToast=(e,t)=>{this.updateToastInternal(e,t,!1,!0)};updateToastInternal=(e,t,n=!1,r=!1)=>{let{timeout:i,toasts:a}=this.state,o=v.toast(this.state,e);if(!o||"ending"===o.transitionStatus)return;let s={...o,...t,...r&&{updateKey:o.updateKey+1}};this.setToasts(a.map(t=>t.id===e?s:t));let l=s.timeout??i,u=o.timeout??i,d=Object.hasOwn(t,"timeout"),c="ending"!==s.transitionStatus&&"loading"!==s.type&&l>0,f=this.timers.has(e),p=u!==l,h="loading"===o.type;!c&&f?this.clearTimer(e):c&&(!f||p||d||h||n)&&(this.clearTimer(e),this.scheduleTimer(e,l,()=>this.closeToast(e)),v.expandedOrOutOfFocus(this.state)&&this.pauseTimers())};closeToast=e=>{let t,n=void 0===e,{limit:r,toasts:i}=this.state;if(n)t=i,this.clearTimers();else{let n=v.toast(this.state,e);if(!n)return;t=[n],this.clearTimer(e)}let a=g(i.map(t=>n||t.id===e?{...t,transitionStatus:"ending",height:0}:t),r);this.setToasts(a,!a.some(e=>"ending"!==e.transitionStatus)),t.forEach(e=>{"ending"!==e.transitionStatus&&e.onClose?.()}),this.handleFocusManagement(e)};promiseToast=(e,t)=>{let n=f(t.loading),r=this.addToast({...n,type:"loading"}),i=e.then(e=>{let n=f(t.success,e);return this.updateToast(r,{...n,type:"success",timeout:n.timeout}),e}).catch(e=>{let n=f(t.error,e);return this.updateToast(r,{...n,type:"error",timeout:n.timeout}),Promise.reject(e)});return({}).hasOwnProperty.call(t,"setPromise")&&t.setPromise(i),i};pauseTimers(){this.areTimersPaused||(this.areTimersPaused=!0,this.timers.forEac
26h(e=>{e.timeout&&(e.timeout.clear(),e.remaining=Math.max(e.remaining-(Date.now()-e.start),0))}))}resumeTimers(){this.areTimersPaused&&(this.areTimersPaused=!1,this.timers.forEach((e,t)=>{e.remaining=e.remaining>0?e.remaining:e.delay,e.timeout??=c.E.create(),e.timeout.start(e.remaining,()=>{this.handleTimerFired(t),e.callback()}),e.start=Date.now()}))}restoreFocusToPrevElement(){this.state.prevFocusElement?.focus({preventScroll:!0})}handleDocumentPointerDown=e=>{if("touch"!==e.pointerType)return;let t=(0,p.EW)(e);(0,p.gR)(this.state.viewport,t)||(this.resumeTimers(),this.update({hovering:!1,focused:!1}))};scheduleTimer(e,t,n){let r=Date.now(),i=v.expandedOrOutOfFocus(this.state)?void 0:c.E.create();i?.start(t,()=>{this.handleTimerFired(e),n()}),this.timers.set(e,{timeout:i,start:r,delay:t,remaining:t,callback:n})}clearTimers(){this.timers.forEach(e=>{e.timeout?.clear()}),this.timers.clear(),this.areTimersPaused=!1}clearTimer(e){let t=this.timers.get(e);t?.timeout?.clear(),this.timers.delete(e),this.resetPausedStateIfNoTimersRemain()}handleTimerFired(e){this.timers.delete(e),this.resetPausedStateIfNoTimersRemain()}resetPausedStateIfNoTimersRemain(){0===this.timers.size&&(this.areTimersPaused=!1)}setToasts(e,t=0===e.length){let n={toasts:e,toastMetadata:m(e)};t&&(n.hovering=!1,n.focused=!1),this.update(n)}handleFocusManagement(e){let t=(0,p.RS)((0,d.R)(this.state.viewport));if(!this.state.viewport||!(0,p.gR)(this.state.viewport,t)||!(0,h.em)(t))return;if(void 0===e)return void this.restoreFocusToPrevElement();let n=v.toasts(this.state),r=v.toastIndex(this.state,e),i=(e,t)=>{for(let r=e;r>=0&&r<n.length;r+=t)if("ending"!==n[r].transitionStatus)return n[r];return null},a=i(r+1,1)??i(r-1,-1);a?a.ref?.current?.focus():this.restoreFocusToPrevElement()}}var b=n(94799);let x=function(e){let{children:t,timeout:n=5e3,limit:o=3,toastManager:l}=e,u=(0,a.j)(()=>new y({timeout:n,limit:o,viewport:null,toasts:[],hovering:!1,focused:!1,isWindowFocused:!0,prevFocusElement:null})).current;return(0,i.y)(u.disposeEffect),r.useEffect(function(){if(l)return l[" subscribe"](({action:e,options:t})=>{let n=t.id;"promise"===e&&t.promise?u.promiseToast(t.promise,t):"update"===e&&n?u.updateToast(n,t):"close"===e?u.closeToast(n):u.addToast(t)})},[u,l]),(0,b.jsxs)(s.$.Provider,{value:u,children:[(0,b.jsx)(w,{store:u,timeout:n,limit:o}),t]})};function w(e){let{store:t,timeout:n,limit:r}=e;return(0,o.g)(()=>{t.syncProviderProps(n,r)},[t,n,r]),null}},53451:(e,t,n)=>{"use strict";n.d(t,{KP:()=>s,NR:()=>l});var r=n(45753),i=n(53158);class a{request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}constructor(){this.callbacks=[],this.callbacksCount=0,this.nextId=1,this.startId=1,this.isScheduled=!1,this.tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)}}}let o=new a;class s{static create(){return new s}static request(e){return o.request(e)}static cancel(e){return o.cancel(e)}request(e){this.cancel(),this.currentId=o.request(()=>{this.currentId=null,e()})}constructor(){this.currentId=null,this.cancel=()=>{null!==this.currentId&&(o.cancel(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.cancel}}function l(){let e=(0,r.j)(s.create).current;return(0,i.y)(e.disposeEffect),e}},53668:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(69));return t}},53767:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var r=n(34023),i=n(836),a=n(41118),o=n(92796),s=n(61332);let l=r.forwardRef(function(e,t){let{render:n,className:r,style:l,...u}=e,d=(0,s.g)(),{arrowRef:c,side:f,align:p,arrowUncentered:h,arrowStyles:m}=(0,i.s)(),g=d.useState("open"),v=d.useState("instantType");return(0,o.o)("div",e,{state:{open:g,side:f,align:p,uncentered:h,instant:v},ref:[t,c],props:[{style:m,"aria-hidden":!0},u],stateAttributesMapping:a.GW})})},53836:(e,t,n)=>{"use strict";n.d(t,{c:()=>L});var r=n(68125),i=n(34023),a=n(30417),o=n(78638),s=n(86289),l=n(7366),u=n(88018),d=n(57936),c=n(58302),f=n(82312),p=n(27700),h=n(85871),m=n(21055),g=n(44619),v=n(79342),y=n(37750),b=n(41118),x=n(92796),w=n(69045),S=n(54302),k=n(37457);function E(e){let{render:t,className:n,style:r,state:i=d.t0,props:a=d.Ml,refs:o=d.Ml,metadata:s,stateAttributesMapping:l,tag:u="div",...c}=e,{compositeProps:f,compositeRef:p}
26=(0,k.k)({metadata:s});return(0,x.o)(u,e,{state:i,ref:[p,...o],props:[f,...a,c],stateAttributesMapping:l})}var $=n(1075),_=n(99097),C=n(92337),D=n(18039),I=n(56742),R=n(91352),T=n(8551),P=n(78337),O=n(99901),A=n(21067),j=n(97869),z=n(35303),N=n(66431),M=n(94799);let L=(0,s.nk)(function(e,t){let n,s,{render:k,className:L,style:F,disabled:U=!1,nativeButton:B=!0,id:V,openOnHover:Z,delay:K=100,closeDelay:q=0,handle:W,payload:G,...H}=e,J=(0,y.Y)(!0),Y=(0,C.f)(W)??J?.store;if(!Y)throw Error((0,r.A)(85));let X=(0,O.e)(V),Q=Y.useState("isTriggerActive",X),ee=Y.useState("floatingRootContext"),et=Y.useState("isOpenedByTrigger",X),en=Y.useState("triggerPopupId",X),er=i.useRef(null),ei=(n=(0,A.t)(!0),i.useMemo(()=>n?{type:"menubar",context:n}:{type:void 0},[n])),ea=(0,$.G)(!0),eo=(0,c.cq)(),es=i.useMemo(()=>eo??new g.k,[eo]),el=(0,c.fI)(es),eu=(0,c.R1)(),{registerTrigger:ed,isMountedByThisTrigger:ec}=(0,D.L_)(X,er,Y,{payload:G,closeDelay:q,parent:ei,floatingTreeRoot:es,floatingNodeId:el,floatingParentNodeId:eu,keyboardEventRelay:ea?.relayKeyboardEvent}),ef="menubar"===ei.type,ep=Y.useState("disabled"),eh=U||ep||ef&&ei.context.disabled,{getButtonProps:em,buttonRef:eg}=(0,w.s)({disabled:eh,native:B});i.useEffect(()=>{et||void 0!==ei.type||(Y.context.allowMouseUpTriggerRef.current=!1)},[Y,et,ei.type]);let ev=i.useRef(null),ey=(0,a.Z)(),eb=(0,l.K)(e=>{if(!ev.current)return;ey.clear(),Y.context.allowMouseUpTriggerRef.current=!1;let t=e.target;(0,v.gR)(ev.current,t)||(0,v.gR)(Y.select("positionerElement"),t)||t===ev.current||null!=t&&function e(t){return(0,_.sb)(t)&&t.hasAttribute("data-rootownerid")?t.getAttribute("data-rootownerid"):(0,_.eu)(t)?void 0:e((0,_.$4)(t))}(t)===Y.select("rootId")||(0,S.U)(e,ev.current)||es.events.emit("close",{domEvent:e,reason:P.LO})});i.useEffect(()=>{et&&Y.select("lastOpenChangeReason")===P.N7&&(0,o.R)(ev.current).addEventListener("mouseup",eb,{once:!0})},[et,eb,Y]);let ex=ef&&ei.context.hasSubmenuOpen,ew=Z??ex,eS=(0,f.j)(ee,{enabled:ew&&!eh&&(!ef||ex&&!ec),handleClose:(0,p.i)({blockPointerEvents:!ef}),mouseOnly:!0,move:!1,restMs:void 0===ei.type?K:void 0,delay:{close:q},triggerElementRef:er,externalTree:es,isActiveTrigger:Q,isClosing:()=>"ending"===Y.select("transitionStatus")}),ek=function(e,t){let n=(0,a.Z)(),[r,o]=i.useState(!1);return(0,u.g)(()=>{e&&t===P.N7?(o(!0),n.start(j.X3,()=>{o(!1)})):e||(n.clear(),o(!1))},[e,t,n]),r}(et,Y.select("lastOpenChangeReason")),eE=(0,h.k)(ee,{enabled:!eh,event:et&&ef?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:void 0===ei.type&&ek}),e$=(0,m.i)(ee,{enabled:!eh&&ex}),e_=function(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,a=i.useRef(!1);return i.useMemo(()=>t?{onMouseDown:e=>{("open"===n&&!r||"close"===n&&r)&&(a.current=!0,(0,o.R)(e.currentTarget).addEventListener("click",()=>{a.current=!1},{once:!0}))},onClick:e=>{a.current&&(a.current=!1,e.preventBaseUIHandler())}}:d.t0,[t,n,r])}({open:et,enabled:ef,mouseDownAction:"open"}),eC=i.useMemo(()=>(0,N.v6)(e$.reference,eE.reference),[e$.reference,eE.reference]),eD=Y.useState("triggerProps",ec),{preFocusGuardRef:eI,handlePreFocusGuardFocus:eR,handleFocusTargetFocus:eT}={preFocusGuardRef:s=i.useRef(null),handlePreFocusGuardFocus:function(e){I.flushSync(()=>{Y.setOpen(!1,(0,T.d)(P.Xn,e.nativeEvent,e.currentTarget))});let t=(0,R.bp)(s.current);t?.focus()},handleFocusTargetFocus:function(e){let t=Y.select("positionerElement");if(t&&(0,R.Qp)(e,t))Y.context.beforeContentFocusGuardRef.current?.focus();else{I.flushSync(()=>{Y.setOpen(!1,(0,T.d)(P.Xn,e.nativeEvent,e.currentTarget))});let n=(0,R.Yu)(Y.context.triggerFocusTargetRef.current||er.current);for(;null!==n&&(0,v.gR)(t,n);){let e=n;if((n=(0,R.vF)(n))===e)break}n?.focus()}}},eP={disabled:eh,open:et},eO=[ev,t,eg,ed,er],eA=[eC,eS??d.t0,eD,{"aria-haspopup":"menu","aria-controls":en,id:X,onMouseDown:e=>{Y.select("open")||(ey.start(200,()=>{Y.context.allowMouseUpTriggerRef.current=!0}),(0,o.R)(e.currentTarget).addEventListener("mouseup",eb,{once:!0}))}},ef?{role:"menuitem"}:{},e_,H,em],ej=(0,x.o)("button",e,{enabled:!ef,stateAttributesMapping:b.jL,state:eP,ref:eO,props:eA});return ef?(0,M.jsx)(E,{tag:"button",render:k,className:L,style:F,state:eP,refs:eO,props:eA,stateAttributesMapping:b.jL}):et?(0,M.jsxs)(i.Fragment,{children:[(0,M.jsx)(z.U,{ref:eI,onFocus:eR},`${X}-pre-focus-guard`),(0,M.jsx)(i.Fragment,{children:ej},X),(0,M.jsx)(z.U,{ref:Y.context.triggerFocusTargetRef,onFocus:eT},`${X}-post-focus-guard`)]}):(0,M.jsx)(i.Fragment,{children:ej},X)})},53959:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(99097);function i(e,t,{detail:n=0}={}){e.dispatchEvent(new((0,r.zk)(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}}
26,54302:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(99097),i=n(27370);function a(e,t){let n=function(e){let t=e.getBoundingClientRect(),n=(0,r.zk)(e);if(i.I)return t;let a=n.getComputedStyle(e,"::before"),o=n.getComputedStyle(e,"::after");if("none"===a.content&&"none"===o.content)return t;let s=parseFloat(a.width)||0,l=parseFloat(a.height)||0,u=parseFloat(o.width)||0,d=parseFloat(o.height)||0,c=Math.max(t.width,s,u),f=Math.max(t.height,l,d),p=c-t.width,h=f-t.height;return{left:t.left-p/2,right:t.right+p/2,top:t.top-h/2,bottom:t.bottom+h/2}}(t);return e.clientX>=n.left-5&&e.clientX<=n.right+5&&e.clientY>=n.top-5&&e.clientY<=n.bottom+5}},55240:(e,t,n)=>{"use strict";n.d(t,{CK:()=>k,XF:()=>E,vB:()=>w});var r=n(34023),i=n(56742),a=n(99097),o=n(49308),s=n(65736),l=n(56065),u=n(88018),d=n(7366),c=n(57936),f=n(35303),p=n(91352),h=n(8551),m=n(78337),g=n(63389),v=n(92796),y=n(97869),b=n(94799);let x=r.createContext(null),w=()=>r.useContext(x),S=(0,g.F)("portal");function k(e={}){let{ref:t,container:n,componentProps:o=c.t0,elementProps:s}=e,f=(0,l.B)(),p=w(),h=p?.portalNode,[m,g]=r.useState(null),[y,b]=r.useState(null),x=(0,d.K)(e=>{null!==e&&b(e)}),E=r.useRef(null);(0,u.g)(()=>{if(null===n){E.current&&(E.current=null,b(null),g(null));return}let e=(n&&((0,a.Ll)(n)?n:n.current))??h??document.body;if(null==e){E.current&&(E.current=null,b(null),g(null));return}E.current!==e&&(E.current=e,b(null),g(e))},[n,h]);let $=(0,v.o)("div",o,{ref:[t,x],props:[{id:f,[S]:""},s]}),_=m&&$?i.createPortal($,m):null;return{node:y,nodeId:r.isValidElement($)?$.props.id:void 0,subtree:_}}let E=r.forwardRef(function(e,t){let{render:n,className:a,style:l,children:d,container:c,...g}=e,{node:v,nodeId:w,subtree:S}=k({container:c,ref:t,componentProps:e,elementProps:g}),E=r.useRef(null),$=r.useRef(null),_=r.useRef(null),C=r.useRef(null),[D,I]=r.useState(null),R=r.useRef(!1),T=D?.modal,P=D?.open,O=!!D&&!D.modal&&D.open&&!!v;r.useEffect(()=>{if(v&&!T)return(0,s.g)((0,o.q)(v,"focusin",e,!0),(0,o.q)(v,"focusout",e,!0));function e(e){v&&e.relatedTarget&&(0,p.Qp)(e)&&("focusin"===e.type?R.current&&((0,p.yV)(v),R.current=!1):((0,p.N)(v),R.current=!0))}},[v,T]),(0,u.g)(()=>{v&&!0===P&&R.current&&((0,p.yV)(v),R.current=!1)},[P,v]);let A=r.useMemo(()=>({beforeOutsideRef:E,afterOutsideRef:$,beforeInsideRef:_,afterInsideRef:C,portalNode:v,setFocusManagerState:I}),[v]);return(0,b.jsxs)(r.Fragment,{children:[S,(0,b.jsxs)(x.Provider,{value:A,children:[O&&v&&(0,b.jsx)(f.U,{"data-type":"outside",ref:E,onFocus:e=>{if((0,p.Qp)(e,v))_.current?.focus();else{let e=D?D.domReference:null,t=(0,p.XJ)(e);t?.focus()}}}),O&&v&&(0,b.jsx)("span",{"aria-owns":w,style:y.z_}),v&&i.createPortal(d,v),O&&v&&(0,b.jsx)(f.U,{"data-type":"outside",ref:$,onFocus:e=>{if((0,p.Qp)(e,v))C.current?.focus();else{let t=D?D.domReference:null,n=(0,p.vF)(t);n?.focus(),D?.closeOnFocusOut&&D?.onOpenChange(!1,(0,h.d)(m.Xn,e.nativeEvent))}}})]})]})})},55241:(e,t,n)=>{"use strict";n.d(t,{FG:()=>d,LA:()=>s,U_:()=>o,f5:()=>l,rG:()=>a});var r=n(74761),i=n(31816);function a(e,t,n,r){let i=(t=s(e,t))-1,a=-2;return n<=2?a=0:o(t)&&(a=-1),1721425+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function o(e){return e%4==0&&(e%100!=0||e%400==0)}function s(e,t){return"BC"===e?1-t:t}function l(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}let u={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class d{fromJulianDay(e){let t=e-1721426,n=Math.floor(t/146097),s=(0,i.z)(t,146097),u=Math.floor(s/36524),d=(0,i.z)(s,36524),c=Math.floor(d/1461),f=Math.floor((0,i.z)(d,1461)/365),[p,h]=l(400*n+100*u+4*c+f+ +(4!==u&&4!==f)),m=e-a(p,h,1,1),g=2;e<a(p,h,3,1)?g=0:o(h)&&(g=1);let v=Math.floor(((m+g)*12+373)/367),y=e-a(p,h,v,1)+1;return new(0,r.ng)(p,h,v,y)}toJulianDay(e){return a(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return u[o(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return o(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}}
26,55443:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r,i=n(2713),a=n(34023);let o=null!=(r=a.useInsertionEffect)?r:i.N;function s(e){let t=(0,a.useRef)(null);return o(()=>{t.current=e},[e]),(0,a.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},56065:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(34023),i=n(87079);let a=0,o=i.X.useId;function s(e,t){if(void 0!==o){let n=o();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,i]=r.useState(e),o=e||n;return r.useEffect(()=>{null==n&&(a+=1,i(`${t}-${a}`))},[n,t]),o}(e,t)}},56136:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(34023);let i=r.createContext(void 0);function a(){let e=r.useContext(i);return e?.direction??"ltr"}},56614:(e,t,n)=>{"use strict";n.d(t,{R:()=>l});var r=n(39416),i=n(34023),a=n(67566),o=n(80254),s=n(92030);function l(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:l,onFocusWithinChange:u}=e,d=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:f}=(0,a.A)(),p=(0,i.useCallback)(e=>{(0,o.sD)(e.currentTarget,e.target)&&d.current.isFocusWithin&&!(0,o.sD)(e.currentTarget,e.relatedTarget)&&(d.current.isFocusWithin=!1,f(),n&&n(e),u&&u(!1))},[n,u,d,f]),h=(0,r.yB)(p),m=(0,i.useCallback)(e=>{if(!(0,o.sD)(e.currentTarget,e.target))return;let t=(0,s.TW)(e.target),n=(0,o.bq)(t);if(!d.current.isFocusWithin&&n===(0,o.wt)(e.nativeEvent)){l&&l(e),u&&u(!0),d.current.isFocusWithin=!0,h(e);let n=e.currentTarget;c(t,"focus",e=>{if(d.current.isFocusWithin&&!(0,o.sD)(n,e.target)){let i=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,r.o1)(i,n),p((0,r.eg)(i))}},{capture:!0})}},[l,u,h,c,p]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:p}}}},56721:(e,t,n)=>{"use strict";n.d(t,{H:()=>u});var r=n(34023),i=n(10138),a=n(84505),o=n(7366),s=n(88018),l=n(57936);class u extends i.i{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){r.useDebugValue(e);let n=this;(0,s.g)(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;(0,s.g)(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);(0,s.g)(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){r.useDebugValue(e);let n=this,i=void 0!==t;(0,s.g)(()=>{i&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,i])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,n,i){return r.useDebugValue(e),(0,a.P)(this,this.selectors[e],t,n,i)}useContextCallback(e,t){r.useDebugValue(e);let n=(0,o.K)(t??l.tE);this.context[e]=n}useStateSetter(e){let t=r.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n,r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}}},57769:(e,t,n)=>{"use strict";n.d(t,{Fe:()=>a});var r=n(74052),i=n(52276);function a(e,t,n=!0){var o,s;let{metaKey:l,ctrlKey:u,altKey:d,shiftKey:c}=t;(0,i.gm)()&&(null==(s=window.event)||null==(o=s.type)?void 0:o.startsWith("key"))&&"_blank"===e.target&&((0,i.cX)()?l=!0:u=!0);let f=(0,i.Tc)()&&(0,i.cX)()&&!(0,i.bh)()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:u,altKey:d,shiftKey:c}):new MouseEvent("click",{metaKey:l,ctrlKey:u,altKey:d,shiftKey:c,detail:1,bubbles:!0,cancelable:!0});a.isOpening=n,(0,r.e)(e),e.dispatchEvent(f),a.isOpening=!1}n(34023),a.isOpening=!1},57936:(e,t,n)=>{"use strict";function r(){}n.d(t,{Ml:()=>i,t0:()=>a,tE:()=>r});let i=Object.freeze([]),a=Object.freeze({})},57981:(e,t,n)=>{"use strict";n.d(t,{Q_:()=>W,Rm:()=>C});let r=e=>"string"==typeof e,i=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},a=e=>null==e?"":""+e,o=/###/g,s=e=>e&&e.indexOf("###")>-1?e.replace(o,"."):e,l=e=>!e||r(e),u=(e,t,n)=>{let i=r(t)?t.split("."):t,a=0;for(;a<i.length-1;){if(l(e))return{};let t=s(i[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return l(e)?{}:{obj:e,k:s(i[a])}},d=(e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);if(void 0!==r||1===t.length){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=u(e,o,Object);for(;void 0===s.obj&&o.length;)a=`${o[o.length-1]}.${a}`,s=u(e,o=o.slice(0,o.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${a}`]&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},c=(e,t)=>{let{obj:n,k:r}=u(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},f=(e,t,n)=>{for(let i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?r(e[i])||e[i]instanceof String||r(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):f(e[i],t[i],n):e[i]=t[i]);return e};var p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let h=e=>r(e)?e.replace(/[&<>
26"'\/]/g,e=>p[e]):e;class m{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let g=[" ",",","?","!",";"],v=new m(20),y=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let r=t.split(n),i=e;for(let e=0;e<r.length;){let t;if(!i||"object"!=typeof i)return;let a="";for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],void 0!==(t=i[a])){if(["string","number","boolean"].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},b=e=>e?.replace("_","-"),x={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class w{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||x,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,i){return i&&!this.debug?null:(r(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new w(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new w(this.logger,e)}}var S=new w;class k{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}}class E extends k{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,i={}){let a,o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):r(n)&&o?a.push(...n.split(o)):a.push(n)));let l=c(this.data,a);return(!l&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!l&&s&&r(n))?y(this.data?.[e]?.[t],n,o):l}addResource(e,t,n,r,i={silent:!1}){let a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,o=[e,t];
26n&&(o=o.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(o=e.split("."),r=t,t=o[1]),this.addNamespaces(t),d(this.data,o,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,i={silent:!1}){for(let i in n)(r(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});i.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=c(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?f(s,n,i):s={...s,...n},d(this.data,o,s),a.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var $={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}};let _=Symbol("i18next/PATH_KEY");function C(e,t){let n,r,i,{[_]:a}=e((r=[],(i=Object.create(null)).get=(e,t)=>(n?.revoke?.(),t===_)?r:(r.push(t),(n=Proxy.revocable(e,i)).proxy),Proxy.revocable(Object.create(null),i).proxy));return a.join(t?.keySeparator??".")}let D={},I=e=>!r(e)&&"boolean"!=typeof e&&"number"!=typeof e;class R extends k{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
26i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=S.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(null==e)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=I(r.res);return!1!==n.returnObjects||!i}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,n)=>{t=t||"",n=n||"";let r=g.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let i=v.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a})(e,n,i);if(o&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:r(a)?[a]:a};let o=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(o[0])>-1)&&(a=o.shift()),e=o.join(i)}return{key:e,namespaces:r(a)?[a]:a}}translate(e,t,n){let i="object"==typeof t?{...t}:t;if("object"!=typeof i&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof i&&(i={...i}),i||(i={}),null==e)return"";"function"==typeof e&&(e=C(e,{...this.options,...i})),Array.isArray(e)||(e=[String(e)]);let a=void 0!==i.returnDetails?i.returnDetails:this.options.returnDetails,o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],i),u=l[l.length-1],d=void 0!==i.nsSeparator?i.nsSeparator:this.options.nsSeparator;void 0===d&&(d=":");let c=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return f?a?{res:`${u}${d}${s}`,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(i)}:`${u}${d}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(e,i),h=p?.res,m=p?.usedKey||s,g=p?.exactUsedKey||s,v=void 0!==i.joinArrays?i.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==i.count&&!r(i.count),x=R.hasDefaultValue(i),w=b?this.pluralResolver.getSuffix(c,i.count,i):"",S=i.ordinal&&b?this.pluralResolver.getSuffix(c,i.count,{ordinal:!1}):"",k=b&&!i.ordinal&&0===i.count,E=k&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${w}`]||i[`defaultValue${S}`]||i.defaultValue,$=h;y&&!h&&x&&($=E);let _=I($),D=Object.prototype.toString.apply($);if(y&&$&&_&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(D)&&!(r(v)&&Array.isArray($))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,$,{...i,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray($),t=e?[]:{},n=e?g:m;for(let e in $)if(Object.prototype.hasOwnProperty.call($,e)){let r=`${n}${o}${e}`;x&&!h?t[e]=this.translate(r,{...i,defaultValue:I(E)?E[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:l}),t[e]===r&&(t[e]=$[e])}h=t}}else if(y&&r(v)&&Array.isArray(h))(h=h.join(v))&&(h=this.extendTranslation(h,e,i,n));else{let t=!1,r=!1;!this.isValidLookup(h)&&x&&(t=!0,h=E),this.isValidLookup(h)||(r=!0,h=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&r?void 0:h,l=x&&E!==h&&this.options.updateMissing;if(r||t||l){if(this.logger.log(l?"updateKey":"missingKey",c,u,s,l?E:h),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==h?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,r,l,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,u,t,r,l,i),this.emit
26("missingKey",e,u,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);k&&i[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||E)})}):n(e,s,E))}h=this.extendTranslation(h,e,i,p,n),r&&h===s&&this.options.appendNamespaceToMissingKey&&(h=`${u}${d}${s}`),(r||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${d}${s}`:s,t?h:void 0,i))}return a?(p.res=h,p.usedParams=this.getUsedParamsDetails(i),p):h}extendTranslation(e,t,n,i,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){let o;n.interpolation&&this.interpolator.init({...n,...{interpolation:{...this.options.interpolation,...n.interpolation}}});let s=r(e)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let l=n.replace&&!r(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||i.usedLng,n),s){let t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>a?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}let o=n.postProcess||this.options.postProcess,s=r(o)?[o]:o;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=$.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,i,a,o,s;return r(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;let l=this.extractFromKey(e,t),u=l.key;i=u;let d=l.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));let c=void 0!==t.count&&!r(t.count),f=c&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(r(t.context)||"number"==typeof t.context)&&""!==t.context,h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);d.forEach(e=>{this.isValidLookup(n)||(s=e,!D[`${h[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&(D[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${i}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(r=>{let i;if(this.isValidLookup(n))return;o=r;let s=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,u,r,e,t);else{let e;c&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(t.ordinal&&0===e.indexOf(i)&&s.push(u+e.replace(i,this.options.pluralSeparator)),s.push(u+e),f&&s.push(u+n)),p){let r=`${u}${this.options.contextSeparator||"_"}${t.context}`;s.push(r),c&&(t.ordinal&&0===e.indexOf(i)&&s.push(r+e.replace(i,this.options.pluralSeparator)),s.push(r+e),f&&s.push(r+n))}}for(;i=s.pop();)this.isValidLookup(n)||(a=i,n=this.getResource(r,e,i,t))}))})}),{res:n,usedKey:i,exactUsedKey:a,usedLng:o,usedNS:s}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=e.replace&&!r(e.replace),n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!t)for(let e of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}class T{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}getScriptPartFromCode(e){if(!(e=b(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=b(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(r(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;
26return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),r(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),i=[],a=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return r(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):r(e)&&a(this.formatLanguageCode(e)),n.forEac
26h(e=>{0>i.indexOf(e)&&a(this.formatLanguageCode(e))}),i}}let P={zero:0,one:1,two:2,few:3,many:4,other:5},O={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class A{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=S.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n,r=b("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:r,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];try{n=new Intl.PluralRules(r,{type:i})}catch(i){if("u"<typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),O;if(!e.match(/-|_/))return O;let r=this.languageUtils.getLanguagePartFromCode(e);n=this.getRule(r,t)}return this.pluralRulesCache[a]=n,n}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return(n||(n=this.getRule("dev",t)),n)?n.resolvedOptions().pluralCategories.sort((e,t)=>P[e]-P[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}let j=(e,t,n,i=".",a=!0)=>{let o,s=void 0!==(o=c(e,n))?o:c(t,n);return!s&&a&&r(n)&&void 0===(s=y(e,n,i))&&(s=y(t,n,i)),s};class z{constructor(e={}){this.logger=S.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:c,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:g,maxReplaces:v,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:h,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):a||"{{",this.suffix=o?o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=c?c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=p?p.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):m||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=g||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,i){let o,s,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=e=>{if(0>e.indexOf(this.formatSeparator)){let r=j(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(r,void 0,n,{...i,...t,interpolationkey:e}):r}let r=e.split(this.formatSeparator),a=r.shift().trim(),o=r.join(this.formatSeparator).trim();return this.format(j(t,u,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...i,...t,interpolationkey:a})};this.resetRegExp();let c=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}
26].forEach(t=>{for(l=0;o=t.regex.exec(e);){let n=o[1].trim();if(void 0===(s=d(n)))if("function"==typeof c){let t=c(e,o,i);s=r(t)?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,n))s="";else if(f){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),s="";else r(s)||this.useRawValueToEscape||(s=a(s));let u=t.safeValue(s);if(e=e.replace(o[0],u),f?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,n={}){let i,o,s,l=(e,t)=>{let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}[ ]*{`)),i=`{${r[1]}`;e=r[0];let a=(i=this.interpolate(i,s)).match(/'/g),o=i.match(/"/g);((a?.length??0)%2!=0||o)&&(o?.length??0)%2==0||(i=i.replace(/'/g,'"'));try{s=JSON.parse(i),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;i=this.nestingRegexp.exec(e);){let u=[];(s=(s={...n}).replace&&!r(s.replace)?s.replace:s).applyPostProcessor=!1,delete s.defaultValue;let d=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(-1!==d&&(u=i[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),i[1]=i[1].slice(0,d)),(o=t(l.call(this,i[1].trim(),s),s))&&i[0]===e&&!r(o))return o;r(o)||(o=a(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),u.length&&(o=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}let N=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(b(r),i),t[o]=s),s(n)}},M=e=>(t,n,r)=>e(b(n),r)(t);class L{constructor(e={}){this.logger=S.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let n=t.cacheInBuiltFormats?N:M;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=N(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=(e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();n[a]||(n[a]=i),"false"===i&&(n[a]=!1),"true"===i&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class F extends k{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=S.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};
26return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===a[o]&&(a[o]=!0):(this.state[o]=1,r=!1,void 0===a[o]&&(a[o]=!0),void 0===i[o]&&(i[o]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split("|"),i=r[0],a=r[1];t&&this.emit("failedLoading",i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{((e,t,n,r)=>{let{obj:i,k:a}=u(e,t,Object);i[a]=i[a]||[],i[a].push(n)})(n.loaded,[i],a),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(2===s.length){try{let n=s(e,t);n&&"function"==typeof n.then?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();r(e)&&(e=this.languageUtils.toResolveHierarchy(e)),r(t)&&(t=[t]);let a=this.queueLoad(e,t,n,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){let n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=n&&""!==n){if(this.backend?.create){let s={...a,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"==typeof i.then?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else l(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}let U=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),r(e[1])&&(t.defaultValue=e[1]),r(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];
26Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),B=e=>(r(e.ns)&&(e.ns=[e.ns]),r(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),r(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),V=()=>{},Z="__i18next_supportNoticeShown";class K extends k{constructor(e={},t){if(super(),this.options=B(e),this.services={},this.logger=S,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(r(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let n=U();this.options={...n,...this.options,...B(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation}
26,void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),!1!==this.options.showSupportNotice&&!(this?.modules?.backend?.name?.indexOf("Locize")>0||this?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||this?.options?.backend?.backends&&this.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||this?.options?.backend?.projectId||this?.options?.backend?.backendOptions&&this.options.backend.backendOptions.some(e=>e?.projectId))&&1&&!("u">typeof globalThis&&globalThis[Z])&&("u">typeof console&&void 0!==console.info&&console.info("\uD83C\uDF10 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \uD83D\uDC99"),"u">typeof globalThis&&(globalThis[Z]=!0));let a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?S.init(a(this.modules.logger),this.options):S.init(null,this.options),e=this.modules.formatter?this.modules.formatter:L;let t=new T(this.options);this.store=new E(this.options.resources,this.options);let r=this.services;r.logger=S,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new A(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(r.formatter=a(e),r.formatter.init&&r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new z(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new F(a(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(r.languageDetector=a(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=a(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new R(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=V),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let o=i(),s=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),o}loadResources(e,t=V){let n=t,i=r(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e
26=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=i();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=V),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&$.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=i();this.emit("languageChanging",e);let a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(r,i)=>{i?this.isLanguageChangingTo===e&&(a(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(r,(...e)=>this.t(...e))},s=t=>{e||t||!this.services.languageDetector||(t=[]);let n=r(t)?t:t&&t[0],i=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(r(t)?[t]:t);i&&(this.language||a(i),this.translator.language||this.translator.changeLanguage(i),this.services.languageDetector?.cacheUserLanguage?.(i)),this.loadResources(i,e=>{o(e,i)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),n}getFixedT(e,t,n){let i=(e,t,...r)=>{let a,o;(a="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(r)):{...t}).lng=a.lng||i.lng,a.lngs=a.lngs||i.lngs,a.ns=a.ns||i.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||n||i.keyPrefix);let s=this.options.keySeparator||".";return a.keyPrefix&&Array.isArray(e)?o=e.map(e=>("function"==typeof e&&(e=C(e,{...this.options,...t})),`${a.keyPrefix}${s}${e}`)):("function"==typeof e&&(e=C(e,{...this.options,...t})),o=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(o,a)};return r(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
26if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||0===n||2===n};if(t.precheck){let e=t.precheck(this,a);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=i();return this.options.ns?(r(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=i();r(e)&&(e=[e]);let a=this.options.preload||[],o=e.filter(e=>0>a.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=a.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new T(U());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let n=new K(e,t);return n.createInstance=K.createInstance,n}cloneInstance(e={},t=V){let n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},i=new K(r);if((void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new E(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),r),i.services.resourceStore=i.store),e.interpolation){let t={...U().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};i.services.interpolator=new z(n)}return i.translator=new R(i.services,r),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let q=K.createInstance(),W=q.createInstance;q.dir,q.init,q.loadResources,q.reloadResources,q.use,q.changeLanguage,q.getFixedT,q.t,q.exists,q.setDefaultNamespace,q.hasLoadedNamespace,q.loadNamespaces,q.loadLanguages},58106:(e,t,n)=>{"use strict";let r;n.d(t,{f:()=>H});var i=n(92030),a=n(80254);let o="u">typeof HTMLElement&&"inert"in HTMLElement.prototype,s=new WeakMap,l=[];var u=n(52276);function d(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}let c={top:"top",bottom:"top",left:"left",right:"left"},f={top:"bottom",bottom:"top",left:"right",right:"left"},p={top:"left",left:"top"},h={top:"height",left:"width"},m={width:"totalWidth",height:"totalHeight"},g={};function v(e,t){var n,r,i,a,o;let s=0,l=0,d=0,c=0,f=0,p=0,h={},m=(null!=(n=null==t?void 0:t.scale)?n:1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let n=document.documentElement;d=n.clientWidth,c=n.clientHeight,s=null!=(r=null==t?void 0:t.width)?r:d,l=null!=(i=null==t?void 0:t.height)?i:c,h.top=n.scrollTop||e.scrollTop,h.left=n.scrollLeft||e.scrollLeft,t&&(f=t.offsetTop,p=t.offsetLeft)}else({width:s,height:l,top:f,left:p}=k(e,!1)),h.top=e.scrollTop,h.left=e.scrollLeft,d=s,c=l;return(0,u.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&m&&(h.top=0,h.left=0,f=null!=(a=null==t?void 0:t.pageTop)?a:0,p=null!=(o=null==t?void 0:t.pageLeft)?o:0),{width:s,height:l,totalWidth:d,totalHeight:c,scroll:h,top:f,left:p}}function y(e,t,n,r,i,a,o){var s;let l=null!=(s=i.scroll[e])?s:0,u=r[h[e]],d=o[e]+r.scroll[c[e]]+a,f=o[e]+r.scroll[c[e]]+u-a,p=t-l+r.scroll[c[e]]+o[e]-r[c[e]],m=t-l+n+r.scroll[c[e]]+o[e]-r[c[e]];return p<d?d-p:m>f?Math.max(f-m,d-p):0}function b(e){if(g[e])return g[e];let[t,n]=e.split(" "),r=c[t]||"right",i=p[r];c[n]||(n="center");let a=h[r],o=h[i];return g[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:o},g[e]}function x(e,t,n,r,i,a,o,s,l,u,c){var p,h,g,v,y;let{placement:b,crossPlacement:x,axis:w,crossAxis:S,size:k,crossSize:E}=r,$={};
26$[S]=null!=(p=e[S])?p:0,"center"===x?$[S]+=((null!=(h=e[E])?h:0)-(null!=(g=n[E])?g:0))/2:x!==S&&($[S]+=(null!=(v=e[E])?v:0)-(null!=(y=n[E])?y:0)),$[S]+=a;let _=e[S]-n[E]+l+u,C=e[S]+e[E]-l-u;if($[S]=d($[S],_,C),b===w){let t=s?c[k]:c[m[k]];$[f[w]]=Math.floor(t-e[w]+i)}else $[w]=Math.floor(e[w]+e[k]+i);return $}function w(e,t,n,r,i,a,o,s){var l,u,d,c;let{placement:p,axis:h,size:m}=a;return p===h?Math.max(0,n[h]-(null!=(l=o.scroll[h])?l:0)-(e[h]+(s?t[h]:0))-(null!=(u=r[h])?u:0)-r[f[h]]-i):Math.max(0,e[m]+e[h]+(s?t[h]:0)-n[h]-n[m]+(null!=(d=o.scroll[h])?d:0)-(null!=(c=r[h])?c:0)-r[f[h]]-i)}function S(e,t){let{top:n,left:r,width:i,height:a}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,a=e.offsetHeight),{top:n,left:r,width:i,height:a}}function k(e,t){let{top:n,left:r,width:i,height:a}=S(e,t),{scrollTop:o,scrollLeft:s,clientTop:l,clientLeft:u}=document.documentElement;return{top:n+o-l,left:r+s-u,width:i,height:a}}function E(e,t,n){let r,i=window.getComputedStyle(e);if("fixed"===i.position)r=S(e,n);else{r=k(e,n);let i=k(t,n),a=window.getComputedStyle(t);i.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=i.top,r.left-=i.left}return r.top-=parseInt(i.marginTop,10)||0,r.left-=parseInt(i.marginLeft,10)||0,r}function $(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var _=n(34023);let C=new WeakMap;var D=n(2713),I=n(55443);function R(e){let{ref:t,box:n,onResize:r}=e,i=(0,I.J)(r);(0,_.useEffect)(()=>{let e=null==t?void 0:t.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&i()});return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}},[t,n])}var T=n(19758);let P="u">typeof document?window.visualViewport:null;var O=n(28803);function A(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!(0,a.sD)(t.documentElement,e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var j=n(56614);let z=[];var N=n(95898),M=n(70878),L=n(99866);let F=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function U(e){return e instanceof HTMLInputElement&&!F.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let B="u">typeof document&&window.visualViewport,V=0;function Z(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function K(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function q(e,t){t||!B?W(e):B.addEventListener("resize",()=>W(e),{once:!0})}function W(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=(0,L.m)(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;B&&(n=Math.min(n,B.offsetTop+B.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}n=e.parentElement}}var G=n(23416);function H(e,t){let{triggerRef:n,popoverRef:p,groupRef:h,isNonModal:g,isKeyboardDismissDisabled:F,shouldCloseOnInteractOutside:B,...W}=e,H="SubmenuTrigger"===W.trigger,{overlayProps:J,underlayProps:Y}=function(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:a,isDismissable:o=!1,isKeyboardDismissDisabled:s=!1,shouldCloseOnInteractOutside:l}=e,u=(0,_.useRef)(void 0);(0,_.useEffect)(()=>{if(a&&!z.includes(t))return z.push(t),()=>{let e=z.indexOf(t);e>=0&&z.splice(e,1)}},[a,t]);let d=()=>{z[z.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:a}=e,o=(0,_.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),s=(0,I.J)(e=>{n&&A(e,t)&&(a&&a(e),o.current.isPointerDown=!0)}),l=(0,I.J)(e=>{n&&n(e)});(0,_.useEffect)(()=>{let e=o.current;if(r)return;let n=t.current,a=(0,i.TW)(n);if("u">typeof PointerEvent){let n=n=>{e.isPointerDown&&A(n,t)&&l(n),e.isPointerDown=!1};return a.addEventListener("pointerdown",s,!0),a.addEventListener("click",n,!0),()=>{a.removeEventListener("pointerdown",s,!0),a.removeEventListener("click",n,!0)}}},[t,r])}({ref:t,onInteractOutside:o&&a?e=>{(!l||l(e.target))&&(z[z.length-1]===t&&(e.stopPropagation(),e.preventDefault()),u.current===t&&d()),u.current=void 0}:void 0,onInteractOutsideStart:e=>{let n=z[z.length-1];u.current=n,(!l||l(e.target))&&n===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:c}=(0,j.R)({isDisabled:!r,onBlurWithin:e=>{!(!e.relatedTarget||(0,O.Pu)(e.relatedTarget))&&(!l||l(e.relatedTarget))&&(null==n||n())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||s||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),d())},...c},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}
26({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!g||H,isKeyboardDismissDisabled:F,shouldCloseOnInteractOutside:B},null!=h?h:p),{overlayProps:X,arrowProps:Q,placement:ee,triggerAnchorPoint:et}=function(e){var t,n,r,i;let{direction:o}=(0,T.Y)(),{arrowSize:s,targetRef:l,overlayRef:u,arrowRef:p,scrollRef:h=u,placement:g="bottom",containerPadding:I=12,shouldFlip:O=!0,boundaryElement:A="u">typeof document?document.body:null,offset:j=0,crossOffset:z=0,shouldUpdatePosition:N=!0,isOpen:M=!0,onClose:L,maxHeight:F,arrowBoundaryOffset:U=0}=e,[B,V]=(0,_.useState)(null),Z=[N,g,u.current,l.current,null==p?void 0:p.current,h.current,I,O,A,j,z,M,o,F,U,s],K=(0,_.useRef)(null==P?void 0:P.scale);(0,_.useEffect)(()=>{M&&(K.current=null==P?void 0:P.scale)},[M]);let q=(0,_.useCallback)(()=>{var e,t,n,r,i,_;if(!1===N||!M||!u.current||!l.current||!A||(null==P?void 0:P.scale)!==K.current)return;let C=null;if(h.current&&(0,a.sD)(h.current,document.activeElement)){let r=null==(e=document.activeElement)?void 0:e.getBoundingClientRect(),i=h.current.getBoundingClientRect();(C={type:"top",offset:(null!=(t=null==r?void 0:r.top)?t:0)-i.top}).offset>i.height/2&&(C.type="bottom",C.offset=(null!=(n=null==r?void 0:r.bottom)?n:0)-i.bottom)}let D=u.current;!F&&u.current&&(D.style.top="0px",D.style.bottom="",D.style.maxHeight=(null!=(i=null==(r=window.visualViewport)?void 0:r.height)?i:window.innerHeight)+"px");let R=function(e){var t,n,r,i;let o,{placement:s,targetNode:l,overlayNode:u,scrollNode:p,padding:h,shouldFlip:g,boundaryElement:S,offset:_,crossOffset:C,maxHeight:D,arrowSize:I=0,arrowBoundaryOffset:R=0}=e,T="u">typeof document?window.visualViewport:null,P=u instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!$(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!$(t);)t=t.parentElement;return t||document.documentElement}(u):document.documentElement,O=P===document.documentElement,A=window.getComputedStyle(P).position,j=O?k(l,!1):E(l,P,!1);if(!O){let{marginTop:e,marginLeft:t}=window.getComputedStyle(l);j.top+=parseInt(e,10)||0,j.left+=parseInt(t,10)||0}let z=k(u,!0),N={top:parseInt((o=window.getComputedStyle(u)).marginTop,10)||0,bottom:parseInt(o.marginBottom,10)||0,left:parseInt(o.marginLeft,10)||0,right:parseInt(o.marginRight,10)||0};return z.width+=(null!=(t=N.left)?t:0)+(null!=(n=N.right)?n:0),z.height+=(null!=(r=N.top)?r:0)+(null!=(i=N.bottom)?i:0),p.scrollTop,p.scrollLeft,p.scrollWidth,p.scrollHeight,function(e,t,n,r,i,a,o,s,l,u,p,h,g,v,S,k,E){var $,_,C,D,I,R,T,P,O,A,j,z,N,M,L,F;let U,B,V,Z=b(e),{size:K,crossAxis:q,crossSize:W,placement:G,crossPlacement:H}=Z,J=x(t,o,n,Z,u,p,l,h,v,S,s),Y=u,X=w(o,l,t,r,i+u,Z,s,k);if(a&&n[K]>X){let e=b(`${f[G]} ${H}`),a=x(t,o,n,e,u,p,l,h,v,S,s);w(o,l,t,r,i+u,e,s,k)>X&&(Z=e,J=a,Y=u)}let Q="bottom";"top"===Z.axis?"top"===Z.placement?Q="top":"bottom"===Z.placement&&(Q="bottom"):"top"===Z.crossAxis&&("top"===Z.crossPlacement?Q="bottom":"bottom"===Z.crossPlacement&&(Q="top"));let ee=y(q,J[q],n[W],o,s,i,l);J[q]+=ee;let et=(I=J,R=n.height,T=Q,U=(null!=I.top?I.top:s[m.height]-(null!=(P=I.bottom)?P:0)-R)-(null!=(O=s.scroll.top)?O:0),B=k?l.top:0,V={top:Math.max(o.top+B,(null!=(A=null==E?void 0:E.offsetTop)?A:o.top)+B),bottom:Math.min(o.top+o.height+B,(null!=(j=null==E?void 0:E.offsetTop)?j:0)+(null!=(z=null==E?void 0:E.height)?z:0))},"top"!==T?Math.max(0,V.bottom-U-((null!=(N=r.top)?N:0)+(null!=(M=r.bottom)?M:0)+i)):Math.max(0,U+R-V.top-((null!=(L=r.top)?L:0)+(null!=(F=r.bottom)?F:0)+i)));g&&g<et&&(et=g),n.height=Math.min(n.height,et),ee=y(q,(J=x(t,o,n,Z,Y,p,l,h,v,S,s))[q],n[W],o,s,i,l),J[q]+=ee;let en={},er=t[q]-J[q]-r[c[q]],ei=er+.5*t[W],ea=v/2+S,eo="left"===c[q]?(null!=($=r.left)?$:0)+(null!=(_=r.right)?_:0):(null!=(C=r.top)?C:0)+(null!=(D=r.bottom)?D:0),es=n[W]-eo-v/2-S,el=d(ei,t[q]+v/2-(J[q]+r[c[q]]),t[q]+t[W]-v/2-(J[q]+r[c[q]]));en[q]=d(el,ea,es),({placement:G,crossPlacement:H}=Z),v?er=en[q]:"right"===H?er+=t[W]:"center"===H&&(er+=t[W]/2);let eu="left"===G||"top"===G?n[K]:0,ed={x:"top"===G||"bottom"===G?er:eu,y:"left"===G||"right"===G?er:eu};return{position:J,maxHeight:et,arrowOffsetLeft:en.left,arrowOffsetTop:en.top,placement:G,triggerAnchorPoint:ed}}(s,j,z,N,h,g,v(S,T),v(P,T),E(S,P,!1),_,C,!!A&&"static"!==A,D,I,R,(0,a.sD)(S,P),T)}({placement:(_=g,"rtl"===o?_.replace("start","right").replace("end","left"):_.replace("start","left").replace("end","right")),overlayNode:u.current,targetNode:l.current,scrollNode:h.current||u.current,padding:I,shouldFlip:O,boundaryElement:A,offset:j,crossOffset:z,maxHeight:F,arrowSize:null!=s?s:(null==p?void 0:p.current)?S(p.current,!0).width:0,arrowBoundaryOffset:U});if(R.position){if(D.style.top="",D.style.bottom="",D.style.left="",D.style.right="",Object.keys(R.position).forEac
26h(e=>D.style[e]=R.position[e]+"px"),D.style.maxHeight=null!=R.maxHeight?R.maxHeight+"px":"",C&&document.activeElement&&h.current){let e=document.activeElement.getBoundingClientRect(),t=h.current.getBoundingClientRect(),n=e[C.type]-t[C.type];h.current.scrollTop+=n-C.offset}V(R)}},Z);(0,D.N)(q,Z),i=q,(0,D.N)(()=>(window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}),[i]),R({ref:u,onResize:q}),R({ref:l,onResize:q});let W=(0,_.useRef)(!1);(0,D.N)(()=>{let e,t=()=>{W.current=!0,clearTimeout(e),e=setTimeout(()=>{W.current=!1},500),q()},n=()=>{W.current&&t()};return null==P||P.addEventListener("resize",t),null==P||P.addEventListener("scroll",n),()=>{null==P||P.removeEventListener("resize",t),null==P||P.removeEventListener("scroll",n)}},[q]);let G=(0,_.useCallback)(()=>{W.current||null==L||L()},[L,W]);return!function(e){let{triggerRef:t,isOpen:n,onClose:r}=e;(0,_.useEffect)(()=>{if(!n||null===r)return;let e=e=>{let n=e.target;if(!t.current||n instanceof Node&&!(0,a.sD)(n,t.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let i=r||C.get(t.current);i&&i()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[n,r,t])}({triggerRef:l,isOpen:M,onClose:L&&G}),{overlayProps:{style:{position:B?"absolute":"fixed",top:B?void 0:0,left:B?void 0:0,zIndex:1e5,...null==B?void 0:B.position,maxHeight:null!=(t=null==B?void 0:B.maxHeight)?t:"100vh"}},placement:null!=(n=null==B?void 0:B.placement)?n:null,triggerAnchorPoint:null!=(r=null==B?void 0:B.triggerAnchorPoint)?r:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==B?void 0:B.arrowOffsetLeft,top:null==B?void 0:B.arrowOffsetTop}},updatePosition:q}}({...W,targetRef:n,overlayRef:p,isOpen:t.isOpen,onClose:g&&!H?t.close:null});return!function(e={}){let{isDisabled:t}=e;(0,D.N)(()=>{if(!t){let e,t,n,i,a,o;return 1==++V&&(r=(0,u.un)()?(t=!1,(n=document.createElement("style")).textContent=`
27@layer {
28  * {
29    overscroll-behavior: contain;
30  }
31}`.trim(),document.head.prepend(n),i=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=null!=document.activeElement&&U(document.activeElement);i.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||q(this,t)},a=(0,N.c)(K(document,"touchstart",n=>{let r=n.target;e=(0,M.o)(r)?r:(0,L.m)(r,!0),t=!1;let i=r.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(r,!0)&&(t=!0),n.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(t=!0),"selectionStart"in r&&"selectionEnd"in r&&r.selectionStart<r.selectionEnd&&r.ownerDocument.activeElement===r&&(t=!0)},{passive:!1,capture:!0}),K(document,"touchmove",n=>{if(2!==n.touches.length&&!t){if(!e||e===document.documentElement||e===document.body)return void n.preventDefault();e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&n.preventDefault()}},{passive:!1,capture:!0}),K(document,"blur",e=>{let t=e.target,n=e.relatedTarget;if(n&&U(n))n.focus({preventScroll:!0}),q(n,U(t));else if(!n){var r;let e=null==(r=t.parentElement)?void 0:r.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},!0)),()=>{a(),n.remove(),HTMLElement.prototype.focus=i}):(o=window.innerWidth-document.documentElement.clientWidth,(0,N.c)(o>0&&("scrollbarGutter"in document.documentElement.style?Z(document.documentElement,"scrollbarGutter","stable"):Z(document.documentElement,"paddingRight",`${o}px`)),Z(document.documentElement,"overflow","hidden")))),()=>{0==--V&&r()}}},[t])}({isDisabled:g||!t.isOpen}),(0,_.useEffect)(()=>{if(t.isOpen&&p.current){let t,f,m,v,y,b,x,w,S,k,E;if(g){var e,n,r,u,d,c=null!=(e=null==h?void 0:h.current)?e:p.current;let t=l[l.length-1];return t&&!t.visibleNodes.has(c)?(t.visibleNodes.add(c),()=>{t.visibleNodes.delete(c)}):void 0}return r=[null!=(n=null==h?void 0:h.current)?n:p.current],m=null!=(d=null==(f=(u={shouldUseInert:!0})instanceof(t=(0,i.mD)(null==r?void 0:r[0])).Element?{root:u}:u)?void 0:f.root)?d:document.body,v=(null==f?void 0:f.shouldUseInert)&&o,y=new Set(r),b=new Set,x=(e,n)=>
31{v&&e instanceof t.HTMLElement?e.inert=n:n?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof t.HTMLElement&&(e.inert=!1))},w=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))y.add(t);let t=e=>{if(b.has(e)||y.has(e)||e.parentElement&&b.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of y)if((0,a.sD)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&S(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)S(e),e=n.nextNode()}},S=e=>{var n;let r=null!=(n=s.get(e))?n:0;(v&&e instanceof t.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===r||(0===r&&x(e,!0),b.add(e),s.set(e,r+1))},l.length&&l[l.length-1].disconnect(),w(m),(k=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&t.target.isConnected&&![...y,...b].some(e=>(0,a.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?y.add(e):e instanceof Element&&w(e)})).observe(m,{childList:!0,subtree:!0}),E={visibleNodes:y,hiddenNodes:b,observe(){k.observe(m,{childList:!0,subtree:!0})},disconnect(){k.disconnect()}},l.push(E),()=>{for(let e of(k.disconnect(),b)){let t=s.get(e);null!=t&&(1===t?(x(e,!1),s.delete(e)):s.set(e,t-1))}E===l[l.length-1]?(l.pop(),l.length&&l[l.length-1].observe()):l.splice(l.indexOf(E),1)}}},[g,t.isOpen,p,h]),{popoverProps:(0,G.v)(J,X),arrowProps:Q,underlayProps:Y,placement:ee,triggerAnchorPoint:et}}},58302:(e,t,n)=>{"use strict";n.d(t,{$c:()=>h,P6:()=>m,R1:()=>c,cq:()=>f,fI:()=>p});var r=n(34023),i=n(56065),a=n(88018),o=n(45753),s=n(44619),l=n(94799);let u=r.createContext(null),d=r.createContext(null),c=()=>r.useContext(u)?.id||null,f=e=>{let t=r.useContext(d);return e??t};function p(e){let t=(0,i.B)(),n=f(e),r=c();return(0,a.g)(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t}function h(e){let{children:t,id:n}=e,i=c();return(0,l.jsx)(u.Provider,{value:r.useMemo(()=>({id:n,parentId:i}),[n,i]),children:t})}function m(e){let{children:t,externalTree:n}=e,r=(0,o.j)(()=>n??new s.k).current;return(0,l.jsx)(d.Provider,{value:r,children:t})}},58587:(e,t,n)=>{"use strict";n.d(t,{V:()=>v});var r=n(34023),i=n(84505),a=n(31262),o=n(92796),s=n(26594),l=n(69045),u=n(9785),d=n(6280),c=n(96094),f=n(28410),p=n(8551),h=n(78337),m=n(41118);let g={...c.G,...m.qV},v=r.forwardRef(function(e,t){let{render:n,className:r,disabled:c=!1,nativeButton:m=!0,keepMounted:v=!1,style:y,...b}=e,{disabled:x}=(0,u.V$)(),w=(0,a.Ee)(),S=(0,i.P)(w,s.T.selectionMode),k=(0,i.P)(w,s.T.disabled),E=(0,i.P)(w,s.T.readOnly),$=(0,i.P)(w,s.T.open),_=(0,i.P)(w,s.T.selectedValue),C=(0,i.P)(w,s.T.hasSelectionChips),D=(0,a.dc)(),I=!1;I="none"===S?""!==D:"single"===S?null!=_:C;let R=x||k||c,{buttonRef:T,getButtonProps:P}=(0,l.s)({native:m,disabled:R}),{mounted:O,transitionStatus:A,setMounted:j}=(0,d.$)(I),z={disabled:R,visible:I,open:$,transitionStatus:A};(0,f.v)({open:I,ref:w.state.clearRef,onComplete(){I||j(!1)}});let N=(0,o.o)("button",e,{state:z,ref:[t,T,w.state.clearRef],props:[{tabIndex:-1,children:"x",onMouseDown(e){e.preventDefault()},onClick(e){if(R||E)return;let t=w.state.keyboardActiveRef.current?h.QJ:h.Wn;w.state.setInputValue("",(0,p.d)(h.R0,e.nativeEvent)),"none"!==S?(w.state.setSelectedValue(Array.isArray(_)?[]:null,(0,p.d)(h.R0,e.nativeEvent)),w.state.setIndices({activeIndex:null,selectedIndex:null,type:t})):w.state.setIndices({activeIndex:null,type:t}),w.state.inputRef.current?.focus()}},b,P],stateAttributesMapping:g});return v||O?N:null})},59492:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=n(20821),i=n(21400),a=new class extends r.Q{#C;#D;#I;constructor(){super(),this.#I=e=>{if(!i.S$&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#D||this.setEventListener(this.#I)}onUnsubscribe(){this.hasListeners()||(this.#D?.(),this.#D=void 0)}setEventListener(e){this.#I=e,this.#D?.(),this.#D=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#C!==e&&(this.#C=e,this.onFocus())}onFocus(){let e=this.isFocused();
31this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#C?this.#C:globalThis.document?.visibilityState!=="hidden"}}},59496:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(39416),i=n(34023),a=n(92030),o=n(80254);function s(e){let{isDisabled:t,onFocus:n,onBlur:s,onFocusChange:l}=e,u=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return s&&s(e),l&&l(!1),!0},[s,l]),d=(0,r.yB)(u),c=(0,i.useCallback)(e=>{let t=(0,a.TW)(e.target),r=t?(0,o.bq)(t):(0,o.bq)();e.target===e.currentTarget&&r===(0,o.wt)(e.nativeEvent)&&(n&&n(e),l&&l(!0),d(e))},[l,n,d]);return{focusProps:{onFocus:!t&&(n||l||s)?c:void 0,onBlur:!t&&(s||l)?u:void 0}}}},59627:(e,t,n)=>{"use strict";n.d(t,{$v:()=>p,Jd:()=>a,Kp:()=>u,Qi:()=>f,RJ:()=>s,eR:()=>o,il:()=>i,jF:()=>d,rT:()=>c,yZ:()=>l});var r=n(99097);let i="ArrowUp",a="ArrowDown",o="ArrowLeft",s="ArrowRight",l="Home",u="End",d=new Set([i,a,o,s,l,u]),c=["Shift","Control","Alt","Meta"];function f(e){return!!((0,r.sb)(e)&&"INPUT"===e.tagName&&null!=e.selectionStart||(0,r.sb)(e)&&"TEXTAREA"===e.tagName)}function p(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&"vertical"!==r){let r=h(e,t,"left"),a=m(e),o=m(t);"ltr"===n&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),"rtl"===n&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&"horizontal"!==r){let n=h(e,t,"top"),r=m(e),i=m(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:"auto"})}function h(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function m(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}},59850:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(88018),i=n(45753),a=n(9785);function o(e,t,n,s,l=!0,u){let{registerFieldControl:d}=(0,a.V$)(),c=(0,i.j)(()=>Symbol());(0,r.g)(()=>{let r=c.current;l?d(r,{controlRef:e,getValue:s,id:t,name:u,value:n}):d(r,void 0)},[e,l,s,t,u,d,c,n]),(0,r.g)(()=>{let e=c.current;return()=>{d(e,void 0)}},[d,c])}},59939:(e,t,n)=>{"use strict";function r(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}n.d(t,{r:()=>r})},60380:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(34023),i=n(93508),a=n(39993),o=n(20821),s=n(21400),l=class extends o.Q{#t;#o=void 0;#R;#T;constructor(e,t){super(),this.#t=e,this.setOptions(t),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#t.defaultMutationOptions(e),(0,s.f8)(this.options,t)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#R,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.EN)(t.mutationKey)!==(0,s.EN)(this.options.mutationKey)?this.reset():this.#R?.state.status==="pending"&&this.#R.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#R?.removeObserver(this)}onMutationUpdate(e){this.#P(),this.#E(e)}getCurrentResult(){return this.#o}reset(){this.#R?.removeObserver(this),this.#R=void 0,this.#P(),this.#E()}mutate(e,t){return this.#T=t,this.#R?.removeObserver(this),this.#R=this.#t.getMutationCache().build(this.#t,this.options),this.#R.addObserver(this),this.#R.execute(e)}#P(){let e=this.#R?.state??(0,i.$)();this.#o={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#E(e){a.jG.batch(()=>
31{if(this.#T&&this.hasListeners()){let t=this.#o.variables,n=this.#o.context,r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#T.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#T.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#T.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#T.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#o)})})}},u=n(77935);function d(e,t){let n=(0,u.jE)(t),[i]=r.useState(()=>new l(n,e));r.useEffect(()=>{i.setOptions(e)},[i,e]);let o=r.useSyncExternalStore(r.useCallback(e=>i.subscribe(a.jG.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),d=r.useCallback((e,t)=>{i.mutate(e,t).catch(s.lQ)},[i]);if(o.error&&(0,s.GU)(i.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:d,mutateAsync:o.mutate}}},60529:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});let r=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},i=e=>e?r(e):r},60597:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(34023),i=n(61426),a=n(92796),o=n(99901);let s=r.forwardRef(function(e,t){let{render:n,className:r,style:s,id:l,...u}=e,d=(0,i.P)(),c=(0,o.e)(l);return d.useSyncedValueWithCleanup("titleElementId",c),(0,a.o)("h2",e,{ref:t,props:[{id:c},u]})})},61332:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,g:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(72));return t}},61426:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,a:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e){let t=i.useContext(a);if(!e&&void 0===t)throw Error((0,r.A)(27));return t}},61580:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(91939);function i(e){return(0,r.G)("alert-dialog",e)}}
31,61793:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(19758),i=n(23614),a=n(45778),o=n(34023);let s=new WeakMap;function l(e,t){let n,{locale:l}=(0,r.Y)(),u=t&&i.B.getGlobalDictionaryForPackage(t)||((n=s.get(e))||(n=new(0,i.B)(e),s.set(e,n)),n);return(0,o.useMemo)(()=>new(0,a.J)(l,u),[l,u])}},62025:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});let r={tabActivationDirection:e=>({"data-activation-direction":e})}},62165:(e,t,n)=>{"use strict";n.d(t,{$u:()=>d,F2:()=>l,H5:()=>c,Hi:()=>s,WZ:()=>f,em:()=>p,nd:()=>h,tZ:()=>u});var r=n(99097),i=n(27370),a=n(20290),o=n(79342);function s(e,t){if(!(0,r.vq)(e))return!1;if(t.hasElement(e))return!e.hasAttribute("data-trigger-disabled");for(let[,n]of t.entries())if((0,o.gR)(n,e))return!n.hasAttribute("data-trigger-disabled");return!1}function l(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function u(e){return e.matches("html,body")}function d(e){return(0,r.sb)(e)&&e.matches(a.BT)}function c(e){return e?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${a.BT}`)!=null}function f(e){return!!e&&"combobox"===e.getAttribute("role")&&d(e)}function p(e){if(!e||i.I)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}function h(e){return e?e.hasAttribute(a.Ed)?e:e.querySelector(`[${a.Ed}]`)||e:null}},62171:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(34023),i=n(61426),a=n(92796),o=n(41118);let s=r.forwardRef(function(e,t){let{render:n,className:r,style:s,forceRender:l=!1,...u}=e,d=(0,i.P)(),c=d.useState("open"),f=d.useState("nested"),p=d.useState("mounted"),h=d.useState("transitionStatus");return(0,a.o)("div",e,{state:{open:c,transitionStatus:h},ref:[d.context.backdropRef,t],stateAttributesMapping:o.LM,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},u],enabled:l||!f})})},62489:(e,t,n)=>{"use strict";n.d(t,{E:()=>b});var r=n(3831),i=n(63663),a=n(2049),o=n(80668),s=n(50596),l=n(74052),u=n(70878),d=n(80254);function c(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);){if((0,d.sD)(t.offsetParent,e)){i-=e[r];break}t=t.offsetParent}return i}var f=n(99866),p=n(23416),h=n(34562),m=n(84412),g=n(61793),v=n(17597),y=n(34023);function b(e,t,n){var b;let x,{date:w,isDisabled:S}=e,{errorMessageId:k,selectedDateDescription:E}=r.OX.get(t),$=(0,g.o)((b=i.A)&&b.__esModule?b.default:b,"@react-aria/calendar"),_=(0,v.i)({weekday:"long",day:"numeric",month:"long",year:"numeric",era:(0,r.cf)(w),timeZone:t.timeZone}),C=t.isSelected(w),D=t.isCellFocused(w)&&!e.isOutsideMonth;S=S||t.isCellDisabled(w);let I=t.isCellUnavailable(w),R=!S&&!I,T=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&w.compare(t.highlightedRange.start)>=0&&0>=w.compare(t.highlightedRange.end):t.value&&(0,a.ro)(t.value,w));T&&(C=!0),w=(0,o.k)(w,a.NV);let P=(0,y.useMemo)(()=>w.toDate(t.timeZone),[w,t.timeZone]),O=(0,a.cK)(w,t.timeZone),A=(0,y.useMemo)(()=>{let e="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&((0,a.ro)(w,t.value.start)||(0,a.ro)(w,t.value.end))&&(e=E+", "),e+=_.format(P),O?e=$.format(C?"todayDateSelected":"todayDate",{date:e}):C&&(e=$.format("dateSelected",{date:e})),t.minValue&&(0,a.ro)(w,t.minValue)?e+=", "+$.format("minimumDate"):t.maxValue&&(0,a.ro)(w,t.maxValue)&&(e+=", "+$.format("maximumDate")),e},[_,P,$,C,O,w,t,E]),j="";"anchorDate"in t&&D&&!t.isReadOnly&&R&&(j=t.anchorDate?$.format("finishRangeSelectionPrompt"):$.format("startRangeSelectionPrompt"));let z=(0,s.I)(j),N=(0,y.useRef)(!1),M=(0,y.useRef)(!1),L=(0,y.useRef)(void 0),{pressProps:F,isPressed:U}=(0,h.d)({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!R||t.isReadOnly,onPressStart(e){if(t.isReadOnly)return void t.setFocusedDate(w);if("highlightedRange"in t&&!t.anchorDate&&("mouse"===e.pointerType||"touch"===e.pointerType)){if(t.highlightedRange&&!T){if((0,a.ro)(w,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(w),t.setDragging(!0),M.current=!0;return}else if((0,a.ro)(w,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(w),t.setDragging(!0),M.current=!0;return}}let n=()=>{t.setDragging(!0),L.current=void 0,t.selectDate(w),t.setFocusedDate(w),N.current=!0};"touch"===e.pointerType?L.current=setTimeout(n,200):n()}},onPressEnd(){M.current=!1,N.current=!1,clearTimeout(L.current),L.current=void 0},onPress(){"anchorDate"in t||t.isReadOnly||(t.selectDate(w),t.setFocusedDate(w))},onPressUp(e){if(!t.isReadOnly&&("anchorDate"in t&&L.current&&(t.selectDate(w),t.setFocusedDate(w)),"anchorDate"in t))if(M.current)t.setAnchorDate(w);else if(t.anchorDate&&!N.current)t.selectDate(w),t.setFocusedDate(w);else if("keyboard"!==e.pointerType||t.anchorDate)"virtual"===e.pointerType&&(t.selectDate(w),t.setFocusedDate(w));else{t.selectDate(w);let e=w.add({days:1});t.isInvalid(e)&&(e=w.subtract({days:1})),t.isInvalid(e)||t.setFocusedDate(e)}}});
31S||(x=(0,a.ro)(w,t.focusedDate)?0:-1),(0,y.useEffect)(()=>{D&&n.current&&((0,l.e)(n.current),"pointer"!==(0,m.ME)()&&document.activeElement===n.current&&function(e,t){if(e&&(0,d.sD)(document,e)){let o=document.scrollingElement||document.documentElement,s="hidden"===window.getComputedStyle(o).overflow;if(s){let t=function(e){let t=[];for(;e&&e!==document.documentElement;)(0,u.o)(e,void 0)&&t.push(e),e=e.parentElement;return t}(e);for(let n of(s||t.push(o),t))!function(e,t){let n=c(e,t,"left"),r=c(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,o=e.scrollLeft,s=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:h}=getComputedStyle(e),m=o+parseInt(u,10),g=s+parseInt(l,10),v=m+e.clientWidth,y=g+e.clientHeight,b=parseInt(d,10)||0,x=parseInt(p,10)||0,w=parseInt(f,10)||0,S=parseInt(h,10)||0;n<=o+S?o=n-parseInt(u,10)-S:n+i>v-w&&(o+=n+i-v+w),r<=g+b?s=r-parseInt(l,10)-b:r+a>y-x&&(s+=r+a-y+x),e.scrollLeft=o,e.scrollTop=s}(n,e)}else{var n,r,i,a;let{left:o,top:s}=e.getBoundingClientRect();null==e||null==(n=e.scrollIntoView)||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();(Math.abs(o-l)>1||Math.abs(s-u)>1)&&(null==t||null==(i=t.containingElement)||null==(r=i.scrollIntoView)||r.call(i,{block:"center",inline:"center"}),null==(a=e.scrollIntoView)||a.call(e,{block:"nearest"}))}}}(n.current,{containingElement:(0,f.m)(n.current)}))},[D,n]);let B=(0,v.i)({day:"numeric",timeZone:t.timeZone,calendar:w.calendar.identifier}),V=(0,y.useMemo)(()=>B.formatToParts(P).find(e=>"day"===e.type).value,[B,P]);return{cellProps:{role:"gridcell","aria-disabled":!R||void 0,"aria-selected":C||void 0,"aria-invalid":T||void 0},buttonProps:(0,p.v)(F,{onFocus(){S||t.setFocusedDate(w)},tabIndex:x,role:"button","aria-disabled":!R||void 0,"aria-label":A,"aria-invalid":T||void 0,"aria-describedby":[T?k:void 0,z["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(e){"highlightDate"in t&&("touch"!==e.pointerType||t.isDragging)&&R&&t.highlightDate(w)},onPointerDown(e){"releasePointerCapture"in e.target&&("hasPointerCapture"in e.target?e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId):e.target.releasePointerCapture(e.pointerId))},onContextMenu(e){e.preventDefault()}}),isPressed:U,isFocused:D,isSelected:C,isDisabled:S,isUnavailable:I,isOutsideVisibleRange:0>w.compare(t.visibleRange.start)||w.compare(t.visibleRange.end)>0,isInvalid:T,formattedDate:V}}},62812:(e,t,n)=>{"use strict";n.d(t,{A:()=>J});var r,i,a,o,s,l,u,d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function c(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var f=("function"==typeof SuppressedError&&SuppressedError,n(34023)),p="right-scroll-bar-position",h="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var g="u">typeof window?f.useLayoutEffect:f.useEffect,v=new WeakMap,y=(void 0===r&&(r={}),(void 0===i&&(i=function(e){return e}),a=[],o=!1,s={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,o);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){o=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=d({async:!0,ssr:!1},r),s),b=function(){},x=f.forwardRef(function(e,t){var n,r,i,a,o=f.useRef(null),s=f.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=s[0],u=s[1],p=e.forwardProps,h=e.children,x=e.className,w=e.removeScrollBar,S=e.enabled,k=e.shards,E=e.sideCar,$=e.noIsolation,_=e.inert,C=e.allowPinchZoom,D=e.as,I=e.gapMode,R=c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(n=[o,t],r=function(e){return n.forEac
31h(function(t){return m(t,e)})},(i=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,a=i.facade,g(function(){var e=v.get(a);if(e){var t=new Set(e),r=new Set(n),i=a.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,i)})}v.set(a,n)},[n]),a),P=d(d({},R),l);return f.createElement(f.Fragment,null,S&&f.createElement(E,{sideCar:y,removeScrollBar:w,shards:k,noIsolation:$,inert:_,setCallbacks:u,allowPinchZoom:!!C,lockRef:o,gapMode:I}),p?f.cloneElement(f.Children.only(h),d(d({},P),{ref:T})):f.createElement(void 0===D?"div":D,d({},P,{className:x,ref:T}),h))});x.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},x.classNames={fullWidth:h,zeroRight:p};var w=function(e){var t=e.sideCar,n=c(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,d({},n))};w.isSideCarExport=!0;var S=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},k=function(){var e=S();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=k();return function(t){return e(t.styles,t.dynamic),null}},$={left:0,top:0,right:0,gap:0},_=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[_(n),_(r),_(i)]},D=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return $;var t=C(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},I=E(),R="data-scroll-locked",T=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(R,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(o,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(p," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(h," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(p," .").concat(p," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(h," .").concat(h," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(R,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},P=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},O=function(){f.useEffect(function(){return document.body.setAttribute(R,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;O();var a=f.useMemo(function(){return D(i)},[i]);return f.createElement(I,{styles:T(a,!t,i,n?"":"!important")})},j=!1;if("u">typeof window)try{var z=Object.defineProperty({},"passive",{get:function(){return j=!0,!0}});window.addEventListener("test",z,z),window.removeEventListener("test",z,z)}catch(e){j=!1}var N=!!j&&{passive:!1},M=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},L=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),F(e,r)){var i=U(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},F=function(e,t){return"v"===e?M(t,"overflowY"):M(t,"overflowX")},U=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*r,l=n.target,u=t.contains(l),d=!1,c=s>0,f=0,p=0;do{var h=U(e,l),m=h[0],g=h[1]-h[2]-o*m;(m||g)&&F(e,l)&&(f+=g,p+=m),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return c&&(i&&1>Math.abs(f)||!i&&s>f)?d=!0:!c&&(i&&1>Math.abs(p)||!i&&-s>p)&&(d=!0),d},V=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Z=function(e){return[e.deltaX,e.deltaY]},K=function(e){return e&&"current"in e?e.current:e},q=0,W=[];let G=(l=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),i=f.useState(q++)[0],a=f.useState(E)[0],o=f.useRef(e);f.useEffect(function(){o.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
31)([e.lockRef.current],(e.shards||[]).map(K),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var i,a=V(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-a[0],u="deltaY"in e?e.deltaY:s[1]-a[1],d=e.target,c=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===c&&"range"===d.type)return!1;var f=L(c,d);if(!f)return!0;if(f?i=c:(i="v"===c?"h":"v",f=L(c,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var p=r.current||i;return B(p,t,e,"h"===p?l:u,!0)},[]),l=f.useCallback(function(e){if(W.length&&W[W.length-1]===a){var n="deltaY"in e?Z(e):V(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(o.current.shards||[]).map(K).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=f.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=f.useCallback(function(e){n.current=V(e),r.current=void 0},[]),c=f.useCallback(function(t){u(t.type,Z(t),t.target,s(t,e.lockRef.current))},[]),p=f.useCallback(function(t){u(t.type,V(t),t.target,s(t,e.lockRef.current))},[]);f.useEffect(function(){return W.push(a),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,N),document.addEventListener("touchmove",l,N),document.addEventListener("touchstart",d,N),function(){W=W.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,N),document.removeEventListener("touchmove",l,N),document.removeEventListener("touchstart",d,N)}},[]);var h=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(a,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,h?f.createElement(A,{gapMode:e.gapMode}):null)},y.useMedium(l),w);var H=f.forwardRef(function(e,t){return f.createElement(x,d({},e,{ref:t,sideCar:G}))});H.classNames=x.classNames;let J=H},63039:(e,t,n)=>{"use strict";n.d(t,{m:()=>S});var r=n(34023),i=n(56742),a=n(49308),o=n(78638),s=n(42800),l=n(88018),u=n(7366),d=n(79342),c=n(20656),f=n(96094),p=n(94664),h=n(92796),m=n(28410),g=n(97869),v=n(99097);function y(e,t,n){switch(e){case"up":return-n;case"down":return n;case"left":return-t;case"right":return t;default:return 0}}var b=n(94799);let x={...f.G,swipeDirection:e=>e?{"data-swipe-direction":e}:null},w=`${g.BF},${g.eZ}`,S=r.forwardRef(function(e,t){let n,f,{toast:g,render:S,className:k,swipeDirection:E=["down","right"],style:$,..._}=e,C=g.positionerProps?.anchor!==void 0,D=[];C||(D=Array.isArray(E)?E:[E]);let I=D.length>0,R=(0,p.l)(),[T,P]=r.useState(void 0),[O,A]=r.useState(!1),[j,z]=r.useState(!1),[N,M]=r.useState({x:0,y:0}),[L,F]=r.useState({x:0,y:0,scale:1}),[U,B]=r.useState(),[V,Z]=r.useState(),[K,q]=r.useState(null),W=r.useRef(null),G=r.useRef(void 0),H=r.useRef({x:0,y:0}),J=r.useRef({x:0,y:0,scale:1}),Y=r.useRef(void 0),X=r.useRef(0),Q=r.useRef(!1),ee=r.useRef({x:0,y:0}),et=r.useRef(!1),en=r.useRef({x:0,y:0}),er=r.useRef(null),ei=r.useRef(null),ea=R.useState("toastIndex",g.id),eo=R.useState("toastVisibleIndex",g.id),es=R.useState("toastOffsetY",g.id),el=R.useState("focused"),eu=R.useState("expanded");(0,m.v)({open:"ending"!==g.transitionStatus,ref:W,onComplete(){"ending"===g.transitionStatus&&R.removeToast(g.id)}});let ed=(0,u.K)((e=!1)=>{let t=W.current;if(!t)return;let n=t.style.height;t.style.height="auto";let r=t.offsetHeight;function a(){R.updateToastInternal(g.id,{ref:W,height:r,transitionStatus:void 0})}t.style.height=n,e?i.flushSync(a):a()});function ec(e){en.current=e,M(e)}(0,l.g)(()=>{let e=G.current;("starting"===g.transitionStatus||e!==g.id)&&(void 0!==e&&(P(void 0),F({x:0,y:0,scale:1}),ec({x:0,y:0})),G.current=g.id,ed())},[ed,g.id,g.transitionStatus]),(0,l.g)(()=>()=>{ei.current?.abort()},[]);let ef=(0,u.K)(e=>{let t;if(e.pointerId!==er.current)return;er.current=null,ei.current?.abort(),ei.current=null,A(!1),z(!1),q(null);let n=J.current;if("pointercancel"===e.type||Q.current){ec({x:n.x,y:n.y}),P(void 0);return}let r=en.current,i=r.x-n.x,a=r.y-n.y;for(let e of D)if(y(e,i,a)>40){t=e;break}t?(P(t),R.closeToast(g.id)):(ec({x:n.x,y:n.y}),P(void 0))});r.useEffect(()=>{let e=W.current;if(I&&e)return(0,a.q)(e,"touchmove",function(t){null!==er.current&&(0,d.gR)(e,(0,d.EW)(t))&&t.preventDefault()},{passive:!1})},[I]);let ep="high"===g.priority,eh={role:ep?"alertdialog":"dialog",tabIndex:0,"aria-modal":!1,"aria-labelledby":U,"aria-describedby":V,"aria-hidden":!!ep&&!el||void 0,onPointerDown:I?function(e){if(0!==e.button)return;"touch"===e.pointerType&&R.pauseTimers();let t=(0,d.EW)(e.nativeEvent);if(t?.closest(`button,a,input,textarea,[role="button"],${w}`))return;Q.current=!1,Y.current=void 0,X.current=0,er.current=e.pointerId,H.current={x:e.clientX,y:e.clientY},ee.current=H.current;let n=e.currentTarget,r=function(e){let t=(0,v.zk)(e).getComputedStyle(e).transform,n=0,r=0,i=1;if(t&&"none"!==t){let e=t.match(/matrix(?:3d)?\(([^)]+)\)/);if(e){let t=e[1].split(", ").map(parseFloat);6===t.length?(n=t[4],r=t[5],i=Math.sqrt(t[0]*t[0]+t[1]*t[1])):16===t.length&&(n=t[12],r=t[13],i=t[0])}}return{x:n,y:r,scale:i}}(n);J.current=r,F(r),ec({x:r.x,y:r.y}),R.set("hovering",!0),A(!0),z(!1),q(null),et.current=!0,ei.current?.abort();let i=new AbortController;ei.current=i;let a=(0,o.R)(n);a.addEventListener("pointerup",ef,{signal:i.signal}),a.addEventListener("pointercancel",ef,{signal:i.signal}),n.setPointerCapture?.(e.pointerId)}:void 0,onPointerMove:I?function(e){let t,n,r,i;if(e.pointerId!==er.current)return;e.preventDefault(),et.current&&(H.current={x:e.clientX,y:e.clientY},et.current=!1);let{clientY:a,clientX:o,movementX:s,movementY:l}=e;(l<0&&a>ee.current.y||l>0&&a<ee.current.y)&&(ee.current={x:ee.current.x,y:a}),(s<0&&o>ee.current.x||s>0&&o<ee.current.x)&&(ee.current={x:o,y:ee.current.y});let u=o-H.current.x,d=a-H.current.y,c=a-ee.current.y,f=o-ee.current.x,p=K;
31if(!j&&Math.sqrt(u*u+d*d)>=1){z(!0);let e=D.includes("left")||D.includes("right"),t=D.includes("up")||D.includes("down");e&&t&&q(p=Math.abs(u)>Math.abs(d)?"horizontal":"vertical")}if(Y.current){let e=Y.current,t=y(e,f,c);t>40?(Q.current=!1,P(e)):D.includes("left")&&D.includes("right")||D.includes("up")&&D.includes("down")||!(X.current-t>=10)||(Q.current=!0)}else"vertical"===p?d>0?t="down":d<0&&(t="up"):"horizontal"===p?u>0?t="right":u<0&&(t="left"):t=Math.abs(u)>=Math.abs(d)?u>0?"right":"left":d>0?"down":"up",t&&D.includes(t)&&(Y.current=t,X.current=y(t,u,d),P(t));let h=(n=e=>e>0?e**.5:-(Math.abs(e)**.5),r=u>0&&!D.includes("right")||u<0&&!D.includes("left"),i=d>0&&!D.includes("down")||d<0&&!D.includes("up"),{x:r?n(u):u,y:i?n(d):d}),m=J.current.x,g=J.current.y,v=D.includes("left")||D.includes("right"),b=D.includes("up")||D.includes("down");"vertical"!==p&&v&&(m+=h.x),"horizontal"!==p&&b&&(g+=h.y),ec({x:m,y:g})}:void 0,onPointerUp:I?ef:void 0,onPointerCancel:I?ef:void 0,onKeyDown:function(e){"Escape"===e.key&&W.current&&(0,d.gR)(W.current,(0,d.RS)((0,o.R)(W.current)))&&R.closeToast(g.id)},inert:(0,s.Y)(g.limited),style:{...(n=N.x-L.x,f=N.y-L.y,{transition:O?"none":void 0,transform:O?`translateX(${N.x}px) translateY(${N.y}px) scale(${L.scale})`:void 0,"--toast-swipe-movement-x":`${n}px`,"--toast-swipe-movement-y":`${f}px`}),"--toast-index":"ending"===g.transitionStatus?ea:eo,"--toast-offset-y":`${es}px`,"--toast-height":g.height?`${g.height}px`:void 0}},em=r.useMemo(()=>({toast:g,setTitleId:B,setDescriptionId:Z,recalculateHeight:ed,visibleIndex:eo,expanded:eu}),[g,B,Z,ed,eo,eu]),eg={transitionStatus:g.transitionStatus,expanded:eu,limited:g.limited||!1,type:g.type,swiping:O,swipeDirection:T},ev=(0,h.o)("div",e,{ref:[t,W],state:eg,stateAttributesMapping:x,props:[eh,_]});return(0,b.jsx)(c.z.Provider,{value:em,children:ev})})},63244:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,a:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(70));return e}},63389:(e,t,n)=>{"use strict";function r(e){return`data-base-ui-${e}`}n.d(t,{F:()=>r})},63663:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r={};r={"ar-AE":{dateRange:e=>`${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,dateSelected:e=>`${e.date} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`\u{627}\u{644}\u{64A}\u{648}\u{645}\u{60C} ${e.date}`,todayDateSelected:e=>`\u{627}\u{644}\u{64A}\u{648}\u{645}\u{60C} ${e.date} \u{645}\u{62D}\u{62F}\u{62F}`},"bg-BG":{dateRange:e=>`${e.startDate} \u{434}\u{43E} ${e.endDate}`,dateSelected:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435} ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`\u{414}\u{43D}\u{435}\u{441}, ${e.date}`,todayDateSelected:e=>`\u{414}\u{43D}\u{435}\u{441}, ${e.date} \u{441}\u{430} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`},"cs-CZ":{dateRange:e=>`${e.startDate} a\u{17E} ${e.endDate}`,dateSelected:e=>`Vybr\xe1no ${e.date}`,finishRangeSelectionPrompt:"Kliknut\xedm dokonč\xedte v\xfdběr rozsahu dat",maximumDate:"Posledn\xed dostupn\xe9 datum",minimumDate:"Prvn\xed dostupn\xe9 datum",next:"Dalš\xed",previous:"Předchoz\xed",selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknut\xedm zah\xe1j\xedte v\xfdběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybr\xe1no ${e.date}`},"da-DK":{dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldf\xf8re valg af datoomr\xe5de",maximumDate:"Sidste ledige dato",minimumDate:"F\xf8rste ledige dato",next:"N\xe6ste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoomr\xe5de",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},"de-DE":{dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgew\xe4hlt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verf\xfcgbares Datum",minimumDate:"Erstes verf\xfcgbares Datum",next:"Weiter",previous:"Zur\xfcck",selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgew\xe4hlt`},"el-GR":{dateRange:e=>`${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,dateSelected:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`\u{3A3}\u{3AE}\u{3BC}\u{3B5}\u{3C1}\u{3B1}, ${e.date}`,todayDateSelected:e=>`\u{3A3}\u{3AE}\u{3BC}\u{3B5}\u{3C1}\u{3B1}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3C4}\u{3B7}\u{3BA}\u{3B5} ${e.date}`},"en-US":{previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`},"es-ES":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"\xdaltima fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>
31`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`},"et-EE":{dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Kl\xf5psake kuup\xe4evavahemiku valimise l\xf5petamiseks",maximumDate:"Viimane saadaolev kuup\xe4ev",minimumDate:"Esimene saadaolev kuup\xe4ev",next:"J\xe4rgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Kl\xf5psake kuup\xe4evavahemiku valimiseks",todayDate:e=>`T\xe4na, ${e.date}`,todayDateSelected:e=>`T\xe4na, ${e.date} valitud`},"fi-FI":{dateRange:e=>`${e.startDate} \u{2013} ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta p\xe4iv\xe4m\xe4\xe4r\xe4alueen valinta napsauttamalla t\xe4t\xe4.",maximumDate:"Viimeinen varattavissa oleva p\xe4iv\xe4m\xe4\xe4r\xe4",minimumDate:"Ensimm\xe4inen varattavissa oleva p\xe4iv\xe4m\xe4\xe4r\xe4",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita p\xe4iv\xe4m\xe4\xe4r\xe4alueen valinta napsauttamalla t\xe4t\xe4.",todayDate:e=>`T\xe4n\xe4\xe4n, ${e.date}`,todayDateSelected:e=>`T\xe4n\xe4\xe4n, ${e.date} valittu`},"fr-FR":{dateRange:e=>`${e.startDate} \xe0 ${e.endDate}`,dateSelected:e=>`${e.date} s\xe9lectionn\xe9`,finishRangeSelectionPrompt:"Cliquer pour finir de s\xe9lectionner la plage de dates",maximumDate:"Derni\xe8re date disponible",minimumDate:"Premi\xe8re date disponible",next:"Suivant",previous:"Pr\xe9c\xe9dent",selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer \xe0 s\xe9lectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd\u{2019}hui, ${e.date} s\xe9lectionn\xe9`},"he-IL":{dateRange:e=>`${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,dateSelected:e=>`${e.date} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`\u{5D4}\u{5D9}\u{5D5}\u{5DD}, ${e.date}`,todayDateSelected:e=>`\u{5D4}\u{5D9}\u{5D5}\u{5DD}, ${e.date} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`},"hr-HR":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`},"hu-HU":{dateRange:e=>`${e.startDate}\u{2013}${e.endDate}`,dateSelected:e=>`${e.date} kiv\xe1lasztva`,finishRangeSelectionPrompt:"Kattintson a d\xe1tumtartom\xe1ny kijel\xf6l\xe9s\xe9nek befejez\xe9s\xe9hez",maximumDate:"Utols\xf3 el\xe9rhető d\xe1tum",minimumDate:"Az első el\xe9rhető d\xe1tum",next:"K\xf6vetkező",previous:"Előző",selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a d\xe1tumtartom\xe1ny kijel\xf6l\xe9s\xe9nek ind\xedt\xe1s\xe1hoz",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijel\xf6lve`},"it-IT":{dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`},"ja-JP":{dateRange:e=>`${e.startDate} \u{304B}\u{3089} ${e.endDate}`,dateSelected:e=>`${e.date} \u{3092}\u{9078}\u{629E}`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`\u{672C}\u{65E5}\u{3001}${e.date}`,todayDateSelected:e=>`\u{672C}\u{65E5}\u{3001}${e.date} \u{3092}\u{9078}\u{629E}`},"ko-KR":{dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} \u{C120}\u{D0DD}\u{B428}`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`\u{C624}\u{B298}, ${e.date}`,todayDateSelected:e=>`\u{C624}\u{B298}, ${e.date} \u{C120}\u{D0DD}\u{B428}`},"lt-LT":{dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`\u{160}iandien, ${e.date}`,todayDateSelected:e=>`\u{160}iandien, pasirinkta ${e.date}`},"lv-LV":{dateRange:e=>`No ${e.startDate} l\u{12B}dz ${e.endDate}`,dateSelected:e=>`Atlas\u{12B}ts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlas\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`\u{160}odien, ${e.date}`,todayDateSelected:e=>`Atlas\u{12B}ta \u{161}odiena, ${e.date}`},"nb-NO":{dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for \xe5 fullf\xf8re valg av datoomr\xe5de",maximumDate:"Siste tilgjengelige dato",minimumDate:"F\xf8rste tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for \xe5 starte valg av datoomr\xe5de",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},"nl-NL":{dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`},"pl-PL":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wyb\xf3r zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wyb\xf3r zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>
31`Dzisiaj wybrano ${e.date}`},"pt-BR":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a sele\xe7\xe3o do intervalo de datas",maximumDate:"\xdaltima data dispon\xedvel",minimumDate:"Primeira data dispon\xedvel",next:"Pr\xf3ximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a sele\xe7\xe3o do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},"pt-PT":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"\xdaltima data dispon\xedvel",minimumDate:"Primeira data dispon\xedvel",next:"Pr\xf3ximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para come\xe7ar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},"ro-RO":{dateRange:e=>`De la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,dateSelected:e=>`${e.date} selectat\u{103}`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"\xcenainte",selectedDateDescription:e=>`Dat\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a \xeencepe selecţia razei pentru dată",todayDate:e=>`Ast\u{103}zi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectat\u{103}`},"ru-RU":{dateRange:e=>`\u{421} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,dateSelected:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`\u{421}\u{435}\u{433}\u{43E}\u{434}\u{43D}\u{44F}, ${e.date}`,todayDateSelected:e=>`\u{421}\u{435}\u{433}\u{43E}\u{434}\u{43D}\u{44F}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`},"sk-SK":{dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybrat\xfd d\xe1tum ${e.date}`,finishRangeSelectionPrompt:"Kliknut\xedm dokonč\xedte v\xfdber rozsahu d\xe1tumov",maximumDate:"Posledn\xfd dostupn\xfd d\xe1tum",minimumDate:"Prv\xfd dostupn\xfd d\xe1tum",next:"Nasleduj\xface",previous:"Predch\xe1dzaj\xface",selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknut\xedm spust\xedte v\xfdber rozsahu d\xe1tumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybrat\xfd dne\u{161}n\xfd d\xe1tum ${e.date}`},"sl-SI":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmo\u{10D}je: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`},"sr-SP":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`},"sv-SE":{dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka f\xf6r att avsluta val av datumintervall",maximumDate:"Sista t
31illg\xe4ngliga datum",minimumDate:"F\xf6rsta tillg\xe4ngliga datum",next:"N\xe4sta",previous:"F\xf6reg\xe5ende",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka f\xf6r att v\xe4lja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`},"tr-TR":{dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} se\xe7ildi`,finishRangeSelectionPrompt:"Tarih aralığı se\xe7imini tamamlamak i\xe7in tıklayın",maximumDate:"Son m\xfcsait tarih",minimumDate:"İlk m\xfcsait tarih",next:"Sonraki",previous:"\xd6nceki",selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı se\xe7imini başlatmak i\xe7in tıklayın",todayDate:e=>`Bug\xfcn, ${e.date}`,todayDateSelected:e=>`Bug\xfcn, ${e.date} se\xe7ildi`},"uk-UA":{dateRange:e=>`${e.startDate} \u{2014} ${e.endDate}`,dateSelected:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`\u{421}\u{44C}\u{43E}\u{433}\u{43E}\u{434}\u{43D}\u{456}, ${e.date}`,todayDateSelected:e=>`\u{421}\u{44C}\u{43E}\u{433}\u{43E}\u{434}\u{43D}\u{456}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} ${e.date}`},"zh-CN":{dateRange:e=>`${e.startDate} \u{81F3} ${e.endDate}`,dateSelected:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`\u{4ECA}\u{5929}\u{FF0C}\u{5373} ${e.date}`,todayDateSelected:e=>`\u{5DF2}\u{9009}\u{62E9}\u{4ECA}\u{5929}\u{FF0C}\u{5373} ${e.date}`},"zh-TW":{dateRange:e=>`${e.startDate} \u{81F3} ${e.endDate}`,dateSelected:e=>`\u{5DF2}\u{9078}\u{53D6} ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`\u{4ECA}\u{5929}\u{FF0C}${e.date}`,todayDateSelected:e=>`\u{5DF2}\u{9078}\u{53D6}\u{4ECA}\u{5929}\u{FF0C}${e.date}`}}},64014:(e,t,n)=>{"use strict";function r(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}n.d(t,{$4:()=>r,CM:()=>function e(t,n,r=!0){return t.filter(e=>e.parentId===n).flatMap(n=>[...!r||n.context?.open?[n]:[],...e(t,n.id,r)])}})},64064:(e,t,n)=>{"use strict";n.d(t,{H:()=>F});var r=n(34023),i=n(49754),a=n(50360),o=n(45753),s=n(31375),l=n(94675),u=n(46536),d=n(88018),c=n(7366),f=n(96820),p=n(56721),h=n(84505),m=n(57936),g=n(90360),v=n(85871),y=n(83435),b=n(96161),x=n(73924),w=n(76786),S=n(9785),k=n(59850),E=n(13327),$=n(6280),_=n(28655),C=n(8551),D=n(78337),I=n(28410),R=n(35358),T=n(67241),P=n(79141),O=n(4868),A=n(93602),j=n(31795),z=n(64652),N=n(18039),M=n(66431),L=n(94799);function F(e){let{id:t,value:n,defaultValue:F=null,onValueChange:U,open:B,defaultOpen:V=!1,onOpenChange:Z,name:K,form:q,autoComplete:W,disabled:G=!1,readOnly:H=!1,required:J=!1,modal:Y=!0,actionsRef:X,inputRef:Q,onOpenChangeComplete:ee,items:et,multiple:en=!1,itemToStringLabel:er,itemToStringValue:ei,isItemEqualToValue:ea=P.jd,highlightItemOnHover:eo=!0,children:es}=e,{clearErrors:el}=(0,R.x)(),{setDirty:eu,setTouched:ed,setFocused:ec,validityData:ef,setFilled:ep,name:eh,disabled:em,validation:eg,validationMode:ev}=(0,S.V$)(),ey=(0,E.l)({id:t}),eb=em||G,ex=eh??K,[ew,eS]=(0,u.q)({controlled:n,default:en?F??m.Ml:F,name:"Select",state:"value"}),[ek,eE]=(0,u.q)({controlled:B,default:V,name:"Select",state:"open"}),e$=r.useRef([]),e_=r.useRef([]),eC=r.useRef(null),eD=r.useRef(null),eI=r.useRef(0),eR=r.useRef(null),eT=r.useRef([]),eP=r.useRef(!1),eO=r.useRef(null),eA=r.useRef(null),ej=r.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ez=r.useRef(!1),{mounted:eN,setMounted:eM,transitionStatus:eL}=(0,$.$)(ek),{openMethod:eF,triggerProps:eU}=(0,j.G)(ek),eB=(0,o.j)(()=>new p.H({id:ey,labelId:void 0,modal:Y,multiple:en,itemToStringLabel:er,itemToStringValue:ei,isItemEqualToValue:ea,value:ew,open:ek,mounted:eN,transitionStatus:eL,items:et,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,eV=(0,h.P)(eB,_.T.activeIndex),eZ=(0,h.P)(eB,_.T.selectedIndex),eK=(0,h.P)(eB,_.T.triggerElement),eq=(0,h.P)(eB,_.T.positionerElement),eW=function(e){let[t,n]=r.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}(eF),eG=eF??eW,eH=r.useMemo(()=>en?"":(0,T.T)(ew,ei),[en,ew,ei]),eJ=r.useMemo(()=>en&&Array.isArray(ew)?ew.map(e=>(0,T.T)(e,ei)):(0,T.T)(ew,ei),[en,ew,ei]),eY=(0,f.u)(eK),eX=(0,c.K)(()=>eJ);(0,k.I)(eY,ey,ew,eX,!eb,K);let eQ=r.useRef(ew),e0=en?Array.isArray(ew)&&ew.length>0:null!=ew&&""!==eH;(0,d.g)(()=>{ep(e0)},[e0,ep]),(0,d.g)(function(){let e=ew,t=!1;if(en){let n=Array.isArray(ew)?ew:[];t=0===n.length,e=n[n.length-1]}let n=t?-1:(0,P.Vz)(eT.current,e,ea),r=-1===n?null:n;null===r&&(eA.current=null),ek||eB.set("selectedIndex",r)},[en,ek,ew,ea,eB]),(0,A.x)(ew,()=>{let e;el(ex),eu((e=ef.initialValue,Array.isArray(ew)&&Array.isArray(e)?!(0,O.B)(ew,e,(e,t)=>(0,P.tl)(e,t,ea)):ew!==e)),eg.change(ew)});let e1=(0,c.K)((e,t)=>
31{Z?.(e,t),!t.isCanceled&&(eE(e),e||t.reason!==D.Xn&&t.reason!==D.Np||(ed(!0),ec(!1),"onBlur"===ev&&eg.commit(ew)))}),e4=(0,c.K)(()=>{eM(!1),eB.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),ee?.(!1)});(0,I.v)({enabled:!X,open:ek,ref:eC,onComplete(){ek||e4()}}),r.useImperativeHandle(X,()=>({unmount:e4}),[e4]);let e3=(0,c.K)((e,t)=>{U?.(e,t),t.isCanceled||eS(e)}),e6=(0,c.K)(e=>{let t=(0,z.XF)(e.scrollHeight,e.clientHeight),n=(0,z.Qw)(e.scrollTop,t);eB.set("scrollUpArrowVisible",n>0),eB.set("scrollDownArrowVisible",n<t)}),e2=(0,g.P)({open:ek,onOpenChange:e1,elements:{reference:eK,floating:eq}}),e9=(0,v.k)(e2,{enabled:!H&&!eb,event:"mousedown"}),e5=(0,y.s)(e2),e7=(0,b.C)(e2,{enabled:!H&&!eb,listRef:e$,activeIndex:eV,selectedIndex:eZ,disabledIndices:m.Ml,onNavigate(e){(null!==e||ek)&&eB.set("activeIndex",e)},focusItemOnHover:eo}),e8=(0,x.l)(e2,{enabled:!H&&!eb&&(ek||!en),listRef:e_,activeIndex:eV,selectedIndex:eZ,disabledIndices:e=>(0,l.F)(e$.current[e]),onMatch(e){ek?eB.set("activeIndex",e):e3(eT.current[e],(0,C.d)(D.dv))},onTyping(e){eP.current=e}}),te=r.useMemo(()=>(0,M.v6)(e8.reference,e7.reference,e5.reference,e9.reference,eU),[e9.reference,e8.reference,e7.reference,e5.reference,eU]),tt=r.useMemo(()=>(0,M.v6)(N.Ls,e8.floating,e7.floating,e5.floating),[e8.floating,e7.floating,e5.floating]),tn=e7.item??m.t0;(0,s.j)(()=>{eB.update({popupProps:tt,triggerProps:te})}),eB.useSyncedValues({id:ey,modal:Y,multiple:en,value:ew,open:ek,mounted:eN,transitionStatus:eL,popupProps:tt,triggerProps:te,items:et,itemToStringLabel:er,itemToStringValue:ei,isItemEqualToValue:ea,openMethod:eG});let tr=r.useMemo(()=>({store:eB,floatingContext:e2,required:J,disabled:eb,readOnly:H,multiple:en,highlightItemOnHover:eo,setValue:e3,setOpen:e1,listRef:e$,popupRef:eC,scrollHandlerRef:eD,handleScrollArrowVisibility:e6,scrollArrowsMountedCountRef:eI,itemProps:tn,valueRef:eR,valuesRef:eT,labelsRef:e_,typingRef:eP,selectionRef:ej,firstItemTextRef:eO,selectedItemTextRef:eA,validation:eg,onOpenChangeComplete:ee,alignItemWithTriggerActiveRef:ez,initialValueRef:eQ}),[eB,e2,J,eb,H,en,eo,e3,e1,tn,eg,ee,e6]),ti=(0,a.a)(Q,eg.inputRef),ta=en?void 0:ex,to=r.useMemo(()=>en&&Array.isArray(ew)&&ex?ew.map(e=>{let t=(0,T.T)(e,ei);return(0,L.jsx)("input",{type:"hidden",form:q,name:ex,value:t,disabled:eb},t)}):null,[en,ew,q,ex,ei,eb]);return(0,L.jsxs)(w.C.Provider,{value:tr,children:[es,(0,L.jsx)("input",{...eg.getValidationProps(eb,{onFocus(){eB.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||eb||H)return;let t=e.currentTarget.value,n=(0,C.d)(D.dv,e.nativeEvent);eB.set("forceMount",!0),queueMicrotask(function(){if(en)return;let e=t.toLowerCase(),r=eT.current.findIndex(t=>(0,T.T)(t,ei).toLowerCase()===e||(0,T.yg)(t,er).toLowerCase()===e);-1===r&&(r=eT.current.findIndex((t,n)=>{let r=e_.current[n];return null!=r&&r.toLowerCase()===e}));let i=eT.current[r];null!=i&&e3(i,n)})}}),id:ey&&null==ta?`${ey}-hidden-input`:void 0,form:q,name:ta,autoComplete:W,value:eH,disabled:eb,required:J&&!(en&&e0),readOnly:H,ref:ti,style:ex?i.a:i.Q,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),to]})}},64102:(e,t,n)=>{"use strict";let r,i;n.d(t,{d:()=>H});var a=n(74761),o=n(55241);class s extends o.FG{fromJulianDay(e){let t=super.fromJulianDay(e),n=(0,o.LA)(t.era,t.year);return new(0,a.ng)(this,n- -543,t.month,t.day)}toJulianDay(e){return super.toJulianDay(l(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(l(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function l(e){let[t,n]=(0,o.f5)(e.year+-543);return new(0,a.ng)(t,n,e.month,e.day)}function u(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function d(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-u(e,n,1,1))/30),i=t+1-u(e,n,r,1);return[n,r,i]}function c(e){return Math.floor(e%4/3)}function f(e,t){return t%13!=0?30:c(e)+5}class p{fromJulianDay(e){let[t,n,r]=d(1723856,e),i="AM";return t<=0&&(i="AA",t+=5500),new(0,a.ng)(this,i,t,n,r)}toJulianDay(e){let t=e.year;return"AA"===e.era&&(t-=5500),u(1723856,t,e.month,e.day)}getDaysInMonth(e){return f(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+c(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(e){return"AA"===e.era?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class h extends p{fromJulianDay(e){let[t,n,r]=d(1723856,e);return t+=5500,new(0,a.ng)(this,"AA",t,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class m extends p{fromJulianDay(e){let[t,n,r]=d(1824665,e),i="CE";return t<=0&&(i="BCE",t=1-t),new(0,a.ng)(this,i,t,n,r)}toJulianDay(e){let t=e.year;return"BCE"===e.era&&(t=1-t),u(1824665,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return"BCE"===e.era&&(t=1-t),f(t,e.month)}isInverseEra(e){return"BCE"===e.era}balanceDate(e){e.year<=0&&(e.era="BCE"===e.era?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return"BCE"===e.era?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}var g=n(31816);let v=765433;function y(e){return 7>(0,g.z)(7*e+1,19)}function b(e){let t=Math.floor((235*e-234)/19),n=29*t+Math.floor((12084+13753*t)/25920);return 3>(0,g.z)(3*(n+1),7)&&(n+=1),n}function x(e){let t,n;return b(e)+(t=b(e-1),n=b(e),b(e+1)-n==356?2:+(n-t==382))}function w(e){return x(e+1)-x(e)}function S(e,t){if(t>=6&&!y(e)&&t++,4===t||7===t||9===t||11===t||13===t)return 29;let n=function(e){let t=w(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}(e);return 2===t?2===n?30:29:3===t?0===n?29:30:6===t?30*!!y(e):30}class k{fromJulianDay(e){let t=e-347997,n=Math.floor((25920*t/v*19+234)/235)+1,r=x(n),i=Math.floor(t-r);for(;i<1;)i=Math.floor(t-(r=x(--n)));let o=1,s=0;for(;s<i;)s+=S(n,o),o++;let l=i-(s-=S(n,--o));return new(0,a.ng)(this,n,o,l)}toJulianDay(e){let t=x(e.year);for(let n=1;n<e.month;n++)t+=S(e.year,n);return t+e.day+347997}getDaysInMonth(e){return S(e.year,e.month)}getMonthsInYear(e){return y(e.year)?13:12}getDaysInYear(e){return w(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(y(t.year)&&!y(e.year)&&t.month>6?e.month--:!y(t.year)&&y(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}class E extends o.FG{fromJulianDay(e){let t,n,r,i=super.fromJulianDay(e),s=i.year-78,l=e-(0,o.rG)(i.era,i.year,1,1);if(l<80?(s--,l+=(t=(0,o.U_)(i.year-1)?31:30)+155+90+10):(t=(0,o.U_)(i.year)?31:30,l-=80),l<t)n=1,r=l+1;else{let e=l-t;e<155?(n=Math.floor(e/31)+2,r=e%31+1):(e-=155,n=Math.floor(e/30)+7,r=e%30+1)}return new(0,a.ng)(this,s,n,r)}toJulianDay(e){let t,n,r=e.year+78,[i,a]=(0,o.f5)(r);return((0,o.U_)(a)?(t=31,n=(0,o.rG)(i,a,3,21)):(t=30,n=(0,o.rG)(i,a,3,22)),1===e.month)?n+e.day-1:(n+=t+31*Math.min(e.month-2,5),e.month>=8&&(n+=(e.month-7)*30),n+=e.day-1)}getDaysInMonth(e){return 1===e.month&&(0,o.U_)(e.year+78)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}function $(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function _(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+$(t,r,1,1)))/29.5)+1),o=n-$(t,r,i,1)+1;return new(0,a.ng)(e,r,i,o)}function C(e){return(14+11*e)%30<11}class D{fromJulianDay(e){return _(this,1948440,e)}toJulianDay(e){return $(1948440,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return 12===e.month&&C(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return C(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class I extends D{fromJulianDay(e){return _(this,1948439,e)}toJulianDay(e){return $(1948439,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}function R(e){return 460322+i[e-1300]}function T(e,t){return(r[e-1300]&1<<11-(t-1))==0?29:30}function P(e,t){let n=R(e);for(let r=1;r<t;r++)n+=T(e,r);return n}function O(e){return i[e+1-1300]-i[e-1300]}class A extends D{fromJulianDay(e){let t=e-1948440,n=R(1300),r=R(1600);if(t<n||t>r)return super.fromJulianDay(e);{let e=1299,n=1,r=1;for(;r>0;){r=t-R(++e)+1;let i=O(e);
31if(r===i){n=12;break}if(r<i){let t=T(e,n);for(n=1;r>t;)r-=t,t=T(e,++n);break}}return new(0,a.ng)(this,e,n,t-P(e,n)+1)}}toJulianDay(e){return e.year<1300||e.year>1600?super.toJulianDay(e):1948440+P(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<1300||e.year>1600?super.getDaysInMonth(e):T(e.year,e.month)}getDaysInYear(e){return e.year<1300||e.year>1600?super.getDaysInYear(e):O(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",r||(r=new Uint16Array(Uint8Array.from(atob("qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI="),e=>e.charCodeAt(0)).buffer)),!i){i=new Uint32Array(301);let e=0;for(let t=1300;t<=1600;t++){i[t-1300]=e;for(let n=1;n<=12;n++)e+=T(t,n)}}}}let j=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],z=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],N=[1867,1911,1925,1988,2018],M=["meiji","taisho","showa","heisei","reiwa"];function L(e){let t=j.findIndex(([t,n,r])=>!!(e.year<t)||e.year===t&&!!(e.month<n)||e.year===t&&e.month===n&&!!(e.day<r));return -1===t?j.length-1:0===t?0:t-1}function F(e){let t=N[M.indexOf(e.era)];if(!t)throw Error("Unknown era: "+e.era);return new(0,a.ng)(e.year+t,e.month,e.day)}class U extends o.FG{fromJulianDay(e){let t=super.fromJulianDay(e),n=L(t);return new(0,a.ng)(this,M[n],t.year-N[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(F(e))}balanceDate(e){let t=F(e),n=L(t);M[n]!==e.era&&(e.era=M[n],e.year=t.year-N[n]),this.constrainDate(e)}constrainDate(e){let t=M.indexOf(e.era),n=z[t];if(null!=n){let[r,i,a]=n,o=r-N[t];e.year=Math.max(1,Math.min(o,e.year)),e.year===o&&(e.month=Math.min(i,e.month),e.month===i&&(e.day=Math.min(a,e.day)))}if(1===e.year&&t>=0){let[,n,r]=j[t];e.month=Math.max(n,e.month),e.month===n&&(e.day=Math.max(r,e.day))}}getEras(){return M}getYearsInEra(e){let t=M.indexOf(e.era),n=j[t],r=j[t+1];if(null==r)return 9999-n[0]+1;let i=r[0]-n[0];return(e.month<r[1]||e.month===r[1]&&e.day<r[2])&&i++,i}getDaysInMonth(e){return super.getDaysInMonth(F(e))}getMinimumMonthInYear(e){let t=B(e);return t?t[1]:1}getMinimumDayInMonth(e){let t=B(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function B(e){if(1===e.year)return j[M.indexOf(e.era)]}let V=[0,31,62,93,124,155,186,216,246,276,306,336];class Z{fromJulianDay(e){let t=e-1948320,n=1+Math.floor((33*t+3)/12053),r=t-(365*(n-1)+Math.floor((8*n+21)/33)),i=r<216?Math.floor(r/31):Math.floor((r-6)/30),o=r-V[i]+1;return new(0,a.ng)(this,n,i+1,o)}toJulianDay(e){let t=1948319+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=V[e.month-1],t+=e.day}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||8>(0,g.z)(25*e.year+11,33)?30:29}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}function K(e){return"minguo"===e.era?e.year+1911:1-e.year+1911}function q(e){let t=e-1911;return t>0?["minguo",t]:["before_minguo",1-t]}class W extends o.FG{fromJulianDay(e){let t=super.fromJulianDay(e),[n,r]=q((0,o.LA)(t.era,t.year));return new(0,a.ng)(this,n,r,t.month,t.day)}toJulianDay(e){return super.toJulianDay(G(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=q(K(e));e.era=t,e.year=n}isInverseEra(e){return"before_minguo"===e.era}getDaysInMonth(e){return super.getDaysInMonth(G(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:8088}constructor(...e){super(...e),this.identifier="roc"}}function G(e){let[t,n]=(0,o.f5)(K(e));return new(0,a.ng)(t,n,e.month,e.day)}function H(e){switch(e){case"buddhist":return new s;case"ethiopic":return new p;case"ethioaa":return new h;case"coptic":return new m;case"hebrew":return new k;case"indian":return new E;case"islamic-civil":return new D;case"islamic-tbla":return new I;case"islamic-umalqura":return new A;case"japanese":return new U;case"persian":return new Z;case"roc":return new W;default:return new(0,o.FG)}}},64221:(e,t,n)=>{"use strict";let r;n.d(t,{Te:()=>w});var i=n(34023),a=n(56742);function o(e,t,n){let r,i=n.initialDeps??[],a=!0;function o(){let o=e();return o.length!==i.length||o.some((e,t)=>i[t]!==e)?(i=o,r=t(...o),(null==n?void 0:n.onChange)&&!(a&&n.skipInitialOnChange)&&n.onChange(r),a=!1,r):r}return o.updateDeps=e=>{i=e},o}function s(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}let l=()=>{if(void 0!==r)return r;if("u"<typeof navigator)return r=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return r=!0;let e=navigator.maxTouchPoints;return r="MacIntel"===navigator.platform&&void 0!==e&&e>0},u=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},d=e=>e,c=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,r=Array(n);for(let e=0;e<n;e++)r[e]=t+e;return r},f=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(u(n)),!r.ResizeObserver)return()=>{};let a=new r.ResizeObserver(t=>{let r=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(u(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return a.observe(n,{box:"border-box"}),()=>{a.unobserve(n)}},p={passive:!0},h="u"<typeof window||"onscrollend"in window,m=(e,t)=>
31((e,t,n)=>{var r,i;let a,o=e.scrollElement;if(!o)return;let s=e.targetWindow;if(!s)return;let l=e.options.useScrollendEvent&&h,u=0,d=l?null:(r=()=>t(u,!1),i=e.options.isScrollingResetDelay,function(...e){s.clearTimeout(a),a=s.setTimeout(()=>r.apply(this,e),i)}),c=e=>()=>{u=n(o),null==d||d(),t(u,e)},f=c(!0),m=c(!1);return o.addEventListener("scroll",f,p),l&&o.addEventListener("scrollend",m,p),()=>{o.removeEventListener("scroll",f),l&&o.removeEventListener("scrollend",m)}})(e,t,t=>{let{horizontal:n,isRtl:r}=e.options;return n?t.scrollLeft*(r&&-1||1):t.scrollTop}),g=(e,t,n)=>{if(n.options.useCachedMeasurements){let t=n.indexFromElement(e),r=n.options.getItemKey(t);return n.itemSizeCache.get(r)??n.options.estimateSize(t)}if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}if(!t){let t=n.indexFromElement(e),r=n.options.getItemKey(t),i=n.itemSizeCache.get(r);if(void 0!==i)return i}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},v=(e,{adjustments:t=0,behavior:n},r)=>{var i,a;null==(a=null==(i=r.scrollElement)?void 0:i.scrollTo)||a.call(i,{[r.options.horizontal?"left":"top"]:e+t,behavior:n})};class y{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var e,t,n;return(null==(n=null==(t=null==(e=this.targetWindow)?void 0:e.performance)?void 0:t.now)?void 0:n.call(t))??Date.now()},this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{let t=e.target,n=this.indexFromElement(t);if(!t.isConnected){for(let[e,n]of(this.observer.unobserve(t),this.elementsCache))if(n===t){this.elementsCache.delete(e);break}return}this.shouldMeasureDuringScroll(n)&&this.resizeItem(n,this.options.measureElement(t,e,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{var t,n;let r={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:d,rangeExtractor:c,onChange:()=>{},measureElement:g,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(let t in e){let n=e[t];void 0!==n&&(r[t]=n)}let i=this.options,a=null,o=null,s=!1;if(void 0!==i&&i.enabled&&r.enabled&&"end"===r.anchorTo&&null!==this.scrollElement){let e=i.count,l=r.count,u=this.getMeasurements(),d=e>0?(null==(t=u[0])?void 0:t.key)??i.getItemKey(0):null,c=e>0?(null==(n=u[e-1])?void 0:n.key)??i.getItemKey(e-1):null;if(l!==e||e>0&&l>0&&(r.getItemKey(0)!==d||r.getItemKey(l-1)!==c)){s=!0;let t=e>0?this.getVirtualItemForOffset(this.getScrollOffset())??u[0]:null;t&&(a=[t.key,this.getScrollOffset()-t.start]);let n=!0===r.followOnAppend?"auto":r.followOnAppend||null;n&&l>e&&this.isAtEnd(i.scrollEndThreshold)&&(0===e||r.getItemKey(l-1)!==c)&&(o=n)}}this.options=r,s&&(this.pendingMin=0,this.itemSizeCacheVersion++);let l=!1,u=0;if(a&&null!==this.scrollOffset){let[e,t]=a,n=this.getMeasurements(),{count:r,getItemKey:i}=this.options,o=0;for(;o<r&&i(o)!==e;)o++;if(o<r){let e=n[o];if(e){let n=e.start+t;n!==this.scrollOffset&&(u=n-this.scrollOffset,this.scrollOffset=n,l=!0)}}}(l||o)&&(this.pendingScrollAnchor=[l?a[0]:null,l?a[1]:0,o,u])},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=o(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>
31{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),null!=this.rafId&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();if(this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{null!==this._intendedScrollOffset&&1.5>Math.abs(e-this._intendedScrollOffset)&&(e=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){let e=this.scrollElement,t=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,null!==this._iosTouchEndTimerId&&null!=this.targetWindow&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},n=()=>{this._iosTouching=!1,l()&&null!=this.targetWindow&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};e.addEventListener("touchstart",t,p),e.addEventListener("touchend",n,p),this.unsubs.push(()=>{e.removeEventListener("touchstart",t),e.removeEventListener("touchend",n),null!==this._iosTouchEndTimerId&&null!=this.targetWindow&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}let n=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,n&&this.scrollElement&&this.options.enabled){let[e,t,r,i]=n;null===e||r||(l()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?0!==i&&(this._iosDeferredAdjustment+=i):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),r&&this.scrollToEnd({behavior:r})}},this._flushIosDeferredIfReady=()=>{if(0===this._iosDeferredAdjustment||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;let e=this.getScrollOffset(),t=this.getMaxScrollOffset();if(e<0||e>t)return;let n=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(e,{adjustments:this.scrollAdjustments+=n,behavior:void 0})},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let a=r.get(t.lane);if(null==a||t.end>a.end?r.set(t.lane,t):t.end<a.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=o(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(e,t,n,r,i,a,o)=>(void 0!==this.prevLanes&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMin=null,{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o}),{key:!1}),this.getMeasurements=o(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o},s)=>{let l=this.itemSizeCache;if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e
31=>{this.itemSizeCache.set(e.key,e.size)}));let u=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1),1===a){var d;let i,a=this.options.gap,o=2*e,s=this._flatMeasurements;if(!s||s.length<o){let e=new Float64Array(o);s&&u>0&&e.set(s.subarray(0,2*u)),s=e,this._flatMeasurements=s}if(0===u)i=t+n;else{let e=u-1;i=s[2*e]+s[2*e+1]+a}for(let t=u;t<e;t++){let e=r(t),n=l.get(e),o="number"==typeof n?n:this.options.estimateSize(t);s[2*t]=i,s[2*t+1]=o,i+=o+a}let c=(d=s,new Proxy(Array(e),{get(t,n,i){if("string"==typeof n){let i=n.charCodeAt(0);if(i>=48&&i<=57){let i=+n;if(Number.isInteger(i)&&i>=0&&i<e){let e=t[i];if(!e){let n=d[2*i];e=t[i]={index:i,key:r(i),start:n,size:d[2*i+1],end:n+d[2*i+1],lane:0}}return e}}if("length"===n)return e}return Reflect.get(t,n,i)}}));return this.measurementsCache=c,c}let c=this.measurementsCache.slice(0,u),f=Array(a).fill(void 0);for(let e=0;e<u;e++){let t=c[e];t&&(f[t.lane]=e)}for(let i=u;i<e;i++){let e,a,s=r(i),u=this.laneAssignments.get(i),d="estimate"===o||l.has(s);if(void 0!==u&&this.options.lanes>1){let r=f[e=u],i=void 0!==r?c[r]:void 0;a=i?i.end+this.options.gap:t+n}else{let r=1===this.options.lanes?c[i-1]:this.getFurthestMeasurement(c,i);a=r?r.end+this.options.gap:t+n,e=r?r.lane:i%this.options.lanes,this.options.lanes>1&&d&&this.laneAssignments.set(i,e)}let p=l.get(s),h="number"==typeof p?p:this.options.estimateSize(i),m=a+h;c[i]={index:i,start:a,size:h,end:m,key:s,lane:e},f[e]=i}return this.measurementsCache=c,c},{key:!1,debug:()=>this.options.debug}),this.calculateRange=o(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:r,flat:i}){let a=e.length-1,o=i?e=>i[2*e]:t=>e[t].start,s=i?e=>i[2*e]+i[2*e+1]:t=>e[t].end;if(e.length<=r)return{startIndex:0,endIndex:a};let l=b(0,a,o,n),u=l;if(1===r)for(;u<a&&s(u)<n+t;)u++;else if(r>1){let i=Array(r).fill(0);for(;u<a&&i.some(e=>e<n+t);){let t=e[u];i[t.lane]=t.end,u++}let o=Array(r).fill(n+t);for(;l>=0&&o.some(e=>e>=n);){let t=e[l];o[t.lane]=t.start,l--}l=Math.max(0,l-l%r),u=Math.min(a,u+(r-1-u%r))}return{startIndex:l,endIndex:u}}({measurements:e,outerSize:t,scrollOffset:n,lanes:r,flat:1===r&&null!=this._flatMeasurements?this._flatMeasurements:null}):null,{key:!1,debug:()=>this.options.debug}
31),this.getVirtualIndexes=o(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,i)=>null===r||null===i?[]:e({startIndex:r,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{var t;if(!this.scrollState||"smooth"!==this.scrollState.behavior)return!0;let n=this.scrollState.index??(null==(t=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))?void 0:t.index);if(void 0!==n&&this.range){let t=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),r=Math.max(0,n-t),i=Math.min(this.options.count-1,n+t);return e>=r&&e<=i}return!0},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});let t=this.indexFromElement(e),n=this.options.getItemKey(t),r=this.elementsCache.get(n);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.elementsCache.set(n,e)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(t)&&this.resizeItem(t,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,t)=>{var n,r;let i,a,o;if(e<0||e>=this.options.count)return;let s=this._flatMeasurements;if(1===this.options.lanes&&null!==s)o=this.options.getItemKey(e),a=s[2*e],i=s[2*e+1];else{let t=this.measurementsCache[e];if(!t)return;o=t.key,a=t.start,i=t.size}let l=t-(this.itemSizeCache.get(o)??i);if(0!==l){let s="end"===this.options.anchorTo&&(null==(n=this.scrollState)?void 0:n.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,u=s?this.getTotalSize():0,d=(null==(r=this.scrollState)?void 0:r.behavior)!=="smooth"&&(void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[e]??{index:e,key:o,start:a,size:i,end:a+i,lane:0},l,this):a<this.getScrollOffset()+this.scrollAdjustments&&"backward"!==this.scrollDirection);(null===this.pendingMin||e<this.pendingMin)&&(this.pendingMin=e),this.itemSizeCache.set(o,t),this.itemSizeCacheVersion++,s?this.applyScrollAdjustment(this.getTotalSize()-u):d&&this.applyScrollAdjustment(l),this.notify(!1)}},this.getVirtualItems=o(()=>
31[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0===t.length)return;let n=this._flatMeasurements,r=1===this.options.lanes&&null!=n,i=b(0,t.length-1,r?e=>n[2*e]:e=>s(t[e]).start,e);return s(t[i])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(e=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=e,this.getOffsetForAlignment=(e,t,n=0)=>
31{if(!this.scrollElement)return 0;let r=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+r?"end":"start"),"center"===t?e+=(n-r)/2:"end"===t&&(e-=r),Math.max(Math.min(this.getMaxScrollOffset(),e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getSize(),r=this.getScrollOffset(),i=this.measurementsCache[e];if(!i)return;if("auto"===t)if(i.end>=r+n-this.options.scrollPaddingEnd)t="end";else{if(!(i.start<=r+this.options.scrollPaddingStart))return[r,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let a="end"===t?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,t,i.size),t]},this.scrollToOffset=(e,{align:t="start",behavior:n="auto"}={})=>{let r=this.getOffsetForAlignment(e,t),i=this.now();this.scrollState={index:null,align:t,behavior:n,startedAt:i,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollToIndex=(e,{align:t="auto",behavior:n="auto"}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.getOffsetForIndex(e,t);if(!r)return;let[i,a]=r,o=this.now();this.scrollState={index:e,align:a,behavior:n,startedAt:o,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollBy=(e,{behavior:t="auto"}={})=>{let n=this.getScrollOffset()+e,r=this.now();this.scrollState={index:null,align:"start",behavior:t,startedAt:r,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:t}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:e="auto"}={})=>{this.options.count>0?this.scrollToIndex(this.options.count-1,{align:"end",behavior:e}):this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:e})},this.getTotalSize=()=>{var e;let t,n=this.getMeasurements();if(0===n.length)t=this.options.paddingStart;else if(1===this.options.lanes){let r=n.length-1,i=this._flatMeasurements;t=null!=i?i[2*r]+i[2*r+1]:(null==(e=n[r])?void 0:e.end)??0}else{let e=Array(this.options.lanes).fill(null),r=n.length-1;for(;r>=0&&e.some(e=>null===e);){let t=n[r];null===e[t.lane]&&(e[t.lane]=t.end),r--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{let e=[];
31if(0===this.itemSizeCache.size)return e;for(let t of this.getMeasurements())t&&this.itemSizeCache.has(t.key)&&e.push({index:t.index,key:t.key,start:t.start,size:t.size,end:t.end,lane:t.lane});return e},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this._intendedScrollOffset=e+(t??0),this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(e)}applyScrollAdjustment(e,t){0!==e&&(l()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=e:this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=e,behavior:t}))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}null==this.rafId&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}let e=null!=this.scrollState.index?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,t=e?e[0]:this.scrollState.lastTargetOffset,n=t!==this.scrollState.lastTargetOffset;if(!n&&1.01>Math.abs(t-this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=1){this.getScrollOffset()!==t&&this._scrollToOffset(t,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,n){let e=this.getSize()||600,n=Math.abs(t-this.getScrollOffset()),r="smooth"===this.scrollState.behavior&&n>e;this.scrollState.lastTargetOffset=t,r||(this.scrollState.behavior="auto"),this._scrollToOffset(t,{adjustments:void 0,behavior:r?"smooth":"auto"})}this.scheduleScrollReconcile()}}let b=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,a=n(i);if(a<r)e=i+1;else{if(!(a>r))return i;t=i-1}}return e>0?e-1:0},x="u">typeof document?i.useLayoutEffect:i.useEffect;function w(e){return function({useFlushSync:e=!0,directDomUpdates:t=!1,directDomUpdatesMode:n="transform",...r}){let o=i.useReducer(e=>e+1,0)[1],s=i.useRef({enabled:t,mode:n,container:null,lastSize:null,lastPositions:new WeakMap,prevRange:null});s.current.enabled=t,s.current.mode=n;let l=e=>{let t=s.current;if(!t.enabled)return;let n=e.getTotalSize();if(t.container&&n!==t.lastSize){t.lastSize=n;let r=e.options.horizontal?"width":"height";t.container.style[r]=`${n}px`}let r=!!e.options.horizontal,i="transform"===t.mode,a=r?"left":"top",o=e.options.scrollMargin;for(let n of e.getVirtualItems()){let s=n.start-o,l=e.elementsCache.get(n.key);l&&t.lastPositions.get(l)!==s&&(t.lastPositions.set(l,s),i?l.style.transform=r?`translate3d(${s}px, 0, 0)`:`translate3d(0, ${s}px, 0)`:l.style[a]=`${s}px`)}},u={...r,onChange:(t,n)=>{var i;let u=s.current,d=!0;if(u.enabled){l(t);let e=t.range,n=u.prevRange;(d=!n||n.isScrolling!==t.isScrolling||n.startIndex!==(null==e?void 0:e.startIndex)||n.endIndex!==(null==e?void 0:e.endIndex))&&(u.prevRange=e?{startIndex:e.startIndex,endIndex:e.endIndex,isScrolling:t.isScrolling}:null)}d&&(e&&n?(0,a.flushSync)(o):o()),null==(i=r.onChange)||i.call(r,t,n)}},[d]=i.useState(()=>{let e=new y(u);return Object.assign(e,{containerRef:t=>{let n=s.current;if(n.container=t,n.lastSize=null,t&&n.enabled){let r=e.getTotalSize();n.lastSize=r;let i=e.options.horizontal?"width":"height";t.style[i]=`${r}px`}}})});return d.setOptions(u),x(()=>d._didMount(),[]),x(()=>d._willUpdate()),x(()=>{l(d)}),d}({observeElementRect:f,observeElementOffset:m,scrollToFn:v,...e})}},64441:(e,t,n)=>{"use strict";n.d(t,{Fp:()=>i,cn:()=>a});var r=n(3848);let i="u">typeof CSS&&!!CSS.supports?.("-webkit-backdrop-filter:none"),a=!i&&r.ST.includes("firefox");i||r.ST.includes("chrom")}
31,64652:(e,t,n)=>{"use strict";n.d(t,{Pv:()=>i,Qw:()=>o,XF:()=>a});var r=n(51407);let i=1;function a(e,t){return Math.max(0,e-t)}function o(e,t){if(t<=0)return 0;let n=(0,r.q)(e,0,t),a=t-n,o=n<=i,s=a<=i;return o&&s?n<=a?0:t:o?0:s?t:n}},64951:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>K,UC:()=>G,ZL:()=>W,bL:()=>Z,bm:()=>H,l9:()=>q});var r=n(34023),i=n(82669),a=n(34233),o=n(17069),s=n(6964),l=n(17977),u=n(75043),d=n(22905),c=n(94454),f=n(50257),p=n(97765),h=n(39739),m=n(89360),g=n(66825),v=n(42888),y=n(62812),b=n(94799),x="Popover",[w,S]=(0,o.A)(x,[c.Bk]),k=(0,c.Bk)(),[E,$]=w(x),_=e=>{let{__scopePopover:t,children:n,open:i,defaultOpen:a,onOpenChange:o,modal:s=!1}=e,l=k(t),u=r.useRef(null),[f,p]=r.useState(!1),[h,m]=(0,g.i)({prop:i,defaultProp:a??!1,onChange:o,caller:x});return(0,b.jsx)(c.bL,{...l,children:(0,b.jsx)(E,{scope:t,contentId:(0,d.B)(),triggerRef:u,open:h,onOpenChange:m,onOpenToggle:r.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:r.useCallback(()=>p(!0),[]),onCustomAnchorRemove:r.useCallback(()=>p(!1),[]),modal:s,children:n})})};_.displayName=x;var C="PopoverAnchor",D=r.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,a=$(C,n),o=k(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=a;return r.useEffect(()=>(s(),()=>l()),[s,l]),(0,b.jsx)(c.Mz,{...o,...i,ref:t})});D.displayName=C;var I="PopoverTrigger",R=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=$(I,n),s=k(n),l=(0,a.s)(t,o.triggerRef),u=(0,b.jsx)(h.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":V(o.open),...r,ref:l,onClick:(0,i.mK)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,b.jsx)(c.Mz,{asChild:!0,...s,children:u})});R.displayName=I;var T="PopoverPortal",[P,O]=w(T,{forceMount:void 0}),A=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=$(T,t);return(0,b.jsx)(P,{scope:t,forceMount:n,children:(0,b.jsx)(p.C,{present:n||a.open,children:(0,b.jsx)(f.Z,{asChild:!0,container:i,children:r})})})};A.displayName=T;var j="PopoverContent",z=r.forwardRef((e,t)=>{let n=O(j,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=$(j,e.__scopePopover);return(0,b.jsx)(p.C,{present:r||a.open,children:a.modal?(0,b.jsx)(M,{...i,ref:t}):(0,b.jsx)(L,{...i,ref:t})})});z.displayName=j;var N=(0,m.TL)("PopoverContent.RemoveScroll"),M=r.forwardRef((e,t)=>{let n=$(j,e.__scopePopover),o=r.useRef(null),s=(0,a.s)(t,o),l=r.useRef(!1);return r.useEffect(()=>{let e=o.current;
31if(e)return(0,v.Eq)(e)},[]),(0,b.jsx)(y.A,{as:N,allowPinchZoom:!0,children:(0,b.jsx)(F,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;l.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),L=r.forwardRef((e,t)=>{let n=$(j,e.__scopePopover),i=r.useRef(!1),a=r.useRef(!1);return(0,b.jsx)(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),F=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,...m}=e,g=$(j,n),v=k(n);return(0,l.Oh)(),(0,b.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,b.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:h,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>g.onOpenChange(!1),children:(0,b.jsx)(c.UC,{"data-state":V(g.open),role:"dialog",id:g.contentId,...v,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),U="PopoverClose",B=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=$(U,n);return(0,b.jsx)(h.sG.button,{type:"button",...r,ref:t,onClick:(0,i.mK)(e.onClick,()=>a.onOpenChange(!1))})});function V(e){return e?"open":"closed"}B.displayName=U,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(n);return(0,b.jsx)(c.i3,{...i,...r,ref:t})}).displayName="PopoverArrow";var Z=_,K=D,q=R,W=A,G=z,H=B},64988:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(34023);let i=r.createContext(void 0),a={disableStyleElements:!1};function o(){return r.useContext(i)??a}},65194:(e,t,n)=>{"use strict";n(29286)},65200:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;0!=i--;){var r,i,a,o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}}
31,65538:(e,t,n)=>{"use strict";n.d(t,{V:()=>a,y:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(32));return e}},65736:(e,t,n)=>{"use strict";function r(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}n.d(t,{g:()=>r})},66251:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});var r=n(34023),i=n(46536),a=n(88018),o=n(7366),s=n(92796),l=n(33848),u=n(83778),d=n(62025),c=n(8551),f=n(78337),p=n(94799);let h=r.forwardRef(function(e,t){let{className:n,defaultValue:h=0,onValueChange:v,orientation:y="horizontal",render:b,value:x,style:w,...S}=e,k=void 0!==e.defaultValue,E=r.useRef([]),[$,_]=r.useState(()=>new Map),[C,D]=(0,i.q)({controlled:x,default:h,name:"Tabs",state:"value"}),I=void 0!==x,[R,T]=r.useState(()=>new Map),P=r.useRef(void 0),O=r.useCallback(e=>m(R,e),[R]),[A,j]=r.useState(()=>({previousValue:C,tabActivationDirection:"none"})),{previousValue:z,tabActivationDirection:N}=A,M=N,L=!1;z!==C&&(M=g(z,C,y,R),L=null!=z&&null!=C&&null==O(C));let F=L?z:C,U=z!==F||N!==M;(0,a.g)(()=>{U&&j({previousValue:F,tabActivationDirection:M})},[F,U,M]);let B=(0,o.K)((e,t)=>{t.activationDirection=g(C,e,y,R),v?.(e,t),t.isCanceled||D(e)}),V=(0,o.K)((e,t)=>{v?.(e,(0,c.d)(t,void 0,void 0,{activationDirection:"none"}))}),Z=(0,o.K)((e,t)=>(_(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{_(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),K=r.useCallback(e=>$.get(e),[$]),q=r.useCallback(e=>{for(let t of R.values())if(e===t.value)return t.id},[R]),W=r.useMemo(()=>({getTabElementBySelectedValue:O,getTabIdByPanelValue:q,getTabPanelIdByValue:K,onValueChange:B,orientation:y,registerMountedTabPanel:Z,setTabMap:T,tabActivationDirection:M,value:C}),[O,q,K,B,y,Z,T,M,C]),G=r.useMemo(()=>{for(let e of R.values())if(e.value===C)return e},[R,C]),H=r.useMemo(()=>{for(let e of R.values())if(!e.disabled)return e.value},[R]),J=r.useRef(!k),Y=r.useRef(h),X=r.useRef(k),Q=r.useRef(!1);(0,a.g)(()=>{if(I)return;function e(e,t){D(e),j({previousValue:e,tabActivationDirection:"none"}),V(e,t),J.current=!1}if(0===R.size){Q.current&&null!==C&&!P.current?.isConnected&&e(null,f.c);return}Q.current=!0,P.current=R.keys().next().value;let t=G?.disabled,n=null==G&&null!==C;if(t||C!==Y.current||(X.current=!1),X.current&&t&&C===Y.current)return;let r=J.current;if(t||n){let n=H??null;if(C===n){J.current=!1;return}let i=f.c;r?i=f.Vh:t&&(i=f.r9),e(n,i);return}r&&null!=G&&(V(C,f.Vh),J.current=!1)},[H,I,V,G,D,R,C]);let ee={orientation:y,tabActivationDirection:M},et=(0,s.o)("div",e,{state:ee,ref:t,props:S,stateAttributesMapping:d.h});return(0,p.jsx)(u.G.Provider,{value:W,children:(0,p.jsx)(l.u,{elementsRef:E,children:et})})});function m(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function g(e,t,n,r){if(null==e||null==t)return"none";let[i,a,o]="horizontal"===n?["left","left","right"]:["top","up","down"],s=m(r,e),l=m(r,t);if(null==s||null==l)return s!==l&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?o:a:"none";let u=s.getBoundingClientRect()[i],d=l.getBoundingClientRect()[i];return d<u?a:d>u?o:"none"}},66431:(e,t,n)=>{"use strict";n.d(t,{PT:()=>p,VN:()=>h,lZ:()=>o,v6:()=>a});var r=n(59939);let i={};function a(e,t,n,r,i){if(!n&&!r&&!i&&!e)return s(t);let a=s(e);return t&&(a=l(a,t)),n&&(a=l(a,n)),r&&(a=l(a,r)),i&&(a=l(a,i)),a}function o(e){if(0===e.length)return i;if(1===e.length)return s(e[0]);let t=s(e[0]);for(let n=1;n<e.length;n+=1)t=l(t,e[n]);return t}function s(e){return d(e)?{...c(e,i)}:function(e){let t={...e};for(let e in t){let n=t[e];u(e,n)&&(t[e]=f(n))}return t}(e)}function l(e,t){return d(t)?c(t,e):function(e,t){if(!t)return e;for(let n in t){let i=t[n];switch(n){case"style":e[n]=(0,r.r)(e.style,i);break;case"className":e[n]=h(e.className,i);break;default:u(n,i)?e[n]=function(e,t){return t?e?(...n)=>{let r=n[0];if(m(r)){p(r);let i=t(...n);return r.baseUIHandlerPrevented||e?.(...n),i}let i=t(...n);return e?.(...n),i}:f(t):e}(e[n],i):e[n]=i}}return e}(e,t)}function u(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return 111===n&&110===r&&i>=65&&i<=90&&("function"==typeof t||void 0===t)}function d(e){return"function"==typeof e}function c(e,t){return d(e)?e(t):e??i}function f(e){return e?(...t)=>{let n=t[0];return m(n)&&p(n),e(...t)}:e}function p(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function h(e,t){return t?e?t+" "+e:t:e}function m(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}},66810:(e,t,n)=>{"use strict";n.d(t,{m:()=>a,p:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(26));return e}},66825:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r,i=n(34023),a=n(98004),o=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||a.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[a,l,u]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),a=i.useRef(n),s=i.useRef(t);return o(()=>{s.current=t},[t]),i.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}({defaultProp:t,onChange:n}),d=void 0!==e,c=d?e:a;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,r])}return[c,i.useCallback(t=>{if(d){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else l(t)},[d,e,l,u])]}Symbol("RADIX:SYNC_STATE")},66892:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(34023);let i=(e,t)=>{let n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t
31:new Map(t.entries());if(n.size!==r.size)return!1;for(let[e,t]of n)if(!r.has(e)||!Object.is(t,r.get(e)))return!1;return!0};function a(e){let t=r.useRef(void 0);return n=>{let r=e(n);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;if(Symbol.iterator in e&&Symbol.iterator in t){if("entries"in e&&"entries"in t)return i(e,t);let n=e[Symbol.iterator](),r=t[Symbol.iterator](),a=n.next(),o=r.next();for(;!a.done&&!o.done;){if(!Object.is(a.value,o.value))return!1;a=n.next(),o=r.next()}return!!a.done&&!!o.done}return i({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}(t.current,r)?t.current=r:t.current}}},67241:(e,t,n)=>{"use strict";function r(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function i(e){return null!=e&&e.length>0&&"object"==typeof e[0]&&null!=e[0]&&"items"in e[0]}function a(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(i(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1}function o(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return r(e)}function s(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?r(e.value):r(e)}n.d(t,{Dp:()=>a,Li:()=>i,yg:()=>o,T:()=>s}),n(34023),n(94799)},67524:(e,t,n)=>{"use strict";n.d(t,{B8:()=>I,UC:()=>T,bL:()=>D,l9:()=>R});var r=n(34023),i=n(82669),a=n(17069),o=n(69096),s=n(97765),l=n(39739),u=n(4455),d=n(66825),c=n(22905),f=n(94799),p="Tabs",[h,m]=(0,a.A)(p,[o.RG]),g=(0,o.RG)(),[v,y]=h(p),b=r.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o="horizontal",dir:s,activationMode:h="automatic",...m}=e,g=(0,u.jH)(s),[y,b]=(0,d.i)({prop:r,onChange:i,defaultProp:a??"",caller:p});return(0,f.jsx)(v,{scope:n,baseId:(0,c.B)(),value:y,onValueChange:b,orientation:o,dir:g,activationMode:h,children:(0,f.jsx)(l.sG.div,{dir:g,"data-orientation":o,...m,ref:t})})});b.displayName=p;var x="TabsList",w=r.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=y(x,n),s=g(n);return(0,f.jsx)(o.bL,{asChild:!0,...s,orientation:a.orientation,dir:a.dir,loop:r,children:(0,f.jsx)(l.sG.div,{role:"tablist","aria-orientation":a.orientation,...i,ref:t})})});w.displayName=x;var S="TabsTrigger",k=r.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:a=!1,...s}=e,u=y(S,n),d=g(n),c=_(u.baseId,r),p=C(u.baseId,r),h=r===u.value;return(0,f.jsx)(o.q7,{asChild:!0,...d,focusable:!a,active:h,children:(0,f.jsx)(l.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":p,"data-state":h?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:c,...s,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(r)}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&u.onValueChange(r)}),onFocus:(0,i.mK)(e.onFocus,()=>{let e="manual"!==u.activationMode;h||a||!e||u.onValueChange(r)})})})});k.displayName=S;var E="TabsContent",$=r.forwardRef((e,t)=>{let{__scopeTabs:n,value:i,forceMount:a,children:o,...u}=e,d=y(E,n),c=_(d.baseId,i),p=C(d.baseId,i),h=i===d.value,m=r.useRef(h);return r.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(s.C,{present:a||h,children:({present:n})=>(0,f.jsx)(l.sG.div,{"data-state":h?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":c,hidden:!n,id:p,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&o})})});function _(e,t){return`${e}-trigger-${t}`}function C(e,t){return`${e}-content-${t}`}$.displayName=E;var D=b,I=w,R=k,T=$},67558:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,s:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(20));return e}},67566:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(34023);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let a=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var a;let o=(null==(a=e.current.get(r))?void 0:a.fn)||r;t.removeEventListener(n,o,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},68125:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,...t){let n=new URL("https://base-ui.com/production-error");
31return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`}},68708:(e,t,n)=>{"use strict";function r(e){return null==e?e:"current"in e?e.current:e}n.d(t,{q:()=>r})},69003:(e,t,n)=>{"use strict";function r(){return!1}n.d(t,{Nf:()=>r})},69045:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var r=n(34023),i=n(99097),a=n(7366),o=n(88018),s=n(66431),l=n(1075),u=n(53959);function d(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:f=0,native:p=!0,composite:h}=e,m=r.useRef(null),g=(0,l.G)(!0),v=h??void 0!==g,{props:y}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:i=!1,tabIndex:a=0,isNativeButton:o}=e,s=i&&!1!==t,l=i&&!1===t;return{props:r.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return i||(e.tabIndex=a,!o&&n&&(e.tabIndex=t?a:-1)),(o&&(t||s)||!o&&n)&&(e["aria-disabled"]=n),o&&(!t||l)&&(e.disabled=n),e},[i,n,t,s,l,o,a])}}({focusableWhenDisabled:n,disabled:t,composite:v,tabIndex:f,isNativeButton:p}),b=r.useCallback(()=>{let e=m.current;c(e)&&v&&t&&void 0===y.disabled&&e.disabled&&(e.disabled=!1)},[t,y.disabled,v]);return(0,o.g)(b,[b]),{getButtonProps:r.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:l,...d}=e;return(0,s.v6)({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){var n;if(t||((0,s.PT)(e),o?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,a=e.currentTarget,l=c(a),d=!p&&(n=a,(0,i.sb)(n)&&"A"===n.tagName&&!!n.href),f=r&&(p?l:!d),h="Enter"===e.key,m=" "===e.key,g=a.getAttribute("role"),y=g?.startsWith("menuitem")||"option"===g||"gridcell"===g;if(r&&v&&m){if(e.defaultPrevented&&y)return;e.preventDefault(),(!p||l)&&(e.preventBaseUIHandler(),(0,u.B)(a,e));return}if(!f||p||!m&&!h){r&&d&&m&&e.preventDefault();return}!e.defaultPrevented&&(e.preventDefault(),h&&(e.preventBaseUIHandler(),(0,u.B)(a,e)))},onKeyUp(e){t||(((0,s.PT)(e),a?.(e),e.target===e.currentTarget&&p&&v&&c(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||p||v||e.defaultPrevented||" "!==e.key||(e.preventBaseUIHandler(),(0,u.B)(e.currentTarget,e))))},onPointerDown(e){t?e.preventDefault():l?.(e)}},p?{type:"button"}:{role:"button"},y,d)},[t,y,v,p]),buttonRef:(0,a.K)(e=>{m.current=e,b()})}}function c(e){return(0,i.sb)(e)&&"BUTTON"===e.tagName}},69096:(e,t,n)=>{"use strict";n.d(t,{RG:()=>w,bL:()=>R,q7:()=>T});var r=n(34023),i=n(82669),a=n(78512),o=n(34233),s=n(17069),l=n(22905),u=n(39739),d=n(12789),c=n(66825),f=n(4455),p=n(94799),h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,a.N)(g),[x,w]=(0,s.A)(g,[b]),[S,k]=x(g),E=r.forwardRef((e,t)=>(0,p.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)($,{...e,ref:t})})}));E.displayName=g;var $=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:s=!1,dir:l,currentTabStopId:v,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:x,onEntryFocus:w,preventScrollOnEntryFocus:k=!1,...E}=e,$=r.useRef(null),_=(0,o.s)(t,$),C=(0,f.jH)(l),[D,R]=(0,c.i)({prop:v,defaultProp:b??null,onChange:x,caller:g}),[T,P]=r.useState(!1),O=(0,d.c)(w),A=y(n),j=r.useRef(!1),[z,N]=r.useState(0);return r.useEffect(()=>{let e=$.current;if(e)return e.addEventListener(h,O),()=>e.removeEventListener(h,O)},[O]),(0,p.jsx)(S,{scope:n,orientation:a,dir:C,loop:s,currentTabStopId:D,onItemFocus:r.useCallback(e=>R(e),[R]),onItemShiftTab:r.useCallback(()=>P(!0),[]),onFocusableItemAdd:r.useCallback(()=>N(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>N(e=>e-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:T||0===z?-1:0,"data-orientation":a,...E,ref:_,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{j.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!j.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=A().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>
31e.id===D),...e].filter(Boolean).map(e=>e.ref.current),k)}}j.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>P(!1))})})}),_="RovingFocusGroupItem",C=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:o=!1,tabStopId:s,children:d,...c}=e,f=(0,l.B)(),h=s||f,m=k(_,n),g=m.currentTabStopId===h,b=y(n),{onFocusableItemAdd:x,onFocusableItemRemove:w,currentTabStopId:S}=m;return r.useEffect(()=>{if(a)return x(),()=>w()},[a,x,w]),(0,p.jsx)(v.ItemSlot,{scope:n,id:h,focusable:a,active:o,children:(0,p.jsx)(u.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{a?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return D[i]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&i.reverse();let a=i.indexOf(e.currentTarget);i=m.loop?(n=i,r=a+1,n.map((e,t)=>n[(r+t)%n.length])):i.slice(a+1)}setTimeout(()=>I(i))}}),children:"function"==typeof d?d({isCurrentTabStop:g,hasTabStop:null!=S}):d})})});C.displayName=_;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var R=E,T=C},69124:(e,t,n)=>{"use strict";let r;n.d(t,{xC:()=>U,x6:()=>A,Bd:()=>F});var i=n(34023),a=n(57981),o=n(19130),s=n.n(o),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function u(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var i=new RegExp(l),a=null;null!==(a=i.exec(e));)if(a[0].trim())if(a[1]){var o=a[1].trim(),u=[o,""];o.indexOf("=")>-1&&(u=o.split("=")),t.attrs[u[0]]=u[1],i.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var d=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,f=Object.create(null);let p=function(e,t){t||(t={}),t.components||(t.components=f);var n,r=[],i=[],a=-1,o=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(d,function(s,l){if(o){if(s!=="</"+n.name+">")return;o=!1}var d,f="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),h=l+s.length,m=e.charAt(h);if(p){var g=u(s);return a<0?r.push(g):(d=i[a]).children.push(g),r}if(f&&(a++,"tag"===(n=u(s)).type&&t.components[n.name]&&(n.type="component",o=!0),n.voidElement||o||!m||"<"===m||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===a&&r.push(n),(d=i[a-1])&&d.children.push(n),i[a]=n),(!f||n.voidElement)&&(a>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(n=-1==--a?r:i[a]),!o&&"<"!==m&&m)){d=-1===a?r:i[a].children;var v=e.indexOf("<",h),y=e.slice(h,-1===v?void 0:v);c.test(y)&&(y=" "),(v>-1&&a+d.length>=0||" "!==y)&&d.push({type:"text",content:y})}}),r},h=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);x(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},m={},g=(e,t,n,r)=>{x(n)&&m[n]||(x(n)&&(m[n]=new Date),h(e,t,n,r))},v=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},y=(e,t,n)=>{e.loadNamespaces(t,v(e,n))},b=(e,t,n,r)=>{if(x(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return y(e,n,r);
31n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,v(e,r))},x=e=>"string"==typeof e,w=e=>"object"==typeof e&&null!==e,S=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,k={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},E=e=>k[e],$=e=>e.replace(S,E),_={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:$,transDefaultProps:void 0},C=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},D=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?I(t):t},I=e=>Array.isArray(e)?e:[e],R=(e,t,n,r)=>{if(!e)return"";let a="",o=I(e),s=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return o.forEach((e,o)=>{if(x(e)){a+=`${e}`;return}if((0,i.isValidElement)(e)){let{props:i,type:l}=e,u=Object.keys(i).length,d=s.indexOf(l)>-1,c=i.children;if(!c&&d&&!u){a+=`<${l}/>`;return}if(!c&&(!d||u)||i.i18nIsDynamicList){a+=`<${o}></${o}>`;return}if(d&&1===u&&x(c)){a+=`<${l}>${c}</${l}>`;return}let f=R(c,t,n,r);a+=`<${o}>${f}</${o}>`;return}if(null===e)return void h(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:r});if(w(e)){let{format:t,...i}=e,o=Object.keys(i);if(1===o.length){let e=t?`${o[0]}, ${t}`:o[0];a+=`{{${e}}}`;return}h(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:r,child:e});return}h(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:r,child:e})}),a},T=(e,t,n)=>{let r=e.key||t,a=(0,i.cloneElement)(e,{key:r});return!a.props||!a.props.children||0>n.indexOf(`${t}/>`)&&0>n.indexOf(`${t} />`)?a:(0,i.createElement)(function(){return(0,i.createElement)(i.Fragment,null,a)},{key:r})},P=(0,i.createContext)();class O{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function A({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:l={},values:u,defaults:d,components:c,ns:f,i18n:h,t:m,shouldUnescape:v,...y}){let{i18n:b,defaultNS:S}=(0,i.useContext)(P)||{},k=h||b||r,E=m||k?.t.bind(k);return function({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:l={},values:u,defaults:d,components:c,ns:f,i18n:h,t:m,shouldUnescape:v,...y}){let b=h||r;if(!b)return g(b,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:o}),e;let S=m||b.t.bind(b)||(e=>e),k={..._,...b.options?.react},E=f||S.ns||b.options?.defaultNS;E=x(E)?[E]:E||["translation"];let{transDefaultProps:P}=k,O=P?.tOptions?{...P.tOptions,...l}:l,A=v??P?.shouldUnescape,j=P?.values?{...P.values,...u}:u,z=P?.components?{...P.components,...c}:c,N=R(e,k,b,o),M=d||O?.defaultValue||N||k.transEmptyNodeValue||("function"==typeof o?(0,a.Rm)(o):o),{hashTransKey:L}=k,F=o||(L?L(N||M):N||M);u=b.options?.interpolation?.defaultVariables?j&&Object.keys(j).length>0?{...j,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables}:j;let U=(e=>{let t={};if(!e)return t;let n=e=>{I(e).forEach(e=>{x(e)||(C(e)?n(D(e)):w(e)&&!(0,i.isValidElement)(e)&&Object.assign(t,e))})};return n(e),t})(e);U&&"number"==typeof U.count&&void 0===t&&(t=U.count);let B=!u&&(void 0===t||b.options?.interpolation?.alwaysFormat)&&e?{interpolation:{...O.interpolation,prefix:"#$?",suffix:"?$#"}}:O.interpolation,V={...O,context:s||O.context,count:t,...u,...B,defaultValue:M,ns:E},Z=F?S(F,V):M;Z===F&&M&&(Z=M);let K=((e,t,n,r)=>{if(!e)return null;if(Array.isArray(e))return e.map((e,n)=>T(e,n,t));if(w(e)){let n;return n={},Object.keys(e).forEach(r=>{Object.assign(n,{[r]:T(e[r],r,t)})}),n}return g(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null})(z,Z,b,o),q=K||e,W=null;!(!w(K)||Array.isArray(K))&&Object.keys(K).reduce((e,t)=>
31e&&Number.isNaN(Number.parseFloat(t)),!0)&&(W=K,q=e);let G=((e,t,n,r,a,o,s)=>{if(""===n)return[];let l=a.transKeepBasicHtmlNodesFor||[],u=n&&new RegExp(l.map(e=>`<${e}`).join("|")).test(n);if(!e&&!t&&!u&&!s)return[n];let d=t??{},c=e=>{I(e).forEach(e=>{x(e)||(C(e)?c(D(e)):w(e)&&!(0,i.isValidElement)(e)&&Object.assign(d,e))})};c(e);let f=((e,t=[],n={})=>{if(!e)return e;let r=[...t,...Object.keys(n)],i="",a=0;for(;a<e.length;)if("<"===e[a]){let t=!1,n=e.slice(a).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9_-]*)>/);if(n){let e=n[1];(/^\d+$/.test(e)||r.includes(e))&&(t=!0,i+=n[0],a+=n[0].length)}if(!t){let n=e.slice(a).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9_-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(n){let e=n[1];(/^\d+$/.test(e)||r.includes(e))&&(t=!0,i+=n[0],a+=n[0].length)}}t||(i+="&lt;",a+=1)}else i+=e[a],a+=1;return i})(n,l,d),h=p(`<0>${f}</0>`),m={...d,...o},g=(e,t,n)=>{let r=D(e),a=y(r,t.children,n);return Array.isArray(r)&&r.every(i.isValidElement)&&0===a.length||e.props?.i18nIsDynamicList?r:a},v=(e,t,n,r,a)=>{e.dummy?(e.children=t,n.push((0,i.cloneElement)(e,{key:r},a?void 0:t))):n.push(...i.Children.map([e],e=>{let n="data-i18n-is-dynamic-list",o={key:r,[n]:void 0};return e&&e.props&&Object.keys(e.props).forEach(t=>{"ref"!==t&&"children"!==t&&"i18nIsDynamicList"!==t&&t!==n&&(o[t]=e.props[t])}),(0,i.cloneElement)(e,o,a?null:t)}))},y=(e,n,o)=>{let d=I(e);return I(n).reduce((e,n,c)=>{let f=n.children?.[0]?.content&&r.services.interpolator.interpolate(n.children[0].content,m,r.language);if("tag"===n.type){var p,h;let b,S=d[parseInt(n.name,10)];!S&&t&&(S=t[n.name]),1!==o.length||S||(S=o[0][n.name]),S||(S={});let k={...n.attrs};s&&Object.keys(k).forEach(e=>{let t=k[e];x(t)&&(k[e]=$(t))});let E=0!==Object.keys(k).length?(p={props:k},(b={...h=S}).props={...h.props,...p.props},b):S,_=(0,i.isValidElement)(E),D=_&&C(n,!0)&&!n.voidElement,I=u&&w(E)&&E.dummy&&!_,R=w(t)&&Object.hasOwnProperty.call(t,n.name);if(x(E)){let t=r.services.interpolator.interpolate(E,m,r.language);e.push(t)}else if(C(E)||D){let t=g(E,n,o);v(E,t,e,c)}else if(I)v(E,y(d,n.children,o),e,c);else if(Number.isNaN(parseFloat(n.name)))if(R){let t=g(E,n,o);v(E,t,e,c,n.voidElement)}else if(a.transSupportBasicHtmlNodes&&l.indexOf(n.name)>-1)if(n.voidElement)e.push((0,i.createElement)(n.name,{key:`${n.name}-${c}`}));else{let t=y(d,n.children,o);e.push((0,i.createElement)(n.name,{key:`${n.name}-${c}`},t))}else if(n.voidElement)e.push(`<${n.name} />`);else{let t=y(d,n.children,o);e.push(`<${n.name}>${t}</${n.name}>`)}else if(w(E)&&!_){let t=n.children[0]?f:null;t&&e.push(t)}else v(E,f,e,c,1!==n.children.length||!f)}else if("text"===n.type){let t=a.transWrapTextNodes,o="function"==typeof a.unescape?a.unescape:_.unescape,l=s?o(r.services.interpolator.interpolate(n.content,m,r.language)):r.services.interpolator.interpolate(n.content,m,r.language);t?e.push((0,i.createElement)(t,{key:`${n.name}-${c}`},l)):e.push(l)}return e},[])};return D(y([{dummy:!0,children:e||[]}],h,I(e||[]))[0])})(q,W,Z,b,k,V,A),H=n??k.defaultTransParent;return H?(0,i.createElement)(H,y,G):G}({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:l,values:u,defaults:d,components:c,ns:f||E?.ns||S||k?.options?.defaultNS,i18n:k,t:m,shouldUnescape:v,...y})}let j={"&nbsp;":"\xa0","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&copy;":"\xa9","&reg;":"\xae","&trade;":"™","&hellip;":"…","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&bull;":"•","&prime;":"′","&Prime;":"″","&lsaquo;":"‹","&rsaquo;":"›","&sect;":"\xa7","&para;":"\xb6","&middot;":"\xb7","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&euro;":"€","&pound;":"\xa3","&yen;":"\xa5","&cent;":"\xa2","&curren;":"\xa4","&times;":"\xd7","&divide;":"\xf7","&minus;":"−","&plusmn;":"\xb1","&ne;":"≠","&le;":"≤","&ge;":"≥","&asymp;":"≈","&equiv;":"≡","&infin;":"∞","&int;":"∫","&sum;":"∑","&prod;":"∏","&radic;":"√","&part;":"∂","&permil;":"‰","&deg;":"\xb0","&micro;":"\xb5","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;
31":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&Agrave;":"\xc0","&Aacute;":"\xc1","&Acirc;":"\xc2","&Atilde;":"\xc3","&Auml;":"\xc4","&Aring;":"\xc5","&AElig;":"\xc6","&Ccedil;":"\xc7","&Egrave;":"\xc8","&Eacute;":"\xc9","&Ecirc;":"\xca","&Euml;":"\xcb","&Igrave;":"\xcc","&Iacute;":"\xcd","&Icirc;":"\xce","&Iuml;":"\xcf","&ETH;":"\xd0","&Ntilde;":"\xd1","&Ograve;":"\xd2","&Oacute;":"\xd3","&Ocirc;":"\xd4","&Otilde;":"\xd5","&Ouml;":"\xd6","&Oslash;":"\xd8","&Ugrave;":"\xd9","&Uacute;":"\xda","&Ucirc;":"\xdb","&Uuml;":"\xdc","&Yacute;":"\xdd","&THORN;":"\xde","&szlig;":"\xdf","&agrave;":"\xe0","&aacute;":"\xe1","&acirc;":"\xe2","&atilde;":"\xe3","&auml;":"\xe4","&aring;":"\xe5","&aelig;":"\xe6","&ccedil;":"\xe7","&egrave;":"\xe8","&eacute;":"\xe9","&ecirc;":"\xea","&euml;":"\xeb","&igrave;":"\xec","&iacute;":"\xed","&icirc;":"\xee","&iuml;":"\xef","&eth;":"\xf0","&ntilde;":"\xf1","&ograve;":"\xf2","&oacute;":"\xf3","&ocirc;":"\xf4","&otilde;":"\xf5","&ouml;":"\xf6","&oslash;":"\xf8","&ugrave;":"\xf9","&uacute;":"\xfa","&ucirc;":"\xfb","&uuml;":"\xfc","&yacute;":"\xfd","&thorn;":"\xfe","&yuml;":"\xff","&iexcl;":"\xa1","&iquest;":"\xbf","&fnof;":"ƒ","&circ;":"ˆ","&tilde;":"˜","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&ordf;":"\xaa","&ordm;":"\xba","&macr;":"\xaf","&acute;":"\xb4","&cedil;":"\xb8","&sup1;":"\xb9","&sup2;":"\xb2","&sup3;":"\xb3","&frac14;":"\xbc","&frac12;":"\xbd","&frac34;":"\xbe","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦","&loz;":"◊","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&alefsym;":"ℵ"},z=RegExp(Object.keys(j).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var N=n(71289);let M={t:(e,t)=>x(t)?t:w(t)&&x(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},L=()=>()=>{},F=(e,t={})=>{let{i18n:n}=t,{i18n:a,defaultNS:o}=(0,i.useContext)(P)||{},s=n||a||r;s&&!s.reportNamespaces&&(s.reportNamespaces=new O),s||g(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let l=(0,i.useMemo)(()=>({..._,...s?.options?.react,...t}),[s,t]),{useSuspense:u,keyPrefix:d}=l,c=e||o||s?.options?.defaultNS,f=x(c)?[c]:c||["translation"],p=(0,i.useMemo)(()=>f,f);s?.reportNamespaces?.addUsedNamespaces?.(p);let h=(0,i.useRef)(0),m=(0,i.useCallback)(e=>{if(!s)return L;let{bindI18n:t,bindI18nStore:n}=l,r=()=>{h.current+=1,e()};return t&&s.on(t,r),n&&s.store.on(n,r),()=>{t&&t.split(" ").forEach(e=>s.off(e,r)),n&&n.split(" ").forEach(e=>s.store.off(e,r))}},[s,l]),v=(0,i.useRef)(),w=(0,i.useCallback)(()=>{if(!s)return M;let e=!!(s.isInitialized||s.initializedStoreOnce)&&p.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(g(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,s,l)),n=t.lng||s.language,r=h.current,i=v.current;if(i&&i.ready===e&&i.lng===n&&i.keyPrefix===d&&i.revision===r)return i;let a={t:s.getFixedT(n,"fallback"===l.nsMode?p:p[0],d),ready:e,lng:n,keyPrefix:d,revision:r};return v.current=a,a},[s,p,d,l,t.lng]),[S,k]=(0,i.useState)(0),{t:E,ready:$}=(0,N.useSyncExternalStore)(m,w,w);(0,i.useEffect)(()=>{if(s&&!$&&!u){let e=()=>k(e=>e+1);t.lng?b(s,t.lng,p,e):y(s,p,e)}},[s,t.lng,p,$,u,S]);let C=s||{},D=(0,i.useRef)(null),I=(0,i.useRef)(),R=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,"__original"))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(e){}return n},T=(0,i.useMemo)(()=>{let e=C?.language,t=C;C&&(D.current&&D.current.__original===C?I.current!==e?(D.current=t=R(C),I.current=e):t=D.current:(D.current=t=R(C),I.current=e));let n=[E,t,$];return n.t=E,n.i18n=t,n.ready=$,n},[E,C,$,C.resolvedLanguage,C.language,C.languages]);if(s&&u&&!$)throw new Promise(e=>{let n=()=>e();t.lng?b(s,t.lng,p,n):y(s,p,n)});return T};function U({i18n:e,defaultNS:t,children:n}){let r=(0,i.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,i.createElement)(P.Provider,{value:r},n)}},69370:(e,t,n)=>{"use strict";n.d(t,{s:()=>K});var r=n(34023),i=n(99097),a=n(49308),o=n(65736),s=n(50360),l=n(96820),u=n(7366),d=n(88018),c=n(30417),f=n(64441),p=n(53451),h=n(78638),m=n(35303),g=n(79342),v=n(62165),y=n(97057),b=n(91352),x=n(64014),w=n(3768),S=n(8551),k=n(78337),E=n(63389),$=n(82391);let _={inert:new WeakMap,"aria-hidden":new WeakMap},C="data-base-ui-inert",D={inert:new WeakSet,"aria-hidden":new WeakSet},I=new WeakMap,R=0,T=(e,t)=>
31t.map(t=>{if(e.contains(t))return t;let n=function e(t){return t?(0,i.Ng)(t)?t.host:e(t.parentNode):null}(t);return e.contains(n)?n:null}).filter(e=>null!=e),P=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},O=(e,t,n)=>{let r=[],a=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{"script"!==(0,i.mq)(e)&&(t.has(e)?a(e):r.push(e))})};return a(e),r};function A(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0}=t,a=(0,h.R)(e[0]).body;return function(e,t,n,r,{mark:i=!0}){let a=null;r?a="inert":n&&(a="aria-hidden");let o=null,s=null,l=T(t,e),u=i?O(t,P(l),new Set(l)):[],d=[],c=[];if(a){let e=_[a],n=D[a];s=n,o=e;let r=T(t,Array.from(t.querySelectorAll("[aria-live]"))),i=l.concat(r);O(t,P(i),new Set(i)).forEach(t=>{let r=t.getAttribute(a),i=null!==r&&"false"!==r,o=(e.get(t)||0)+1;e.set(t,o),d.push(t),1===o&&i&&n.add(t),i||t.setAttribute(a,"inert"===a?"":"true")})}return i&&u.forEach(e=>{let t=(I.get(e)||0)+1;I.set(e,t),c.push(e),1===t&&e.setAttribute(C,"")}),R+=1,()=>{o&&d.forEach(e=>{let t=(o.get(e)||0)-1;o.set(e,t),t||(!s?.has(e)&&a&&e.removeAttribute(a),s?.delete(e))}),i&&c.forEach(e=>{let t=(I.get(e)||0)-1;I.set(e,t),t||e.removeAttribute(C)}),(R-=1)||(_.inert=new WeakMap,_["aria-hidden"]=new WeakMap,D.inert=new WeakSet,D["aria-hidden"]=new WeakSet,I=new WeakMap)}}(e,a,n,r,{mark:i})}var j=n(55240),z=n(58302),N=n(97869),M=n(68708),L=n(94799);let F=[];function U(){F=F.filter(e=>e.deref()?.isConnected)}function B(e){U(),e&&"body"!==(0,i.mq)(e)&&(F.push(new WeakRef(e)),F.length>20&&(F=F.slice(-20)))}function V(){return U(),F[F.length-1]?.deref()}function Z(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let t=(0,b.nq)(e).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return(0,b.AO)(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),n=e.getAttribute("tabindex");0===t.length?"0"!==n&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):("-1"!==n||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function K(e){let{context:t,children:n,disabled:_=!1,initialFocus:C=!0,returnFocus:D=!0,restoreFocus:I=!1,modal:R=!0,closeOnFocusOut:T=!0,openInteractionType:P="",nextFocusableElement:O,previousFocusableElement:F,beforeContentFocusGuardRef:K,externalTree:q,getInsideElements:W}=e,G="rootStore"in t?t.rootStore:t,H=G.useState("open"),J=G.useState("domReferenceElement"),Y=G.useState("floatingElement"),{events:X,dataRef:Q}=G.context,ee=(0,u.K)(()=>Q.current.floatingContext?.nodeId),et=(0,v.WZ)(J)&&!1===C,en=(0,l.u)(C),er=(0,l.u)(D),ei=(0,l.u)(P),ea=(0,l.u)(H),eo=(0,z.cq)(q),es=(0,j.vB)(),el=r.useRef(!1),eu=r.useRef(!1),ed=r.useRef(!1),ec=r.useRef(null),ef=r.useRef(""),ep=r.useRef(""),eh=r.useRef(null),em=r.useRef(null),eg=(0,s.a)(eh,K,es?.beforeInsideRef),ev=(0,s.a)(em,es?.afterInsideRef),ey=(0,c.Z)(),eb=(0,c.Z)(),ex=(0,p.NR)(),ew=null!=es,eS=(0,v.nd)(Y),ek=(0,u.K)((e=eS)=>e?(0,b.Kr)(e):[]),eE=(0,u.K)(()=>W?.().filter(e=>null!=e)??[]);r.useEffect(()=>{if(_||!R)return;let e=(0,h.R)(eS);return(0,a.q)(e,"keydown",function(e){"Tab"===e.key&&(0,g.gR)(eS,(0,g.RS)((0,h.R)(eS)))&&0===ek().length&&!et&&(0,y.jo)(e)})},[_,eS,R,et,ek]),r.useEffect(()=>{if(_||!H)return;let e=(0,h.R)(eS);function t(){ed.current=!1}return(0,o.g)((0,a.q)(e,"pointerdown",function(e){let t=(0,g.EW)(e),n=eE();ed.current=!((0,g.gR)(Y,t)||(0,g.gR)(J,t)||(0,g.gR)(es?.portalNode,t)||n.some(e=>e===t||(0,g.gR)(e,t))),ep.current=e.pointerType||"keyboard",t?.closest(`[${N.Kd}]`)&&(eu.current=!0,eb.start(0,()=>{eu.current=!1}))},!0),(0,a.q)(e,"pointerup",t,!0),(0,a.q)(e,"pointercancel",t,!0),(0,a.q)(e,"keydown",function(){ep.current="keyboard"},!0),t)},[_,Y,J,eS,H,es,eb,eE]),r.useEffect(()=>{if(_||!T)return;let e=(0,h.R)(eS);function t(t){let n=t.relatedTarget,r=t.currentTarget,a=(0,g.EW)(t);R&&null==n&&null!=a&&(0,g.gR)(Y,a)&&B(a),queueMicrotask(()=>{let o=ee(),s=G.context.triggerElements,l=eE(),u=n?.hasAttribute((0,E.F)("focus-guard"))&&[eh.current,em.current,es?.beforeInsideRef.current,es?.afterInsideRef.current,es?.beforeOutsideRef.current,es?.afterOutsideRef.current,(0,M.q)(F),(0,M.q)(O)].includes(n),d=!((0,g.gR)(J,n)||(0,g.gR)(Y,n)||(0,g.gR)(n,Y)||(0,g.gR)(es?.portalNode,n)||l.some(e=>
31e===n||(0,g.gR)(e,n))||s.hasMatchingElement(e=>(0,g.gR)(e,n))||u||eo&&((0,x.CM)(eo.nodesRef.current,o).find(e=>(0,g.gR)(e.context?.elements.floating,n)||(0,g.gR)(e.context?.elements.domReference,n))||(0,x.$4)(eo.nodesRef.current,o).find(e=>[e.context?.elements.floating,(0,v.nd)(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(r===J&&eS&&Z(eS),I&&r!==J&&!(0,w.J9)(a)&&(0,g.RS)(e)===e.body){if((0,i.sb)(eS)&&(eS.focus(),"popup"===I))return void ex.request(()=>{eS.focus()});let e=ek(),t=ec.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||eS;(0,i.sb)(n)&&n.focus()}if(Q.current.insideReactTree){Q.current.insideReactTree=!1;return}(et||!R)&&n&&d&&!eu.current&&(et||n!==V())&&(el.current=!0,G.setOpen(!1,(0,S.d)(k.Xn,t)))})}let n=(0,i.sb)(J)?J:null;if(Y||n)return(0,o.g)(n&&(0,a.q)(n,"focusout",t),n&&(0,a.q)(n,"pointerdown",function(){eu.current=!0,eb.start(0,()=>{eu.current=!1})}),Y&&(0,a.q)(Y,"focusin",function(e){let t=(0,g.EW)(e);(0,b.AO)(t)&&(ec.current=t)}),Y&&(0,a.q)(Y,"focusout",t),Y&&es&&(0,a.q)(Y,"focusout",function(){ed.current||(Q.current.insideReactTree=!0,ey.start(0,()=>{Q.current.insideReactTree=!1}))},!0))},[_,J,Y,eS,R,eo,es,G,T,I,ek,et,ee,Q,ey,eb,ex,O,F,eE]),r.useEffect(()=>{if(_||!Y||!H)return;let e=Array.from(es?.portalNode?.querySelectorAll(`[${(0,E.F)("portal")}]`)||[]),t=eo?(0,x.$4)(eo.nodesRef.current,ee()):[],n=t.find(e=>(0,v.WZ)(e.context?.elements.domReference||null))?.context?.elements.domReference,r=A([Y,...e,eh.current,em.current,es?.beforeOutsideRef.current,es?.afterOutsideRef.current,...eE(),n,(0,M.q)(F),(0,M.q)(O),et?J:null].filter(e=>null!=e),{ariaHidden:R||et,mark:!1}),i=A([Y,...e].filter(e=>null!=e));return()=>{i(),r()}},[H,_,J,Y,R,es,et,eo,ee,O,F,eE]),(0,d.g)(()=>{if(!H||_||!(0,i.sb)(eS))return;ef.current="",ep.current="";let e=(0,h.R)(eS),t=(0,g.RS)(e);queueMicrotask(()=>{let n,r=en.current,i="function"==typeof r?r(ei.current||""):r;if(void 0===i||!1===i||(0,g.gR)(eS,t))return;let a=null,o=()=>(null==a&&(a=ek(eS)),a[0]||eS);n=(n=!0===i||null===i?o():(0,M.q)(i))||o();let s=(0,g.gR)(eS,(0,g.RS)(e));(0,$.p)(n,{preventScroll:n===eS,shouldFocus(){if(!ea.current)return!1;if(s)return!0;let t=(0,g.RS)(e);return!(t!==n&&(0,g.gR)(eS,t))}})})},[_,H,eS,ek,en,ei,ea]),(0,d.g)(()=>{if(_||!eS)return;let e=(0,h.R)(eS),t=(0,g.RS)(e),n=null==ei.current;function r(e){var t,n;let r;if(e.open||(t=e.nativeEvent,n=ep.current,r=(0,i.zk)((0,g.EW)(t)),ef.current=t instanceof r.KeyboardEvent?"keyboard":t instanceof r.FocusEvent?n||"keyboard":"pointerType"in t?t.pointerType||"keyboard":"touches"in t?"touch":t instanceof r.MouseEvent?n||(0===t.detail?"keyboard":"mouse"):""),e.reason===k.N7&&"mouseleave"===e.nativeEvent.type&&(el.current=!0),e.reason===k.Np)if(e.nested)el.current=!1;else if((0,y.YF)(e.nativeEvent)||(0,y.Pg)(e.nativeEvent))el.current=!1;else{let e=!1;(0,h.R)(eS).createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?el.current=!1:el.current=!0}}return B(t),X.on("openchange",r),()=>{X.off("openchange",r);let a=(0,g.RS)(e),o=eE(),s=(0,g.gR)(Y,a)||o.some(e=>e===a||(0,g.gR)(e,a))||eo&&(0,x.CM)(eo.nodesRef.current,ee(),!1).some(e=>(0,g.gR)(e.context?.elements.floating,a)),l=er.current,u=ef.current,d=function(e){let r=er.current,a="function"==typeof r?r(e):r;if(void 0===a||!1===a)return null;null===a&&(a=!0);let o=J?.isConnected?J:null,s=t?.isConnected&&"body"!==(0,i.mq)(t)?t:null,l=n?s||o:o||s;return(l||(l=V()||null),"boolean"==typeof a)?l:(0,M.q)(a)||l||null}(u);queueMicrotask(()=>{let t=d?(0,b.AO)(d)?d:(0,b.Kr)(d)[0]||d:null;if(l&&!el.current&&(0,i.sb)(t)&&("boolean"!=typeof l||t===a||a===e.body||s)){let e={preventScroll:!0};"keyboard"===u&&(e.focusVisible=!0),t.focus(e)}el.current=!1})}},[_,Y,eS,er,ei,X,eo,J,ee,eE]),(0,d.g)(()=>{if(!f.Fp||H||!Y)return;let e=(0,g.RS)((0,h.R)(Y));(0,i.sb)(e)&&(0,v.$u)(e)&&(0,g.gR)(Y,e)&&e.blur()},[H,Y]),(0,d.g)(()=>{if(!_&&es)return es.setFocusManagerState({modal:R,closeOnFocusOut:T,open:H,onOpenChange:G.setOpen,domReference:J}),()=>{es.setFocusManagerState(null)}},[_,es,R,H,G,T,J]),(0,d.g)(()=>{if(!_&&eS)return Z(eS),()=>{queueMicrotask(U)}},[_,eS]);let e$=!_&&(!R||!et)&&(ew||R);return(0,L.jsxs)(r.Fragment,{children:[e$&&(0,L.jsx)(m.U,{"data-type":"inside",ref:eg,onFocus:e=>{if(R){let e=ek();(0,$.p)(e[e.length-1])}else if(es?.portalNode)if(el.current=!1,(0,b.Qp)(e,es.portalNode)){let e=(0,b.vF)(J);e?.focus()}else(0,M.q)(F??es.beforeOutsideRef)?.focus()}}),n,e$&&(0,L.jsx)(m.U,{"data-type":"inside",ref:ev,onFocus:e=>{if(R)(0,$.p)(ek()[0]);else if(es?.portalNode)if(T&&(el.current=!0),(0,b.Qp)(e,es.portalNode)){let e=(0,b.XJ)(J);e?.focus()}else(0,M.q)(O??es.afterOutsideRef)?.focus()}})]})}},69621:(e,t,n)=>{"use strict";let r;n.d(t,{Tw:()=>d,Bi:()=>u,X1:()=>c});var i=n(2713),a=n(34023),o=n(93419);let s=!!("u">typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,n]=(0,a.useState)(e),u=(0,a.useRef)(null),d=(0,o.Cc)(t),
31c=(0,a.useRef)(null);if(r&&r.register(c,d),s){let e=l.get(d);e&&!e.includes(u)?e.push(u):l.set(d,[u])}return(0,i.N)(()=>()=>{r&&r.unregister(c),l.delete(d)},[d]),(0,a.useEffect)(()=>{let e=u.current;return e&&n(e),()=>{e&&(u.current=null)}}),d}function d(e,t){if(e===t)return e;let n=l.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=l.get(t);return r?(r.forEach(t=>t.current=e),e):t}function c(e=[]){let t=u(),[n,r]=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(t),o=(0,a.useRef)(null),s=(0,a.useRef)(()=>{if(!o.current)return;let e=o.current.next();if(e.done){o.current=null;return}r.current===e.value?s.current():n(e.value)});return(0,i.N)(()=>{r.current=t,o.current&&s.current()}),[t,(0,a.useCallback)(e=>{o.current=e(r.current),s.current()},[s])]}(t),o=(0,a.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return(0,i.N)(o,[t,o,...e]),n}"u">typeof FinalizationRegistry&&(r=new FinalizationRegistry(e=>{l.delete(e)}))},70062:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var r=n(67566),i=n(80254),a=n(92030),o=n(34023);let s=!1,l=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},50))}function d(){if("u">typeof document)return 0===l&&"u">typeof PointerEvent&&document.addEventListener("pointerup",u),l++,()=>{!(--l>0)&&"u">typeof PointerEvent&&document.removeEventListener("pointerup",u)}}function c(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:l,isDisabled:u}=e,[c,f]=(0,o.useState)(!1),p=(0,o.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,o.useEffect)(d,[]);let{addGlobalListener:h,removeAllGlobalListeners:m}=(0,r.A)(),{hoverProps:g,triggerHoverEnd:v}=(0,o.useMemo)(()=>{let e=(e,t)=>{let r=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&r&&(p.isHovered=!1,m(),l&&l({type:"hoverend",target:r,pointerType:t}),n&&n(!1),f(!1))},r={};return"u">typeof PointerEvent&&(r.onPointerEnter=r=>{s&&"mouse"===r.pointerType||((r,o)=>{if(p.pointerType=o,u||"touch"===o||p.isHovered||!(0,i.sD)(r.currentTarget,r.target))return;p.isHovered=!0;let s=r.currentTarget;p.target=s,h((0,a.TW)(r.target),"pointerover",t=>{p.isHovered&&p.target&&!(0,i.sD)(p.target,t.target)&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:o}),n&&n(!0),f(!0)})(r,r.pointerType)},r.onPointerLeave=t=>{!u&&(0,i.sD)(t.currentTarget,t.target)&&e(t,t.pointerType)}),{hoverProps:r,triggerHoverEnd:e}},[t,n,l,u,p,h,m]);return(0,o.useEffect)(()=>{u&&v({currentTarget:p.target},p.pointerType)},[u]),{hoverProps:g,isHovered:c}}},70073:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,k:()=>l});var r=n(21400),i=n(39993),a=n(35700),o=n(10059),s=class extends o.k{#O;#A;#j;#t;#z;#N;#M;constructor(e){super(),this.#M=!1,this.#N=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#t=e.client,this.#j=this.#t.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#O=d(this.options),this.state=e.state??this.#O,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#z?.promise}setOptions(e){if(this.options={...this.#N,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=d(this.options);void 0!==e.data&&(this.setState(u(e.data,e.dataUpdatedAt)),this.#O=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#j.remove(this)}setData(e,t){let n=(0,r.pl)(this.state.data,e,this.options);return this.#L({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#L({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#z?.promise;return this.#z?.cancel(e),t?t.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#O)}isActive(){return this.observers.some(e=>!1!==(0,r.Eh)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,r.d2)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,r.j3)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#z?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#z?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#j.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#z&&(this.#M?this.#z.cancel({revert:!0}):this.#z.cancelRetry()),this.scheduleGc()),this.#j.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#L({type:"invalidate"})}async fetch(e,t){let n;if("idle"!==this.state.fetchStatus&&this.#z?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#z)return this.#z.continueRetry(),this.#z.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let i=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#M=!0,i.signal)}
31)},s=()=>{let e,n=(0,r.ZM)(this.options,t),i=(o(e={client:this.#t,queryKey:this.queryKey,meta:this.meta}),e);return(this.#M=!1,this.options.persister)?this.options.persister(n,i,this):n(i)},l=(o(n={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#t,state:this.state,fetchFn:s}),n);this.options.behavior?.onFetch(l,this),this.#A=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#L({type:"fetch",meta:l.fetchOptions?.meta}),this.#z=(0,a.II)({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof a.cc&&e.revert&&this.setState({...this.#A,fetchStatus:"idle"}),i.abort()},onFail:(e,t)=>{this.#L({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#L({type:"pause"})},onContinue:()=>{this.#L({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#z.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#j.config.onSuccess?.(e,this),this.#j.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.cc){if(e.silent)return this.#z.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#L({type:"error",error:e}),this.#j.config.onError?.(e,this),this.#j.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#L(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,...u(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#A=e.manual?n:void 0,n;case"error":let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),i.jG.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#j.notify({query:this,type:"updated",action:e})})}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.v_)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function d(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}},70194:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,i:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(!e)throw Error((0,r.A)(59));return e}},70457:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ar:()=>i,az:()=>a,be:()=>s,bg:()=>l,ca:()=>u,cs:()=>d,da:()=>c,de:()=>f,en:()=>p.A,eo:()=>h,es:()=>m,fa:()=>g,fi:()=>v,fr:()=>y,frCA:()=>b,he:()=>x,hu:()=>w,hy:()=>E,id:()=>$,is:()=>_,it:()=>C,ja:()=>D,ka:()=>I,kh:()=>T,km:()=>R,ko:()=>P,lt:()=>j,mk:()=>z,ms:()=>N,nl:()=>M,no:()=>L,ota:()=>F,pl:()=>B,ps:()=>U,pt:()=>V,ru:()=>K,sl:()=>q,sv:()=>W,ta:()=>G,th:()=>H,tr:()=>J,ua:()=>X,uk:()=>Y,ur:()=>Q,uz:()=>ee,vi:()=>et,yo:()=>ei,zhCN:()=>en,zhTW:()=>er});var r=n(95778);function i(){let e,t,n;return{localeError:(e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}},t={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},n={nan:"NaN"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${i.expected}، ولكن تم إدخال ${a}`;return`مدخلات غير مقبولة: يفترض إدخال ${e}، ولكن تم إدخال ${a}`}case"invalid_value":if(1===i.values.length)return`مدخلات غير مقبولة: يفترض إدخال ${r.stringifyPrimitive(i.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return` أكبر من اللازم: يفترض أن تكون ${i.origin??"القيمة"} ${t} ${i.maximum.toString()} ${n.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${i.origin??"القيمة"} ${t} ${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`أصغر من اللازم: يفترض لـ ${i.origin} أن يكون ${t} ${i.minimum.toString()} ${n.unit}`;return`أصغر من اللازم: يفترض لـ ${i.origin} أن يكون ${t} ${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`نَص غير مقبول: يجب أن يبدأ بـ "${i.prefix}"`;if("ends_with"===i.format)return`نَص غير مقبول: يجب أن ينتهي بـ "${i.suffix}"`;if("includes"===i.format)return`نَص غير مقبول: يجب أن يتضمَّن "${i.includes}"`;if("regex"===i.format)return`نَص غير مقبول: يجب أن يطابق النمط ${i.pattern}`;return`${t[i.format]??i.format} غير مقبول`;case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${i.divisor}`;case"unrecognized_keys":return`معرف${i.keys.length>1?"ات":""} غريب${i.keys.length>1?"ة":""}: ${r.joinValues(i.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${i.origin}`;case"invalid_union":default:return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${i.origin}`}})}}function a(){let e,t,n;return{localeError:(e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Yanlış dəyər: g\xf6zlənilən instanceof ${i.expected}, daxil olan ${a}`;return`Yanlış dəyər: g\xf6zlənilən ${e}, daxil olan ${a}`}case"invalid_value":if(1===i.values.length)return`Yanlış dəyər: g\xf6zlənilən ${r.stringifyPrimitive(i.values[0])}`;return`Yanlış se\xe7im: aşağıdakılardan biri olmalıdır: ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`\xc7ox b\xf6y\xfck: g\xf6zlənilən ${i.origin??"dəyər"} ${t}${i.maximum.toString()} ${n.unit??"element"}`;return`\xc7ox b\xf6y\xfck: g\xf6zlənilən ${i.origin??"dəyər"} ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`\xc7ox ki\xe7ik: g\xf6zlənilən ${i.origin} ${t}${i.minimum.toString()} ${n.unit}`;return`\xc7ox ki\xe7ik: g\xf6zlənilən ${i.origin} ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Yanlış mətn: "${i.prefix}" ilə başlamalıdır`;if("ends_with"===i.format)return`Yanlış mətn: "${i.suffix}" ilə bitməlidir`;if("includes"===i.format)return`Yanlış mətn: "${i.includes}" daxil olmalıdır`;if("regex"===i.format)return`Yanlış mətn: ${i.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${t[i.format]??i.format}`;case"not_multiple_of":return`Yanlış ədəd: ${i.divisor} ilə b\xf6l\xfcnə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan a\xe7ar${i.keys.length>1?"lar":""}: ${r.joinValues(i.keys,", ")}`;
31case"invalid_key":return`${i.origin} daxilində yanlış a\xe7ar`;case"invalid_union":default:return"Yanlış dəyər";case"invalid_element":return`${i.origin} daxilində yanlış dəyər`}})}}function o(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:1===a?t:a>=2&&a<=4?n:r}function s(){let e,t,n;return{localeError:(e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}},t={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},n={nan:"NaN",number:"лік",array:"масіў"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Няправільны ўвод: чакаўся instanceof ${i.expected}, атрымана ${a}`;return`Няправільны ўвод: чакаўся ${e}, атрымана ${a}`}case"invalid_value":if(1===i.values.length)return`Няправільны ўвод: чакалася ${r.stringifyPrimitive(i.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n){let e=o(Number(i.maximum),n.unit.one,n.unit.few,n.unit.many);return`Занадта вялікі: чакалася, што ${i.origin??"значэнне"} павінна ${n.verb} ${t}${i.maximum.toString()} ${e}`}return`Занадта вялікі: чакалася, што ${i.origin??"значэнне"} павінна быць ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n){let e=o(Number(i.minimum),n.unit.one,n.unit.few,n.unit.many);return`Занадта малы: чакалася, што ${i.origin} павінна ${n.verb} ${t}${i.minimum.toString()} ${e}`}return`Занадта малы: чакалася, што ${i.origin} павінна быць ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Няправільны радок: павінен пачынацца з "${i.prefix}"`;if("ends_with"===i.format)return`Няправільны радок: павінен заканчвацца на "${i.suffix}"`;if("includes"===i.format)return`Няправільны радок: павінен змяшчаць "${i.includes}"`;if("regex"===i.format)return`Няправільны радок: павінен адпавядаць шаблону ${i.pattern}`;return`Няправільны ${t[i.format]??i.format}`;case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${i.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${i.keys.length>1?"ключы":"ключ"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${i.origin}`;case"invalid_union":default:return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${i.origin}`}})}}function l(){let e,t,n;return{localeError:(e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}},t={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},n={nan:"NaN",number:"число",array:"масив"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Невалиден вход: очакван instanceof ${i.expected}, получен ${a}`;return`Невалиден вход: очакван ${e}, получен ${a}`}case"invalid_value":if(1===i.values.length)return`Невалиден вход: очакван ${r.stringifyPrimitive(i.values[0])}`;return`Невалидна опция: очаквано едно от ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Твърде голямо: очаква се ${i.origin??"стойност"} да съдържа ${t}${i.maximum.toString()} ${n.unit??"елемента"}`;return`Твърде голямо: очаква се ${i.origin??"стойност"} да бъде ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Твърде малко: очаква се ${i.origin} да съдържа ${t}${i.minimum.toString()} ${n.unit}`;return`Твърде малко: очаква се ${i.origin} да бъде ${t}${i.minimum.toString()}`}case"invalid_format":{if("starts_with"===i.format)return`Невалиден низ: трябва да започва с "${i.prefix}"`;if("ends_with"===i.format)return`Невалиден низ: трябва да завършва с "${i.suffix}"`;if("includes"===i.format)return`Невалиден низ: трябва да включва "${i.includes}"`;if("regex"===i.format)return`Невалиден низ: трябва да съвпада с ${i.pattern}`;let e="Невалиден";return"emoji"===i.format&&(e="Невалидно"),"datetime"===i.format&&(e="Невалидно"),"date"===i.format&&(e="Невалидна"),"time"===i.format&&(e="Невалидно"),"duration"===i.format&&(e="Невалидна"),`${e} ${t[i.format]??i.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${i.divisor}`;case"unrecognized_keys":return`Неразпознат${i.keys.length>1?"и":""} ключ${i.keys.length>1?"ове":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${i.origin}`;case"invalid_union":default:return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${i.origin}`}})}}function u(){let e,t,n;return{localeError:(e={string:{unit:"car\xe0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}},t={regex:"entrada",email:"adre\xe7a electr\xf2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xe7a IPv4",ipv6:"adre\xe7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Tipus inv\xe0lid: s'esperava instanceof ${i.expected}, s'ha rebut ${a}`;return`Tipus inv\xe0lid: s'esperava ${e}, s'ha rebut ${a}`}case"invalid_value":if(1===i.values.length)return`Valor inv\xe0lid: s'esperava ${r.stringifyPrimitive(i.values[0])}`;return`Opci\xf3 inv\xe0lida: s'esperava una de ${r.joinValues(i.values," o ")}`;case"too_big":{let t=i.inclusive?"com a m\xe0xim":"menys de",n=e[i.origin]??null;if(n)return`Massa gran: s'esperava que ${i.origin??"el valor"} contingu\xe9s ${t} ${i.maximum.toString()} ${n.unit??"elements"}`;return`Massa gran: s'esperava que ${i.origin??"el valor"} fos ${t} ${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?"com a m\xednim":"m\xe9s de",n=e[i.origin]??null;if(n)return`Massa petit: s'esperava que ${i.origin} contingu\xe9s ${t} ${i.minimum.toString()} ${n.unit}`;return`Massa petit: s'esperava que ${i.origin} fos ${t} ${i.minimum.toString()}`}
31case"invalid_format":if("starts_with"===i.format)return`Format inv\xe0lid: ha de comen\xe7ar amb "${i.prefix}"`;if("ends_with"===i.format)return`Format inv\xe0lid: ha d'acabar amb "${i.suffix}"`;if("includes"===i.format)return`Format inv\xe0lid: ha d'incloure "${i.includes}"`;if("regex"===i.format)return`Format inv\xe0lid: ha de coincidir amb el patr\xf3 ${i.pattern}`;return`Format inv\xe0lid per a ${t[i.format]??i.format}`;case"not_multiple_of":return`N\xfamero inv\xe0lid: ha de ser m\xfaltiple de ${i.divisor}`;case"unrecognized_keys":return`Clau${i.keys.length>1?"s":""} no reconeguda${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Clau inv\xe0lida a ${i.origin}`;case"invalid_union":default:return"Entrada inv\xe0lida";case"invalid_element":return`Element inv\xe0lid a ${i.origin}`}})}}function d(){let e,t,n;return{localeError:(e={string:{unit:"znaků",verb:"m\xedt"},file:{unit:"bajtů",verb:"m\xedt"},array:{unit:"prvků",verb:"m\xedt"},set:{unit:"prvků",verb:"m\xedt"}},t={regex:"regul\xe1rn\xed v\xfdraz",email:"e-mailov\xe1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve form\xe1tu ISO",date:"datum ve form\xe1tu ISO",time:"čas ve form\xe1tu ISO",duration:"doba trv\xe1n\xed ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zak\xf3dovan\xfd ve form\xe1tu base64",base64url:"řetězec zak\xf3dovan\xfd ve form\xe1tu base64url",json_string:"řetězec ve form\xe1tu JSON",e164:"č\xedslo E.164",jwt:"JWT",template_literal:"vstup"},n={nan:"NaN",number:"č\xedslo",string:"řetězec",function:"funkce",array:"pole"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Neplatn\xfd vstup: oček\xe1v\xe1no instanceof ${i.expected}, obdrženo ${a}`;return`Neplatn\xfd vstup: oček\xe1v\xe1no ${e}, obdrženo ${a}`}case"invalid_value":if(1===i.values.length)return`Neplatn\xfd vstup: oček\xe1v\xe1no ${r.stringifyPrimitive(i.values[0])}`;return`Neplatn\xe1 možnost: oček\xe1v\xe1na jedna z hodnot ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Hodnota je př\xedliš velk\xe1: ${i.origin??"hodnota"} mus\xed m\xedt ${t}${i.maximum.toString()} ${n.unit??"prvků"}`;return`Hodnota je př\xedliš velk\xe1: ${i.origin??"hodnota"} mus\xed b\xfdt ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Hodnota je př\xedliš mal\xe1: ${i.origin??"hodnota"} mus\xed m\xedt ${t}${i.minimum.toString()} ${n.unit??"prvků"}`;return`Hodnota je př\xedliš mal\xe1: ${i.origin??"hodnota"} mus\xed b\xfdt ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Neplatn\xfd řetězec: mus\xed zač\xednat na "${i.prefix}"`;if("ends_with"===i.format)return`Neplatn\xfd řetězec: mus\xed končit na "${i.suffix}"`;if("includes"===i.format)return`Neplatn\xfd řetězec: mus\xed obsahovat "${i.includes}"`;if("regex"===i.format)return`Neplatn\xfd řetězec: mus\xed odpov\xeddat vzoru ${i.pattern}`;return`Neplatn\xfd form\xe1t ${t[i.format]??i.format}`;case"not_multiple_of":return`Neplatn\xe9 č\xedslo: mus\xed b\xfdt n\xe1sobkem ${i.divisor}`;case"unrecognized_keys":return`Nezn\xe1m\xe9 kl\xedče: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Neplatn\xfd kl\xedč v ${i.origin}`;case"invalid_union":default:return"Neplatn\xfd vstup";case"invalid_element":return`Neplatn\xe1 hodnota v ${i.origin}`}})}}function c(){let e,t,n;return{localeError:(e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},t={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xe6t",date:"ISO-dato",time:"ISO-klokkesl\xe6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xe6t",file:"fil"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Ugyldigt input: forventede instanceof ${i.expected}, fik ${a}`;return`Ugyldigt input: forventede ${e}, fik ${a}`}case"invalid_value":if(1===i.values.length)return`Ugyldig v\xe6rdi: forventede ${r.stringifyPrimitive(i.values[0])}`;return`Ugyldigt valg: forventede en af f\xf8lgende ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",r=e[i.origin]??null,a=n[i.origin]??i.origin;if(r)return`For stor: forventede ${a??"value"} ${r.verb} ${t} ${i.maximum.toString()} ${r.unit??"elementer"}`;return`For stor: forventede ${a??"value"} havde ${t} ${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",r=e[i.origin]??null,a=n[i.origin]??i.origin;if(r)return`For lille: forventede ${a} ${r.verb} ${t} ${i.minimum.toString()} ${r.unit}`;return`For lille: forventede ${a} havde ${t} ${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Ugyldig streng: skal starte med "${i.prefix}"`;if("ends_with"===i.format)return`Ugyldig streng: skal ende med "${i.suffix}"`;if("includes"===i.format)return`Ugyldig streng: skal indeholde "${i.includes}"`;if("regex"===i.format)return`Ugyldig streng: skal matche m\xf8nsteret ${i.pattern}`;return`Ugyldig ${t[i.format]??i.format}`;case"not_multiple_of":return`Ugyldigt tal: skal v\xe6re deleligt med ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukendte n\xf8gler":"Ukendt n\xf8gle"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8gle i ${i.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xe6rdi i ${i.origin}`;default:return"Ugyldigt input"}})}}function f(){let e,t,n;return{localeError:(e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}},t={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},n={nan:"NaN",number:"Zahl",array:"Array"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Ung\xfcltige Eingabe: erwartet instanceof ${i.expected}, erhalten ${a}`;return`Ung\xfcltige Eingabe: erwartet ${e}, erhalten ${a}`}case"invalid_value":if(1===i.values.length)return`Ung\xfcltige Eingabe: erwartet ${r.stringifyPrimitive(i.values[0])}`;return`Ung\xfcltige Option: erwartet eine von ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Zu gro\xdf: erwartet, dass ${i.origin??"Wert"} ${t}${i.maximum.toString()} ${n.unit??"Elemente"} hat`;return`Zu gro\xdf: erwartet, dass ${i.origin??"Wert"} ${t}${i.maximum.toString()} ist`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Zu klein: erwartet, dass ${i.origin} ${t}${i.minimum.toString()} ${n.unit} hat`;return`Zu klein: erwartet, dass ${i.origin} ${t}${i.minimum.toString()} ist`}case"invalid_format":if("starts_with"===i.format)return`Ung\xfcltiger String: muss mit "${i.prefix}" beginnen`;if("ends_with"===i.format)return`Ung\xfcltiger String: muss mit "${i.suffix}" enden`;if("includes"===i.format)return`Ung\xfcltiger String: muss "${i.includes}" enthalten`;if("regex"===i.format)return`Ung\xfcltiger String: muss dem Muster ${i.pattern} entsprechen`;return`Ung\xfcltig: ${t[i.format]??i.format}`;case"not_multiple_of":return`Ung\xfcltige Zahl: muss ein Vielfaches von ${i.divisor} sein`;case"unrecognized_keys":return`${i.keys.length>1?"Unbekannte Schl\xfcssel":"Unbekannter Schl\xfcssel"}: ${r.joinValues(i.keys,", ")}`;
31case"invalid_key":return`Ung\xfcltiger Schl\xfcssel in ${i.origin}`;case"invalid_union":default:return"Ung\xfcltige Eingabe";case"invalid_element":return`Ung\xfcltiger Wert in ${i.origin}`}})}}var p=n(35821);function h(){let e,t,n;return{localeError:(e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}},t={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},n={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Nevalida enigo: atendiĝis instanceof ${i.expected}, riceviĝis ${a}`;return`Nevalida enigo: atendiĝis ${e}, riceviĝis ${a}`}case"invalid_value":if(1===i.values.length)return`Nevalida enigo: atendiĝis ${r.stringifyPrimitive(i.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Tro granda: atendiĝis ke ${i.origin??"valoro"} havu ${t}${i.maximum.toString()} ${n.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${i.origin??"valoro"} havu ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Tro malgranda: atendiĝis ke ${i.origin} havu ${t}${i.minimum.toString()} ${n.unit}`;return`Tro malgranda: atendiĝis ke ${i.origin} estu ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Nevalida karaktraro: devas komenciĝi per "${i.prefix}"`;if("ends_with"===i.format)return`Nevalida karaktraro: devas finiĝi per "${i.suffix}"`;if("includes"===i.format)return`Nevalida karaktraro: devas inkluzivi "${i.includes}"`;if("regex"===i.format)return`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`;return`Nevalida ${t[i.format]??i.format}`;case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${i.divisor}`;case"unrecognized_keys":return`Nekonata${i.keys.length>1?"j":""} ŝlosilo${i.keys.length>1?"j":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${i.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${i.origin}`}})}}function m(){let e,t,n;return{localeError:(e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},t={regex:"entrada",email:"direcci\xf3n de correo electr\xf3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xf3n ISO",ipv4:"direcci\xf3n IPv4",ipv6:"direcci\xf3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",string:"texto",number:"n\xfamero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xfamero grande",symbol
31:"s\xedmbolo",undefined:"indefinido",null:"nulo",function:"funci\xf3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xf3n",union:"uni\xf3n",literal:"literal",promise:"promesa",void:"vac\xedo",never:"nunca",unknown:"desconocido",any:"cualquiera"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Entrada inv\xe1lida: se esperaba instanceof ${i.expected}, recibido ${a}`;return`Entrada inv\xe1lida: se esperaba ${e}, recibido ${a}`}case"invalid_value":if(1===i.values.length)return`Entrada inv\xe1lida: se esperaba ${r.stringifyPrimitive(i.values[0])}`;return`Opci\xf3n inv\xe1lida: se esperaba una de ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",r=e[i.origin]??null,a=n[i.origin]??i.origin;if(r)return`Demasiado grande: se esperaba que ${a??"valor"} tuviera ${t}${i.maximum.toString()} ${r.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${a??"valor"} fuera ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",r=e[i.origin]??null,a=n[i.origin]??i.origin;if(r)return`Demasiado peque\xf1o: se esperaba que ${a} tuviera ${t}${i.minimum.toString()} ${r.unit}`;return`Demasiado peque\xf1o: se esperaba que ${a} fuera ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Cadena inv\xe1lida: debe comenzar con "${i.prefix}"`;if("ends_with"===i.format)return`Cadena inv\xe1lida: debe terminar en "${i.suffix}"`;if("includes"===i.format)return`Cadena inv\xe1lida: debe incluir "${i.includes}"`;if("regex"===i.format)return`Cadena inv\xe1lida: debe coincidir con el patr\xf3n ${i.pattern}`;return`Inv\xe1lido ${t[i.format]??i.format}`;case"not_multiple_of":return`N\xfamero inv\xe1lido: debe ser m\xfaltiplo de ${i.divisor}`;case"unrecognized_keys":return`Llave${i.keys.length>1?"s":""} desconocida${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Llave inv\xe1lida en ${n[i.origin]??i.origin}`;case"invalid_union":default:return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido en ${n[i.origin]??i.origin}`}})}}function g(){let e,t,n;return{localeError:(e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}},t={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},n={nan:"NaN",number:"عدد",array:"آرایه"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`ورودی نامعتبر: می‌بایست instanceof ${i.expected} می‌بود، ${a} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${e} می‌بود، ${a} دریافت شد`}case"invalid_value":if(1===i.values.length)return`ورودی نامعتبر: می‌بایست ${r.stringifyPrimitive(i.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${r.joinValues(i.values,"|")} می‌بود`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`خیلی بزرگ: ${i.origin??"مقدار"} باید ${t}${i.maximum.toString()} ${n.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${i.origin??"مقدار"} باید ${t}${i.maximum.toString()} باشد`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`خیلی کوچک: ${i.origin} باید ${t}${i.minimum.toString()} ${n.unit} باشد`;return`خیلی کوچک: ${i.origin} باید ${t}${i.minimum.toString()} باشد`}
31case"invalid_format":if("starts_with"===i.format)return`رشته نامعتبر: باید با "${i.prefix}" شروع شود`;if("ends_with"===i.format)return`رشته نامعتبر: باید با "${i.suffix}" تمام شود`;if("includes"===i.format)return`رشته نامعتبر: باید شامل "${i.includes}" باشد`;if("regex"===i.format)return`رشته نامعتبر: باید با الگوی ${i.pattern} مطابقت داشته باشد`;return`${t[i.format]??i.format} نامعتبر`;case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${i.divisor} باشد`;case"unrecognized_keys":return`کلید${i.keys.length>1?"های":""} ناشناس: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${i.origin}`;case"invalid_union":default:return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${i.origin}`}})}}function v(){let e,t,n;return{localeError:(e={string:{unit:"merkki\xe4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xe4iv\xe4m\xe4\xe4r\xe4n"}},t={regex:"s\xe4\xe4nn\xf6llinen lauseke",email:"s\xe4hk\xf6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xe4iv\xe4m\xe4\xe4r\xe4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Virheellinen tyyppi: odotettiin instanceof ${i.expected}, oli ${a}`;return`Virheellinen tyyppi: odotettiin ${e}, oli ${a}`}case"invalid_value":if(1===i.values.length)return`Virheellinen sy\xf6te: t\xe4ytyy olla ${r.stringifyPrimitive(i.values[0])}`;return`Virheellinen valinta: t\xe4ytyy olla yksi seuraavista: ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Liian suuri: ${n.subject} t\xe4ytyy olla ${t}${i.maximum.toString()} ${n.unit}`.trim();return`Liian suuri: arvon t\xe4ytyy olla ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Liian pieni: ${n.subject} t\xe4ytyy olla ${t}${i.minimum.toString()} ${n.unit}`.trim();return`Liian pieni: arvon t\xe4ytyy olla ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Virheellinen sy\xf6te: t\xe4ytyy alkaa "${i.prefix}"`;if("ends_with"===i.format)return`Virheellinen sy\xf6te: t\xe4ytyy loppua "${i.suffix}"`;if("includes"===i.format)return`Virheellinen sy\xf6te: t\xe4ytyy sis\xe4lt\xe4\xe4 "${i.includes}"`;if("regex"===i.format)return`Virheellinen sy\xf6te: t\xe4ytyy vastata s\xe4\xe4nn\xf6llist\xe4 lauseketta ${i.pattern}`;return`Virheellinen ${t[i.format]??i.format}`;case"not_multiple_of":return`Virheellinen luku: t\xe4ytyy olla luvun ${i.divisor} monikerta`;case"unrecognized_keys":return`${i.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xf6te"}})}}function y(){let e,t,n;return{localeError:(e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xe9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xeene encod\xe9e en base64",base64url:"cha\xeene encod\xe9e en base64url",json_string:"cha\xeene JSON",e164:"num\xe9ro E.164",jwt:"JWT",template_literal:"entr\xe9e"},n={nan:"NaN",number:"nombre",array:"tableau"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Entr\xe9e invalide : instanceof ${i.expected} attendu, ${a} re\xe7u`;return`Entr\xe9e invalide : ${e} attendu, ${a} re\xe7u`}case"invalid_value":if(1===i.values.length)return`Entr\xe9e invalide : ${r.stringifyPrimitive(i.values[0])} attendu`;return`Option invalide : une valeur parmi ${r.joinValues(i.values,"|")} attendue`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Trop grand : ${i.origin??"valeur"} doit ${n.verb} ${t}${i.maximum.toString()} ${n.unit??"\xe9l\xe9ment(s)"}`;return`Trop grand : ${i.origin??"valeur"} doit \xeatre ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Trop petit : ${i.origin} doit ${n.verb} ${t}${i.minimum.toString()} ${n.unit}`;return`Trop petit : ${i.origin} doit \xeatre ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Cha\xeene invalide : doit commencer par "${i.prefix}"`;if("ends_with"===i.format)return`Cha\xeene invalide : doit se terminer par "${i.suffix}"`;if("includes"===i.format)return`Cha\xeene invalide : doit inclure "${i.includes}"`;if("regex"===i.format)return`Cha\xeene invalide : doit correspondre au mod\xe8le ${i.pattern}`;return`${t[i.format]??i.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xe9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${i.origin}`;case"invalid_union":default:return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`}})}}function b(){let e,t,n;return{localeError:(e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xe9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xeene encod\xe9e en base64",base64url:"cha\xeene encod\xe9e en base64url",json_string:"cha\xeene JSON",e164:"num\xe9ro E.164",jwt:"JWT",template_literal:"entr\xe9e"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Entr\xe9e invalide : attendu instanceof ${i.expected}, re\xe7u ${a}`;return`Entr\xe9e invalide : attendu ${e}, re\xe7u ${a}`}case"invalid_value":if(1===i.values.length)return`Entr\xe9e invalide : attendu ${r.stringifyPrimitive(i.values[0])}`;
31return`Option invalide : attendu l'une des valeurs suivantes ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"≤":"<",n=e[i.origin]??null;if(n)return`Trop grand : attendu que ${i.origin??"la valeur"} ait ${t}${i.maximum.toString()} ${n.unit}`;return`Trop grand : attendu que ${i.origin??"la valeur"} soit ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?"≥":">",n=e[i.origin]??null;if(n)return`Trop petit : attendu que ${i.origin} ait ${t}${i.minimum.toString()} ${n.unit}`;return`Trop petit : attendu que ${i.origin} soit ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Cha\xeene invalide : doit commencer par "${i.prefix}"`;if("ends_with"===i.format)return`Cha\xeene invalide : doit se terminer par "${i.suffix}"`;if("includes"===i.format)return`Cha\xeene invalide : doit inclure "${i.includes}"`;if("regex"===i.format)return`Cha\xeene invalide : doit correspondre au motif ${i.pattern}`;return`${t[i.format]??i.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xe9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${i.origin}`;case"invalid_union":default:return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`}})}}function x(){let e,t,n,i,a,o,s,l,u;return{localeError:(e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},t={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},n=t=>t?e[t]:void 0,i=t=>{let r=n(t);return r?r.label:t??e.unknown.label},a=e=>`ה${i(e)}`,o=e=>{let t=n(e);return"f"===(t?.gender??"m")?"צריכה להיות":"צריך להיות"},s=e=>e?t[e]??null:null,l={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},u={nan:"NaN"},t=>{switch(t.code){case"invalid_type":{let n=t.expected,a=u[n??""]??i(n),o=r.parsedType(t.input),s=u[o]??e[o]?.label??o;
31if(/^[A-Z]/.test(t.expected))return`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${s}`;return`קלט לא תקין: צריך להיות ${a}, התקבל ${s}`}case"invalid_value":{if(1===t.values.length)return`ערך לא תקין: הערך חייב להיות ${r.stringifyPrimitive(t.values[0])}`;let e=t.values.map(e=>r.stringifyPrimitive(e));if(2===t.values.length)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;let n=e[e.length-1],i=e.slice(0,-1).join(", ");return`ערך לא תקין: האפשרויות המתאימות הן ${i} או ${n}`}case"too_big":{let e=s(t.origin),n=a(t.origin??"value");if("string"===t.origin)return`${e?.longLabel??"ארוך"} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??""} ${t.inclusive?"או פחות":"לכל היותר"}`.trim();if("number"===t.origin){let e=t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`;return`גדול מדי: ${n} צריך להיות ${e}`}if("array"===t.origin||"set"===t.origin){let r="set"===t.origin?"צריכה":"צריך",i=t.inclusive?`${t.maximum} ${e?.unit??""} או פחות`:`פחות מ-${t.maximum} ${e?.unit??""}`;return`גדול מדי: ${n} ${r} להכיל ${i}`.trim()}let r=t.inclusive?"<=":"<",i=o(t.origin??"value");if(e?.unit)return`${e.longLabel} מדי: ${n} ${i} ${r}${t.maximum.toString()} ${e.unit}`;return`${e?.longLabel??"גדול"} מדי: ${n} ${i} ${r}${t.maximum.toString()}`}case"too_small":{let e=s(t.origin),n=a(t.origin??"value");if("string"===t.origin)return`${e?.shortLabel??"קצר"} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??""} ${t.inclusive?"או יותר":"לפחות"}`.trim();if("number"===t.origin){let e=t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`;return`קטן מדי: ${n} צריך להיות ${e}`}if("array"===t.origin||"set"===t.origin){let r="set"===t.origin?"צריכה":"צריך";if(1===t.minimum&&t.inclusive){let e=(t.origin,"לפחות פריט אחד");return`קטן מדי: ${n} ${r} להכיל ${e}`}let i=t.inclusive?`${t.minimum} ${e?.unit??""} או יותר`:`יותר מ-${t.minimum} ${e?.unit??""}`;return`קטן מדי: ${n} ${r} להכיל ${i}`.trim()}let r=t.inclusive?">=":">",i=o(t.origin??"value");if(e?.unit)return`${e.shortLabel} מדי: ${n} ${i} ${r}${t.minimum.toString()} ${e.unit}`;return`${e?.shortLabel??"קטן"} מדי: ${n} ${i} ${r}${t.minimum.toString()}`}case"invalid_format":{if("starts_with"===t.format)return`המחרוזת חייבת להתחיל ב "${t.prefix}"`;if("ends_with"===t.format)return`המחרוזת חייבת להסתיים ב "${t.suffix}"`;if("includes"===t.format)return`המחרוזת חייבת לכלול "${t.includes}"`;if("regex"===t.format)return`המחרוזת חייבת להתאים לתבנית ${t.pattern}`;let e=l[t.format],n=e?.label??t.format,r=e?.gender??"m";return`${n} לא ${"f"===r?"תקינה":"תקין"}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case"unrecognized_keys":return`מפתח${t.keys.length>1?"ות":""} לא מזוה${t.keys.length>1?"ים":"ה"}: ${r.joinValues(t.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":default:return"קלט לא תקין";case"invalid_element":{let e=a(t.origin??"array");return`ערך לא תקין ב${e}`}}})}}function w(){let e,t,n;return{localeError:(e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}},t={regex:"bemenet",email:"email c\xedm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időb\xe9lyeg",date:"ISO d\xe1tum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 c\xedm",ipv6:"IPv6 c\xedm",cidrv4:"IPv4 tartom\xe1ny",cidrv6:"IPv6 tartom\xe1ny",base64:"base64-k\xf3dolt string",base64url:"base64url-k\xf3dolt string",json_string:"JSON string",e164:"E.164 sz\xe1m",jwt:"JWT",template_literal:"bemenet"},n={nan:"NaN",number:"sz\xe1m",array:"t\xf6mb"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k instanceof ${i.expected}, a kapott \xe9rt\xe9k ${a}`;return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${e}, a kapott \xe9rt\xe9k ${a}`}case"invalid_value":if(1===i.values.length)return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${r.stringifyPrimitive(i.values[0])}`;return`\xc9rv\xe9nytelen opci\xf3: valamelyik \xe9rt\xe9k v\xe1rt ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`T\xfal nagy: ${i.origin??"\xe9rt\xe9k"} m\xe9rete t\xfal nagy ${t}${i.maximum.toString()} ${n.unit??"elem"}`;return`T\xfal nagy: a bemeneti \xe9rt\xe9k ${i.origin??"\xe9rt\xe9k"} t\xfal nagy: ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${i.origin} m\xe9rete t\xfal kicsi ${t}${i.minimum.toString()} ${n.unit}`;return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${i.origin} t\xfal kicsi ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`\xc9rv\xe9nytelen string: "${i.prefix}" \xe9rt\xe9kkel kell kezdődnie`;if("ends_with"===i.format)return`\xc9rv\xe9nytelen string: "${i.suffix}" \xe9rt\xe9kkel kell v\xe9gződnie`;if("includes"===i.format)return`\xc9rv\xe9nytelen string: "${i.includes}" \xe9rt\xe9ket kell tartalmaznia`;if("regex"===i.format)return`\xc9rv\xe9nytelen string: ${i.pattern} mint\xe1nak kell megfelelnie`;return`\xc9rv\xe9nytelen ${t[i.format]??i.format}`;case"not_multiple_of":return`\xc9rv\xe9nytelen sz\xe1m: ${i.divisor} t\xf6bbsz\xf6r\xf6s\xe9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`\xc9rv\xe9nytelen kulcs ${i.origin}`;case"invalid_union":default:return"\xc9rv\xe9nytelen bemenet";case"invalid_element":return`\xc9rv\xe9nytelen \xe9rt\xe9k: ${i.origin}`}})}}function S(e,t,n){return 1===Math.abs(e)?t:n}function k(e){if(!e)return"";let t=e[e.length-1];return e+(["ա","ե","ը","ի","ո","ու","օ"].includes(t)?"ն":"ը")}function E(){let e,t,n;return{localeError:(e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}},t={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},n={nan:"NaN",number:"թիվ",array:"զանգված"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${i.expected}, ստացվել է ${a}`;return`Սխալ մուտքագրում․ սպասվում էր ${e}, ստացվել է ${a}`}case"invalid_value":if(1===i.values.length)return`Սխալ մուտքագրում․ սպասվում էր ${r.stringifyPrimitive(i.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n){let e=S(Number(i.maximum),n.unit.one,n.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${k(i.origin??"արժեք")} կունենա ${t}${i.maximum.toString()} ${e}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${k(i.origin??"արժեք")} լինի ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n){let e=S(Number(i.minimum),n.unit.one,n.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${k(i.origin)} կունենա ${t}${i.minimum.toString()} ${e}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${k(i.origin)} լինի ${t}${i.minimum.toString()}`}
31case"invalid_format":if("starts_with"===i.format)return`Սխալ տող․ պետք է սկսվի "${i.prefix}"-ով`;if("ends_with"===i.format)return`Սխալ տող․ պետք է ավարտվի "${i.suffix}"-ով`;if("includes"===i.format)return`Սխալ տող․ պետք է պարունակի "${i.includes}"`;if("regex"===i.format)return`Սխալ տող․ պետք է համապատասխանի ${i.pattern} ձևաչափին`;return`Սխալ ${t[i.format]??i.format}`;case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${i.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${i.keys.length>1?"ներ":""}. ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${k(i.origin)}-ում`;case"invalid_union":default:return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${k(i.origin)}-ում`}})}}function $(){let e,t,n;return{localeError:(e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}},t={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Input tidak valid: diharapkan instanceof ${i.expected}, diterima ${a}`;return`Input tidak valid: diharapkan ${e}, diterima ${a}`}case"invalid_value":if(1===i.values.length)return`Input tidak valid: diharapkan ${r.stringifyPrimitive(i.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Terlalu besar: diharapkan ${i.origin??"value"} memiliki ${t}${i.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: diharapkan ${i.origin??"value"} menjadi ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Terlalu kecil: diharapkan ${i.origin} memiliki ${t}${i.minimum.toString()} ${n.unit}`;return`Terlalu kecil: diharapkan ${i.origin} menjadi ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`String tidak valid: harus dimulai dengan "${i.prefix}"`;if("ends_with"===i.format)return`String tidak valid: harus berakhir dengan "${i.suffix}"`;if("includes"===i.format)return`String tidak valid: harus menyertakan "${i.includes}"`;if("regex"===i.format)return`String tidak valid: harus sesuai pola ${i.pattern}`;return`${t[i.format]??i.format} tidak valid`;case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${i.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${i.origin}`}})}}function _(){let e,t,n;return{localeError:(e={string:{unit:"stafi",verb:"a\xf0 hafa"},file:{unit:"b\xe6ti",verb:"a\xf0 hafa"},array:{unit:"hluti",verb:"a\xf0 hafa"},set:{unit:"hluti",verb:"a\xf0 hafa"}},t={regex:"gildi",email:"netfang",url:"vefsl\xf3\xf0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xedmi",date:"ISO dagsetning",time:"ISO t\xedmi",duration:"ISO t\xedmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xf6lugildi",jwt:"JWT",template_literal:"gildi"},n={nan:"NaN",number:"n\xfamer",array:"fylki"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Rangt gildi: \xde\xfa sl\xf3st inn ${a} \xfear sem \xe1 a\xf0 vera instanceof ${i.expected}`;return`Rangt gildi: \xde\xfa sl\xf3st inn ${a} \xfear sem \xe1 a\xf0 vera ${e}`}case"invalid_value":if(1===i.values.length)return`Rangt gildi: gert r\xe1\xf0 fyrir ${r.stringifyPrimitive(i.values[0])}`;return`\xd3gilt val: m\xe1 vera eitt af eftirfarandi ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Of st\xf3rt: gert er r\xe1\xf0 fyrir a\xf0 ${i.origin??"gildi"} hafi ${t}${i.maximum.toString()} ${n.unit??"hluti"}`;return`Of st\xf3rt: gert er r\xe1\xf0 fyrir a\xf0 ${i.origin??"gildi"} s\xe9 ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Of l\xedti\xf0: gert er r\xe1\xf0 fyrir a\xf0 ${i.origin} hafi ${t}${i.minimum.toString()} ${n.unit}`;return`Of l\xedti\xf0: gert er r\xe1\xf0 fyrir a\xf0 ${i.origin} s\xe9 ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 byrja \xe1 "${i.prefix}"`;if("ends_with"===i.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 enda \xe1 "${i.suffix}"`;if("includes"===i.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 innihalda "${i.includes}"`;if("regex"===i.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 fylgja mynstri ${i.pattern}`;return`Rangt ${t[i.format]??i.format}`;case"not_multiple_of":return`R\xf6ng tala: ver\xf0ur a\xf0 vera margfeldi af ${i.divisor}`;case"unrecognized_keys":return`\xd3\xfeekkt ${i.keys.length>1?"ir lyklar":"ur lykill"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Rangur lykill \xed ${i.origin}`;case"invalid_union":default:return"Rangt gildi";case"invalid_element":return`Rangt gildi \xed ${i.origin}`}})}}function C(){let e,t,n;return{localeError:(e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}},t={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"numero",array:"vettore"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Input non valido: atteso instanceof ${i.expected}, ricevuto ${a}`;return`Input non valido: atteso ${e}, ricevuto ${a}`}case"invalid_value":if(1===i.values.length)return`Input non valido: atteso ${r.stringifyPrimitive(i.values[0])}`;return`Opzione non valida: atteso uno tra ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Troppo grande: ${i.origin??"valore"} deve avere ${t}${i.maximum.toString()} ${n.unit??"elementi"}`;return`Troppo grande: ${i.origin??"valore"} deve essere ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Troppo piccolo: ${i.origin} deve avere ${t}${i.minimum.toString()} ${n.unit}`;return`Troppo piccolo: ${i.origin} deve essere ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Stringa non valida: deve iniziare con "${i.prefix}"`;if("ends_with"===i.format)return`Stringa non valida: deve terminare con "${i.suffix}"`;if("includes"===i.format)return`Stringa non valida: deve includere "${i.includes}"`;if("regex"===i.format)return`Stringa non valida: deve corrispondere al pattern ${i.pattern}`;return`Invalid ${t[i.format]??i.format}`;case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${i.divisor}`;case"unrecognized_keys":return`Chiav${i.keys.length>1?"i":"e"} non riconosciut${i.keys.length>1?"e":"a"}: ${r.joinValues(i.keys,", ")}`;
31case"invalid_key":return`Chiave non valida in ${i.origin}`;case"invalid_union":default:return"Input non valido";case"invalid_element":return`Valore non valido in ${i.origin}`}})}}function D(){let e,t,n;return{localeError:(e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}},t={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},n={nan:"NaN",number:"数値",array:"配列"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`無効な入力: instanceof ${i.expected}が期待されましたが、${a}が入力されました`;return`無効な入力: ${e}が期待されましたが、${a}が入力されました`}case"invalid_value":if(1===i.values.length)return`無効な入力: ${r.stringifyPrimitive(i.values[0])}が期待されました`;return`無効な選択: ${r.joinValues(i.values,"、")}のいずれかである必要があります`;case"too_big":{let t=i.inclusive?"以下である":"より小さい",n=e[i.origin]??null;if(n)return`大きすぎる値: ${i.origin??"値"}は${i.maximum.toString()}${n.unit??"要素"}${t}必要があります`;return`大きすぎる値: ${i.origin??"値"}は${i.maximum.toString()}${t}必要があります`}case"too_small":{let t=i.inclusive?"以上である":"より大きい",n=e[i.origin]??null;if(n)return`小さすぎる値: ${i.origin}は${i.minimum.toString()}${n.unit}${t}必要があります`;return`小さすぎる値: ${i.origin}は${i.minimum.toString()}${t}必要があります`}case"invalid_format":if("starts_with"===i.format)return`無効な文字列: "${i.prefix}"で始まる必要があります`;if("ends_with"===i.format)return`無効な文字列: "${i.suffix}"で終わる必要があります`;if("includes"===i.format)return`無効な文字列: "${i.includes}"を含む必要があります`;if("regex"===i.format)return`無効な文字列: パターン${i.pattern}に一致する必要があります`;return`無効な${t[i.format]??i.format}`;case"not_multiple_of":return`無効な数値: ${i.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${i.keys.length>1?"群":""}: ${r.joinValues(i.keys,"、")}`;case"invalid_key":return`${i.origin}内の無効なキー`;case"invalid_union":default:return"無効な入力";case"invalid_element":return`${i.origin}内の無効な値`}})}}function I(){let e,t,n;return{localeError:(e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}},t={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული სტრინგი",base64url:"base64url-კოდირებული სტრინგი",json_string:"JSON სტრინგი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},n={nan:"NaN",number:"რიცხვი",string:"სტრინგი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${i.expected}, მიღებული ${a}`;return`არასწორი შეყვანა: მოსალოდნელი ${e}, მიღებული ${a}`}case"invalid_value":if(1===i.values.length)return`არასწორი შეყვანა: მოსალოდნელი ${r.stringifyPrimitive(i.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${r.joinValues(i.values,"|")}-დან`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`ზედმეტად დიდი: მოსალოდნელი ${i.origin??"მნიშვნელობა"} ${n.verb} ${t}${i.maximum.toString()} ${n.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${i.origin??"მნიშვნელობა"} იყოს ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`ზედმეტად პატარა: მოსალოდნელი ${i.origin} ${n.verb} ${t}${i.minimum.toString()} ${n.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${i.origin} იყოს ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`არასწორი სტრინგი: უნდა იწყებოდეს "${i.prefix}"-ით`;if("ends_with"===i.format)return`არასწორი სტრინგი: უნდა მთავრდებოდეს "${i.suffix}"-ით`;if("includes"===i.format)return`არასწორი სტრინგი: უნდა შეიცავდეს "${i.includes}"-ს`;if("regex"===i.format)return`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${i.pattern}`;return`არასწორი ${t[i.format]??i.format}`;case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${i.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${i.keys.length>1?"ები":"ი"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${i.origin}-ში`;case"invalid_union":default:return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${i.origin}-ში`}})}}function R(){let e,t,n;return{localeError:(e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}},t={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},n={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${i.expected} ប៉ុន្តែទទួលបាន ${a}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${e} ប៉ុន្តែទទួលបាន ${a}`}
31case"invalid_value":if(1===i.values.length)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${r.stringifyPrimitive(i.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`ធំពេក៖ ត្រូវការ ${i.origin??"តម្លៃ"} ${t} ${i.maximum.toString()} ${n.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${i.origin??"តម្លៃ"} ${t} ${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`តូចពេក៖ ត្រូវការ ${i.origin} ${t} ${i.minimum.toString()} ${n.unit}`;return`តូចពេក៖ ត្រូវការ ${i.origin} ${t} ${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${i.prefix}"`;if("ends_with"===i.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${i.suffix}"`;if("includes"===i.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${i.includes}"`;if("regex"===i.format)return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${i.pattern}`;return`មិនត្រឹមត្រូវ៖ ${t[i.format]??i.format}`;case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${i.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${i.origin}`;case"invalid_union":default:return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${i.origin}`}})}}function T(){return R()}function P(){let e,t,n;return{localeError:(e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}},t={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`잘못된 입력: 예상 타입은 instanceof ${i.expected}, 받은 타입은 ${a}입니다`;return`잘못된 입력: 예상 타입은 ${e}, 받은 타입은 ${a}입니다`}case"invalid_value":if(1===i.values.length)return`잘못된 입력: 값은 ${r.stringifyPrimitive(i.values[0])} 이어야 합니다`;return`잘못된 옵션: ${r.joinValues(i.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let t=i.inclusive?"이하":"미만",n="미만"===t?"이어야 합니다":"여야 합니다",r=e[i.origin]??null,a=r?.unit??"요소";if(r)return`${i.origin??"값"}이 너무 큽니다: ${i.maximum.toString()}${a} ${t}${n}`;return`${i.origin??"값"}이 너무 큽니다: ${i.maximum.toString()} ${t}${n}`}case"too_small":{let t=i.inclusive?"이상":"초과",n="이상"===t?"이어야 합니다":"여야 합니다",r=e[i.origin]??null,a=r?.unit??"요소";if(r)return`${i.origin??"값"}이 너무 작습니다: ${i.minimum.toString()}${a} ${t}${n}`;return`${i.origin??"값"}이 너무 작습니다: ${i.minimum.toString()} ${t}${n}`}
31case"invalid_format":if("starts_with"===i.format)return`잘못된 문자열: "${i.prefix}"(으)로 시작해야 합니다`;if("ends_with"===i.format)return`잘못된 문자열: "${i.suffix}"(으)로 끝나야 합니다`;if("includes"===i.format)return`잘못된 문자열: "${i.includes}"을(를) 포함해야 합니다`;if("regex"===i.format)return`잘못된 문자열: 정규식 ${i.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${t[i.format]??i.format}`;case"not_multiple_of":return`잘못된 숫자: ${i.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`잘못된 키: ${i.origin}`;case"invalid_union":default:return"잘못된 입력";case"invalid_element":return`잘못된 값: ${i.origin}`}})}}let O=e=>e.charAt(0).toUpperCase()+e.slice(1);function A(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||0===n?"many":1===n?"one":"few"}function j(){return{localeError:(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function t(t,n,r,i){let a=e[t]??null;return null===a?a:{unit:a.unit[n],verb:a.verb[i][r?"inclusive":"notInclusive"]}}let n={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},i={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return e=>{switch(e.code){case"invalid_type":{let t=i[e.expected]??e.expected,n=r.parsedType(e.input),a=i[n]??n;if(/^[A-Z]/.test(e.expected))return`Gautas tipas ${a}, o tikėtasi - instanceof ${e.expected}`;return`Gautas tipas ${a}, o tikėtasi - ${t}`}case"invalid_value":if(1===e.values.length)return`Privalo būti ${r.stringifyPrimitive(e.values[0])}`;return`Privalo būti vienas iš ${r.joinValues(e.values,"|")} pasirinkimų`;case"too_big":{let n=i[e.origin]??e.origin,r=t(e.origin,A(Number(e.maximum)),e.inclusive??!1,"smaller");if(r?.verb)return`${O(n??e.origin??"reikšmė")} ${r.verb} ${e.maximum.toString()} ${r.unit??"elementų"}`;let a=e.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${O(n??e.origin??"reikšmė")} turi būti ${a} ${e.maximum.toString()} ${r?.unit}`}case"too_small":{let n=i[e.origin]??e.origin,r=t(e.origin,A(Number(e.minimum)),e.inclusive??!1,"bigger");if(r?.verb)return`${O(n??e.origin??"reikšmė")} ${r.verb} ${e.minimum.toString()} ${r.unit??"elementų"}`;let a=e.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${O(n??e.origin??"reikšmė")} turi būti ${a} ${e.minimum.toString()} ${r?.unit}`}case"invalid_format":if("starts_with"===e.format)return`Eilutė privalo prasidėti "${e.prefix}"`;if("ends_with"===e.format)return`Eilutė privalo pasibaigti "${e.suffix}"`;if("includes"===e.format)return`Eilutė privalo įtraukti "${e.includes}"`;if("regex"===e.format)return`Eilutė privalo atitikti ${e.pattern}`;return`Neteisingas ${n[e.format]??e.format}`;case"not_multiple_of":return`Skaičius privalo būti ${e.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${e.keys.length>1?"i":"as"} rakt${e.keys.length>1?"ai":"as"}: ${r.joinValues(e.keys,", ")}`;
31case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":default:return"Klaidinga įvestis";case"invalid_element":{let t=i[e.origin]??e.origin;return`${O(t??e.origin??"reikšmė")} turi klaidingą įvestį`}}}})()}}function z(){let e,t,n;return{localeError:(e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}},t={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},n={nan:"NaN",number:"број",array:"низа"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Грешен внес: се очекува instanceof ${i.expected}, примено ${a}`;return`Грешен внес: се очекува ${e}, примено ${a}`}case"invalid_value":if(1===i.values.length)return`Invalid input: expected ${r.stringifyPrimitive(i.values[0])}`;return`Грешана опција: се очекува една ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Премногу голем: се очекува ${i.origin??"вредноста"} да има ${t}${i.maximum.toString()} ${n.unit??"елементи"}`;return`Премногу голем: се очекува ${i.origin??"вредноста"} да биде ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Премногу мал: се очекува ${i.origin} да има ${t}${i.minimum.toString()} ${n.unit}`;return`Премногу мал: се очекува ${i.origin} да биде ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Неважечка низа: мора да започнува со "${i.prefix}"`;if("ends_with"===i.format)return`Неважечка низа: мора да завршува со "${i.suffix}"`;if("includes"===i.format)return`Неважечка низа: мора да вклучува "${i.includes}"`;if("regex"===i.format)return`Неважечка низа: мора да одгоара на патернот ${i.pattern}`;return`Invalid ${t[i.format]??i.format}`;case"not_multiple_of":return`Грешен број: мора да биде делив со ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${i.origin}`;case"invalid_union":default:return"Грешен внес";case"invalid_element":return`Грешна вредност во ${i.origin}`}})}}function N(){let e,t,n;return{localeError:(e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}},t={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"nombor"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Input tidak sah: dijangka instanceof ${i.expected}, diterima ${a}`;return`Input tidak sah: dijangka ${e}, diterima ${a}`}
31case"invalid_value":if(1===i.values.length)return`Input tidak sah: dijangka ${r.stringifyPrimitive(i.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Terlalu besar: dijangka ${i.origin??"nilai"} ${n.verb} ${t}${i.maximum.toString()} ${n.unit??"elemen"}`;return`Terlalu besar: dijangka ${i.origin??"nilai"} adalah ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Terlalu kecil: dijangka ${i.origin} ${n.verb} ${t}${i.minimum.toString()} ${n.unit}`;return`Terlalu kecil: dijangka ${i.origin} adalah ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`String tidak sah: mesti bermula dengan "${i.prefix}"`;if("ends_with"===i.format)return`String tidak sah: mesti berakhir dengan "${i.suffix}"`;if("includes"===i.format)return`String tidak sah: mesti mengandungi "${i.includes}"`;if("regex"===i.format)return`String tidak sah: mesti sepadan dengan corak ${i.pattern}`;return`${t[i.format]??i.format} tidak sah`;case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${i.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${i.origin}`}})}}function M(){let e,t,n;return{localeError:(e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}},t={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},n={nan:"NaN",number:"getal"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Ongeldige invoer: verwacht instanceof ${i.expected}, ontving ${a}`;return`Ongeldige invoer: verwacht ${e}, ontving ${a}`}case"invalid_value":if(1===i.values.length)return`Ongeldige invoer: verwacht ${r.stringifyPrimitive(i.values[0])}`;return`Ongeldige optie: verwacht \xe9\xe9n van ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null,r="date"===i.origin?"laat":"string"===i.origin?"lang":"groot";if(n)return`Te ${r}: verwacht dat ${i.origin??"waarde"} ${t}${i.maximum.toString()} ${n.unit??"elementen"} ${n.verb}`;return`Te ${r}: verwacht dat ${i.origin??"waarde"} ${t}${i.maximum.toString()} is`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null,r="date"===i.origin?"vroeg":"string"===i.origin?"kort":"klein";if(n)return`Te ${r}: verwacht dat ${i.origin} ${t}${i.minimum.toString()} ${n.unit} ${n.verb}`;return`Te ${r}: verwacht dat ${i.origin} ${t}${i.minimum.toString()} is`}case"invalid_format":if("starts_with"===i.format)return`Ongeldige tekst: moet met "${i.prefix}" beginnen`;if("ends_with"===i.format)return`Ongeldige tekst: moet op "${i.suffix}" eindigen`;if("includes"===i.format)return`Ongeldige tekst: moet "${i.includes}" bevatten`;if("regex"===i.format)return`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`;return`Ongeldig: ${t[i.format]??i.format}`;case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${i.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${i.origin}`;case"invalid_union":default:return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${i.origin}`}})}}function L(){let e,t,n;return{localeError:(e={string:{unit:"tegn",verb:"\xe5 ha"},file:{unit:"bytes",verb:"\xe5 ha"},array:{unit:"elementer",verb:"\xe5 inneholde"},set:{unit:"elementer",verb:"\xe5 inneholde"}},t={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"tall",array:"liste"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Ugyldig input: forventet instanceof ${i.expected}, fikk ${a}`;return`Ugyldig input: forventet ${e}, fikk ${a}`}case"invalid_value":if(1===i.values.length)return`Ugyldig verdi: forventet ${r.stringifyPrimitive(i.values[0])}`;return`Ugyldig valg: forventet en av ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`For stor(t): forventet ${i.origin??"value"} til \xe5 ha ${t}${i.maximum.toString()} ${n.unit??"elementer"}`;return`For stor(t): forventet ${i.origin??"value"} til \xe5 ha ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`For lite(n): forventet ${i.origin} til \xe5 ha ${t}${i.minimum.toString()} ${n.unit}`;return`For lite(n): forventet ${i.origin} til \xe5 ha ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Ugyldig streng: m\xe5 starte med "${i.prefix}"`;if("ends_with"===i.format)return`Ugyldig streng: m\xe5 ende med "${i.suffix}"`;if("includes"===i.format)return`Ugyldig streng: m\xe5 inneholde "${i.includes}"`;if("regex"===i.format)return`Ugyldig streng: m\xe5 matche m\xf8nsteret ${i.pattern}`;return`Ugyldig ${t[i.format]??i.format}`;case"not_multiple_of":return`Ugyldig tall: m\xe5 v\xe6re et multiplum av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukjente n\xf8kler":"Ukjent n\xf8kkel"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8kkel i ${i.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${i.origin}`}})}}function F(){let e,t,n;return{localeError:(e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}},t={regex:"giren",email:"epostag\xe2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xe2mı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO m\xfcddeti",ipv4:"IPv4 niş\xe2nı",ipv6:"IPv6 niş\xe2nı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},n={nan:"NaN",number:"numara",array:"saf",null:"gayb"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`F\xe2sit giren: umulan instanceof ${i.expected}, alınan ${a}`;return`F\xe2sit giren: umulan ${e}, alınan ${a}`}case"invalid_value":if(1===i.values.length)return`F\xe2sit giren: umulan ${r.stringifyPrimitive(i.values[0])}`;return`F\xe2sit tercih: m\xfbteberler ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Fazla b\xfcy\xfck: ${i.origin??"value"}, ${t}${i.maximum.toString()} ${n.unit??"elements"} sahip olmalıydı.`;return`Fazla b\xfcy\xfck: ${i.origin??"value"}, ${t}${i.maximum.toString()} olmalıydı.`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Fazla k\xfc\xe7\xfck: ${i.origin}, ${t}${i.minimum.toString()} ${n.unit} sahip olmalıydı.`;return`Fazla k\xfc\xe7\xfck: ${i.origin}, ${t}${i.minimum.toString()} olmalıydı.`}case"invalid_format":if("starts_with"===i.format)return`F\xe2sit metin: "${i.prefix}" ile başlamalı.`;if("ends_with"===i.format)return`F\xe2sit metin: "${i.suffix}" ile bitmeli.`;if("includes"===i.format)return`F\xe2sit metin: "${i.includes}" ihtiv\xe2 etmeli.`;if("regex"===i.format)return`F\xe2sit metin: ${i.pattern} nakşına uymalı.`;return`F\xe2sit ${t[i.format]??i.format}`;case"not_multiple_of":return`F\xe2sit sayı: ${i.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xe7in tanınmayan anahtar var.`;
31case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${i.origin} i\xe7in tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}})}}function U(){let e,t,n;return{localeError:(e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}},t={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},n={nan:"NaN",number:"عدد",array:"ارې"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`ناسم ورودي: باید instanceof ${i.expected} وای, مګر ${a} ترلاسه شو`;return`ناسم ورودي: باید ${e} وای, مګر ${a} ترلاسه شو`}case"invalid_value":if(1===i.values.length)return`ناسم ورودي: باید ${r.stringifyPrimitive(i.values[0])} وای`;return`ناسم انتخاب: باید یو له ${r.joinValues(i.values,"|")} څخه وای`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`ډیر لوی: ${i.origin??"ارزښت"} باید ${t}${i.maximum.toString()} ${n.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${i.origin??"ارزښت"} باید ${t}${i.maximum.toString()} وي`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`ډیر کوچنی: ${i.origin} باید ${t}${i.minimum.toString()} ${n.unit} ولري`;return`ډیر کوچنی: ${i.origin} باید ${t}${i.minimum.toString()} وي`}case"invalid_format":if("starts_with"===i.format)return`ناسم متن: باید د "${i.prefix}" سره پیل شي`;if("ends_with"===i.format)return`ناسم متن: باید د "${i.suffix}" سره پای ته ورسيږي`;if("includes"===i.format)return`ناسم متن: باید "${i.includes}" ولري`;if("regex"===i.format)return`ناسم متن: باید د ${i.pattern} سره مطابقت ولري`;return`${t[i.format]??i.format} ناسم دی`;case"not_multiple_of":return`ناسم عدد: باید د ${i.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${i.keys.length>1?"کلیډونه":"کلیډ"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${i.origin} کې`;case"invalid_union":default:return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${i.origin} کې`}})}}function B(){let e,t,n;return{localeError:(e={string:{unit:"znak\xf3w",verb:"mieć"},file:{unit:"bajt\xf3w",verb:"mieć"},array:{unit:"element\xf3w",verb:"mieć"},set:{unit:"element\xf3w",verb:"mieć"}},t={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znak\xf3w zakodowany w formacie base64",base64url:"ciąg znak\xf3w zakodowany w formacie base64url",json_string:"ciąg znak\xf3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},n={nan:"NaN",number:"liczba",array:"tablica"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${i.expected}, otrzymano ${a}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${e}, otrzymano ${a}`}case"invalid_value":if(1===i.values.length)return`Nieprawidłowe dane wejściowe: oczekiwano ${r.stringifyPrimitive(i.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${r.joinValues(i.values,"|")}`;
31case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Za duża wartość: oczekiwano, że ${i.origin??"wartość"} będzie mieć ${t}${i.maximum.toString()} ${n.unit??"element\xf3w"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${i.origin??"wartość"} będzie wynosić ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Za mała wartość: oczekiwano, że ${i.origin??"wartość"} będzie mieć ${t}${i.minimum.toString()} ${n.unit??"element\xf3w"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${i.origin??"wartość"} będzie wynosić ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Nieprawidłowy ciąg znak\xf3w: musi zaczynać się od "${i.prefix}"`;if("ends_with"===i.format)return`Nieprawidłowy ciąg znak\xf3w: musi kończyć się na "${i.suffix}"`;if("includes"===i.format)return`Nieprawidłowy ciąg znak\xf3w: musi zawierać "${i.includes}"`;if("regex"===i.format)return`Nieprawidłowy ciąg znak\xf3w: musi odpowiadać wzorcowi ${i.pattern}`;return`Nieprawidłow(y/a/e) ${t[i.format]??i.format}`;case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${i.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${i.origin}`;case"invalid_union":default:return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${i.origin}`}})}}function V(){let e,t,n;return{localeError:(e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}},t={regex:"padr\xe3o",email:"endere\xe7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xe7\xe3o ISO",ipv4:"endere\xe7o IPv4",ipv6:"endere\xe7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",number:"n\xfamero",null:"nulo"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Tipo inv\xe1lido: esperado instanceof ${i.expected}, recebido ${a}`;return`Tipo inv\xe1lido: esperado ${e}, recebido ${a}`}case"invalid_value":if(1===i.values.length)return`Entrada inv\xe1lida: esperado ${r.stringifyPrimitive(i.values[0])}`;return`Op\xe7\xe3o inv\xe1lida: esperada uma das ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Muito grande: esperado que ${i.origin??"valor"} tivesse ${t}${i.maximum.toString()} ${n.unit??"elementos"}`;return`Muito grande: esperado que ${i.origin??"valor"} fosse ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Muito pequeno: esperado que ${i.origin} tivesse ${t}${i.minimum.toString()} ${n.unit}`;return`Muito pequeno: esperado que ${i.origin} fosse ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Texto inv\xe1lido: deve come\xe7ar com "${i.prefix}"`;if("ends_with"===i.format)return`Texto inv\xe1lido: deve terminar com "${i.suffix}"`;if("includes"===i.format)return`Texto inv\xe1lido: deve incluir "${i.includes}"`;if("regex"===i.format)return`Texto inv\xe1lido: deve corresponder ao padr\xe3o ${i.pattern}`;return`${t[i.format]??i.format} inv\xe1lido`;case"not_multiple_of":return`N\xfamero inv\xe1lido: deve ser m\xfaltiplo de ${i.divisor}`;case"unrecognized_keys":return`Chave${i.keys.length>1?"s":""} desconhecida${i.keys.length>1?"s":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Chave inv\xe1lida em ${i.origin}`;case"invalid_union":return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido em ${i.origin}`;default:return"Campo inv\xe1lido"}})}}function Z(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:1===a?t:a>=2&&a<=4?n:r}function K(){let e,t,n;return{localeError:(e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}},t={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},n={nan:"NaN",number:"число",array:"массив"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Неверный ввод: ожидалось instanceof ${i.expected}, получено ${a}`;return`Неверный ввод: ожидалось ${e}, получено ${a}`}case"invalid_value":if(1===i.values.length)return`Неверный ввод: ожидалось ${r.stringifyPrimitive(i.values[0])}`;return`Неверный вариант: ожидалось одно из ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n){let e=Z(Number(i.maximum),n.unit.one,n.unit.few,n.unit.many);return`Слишком большое значение: ожидалось, что ${i.origin??"значение"} будет иметь ${t}${i.maximum.toString()} ${e}`}return`Слишком большое значение: ожидалось, что ${i.origin??"значение"} будет ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n){let e=Z(Number(i.minimum),n.unit.one,n.unit.few,n.unit.many);return`Слишком маленькое значение: ожидалось, что ${i.origin} будет иметь ${t}${i.minimum.toString()} ${e}`}return`Слишком маленькое значение: ожидалось, что ${i.origin} будет ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Неверная строка: должна начинаться с "${i.prefix}"`;if("ends_with"===i.format)return`Неверная строка: должна заканчиваться на "${i.suffix}"`;if("includes"===i.format)return`Неверная строка: должна содержать "${i.includes}"`;if("regex"===i.format)return`Неверная строка: должна соответствовать шаблону ${i.pattern}`;return`Неверный ${t[i.format]??i.format}`;case"not_multiple_of":return`Неверное число: должно быть кратным ${i.divisor}`;case"unrecognized_keys":return`Нераспознанн${i.keys.length>1?"ые":"ый"} ключ${i.keys.length>1?"и":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${i.origin}`;case"invalid_union":default:return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${i.origin}`}})}}function q(){let e,t,n;return{localeError:(e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}},t={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},n={nan:"NaN",number:"število",array:"tabela"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Neveljaven vnos: pričakovano instanceof ${i.expected}, prejeto ${a}`;return`Neveljaven vnos: pričakovano ${e}, prejeto ${a}`}case"invalid_value":if(1===i.values.length)return`Neveljaven vnos: pričakovano ${r.stringifyPrimitive(i.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Preveliko: pričakovano, da bo ${i.origin??"vrednost"} imelo ${t}${i.maximum.toString()} ${n.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${i.origin??"vrednost"} ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Premajhno: pričakovano, da bo ${i.origin} imelo ${t}${i.minimum.toString()} ${n.unit}`;return`Premajhno: pričakovano, da bo ${i.origin} ${t}${i.minimum.toString()}`}
31case"invalid_format":if("starts_with"===i.format)return`Neveljaven niz: mora se začeti z "${i.prefix}"`;if("ends_with"===i.format)return`Neveljaven niz: mora se končati z "${i.suffix}"`;if("includes"===i.format)return`Neveljaven niz: mora vsebovati "${i.includes}"`;if("regex"===i.format)return`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`;return`Neveljaven ${t[i.format]??i.format}`;case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${i.divisor}`;case"unrecognized_keys":return`Neprepoznan${i.keys.length>1?"i ključi":" ključ"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${i.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${i.origin}`}})}}function W(){let e,t,n;return{localeError:(e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xe5lla"},set:{unit:"objekt",verb:"att inneh\xe5lla"}},t={regex:"regulj\xe4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xe4ng",base64url:"base64url-kodad str\xe4ng",json_string:"JSON-str\xe4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},n={nan:"NaN",number:"antal",array:"lista"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Ogiltig inmatning: f\xf6rv\xe4ntat instanceof ${i.expected}, fick ${a}`;return`Ogiltig inmatning: f\xf6rv\xe4ntat ${e}, fick ${a}`}case"invalid_value":if(1===i.values.length)return`Ogiltig inmatning: f\xf6rv\xe4ntat ${r.stringifyPrimitive(i.values[0])}`;return`Ogiltigt val: f\xf6rv\xe4ntade en av ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`F\xf6r stor(t): f\xf6rv\xe4ntade ${i.origin??"v\xe4rdet"} att ha ${t}${i.maximum.toString()} ${n.unit??"element"}`;return`F\xf6r stor(t): f\xf6rv\xe4ntat ${i.origin??"v\xe4rdet"} att ha ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`F\xf6r lite(t): f\xf6rv\xe4ntade ${i.origin??"v\xe4rdet"} att ha ${t}${i.minimum.toString()} ${n.unit}`;return`F\xf6r lite(t): f\xf6rv\xe4ntade ${i.origin??"v\xe4rdet"} att ha ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Ogiltig str\xe4ng: m\xe5ste b\xf6rja med "${i.prefix}"`;if("ends_with"===i.format)return`Ogiltig str\xe4ng: m\xe5ste sluta med "${i.suffix}"`;if("includes"===i.format)return`Ogiltig str\xe4ng: m\xe5ste inneh\xe5lla "${i.includes}"`;if("regex"===i.format)return`Ogiltig str\xe4ng: m\xe5ste matcha m\xf6nstret "${i.pattern}"`;return`Ogiltig(t) ${t[i.format]??i.format}`;case"not_multiple_of":return`Ogiltigt tal: m\xe5ste vara en multipel av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ok\xe4nda nycklar":"Ok\xe4nd nyckel"}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${i.origin??"v\xe4rdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xe4rde i ${i.origin??"v\xe4rdet"}`}})}}function G(){let e,t,n;return{localeError:(e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}},t={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்ப
31ு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${i.expected}, பெறப்பட்டது ${a}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${e}, பெறப்பட்டது ${a}`}case"invalid_value":if(1===i.values.length)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${r.stringifyPrimitive(i.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${r.joinValues(i.values,"|")} இல் ஒன்று`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${i.origin??"மதிப்பு"} ${t}${i.maximum.toString()} ${n.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${i.origin??"மதிப்பு"} ${t}${i.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${i.origin} ${t}${i.minimum.toString()} ${n.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${i.origin} ${t}${i.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":if("starts_with"===i.format)return`தவறான சரம்: "${i.prefix}" இல் தொடங்க வேண்டும்`;if("ends_with"===i.format)return`தவறான சரம்: "${i.suffix}" இல் முடிவடைய வேண்டும்`;if("includes"===i.format)return`தவறான சரம்: "${i.includes}" ஐ உள்ளடக்க வேண்டும்`;if("regex"===i.format)return`தவறான சரம்: ${i.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${t[i.format]??i.format}`;case"not_multiple_of":return`தவறான எண்: ${i.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${i.keys.length>1?"கள்":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} இல் தவறான விசை`;case"invalid_union":default:return"தவறான உள்ளீடு";case"invalid_element":return`${i.origin} இல் தவறான மதிப்பு`}})}}function H(){let e,t,n;return{localeError:(e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}},t={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},n={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"},i=>
31{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${i.expected} แต่ได้รับ ${a}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${e} แต่ได้รับ ${a}`}case"invalid_value":if(1===i.values.length)return`ค่าไม่ถูกต้อง: ควรเป็น ${r.stringifyPrimitive(i.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"ไม่เกิน":"น้อยกว่า",n=e[i.origin]??null;if(n)return`เกินกำหนด: ${i.origin??"ค่า"} ควรมี${t} ${i.maximum.toString()} ${n.unit??"รายการ"}`;return`เกินกำหนด: ${i.origin??"ค่า"} ควรมี${t} ${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?"อย่างน้อย":"มากกว่า",n=e[i.origin]??null;if(n)return`น้อยกว่ากำหนด: ${i.origin} ควรมี${t} ${i.minimum.toString()} ${n.unit}`;return`น้อยกว่ากำหนด: ${i.origin} ควรมี${t} ${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${i.prefix}"`;if("ends_with"===i.format)return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${i.suffix}"`;if("includes"===i.format)return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${i.includes}" อยู่ในข้อความ`;if("regex"===i.format)return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${i.pattern}`;return`รูปแบบไม่ถูกต้อง: ${t[i.format]??i.format}`;case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${i.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${i.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${i.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}})}}function J(){let e,t,n;return{localeError:(e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"\xf6ğe",verb:"olmalı"},set:{unit:"\xf6ğe",verb:"olmalı"}},t={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xfcre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Ge\xe7ersiz değer: beklenen instanceof ${i.expected}, alınan ${a}`;return`Ge\xe7ersiz değer: beklenen ${e}, alınan ${a}`}case"invalid_value":if(1===i.values.length)return`Ge\xe7ersiz değer: beklenen ${r.stringifyPrimitive(i.values[0])}`;return`Ge\xe7ersiz se\xe7enek: aşağıdakilerden biri olmalı: ${r.joinValues(i.values,"|")}`;
31case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`\xc7ok b\xfcy\xfck: beklenen ${i.origin??"değer"} ${t}${i.maximum.toString()} ${n.unit??"\xf6ğe"}`;return`\xc7ok b\xfcy\xfck: beklenen ${i.origin??"değer"} ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`\xc7ok k\xfc\xe7\xfck: beklenen ${i.origin} ${t}${i.minimum.toString()} ${n.unit}`;return`\xc7ok k\xfc\xe7\xfck: beklenen ${i.origin} ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Ge\xe7ersiz metin: "${i.prefix}" ile başlamalı`;if("ends_with"===i.format)return`Ge\xe7ersiz metin: "${i.suffix}" ile bitmeli`;if("includes"===i.format)return`Ge\xe7ersiz metin: "${i.includes}" i\xe7ermeli`;if("regex"===i.format)return`Ge\xe7ersiz metin: ${i.pattern} desenine uymalı`;return`Ge\xe7ersiz ${t[i.format]??i.format}`;case"not_multiple_of":return`Ge\xe7ersiz sayı: ${i.divisor} ile tam b\xf6l\xfcnebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${i.keys.length>1?"lar":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xe7inde ge\xe7ersiz anahtar`;case"invalid_union":default:return"Ge\xe7ersiz değer";case"invalid_element":return`${i.origin} i\xe7inde ge\xe7ersiz değer`}})}}function Y(){let e,t,n;return{localeError:(e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}},t={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},n={nan:"NaN",number:"число",array:"масив"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Неправильні вхідні дані: очікується instanceof ${i.expected}, отримано ${a}`;return`Неправильні вхідні дані: очікується ${e}, отримано ${a}`}case"invalid_value":if(1===i.values.length)return`Неправильні вхідні дані: очікується ${r.stringifyPrimitive(i.values[0])}`;return`Неправильна опція: очікується одне з ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Занадто велике: очікується, що ${i.origin??"значення"} ${n.verb} ${t}${i.maximum.toString()} ${n.unit??"елементів"}`;return`Занадто велике: очікується, що ${i.origin??"значення"} буде ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Занадто мале: очікується, що ${i.origin} ${n.verb} ${t}${i.minimum.toString()} ${n.unit}`;return`Занадто мале: очікується, що ${i.origin} буде ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Неправильний рядок: повинен починатися з "${i.prefix}"`;if("ends_with"===i.format)return`Неправильний рядок: повинен закінчуватися на "${i.suffix}"`;if("includes"===i.format)return`Неправильний рядок: повинен містити "${i.includes}"`;if("regex"===i.format)return`Неправильний рядок: повинен відповідати шаблону ${i.pattern}`;return`Неправильний ${t[i.format]??i.format}`;case"not_multiple_of":return`Неправильне число: повинно бути Ð
31ºÑ€Ð°Ñ‚ним ${i.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${i.keys.length>1?"і":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${i.origin}`;case"invalid_union":default:return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${i.origin}`}})}}function X(){return Y()}function Q(){let e,t,n;return{localeError:(e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}},t={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},n={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`غلط ان پٹ: instanceof ${i.expected} متوقع تھا، ${a} موصول ہوا`;return`غلط ان پٹ: ${e} متوقع تھا، ${a} موصول ہوا`}case"invalid_value":if(1===i.values.length)return`غلط ان پٹ: ${r.stringifyPrimitive(i.values[0])} متوقع تھا`;return`غلط آپشن: ${r.joinValues(i.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`بہت بڑا: ${i.origin??"ویلیو"} کے ${t}${i.maximum.toString()} ${n.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${i.origin??"ویلیو"} کا ${t}${i.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`بہت چھوٹا: ${i.origin} کے ${t}${i.minimum.toString()} ${n.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${i.origin} کا ${t}${i.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":if("starts_with"===i.format)return`غلط سٹرنگ: "${i.prefix}" سے شروع ہونا چاہیے`;if("ends_with"===i.format)return`غلط سٹرنگ: "${i.suffix}" پر ختم ہونا چاہیے`;if("includes"===i.format)return`غلط سٹرنگ: "${i.includes}" شامل ہونا چاہیے`;if("regex"===i.format)return`غلط سٹرنگ: پیٹرن ${i.pattern} سے میچ ہونا چاہیے`;return`غلط ${t[i.format]??i.format}`;case"not_multiple_of":return`غلط نمبر: ${i.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${i.keys.length>1?"ز":""}: ${r.joinValues(i.keys,"، ")}`;case"invalid_key":return`${i.origin} میں غلط کی`;case"invalid_union":default:return"غلط ان پٹ";case"invalid_element":return`${i.origin} میں غلط ویلیو`}})}}function ee(){let e,t,n;return{localeError:(e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"}},t={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"}
31,n={nan:"NaN",number:"raqam",array:"massiv"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${i.expected}, qabul qilingan ${a}`;return`Noto‘g‘ri kirish: kutilgan ${e}, qabul qilingan ${a}`}case"invalid_value":if(1===i.values.length)return`Noto‘g‘ri kirish: kutilgan ${r.stringifyPrimitive(i.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Juda katta: kutilgan ${i.origin??"qiymat"} ${t}${i.maximum.toString()} ${n.unit} ${n.verb}`;return`Juda katta: kutilgan ${i.origin??"qiymat"} ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Juda kichik: kutilgan ${i.origin} ${t}${i.minimum.toString()} ${n.unit} ${n.verb}`;return`Juda kichik: kutilgan ${i.origin} ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Noto‘g‘ri satr: "${i.prefix}" bilan boshlanishi kerak`;if("ends_with"===i.format)return`Noto‘g‘ri satr: "${i.suffix}" bilan tugashi kerak`;if("includes"===i.format)return`Noto‘g‘ri satr: "${i.includes}" ni o‘z ichiga olishi kerak`;if("regex"===i.format)return`Noto‘g‘ri satr: ${i.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${t[i.format]??i.format}`;case"not_multiple_of":return`Noto‘g‘ri raqam: ${i.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${i.keys.length>1?"lar":""}: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} dagi kalit noto‘g‘ri`;case"invalid_union":default:return"Noto‘g‘ri kirish";case"invalid_element":return`${i.origin} da noto‘g‘ri qiymat`}})}}function et(){let e,t,n;return{localeError:(e={string:{unit:"k\xfd tự",verb:"c\xf3"},file:{unit:"byte",verb:"c\xf3"},array:{unit:"phần tử",verb:"c\xf3"},set:{unit:"phần tử",verb:"c\xf3"}},t={regex:"đầu v\xe0o",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xe0y giờ ISO",date:"ng\xe0y ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi m\xe3 h\xf3a base64",base64url:"chuỗi m\xe3 h\xf3a base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu v\xe0o"},n={nan:"NaN",number:"số",array:"mảng"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`Đầu v\xe0o kh\xf4ng hợp lệ: mong đợi instanceof ${i.expected}, nhận được ${a}`;return`Đầu v\xe0o kh\xf4ng hợp lệ: mong đợi ${e}, nhận được ${a}`}case"invalid_value":if(1===i.values.length)return`Đầu v\xe0o kh\xf4ng hợp lệ: mong đợi ${r.stringifyPrimitive(i.values[0])}`;return`T\xf9y chọn kh\xf4ng hợp lệ: mong đợi một trong c\xe1c gi\xe1 trị ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`Qu\xe1 lớn: mong đợi ${i.origin??"gi\xe1 trị"} ${n.verb} ${t}${i.maximum.toString()} ${n.unit??"phần tử"}`;return`Qu\xe1 lớn: mong đợi ${i.origin??"gi\xe1 trị"} ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`Qu\xe1 nhỏ: mong đợi ${i.origin} ${n.verb} ${t}${i.minimum.toString()} ${n.unit}`;return`Qu\xe1 nhỏ: mong đợi ${i.origin} ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`Chuỗi kh\xf4ng hợp lệ: phải bắt đầu bằng "${i.prefix}"`;if("ends_with"===i.format)return`Chuỗi kh\xf4ng hợp lệ: phải kết th\xfac bằng "${i.suffix}"`;if("includes"===i.format)return`Chuỗi kh\xf4ng hợp lệ: phải bao gồm "${i.includes}"`;if("regex"===i.format)return`Chuỗi kh\xf4ng hợp lệ: phải khớp với mẫu ${i.pattern}`;return`${t[i.format]??i.format} kh\xf4ng hợp lệ`;case"not_multiple_of":return`Số kh\xf4ng hợp lệ: phải l\xe0 bội số của ${i.divisor}`;case"unrecognized_keys":return`Kh\xf3a kh\xf4ng được nhận dạng: ${r.j
31oinValues(i.keys,", ")}`;case"invalid_key":return`Kh\xf3a kh\xf4ng hợp lệ trong ${i.origin}`;case"invalid_union":default:return"Đầu v\xe0o kh\xf4ng hợp lệ";case"invalid_element":return`Gi\xe1 trị kh\xf4ng hợp lệ trong ${i.origin}`}})}}function en(){let e,t,n;return{localeError:(e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}},t={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},n={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`无效输入:期望 instanceof ${i.expected},实际接收 ${a}`;return`无效输入:期望 ${e},实际接收 ${a}`}case"invalid_value":if(1===i.values.length)return`无效输入:期望 ${r.stringifyPrimitive(i.values[0])}`;return`无效选项:期望以下之一 ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`数值过大:期望 ${i.origin??"值"} ${t}${i.maximum.toString()} ${n.unit??"个元素"}`;return`数值过大:期望 ${i.origin??"值"} ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`数值过小:期望 ${i.origin} ${t}${i.minimum.toString()} ${n.unit}`;return`数值过小:期望 ${i.origin} ${t}${i.minimum.toString()}`}case"invalid_format":if("starts_with"===i.format)return`无效字符串:必须以 "${i.prefix}" 开头`;if("ends_with"===i.format)return`无效字符串:必须以 "${i.suffix}" 结尾`;if("includes"===i.format)return`无效字符串:必须包含 "${i.includes}"`;if("regex"===i.format)return`无效字符串:必须满足正则表达式 ${i.pattern}`;return`无效${t[i.format]??i.format}`;case"not_multiple_of":return`无效数字:必须是 ${i.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} 中的键(key)无效`;case"invalid_union":default:return"无效输入";case"invalid_element":return`${i.origin} 中包含无效值(value)`}})}}function er(){let e,t,n;return{localeError:(e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}},t={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},n={nan:"NaN"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`無效的輸入值:預期為 instanceof ${i.expected},但收到 ${a}`;return`無效的輸入值:預期為 ${e},但收到 ${a}`}case"invalid_value":if(1===i.values.length)return`無效的輸入值:預期為 ${r.stringifyPrimitive(i.values[0])}`;return`無效的選項:預期為以下其中之一 ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`數值過大:預期 ${i.origin??"值"} 應為 ${t}${i.maximum.toString()} ${n.unit??"個元素"}`;return`數值過大:預期 ${i.origin??"值"} 應為 ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`數值過小:預期 ${i.origin} 應為 ${t}${i.minimum.toString()} ${n.unit}`;return`數值過小:預期 ${i.origin} 應為 ${t}${i.minimum.toString()}`}
31case"invalid_format":if("starts_with"===i.format)return`無效的字串:必須以 "${i.prefix}" 開頭`;if("ends_with"===i.format)return`無效的字串:必須以 "${i.suffix}" 結尾`;if("includes"===i.format)return`無效的字串:必須包含 "${i.includes}"`;if("regex"===i.format)return`無效的字串:必須符合格式 ${i.pattern}`;return`無效的 ${t[i.format]??i.format}`;case"not_multiple_of":return`無效的數字:必須為 ${i.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${i.keys.length>1?"們":""}:${r.joinValues(i.keys,"、")}`;case"invalid_key":return`${i.origin} 中有無效的鍵值`;case"invalid_union":default:return"無效的輸入值";case"invalid_element":return`${i.origin} 中有無效的值`}})}}function ei(){let e,t,n;return{localeError:(e={string:{unit:"\xe0mi",verb:"n\xed"},file:{unit:"bytes",verb:"n\xed"},array:{unit:"nkan",verb:"n\xed"},set:{unit:"nkan",verb:"n\xed"}},t={regex:"ẹ̀rọ \xecb\xe1wọl\xe9",email:"\xe0d\xedrẹ́s\xec \xecmẹ́l\xec",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xe0k\xf3k\xf2 ISO",date:"ọjọ́ ISO",time:"\xe0k\xf3k\xf2 ISO",duration:"\xe0k\xf3k\xf2 t\xf3 p\xe9 ISO",ipv4:"\xe0d\xedrẹ́s\xec IPv4",ipv6:"\xe0d\xedrẹ́s\xec IPv6",cidrv4:"\xe0gb\xe8gb\xe8 IPv4",cidrv6:"\xe0gb\xe8gb\xe8 IPv6",base64:"ọ̀rọ̀ t\xed a kọ́ n\xed base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mb\xe0 E.164",jwt:"JWT",template_literal:"ẹ̀rọ \xecb\xe1wọl\xe9"},n={nan:"NaN",number:"nọ́mb\xe0",array:"akopọ"},i=>{switch(i.code){case"invalid_type":{let e=n[i.expected]??i.expected,t=r.parsedType(i.input),a=n[t]??t;if(/^[A-Z]/.test(i.expected))return`\xccb\xe1wọl\xe9 aṣ\xecṣe: a n\xed l\xe1ti fi instanceof ${i.expected}, \xe0mọ̀ a r\xed ${a}`;return`\xccb\xe1wọl\xe9 aṣ\xecṣe: a n\xed l\xe1ti fi ${e}, \xe0mọ̀ a r\xed ${a}`}case"invalid_value":if(1===i.values.length)return`\xccb\xe1wọl\xe9 aṣ\xecṣe: a n\xed l\xe1ti fi ${r.stringifyPrimitive(i.values[0])}`;return`\xc0ṣ\xe0y\xe0n aṣ\xecṣe: yan ọ̀kan l\xe1ra ${r.joinValues(i.values,"|")}`;case"too_big":{let t=i.inclusive?"<=":"<",n=e[i.origin]??null;if(n)return`T\xf3 pọ̀ j\xf9: a n\xed l\xe1ti jẹ́ p\xe9 ${i.origin??"iye"} ${n.verb} ${t}${i.maximum} ${n.unit}`;return`T\xf3 pọ̀ j\xf9: a n\xed l\xe1ti jẹ́ ${t}${i.maximum}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n)return`K\xe9r\xe9 ju: a n\xed l\xe1ti jẹ́ p\xe9 ${i.origin} ${n.verb} ${t}${i.minimum} ${n.unit}`;return`K\xe9r\xe9 ju: a n\xed l\xe1ti jẹ́ ${t}${i.minimum}`}case"invalid_format":if("starts_with"===i.format)return`Ọ̀rọ̀ aṣ\xecṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀l\xfa "${i.prefix}"`;if("ends_with"===i.format)return`Ọ̀rọ̀ aṣ\xecṣe: gbọ́dọ̀ par\xed pẹ̀l\xfa "${i.suffix}"`;if("includes"===i.format)return`Ọ̀rọ̀ aṣ\xecṣe: gbọ́dọ̀ n\xed "${i.includes}"`;if("regex"===i.format)return`Ọ̀rọ̀ aṣ\xecṣe: gbọ́dọ̀ b\xe1 \xe0pẹẹrẹ mu ${i.pattern}`;return`Aṣ\xecṣe: ${t[i.format]??i.format}`;case"not_multiple_of":return`Nọ́mb\xe0 aṣ\xecṣe: gbọ́dọ̀ jẹ́ \xe8y\xe0 p\xedp\xedn ti ${i.divisor}`;case"unrecognized_keys":return`Bọt\xecn\xec \xe0\xecmọ̀: ${r.joinValues(i.keys,", ")}`;case"invalid_key":return`Bọt\xecn\xec aṣ\xecṣe n\xedn\xfa ${i.origin}`;case"invalid_union":default:return"\xccb\xe1wọl\xe9 aṣ\xecṣe";case"invalid_element":return`Iye aṣ\xecṣe n\xedn\xfa ${i.origin}`}})}}},70566:(e,t,n)=>{"use strict";n.d(t,{$X:()=>U,$k:()=>V,A:()=>M,A6:()=>E,BU:()=>f,C0:()=>y,CN:()=>O,CX:()=>B,Cv:()=>w,Df:()=>K,Ec:()=>R,Fl:()=>v,GC:()=>A,H1:()=>S,In:()=>c,Kj:()=>x,NV:()=>g,NX:()=>m,Q9:()=>L,RH:()=>h,SW:()=>o,Tr:()=>Z,Wg:()=>s,Y8:()=>u,Yv:()=>b,aw:()=>k,bl:()=>q,bq:()=>$,cR:()=>z,cY:()=>I,dO:()=>l,fg:()=>d,fs:()=>F,iC:()=>T,i_:()=>P,jq:()=>C,mh:()=>N,vn:()=>p,xi:()=>_,yq:()=>j,zH:()=>D});var r=n(92108),i=n(95778);let a={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},o=(e,t,n,r)=>{n.type="string";let{minimum:i,maximum:o,format:s,patterns:l,contentEncoding:u}=e._zod.bag;if("number"==typeof i&&(n.minLength=i),"number"==typeof o&&(n.maxLength=o),s&&(n.format=a[s]??s,""===n.format&&delete n.format,"time"===s&&delete n.format),u&&(n.contentEncoding=u),l&&l.size>0){let e=[...l];1===e.length?n.pattern=e[0].source:e.length>1&&(n.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},s=(e,t,n,r)=>{let{minimum:i,maximum:a,format:o,multipleOf:s,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;"string"==typeof o&&o.includes("int")?n.type="integer":n.type="number","number"==typeof u&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.minimum=u,n.exclusiveMinimum=!0):n.exclusiveMinimum=u),"number"==typeof i&&(n.minimum=i,"number"==typeof u&&"draft-04"!==t.target&&(u>=i?delete n.minimum:delete n.exclusiveMinimum)),"number"==typeof l&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.maximum=l,n.exclusiveMaximum=!0):n.exclusiveMaximum=l),"number"==typeof a&&(n.maximum=a,"number"==typeof l&&"draft-04"!==t.target&&(l<=a?delete n.maximum:delete n.exclusiveMaximum)),"number"==typeof s&&(n.multipleOf=s)},l=(e,t,n,r)=>{n.type="boolean"},u=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema")},d=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema")},c=(e,t,n,r)=>{"openapi-3.0"===t.target?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},f=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema")},p=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Void cannot be represented in JSON Schema")},h=(e,t,n,r)=>{n.not={}},m=(e,t,n,r)=>{},g=(e,t,n,r)=>{},v=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")},y=(e,t,n,r)=>{let a=e._zod.def,o=(0,i.getEnumValues)(a.entries);o.every(e=>"number"==typeof e)&&(n.type="number"),o.every(e=>"string"==typeof e)&&(n.type="string"),n.enum=o},b=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e)if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");else a.push(Number(e));else a.push(e);if(0===a.length);else if(1===a.length){let e=a[0];
31n.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?n.enum=[e]:n.const=e}else a.every(e=>"number"==typeof e)&&(n.type="number"),a.every(e=>"string"==typeof e)&&(n.type="string"),a.every(e=>"boolean"==typeof e)&&(n.type="boolean"),a.every(e=>null===e)&&(n.type="null"),n.enum=a},x=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},w=(e,t,n,r)=>{let i=e._zod.pattern;if(!i)throw Error("Pattern not found in template literal");n.type="string",n.pattern=i.source},S=(e,t,n,r)=>{let i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:o,mime:s}=e._zod.bag;void 0!==a&&(i.minLength=a),void 0!==o&&(i.maxLength=o),s?1===s.length?(i.contentMediaType=s[0],Object.assign(n,i)):(Object.assign(n,i),n.anyOf=s.map(e=>({contentMediaType:e}))):Object.assign(n,i)},k=(e,t,n,r)=>{n.type="boolean"},E=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},$=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Function types cannot be represented in JSON Schema")},_=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},C=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},D=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Set cannot be represented in JSON Schema")},I=(e,t,n,i)=>{let a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;"number"==typeof o&&(n.minItems=o),"number"==typeof s&&(n.maxItems=s),n.type="array",n.items=(0,r.eh)(a.element,t,{...i,path:[...i.path,"items"]})},R=(e,t,n,i)=>{let a=e._zod.def;n.type="object",n.properties={};let o=a.shape;for(let e in o)n.properties[e]=(0,r.eh)(o[e],t,{...i,path:[...i.path,"properties",e]});let s=new Set([...new Set(Object.keys(o))].filter(e=>{let n=a.shape[e]._zod;return"input"===t.io?void 0===n.optin:void 0===n.optout}));s.size>0&&(n.required=Array.from(s)),a.catchall?._zod.def.type==="never"?n.additionalProperties=!1:a.catchall?a.catchall&&(n.additionalProperties=(0,r.eh)(a.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):"output"===t.io&&(n.additionalProperties=!1)},T=(e,t,n,i)=>{let a=e._zod.def,o=!1===a.inclusive,s=a.options.map((e,n)=>(0,r.eh)(e,t,{...i,path:[...i.path,o?"oneOf":"anyOf",n]}));o?n.oneOf=s:n.anyOf=s},P=(e,t,n,i)=>{let a=e._zod.def,o=(0,r.eh)(a.left,t,{...i,path:[...i.path,"allOf",0]}),s=(0,r.eh)(a.right,t,{...i,path:[...i.path,"allOf",1]}),l=e=>"allOf"in e&&1===Object.keys(e).length;n.allOf=[...l(o)?o.allOf:[o],...l(s)?s.allOf:[s]]},O=(e,t,n,i)=>{let a=e._zod.def;n.type="array";let o="draft-2020-12"===t.target?"prefixItems":"items",s="draft-2020-12"===t.target||"openapi-3.0"===t.target?"items":"additionalItems",l=a.items.map((e,n)=>(0,r.eh)(e,t,{...i,path:[...i.path,o,n]})),u=a.rest?(0,r.eh)(a.rest,t,{...i,path:[...i.path,s,..."openapi-3.0"===t.target?[a.items.length]:[]]}):null;"draft-2020-12"===t.target?(n.prefixItems=l,u&&(n.items=u)):"openapi-3.0"===t.target?(n.items={anyOf:l},u&&n.items.anyOf.push(u),n.minItems=l.length,u||(n.maxItems=l.length)):(n.items=l,u&&(n.additionalItems=u));let{minimum:d,maximum:c}=e._zod.bag;"number"==typeof d&&(n.minItems=d),"number"==typeof c&&(n.maxItems=c)},A=(e,t,n,i)=>{let a=e._zod.def;n.type="object";let o=a.keyType,s=o._zod.bag,l=s?.patterns;if("loose"===a.mode&&l&&l.size>0){let e=(0,r.eh)(a.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});for(let t of(n.patternProperties={},l))n.patternProperties[t.source]=e}else("draft-07"===t.target||"draft-2020-12"===t.target)&&(n.propertyNames=(0,r.eh)(a.keyType,t,{...i,path:[...i.path,"propertyNames"]})),n.additionalProperties=(0,r.eh)(a.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let u=o._zod.values;if(u){let e=[...u].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(n.required=e)}},j=(e,t,n,i)=>{let a=e._zod.def,o=(0,r.eh)(a.innerType,t,i),s=t.seen.get(e);"openapi-3.0"===t.target?(s.ref=a.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},z=(e,t,n,i)=>{let a=e._zod.def;(0,r.eh)(a.innerType,t,i),t.seen.get(e).ref=a.innerType},N=(e,t,n,i)=>{let a=e._zod.def;(0,r.eh)(a.innerType,t,i),t.seen.get(e).ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},M=(e,t,n,i)=>{let a=e._zod.def;
31(0,r.eh)(a.innerType,t,i),t.seen.get(e).ref=a.innerType,"input"===t.io&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},L=(e,t,n,i)=>{let a,o=e._zod.def;(0,r.eh)(o.innerType,t,i),t.seen.get(e).ref=o.innerType;try{a=o.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},F=(e,t,n,i)=>{let a=e._zod.def,o="input"===t.io?"transform"===a.in._zod.def.type?a.out:a.in:a.out;(0,r.eh)(o,t,i),t.seen.get(e).ref=o},U=(e,t,n,i)=>{let a=e._zod.def;(0,r.eh)(a.innerType,t,i),t.seen.get(e).ref=a.innerType,n.readOnly=!0},B=(e,t,n,i)=>{let a=e._zod.def;(0,r.eh)(a.innerType,t,i),t.seen.get(e).ref=a.innerType},V=(e,t,n,i)=>{let a=e._zod.def;(0,r.eh)(a.innerType,t,i),t.seen.get(e).ref=a.innerType},Z=(e,t,n,i)=>{let a=e._zod.innerType;(0,r.eh)(a,t,i),t.seen.get(e).ref=a},K={string:o,number:s,boolean:l,bigint:u,symbol:d,null:c,undefined:f,void:p,never:h,any:m,unknown:g,date:v,enum:y,literal:b,nan:x,template_literal:w,file:S,success:k,custom:E,function:$,transform:_,map:C,set:D,array:I,object:R,union:T,intersection:P,tuple:O,record:A,nullable:j,nonoptional:z,default:N,prefault:M,catch:L,pipe:F,readonly:U,promise:B,optional:V,lazy:Z};function q(e,t){if("_idmap"in e){let n=(0,r.az)({...t,processors:K}),i={};
31for(let t of e._idmap.entries()){let[e,i]=t;(0,r.eh)(i,n)}let a={};for(let o of(n.external={registry:e,uri:t?.uri,defs:i},e._idmap.entries())){let[e,t]=o;(0,r.Wb)(n,t),a[e]=(0,r.jE)(n,t)}return Object.keys(i).length>0&&(a.__shared={["draft-2020-12"===n.target?"$defs":"definitions"]:i}),{schemas:a}}let n=(0,r.az)({...t,processors:K});return(0,r.eh)(e,n),(0,r.Wb)(n,e),(0,r.jE)(n,e)}},70878:(e,t,n)=>{"use strict";function r(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}n.d(t,{o:()=>r})},71289:(e,t,n)=>{"use strict";e.exports=n(8788)},71987:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(12307);function i(e,...t){let n=r.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}},72821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{$ZodAny:()=>t0,$ZodArray:()=>t9,$ZodAsyncError:()=>l,$ZodBase64:()=>tL,$ZodBase64URL:()=>tU,$ZodBigInt:()=>tH,$ZodBigIntFormat:()=>tJ,$ZodBoolean:()=>tG,$ZodCIDRv4:()=>tz,$ZodCIDRv6:()=>tN,$ZodCUID:()=>tE,$ZodCUID2:()=>t$,$ZodCatch:()=>nR,$ZodCheck:()=>eQ,$ZodCheckBigIntFormat:()=>e2,$ZodCheckEndsWith:()=>tl,$ZodCheckGreaterThan:()=>e4,$ZodCheckIncludes:()=>to,$ZodCheckLengthEquals:()=>tt,$ZodCheckLessThan:()=>e1,$ZodCheckLowerCase:()=>ti,$ZodCheckMaxLength:()=>e8,$ZodCheckMaxSize:()=>e9,$ZodCheckMimeType:()=>tc,$ZodCheckMinLength:()=>te,$ZodCheckMinSize:()=>e5,$ZodCheckMultipleOf:()=>e3,$ZodCheckNumberFormat:()=>e6,$ZodCheckOverwrite:()=>tf,$ZodCheckProperty:()=>td,$ZodCheckRegex:()=>tr,$ZodCheckSizeEquals:()=>e7,$ZodCheckStartsWith:()=>ts,$ZodCheckStringFormat:()=>tn,$ZodCheckUpperCase:()=>ta,$ZodCodec:()=>nA,$ZodCustom:()=>nV,$ZodCustomStringFormat:()=>tK,$ZodDate:()=>t6,$ZodDefault:()=>nE,$ZodDiscriminatedUnion:()=>no,$ZodE164:()=>tB,$ZodEmail:()=>tx,$ZodEmoji:()=>tS,$ZodEncodeError:()=>u,$ZodEnum:()=>ng,$ZodError:()=>h,$ZodExactOptional:()=>nS,$ZodFile:()=>ny,$ZodFunction:()=>nF,$ZodGUID:()=>ty,$ZodIPv4:()=>tO,$ZodIPv6:()=>tA,$ZodISODate:()=>tR,$ZodISODateTime:()=>tI,$ZodISODuration:()=>tP,$ZodISOTime:()=>tT,$ZodIntersection:()=>ns,$ZodJWT:()=>tZ,$ZodKSUID:()=>tD,$ZodLazy:()=>nB,$ZodLiteral:()=>nv,$ZodMAC:()=>tj,$ZodMap:()=>nf,$ZodNaN:()=>nT,$ZodNanoID:()=>tk,$ZodNever:()=>t4,$ZodNonOptional:()=>nC,$ZodNull:()=>tQ,$ZodNullable:()=>nk,$ZodNumber:()=>tq,$ZodNumberFormat:()=>tW,$ZodObject:()=>ne,$ZodObjectJIT:()=>nt,$ZodOptional:()=>nw,$ZodPipe:()=>nP,$ZodPrefault:()=>n_,$ZodPromise:()=>nU,$ZodReadonly:()=>nN,$ZodRealError:()=>m,$ZodRecord:()=>nc,$ZodRegistry:()=>nq.rs,$ZodSet:()=>nh,$ZodString:()=>tg,$ZodStringFormat:()=>tv,$ZodSuccess:()=>nI,$ZodSymbol:()=>tY,$ZodTemplateLiteral:()=>nL,$ZodTransform:()=>nb,$ZodTuple:()=>nu,$ZodType:()=>tm,$ZodULID:()=>t_,$ZodURL:()=>tw,$ZodUUID:()=>tb,$ZodUndefined:()=>tX,$ZodUnion:()=>nr,$ZodUnknown:()=>t1,$ZodVoid:()=>t3,$ZodXID:()=>tC,$ZodXor:()=>na,$brand:()=>s,$constructor:()=>o,$input:()=>nq.nP,$output:()=>nq.UY,Doc:()=>tp,JSONSchema:()=>i,JSONSchemaGenerator:()=>iM,NEVER:()=>a,TimePrecision:()=>rl,_any:()=>rI,_array:()=>it,_base64:()=>ri,_base64url:()=>ra,_bigint:()=>rS,_boolean:()=>rx,_catch:()=>iS,_check:()=>iT,_cidrv4:()=>rn,_cidrv6:()=>rr,_coercedBigint:()=>rk,_coercedBoolean:()=>rw,_coercedDate:()=>rA,_coercedNumber:()=>rh,_coercedString:()=>nG,_cuid:()=>n6,_cuid2:()=>n2,_custom:()=>iD,_date:()=>rO,_decode:()=>T,_decodeAsync:()=>j,_default:()=>ib,_discriminatedUnion:()=>ia,_e164:()=>ro,_email:()=>nH,_emoji:()=>n4,_encode:()=>I,_encodeAsync:()=>O,_endsWith:()=>r4,_enum:()=>ic,_file:()=>im,_float32:()=>rg,_float64:()=>rv,_gt:()=>rM,_gte:()=>rL,_guid:()=>nJ,_includes:()=>r0,_int:()=>rm,_int32:()=>ry,_int64:()=>rE,_intersection:()=>io,_ipv4:()=>n8,_ipv6:()=>re,_isoDate:()=>rd,_isoDateTime:()=>ru,_isoDuration:()=>rf,_isoTime:()=>rc,_jwt:()=>rs,_ksuid:()=>n7,_lazy:()=>i_,_length:()=>rJ,_literal:()=>ih,_lowercase:()=>rX,_lt:()=>rz,_lte:()=>rN,_mac:()=>rt,_map:()=>iu,_max:()=>rN,_maxLength:()=>rG,_maxSize:()=>rK,_mime:()=>r6,_min:()=>rL,_minLength:()=>rH,_minSize:()=>rq,_multipleOf:()=>rZ,_nan:()=>rj,_nanoid:()=>n3,_nativeEnum:()=>ip,_negative:()=>rU,_never:()=>rT,_nonnegative:()=>rV,_nonoptional:()=>ix,_nonpositive:()=>rB,_normalize:()=>r9,_null:()=>rD,_nullable:()=>iy,_number:()=>rp,_optional:()=>iv,_overwrite:()=>r2,_parse:()=>w,_parseAsync:()=>k,_pipe:()=>ik,_positive:()=>rF,_promise:()=>iC,_property:()=>r3,_readonly:()=>iE,_record:()=>il,_refine:()=>iI,_regex:()=>rY,_safeDecode:()=>L,_safeDecodeAsync:()=>V,_safeEncode:()=>N,_safeEncodeAsync:()=>U,_safeParse:()=>$,_safeParseAsync:()=>
31C,_set:()=>id,_size:()=>rW,_slugify:()=>ie,_startsWith:()=>r1,_string:()=>nW,_stringFormat:()=>ij,_stringbool:()=>iA,_success:()=>iw,_superRefine:()=>iR,_symbol:()=>r_,_templateLiteral:()=>i$,_toLowerCase:()=>r7,_toUpperCase:()=>r8,_transform:()=>ig,_trim:()=>r5,_tuple:()=>is,_uint32:()=>rb,_uint64:()=>r$,_ulid:()=>n9,_undefined:()=>rC,_union:()=>ir,_unknown:()=>rR,_uppercase:()=>rQ,_url:()=>n1,_uuid:()=>nY,_uuidv4:()=>nX,_uuidv6:()=>nQ,_uuidv7:()=>n0,_void:()=>rP,_xid:()=>n5,_xor:()=>ii,clone:()=>f.clone,config:()=>c,createStandardJSONSchemaMethod:()=>iz.uE,createToJSONSchemaMethod:()=>iz.OA,decode:()=>P,decodeAsync:()=>z,describe:()=>iP,encode:()=>R,encodeAsync:()=>A,extractDefs:()=>iz.Wb,finalize:()=>iz.jE,flattenError:()=>g,formatError:()=>v,globalConfig:()=>d,globalRegistry:()=>nq.fd,initializeContext:()=>iz.az,isValidBase64:()=>tM,isValidBase64URL:()=>tF,isValidJWT:()=>tV,locales:()=>nK,meta:()=>iO,parse:()=>S,parseAsync:()=>E,prettifyError:()=>x,process:()=>iz.eh,regexes:()=>r,registry:()=>nq.u5,safeDecode:()=>F,safeDecodeAsync:()=>Z,safeEncode:()=>M,safeEncodeAsync:()=>B,safeParse:()=>_,safeParseAsync:()=>D,toDotPath:()=>b,toJSONSchema:()=>iN.bl,treeifyError:()=>y,util:()=>f,version:()=>th});var r={};n.r(r),n.d(r,{base64:()=>eg,base64url:()=>ev,bigint:()=>eC,boolean:()=>eR,browserEmail:()=>eu,cidrv4:()=>eh,cidrv6:()=>em,cuid:()=>K,cuid2:()=>q,date:()=>eS,datetime:()=>e$,domain:()=>eb,duration:()=>Y,e164:()=>ex,email:()=>ei,emoji:()=>ed,extendedDuration:()=>X,guid:()=>Q,hex:()=>ej,hostname:()=>ey,html5Email:()=>ea,idnEmail:()=>el,integer:()=>eD,ipv4:()=>ec,ipv6:()=>ef,ksuid:()=>H,lowercase:()=>eO,mac:()=>ep,md5_base64:()=>eL,md5_base64url:()=>eF,md5_hex:()=>eM,nanoid:()=>J,null:()=>eT,number:()=>eI,rfc5322Email:()=>eo,sha1_base64:()=>eB,sha1_base64url:()=>eV,sha1_hex:()=>eU,sha256_base64:()=>eK,sha256_base64url:()=>eq,sha256_hex:()=>eZ,sha384_base64:()=>eG,sha384_base64url:()=>eH,sha384_hex:()=>eW,sha512_base64:()=>eY,sha512_base64url:()=>eX,sha512_hex:()=>eJ,string:()=>e_,time:()=>eE,ulid:()=>W,undefined:()=>eP,unicodeEmail:()=>es,uppercase:()=>eA,uuid:()=>ee,uuid4:()=>et,uuid6:()=>en,uuid7:()=>er,xid:()=>G});var i={};n.r(i);let a=Object.freeze({status:"aborted"});function o(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}function o(e){var t;let i=n?.Parent?new a:this;for(let n of(r(i,e),(t=i._zod).deferred??(t.deferred=[]),i._zod.deferred))n();return i}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!n?.Parent&&t instanceof n.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}let s=Symbol("zod_brand");class l extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class u extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}let d={};function c(e){return e&&Object.assign(d,e),d}var f=n(95778);let p=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,f.jsonStringifyReplacer,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},h=o("$ZodError",p),m=o("$ZodError",p,{Parent:Error});function g(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function v(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code&&i.errors.length)i.errors.map(e=>r({issues:e}));else if("invalid_key"===i.code)r({issues:i.issues});else if("invalid_element"===i.code)r({issues:i.issues});else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}function y(e,t=e=>e.message){let n={errors:[]},r=(e,i=[])=>{var a,o;
31for(let s of e.issues)if("invalid_union"===s.code&&s.errors.length)s.errors.map(e=>r({issues:e},s.path));else if("invalid_key"===s.code)r({issues:s.issues},s.path);else if("invalid_element"===s.code)r({issues:s.issues},s.path);else{let e=[...i,...s.path];if(0===e.length){n.errors.push(t(s));continue}let r=n,l=0;for(;l<e.length;){let n=e[l],i=l===e.length-1;"string"==typeof n?(r.properties??(r.properties={}),(a=r.properties)[n]??(a[n]={errors:[]}),r=r.properties[n]):(r.items??(r.items=[]),(o=r.items)[n]??(o[n]={errors:[]}),r=r.items[n]),i&&r.errors.push(t(s)),l++}}};return r(e),n}function b(e){let t=[];for(let n of e.map(e=>"object"==typeof e?e.key:e))"number"==typeof n?t.push(`[${n}]`):"symbol"==typeof n?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function x(e){let t=[];for(let n of[...e.issues].sort((e,t)=>(e.path??[]).length-(t.path??[]).length))t.push(`✖ ${n.message}`),n.path?.length&&t.push(`  → at ${b(n.path)}`);return t.join("\n")}let w=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new l;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>f.finalizeIssue(e,a,c())));throw f.captureStackTrace(t,i?.callee),t}return o.value},S=w(m),k=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>f.finalizeIssue(e,a,c())));throw f.captureStackTrace(t,i?.callee),t}return o.value},E=k(m),$=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new l;return a.issues.length?{success:!1,error:new(e??h)(a.issues.map(e=>f.finalizeIssue(e,i,c())))}:{success:!0,data:a.value}},_=$(m),C=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>f.finalizeIssue(e,i,c())))}:{success:!0,data:a.value}},D=C(m),I=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return w(e)(t,n,i)},R=I(m),T=e=>(t,n,r)=>w(e)(t,n,r),P=T(m),O=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return k(e)(t,n,i)},A=O(m),j=e=>async(t,n,r)=>k(e)(t,n,r),z=j(m),N=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return $(e)(t,n,i)},M=N(m),L=e=>(t,n,r)=>$(e)(t,n,r),F=L(m),U=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return C(e)(t,n,i)},B=U(m),V=e=>async(t,n,r)=>C(e)(t,n,r),Z=V(m),K=/^[cC][^\s-]{8,}$/,q=/^[0-9a-z]+$/,W=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,G=/^[0-9a-vA-V]{20}$/,H=/^[A-Za-z0-9]{27}$/,J=/^[a-zA-Z0-9_-]{21}$/,Y=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,X=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Q=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ee=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,et=ee(4),en=ee(6),er=ee(7),ei=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ea=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,eo=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,es=/^[^\s@"]{1,64}
31@[^\s@]{1,255}$/u,el=es,eu=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function ed(){return RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}let ec=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ef=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,ep=e=>{let t=f.escapeRegex(e??":");return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},eh=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,em=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,eg=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ev=/^[A-Za-z0-9_-]*$/,ey=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,eb=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,ex=/^\+[1-9]\d{6,14}$/,ew="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",eS=RegExp(`^${ew}$`);function ek(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function eE(e){return RegExp(`^${ek(e)}$`)}function e$(e){let t=ek({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${t}(?:${n.join("|")})`;return RegExp(`^${ew}T(?:${r})$`)}let e_=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},eC=/^-?\d+n?$/,eD=/^-?\d+$/,eI=/^-?\d+(?:\.\d+)?$/,eR=/^(?:true|false)$/i,eT=/^null$/i,eP=/^undefined$/i,eO=/^[^A-Z]*$/,eA=/^[^a-z]*$/,ej=/^[0-9a-fA-F]*$/;function ez(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function eN(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}let eM=/^[0-9a-fA-F]{32}$/,eL=ez(22,"=="),eF=eN(22),eU=/^[0-9a-fA-F]{40}$/,eB=ez(27,"="),eV=eN(27),eZ=/^[0-9a-fA-F]{64}$/,eK=ez(43,"="),eq=eN(43),eW=/^[0-9a-fA-F]{96}$/,eG=ez(64,""),eH=eN(64),eJ=/^[0-9a-fA-F]{128}$/,eY=ez(86,"=="),eX=eN(86),eQ=o("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),e0={number:"number",bigint:"bigint",object:"date"},e1=o("$ZodCheckLessThan",(e,t)=>{eQ.init(e,t);let n=e0[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),e4=o("$ZodCheckGreaterThan",(e,t)=>{eQ.init(e,t);let n=e0[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),e3=o("$ZodCheckMultipleOf",(e,t)=>{eQ.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===f.floatSafeRemainder(n.value,t.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),e6=o("$ZodCheckNumberFormat",(e,t)=>{eQ.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[i,a]=f.NUMBER_FORMAT_RANGES[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=eD)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s))return void o.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>
310?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}))}s<i&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),e2=o("$ZodCheckBigIntFormat",(e,t)=>{eQ.init(e,t);let[n,r]=f.BIGINT_FORMAT_RANGES[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=n,i.maximum=r}),e._zod.check=i=>{let a=i.value;a<n&&i.issues.push({origin:"bigint",input:a,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),a>r&&i.issues.push({origin:"bigint",input:a,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),e9=o("$ZodCheckMaxSize",(e,t)=>{var n;eQ.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!f.nullish(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:f.getSizableOrigin(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),e5=o("$ZodCheckMinSize",(e,t)=>{var n;eQ.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!f.nullish(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:f.getSizableOrigin(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),e7=o("$ZodCheckSizeEquals",(e,t)=>{var n;eQ.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!f.nullish(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,i=r.size;if(i===t.size)return;let a=i>t.size;n.issues.push({origin:f.getSizableOrigin(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),e8=o("$ZodCheckMaxLength",(e,t)=>{var n;eQ.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!f.nullish(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=f.getLengthableOrigin(r);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),te=o("$ZodCheckMinLength",(e,t)=>{var n;eQ.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!f.nullish(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=f.getLengthableOrigin(r);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tt=o("$ZodCheckLengthEquals",(e,t)=>{var n;eQ.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!f.nullish(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=f.getLengthableOrigin(r),o=i>t.length;n.issues.push({origin:a,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),tn=o("$ZodCheckStringFormat",(e,t)=>{var n,r;eQ.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),tr=o("$ZodCheckRegex",(e,t)=>{tn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),ti=o("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=eO),tn.init(e,t)}),ta=o("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=eA),tn.init(e,t)}),to=o("$ZodCheckIncludes",(e,t)=>{eQ.init(e,t);let n=f.escapeRegex(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=n=>
31{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),ts=o("$ZodCheckStartsWith",(e,t)=>{eQ.init(e,t);let n=RegExp(`^${f.escapeRegex(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),tl=o("$ZodCheckEndsWith",(e,t)=>{eQ.init(e,t);let n=RegExp(`.*${f.escapeRegex(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function tu(e,t,n){e.issues.length&&t.issues.push(...f.prefixIssues(n,e.issues))}let td=o("$ZodCheckProperty",(e,t)=>{eQ.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>tu(n,e,t.property));tu(n,e,t.property)}}),tc=o("$ZodCheckMimeType",(e,t)=>{eQ.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:"invalid_value",values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),tf=o("$ZodCheckOverwrite",(e,t)=>{eQ.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class tp{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(n)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>`  ${e}`)].join("\n"))}}let th={major:4,minor:3,patch:6},tm=o("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=th;let r=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&r.unshift(e),r))for(let n of t._zod.onattach)n(e);if(0===r.length)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r,i=f.aborted(e);for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(i)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new l;if(r||o instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(i||(i=f.aborted(e,t)))});else{if(e.issues.length===t)continue;i||(i=f.aborted(e,t))}}return r?r.then(()=>e):e},n=(n,i,a)=>{if(f.aborted(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(!1===a.async)throw new l;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>
31{if(a.skipChecks)return e._zod.parse(i,a);if("backward"===a.direction){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(!1===a.async)throw new l;return o.then(e=>t(e,r,a))}return t(o,r,a)}}f.defineLazy(e,"~standard",()=>({validate:t=>{try{let n=_(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch(n){return D(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),tg=o("$ZodString",(e,t)=>{tm.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??e_(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch(e){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),tv=o("$ZodStringFormat",(e,t)=>{tn.init(e,t),tg.init(e,t)}),ty=o("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Q),tv.init(e,t)}),tb=o("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=ee(e))}else t.pattern??(t.pattern=ee());tv.init(e,t)}),tx=o("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=ei),tv.init(e,t)}),tw=o("$ZodURL",(e,t)=>{tv.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch(r){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),tS=o("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ed()),tv.init(e,t)}),tk=o("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=J),tv.init(e,t)}),tE=o("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=K),tv.init(e,t)}),t$=o("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=q),tv.init(e,t)}),t_=o("$ZodULID",(e,t)=>{t.pattern??(t.pattern=W),tv.init(e,t)}),tC=o("$ZodXID",(e,t)=>{t.pattern??(t.pattern=G),tv.init(e,t)}),tD=o("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=H),tv.init(e,t)}),tI=o("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=e$(t)),tv.init(e,t)}),tR=o("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=eS),tv.init(e,t)}),tT=o("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=eE(t)),tv.init(e,t)}),tP=o("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Y),tv.init(e,t)}),tO=o("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=ec),tv.init(e,t),e._zod.bag.format="ipv4"}),tA=o("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=ef),tv.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),tj=o("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=ep(t.delimiter)),tv.init(e,t),e._zod.bag.format="mac"}),tz=o("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=eh),tv.init(e,t)}),tN=o("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=em),tv.init(e,t),e._zod.check=n=>{let r=n.value.split("/");try{if(2!==r.length)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function tM(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let tL=o("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=eg),tv.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{tM(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function tF(e){if(!ev.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return tM(t.padEnd(4*Math.ceil(t.length/4),"="))}let tU=o("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=ev),tv.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{tF(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),tB=o("$ZodE164",(e,t)=>{t.pattern??(t.pattern=ex),tv.init(e,t)});function tV(e,t=null){try{let n=e.split(".");if(3!==n.length)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));
31if("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))return!1;return!0}catch{return!1}}let tZ=o("$ZodJWT",(e,t)=>{tv.init(e,t),e._zod.check=n=>{tV(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),tK=o("$ZodCustomStringFormat",(e,t)=>{tv.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),tq=o("$ZodNumber",(e,t)=>{tm.init(e,t),e._zod.pattern=e._zod.bag.pattern??eI,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch(e){}let i=n.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),n}}),tW=o("$ZodNumberFormat",(e,t)=>{e6.init(e,t),tq.init(e,t)}),tG=o("$ZodBoolean",(e,t)=>{tm.init(e,t),e._zod.pattern=eR,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch(e){}let i=n.value;return"boolean"==typeof i||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),n}}),tH=o("$ZodBigInt",(e,t)=>{tm.init(e,t),e._zod.pattern=eC,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch(e){}return"bigint"==typeof n.value||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),tJ=o("$ZodBigIntFormat",(e,t)=>{e2.init(e,t),tH.init(e,t)}),tY=o("$ZodSymbol",(e,t)=>{tm.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return"symbol"==typeof r||t.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),t}}),tX=o("$ZodUndefined",(e,t)=>{tm.init(e,t),e._zod.pattern=eP,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,n)=>{let r=t.value;return void 0===r||t.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),t}}),tQ=o("$ZodNull",(e,t)=>{tm.init(e,t),e._zod.pattern=eT,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}}),t0=o("$ZodAny",(e,t)=>{tm.init(e,t),e._zod.parse=e=>e}),t1=o("$ZodUnknown",(e,t)=>{tm.init(e,t),e._zod.parse=e=>e}),t4=o("$ZodNever",(e,t)=>{tm.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),t3=o("$ZodVoid",(e,t)=>{tm.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return void 0===r||t.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),t}}),t6=o("$ZodDate",(e,t)=>{tm.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch(e){}let i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:i,...a?{received:"Invalid Date"}:{},inst:e}),n}});function t2(e,t,n){e.issues.length&&t.issues.push(...f.prefixIssues(n,e.issues)),t.value[n]=e.value}let t9=o("$ZodArray",(e,t)=>{tm.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>t2(t,n,e))):t2(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function t5(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...f.prefixIssues(n,e.issues))}void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function t7(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=f.optionalKeys(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function t8(e,t,n,r,i,a){let o=[],s=i.keySet,l=i.catchall._zod,u=l.def.type,d="optional"===l.optout;for(let i in t){if(s.has(i))continue;if("never"===u){o.push(i);continue}let a=l.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>t5(e,n,i,t,d))):t5(a,n,i,t,d)}return(o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:a}),e.length)?Promise.all(e).then(()=>n):n}let ne=o("$ZodObject",(e,t)=>{let n;tm.init(e,t);let r=Object.getOwnPropertyDescriptor(t,"shape");if(!r?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let i=f.cached(()=>t7(t));f.defineLazy(e._zod,"propValues",()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values)for(let e of(n[t]??(n[t]=new Set),r.values))n[t].add(e)}return n});let a=f.isObject,o=t.catchall;e._zod.parse=(t,r)=>{n??(n=i.value);let s=t.value;if(!a(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};let l=[],u=n.shape;for(let e of n.keys){let n=u[e],i="optional"===n._zod.optout,a=n._zod.run({value:s[e],issues:[]},r);a instanceof Promise?l.push(a.then(n=>t5(n,t,e,s,i))):t5(a,t,e,s,i)}return o?t8(l,s,t,r,i.value,e):l.length?Promise.all(l).then(()=>t):t}}),nt=o("$ZodObjectJIT",(e,t)=>{let n,r;ne.init(e,t);let i=e._zod.parse,a=f.cached(()=>t7(t)),o=f.isObject,s=!d.jitless,l=f.allowsEval,u=s&&l.value,c=t.catchall;e._zod.parse=(l,d)=>{r??(r=a.value);let p=l.value;return o(p)?s&&u&&d?.async===!1&&!0!==d.jitless?(n||(n=(e=>{let t=new tp(["shape","payload","ctx"]),n=a.value,r=e=>{let t=f.esc(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let i=Object.create(null),o=0;for(let e of n.keys)i[e]=`key_${o++}`;for(let a of(t.write("const newResult = {};"),n.keys)){let n=i[a],o=f.esc(a),s=e[a],l=s?._zod?.optout==="optional";t.write(`const ${n} = ${r(a)};`),l?t.write(`
32        if (${n}.issues.length) {
33          if (${o} in input) {
34            payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
35              ...iss,
36              path: iss.path ? [${o}, ...iss.path] : [${o}]
37            })));
38          }
39        }
40        
41        if (${n}.value === undefined) {
42          if (${o} in input) {
43            newResult[${o}] = undefined;
44          }
45        } else {
46          newResult[${o}] = ${n}.value;
47        }
48        
49      `):t.write(`
50        if (${n}.issues.length) {
51          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
52            ...iss,
53            path: iss.path ? [${o}, ...iss.path] : [${o}]
54          })));
55        }
56        
57        if (${n}.value === undefined) {
58          if (${o} in input) {
59            newResult[${o}] = undefined;
60          }
61        } else {
62          newResult[${o}] = ${n}.value;
63        }
64        
65      `)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,n)=>s(e,t,n)})(t.shape)),l=n(l,d),c)?t8([],p,l,d,r,e):l:i(l,d):(l.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),l)}});function nn(e,t,n,r){for(let n of e)if(0===n.issues.length)return t.value=n.value,t;let i=e.filter(e=>!f.aborted(e));return 1===i.length?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>f.finalizeIssue(e,r,c())))}),t)}let nr=o("$ZodUnion",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"optin",()=>t.options.some(e=>
65"optional"===e._zod.optin)?"optional":void 0),f.defineLazy(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),f.defineLazy(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),f.defineLazy(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>f.cleanRegex(e.source)).join("|")})$`)}});let n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(0===t.issues.length)return t;s.push(t)}}return o?Promise.all(s).then(t=>nn(t,i,e,a)):nn(s,i,e,a)}});function ni(e,t,n,r){let i=e.filter(e=>0===e.issues.length);return 1===i.length?t.value=i[0].value:0===i.length?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>f.finalizeIssue(e,r,c())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t}let na=o("$ZodXor",(e,t)=>{nr.init(e,t),t.inclusive=!1;let n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);t instanceof Promise?(s.push(t),o=!0):s.push(t)}return o?Promise.all(s).then(t=>ni(t,i,e,a)):ni(s,i,e,a)}}),no=o("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,nr.init(e,t);let n=e._zod.parse;f.defineLazy(e._zod,"propValues",()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||0===Object.keys(r).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r))for(let r of(e[t]||(e[t]=new Set),n))e[t].add(r)}return e});let r=f.cached(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!f.isObject(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),ns=o("$ZodIntersection",(e,t)=>{tm.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>nl(e,t,n)):nl(e,i,a)}});function nl(e,t,n){let r,i=new Map;for(let n of t.issues)if("unrecognized_keys"===n.code)for(let e of(r??(r=n),n.keys))i.has(e)||i.set(e,{}),i.get(e).l=!0;else e.issues.push(n);for(let t of n.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)i.has(e)||i.set(e,{}),i.get(e).r=!0;else e.issues.push(t);let a=[...i].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&r&&e.issues.push({...r,keys:a}),f.aborted(e))return e;let o=function e(t,n){if(t===n||t instanceof Date&&n instanceof Date&&+t==+n)return{valid:!0,data:t};if(f.isPlainObject(t)&&f.isPlainObject(n)){let r=Object.keys(n),i=Object.keys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of i){let i=e(t[r],n[r]);if(!i.valid)return{valid:!1,mergeErrorPath:[r,...i.mergeErrorPath]};a[r]=i.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let i=0;i<t.length;i++){let a=e(t[i],n[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}let nu=o("$ZodTuple",(e,t)=>{tm.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];let o=[],s=[...n].reverse().findIndex(e=>"optional"!==e._zod.optin),l=-1===s?0:n.length-s;if(!t.rest){let t=a.length>n.length,i=a.length<l-1;if(t||i)return r.issues.push({...t?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length}
65,input:a,inst:e,origin:"array"}),r}let u=-1;for(let e of n){if(++u>=a.length&&u>=l)continue;let t=e._zod.run({value:a[u],issues:[]},i);t instanceof Promise?o.push(t.then(e=>nd(e,r,u))):nd(t,r,u)}if(t.rest)for(let e of a.slice(n.length)){u++;let n=t.rest._zod.run({value:e,issues:[]},i);n instanceof Promise?o.push(n.then(e=>nd(e,r,u))):nd(n,r,u)}return o.length?Promise.all(o).then(()=>r):r}});function nd(e,t,n){e.issues.length&&t.issues.push(...f.prefixIssues(n,e.issues)),t.value[n]=e.value}let nc=o("$ZodRecord",(e,t)=>{tm.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!f.isPlainObject(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){let s;n.value={};let l=new Set;for(let e of o)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){l.add("number"==typeof e?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...f.prefixIssues(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...f.prefixIssues(e,o.issues)),n.value[e]=o.value)}for(let e in i)l.has(e)||(s=s??[]).push(e);s&&s.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:s})}else for(let o of(n.value={},Reflect.ownKeys(i))){if("__proto__"===o)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error("Async schemas not supported in object keys currently");if("string"==typeof o&&eI.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error("Async schemas not supported in object keys currently");0===e.issues.length&&(s=e)}if(s.issues.length){"loose"===t.mode?n.value[o]=i[o]:n.issues.push({code:"invalid_key",origin:"record",issues:s.issues.map(e=>f.finalizeIssue(e,r,c())),input:o,path:[o],inst:e});continue}let l=t.valueType._zod.run({value:i[o],issues:[]},r);l instanceof Promise?a.push(l.then(e=>{e.issues.length&&n.issues.push(...f.prefixIssues(o,e.issues)),n.value[s.value]=e.value})):(l.issues.length&&n.issues.push(...f.prefixIssues(o,l.issues)),n.value[s.value]=l.value)}return a.length?Promise.all(a).then(()=>n):n}}),nf=o("$ZodMap",(e,t)=>{tm.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),n;let a=[];for(let[o,s]of(n.value=new Map,i)){let l=t.keyType._zod.run({value:o,issues:[]},r),u=t.valueType._zod.run({value:s,issues:[]},r);l instanceof Promise||u instanceof Promise?a.push(Promise.all([l,u]).then(([t,a])=>{np(t,a,n,o,i,e,r)})):np(l,u,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}});function np(e,t,n,r,i,a,o){e.issues.length&&(f.propertyKeyTypes.has(typeof r)?n.issues.push(...f.prefixIssues(r,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:i,inst:a,issues:e.issues.map(e=>f.finalizeIssue(e,o,c()))})),t.issues.length&&(f.propertyKeyTypes.has(typeof r)?n.issues.push(...f.prefixIssues(r,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:i,inst:a,key:r,issues:t.issues.map(e=>f.finalizeIssue(e,o,c()))})),n.value.set(e.value,t.value)}let nh=o("$ZodSet",(e,t)=>{tm.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),n;let a=[];for(let e of(n.value=new Set,i)){let i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>nm(e,n))):nm(i,n)}return a.length?Promise.all(a).then(()=>n):n}});function nm(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}let ng=o("$ZodEnum",(e,t)=>{tm.init(e,t);let n=f.getEnumValues(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>f.propertyKeyTypes.has(typeof e)).map(e=>"string"==typeof e?f.escapeRegex(e):e.toString()).join("|")})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:"invalid_value",values:n,input:a,inst:e}),t}}),nv=o("$ZodLiteral",(e,t)=>{if(tm.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?f.escapeRegex(e):e?f.escapeRegex(e.toString()):String(e)).join("|")})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),r}}),ny=o("$ZodFile",(e,t)=>{tm.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),t}}),nb=o("$ZodTransform",(e,t)=>{tm.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new u(e.constructor.name);
65let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new l;return n.value=i,n}});function nx(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}let nw=o("$ZodOptional",(e,t)=>{tm.init(e,t),e._zod.optin="optional",e._zod.optout="optional",f.defineLazy(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),f.defineLazy(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${f.cleanRegex(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if("optional"===t.innerType._zod.optin){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>nx(t,e.value)):nx(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}}),nS=o("$ZodExactOptional",(e,t)=>{nw.init(e,t),f.defineLazy(e._zod,"values",()=>t.innerType._zod.values),f.defineLazy(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),nk=o("$ZodNullable",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"optin",()=>t.innerType._zod.optin),f.defineLazy(e._zod,"optout",()=>t.innerType._zod.optout),f.defineLazy(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${f.cleanRegex(e.source)}|null)$`):void 0}),f.defineLazy(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)}),nE=o("$ZodDefault",(e,t)=>{tm.init(e,t),e._zod.optin="optional",f.defineLazy(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);if(void 0===e.value)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>n$(e,t)):n$(r,t)}});function n$(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let n_=o("$ZodPrefault",(e,t)=>{tm.init(e,t),e._zod.optin="optional",f.defineLazy(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>("backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),nC=o("$ZodNonOptional",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>nD(t,e)):nD(i,e)}});function nD(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let nI=o("$ZodSuccess",(e,t)=>{tm.init(e,t),e._zod.parse=(e,n)=>{if("backward"===n.direction)throw new u("ZodSuccess");let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===r.issues.length,e)}}),nR=o("$ZodCatch",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"optin",()=>t.innerType._zod.optin),f.defineLazy(e._zod,"optout",()=>t.innerType._zod.optout),f.defineLazy(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>f.finalizeIssue(e,n,c()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>f.finalizeIssue(e,n,c()))},input:e.value}),e.issues=[]),e)}}),nT=o("$ZodNaN",(e,t)=>{tm.init(e,t),e._zod.parse=(t,n)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),nP=o("$ZodPipe",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"values",()=>t.in._zod.values),f.defineLazy(e._zod,"optin",()=>t.in._zod.optin),f.defineLazy(e._zod,"optout",()=>t.out._zod.optout),f.defineLazy(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("backward"===n.direction){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>nO(e,t.in,n)):nO(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>nO(e,t.out,n)):nO(r,t.out,n)}});function nO(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}let nA=o("$ZodCodec",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"values",()=>t.in._zod.values),f.defineLazy(e._zod,"optin",()=>t.in._zod.optin),f.defineLazy(e._zod,"optout",()=>t.out._zod.optout),f.defineLazy(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("forward"===(n.direction||"forward")){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>nj(e,t,n)):nj(r,t,n)}{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>nj(e,t,n)):nj(r,t,n)}}});function nj(e,t,n){if(e.issues.length)return e.aborted=!0,e;if("forward"===(n.direction||"forward")){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>nz(e,r,t.out,n)):nz(e,r,t.out,n)}{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>nz(e,r,t.in,n)):nz(e,r,t.in,n)}}function nz(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}let nN=o("$ZodReadonly",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"propValues",()=>t.innerType._zod.propValues),f.defineLazy(e._zod,"values",()=>t.innerType._zod.values),f.defineLazy(e._zod,"optin",()=>t.innerType?._zod?.optin),f.defineLazy(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(nM):nM(r)}});function nM(e){return e.value=Object.freeze(e.value),e}let nL=o("$ZodTemplateLiteral",(e,t)=>{tm.init(e,t);let n=[];for(let e of t.parts)if("object"==typeof e&&null!==e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=+!!t.startsWith("^"),i=t.endsWith("$")?t.length-1:t.length;n.push(t.slice(r,i))}else if(null===e||f.primitiveTypes.has(typeof e))n.push(f.escapeRegex(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join("")}$`),e._zod.parse=(n,r)=>("string"!=typeof n.value?n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source})),n)}),nF=o("$ZodFunction",(e,t)=>(tm.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if("function"!=typeof t)throw Error("implement() must be called with a function");return function(...n){let r=Reflect.apply(t,this,e._def.input?S(e._def.input,n):n);return e._def.output?S(e._def.output,r):r}},e.implementAsync=t=>{if("function"!=typeof t)throw Error("implementAsync() must be called with a function");return async function(...n){let r=e._def.input?await E(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await E(e._def.output,i):i}},e._zod.parse=(t,n)=>("function"!=typeof t.value?t.issues.push({code:"invalid_type",expected:"function",input:t.value,inst:e}):e._def.output&&"promise"===e._def.output._zod.def.type?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t),e.input=(...t)=>{let n=e.constructor;return new n(Array.isArray(t[0])?{type:"function",input:new nu({type:"tuple",items:t[0],rest:t[1]}),output:e._def.output}:{type:"function",input:t[0],output:e._def.output})},e.output=t=>new e.constructor({type:"function",input:e._def.input,output:t}),e)),nU=o("$ZodPromise",(e,t)=>{tm.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),nB=o("$ZodLazy",(e,t)=>{tm.init(e,t),f.defineLazy(e._zod,"innerType",()=>t.getter()),f.defineLazy(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),f.defineLazy(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),f.defineLazy(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),f.defineLazy(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),nV=o("$ZodCustom",(e,t)=>{eQ.init(e,t),tm.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>nZ(t,n,r,e));nZ(i,n,r,e)}});function nZ(e,t,n,r){if(!e){let e={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(f.issue(e))}}var nK=n(70457),nq=n(13293);function nW(e,t){return new e({type:"string",...f.normalizeParams(t)})}function nG(e,t){return new e({type:"string",coerce:!0,...f.normalizeParams(t)})}function nH(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...f.normalizeParams(t)})}function nJ(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function nY(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function nX(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...f.normalizeParams(t)})}function nQ(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...f.normalizeParams(t)})}function n0(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...f.normalizeParams(t)})}function n1(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n4(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n3(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n6(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n2(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n9(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n5(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n7(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...f.normalizeParams(t)})}function n8(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...f.normalizeParams(t)})}function re(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...f.normalizeParams(t)})}function rt(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...f.normalizeParams(t)})}function rn(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...f.normalizeParams(t)})}function rr(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...f.normalizeParams(t)})}function ri(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...f.normalizeParams(t)})}function ra(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...f.normalizeParams(t)})}function ro(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...f.normalizeParams(t)})}function rs(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...f.normalizeParams(t)})}let rl={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function ru(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...f.normalizeParams(t)})}function rd(e,t){return new e({type:"string",format:"date",check:"string_format",...f.normalizeParams(t)})}function rc(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...f.normalizeParams(t)})}function rf(e,t){return new e({type:"string",format:"duration",check:"string_format",...f.normalizeParams(t)})}function rp(e,t){return new e({type:"number",checks:[],...f.normalizeParams(t)})}function rh(e,t){return new e({type:"number",coerce:!0,checks:[],...f.normalizeParams(t)})}function rm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...f.normalizeParams(t)})}function rg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...f.normalizeParams(t)})}function rv(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...f.normalizeParams(t)})}function ry(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...f.normalizeParams(t)})}function rb(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...f.normalizeParams(t)})}function rx(e,t){return new e({type:"boolean",...f.normalizeParams(t)})}function rw(e,t){return new e({type:"boolean",coerce:!0,...f.normalizeParams(t)})}function rS(e,t){return new e({type:"bigint",...f.normalizeParams(t)})}function rk(e,t){return new e({type:"bigint",coerce:!0,...f.normalizeParams(t)})}function rE(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...f.normalizeParams(t)})}function r$(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...f.normalizeParams(t)})}function r_(e,t){return new e({type:"symbol",...f.normalizeParams(t)})}function rC(e,t){return new e({type:"undefined",...f.normalizeParams(t)})}function rD(e,t){return new e({type:"null",...f.normalizeParams(t)})}function rI(e){return new e({type:"any"})}function rR(e){return new e({type:"unknown"})}function rT(e,t){return new e({type:"never",...f.normalizeParams(t)})}function rP(e,t){return new e({type:"void",...f.normalizeParams(t)})}function rO(e,t){return new e({type:"date",...f.normalizeParams(t)})}function rA(e,t){return new e({type:"date",coerce:!0,...f.normalizeParams(t)})}function rj(e,t){return new e({type:"nan",...f.normalizeParams(t)})}function rz(e,t){return new e1({check:"less_than",...f.normalizeParams(t),value:e,inclusive:!1})}function rN(e,t){return new e1({check:"less_than",...f.normalizeParams(t),value:e,inclusive:!0})}function rM(e,t){return new e4({check:"greater_than",...f.normalizeParams(t),value:e,inclusive:!1})}function rL(e,t){return new e4({check:"greater_than",...f.normalizeParams(t),value:e,inclusive:!0})}function rF(e){return rM(0,e)}function rU(e){return rz(0,e)}function rB(e){return rN(0,e)}function rV(e){return rL(0,e)}function rZ(e,t){return new e3({check:"multiple_of",...f.normalizeParams(t),value:e})}function rK(e,t){return new e9({check:"max_size",...f.normalizeParams(t),maximum:e})}function rq(e,t){return new e5({check:"min_size",...f.normalizeParams(t),minimum:e})}function rW(e,t){return new e7({check:"size_equals",...f.normalizeParams(t),size:e})}function rG(e,t){return new e8({check:"max_length",...f.normalizeParams(t),maximum:e})}function rH(e,t){return new te({check:"min_length",...f.normalizeParams(t),minimum:e})}function rJ(e,t){return new tt({check:"length_equals",...f.normalizeParams(t),length:e})}function rY(e,t){return new tr({check:"string_format",format:"regex",...f.normalizeParams(t),pattern:e})}function rX(e){return new ti({check:"string_format",format:"lowercase",...f.normalizeParams(e)})}
65function rQ(e){return new ta({check:"string_format",format:"uppercase",...f.normalizeParams(e)})}function r0(e,t){return new to({check:"string_format",format:"includes",...f.normalizeParams(t),includes:e})}function r1(e,t){return new ts({check:"string_format",format:"starts_with",...f.normalizeParams(t),prefix:e})}function r4(e,t){return new tl({check:"string_format",format:"ends_with",...f.normalizeParams(t),suffix:e})}function r3(e,t,n){return new td({check:"property",property:e,schema:t,...f.normalizeParams(n)})}function r6(e,t){return new tc({check:"mime_type",mime:e,...f.normalizeParams(t)})}function r2(e){return new tf({check:"overwrite",tx:e})}function r9(e){return r2(t=>t.normalize(e))}function r5(){return r2(e=>e.trim())}function r7(){return r2(e=>e.toLowerCase())}function r8(){return r2(e=>e.toUpperCase())}function ie(){return r2(e=>f.slugify(e))}function it(e,t,n){return new e({type:"array",element:t,...f.normalizeParams(n)})}function ir(e,t,n){return new e({type:"union",options:t,...f.normalizeParams(n)})}function ii(e,t,n){return new e({type:"union",options:t,inclusive:!1,...f.normalizeParams(n)})}function ia(e,t,n,r){return new e({type:"union",options:n,discriminator:t,...f.normalizeParams(r)})}function io(e,t,n){return new e({type:"intersection",left:t,right:n})}function is(e,t,n,r){let i=n instanceof tm,a=i?r:n;return new e({type:"tuple",items:t,rest:i?n:null,...f.normalizeParams(a)})}function il(e,t,n,r){return new e({type:"record",keyType:t,valueType:n,...f.normalizeParams(r)})}function iu(e,t,n,r){return new e({type:"map",keyType:t,valueType:n,...f.normalizeParams(r)})}function id(e,t,n){return new e({type:"set",valueType:t,...f.normalizeParams(n)})}function ic(e,t,n){return new e({type:"enum",entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...f.normalizeParams(n)})}function ip(e,t,n){return new e({type:"enum",entries:t,...f.normalizeParams(n)})}function ih(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...f.normalizeParams(n)})}function im(e,t){return new e({type:"file",...f.normalizeParams(t)})}function ig(e,t){return new e({type:"transform",transform:t})}function iv(e,t){return new e({type:"optional",innerType:t})}function iy(e,t){return new e({type:"nullable",innerType:t})}function ib(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return"function"==typeof n?n():f.shallowClone(n)}})}function ix(e,t,n){return new e({type:"nonoptional",innerType:t,...f.normalizeParams(n)})}function iw(e,t){return new e({type:"success",innerType:t})}function iS(e,t,n){return new e({type:"catch",innerType:t,catchValue:"function"==typeof n?n:()=>n})}function ik(e,t,n){return new e({type:"pipe",in:t,out:n})}function iE(e,t){return new e({type:"readonly",innerType:t})}function i$(e,t,n){return new e({type:"template_literal",parts:t,...f.normalizeParams(n)})}function i_(e,t){return new e({type:"lazy",getter:t})}function iC(e,t){return new e({type:"promise",innerType:t})}function iD(e,t,n){let r=f.normalizeParams(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function iI(e,t,n){return new e({type:"custom",check:"custom",fn:t,...f.normalizeParams(n)})}function iR(e){let t=iT(n=>(n.addIssue=e=>{"string"==typeof e?n.issues.push(f.issue(e,n.value,t._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=n.value),e.inst??(e.inst=t),e.continue??(e.continue=!t._zod.def.abort),n.issues.push(f.issue(e)))},e(n.value,n)));return t}function iT(e,t){let n=new eQ({check:"custom",...f.normalizeParams(t)});return n._zod.check=e,n}function iP(e){let t=new eQ({check:"describe"});return t._zod.onattach=[t=>{let n=nq.fd.get(t)??{};nq.fd.add(t,{...n,description:e})}],t._zod.check=()=>{},t}function iO(e){let t=new eQ({check:"meta"});return t._zod.onattach=[t=>{let n=nq.fd.get(t)??{};nq.fd.add(t,{...n,...e})}],t._zod.check=()=>{},t}function iA(e,t){let n=f.normalizeParams(t),r=n.truthy??["true","1","yes","on","y","enabled"],i=n.falsy??["false","0","no","off","n","disabled"];"sensitive"!==n.case&&(r=r.map(e=>"string"==typeof e?e.toLowerCase():e),i=i.map(e=>"string"==typeof e?e.toLowerCase():e));let a=new Set(r),o=new Set(i),s=e.Codec??nA,l=e.Boolean??tG,u=new s({type:"pipe",in:new(e.String??tg)({type:"string",error:n.error}),out:new l({type:"boolean",error:n.error}),transform:(e,t)=>
65{let r=e;return"sensitive"!==n.case&&(r=r.toLowerCase()),!!a.has(r)||!o.has(r)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...o],input:t.value,inst:u,continue:!1}),{})},reverseTransform:(e,t)=>!0===e?r[0]||"true":i[0]||"false",error:n.error});return u}function ij(e,t,n,r={}){let i=f.normalizeParams(r),a={...f.normalizeParams(r),check:"string_format",type:"string",format:t,fn:"function"==typeof n?n:e=>n.test(e),...i};return n instanceof RegExp&&(a.pattern=n),new e(a)}var iz=n(92108),iN=n(70566);class iM{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??"draft-2020-12";"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),this.ctx=(0,iz.az)({processors:iN.Df,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return(0,iz.eh)(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),(0,iz.Wb)(this.ctx,e);let{"~standard":n,...r}=(0,iz.jE)(this.ctx,e);return r}}},72909:(e,t,n)=>{"use strict";n.d(t,{FH:()=>T,Gb:()=>O,Jt:()=>h,hZ:()=>g,mN:()=>el,xI:()=>P});var r=n(34023),i=e=>e instanceof Date,a=e=>null==e,o=e=>!a(e)&&!Array.isArray(e)&&"object"==typeof e&&!i(e),s=e=>o(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,l=(e,t)=>e.has(t.substring(0,t.search(/\.\d+(\.|$)/))||t),u="u">typeof window&&void 0!==window.HTMLElement&&"u">typeof document;function d(e){let t;if(e instanceof Date)return new Date(e);let n="u">typeof FileList&&e instanceof FileList;if(u&&(e instanceof Blob||n))return e;let r=Array.isArray(e);if(!r&&!(o(e)&&o(t=e.constructor&&e.constructor.prototype)&&t.hasOwnProperty("isPrototypeOf")))return e;let i=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=d(e[t]));return i}var c=e=>void 0===e,f=e=>Array.isArray(e)?e.filter(Boolean):[],p=e=>f(e.replace(/["|']|\]/g,"").split(/\.|\[/)),h=(e,t,n)=>{if(!t||!o(e))return n;let r=(/^\w*$/.test(t)?[t]:p(t)).reduce((e,t)=>a(e)?e:e[t],e);return c(r)||r===e?c(e[t])?n:e[t]:r},m=e=>"function"==typeof e,g=(e,t,n)=>{let r=-1,i=/^\w*$/.test(t)?[t]:p(t),a=i.length,s=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==s){let n=e[t];a=o(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let v="blur",y="onChange",b="onSubmit",x="maxLength",w="minLength",S="pattern",k="required",E=r.createContext(null);E.displayName="HookFormControlContext";var $=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>("all"!==t._proxyFormState[a]&&(t._proxyFormState[a]=!r||"all"),n&&(n[a]=!0),e[a])});return i};let _="u">typeof window?r.useLayoutEffect:r.useEffect;var C=e=>"string"==typeof e,D=(e,t,n,r,i)=>C(e)?(r&&t.watch.add(e),h(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),h(n,e))):(r&&(t.watchAll=!0),n),I=e=>a(e)||"object"!=typeof e;function R(e,t,n=new WeakSet){if(I(e)||I(t))return Object.is(e,t);if(i(e)&&i(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;if(n.has(e)||n.has(t))return!0;for(let s of(n.add(e),n.add(t),r)){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||o(r)&&o(e)||Array.isArray(r)&&Array.isArray(e)?!R(r,e,n):!Object.is(r,e))return!1}}return!0}function T(e){let t=r.useContext(E),{control:n=t,name:i,defaultValue:a,disabled:o,exact:s,compute:l}=e||{},u=r.useRef(a),d=r.useRef(l),c=r.useRef(void 0),f=r.useRef(n),p=r.useRef(i);d.current=l;let[h,m]=r.useState(()=>{let e=n._getWatch(i,u.current);return d.current?d.current(e):e}),g=r.useCallback(e=>{let t=D(i,n._names,e||n._formValues,!1,u.current);return d.current?d.current(t):t},[n._formValues,n._names,i]),v=r.useCallback(e=>{if(!o){let t=D(i,n._names,e||n._formValues,!1,u.current);if(d.current){let e=d.current(t);R(e,c.current)||(m(e),c.current=e)}else m(t)}
65},[n._formValues,n._names,o,i]);_(()=>(f.current===n&&R(p.current,i)||(f.current=n,p.current=i,v()),n._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{v(e.values)}})),[n,s,i,v]),r.useEffect(()=>n._removeUnmounted());let y=f.current!==n,b=p.current,x=r.useMemo(()=>{if(o)return null;let e=!y&&!R(b,i);return y||e?g():null},[o,y,i,b,g]);return null!==x?x:h}let P=e=>e.render(function(e){let t=r.useContext(E),{name:n,disabled:i,control:a=t,shouldUnregister:o,defaultValue:u,exact:f=!0}=e,p=l(a._names.array,n),y=r.useMemo(()=>h(a._formValues,n,h(a._defaultValues,n,u)),[a,n,u]),b=T({control:a,name:n,defaultValue:y,exact:f}),x=function(e){let t=r.useContext(E),{control:n=t,disabled:i,name:a,exact:o}=e||{},[s,l]=r.useState(n._formState),u=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return _(()=>n._subscribe({name:a,formState:u.current,exact:o,callback:e=>{i||l({...n._formState,...e})}}),[a,i,o]),r.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),r.useMemo(()=>$(s,n,u.current,!1),[s,n])}({control:a,name:n,exact:f}),w=r.useRef(e),S=r.useRef(void 0),k=r.useRef(a.register(n,{...e.rules,value:b,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));w.current=e;let C=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!h(x.errors,n)},isDirty:{enumerable:!0,get:()=>!!h(x.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!h(x.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!h(x.validatingFields,n)},error:{enumerable:!0,get:()=>h(x.errors,n)}}),[x,n]),D=r.useCallback(e=>k.current.onChange({target:{value:s(e),name:n},type:"change"}),[n]),I=r.useCallback(()=>k.current.onBlur({target:{value:h(a._formValues,n),name:n},type:v}),[n,a._formValues]),R=r.useCallback(e=>{let t=h(a._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>m(e.focus)&&e.focus(),select:()=>m(e.select)&&e.select(),setCustomValidity:t=>m(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>m(e.reportValidity)&&e.reportValidity()})},[a._fields,n]),P=r.useMemo(()=>({name:n,value:b,..."boolean"==typeof i||x.disabled?{disabled:x.disabled||i}:{},onChange:D,onBlur:I,ref:R}),[n,i,x.disabled,D,I,R,b]);return r.useEffect(()=>{let e=a._options.shouldUnregister||o,t=S.current;t&&t!==n&&!p&&a.unregister(t),a.register(n,{...w.current.rules,..."boolean"==typeof w.current.disabled?{disabled:w.current.disabled}:{}});let r=(e,t)=>{let n=h(a._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){let e=d(h(a._options.defaultValues,n,w.current.defaultValue));g(a._defaultValues,n,e),c(h(a._formValues,n))&&g(a._formValues,n,e)}return p||a.register(n),S.current=n,()=>{(p?e&&!a._state.action:e)?a.unregister(n):r(n,!1)}},[n,a,p,o]),r.useEffect(()=>{a._setDisabledField({disabled:i,name:n})},[i,n,a]),r.useMemo(()=>({field:P,formState:x,fieldState:C}),[P,x,C])}(e));r.createContext(null).displayName="HookFormContext";var O=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},A=e=>Array.isArray(e)?e:[e],j=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},z=e=>o(e)&&!Object.keys(e).length,N=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},M=e=>N(e)&&e.isConnected;function L(e,t){let n=Array.isArray(t)?t:/^\w*$/.test(t)?[t]:p(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=c(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,a=n[i];return r&&delete r[a],0!==i&&(o(r)&&z(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!c(e[t]))return!1;return!0}(r))&&L(e,n.slice(0,-1)),e}function F(e){return Array.isArray(e)||o(e)&&!(e=>{for(let t in e)if(m(e[t]))return!0;return!1})(e)}function U(e,t={}){for(let n in e){let r=e[n];F(r)?(t[n]=Array.isArray(r)?[]:{},U(r,t[n])):c(r)||(t[n]=!0)}return t}function B(e,t,n){for(let r in n||(n=U(t)),e){let i=e[r];if(F(i))c(t)||I(n[r])?n[r]=U(i,Array.isArray(i)?[]:{}):B(i,a(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!R(i,e)}}return n}let V={value:!1,isValid:!1},Z={value:!0,isValid:!0};var K=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!c(e[0].attributes.value)?c(e[0].value)||""===e[0].value?Z:{value:e[0].value,isValid:!0}:Z:V}return V},q=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>c(e)?e:t?""===e?NaN:e?+e:e:n&&C(e)?new Date(e):r?r(e):e;let W={isValid:!1,value:null};var G=e=>Array.isArray(e)?e.reduce((e,t)=>
65t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,W):W;function H(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?G(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?K(e.refs).value:q(c(t.value)?e.ref.value:t.value,e)}var J=e=>c(e)?e:e instanceof RegExp?e.source:o(e)?e.value instanceof RegExp?e.value.source:e.value:e,Y=e=>({isOnSubmit:!e||e===b,isOnBlur:"onBlur"===e,isOnChange:e===y,isOnAll:"all"===e,isOnTouch:"onTouched"===e});let X="AsyncFunction";var Q=e=>!!e&&!!e.validate&&!!(m(e.validate)&&e.validate.constructor.name===X||o(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===X)),ee=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let et=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=h(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;else if(e.ref&&t(e.ref,e.name)&&!r)return!0;else if(et(a,t))break}else if(o(a)&&et(a,t))break}}};function en(e,t,n){let r=h(e,n);if(r||/^\w*$/.test(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),a=h(t,r),o=h(e,r);if(a&&!Array.isArray(a)&&n!==r)break;if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var er=(e,t,n)=>{let r=A(h(e,n));return g(r,"root",t[n]),g(e,n,r),e};function ei(e,t,n="validate"){if(C(e)||Array.isArray(e)&&e.every(C)||"boolean"==typeof e&&!e)return{type:n,message:C(e)?e:"",ref:t}}var ea=e=>!o(e)||e instanceof RegExp?{value:e,message:""}:e,eo=async(e,t,n,r,i,s)=>{let{ref:l,refs:u,required:d,maxLength:f,minLength:p,min:g,max:v,pattern:y,validate:b,name:E,valueAsNumber:$,mount:_}=e._f,D=h(n,E);if(!_||t.has(E))return{};let I=u?u[0]:l,R=e=>{i&&I.reportValidity&&(I.setCustomValidity("boolean"==typeof e?"":e||""),I.reportValidity())},T={},P="radio"===l.type,A="checkbox"===l.type,j=($||"file"===l.type)&&c(l.value)&&c(D)||N(l)&&""===l.value||""===D||Array.isArray(D)&&!D.length,M=O.bind(null,E,r,T),L=(e,t,n,r=x,i=w)=>{let a=e?t:n;T[E]={type:e?r:i,message:a,ref:l,...M(e?r:i,a)}};if(s?!Array.isArray(D)||!D.length:d&&(!(P||A)&&(j||a(D))||"boolean"==typeof D&&!D||A&&!K(u).isValid||P&&!G(u).isValid)){let{value:e,message:t}=C(d)?{value:!!d,message:d}:ea(d);if(e&&(T[E]={type:k,message:t,ref:I,...M(k,t)},!r))return R(t),T}if(!j&&(!a(g)||!a(v))){let e,t,n=ea(v),i=ea(g);if(a(D)||isNaN(D)){let r=l.valueAsDate||new Date(D),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==l.type,s="week"==l.type;C(n.value)&&D&&(e=o?a(D)>a(n.value):s?D>n.value:r>new Date(n.value)),C(i.value)&&D&&(t=o?a(D)<a(i.value):s?D<i.value:r<new Date(i.value))}else{let r=l.valueAsNumber||(D?+D:D);a(n.value)||(e=r>n.value),a(i.value)||(t=r<i.value)}if((e||t)&&(L(!!e,n.message,i.message,"max","min"),!r))return R(T[E].message),T}if((f||p)&&!j&&(C(D)||s&&Array.isArray(D))){let e=ea(f),t=ea(p),n=!a(e.value)&&D.length>+e.value,i=!a(t.value)&&D.length<+t.value;if((n||i)&&(L(n,e.message,t.message),!r))return R(T[E].message),T}if(y&&!j&&C(D)){let{value:e,message:t}=ea(y);if(e instanceof RegExp&&!D.match(e)&&(T[E]={type:S,message:t,ref:l,...M(S,t)},!r))return R(t),T}if(b){if(m(b)){let e=ei(await b(D,n),I);if(e&&(T[E]={...e,...M("validate",e.message)},!r))return R(e.message),T}else if(o(b)){let e={};for(let t in b){if(!z(e)&&!r)break;let i=ei(await b[t](D,n),I,t);i&&(e={...i,...M(t,i.message)},R(i.message),r&&(T[E]=e))}if(!z(e)&&(T[E]={ref:I,...e},!r))return T}}return R(!0),T};let es={mode:b,reValidateMode:y,shouldFocusError:!0};function el(e={}){let t=r.useRef(void 0),n=r.useRef(void 0),[p,y]=r.useState({isDirty:!1,isValidating:!1,isLoading:m(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:m(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:p},e.defaultValues&&!m(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=function(e={}){let t,n={...es,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:m(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},p={},y=(o(n.defaultValues)||o(n.values))&&d(n.defaultValues||n.values)||{},b=n.shouldUnregister?{}:d(y),x={action:!1,mount:!1,watch:!1,keepIsValid:!1},w={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},S=0,k={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},E={...k},$={...E},_={array:j(),state:j()},I="all"===n.criteriaMode,T=async e=>{if(!x.keepIsValid&&!n.disabled&&(E.isValid||$.isValid||e)){let e;n.resolver?(e=z((await U()).errors),P()):e=await Z(p,!0),e!==r.isValid&&_.state.next({isValid:e})}},P=(e,t)=>{!n.disabled&&(E.isValidating||E.validatingFields||$.isValidating||$.validatingFields)&&((e||Array.from(w.mount)).forEac
65h(e=>{e&&(t?g(r.validatingFields,e,t):L(r.validatingFields,e))}),_.state.next({validatingFields:r.validatingFields,isValidating:!z(r.validatingFields)}))},O=(e,t,n,r)=>{let i=h(p,e);if(i){let a=h(b,e,c(n)?h(y,e):n);c(a)||r&&r.defaultChecked||t?g(b,e,t?a:H(i._f)):G(e,a),x.mount&&!x.action&&T()}},F=(e,t,i,a,o)=>{let s=!1,l=!1,u={name:e};if(!n.disabled){if(!i||a){(E.isDirty||$.isDirty)&&(l=r.isDirty,r.isDirty=u.isDirty=K(),s=l!==u.isDirty);let n=R(h(y,e),t);l=!!h(r.dirtyFields,e),n?L(r.dirtyFields,e):g(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,s=s||(E.dirtyFields||$.dirtyFields)&&!n!==l}if(i){let t=h(r.touchedFields,e);t||(g(r.touchedFields,e,i),u.touchedFields=r.touchedFields,s=s||(E.touchedFields||$.touchedFields)&&t!==i)}s&&o&&_.state.next(u)}return s?u:{}},U=async e=>(P(e,!0),await n.resolver(b,n.context,((e,t,n,r)=>{let i={};for(let n of e){let e=h(t,n);e&&g(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}})(e||w.mount,p,n.criteriaMode,n.shouldUseNativeValidation))),V=async e=>{let{errors:t}=await U(e);if(P(e),e)for(let n of e){let e=h(t,n);e?g(r.errors,n,e):L(r.errors,n)}else r.errors=t;return t},Z=async(t,i,a={valid:!0})=>{for(let o in t){let s=t[o];if(s){let{_f:t,...o}=s;if(t){let o=w.array.has(t.name),l=s._f&&Q(s._f);l&&E.validatingFields&&P([t.name],!0);let u=await eo(s,w.disabled,b,I,n.shouldUseNativeValidation&&!i,o);if(l&&E.validatingFields&&P([t.name]),u[t.name]&&(a.valid=!1,i||e.shouldUseNativeValidation))break;i||(h(u,t.name)?o?er(r.errors,u,t.name):g(r.errors,t.name,u[t.name]):L(r.errors,t.name))}z(o)||await Z(o,i,a)}}return a.valid},K=(e,t)=>!n.disabled&&(e&&t&&g(b,e,t),!R(ed(),y)),W=(e,t,n)=>D(e,w,{...x.mount?b:c(t)?y:C(e)?{[e]:t}:t},n,t),G=(e,t,n={})=>{let r=h(p,e),i=t;if(r){let n=r._f;n&&(n.disabled||g(b,e,q(t,n)),i=N(n.ref)&&a(t)?"":t,"select-multiple"===n.ref.type?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?"checkbox"===n.ref.type?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(i)?e.checked=!!i.find(t=>t===e.value):e.checked=i===e.value||!!i)}):n.refs.forEach(e=>e.checked=e.value===i):"file"===n.ref.type?n.ref.value="":(n.ref.value=i,n.ref.type||_.state.next({name:e,values:d(b)})))}(n.shouldDirty||n.shouldTouch)&&F(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&eu(e)},X=(e,t,n)=>{for(let r in t){if(!t.hasOwnProperty(r))return;let a=t[r],s=e+"."+r,l=h(p,s);(w.array.has(e)||o(a)||l&&!l._f)&&!i(a)?X(s,a,n):G(s,a,n)}},ei=(e,t,n={})=>{let i=h(p,e),o=w.array.has(e),s=d(t);g(b,e,s),o?(_.array.next({name:e,values:d(b)}),(E.isDirty||E.dirtyFields||$.isDirty||$.dirtyFields)&&n.shouldDirty&&_.state.next({name:e,dirtyFields:B(y,b),isDirty:K(e,s)})):!i||i._f||a(s)?G(e,s,n):X(e,s,n),ee(e,w)?_.state.next({...r,name:e,values:d(b)}):_.state.next({name:x.mount?e:void 0,values:d(b)})},ea=async e=>{x.mount=!0;let a=e.target,o=a.name,l=!0,u=h(p,o),c=e=>{l=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||R(e,h(b,o,e))},f=Y(n.mode),m=Y(n.reValidateMode);if(u){var y,k,C,D,O;let i,x,M,B=a.type?H(u._f):s(e),V=e.type===v||"focusout"===e.type,K=!((M=u._f).mount&&(M.required||M.min||M.max||M.maxLength||M.minLength||M.pattern||M.validate))&&!n.resolver&&!h(r.errors,o)&&!u._f.deps||(y=V,k=h(r.touchedFields,o),C=r.isSubmitted,D=m,!(O=f).isOnAll&&(!C&&O.isOnTouch?!(k||y):(C?D.isOnBlur:O.isOnBlur)?!y:(C?!D.isOnChange:!O.isOnChange)||y)),q=ee(o,w,V);g(b,o,B),V?a&&a.readOnly||(u._f.onBlur&&u._f.onBlur(e),t&&t(0)):u._f.onChange&&u._f.onChange(e);let W=F(o,B,V),G=!z(W)||q;if(V||_.state.next({name:o,type:e.type,values:d(b)}),K)return(E.isValid||$.isValid)&&("onBlur"===n.mode?V&&T():V||T()),G&&_.state.next({name:o,...q?{}:W});if(!V&&q&&_.state.next({...r}),n.resolver){let{errors:e}=await U([o]);if(P([o]),c(B),l){let t=en(r.errors,p,o),n=en(e,p,t.name||o);i=n.error,o=n.name,x=z(e)}}else P([o],!0),i=(await eo(u,w.disabled,b,I,n.shouldUseNativeValidation))[o],P([o]),c(B),l&&(i?x=!1:(E.isValid||$.isValid)&&(x=await Z(p,!0)));if(l){u._f.deps&&(!Array.isArray(u._f.deps)||u._f.deps.length>0)&&eu(u._f.deps);var A=o,j=x,N=i;let e=h(r.errors,A),a=(E.isValid||$.isValid)&&"boolean"==typeof j&&r.isValid!==j;if(n.delayError&&N){let e;e=()=>{g(r.errors,A,N),_.state.next({errors:r.errors})},(t=t=>{clearTimeout(S),S=setTimeout(e,t)})(n.delayError)}else clearTimeout(S),t=null,N?g(r.errors,A,N):L(r.errors,A);if((N?!R(e,N):e)||!z(W)||a){let e={...W,...a&&"boolean"==typeof j?{isValid:j}:{},errors:r.errors,name:A};r={...r,...e},_.state.next(e)}}}},el=(e,t)=>
65{if(h(r.errors,t)&&e.focus)return e.focus(),1},eu=async(e,t={})=>{let i,a,o=A(e);if(n.resolver){let t=await V(c(e)?e:o);i=z(t),a=e?!o.some(e=>h(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=h(p,e);return await Z(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&T():a=i=await Z(p);return _.state.next({...!C(e)||(E.isValid||$.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&et(p,el,e?o:w.mount),a},ed=(e,t)=>{let n={...x.mount?b:y};return t&&(n=function e(t,n){let r={};for(let i in t)if(t.hasOwnProperty(i)){let a=t[i],s=n[i];if(a&&o(a)&&s){let t=e(a,s);o(t)&&(r[i]=t)}else t[i]&&(r[i]=s)}return r}(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),c(e)?n:C(e)?h(n,e):e.map(e=>h(n,e))},ec=(e,t)=>({invalid:!!h((t||r).errors,e),isDirty:!!h((t||r).dirtyFields,e),error:h((t||r).errors,e),isValidating:!!h(r.validatingFields,e),isTouched:!!h((t||r).touchedFields,e)}),ef=(e,t,n)=>{let i=(h(p,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:s,...l}=h(r.errors,e)||{};g(r.errors,e,{...l,...t,ref:i}),_.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},ep=e=>_.state.subscribe({next:t=>{let n,i,a;n=e.name,i=t.name,a=e.exact,(!n||!i||n===i||A(n).some(e=>e&&(a?e===i:e.startsWith(i)||i.startsWith(e))))&&((e,t,n,r)=>{n(e);let{name:i,...a}=e;return z(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||"all"))})(t,e.formState||E,ew,e.reRenderRoot)&&e.callback({values:{...b},...r,...t,defaultValues:y})}}).unsubscribe,eh=(e,t={})=>{for(let i of e?A(e):w.mount)w.mount.delete(i),w.array.delete(i),t.keepValue||(L(p,i),L(b,i)),t.keepError||L(r.errors,i),t.keepDirty||L(r.dirtyFields,i),t.keepTouched||L(r.touchedFields,i),t.keepIsValidating||L(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||L(y,i);_.state.next({values:d(b)}),_.state.next({...r,...!t.keepDirty?{}:{isDirty:K()}}),t.keepIsValid||T()},em=({disabled:e,name:t})=>{if("boolean"==typeof e&&x.mount||e||w.disabled.has(t)){let n=w.disabled.has(t);e?w.disabled.add(t):w.disabled.delete(t),!!e!==n&&x.mount&&!x.action&&T()}},eg=(e,t={})=>{let r=h(p,e),i="boolean"==typeof t.disabled||"boolean"==typeof n.disabled;return(g(p,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),w.mount.add(e),r)?em({disabled:"boolean"==typeof t.disabled?t.disabled:n.disabled,name:e}):O(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:J(t.min),max:J(t.max),minLength:J(t.minLength),maxLength:J(t.maxLength),pattern:J(t.pattern)}:{},name:e,onChange:ea,onBlur:ea,ref:i=>{if(i){let n;eg(e,t),r=h(p,e);let a=c(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o="radio"===(n=a).type||"checkbox"===n.type,s=r._f.refs||[];(o?s.find(e=>e===a):a===r._f.ref)||(g(p,e,{_f:{...r._f,...o?{refs:[...s.filter(M),a,...Array.isArray(h(y,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),O(e,!1,void 0,a))}else(r=h(p,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(l(w.array,e)&&x.action)&&w.unMount.add(e)}}},ev=()=>n.shouldFocusError&&et(p,el,w.mount),ey=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=d(b);if(_.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await U();P(),r.errors=e,o=d(t)}else await Z(p);if(w.disabled.size)for(let e of w.disabled)L(o,e);if(L(r.errors,"root"),z(r.errors)){_.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...r.errors},i),ev(),setTimeout(ev);if(_.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:z(r.errors)&&!a,submitCount:r.submitCount+1,errors:r.errors}),a)throw a},eb=(e,t={})=>{let i=e?d(e):y,a=d(i),o=z(e),s=o?y:a;if(t.keepDefaultValues||(y=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...w.mount,...Object.keys(B(y,b))]))){let t=h(r.dirtyFields,e),n=h(b,e),i=h(s,e);t&&!c(n)?g(s,e,n):t||c(i)||ei(e,i)}else{if(u&&c(e))for(let e of w.mount){let t=h(p,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(N(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of w.mount)ei(e,h(s,e));else p={}}b=n.shouldUnregister?t.keepDefaultValues?d(y):{}:d(s),_.array.next({values:{...s}}),_.state.next({values:{...s}})}w={mount:t.keepDirtyValues?w.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},x.mount=!E.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!z(s),x.watch=!!n.shouldUnregister,x.keepIsValid=!!t.keepIsValid,x.action=!1,t.keepErrors||(r.errors={}),_.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!R(e,y))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&b?B(y,b):r.dirtyFields:t.keepDefaultValues&&e?B(y,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:y})},ex=(e,t)=>eb(m(e)?e(b):e,{...n.resetOptions,...t}),ew=e=>{r={...r,...e}},eS={control:{register:eg,unregister:eh,getFieldState:ec,handleSubmit:ey,setError:ef,_subscribe:ep,_runSchema:U,_updateIsValidating:P,_focusError:ev,_getWatch:W,_getDirty:K,_setValid:T,_setFieldArray:(e,t=[],i,a,o=!0,s=!0)=>
65{if(a&&i&&!n.disabled){if(x.action=!0,s&&Array.isArray(h(p,e))){let t=i(h(p,e),a.argA,a.argB);o&&g(p,e,t)}if(s&&Array.isArray(h(r.errors,e))){let t,n=i(h(r.errors,e),a.argA,a.argB);o&&g(r.errors,e,n),f(h(t=r.errors,e)).length||L(t,e)}if((E.touchedFields||$.touchedFields)&&s&&Array.isArray(h(r.touchedFields,e))){let t=i(h(r.touchedFields,e),a.argA,a.argB);o&&g(r.touchedFields,e,t)}(E.dirtyFields||$.dirtyFields)&&(r.dirtyFields=B(y,b)),_.state.next({name:e,isDirty:K(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else g(b,e,t)},_setDisabledField:em,_setErrors:e=>{r.errors=e,_.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>f(h(x.mount?b:y,e,n.shouldUnregister?h(y,e,[]):[])),_reset:eb,_resetDefaultValues:()=>m(n.defaultValues)&&n.defaultValues().then(e=>{ex(e,n.resetOptions),_.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of w.unMount){let t=h(p,e);t&&(t._f.refs?t._f.refs.every(e=>!M(e)):!M(t._f.ref))&&eh(e)}w.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(_.state.next({disabled:e}),et(p,(t,n)=>{let r=h(p,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:_,_proxyFormState:E,get _fields(){return p},get _formValues(){return b},get _state(){return x},set _state(value){x=value},get _defaultValues(){return y},get _names(){return w},set _names(value){w=value},get _formState(){return r},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(x.mount=!0,$={...$,...e.formState},ep({...e,formState:{...k,...e.formState}})),trigger:eu,register:eg,handleSubmit:ey,watch:(e,t)=>m(e)?_.state.subscribe({next:n=>"values"in n&&e(W(void 0,t),n)}):W(e,t,!0),setValue:ei,getValues:ed,reset:ex,resetField:(e,t={})=>{h(p,e)&&(c(t.defaultValue)?ei(e,d(h(y,e))):(ei(e,t.defaultValue),g(y,e,d(t.defaultValue))),t.keepTouched||L(r.touchedFields,e),t.keepDirty||(L(r.dirtyFields,e),r.isDirty=t.defaultValue?K(e,d(h(y,e))):K()),!t.keepError&&(L(r.errors,e),E.isValid&&T()),_.state.next({...r}))},clearErrors:e=>{let t=e?A(e):void 0;null==t||t.forEach(e=>L(r.errors,e)),t?t.forEach(e=>{_.state.next({name:e,errors:r.errors})}):_.state.next({errors:{}})},unregister:eh,setError:ef,setFocus:(e,t={})=>{let n=h(p,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&m(e.select)&&e.select()})}},getFieldState:ec};return{...eS,formControl:eS}}(e);t.current={...r,formState:p}}let b=t.current.control;return b._options=e,_(()=>{let e=b._subscribe({formState:b._proxyFormState,callback:()=>y({...b._formState}),reRenderRoot:!0});return y(e=>({...e,isReady:!0})),b._formState.isReady=!0,e},[b]),r.useEffect(()=>b._disableForm(e.disabled),[b,e.disabled]),r.useEffect(()=>{e.mode&&(b._options.mode=e.mode),e.reValidateMode&&(b._options.reValidateMode=e.reValidateMode)},[b,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(b._setErrors(e.errors),b._focusError())},[b,e.errors]),r.useEffect(()=>{e.shouldUnregister&&b._subjects.state.next({values:b._getWatch()})},[b,e.shouldUnregister]),r.useEffect(()=>{if(b._proxyFormState.isDirty){let e=b._getDirty();e!==p.isDirty&&b._subjects.state.next({isDirty:e})}},[b,p.isDirty]),r.useEffect(()=>{var t;e.values&&!R(e.values,n.current)?(b._reset(e.values,{keepFieldsRef:!0,...b._options.resetOptions}),(null==(t=b._options.resetOptions)?void 0:t.keepIsValid)||b._setValid(),n.current=e.values,y(e=>({...e}))):b._resetDefaultValues()},[b,e.values]),r.useEffect(()=>{b._state.mount||(b._setValid(),b._state.mount=!0),b._state.watch&&(b._state.watch=!1,b._subjects.state.next({...b._formState})),b._removeUnmounted()}),t.current.formState=r.useMemo(()=>$(p,b),[b,p]),t.current}},73051:(e,t,n)=>{"use strict";function r(e,[t,n]){return Math.min(n,Math.max(t,e))}n.d(t,{q:()=>r})},73171:(e,t,n)=>{"use strict";n.d(t,{i3:()=>J,UC:()=>H,ZL:()=>G,Kq:()=>K,bL:()=>q,l9:()=>W});var r=n(34023),i=n(82669),a=n(34233),o=n(17069),s=n(6964),l=n(22905),u=n(94454),d=n(50257),c=n(97765),f=n(39739),p=n(89360),h=n(66825),m=n(94799),g=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),v=r.forwardRef((e,t)=>
65(0,m.jsx)(f.sG.span,{...e,ref:t,style:{...g,...e.style}}));v.displayName="VisuallyHidden";var[y,b]=(0,o.A)("Tooltip",[u.Bk]),x=(0,u.Bk)(),w="TooltipProvider",S="tooltip.open",[k,E]=y(w),$=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:a=!1,children:o}=e,s=r.useRef(!0),l=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,m.jsx)(k,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:l,onPointerInTransitChange:r.useCallback(e=>{l.current=e},[]),disableHoverableContent:a,children:o})};$.displayName=w;var _="Tooltip",[C,D]=y(_),I=e=>{let{__scopeTooltip:t,children:n,open:i,defaultOpen:a,onOpenChange:o,disableHoverableContent:s,delayDuration:d}=e,c=E(_,e.__scopeTooltip),f=x(t),[p,g]=r.useState(null),v=(0,l.B)(),y=r.useRef(0),b=s??c.disableHoverableContent,w=d??c.delayDuration,k=r.useRef(!1),[$,D]=(0,h.i)({prop:i,defaultProp:a??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(S))):c.onClose(),o?.(e)},caller:_}),I=r.useMemo(()=>$?k.current?"delayed-open":"instant-open":"closed",[$]),R=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,k.current=!1,D(!0)},[D]),T=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,D(!1)},[D]),P=r.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{k.current=!0,D(!0),y.current=0},w)},[w,D]);return r.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,m.jsx)(u.bL,{...f,children:(0,m.jsx)(C,{scope:t,contentId:v,open:$,stateAttribute:I,trigger:p,onTriggerChange:g,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?P():R()},[c.isOpenDelayedRef,P,R]),onTriggerLeave:r.useCallback(()=>{b?T():(window.clearTimeout(y.current),y.current=0)},[T,b]),onOpen:R,onClose:T,disableHoverableContent:b,children:n})})};I.displayName=_;var R="TooltipTrigger",T=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...o}=e,s=D(R,n),l=E(R,n),d=x(n),c=r.useRef(null),p=(0,a.s)(t,c,s.onTriggerChange),h=r.useRef(!1),g=r.useRef(!1),v=r.useCallback(()=>h.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,m.jsx)(u.Mz,{asChild:!0,...d,children:(0,m.jsx)(f.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...o,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(g.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),g.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{h.current||s.onOpen()}),onBlur:(0,i.mK)(e.onBlur,s.onClose),onClick:(0,i.mK)(e.onClick,s.onClose)})})});T.displayName=R;var P="TooltipPortal",[O,A]=y(P,{forceMount:void 0}),j=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=D(P,t);return(0,m.jsx)(O,{scope:t,forceMount:n,children:(0,m.jsx)(c.C,{present:n||a.open,children:(0,m.jsx)(d.Z,{asChild:!0,container:i,children:r})})})};j.displayName=P;var z="TooltipContent",N=r.forwardRef((e,t)=>{let n=A(z,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=D(z,e.__scopeTooltip);return(0,m.jsx)(c.C,{present:r||o.open,children:o.disableHoverableContent?(0,m.jsx)(B,{side:i,...a,ref:t}):(0,m.jsx)(M,{side:i,...a,ref:t})})}),M=r.forwardRef((e,t)=>{let n=D(z,e.__scopeTooltip),i=E(z,e.__scopeTooltip),o=r.useRef(null),s=(0,a.s)(t,o),[l,u]=r.useState(null),{trigger:d,onClose:c}=n,f=o.current,{onPointerInTransitChange:p}=i,h=r.useCallback(()=>{u(null),p(!1)},[p]),g=r.useCallback((e,t)=>{let n,r=e.currentTarget,i={x:e.clientX,y:e.clientY},a=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(i,r.getBoundingClientRect());u(((n=[...function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(i,a),...function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>
65e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(n))),p(!0)},[p]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(d&&f){let e=e=>g(e,f),t=e=>g(e,d);return d.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[d,f,g,h]),r.useEffect(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=d?.contains(t)||f?.contains(t),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],l=o.x,u=o.y,d=s.x,c=s.y;u>r!=c>r&&n<(d-l)*(r-u)/(c-u)+l&&(i=!i)}return i}(n,l);r?h():i&&(h(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,f,l,c,h]),(0,m.jsx)(B,{...e,ref:s})}),[L,F]=y(_,{isInside:!1}),U=(0,p.Dc)("TooltipContent"),B=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:i,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...d}=e,c=D(z,n),f=x(n),{onClose:p}=c;return r.useEffect(()=>(document.addEventListener(S,p),()=>document.removeEventListener(S,p)),[p]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;t?.contains(c.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,p]),(0,m.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,m.jsxs)(u.UC,{"data-state":c.stateAttribute,...f,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,m.jsx)(U,{children:i}),(0,m.jsx)(L,{scope:n,isInside:!0,children:(0,m.jsx)(v,{id:c.contentId,role:"tooltip",children:a||i})})]})})});N.displayName=z;var V="TooltipArrow",Z=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=x(n);return F(V,n).isInside?null:(0,m.jsx)(u.i3,{...i,...r,ref:t})});Z.displayName=V;var K=$,q=I,W=T,G=j,H=N,J=Z},73451:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(56721),i=n(18075),a=n(97057);let o={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class s extends r.H{constructor(e){const{syncOnly:t,nested:n,onOpenChange:r,triggerElements:a,...s}=e;super({...s,positionReference:s.referenceElement,domReferenceElement:s.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:(0,i.d)(),nested:n,triggerElements:a},o),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&(0,a.Ev)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>
65{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}},73677:(e,t,n)=>{"use strict";n.d(t,{j:()=>k});var r=n(34023),i=n(7366),a=n(88018),o=n(57936),s=n(33848),l=n(94675),u=n(50360),d=n(59627),c=n(3768),f=n(32705),p=n(79342);let h=[];var m=n(1075),g=n(92796),v=n(56136),y=n(94799);function b(e){let{render:t,className:n,style:b,refs:x=o.Ml,props:w=o.Ml,state:S=o.t0,stateAttributesMapping:k,highlightedIndex:E,onHighlightedIndexChange:$,orientation:_,grid:C,loopFocus:D,onLoop:I,enableHomeAndEndKeys:R,onMapChange:T,stopEventPropagation:P=!0,rootRef:O,disabledIndices:A,modifierKeys:j,highlightItemOnHover:z=!1,tag:N="div",...M}=e,{props:L,highlightedIndex:F,onHighlightedIndexChange:U,elementsRef:B,onMapChange:V,relayKeyboardEvent:Z}=function(e){let{loopFocus:t=!0,orientation:n="both",grid:o,onLoop:s,direction:m,highlightedIndex:g,onHighlightedIndexChange:v,rootRef:y,enableHomeAndEndKeys:b=!1,stopEventPropagation:x,disabledIndices:w,modifierKeys:S=h}=e,[k,E]=r.useState(0),$=null!=o,_=r.useRef(null),C=(0,u.a)(_,y),D=r.useRef([]),I=r.useRef(!1),R=g??k,T=(0,i.K)((e,t=!1)=>{if((v??E)(e),t){let t=D.current[e];(0,d.$v)(_.current,t,m,n)}}),P=(0,i.K)(e=>{if(0===e.size||I.current)return;I.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(f.h))??null,i=r?e.get(r)?.index??-1:-1;if(-1!==i)T(i);else if((0,c.FP)(t,R,w)){let e=(0,c.BF)(t,{disabledIndices:w});(0,c.du)(t,e)||T(e)}(0,d.$v)(_.current,r,m,n)});(0,a.g)(()=>{if(null==w||null!=g||!I.current)return;let e=D.current;if((0,c.FP)(e,R,w)){let t=(0,c.BF)(e,{disabledIndices:w});(0,c.du)(e,t)||T(t)}},[w,g,R,D,T]);let O=(0,i.K)((e,t,n)=>s?s(e,t,n,D):n),A=(0,i.K)(e=>{let r=e.key===d.yZ||e.key===d.Kp;if(!d.jF.has(e.key)||!b&&r||function(e,t){for(let n of d.rT)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}(e,S)||!_.current)return;let i="rtl"===m,a=i?d.eR:d.RJ,u=i?d.RJ:d.eR,f="vertical"===n?d.Jd:a,h="vertical"===n?d.il:u,g=(0,p.EW)(e.nativeEvent);if(null!=g&&(0,d.Qi)(g)&&!(0,l.F)(g)){let t=g.selectionStart,n=g.selectionEnd,r=g.value;if(null==t||e.shiftKey||t!==n||e.key!==h&&t<r.length||e.key!==f&&t>0)return}let v=R,y=(0,c.Zb)(D,w),k=(0,c.vB)(D,w);null!=o&&(v=o({disabledIndices:w,elementsRef:D,event:e,highlightedIndex:R,loopFocus:t,maxIndex:k,minIndex:y,onLoop:O,orientation:n,rtl:i}));let E="vertical"!==n&&e.key===a||"horizontal"!==n&&e.key===d.Jd,C="vertical"!==n&&e.key===u||"horizontal"!==n&&e.key===d.il;b&&(e.key===d.yZ?v=y:e.key===d.Kp&&(v=k)),v===R&&(E||C)&&(t&&v===k&&E?(v=y,s&&(v=s(e,R,v,D))):t&&v===y&&C?(v=k,s&&(v=s(e,R,v,D))):v=(0,c.BF)(D.current,{startingIndex:v,decrement:C,disabledIndices:w})),v===R||(0,c.du)(D.current,v)||(x&&e.stopPropagation(),($||r||E||C)&&e.preventDefault(),T(v,!0),queueMicrotask(()=>{D.current[v]?.focus()}))});return{props:{ref:C,onFocus(e){let t=_.current,n=(0,p.EW)(e.nativeEvent);t&&null!=n&&(0,d.Qi)(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:A},highlightedIndex:R,onHighlightedIndexChange:T,elementsRef:D,onMapChange:P,relayKeyboardEvent:A}}({grid:C,loopFocus:D,onLoop:I,orientation:_,highlightedIndex:E,onHighlightedIndexChange:$,rootRef:O,stopEventPropagation:P,enableHomeAndEndKeys:R,direction:(0,v.j)(),disabledIndices:A,modifierKeys:j}),K=(0,g.o)(N,e,{state:S,ref:x,props:[L,...w,M],stateAttributesMapping:k}),q=r.useMemo(()=>({highlightedIndex:F,onHighlightedIndexChange:U,highlightItemOnHover:z,relayKeyboardEvent:Z}),[F,U,z,Z]);return(0,y.jsx)(m.H.Provider,{value:q,children:(0,y.jsx)(s.u,{elementsRef:B,onMapChange:e=>{T?.(e),V(e)},children:K})})}var x=n(62025),w=n(83778),S=n(8838);let k=r.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:s,loopFocus:l=!0,render:u,style:d,...c}=e,{orientation:f,setTabMap:p,tabActivationDirection:h}=(0,w.z)(),[m,g]=r.useState(0),[v,k]=r.useState(null),E=r.useRef(new Set),$=r.useRef(new Set),_=r.useRef(null);(0,a.g)(()=>{if("u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>
65{E.current.forEach(e=>{e()})});return _.current=e,v&&e.observe(v),$.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),_.current=null}},[v]);let C=(0,i.K)(e=>(E.current.add(e),()=>{E.current.delete(e)})),D=(0,i.K)(e=>($.current.add(e),_.current?.observe(e),()=>{$.current.delete(e),_.current?.unobserve(e)})),I=r.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:C,registerTabResizeObserverElement:D,tabsListElement:v}),[n,C,D,v]);return(0,y.jsx)(S.O.Provider,{value:I,children:(0,y.jsx)(b,{render:u,className:s,style:d,state:{orientation:f,tabActivationDirection:h},refs:[t,k],props:[{"aria-orientation":"vertical"===f?"vertical":void 0,role:"tablist"},c],stateAttributesMapping:x.h,highlightedIndex:m,enableHomeAndEndKeys:!0,loopFocus:l,orientation:f,onHighlightedIndexChange:g,onMapChange:p,disabledIndices:o.Ml})})})},73924:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(34023),i=n(88018),a=n(7366),o=n(30417),s=n(57936),l=n(3768),u=n(79342),d=n(97057);function c(e,t){let{listRef:n,elementsRef:c,activeIndex:f,onMatch:p,disabledIndices:h,onTyping:m,enabled:g=!0,resetMs:v=750,selectedIndex:y=null}=t,b="rootStore"in e?e.rootStore:e,x=b.useState("open"),w=(0,o.Z)(),S=r.useRef(""),k=r.useRef(y??f??-1),E=r.useRef(null),$=(0,a.K)(e=>{function t(e){let t=c?.current[e];return!(t&&!(0,l.J9)(t)||t?.matches(":disabled"))&&(null==h||!(0,l.FP)(s.Ml,e,h))}function r(e,n,i=0){if(0===e.length)return -1;let a=(i%e.length+e.length)%e.length,o=n.toLowerCase();for(let n=0;n<e.length;n+=1){let r=(a+n)%e.length,i=e[r];if(i?.toLowerCase().startsWith(o)&&t(r))return r}return -1}let i=n.current;if(S.current.length>0&&" "===e.key&&((0,d.jo)(e),m?.(!0)),S.current.length>0&&" "!==S.current[0]&&-1===r(i,S.current)&&" "!==e.key&&m?.(!1),null==i||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;x&&" "!==e.key&&((0,d.jo)(e),m?.(!0));let a=""===S.current;a&&(k.current=y??f??-1),i.every((e,n)=>!(e&&t(n))||e[0]?.toLowerCase()!==e[1]?.toLowerCase())&&S.current===e.key&&(S.current="",k.current=E.current),S.current+=e.key,w.start(v,()=>{S.current="",k.current=E.current,m?.(!1)});let o=a?y??f??-1:k.current,u=r(i,S.current,(o??0)+1);-1!==u?(p?.(u),E.current=u):" "!==e.key&&(S.current="",m?.(!1))}),_=(0,a.K)(e=>{let t=e.relatedTarget,n=b.select("domReferenceElement"),r=b.select("floatingElement");(0,u.gR)(n,t)||(0,u.gR)(r,t)||(w.clear(),S.current="",k.current=E.current,m?.(!1))});(0,i.g)(()=>{(x||null===y)&&(w.clear(),E.current=null,""!==S.current&&(S.current=""))},[x,y,w]);let C=r.useMemo(()=>({onKeyDown:$,onBlur:_}),[$,_]);return r.useMemo(()=>g?{reference:C,floating:C}:{},[g,C])}},74052:(e,t,n)=>{"use strict";function r(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch{}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}n.d(t,{e:()=>r});let i=null},74536:(e,t,n)=>{"use strict";n.d(t,{UC:()=>W,Y9:()=>K,bL:()=>V,l9:()=>q,q7:()=>Z});var r=n(34023),i=n(17069),a=n(78512),o=n(34233),s=n(82669),l=n(66825),u=n(39739),d=n(774),c=n(22905),f=n(4455),p=n(94799),h="Accordion",m=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[g,v,y]=(0,a.N)(h),[b,x]=(0,i.A)(h,[y,d.z3]),w=(0,d.z3)(),S=r.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,p.jsx)(g.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,p.jsx)(D,{...r,ref:t}):(0,p.jsx)(C,{...r,ref:t})})});S.displayName=h;var[k,E]=b(h),[$,_]=b(h,{collapsible:!1}),C=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:a=()=>{},collapsible:o=!1,...s}=e,[u,d]=(0,l.i)({prop:n,defaultProp:i??"",onChange:a,caller:h});return(0,p.jsx)(k,{scope:e.__scopeAccordion,value:r.useMemo(()=>u?[u]:[],[u]),onItemOpen:d,onItemClose:r.useCallback(()=>o&&d(""),[o,d]),children:(0,p.jsx)($,{scope:e.__scopeAccordion,collapsible:o,children:(0,p.jsx)(T,{...s,ref:t})})})}),D=r.forwardRef((e,t)=>
65{let{value:n,defaultValue:i,onValueChange:a=()=>{},...o}=e,[s,u]=(0,l.i)({prop:n,defaultProp:i??[],onChange:a,caller:h}),d=r.useCallback(e=>u((t=[])=>[...t,e]),[u]),c=r.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,p.jsx)(k,{scope:e.__scopeAccordion,value:s,onItemOpen:d,onItemClose:c,children:(0,p.jsx)($,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(T,{...o,ref:t})})})}),[I,R]=b(h),T=r.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:i,dir:a,orientation:l="vertical",...d}=e,c=r.useRef(null),h=(0,o.s)(c,t),y=v(n),b="ltr"===(0,f.jH)(a),x=(0,s.mK)(e.onKeyDown,e=>{if(!m.includes(e.key))return;let t=e.target,n=y().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let a=r,o=i-1,s=()=>{(a=r+1)>o&&(a=0)},u=()=>{(a=r-1)<0&&(a=o)};switch(e.key){case"Home":a=0;break;case"End":a=o;break;case"ArrowRight":"horizontal"===l&&(b?s():u());break;case"ArrowDown":"vertical"===l&&s();break;case"ArrowLeft":"horizontal"===l&&(b?u():s());break;case"ArrowUp":"vertical"===l&&u()}let d=a%i;n[d].ref.current?.focus()});return(0,p.jsx)(I,{scope:n,disabled:i,direction:a,orientation:l,children:(0,p.jsx)(g.Slot,{scope:n,children:(0,p.jsx)(u.sG.div,{...d,"data-orientation":l,ref:h,onKeyDown:i?void 0:x})})})}),P="AccordionItem",[O,A]=b(P),j=r.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=R(P,n),o=E(P,n),s=w(n),l=(0,c.B)(),u=r&&o.value.includes(r)||!1,f=a.disabled||e.disabled;return(0,p.jsx)(O,{scope:n,open:u,disabled:f,triggerId:l,children:(0,p.jsx)(d.bL,{"data-orientation":a.orientation,"data-state":B(u),...s,...i,ref:t,disabled:f,open:u,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})});j.displayName=P;var z="AccordionHeader",N=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=R(h,n),a=A(z,n);return(0,p.jsx)(u.sG.h3,{"data-orientation":i.orientation,"data-state":B(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});N.displayName=z;var M="AccordionTrigger",L=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=R(h,n),a=A(M,n),o=_(M,n),s=w(n);return(0,p.jsx)(g.ItemSlot,{scope:n,children:(0,p.jsx)(d.l9,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})});L.displayName=M;var F="AccordionContent",U=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=R(h,n),a=A(F,n),o=w(n);return(0,p.jsx)(d.UC,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function B(e){return e?"open":"closed"}U.displayName=F;var V=S,Z=j,K=N,q=L,W=U},74761:(e,t,n)=>{"use strict";n.d(t,{Ip:()=>v,_l:()=>m,gX:()=>p,ng:()=>c});var r=n(27196),i=n(2049),a=n(29140),o=n(55241),s=n(19780),l=n(37487);function u(e){let t,n="object"==typeof e[0]?e.shift():new(0,o.FG);if("string"==typeof e[0])t=e.shift();else{let e=n.getEras();t=e[e.length-1]}return[n,t,e.shift(),e.shift(),e.shift()]}var d=new WeakMap;class c{copy(){return this.era?new c(this.calendar,this.era,this.year,this.month,this.day):new c(this.calendar,this.year,this.month,this.day)}add(e){return(0,r.WQ)(this,e)}subtract(e){return(0,r.Re)(this,e)}set(e){return(0,r.hZ)(this,e)}cycle(e,t,n){return(0,r.xy)(this,e,t,n)}toDate(e){return(0,s.ay)(this,e)}toString(){return(0,a.$T)(this)}compare(e){return(0,i.SE)(this,e)}constructor(...e){(0,l._)(this,d,{writable:!0,value:void 0});let[t,n,i,a,o]=u(e);this.calendar=t,this.era=n,this.year=i,this.month=a,this.day=o,(0,r.AU)(this)}}var f=new WeakMap;class p{copy(){return new p(this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.tY)(this,e)}subtract(e){return(0,r.YP)(this,e)}set(e){return(0,r.ib)(this,e)}cycle(e,t,n){return(0,r.gt)(this,e,t,n)}toString(){return(0,a.ot)(this)}compare(e){return(0,i.Nu)(this,e)}constructor(e=0,t=0,n=0,i=0){(0,l._)(this,f,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=i,(0,r.Rb)(this)}}var h=new WeakMap;
65class m{copy(){return this.era?new m(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new m(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.WQ)(this,e)}subtract(e){return(0,r.Re)(this,e)}set(e){return(0,r.hZ)((0,r.ib)(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return(0,r.xy)(this,e,t,n);default:return(0,r.gt)(this,e,t,n)}}toDate(e,t){return(0,s.ay)(this,e,t)}toString(){return(0,a.qk)(this)}compare(e){let t=(0,i.SE)(this,e);return 0===t?(0,i.Nu)(this,(0,s.tR)(e)):t}constructor(...e){(0,l._)(this,h,{writable:!0,value:void 0});let[t,n,i,a,o]=u(e);this.calendar=t,this.era=n,this.year=i,this.month=a,this.day=o,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.AU)(this)}}var g=new WeakMap;class v{copy(){return this.era?new v(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new v(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.E0)(this,e)}subtract(e){return(0,r.d_)(this,e)}set(e,t){return(0,r.D8)(this,e,t)}cycle(e,t,n){return(0,r.XH)(this,e,t,n)}toDate(){return(0,s.cd)(this)}toString(){return(0,a.e6)(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(0,s.uB)(e,this.timeZone).toDate().getTime()}constructor(...e){(0,l._)(this,g,{writable:!0,value:void 0});let[t,n,i,a,o]=u(e),s=e.shift(),d=e.shift();this.calendar=t,this.era=n,this.year=i,this.month=a,this.day=o,this.timeZone=s,this.offset=d,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.AU)(this)}}},75043:(e,t,n)=>{"use strict";let r;n.d(t,{n:()=>f});var i=n(34023),a=n(34233),o=n(39739),s=n(12789),l=n(94799),u="focusScope.autoFocusOnMount",d="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},f=i.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:f,onUnmountAutoFocus:v,...y}=e,[b,x]=i.useState(null),w=(0,s.c)(f),S=(0,s.c)(v),k=i.useRef(null),E=(0,a.s)(t,e=>x(e)),$=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let e=function(e){if($.paused||!b)return;let t=e.target;b.contains(t)?k.current=t:m(k.current,{select:!0})},t=function(e){if($.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||m(k.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,b,$.paused]),i.useEffect(()=>{if(b){g.add($);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,c);b.addEventListener(u,w),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(p(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(d,c);b.addEventListener(d,S),b.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),b.removeEventListener(d,S),g.remove($)},0)}}},[b,w,S,$]);let _=i.useCallback(e=>{if(!n&&!r||$.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var a;let t,r=e.currentTarget,[o,s]=[h(t=p(a=r),a),h(t.reverse(),a)];o&&s?e.shiftKey||i!==s?e.shiftKey&&i===o&&(e.preventDefault(),n&&m(s,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):i===r&&e.preventDefault()}},[n,r,$.paused]);return(0,l.jsx)(o.sG.div,{tabIndex:-1,...y,ref:E,onKeyDown:_})});function p(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var g=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=v(r,e)).unshift(e)},remove(e){r=v(r,e),r[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},75270:(e,t,n)=>{"use strict";n.d(t,{KZ:()=>u,Lf:()=>l,YD:()=>o,cX:()=>p,oE:()=>i});var r=n(34023);let i={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},a={...i,customError:!0,valid:!1}
65,o={isInvalid:!1,validationDetails:i,validationErrors:[]},s=(0,r.createContext)({}),l="__formValidationState"+Date.now();function u(e){if(e[l]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[l];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return function(e){let{isInvalid:t,validationState:n,name:i,value:l,builtinValidation:u,validate:p,validationBehavior:h="aria"}=e;n&&(t||(t="invalid"===n));let m=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:a}:null,g=(0,r.useMemo)(()=>p&&null!=l?c(function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return d(n)}return[]}(p,l)):null,[p,l]);(null==u?void 0:u.validationDetails.valid)&&(u=void 0);let v=(0,r.useContext)(s),y=(0,r.useMemo)(()=>i?Array.isArray(i)?i.flatMap(e=>d(v[e])):d(v[i]):[],[v,i]),[b,x]=(0,r.useState)(v),[w,S]=(0,r.useState)(!1);v!==b&&(x(v),S(!1));let k=(0,r.useMemo)(()=>c(w?[]:y),[w,y]),E=(0,r.useRef)(o),[$,_]=(0,r.useState)(o),C=(0,r.useRef)(o),[D,I]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!D)return;I(!1);let e=g||u||E.current;f(e,C.current)||(C.current=e,_(e))}),{realtimeValidation:m||k||g||u||o,displayValidation:"native"===h?m||k||$:m||k||g||u||$,updateValidation(e){"aria"!==h||f($,e)?E.current=e:_(e)},resetValidation(){f(o,C.current)||(C.current=o,_(o)),"native"===h&&I(!1),S(!0)},commitValidation(){"native"===h&&I(!0),S(!0)}}}(e)}function d(e){return e?Array.isArray(e)?e:[e]:[]}function c(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:a}:null}function f(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}function p(...e){let t=new Set,n=!1,r={...i};for(let i of e){for(let e of i.validationErrors)t.add(e);for(let e in n||(n=i.isInvalid),r)r[e]||(r[e]=i.validationDetails[e])}return r.valid=!n,{isInvalid:n,validationErrors:[...t],validationDetails:r}}}
65,75443:(e,t,n)=>{"use strict";n.d(t,{LM:()=>W,Ze:()=>G,bL:()=>q,zi:()=>H});var r=n(34023),i=n(39739),a=n(97765),o=n(17069),s=n(34233),l=n(12789),u=n(4455),d=n(98004),c=n(73051),f=n(82669),p=n(94799),h="ScrollArea",[m,g]=(0,o.A)(h),[v,y]=m(h),b=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:a="hover",dir:o,scrollHideDelay:l=600,...d}=e,[c,f]=r.useState(null),[h,m]=r.useState(null),[g,y]=r.useState(null),[b,x]=r.useState(null),[w,S]=r.useState(null),[k,E]=r.useState(0),[$,_]=r.useState(0),[C,D]=r.useState(!1),[I,R]=r.useState(!1),T=(0,s.s)(t,e=>f(e)),P=(0,u.jH)(o);return(0,p.jsx)(v,{scope:n,type:a,dir:P,scrollHideDelay:l,scrollArea:c,viewport:h,onViewportChange:m,content:g,onContentChange:y,scrollbarX:b,onScrollbarXChange:x,scrollbarXEnabled:C,onScrollbarXEnabledChange:D,scrollbarY:w,onScrollbarYChange:S,scrollbarYEnabled:I,onScrollbarYEnabledChange:R,onCornerWidthChange:E,onCornerHeightChange:_,children:(0,p.jsx)(i.sG.div,{dir:P,...d,ref:T,style:{position:"relative","--radix-scroll-area-corner-width":k+"px","--radix-scroll-area-corner-height":$+"px",...e.style}})})});b.displayName=h;var x="ScrollAreaViewport",w=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:a,nonce:o,...l}=e,u=y(x,n),d=r.useRef(null),c=(0,s.s)(t,d,u.onViewportChange);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,p.jsx)(i.sG.div,{"data-radix-scroll-area-viewport":"",...l,ref:c,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,p.jsx)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:a})})]})});w.displayName=x;var S="ScrollAreaScrollbar",k=r.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=y(S,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:s}=a,l="horizontal"===e.orientation;return r.useEffect(()=>(l?o(!0):s(!0),()=>{l?o(!1):s(!1)}),[l,o,s]),"hover"===a.type?(0,p.jsx)(E,{...i,ref:t,forceMount:n}):"scroll"===a.type?(0,p.jsx)($,{...i,ref:t,forceMount:n}):"auto"===a.type?(0,p.jsx)(_,{...i,ref:t,forceMount:n}):"always"===a.type?(0,p.jsx)(C,{...i,ref:t}):null});k.displayName=S;var E=r.forwardRef((e,t)=>{let{forceMount:n,...i}=e,o=y(S,e.__scopeScrollArea),[s,l]=r.useState(!1);return r.useEffect(()=>{let e=o.scrollArea,t=0;if(e){let n=()=>{window.clearTimeout(t),l(!0)},r=()=>{t=window.setTimeout(()=>l(!1),o.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[o.scrollArea,o.scrollHideDelay]),(0,p.jsx)(a.C,{present:n||s,children:(0,p.jsx)(_,{"data-state":s?"visible":"hidden",...i,ref:t})})}),$=r.forwardRef((e,t)=>{var n;let{forceMount:i,...o}=e,s=y(S,e.__scopeScrollArea),l="horizontal"===e.orientation,u=Z(()=>c("SCROLL_END"),100),[d,c]=(n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},r.useReducer((e,t)=>n[e][t]??e,"hidden"));return r.useEffect(()=>{if("idle"===d){let e=window.setTimeout(()=>c("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[d,s.scrollHideDelay,c]),r.useEffect(()=>{let e=s.viewport,t=l?"scrollLeft":"scrollTop";if(e){let n=e[t],r=()=>{let r=e[t];n!==r&&(c("SCROLL"),u()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,l,c,u]),(0,p.jsx)(a.C,{present:i||"hidden"!==d,children:(0,p.jsx)(C,{"data-state":"hidden"===d?"hidden":"visible",...o,ref:t,onPointerEnter:(0,f.mK)(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:(0,f.mK)(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),_=r.forwardRef((e,t)=>{let n=y(S,e.__scopeScrollArea),{forceMount:i,...o}=e,[s,l]=r.useState(!1),u="horizontal"===e.orientation,d=Z(()=>
65{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;l(u?e:t)}},10);return K(n.viewport,d),K(n.content,d),(0,p.jsx)(a.C,{present:i||s,children:(0,p.jsx)(C,{"data-state":s?"visible":"hidden",...o,ref:t})})}),C=r.forwardRef((e,t)=>{let{orientation:n="vertical",...i}=e,a=y(S,e.__scopeScrollArea),o=r.useRef(null),s=r.useRef(0),[l,u]=r.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=L(l.viewport,l.content),c={...i,sizes:l,onSizesChange:u,hasThumb:!!(d>0&&d<1),onThumbChange:e=>o.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function f(e,t){return function(e,t,n,r="ltr"){let i=F(n),a=t||i/2,o=n.scrollbar.paddingStart+a,s=n.scrollbar.size-n.scrollbar.paddingEnd-(i-a),l=n.content-n.viewport;return B([o,s],"ltr"===r?[0,l]:[-1*l,0])(e)}(e,s.current,l,t)}return"horizontal"===n?(0,p.jsx)(D,{...c,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){let e=U(a.viewport.scrollLeft,l,a.dir);o.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=f(e,a.dir))}}):"vertical"===n?(0,p.jsx)(I,{...c,ref:t,onThumbPositionChange:()=>{if(a.viewport&&o.current){let e=U(a.viewport.scrollTop,l);o.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=f(e))}}):null}),D=r.forwardRef((e,t)=>{let{sizes:n,onSizesChange:i,...a}=e,o=y(S,e.__scopeScrollArea),[l,u]=r.useState(),d=r.useRef(null),c=(0,s.s)(t,d,o.onScrollbarXChange);return r.useEffect(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,p.jsx)(P,{"data-orientation":"horizontal",...a,ref:c,sizes:n,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":F(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(o.viewport){var r,i;let a=o.viewport.scrollLeft+t.deltaX;e.onWheelScroll(a),r=a,i=n,r>0&&r<i&&t.preventDefault()}},onResize:()=>{d.current&&o.viewport&&l&&i({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:M(l.paddingLeft),paddingEnd:M(l.paddingRight)}})}})}),I=r.forwardRef((e,t)=>{let{sizes:n,onSizesChange:i,...a}=e,o=y(S,e.__scopeScrollArea),[l,u]=r.useState(),d=r.useRef(null),c=(0,s.s)(t,d,o.onScrollbarYChange);return r.useEffect(()=>{d.current&&u(getComputedStyle(d.current))},[d]),(0,p.jsx)(P,{"data-orientation":"vertical",...a,ref:c,sizes:n,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":F(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(o.viewport){var r,i;let a=o.viewport.scrollTop+t.deltaY;e.onWheelScroll(a),r=a,i=n,r>0&&r<i&&t.preventDefault()}},onResize:()=>{d.current&&o.viewport&&l&&i({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:M(l.paddingTop),paddingEnd:M(l.paddingBottom)}})}})}),[R,T]=m(S),P=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:a,hasThumb:o,onThumbChange:u,onThumbPointerUp:d,onThumbPointerDown:c,onThumbPositionChange:h,onDragScroll:m,onWheelScroll:g,onResize:v,...b}=e,x=y(S,n),[w,k]=r.useState(null),E=(0,s.s)(t,e=>k(e)),$=r.useRef(null),_=r.useRef(""),C=x.viewport,D=a.content-a.viewport,I=(0,l.c)(g),T=(0,l.c)(h),P=Z(v,10);function O(e){$.current&&m({x:e.clientX-$.current.left,y:e.clientY-$.current.top})}return r.useEffect(()=>{let e=e=>{let t=e.target;w?.contains(t)&&I(e,D)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[C,w,D,I]),r.useEffect(T,[a,T]),K(w,P),K(x.content,P),(0,p.jsx)(R,{scope:n,scrollbar:w,hasThumb:o,onThumbChange:(0,l.c)(u),onThumbPointerUp:(0,l.c)(d),onThumbPositionChange:T,onThumbPointerDown:(0,l.c)(c),children:(0,p.jsx)(i.sG.div,{...b,ref:E,style:{position:"absolute",...b.style},onPointerDown:(0,f.mK)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),$.current=w.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",x.viewport&&(x.viewport.style.scrollBehavior="auto"),O(e))}),onPointerMove:(0,f.mK)(e.onPointerMove,O),onPointerUp:(0,f.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=_.current,x.viewport&&(x.viewport.style.scrollBehavior=""),$.current=null})})})}),O="ScrollAreaThumb",A=r.forwardRef((e,t)=>
65{let{forceMount:n,...r}=e,i=T(O,e.__scopeScrollArea);return(0,p.jsx)(a.C,{present:n||i.hasThumb,children:(0,p.jsx)(j,{ref:t,...r})})}),j=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:a,...o}=e,l=y(O,n),u=T(O,n),{onThumbPositionChange:d}=u,c=(0,s.s)(t,e=>u.onThumbChange(e)),h=r.useRef(void 0),m=Z(()=>{h.current&&(h.current(),h.current=void 0)},100);return r.useEffect(()=>{let e=l.viewport;if(e){let t=()=>{m(),h.current||(h.current=V(e,d),d())};return d(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[l.viewport,m,d]),(0,p.jsx)(i.sG.div,{"data-state":u.hasThumb?"visible":"hidden",...o,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:(0,f.mK)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;u.onThumbPointerDown({x:n,y:r})}),onPointerUp:(0,f.mK)(e.onPointerUp,u.onThumbPointerUp)})});A.displayName=O;var z="ScrollAreaCorner";r.forwardRef((e,t)=>{let n=y(z,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&r?(0,p.jsx)(N,{...e,ref:t}):null}).displayName=z;var N=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,...a}=e,o=y(z,n),[s,l]=r.useState(0),[u,d]=r.useState(0),c=!!(s&&u);return K(o.scrollbarX,()=>{let e=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(e),d(e)}),K(o.scrollbarY,()=>{let e=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(e),l(e)}),c?(0,p.jsx)(i.sG.div,{...a,ref:t,style:{width:s,height:u,position:"absolute",right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:0,...e.style}}):null});function M(e){return e?parseInt(e,10):0}function L(e,t){let n=e/t;return isNaN(n)?0:n}function F(e){let t=L(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-n)*t,18)}function U(e,t,n="ltr"){let r=F(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=(0,c.q)(e,"ltr"===n?[0,o]:[-1*o,0]);return B([0,o],[0,a-r])(s)}function B(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var V=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return!function i(){let a={left:e.scrollLeft,top:e.scrollTop},o=n.left!==a.left,s=n.top!==a.top;(o||s)&&t(),n=a,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function Z(e,t){let n=(0,l.c)(e),i=r.useRef(0);return r.useEffect(()=>()=>window.clearTimeout(i.current),[]),r.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(n,t)},[n,t])}function K(e,t){let n=(0,l.c)(t);(0,d.N)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var q=b,W=w,G=k,H=A},75565:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e=!0){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(25));return t}},76009:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(34023),i=n(45351),a=n(94799);let o=r.forwardRef(function(e,t){return(0,a.jsx)(i.F,{ref:t,...e})})},76230:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});let r=n(34023).createContext({register:()=>{}});r.displayName="PressResponderContext"},76383:(e,t,n)=>{"use strict";n.d(t,{PL:()=>i,RQ:()=>l,rB:()=>s});var r=n(21400);function i(e){return{onFetch:(t,n)=>{let i=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],u=t.state.data?.pageParams||[],d={pages:[],pageParams:[]},c=0,f=async()=>{let n=!1,f=(0,r.ZM)(t.options,t.fetchOptions),p=async(e,i,a)=>{let o;if(n)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let s=(o={client:t.client,queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta},(0,r.ox)(o,()=>t.signal,()=>n=!0),o),l=await f(s),{maxPages:u}=t.options,d=a?r.ZZ:r.y9;return{pages:d(e.pages,l,u),pageParams:d(e.pageParams,i,u)}};if(s&&l.length){let e="backward"===s,t={pages:l,pageParams:u},n=(e?o:a)(i,t);d=await p(t,n,e)}else{let t=e??l.length;do{let e=0===c?u[0]??i.initialPageParam:a(i,d);if(c>0&&null==e)break;d=await p(d,e),c++}while(c<t)}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function a(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function o(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function s(e,t){return!!t&&null!=a(e,t)}function l(e,t){return!!t&&!!e.getPreviousPageParam&&null!=o(e,t)}},76786:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,l:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(null);function o(){let e=i.useContext(a);if(null===e)throw Error((0,r.A)(60));return e}}
65,77799:(e,t,n)=>{"use strict";n.d(t,{s:()=>w});var r=n(34023),i=n(24811),a=n(99097),o=n(78638),s=n(88018),l=n(96820),u=n(7366),d=n(82317),c=n(83560),f=n(58302);function p(e){return function(e,t){let{nodeId:n,externalTree:i}=e,o=t.useState("referenceElement"),l=t.useState("floatingElement"),u=t.useState("domReferenceElement"),c=t.useState("open"),p=t.useState("floatingId"),[h,m]=r.useState(null),[g,v]=r.useState(void 0),[y,b]=r.useState(void 0),x=r.useRef(null),w=(0,f.cq)(i),S=r.useMemo(()=>({reference:o,floating:l,domReference:u}),[o,l,u]),k=(0,d.we)({...e,elements:{...S,...h&&{reference:h}}}),E=(0,a.vq)(g)?g:null,$=void 0===y?t.state.floatingElement:y;t.useSyncedValue("referenceElement",g??null),t.useSyncedValue("domReferenceElement",void 0===g?u:E),t.useSyncedValue("floatingElement",$);let _=r.useCallback(e=>{let t=(0,a.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;m(t),k.refs.setReference(t)},[k.refs]),C=r.useCallback(e=>{((0,a.vq)(e)||null===e)&&(x.current=e,v(e)),((0,a.vq)(k.refs.reference.current)||null===k.refs.reference.current||null!==e&&!(0,a.vq)(e))&&k.refs.setReference(e)},[k.refs,v]),D=r.useCallback(e=>{b(e),k.refs.setFloating(e)},[k.refs]),I=r.useMemo(()=>({...k.refs,setReference:C,setFloating:D,setPositionReference:_,domReference:x}),[k.refs,C,D,_]),R=r.useMemo(()=>({...k.elements,domReference:u}),[k.elements,u]),T=r.useMemo(()=>({...k,dataRef:t.context.dataRef,open:c,onOpenChange:t.setOpen,events:t.context.events,floatingId:p,refs:I,elements:R,nodeId:n,rootStore:t}),[k,I,R,n,t,c,p]);return(0,s.g)(()=>{u&&(x.current=u)},[u]),(0,s.g)(()=>{t.context.dataRef.current.floatingContext=T;let e=w?.nodesRef.current.find(e=>e.id===n);e&&(e.context=T)}),r.useMemo(()=>({...k,context:T,refs:I,elements:R,rootStore:t}),[k,I,R,T,t])}(e,e.rootContext)}var h=n(56136);let m={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:a.top-n>=0||a.right-t>=0||a.bottom-n>=0||a.left-t>=0||0===t&&0===n&&0===r&&0===i}}}},g={sideX:"left",sideY:"top"},v="--available-width",y="--available-height";function b(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function x(e,t,n){let{rects:r,placement:a}=e;return{side:b(t,(0,i.C0)(a),n),align:(0,i.Sg)(a)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function w(e){return function(e,t){var n,f;let{anchor:p,positionMethod:w="absolute",side:k="bottom",sideOffset:E=0,align:$="center",alignOffset:_=0,collisionBoundary:C,collisionPadding:D=5,sticky:I=!1,arrowPadding:R=5,disableAnchorTracking:T=!1,inline:P,keepMounted:O=!1,floatingRootContext:A,mounted:j,collisionAvoidance:z,shift:N,nodeId:M,adaptiveOrigin:L,lazyFlip:F=!1,externalTree:U}=e,[B,V]=r.useState(null);j||null===B||V(null);let Z=z.side||"flip",K=z.align||"flip",q=z.fallbackAxisSide||"end",W=N?.crossAxis??!1,G=N?.rootBoundary,H="function"==typeof p?p:void 0,J=(0,u.K)(H),Y=H?J:p,X=(0,l.u)(p),Q=(0,l.u)(j),ee="rtl"===(0,h.j)(),et=B||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ee?"left":"right","inline-start":ee?"right":"left"})[k],en="center"===$?et:`${et}-${$}`,er=D;"number"==typeof er?er={top:er,right:er,bottom:er,left:er}:er&&(er={top:er.top||0,right:er.right||0,bottom:er.bottom||0,left:er.left||0});let ei=+("bottom"===k),ea=+("top"===k),eo=+("right"===k),es=+("left"===k),el={boundary:"clipping-ancestors"===C?"clippingAncestors":C,padding:er},eu=r.useRef(null),ed=(0,l.u)(E),ec=(0,l.u)(_),ef="function"!=typeof E?E:0,ep="function"!=typeof _?_:0,eh=[];P&&eh.push(P),eh.push((0,d.cY)(e=>{let t=x(e,k,ee),n="function"==typeof ed.current?ed.current(t):ed.current,r="function"==typeof ec.current?ec.current(t):ec.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[ef,ep,ee,k]));let em="none"===K&&"shift"!==Z,eg=!em&&(I||W||"shift"===Z),ev="none"===Z?null:(0,d.UU)({...el,padding:{top:er.top+1+ei,right:er.right+1+es,bottom:er.bottom+1+ea,left:er.left+1+eo},mainAxis:!W&&"flip"===Z,crossAxis:"flip"===K&&"alignment",fallbackAxisSideDirection:q}),ey=em?null:(0,d.BN)({...el,rootBoundary:G,mainAxis:"none"!==K,crossAxis:eg,limiter:I||W?void 0:(0,d.ER)(e=>{if(!eu.current)return{};let{width:t,height:n}=eu.current.getBoundingClientRect(),r=(0,i.TV)((0,i.C0)(e.placement)),a="y"===r?er.left+er.right:er.top+er.bottom;return{offset:("y"===r?t:n)/2+a/2}})},[el,I,W,G,er,K]);"shift"===Z||"shift"===K||"center"===$?eh.push(ey,ev):eh.push(ev,ey),eh.push((0,d.Ej)({...el,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!Q.current)return;let i=e.style;i.setProperty(v,`${t}px`),i.setProperty(y,`${n}px`);let o=(0,a.zk)(e).devicePixelRatio||1,{x:s,y:l,width:u,height:d}=r.reference,c=(Math.round((s+u)*o)-Math.round(s*o))/o,f=(Math.round((l+d)*o)-Math.round(l*o))/o;i.setProperty("--anchor-width",`${c}px`),i.setProperty("--anchor-height",`${f}px`)}}),(n=e=>({element:eu.current||(0,o.R)(e.elements.floating).createElement("div"),padding:R,offsetParent:"floating"}),f=[R],{name:"arrow",options:n,async fn(e){let{x:t,y:r,placement:a,rects:o,platform:s,elements:l,middlewareData:u}=e,{element:d,padding:c=0,offsetParent:f="real"}=(0,i._3)(n,e)||{};if(null==d)return{};let p=(0,i.nI)(c),h={x:t,y:r},m=(0,i.Dz)(a),g=(0,i.sq)(m),v=await s.getDimensions(d),y="y"===m,b=y?"clientHeight":"clientWidth",x=o.reference[g]+o.reference[m]-h[m]-o.floating[g],w=h[m]-o.reference[m],S="real"===f?await s.getOffsetParent?.(d):l.floating,k=l.floating[b]||o.floating[g];k&&await s.isElement?.(S)||(k=l.floating[b]||o.floating[g]);let E=k/2-v[g]/2-1,$=Math.min(p[y?"top":"left"],E),_=Math.min(p[y?"bottom":"right"],E),C=k-v[g]-_,D=k/2-v[g]/2+(x/2-w/2),I=(0,i.qE)($,D,C),R=!u.arrow&&null!=(0,i.Sg)(a)&&D!==I&&o.reference[g]/2-(D<$?$:_)-v[g]/2<0,T=R?D<$?D-$:D-C:0;return{[m]:h[m]+T,data:{[m]:I,centerOffset:D-I-T,...R&&{alignmentOffset:T}},reset:R}},options:[n,f]}),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:n,placement:r,rects:a,y:o}=e,s=(0,i.C0)(r),l=(0,i.TV)(s),u=eu.current,d=n.arrow?.x||0,c=n.arrow?.y||0,f=u?.clientWidth||0,p=u?.clientHeight||0,h=d+f/2,m=c+p/2,g=Math.abs(n.shift?.y||0),v=a.reference.height/2,y="function"==typeof E?E(x(e,k,ee)):E,b=g>y,w={top:`${h}px calc(100% + ${y}px)`,bottom:`${h}px ${-y}px`,left:`calc(100% + ${y}px) ${m}px`,right:`${-y}px ${m}px`}[s],S=`${h}px ${a.reference.y+v-o}px`;return t.floating.style.setProperty("--transform-origin",eg&&"y"===l&&b?S:w),{}}},m,L),(0,s.g)(()=>{!j&&A&&A.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[j,A]);let eb=r.useMemo(()=>({elementResize:!T&&"u">typeof ResizeObserver,layoutShift:!T&&"u">typeof IntersectionObserver}),[T]),{refs:ex,elements:ew,x:eS,y:ek,middlewareData:eE,update:e$,placement:e_,context:eC,isPositioned:eD,floatingStyles:eI}=t({rootContext:A,open:O?j:void 0,placement:en,middleware:eh,strategy:w,whileElementsMounted:O?void 0:(...e)=>(0,c.ll)(...e,eb),nodeId:M,externalTree:U}),{sideX:eR,sideY:eT}=eE.adaptiveOrigin||g,eP=eD?w:"fixed",eO=r.useMemo(()=>{let e;return(e=eD?L?{position:eP,[eR]:eS,[eT]:ek}:{...eI,position:eP}:{position:eP,top:0,left:0})[v]="100vw",e[y]="100vh",eD||(e.opacity=0),e},[L,eP,eR,eS,eT,ek,eI,eD]),eA=r.useRef(null);(0,s.g)(()=>
65{if(!j)return;let e=X.current,t="function"==typeof e?e():e,n=(S(t)?t.current:t)||null;n!==eA.current&&(ex.setPositionReference(n),eA.current=n)},[j,ex,Y,X]),r.useEffect(()=>{if(!j)return;let e=X.current;"function"!=typeof e&&S(e)&&e.current!==eA.current&&(ex.setPositionReference(e.current),eA.current=e.current)},[j,ex,Y,X]),r.useEffect(()=>{if(O&&j&&ew.reference&&ew.floating)return(0,c.ll)(ew.reference,ew.floating,e$,eb)},[O,j,ew,e$,eb]);let ej=(0,i.C0)(e_),ez=b(k,ej,ee),eN=(0,i.Sg)(e_)||"center",eM=!!eE.hide?.referenceHidden;(0,s.g)(()=>{F&&j&&eD&&ej!==et&&V(ej)},[F,j,eD,ej,et]);let eL=r.useMemo(()=>({position:"absolute",top:eE.arrow?.y,left:eE.arrow?.x}),[eE.arrow]),eF=eE.arrow?.centerOffset!==0;return r.useMemo(()=>({positionerStyles:eO,arrowStyles:eL,arrowRef:eu,arrowUncentered:eF,side:ez,align:eN,physicalSide:ej,anchorHidden:eM,refs:ex,context:eC,isPositioned:eD,update:e$}),[eO,eL,eu,eF,ez,eN,ej,eM,ex,eC,eD,e$])}(e,p)}function S(e){return null!=e&&"current"in e}},77911:(e,t,n)=>{"use strict";n.d(t,{o:()=>b});var r=n(34023),i=n(84505),a=n(88018),o=n(7366),s=n(42800),l=n(31262),u=n(94158),d=n(40109),c=n(77799),f=n(67558),p=n(97869),h=n(26594),m=n(17366),g=n(21610),v=n(90288),y=n(94799);let b=r.forwardRef(function(e,t){let{render:n,className:r,anchor:b,positionMethod:x,side:w,align:S,sideOffset:k,alignOffset:E,collisionBoundary:$="clipping-ancestors",collisionPadding:_,arrowPadding:C,sticky:D,disableAnchorTracking:I=!1,collisionAvoidance:R=p.uD,style:T,...P}=e,O=(0,l.Ee)(),A=(0,l.ui)(),j=(0,f.s)(),z=(0,i.P)(O,h.T.modal),N=(0,i.P)(O,h.T.open),M=(0,i.P)(O,h.T.mounted),L=(0,i.P)(O,h.T.openMethod),F=(0,i.P)(O,h.T.positionerElement),U=(0,i.P)(O,h.T.triggerElement),B=(0,i.P)(O,h.T.inputElement),V=(0,i.P)(O,h.T.inputGroupElement),Z=(0,i.P)(O,h.T.inputInsidePopup),K=(0,i.P)(O,h.T.transitionStatus),q=(0,d.$B)(),W=(0,c.s)({anchor:b??(Z?U:V??B),floatingRootContext:A,positionMethod:x,mounted:M,side:w,sideOffset:k,align:S,alignOffset:E,arrowPadding:C,collisionBoundary:$,collisionPadding:_,sticky:D,disableAnchorTracking:I,keepMounted:j,collisionAvoidance:R,lazyFlip:!0});(0,v.G)(N&&z,"touch"===L,F,U);let G={open:N,side:W.side,align:W.align,anchorHidden:W.anchorHidden,empty:q};(0,a.g)(()=>{O.set("popupSide",W.side)},[O,W.side]);let H=(0,o.K)(e=>{O.set("positionerElement",e)}),J=(0,g.i)(e,G,{styles:W.positionerStyles,transitionStatus:K,props:P,refs:[t,H],hidden:!M,inert:!N});return(0,y.jsxs)(u.Z.Provider,{value:W,children:[M&&z&&(0,y.jsx)(m.W,{inert:(0,s.Y)(!N),cutout:V??B??U}),J]})})},77915:(e,t,n)=>{"use strict";n.d(t,{_:()=>v});var r=n(34023),i=n(91039),a=n(69370),o=n(37750),s=n(78406),l=n(92796),u=n(41118),d=n(28410),c=n(8551),f=n(78337),p=n(53668),h=n(59627),m=n(21708),g=n(94799);let v=r.forwardRef(function(e,t){let{render:n,className:v,style:y,finalFocus:b,...x}=e,{store:w}=(0,o.Y)(),{side:S,align:k}=(0,s.O)(),E=null!=(0,p.S)(!0),$=w.useState("open"),_=w.useState("transitionStatus"),C=w.useState("popupProps"),D=w.useState("mounted"),I=w.useState("instantType"),R=w.useState("activeTriggerElement"),T=w.useState("parent"),P=w.useState("lastOpenChangeReason"),O=w.useState("rootId"),A=w.useState("floatingRootContext"),j=w.useState("floatingTreeRoot"),z=w.useState("closeDelay"),N=w.useState("hoverEnabled"),M=w.useState("disabled"),L=w.useState("openMethod"),F="context-menu"===T.type;(0,d.v)({open:$,ref:w.context.popupRef,onComplete(){$&&w.context.onOpenChangeComplete?.(!0)}}),r.useEffect(()=>{function e(e){w.setOpen(!1,(0,c.d)(e.reason,e.domEvent))}return j.events.on("close",e),()=>{j.events.off("close",e)}},[j.events,w]),(0,i.a)(A,{enabled:N&&!M&&!F&&"menubar"!==T.type,closeDelay:z});let U=w.useStateSetter("popupElement"),B={transitionStatus:_,side:S,align:k,open:$,nested:"menu"===T.type,instant:I},V=(0,l.o)("div",e,{state:B,ref:[t,w.context.popupRef,U],stateAttributesMapping:u.LM,props:[C,{onKeyDown(e){E&&h.jF.has(e.key)&&e.stopPropagation()}},(0,m.d)(_),x,{"data-rootownerid":O}]}),Z=void 0===T.type||F;return(R||"menubar"===T.type&&P!==f.Np)&&(Z=!0),(0,g.jsx)(a.s,{context:A,openInteractionType:L,modal:F,disabled:!D,returnFocus:void 0===b?Z:b,initialFocus:"menu"!==T.type,restoreFocus:!0,externalTree:"menubar"!==T.type?j:void 0,previousFocusableElement:R,nextFocusableElement:void 0===T.type?w.context.triggerFocusTargetRef
65:void 0,beforeContentFocusGuardRef:void 0===T.type?w.context.beforeContentFocusGuardRef:void 0,children:V})})},77935:(e,t,n)=>{"use strict";n.d(t,{Ht:()=>s,jE:()=>o});var r=n(34023),i=n(94799),a=r.createContext(void 0),o=e=>{let t=r.useContext(a);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(a.Provider,{value:e,children:t}))},78337:(e,t,n)=>{"use strict";n.d(t,{Bo:()=>l,Dq:()=>g,F4:()=>o,L5:()=>$,LO:()=>b,N7:()=>a,Np:()=>s,QJ:()=>v,R0:()=>d,SR:()=>u,Ui:()=>i,Vh:()=>k,Wn:()=>y,Xn:()=>h,_J:()=>p,c:()=>S,dv:()=>r,jv:()=>m,p:()=>x,pf:()=>c,qs:()=>f,r9:()=>w,zJ:()=>E});let r="none",i="trigger-press",a="trigger-hover",o="trigger-focus",s="outside-press",l="item-press",u="close-press",d="clear-press",c="input-change",f="input-clear",p="input-press",h="focus-out",m="escape-key",g="list-navigation",v="keyboard",y="pointer",b="cancel-open",x="sibling-open",w="disabled",S="missing",k="initial",E="imperative-action",$="window-resize"},78406:(e,t,n)=>{"use strict";n.d(t,{O:()=>o,r:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(33));return t}},78512:(e,t,n)=>{"use strict";n.d(t,{N:()=>l});var r=n(34023),i=n(17069),a=n(34233),o=n(89360),s=n(94799);function l(e){let t=e+"CollectionProvider",[n,l]=(0,i.A)(t),[u,d]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:t,children:n}=e,i=r.useRef(null),a=r.useRef(new Map).current;return(0,s.jsx)(u,{scope:t,itemMap:a,collectionRef:i,children:n})};c.displayName=t;let f=e+"CollectionSlot",p=(0,o.TL)(f),h=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=d(f,n),o=(0,a.s)(t,i.collectionRef);return(0,s.jsx)(p,{ref:o,children:r})});h.displayName=f;let m=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,o.TL)(m),y=r.forwardRef((e,t)=>{let{scope:n,children:i,...o}=e,l=r.useRef(null),u=(0,a.s)(t,l),c=d(m,n);return r.useEffect(()=>(c.itemMap.set(l,{ref:l,...o}),()=>void c.itemMap.delete(l))),(0,s.jsx)(v,{...{[g]:""},ref:u,children:i})});return y.displayName=m,[{Provider:c,Slot:h,ItemSlot:y},function(t){let n=d(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},l]}var u=new WeakMap;function d(e,t){var n,r;let i,a,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(n=e,r=t,i=n.length,(o=(a=c(r))>=0?a:i+a)<0||o>=i?-1:o);return -1===s?void 0:e[s]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#F;constructor(e){super(e),this.#F=[...super.keys()],u.set(this,!0)}set(e,t){return u.get(this)&&(this.has(e)?this.#F[this.#F.indexOf(e)]=e:this.#F.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=this.#F.length,o=c(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,n),this;let u=this.size+ +!i;o<0&&s++;let d=[...this.#F],f=!1;for(let e=s;e<u;e++)if(s===e){let a=d[e];d[e]===t&&(a=d[e+1]),i&&this.delete(t),r=this.get(a),this.set(t,n)}else{f||d[e-1]!==t||(f=!0);let n=d[f?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#F.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#F.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#F.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#F.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#F=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#F.splice(this.#F.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(this.#F,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#F,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#F.indexOf(e)}keyAt(e){return d(this.#F,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
65}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}})},78525:(e,t,n)=>{e.exports=n(3351)()},78638:(e,t,n)=>{"use strict";function r(e){return e?.ownerDocument||document}n.d(t,{R:()=>r})},79130:(e,t,n)=>{"use strict";n.d(t,{GI:()=>o,h$:()=>s,hq:()=>a,uf:()=>i});var r=n(97057);function i(e,t,n){let i=null==n||(0,r.Go)(n)?"function"==typeof e?e():e:0;return"number"==typeof i?i:i?.[t]}function a(e){return"function"==typeof e?e():e}function o(e,t){return t||"click"===e||"mousedown"===e}function s(e){return e?.includes("mouse")&&"mousedown"!==e}},79141:(e,t,n)=>{"use strict";n.d(t,{Ai:()=>l,Gu:()=>s,Vz:()=>o,jd:()=>r,kJ:()=>a,tl:()=>i});let r=(e,t)=>Object.is(e,t);function i(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function a(e,t,n){return!!e&&0!==e.length&&e.some(e=>void 0!==e&&i(t,e,n))}function o(e,t,n){return e&&0!==e.length?e.findIndex(e=>void 0!==e&&i(e,t,n)):-1}function s(e,t,n,r){let i=o(e,r&&Array.isArray(t)?t[t.length-1]:t,n);return -1===i?null:i}function l(e,t,n){return e.filter(e=>!i(t,e,n))}},79342:(e,t,n)=>{"use strict";n.d(t,{EW:()=>o,RS:()=>i,gR:()=>a});var r=n(99097);function i(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function a(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function o(e){return"composedPath"in e?e.composedPath()[0]:e.target}},79381:(e,t,n)=>{"use strict";n.d(t,{K:()=>l});var r=n(34023),i=n(61332),a=n(63244),o=n(45351),s=n(94799);let l=r.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return(0,i.g)().useState("mounted")||n?(0,s.jsx)(a.$.Provider,{value:n,children:(0,s.jsx)(o.F,{ref:t,...r})}):null})},79415:(e,t,n)=>{"use strict";n.d(t,{E:()=>w});var r,i=n(34023),a=n(92796),o=n(24811),s=n(99097);function l(e){let t=(0,s.L9)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=(0,s.sb)(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:r;return((0,o.LI)(n)!==a||(0,o.LI)(r)!==l)&&(n=a,r=l),{width:n,height:r}}var u=n(71289),d=n(57936);function c(){return d.tE}function f(){return!1}function p(){return!0}var h=n(64988),m=n(94799);function g(e){let{script:t}=e,{nonce:n}=(0,h.n)();return(0,u.useSyncExternalStore)(c,f,p)?(0,m.jsx)("script",{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var v=n(83778),y=n(62025),b=n(8838);let x={...y.h,activeTabPosition:()=>null,activeTabSize:()=>null},w=i.forwardRef(function(e,t){let{className:n,render:o,renderBeforeHydration:s=!1,style:u,...d}=e,{getTabElementBySelectedValue:c,orientation:f,tabActivationDirection:p,value:h}=(0,v.z)(),{tabsListElement:y,registerIndicatorUpdateListener:w}=(0,b.b)(),S=function(){let[,e]=i.useState({});return i.useCallback(()=>{e({})},[])}();i.useEffect(()=>w(S),[w,S]);let k=0,E=0,$=0,_=0,C=0,D=0,I=!1;if(null!=h&&null!=y){let e=c(h);if(null!=e){I=!0;let{width:t,height:n}=l(e),{width:r,height:i}=l(y),a=e.getBoundingClientRect(),o=y.getBoundingClientRect(),s=r>0?o.width/r:1,u=i>0?o.height/i:1;if(s>Number.EPSILON&&u>Number.EPSILON){let e=a.left-o.left,t=a.top-o.top;k=e/s+y.scrollLeft-y.clientLeft,$=t/u+y.scrollTop-y.clientTop}else k=e.offsetLeft,$=e.offsetTop;C=t,D=n,E=y.scrollWidth-k-C,_=y.scrollHeight-$-D}}
65let R=I?{left:k,right:E,top:$,bottom:_}:null,T=I?{width:C,height:D}:null,P=I?{"--active-tab-left":`${k}px`,"--active-tab-right":`${E}px`,"--active-tab-top":`${$}px`,"--active-tab-bottom":`${_}px`,"--active-tab-width":`${C}px`,"--active-tab-height":`${D}px`}:void 0,O=I&&C>0&&D>0,A=(0,a.o)("span",e,{state:{orientation:f,activeTabPosition:R,activeTabSize:T,tabActivationDirection:p},ref:t,props:[{role:"presentation",style:P,hidden:!O},d,{suppressHydrationWarning:!0}],stateAttributesMapping:x});return null==h?null:(0,m.jsxs)(i.Fragment,{children:[A,s&&(r||(r=(0,m.jsx)(g,{script:""})))]})})},80254:(e,t,n)=>{"use strict";n.d(t,{bq:()=>o,sD:()=>a,wt:()=>s});var r=n(92030),i=n(69003);function a(e,t){if(!(0,i.Nf)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:(0,r.Ng)(n)?n.host:n.parentNode}return!1}let o=(e=document)=>{var t;if(!(0,i.Nf)())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(null==(t=n.shadowRoot)?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function s(e){return(0,i.Nf)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}},80668:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(34023);function i(e,t){let n=(0,r.useRef)(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}},80871:(e,t,n)=>{"use strict";n.d(t,{E:()=>v});var r=n(2049),i=n(19780);function a(e,t,n){return null!=t&&0>e.compare(t)||null!=n&&e.compare(n)>0}function o(e,t,n,r,i){let a={};for(let e in t)a[e]=Math.floor(t[e]/2),a[e]>0&&t[e]%2==0&&a[e]--;let o=s(e,t,n).subtract(a);return u(e,o,t,n,r,i)}function s(e,t,n,i,a){let o=e;return t.years?o=(0,r.D)(e):t.months?o=(0,r.wH)(e):t.weeks&&(o=(0,r.kq)(e,n)),u(e,o,t,n,i,a)}function l(e,t,n,r,i){let a={...t};a.days?a.days--:a.weeks?a.weeks--:a.months?a.months--:a.years&&a.years--;let o=s(e,t,n).subtract(a);return u(e,o,t,n,r,i)}function u(e,t,n,a,o,u){if(o&&e.compare(o)>=0){let e=(0,r.ZI)(t,s((0,i.gw)(o),n,a));e&&(t=e)}if(u&&0>=e.compare(u)){let e=(0,r.Py)(t,l((0,i.gw)(u),n,a));e&&(t=e)}return t}function d(e,t,n){if(t){let n=(0,r.ZI)(e,(0,i.gw)(t));n&&(e=n)}if(n){let t=(0,r.Py)(e,(0,i.gw)(n));t&&(e=t)}return e}function c(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}var f=n(40625),p=n(55241),h=n(15720),m=n(34023);function g(e){let t={...e};for(let n in e)t[n]=1;return t}function v(e){let{value:t,defaultValue:n,onChange:v,createCalendar:w,locale:S,visibleDuration:k={months:1},minValue:E,maxValue:$,..._}=e,[C,D]=(0,h.P)(t,n||null,v),[I,R]=(0,m.useState)(null),T="center";if(C&&C.start&&C.end){let e=o((0,i.gw)(C.start),k,S,E,$).add(k).subtract({days:1});C.end.compare(e)>0&&(T="start")}let P=(0,m.useRef)(null),[O,A]=(0,m.useState)(null),j=(0,m.useMemo)(()=>(0,r.ZI)(E,null==O?void 0:O.start),[E,O]),z=(0,m.useMemo)(()=>(0,r.Py)($,null==O?void 0:O.end),[$,O]),N=function(e){var t,n,v;let y=(0,m.useMemo)(()=>new(0,f.p)(e.locale),[e.locale]),b=(0,m.useMemo)(()=>y.resolvedOptions(),[y]),{locale:x,createCalendar:w,visibleDuration:S={months:1},minValue:k,maxValue:E,selectionAlignment:$,isDateUnavailable:_,pageBehavior:C="visible",firstDayOfWeek:D}=e,I=(0,m.useMemo)(()=>w(b.calendar),[w,b.calendar]),[R,T]=(0,h.P)(e.value,null!=(t=e.defaultValue)?t:null,e.onChange),P=(0,m.useMemo)(()=>R?(0,i.yP)((0,i.gw)(R),I):null,[R,I]),O=(0,m.useMemo)(()=>R&&"timeZone"in R?R.timeZone:b.timeZone,[R,b.timeZone]),A=(0,m.useMemo)(()=>e.focusedValue?d((0,i.yP)((0,i.gw)(e.focusedValue),I),k,E):void 0,[e.focusedValue,I,k,E]),j=(0,m.useMemo)(()=>d(e.defaultFocusedValue?(0,i.yP)((0,i.gw)(e.defaultFocusedValue),I):P||(0,i.yP)((0,r.Ec)(O),I),k,E),[e.defaultFocusedValue,P,O,I,k,E]),[z,N]=(0,h.P)(A,j,e.onFocusChange),[M,L]=(0,m.useState)(()=>{switch($){case"start":return s(z,S,x,k,E);case"end":return l(z,S,x,k,E);default:return o(z,S,x,k,E)}}),[F,U]=(0,m.useState)(e.autoFocus||!1),B=(0,m.useMemo)(()=>{let e={...S};return e.days?e.days--:e.days=-1,M.add(e)},[M,S]),[V,Z]=(0,m.useState)(I);if(!(0,r.Jg)(I,V)){let e=(0,i.yP)(z,I);L(o(e,S,x,k,E)),N(e),Z(I)}function K(e){N(e=d(e,k,E))}function q(t){if(!e.isDisabled&&!e.isReadOnly){let e=t;if(null===e)return void T(null);(e=c(e=d(e,k,E),M,_))&&(e=(0,i.yP)(e,(null==R?void 0:R.calendar)||new(0,p.FG)),R&&"hour"in R?T(R.set(e)):T(e))}}a(z,k,E)?N(d(z,k,E)):0>z.compare(M)?L(l(z,S,x,k,E)):z.compare(B)>0&&L(s(z,S,x,k,E));let W=(0,m.useMemo)(()=>!!P&&(!!(_&&_(P))||a(P,k,E)),[P,_,k,E]),G=e.isInvalid||"invalid"===e.validationState||W,H=(0,m.useMemo)(()=>"visible"===C?S:g(S),[C,S]);return{isDisabled:null!=(n=e.isDisabled)&&n,isReadOnly:null!=(v=e.isReadOnly)&&v,value:P,setValue:q,visibleRange:{start:M,end:B},minValue:k,maxValue:E,focusedDate:z,timeZone:O,validationState:G?"invalid":null,isValueInvalid:G,setFocusedDate(e){K(e),U(!0)},focusNextDay(){K(z.add({days:1}))},focusPreviousDay(){K(z.subtract({days:1}))},focusNextRow(){S.days?this.focusNextPage():(S.weeks||S.months||S.years)&&K(z.add({weeks:1}))},focusPreviousRow(){S.days?this.focusPreviousPage():(S.weeks||S.months||S.years)&&K(z.subtract({weeks:1}))},focusNextPage(){let e=M.add(H);N(d(z.add(H),k,E)),L(s(u(z,e,H,x,k,E),H,x))},focusPreviousPage(){let e=M.subtract(H);N(d(z.subtract(H),k,E)),L(s(u(z,e,H,x,k,E),H,x))},focusSectionStart(){S.days?K(M):S.weeks?K((0,r.kq)(z,x)):(S.months||S.years)&&K((0,r.wH)(z))},focusSectionEnd(){S.days?K(B):S.weeks?K((0,r.$I)(z,x)):(S.months||S.years)&&K((0,r.p9)(z))},focusNextSection(e){e||S.days?S.days?this.focusNextPage():S.weeks?K(z.add({months:1})):(S.months||S.years)&&K(z.add({years:1})):K(z.add(g(S)))},focusPreviousSection(e){e||S.days?S.days?this.focusPreviousPage():S.weeks?K(z.subtract({months:1})):(S.months||S.years)&&K(z.subtract({years:1})):K(z.subtract(g(S)))},selectFocusedDate(){_&&_(z)||q(z)},selectDate(e){q(e)},isFocused:F,setFocused:U,isInvalid:e=>a(e,k,E),isSelected(e){return null!=P&&(0,r.ro)(e,P)&&!this.isCellDisabled(e)&&!this.isCellUnavailable(e)},isCellFocused:e=>F&&z&&(0,r.ro)(e,z),isCellDisabled(t){return e.isDisabled||0>t.compare(M)||t.compare(B)>0||this.isInvalid(t)},isCellUnavailable:t=>!!e.isDateUnavailable&&e.isDateUnavailable(t),isPreviousVisibleRangeInvalid(){let e=M.subtract({days:1});return(0,r.ro)(e,M)||this.isInvalid(e)},isNextVisibleRangeInvalid(){let e=B.add({days:1});return(0,r.ro)(e,B)||this.isInvalid(e)},getDatesInWeek(e,t=M){let n=t.add({weeks:e}),i=[];n=(0,r.kq)(n,x,D);let a=(0,r.SJ)(n,x,D);for(let e=0;e<a;e++)i.push(null);for(;i.length<7;){i.push(n);let e=n.add({days:1});if((0,r.ro)(n,e))break;n=e}for(;i.length<7;)i.push(null);return i}}}({..._,value:C&&C.start,createCalendar:w,locale:S,visibleDuration:k,minValue:j,maxValue:z,selectionAlignment:e.selectionAlignment||T}),M=t=>{t&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(P.current={start:x(t,N,-1),end:x(t,N,1)},A(P.current)):(P.current=null,A(null))},[L,F]=(0,m.useState)(N.visibleRange);(0,r.NV)(N.visibleRange.start,L.start)&&(0,r.NV)(N.visibleRange.end,L.end)||(M(I),F(N.visibleRange));let U=e=>{e?(R(e),M(e)):(R(null),M(null))},B=I?y(I,N.focusedDate):C&&y(C.start,C.end),V=t=>{if(e.isReadOnly)return;let n=c(d(t,j,z),N.visibleRange.start,e.isDateUnavailable);if(n)if(I){let e=y(I,n);e&&D({start:b(e.start,null==C?void 0:C.start),end:b(e.end,null==C?void 0:C.end)}),U(null)}else U(n)},[Z,K]=(0,m.useState)(!1),{isDateUnavailable:q}=e,W=(0,m.useMemo)(()=>!!C&&!I&&(!!(q&&(q(C.start)||q(C.end)))||a(C.start,E,$)||a(C.end,E,$)),[q,C,I,E,$]),G=e.isInvalid||"invalid"===e.validationState||W;return{...N,value:C,setValue:D,anchorDate:I,setAnchorDate:U,highlightedRange:B,val
65idationState:G?"invalid":null,isValueInvalid:G,selectFocusedDate(){V(N.focusedDate)},selectDate:V,highlightDate(e){I&&N.setFocusedDate(e)},isSelected:e=>!!(B&&e.compare(B.start)>=0&&0>=e.compare(B.end)&&!N.isCellDisabled(e)&&!N.isCellUnavailable(e)),isInvalid(e){var t,n;return N.isInvalid(e)||a(e,null==(t=P.current)?void 0:t.start,null==(n=P.current)?void 0:n.end)},isDragging:Z,setDragging:K}}function y(e,t){return e&&t?(0>t.compare(e)&&([e,t]=[t,e]),{start:(0,i.gw)(e),end:(0,i.gw)(t)}):null}function b(e,t){return(e=(0,i.yP)(e,(null==t?void 0:t.calendar)||new(0,p.FG)),t&&"hour"in t)?t.set(e):e}function x(e,t,n){let r=e.add({days:n});for(;(n<0?r.compare(t.visibleRange.start)>=0:0>=r.compare(t.visibleRange.end))&&!t.isCellUnavailable(r);)r=r.add({days:n});if(t.isCellUnavailable(r))return r.add({days:-n})}},81360:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});let r=parseInt(n(34023).version,10);function i(e){return r>=e}},81646:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(34023),i=n(57936);let a=r.createContext({controlId:void 0,registerControlId:i.tE,labelId:void 0,setLabelId:i.tE,messageIds:[],setMessageIds:i.tE,getDescriptionProps:e=>e});function o(){return r.useContext(a)}},82312:(e,t,n)=>{"use strict";n.d(t,{j:()=>x});var r=n(34023),i=n(56742),a=n(49308),o=n(65736),s=n(78638),l=n(7366),u=n(96820),d=n(99097),c=n(8551),f=n(78337),p=n(58302),h=n(79342),m=n(97057),g=n(83271),v=n(79130),y=n(62165);let b={current:null};function x(e,t={}){let{enabled:n=!0,delay:w=0,handleClose:S=null,mouseOnly:k=!1,restMs:E=0,move:$=!0,triggerElementRef:_=b,externalTree:C,isActiveTrigger:D=!0,getHandleCloseContext:I,isClosing:R,shouldOpen:T,guardStaleOpen:P=!1}=t,O="rootStore"in e?e.rootStore:e,{dataRef:A,events:j}=O.context,z=(0,p.cq)(C),N=(0,g.uu)(O),M=r.useRef(!1),L=(0,u.u)(S),F=(0,u.u)(w),U=(0,u.u)(E),B=(0,u.u)(n),V=(0,u.u)(T),Z=(0,u.u)(R),K=(0,l.K)(()=>(0,v.GI)(A.current.openEvent?.type,N.interactedInside)),q=(0,l.K)(()=>V.current?.()!==!1),W=(0,l.K)((e,t,n)=>{let r=O.context.triggerElements;return r.hasElement(t)?!e||!(0,h.gR)(e,t):!!(0,d.vq)(n)&&r.hasMatchingElement(e=>(0,h.gR)(e,n))&&(!e||!(0,h.gR)(e,n))}),G=(0,l.K)(()=>{N.handler&&((0,s.R)(O.select("domReferenceElement")).removeEventListener("mousemove",N.handler),N.handler=void 0)}),H=(0,l.K)(()=>{(0,g.GH)(N)});return D&&(N.handleCloseOptions=L.current?.__options),r.useEffect(()=>G,[G]),r.useEffect(()=>{if(n)return j.on("openchange",e),()=>{j.off("openchange",e)};function e(e){e.open?M.current=!1:(M.current=e.reason===f.N7,G(),N.openChangeTimeout.clear(),N.restTimeout.clear(),N.blockMouseMove=!0,N.restTimeoutPending=!1)}},[n,j,N,G]),r.useEffect(()=>{if(!n)return;function e(t,n=!0){let r=(0,v.uf)(F.current,"close",N.pointerType);r?N.openChangeTimeout.start(r,()=>{O.setOpen(!1,(0,c.d)(f.N7,t)),z?.events.emit("floating.closed",t)}):n&&(N.openChangeTimeout.clear(),O.setOpen(!1,(0,c.d)(f.N7,t)),z?.events.emit("floating.closed",t))}let t=_.current??(D?O.select("domReferenceElement"):null);if(!(0,d.vq)(t))return;function r(e){if(N.openChangeTimeout.clear(),N.blockMouseMove=!1,k&&!(0,m.Go)(N.pointerType))return;let t=(0,v.hq)(U.current),n=(0,v.uf)(F.current,"open",N.pointerType),r=(0,h.EW)(e),i=e.currentTarget??null,a=O.select("domReferenceElement"),o=i;if((0,d.vq)(r)&&!O.context.triggerElements.hasElement(r)){for(let e of O.context.triggerElements.elements())if((0,h.gR)(e,r)){o=e;break}}(0,d.vq)(i)&&(0,d.vq)(a)&&!O.context.triggerElements.hasElement(i)&&(0,h.gR)(i,a)&&(o=a);let s=null!=o&&W(a,o,r),l=O.select("open"),u=Z.current?.()??"ending"===O.select("transitionStatus"),p=!l&&u&&M.current,g=!s&&(0,d.vq)(o)&&(0,d.vq)(a)&&(0,h.gR)(a,o)&&p,y=t>0&&!n,b=!l||s;if(s&&(l||p)||g){q()&&O.setOpen(!0,(0,c.d)(f.N7,e,o));return}!y&&(n?N.openChangeTimeout.start(n,()=>{b&&q()&&O.setOpen(!0,(0,c.d)(f.N7,e,o))}):b&&q()&&O.setOpen(!0,(0,c.d)(f.N7,e,o)))}function i(t){if(K())return void H();G();let n=O.select("domReferenceElement"),r=(0,s.R)(n);N.restTimeout.clear(),N.restTimeoutPending=!1;let i=A.current.floatingContext??I?.();if(!(0,y.Hi)(t.relatedTarget,O.context.triggerElements)){if(L.current&&i){O.select("open")||N.openChangeTimeout.clear();let n=_.current;N.handler=L.current({...i,tree:z,x:t.clientX,y:t.clientY,onClose(){H(),G(),B.current&&!K()&&n===O.select("domReferenceElement")&&e(t,!0)}}),r.addEventListener("mousemove",N.handler),N.handler(t);return}
65"touch"===N.pointerType&&(0,h.gR)(O.select("floatingElement"),t.relatedTarget)||e(t)}}let l=P?(0,a.q)(t,"mouseout",function(e){(0,h.gR)(t,e.relatedTarget)||(N.openChangeTimeout.clear(),N.restTimeout.clear(),N.restTimeoutPending=!1)}):void 0;return $?(0,o.g)((0,a.q)(t,"mousemove",r,{once:!0}),(0,a.q)(t,"mouseenter",r),(0,a.q)(t,"mouseleave",i),l):(0,o.g)((0,a.q)(t,"mouseenter",r),(0,a.q)(t,"mouseleave",i),l)},[G,H,A,F,O,n,L,N,D,W,K,k,$,U,_,z,B,I,Z,q,P]),r.useMemo(()=>{if(n)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,n=e.currentTarget,r=O.select("domReferenceElement"),a=O.select("open"),o=W(r,n,e.target);if(k&&!(0,m.Go)(N.pointerType))return;if(a&&o&&N.handleCloseOptions?.blockPointerEvents){let e=O.select("floatingElement");if(e){let t=N.handleCloseOptions?.getScope?.()??n.ownerDocument.body;(0,g.D8)(N,{scopeElement:t,referenceElement:n,floatingElement:e})}}let s=(0,v.hq)(U.current);function l(){if(N.restTimeoutPending=!1,K())return;let e=O.select("open");!N.blockMouseMove&&(!e||o)&&q()&&O.setOpen(!0,(0,c.d)(f.N7,t,n))}(!a||o)&&0!==s&&(!o&&N.restTimeoutPending&&e.movementX**2+e.movementY**2<2||(N.restTimeout.clear(),"touch"===N.pointerType?i.flushSync(()=>{l()}):o&&a?l():(N.restTimeoutPending=!0,N.restTimeout.start(s,l))))}};function e(e){N.pointerType=e.pointerType}},[n,N,K,W,k,O,U,q])}},82317:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,ER:()=>h,Ej:()=>g,UE:()=>y,UU:()=>m,cY:()=>f,jD:()=>v,we:()=>c});var r=n(83560),i=n(34023),a=n(56742),o="u">typeof document?i.useLayoutEffect:function(){};function s(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function d(e){let t=i.useRef(e);return o(()=>{t.current=e}),t}function c(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:c=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:v}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,w]=i.useState(c);s(x,c)||w(c);let[S,k]=i.useState(null),[E,$]=i.useState(null),_=i.useCallback(e=>{e!==R.current&&(R.current=e,k(e))},[]),C=i.useCallback(e=>{e!==T.current&&(T.current=e,$(e))},[]),D=p||S,I=h||E,R=i.useRef(null),T=i.useRef(null),P=i.useRef(y),O=null!=g,A=d(g),j=d(f),z=d(v),N=i.useCallback(()=>{if(!R.current||!T.current)return;let e={placement:t,strategy:n,middleware:x};j.current&&(e.platform=j.current),(0,r.rD)(R.current,T.current,e).then(e=>{let t={...e,isPositioned:!1!==z.current};M.current&&!s(P.current,t)&&(P.current=t,a.flushSync(()=>{b(t)}))})},[x,t,n,j,z]);o(()=>{!1===v&&P.current.isPositioned&&(P.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let M=i.useRef(!1);o(()=>(M.current=!0,()=>{M.current=!1}),[]),o(()=>{if(D&&(R.current=D),I&&(T.current=I),D&&I){if(A.current)return A.current(D,I,N);N()}},[D,I,N,A,O]);let L=i.useMemo(()=>({reference:R,floating:T,setReference:_,setFloating:C}),[_,C]),F=i.useMemo(()=>({reference:D,floating:I}),[D,I]),U=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=u(F.floating,y.x),r=u(F.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,F.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:N,refs:L,elements:F,floatingStyles:U}),[y,N,L,F,U])}let f=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),m=(e,t)=>
65{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(0,r.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}}},82391:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(57936);let i=0;function a(e,t={}){let{preventScroll:n=!1,sync:o=!1,shouldFocus:s}=t;function l(){(!s||s())&&e?.focus({preventScroll:n})}if(cancelAnimationFrame(i),o)return l(),r.tE;let u=requestAnimationFrame(l);return i=u,()=>{i===u&&(cancelAnimationFrame(u),i=0)}}},82669:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"u">typeof window&&window.document&&window.document.createElement},82780:(e,t,n)=>{"use strict";n.d(t,{K:()=>y});var r=n(99097),i=n(49308),a=n(64441),o=n(7217),s=n(78638),l=n(88018),u=n(30417),d=n(53451);let c={},f={},p="";function h(e,t){return(0,r.ZU)(e)?e:t}function m(e,t,n){return/hidden|clip/.test(e.getComputedStyle(h(t,n)).overflowY)}class g{acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}lock(e){let t,n,l;if(0===this.lockCount||null!==this.restore)return;let u=(0,s.R)(e),g=u.documentElement,v=u.body,y=(0,r.zk)(g);if(m(y,g,v)){let t=new y.MutationObserver(()=>{m(y,g,v)||(t.disconnect(),this.restore=null,this.lock(e))}),n={attributes:!0};t.observe(g,n),t.observe(v,n),this.restore=()=>t.disconnect();return}let b=o.s4||!function(e){if("u"<typeof document)return!1;let t=(0,s.R)(e);return(0,r.zk)(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=b?(l={overflowY:(n=h((t=(0,s.R)(e)).documentElement,t.body)).style.overflowY,overflowX:n.style.overflowX},Object.assign(n.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(n.style,l)}):function(e){let t=(0,s.R)(e),n=t.documentElement,o=t.body,l=(0,r.zk)(n),u=0,m=0,g=!1,v=d.KP.create();if(a.Fp&&(l.visualViewport?.scale??1)!==1)return()=>{};function y(){let t=l.getComputedStyle(n),r=l.getComputedStyle(o),i=(t.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";u=n.scrollTop,m=n.scrollLeft,c={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},p=n.style.scrollBehavior,f={position:o.style.position,height:o.style.height,width:o.style.width,boxSizing:o.style.boxSizing,overflowY:o.style.overflowY,overflowX:o.style.overflowX,scrollBehavior:o.style.scrollBehavior};let a=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,v="scroll"===t.overflowY||"scroll"===r.overflowY,y="scroll"===t.overflowX||"scroll"===r.overflowX,b=Math.max(0,l.innerWidth-o.clientWidth),x=Math.max(0,l.innerHe
65ight-o.clientHeight),w=parseFloat(r.marginTop)+parseFloat(r.marginBottom),S=parseFloat(r.marginLeft)+parseFloat(r.marginRight),k=h(n,o);if(g=function(e){if(!("u">typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"u"<typeof document)return!1;let t=(0,s.R)(e),n=t.documentElement,r=h(n,t.body),i=r.style.overflowY,a=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",r.style.overflowY="scroll";let o=r.offsetWidth;r.style.overflowY="hidden";let l=r.offsetWidth;return r.style.overflowY=i,n.style.scrollbarGutter=a,o===l}(e)){n.style.scrollbarGutter=i,k.style.overflowY="hidden",k.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:i,overflowY:"hidden",overflowX:"hidden"}),(a||v)&&(n.style.overflowY="scroll"),(d||y)&&(n.style.overflowX="scroll"),Object.assign(o.style,{position:"relative",height:w||x?`calc(100dvh - ${w+x}px)`:"100dvh",width:S||b?`calc(100vw - ${S+b}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),o.scrollTop=u,o.scrollLeft=m,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function b(){Object.assign(n.style,c),Object.assign(o.style,f),g||(n.scrollTop=u,n.scrollLeft=m,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=p)}y();let x=(0,i.q)(l,"resize",function(){b(),v.request(y)});return()=>{v.cancel(),b(),"function"==typeof l.removeEventListener&&x()}}(e)}constructor(){this.lockCount=0,this.restore=null,this.timeoutLock=u.E.create(),this.timeoutUnlock=u.E.create(),this.release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)},this.unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)}}}let v=new g;function y(e=!0,t=null){(0,l.g)(()=>{if(e)return v.acquire(t)},[e,t])}},83271:(e,t,n)=>{"use strict";n.d(t,{D8:()=>u,GH:()=>l,uu:()=>d});var r=n(53158),i=n(45753),a=n(30417);class o{constructor(){this.dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()},this.disposeEffect=()=>this.dispose,this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new a.E,this.restTimeout=new a.E,this.handleCloseOptions=void 0}static create(){return new o}}let s=new WeakMap;function l(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&s.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),s.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function u(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,a=s.get(n);a&&a!==e&&l(a),l(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,s.set(n,e),n.style.pointerEvents="none",r.style.pointerEvents="auto",i.style.pointerEvents="auto"}function d(e){let t=e.context.dataRef.current,n=(0,i.j)(()=>t.hoverInteractionState??o.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),(0,r.y)(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}},83280:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(26427),i=n(52883);function a(e,t,n){var a;let o=((0,i.a)(e)-(0,i.a)(t))/r.Cg;return(a=n?.roundingMethod,e=>{let t=(a?Math[a]:Math.trunc)(e);return 0===t?0:t})(o)}},83435:(e,t,n)=>{"use strict";n.d(t,{s:()=>x});var r=n(34023),i=n(49308),a=n(65736),o=n(78638),s=n(7366),l=n(30417),u=n(99097),d=n(64441),c=n(58302),f=n(8551),p=n(78337),h=n(63389),m=n(62165),g=n(79342),v=n(97057),y=n(64014);function b(){return!1}function x(e,t={}){let{enabled:n=!0,escapeKey:w=!0,outsidePress:S=!0,outsidePressEvent:k="sloppy",referencePress:E=b,bubbles:$,externalTree:_}=t,C="rootStore"in e?e.rootStore:e,D=C.useState("open"),I=C.useState("floatingElement"),{dataRef:R}
65=C.context,T=(0,c.cq)(_),P=(0,s.K)("function"==typeof S?S:()=>!1),O="function"==typeof S?P:S,A=!1!==O,j=(0,s.K)(()=>k),{escapeKey:z,outsidePress:N}={escapeKey:"boolean"==typeof $?$:$?.escapeKey??!1,outsidePress:"boolean"==typeof $?$:$?.outsidePress??!0},M=r.useRef(!1),L=r.useRef(!1),F=r.useRef(!1),U=r.useRef(!1),B=r.useRef(""),V=r.useRef(null),Z=(0,l.Z)(),K=(0,l.Z)(),q=(0,s.K)(()=>{K.clear(),R.current.insideReactTree=!1}),W=(0,s.K)(e=>{let t=R.current.floatingContext?.nodeId;return(T?(0,y.CM)(T.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),G=(0,s.K)(e=>(0,m.F2)(e,C.select("floatingElement"))||(0,m.F2)(e,C.select("domReferenceElement"))),H=(0,s.K)(e=>{E()&&C.setOpen(!1,(0,f.d)(p.Ui,e.nativeEvent))}),J=(0,s.K)(e=>{if(!D||!n||!w||"Escape"!==e.key||U.current||!z&&W("__escapeKeyBubbles"))return;let t=(0,v.O_)(e)?e.nativeEvent:e,r=(0,f.d)(p.jv,t);C.setOpen(!1,r),r.isCanceled||e.preventDefault(),z||r.isPropagationAllowed||e.stopPropagation()}),Y=(0,s.K)(()=>{R.current.insideReactTree=!0,K.start(0,q)}),X=(0,s.K)(e=>{if(!D||!n||0!==e.button)return;let t=(0,g.EW)(e.nativeEvent);(0,g.gR)(C.select("floatingElement"),t)&&(M.current||(M.current=!0,L.current=!1))}),Q=(0,s.K)(e=>{!D||!n||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&M.current&&(L.current=!0)});r.useEffect(()=>{if(!D||!n)return q;R.current.__escapeKeyBubbles=z,R.current.__outsidePressBubbles=N;let e=new l.E,t=new l.E;function r(){F.current=!0,t.start(0,()=>{F.current=!1})}function s(){M.current=!1,L.current=!1}function c(){let e=B.current,t=j(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function v(e){let t=R.current.floatingContext?.nodeId,n=T&&(0,y.CM)(T.nodesRef.current,t).some(t=>(0,m.F2)(e,t.context?.elements.floating));return G(e)||n}function b(e){let n;if("intentional"===(n=c())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||G(e)||(t.clear(),F.current=!1),q();return}if(R.current.insideReactTree)return void q();let r=(0,g.EW)(e),i=`[${(0,h.F)("inert")}]`,a=(0,u.vq)(r)?r.getRootNode():null,s=Array.from(((0,u.Ng)(a)?a:(0,o.R)(C.select("floatingElement"))).querySelectorAll(i)),l=C.context.triggerElements;if(r&&(l.hasElement(r)||l.hasMatchingElement(e=>(0,g.gR)(e,r))))return;let d=(0,u.vq)(r)?r:null;for(;d&&!(0,u.eu)(d);){let e=(0,u.$4)(d);if((0,u.eu)(e)||!(0,u.vq)(e))break;d=e}if(!(s.length&&(0,u.vq)(r)&&!(0,m.tZ)(r)&&!(0,g.gR)(r,C.select("floatingElement"))&&s.every(e=>!(0,g.gR)(d,e)))){if((0,u.sb)(r)&&!("touches"in e)){let t=(0,u.eu)(r),n=(0,u.L9)(r),i=/auto|scroll/,a=t||i.test(n.overflowX),o=t||i.test(n.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,l=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,d="rtl"===n.direction,c=l&&(d?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),f=s&&e.offsetY>r.clientHeight;if(c||f)return}if(!v(e)){if("intentional"===c()&&F.current){t.clear(),F.current=!1;return}"function"==typeof O&&!O(e)||W("__outsidePressBubbles")||(C.setOpen(!1,(0,f.d)(p.Np,e)),q())}}}function x(e){if("sloppy"!==c()||!C.select("open")||!n||G(e))return;let t=e.touches[0];t&&(V.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},Z.start(1e3,()=>{V.current&&(V.current.dismissOnTouchEnd=!1,V.current.dismissOnMouseDown=!1)}))}function S(e,t){let n=(0,g.EW)(e);if(!n)return;let r=(0,i.q)(n,e.type,()=>{t(e),r()})}function k(e){Z.clear(),"pointerdown"===e.type&&(B.current=e.pointerType),("mousedown"!==e.type||!V.current||V.current.dismissOnMouseDown)&&S(e,e=>{if("pointerdown"===e.type)"sloppy"!==c()||"touch"===e.pointerType||!C.select("open")||!n||G(e)||b(e);else b(e)})}function E(e){if(!M.current)return;let n=L.current;if(s(),"intentional"===c()){if("pointercancel"===e.type){n&&r();return}v(e)||(n?r():("function"!=typeof O||O(e))&&(t.clear(),F.current=!0,q()))}}function $(e){if("sloppy"!==c()||!V.current||G(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-V.current.startX),r=Math.abs(t.clientY-V.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(V.current.dismissOnTouchEnd=!0),i>
6510&&(b(e),Z.clear(),V.current=null)}function _(e){"sloppy"!==c()||!V.current||G(e)||(V.current.dismissOnTouchEnd&&b(e),Z.clear(),V.current=null)}let P=(0,o.R)(I),K=(0,a.g)(w&&(0,a.g)((0,i.q)(P,"keydown",J),(0,i.q)(P,"compositionstart",function(){e.clear(),U.current=!0}),(0,i.q)(P,"compositionend",function(){e.start(5*!!d.Fp,()=>{U.current=!1})})),A&&(0,a.g)((0,i.q)(P,"click",k,!0),(0,i.q)(P,"pointerdown",k,!0),(0,i.q)(P,"pointerup",E,!0),(0,i.q)(P,"pointercancel",E,!0),(0,i.q)(P,"mousedown",k,!0),(0,i.q)(P,"mouseup",E,!0),(0,i.q)(P,"touchstart",function(e){B.current="touch",S(e,x)},!0),(0,i.q)(P,"touchmove",function(e){S(e,$)},!0),(0,i.q)(P,"touchend",function(e){S(e,_)},!0)));return()=>{K(),e.clear(),t.clear(),s(),F.current=!1,q()}},[R,I,w,A,O,D,n,z,N,J,q,j,W,G,T,C,Z]);let ee=r.useMemo(()=>({onKeyDown:J,onPointerDown:H,onClick:H}),[J,H]),et=r.useMemo(()=>({onKeyDown:J,onPointerDown:Q,onMouseDown:Q,onClickCapture:Y,onMouseDownCapture(e){Y(),X(e)},onPointerDownCapture(e){Y(),X(e)},onMouseUpCapture:Y,onTouchEndCapture:Y,onTouchMoveCapture:Y}),[J,Y,X,Q]);return r.useMemo(()=>n?{reference:ee,floating:et,trigger:ee}:{},[n,ee,et])}},83560:(e,t,n)=>{"use strict";n.d(t,{UE:()=>O,ll:()=>C,rD:()=>j,UU:()=>R,jD:()=>P,ER:()=>A,cY:()=>D,iD:()=>$,BN:()=>I,Ej:()=>T});var r=n(24811);function i(e,t,n){let i,{reference:a,floating:o}=e,s=(0,r.TV)(t),l=(0,r.Dz)(t),u=(0,r.sq)(l),d=(0,r.C0)(t),c=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,p=a[u]/2-o[u]/2;switch(d){case"top":i={x:c,y:a.y-o.height};break;case"bottom":i={x:c,y:a.y+a.height};break;case"right":i={x:a.x+a.width,y:f};break;case"left":i={x:a.x-o.width,y:f};break;default:i={x:a.x,y:a.y}}let h=(0,r.Sg)(t);return h&&(i[l]+=p*("end"===h?1:-1)*(n&&"y"===s?-1:1)),i}async function a(e,t){var n;void 0===t&&(t={});let{x:i,y:a,platform:o,rects:s,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),g=l[p?"floating"===f?"reference":"floating":f],v=(0,r.B1)(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:d,rootBoundary:c,strategy:u})),y="floating"===f?{x:i,y:a,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),x=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},w=(0,r.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-w.top+m.top)/x.y,bottom:(w.bottom-v.bottom+m.bottom)/x.y,left:(v.left-w.left+m.left)/x.x,right:(w.right-v.right+m.right)/x.x}}let o=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:a},d=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=i(c,r,d),h=r,m=0,g={};for(let n=0;n<s.length;n++){let a=s[n];if(!a)continue;let{name:v,fn:y}=a,{x:b,y:x,data:w,reset:S}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:g,rects:c,platform:u,elements:{reference:e,floating:t}});f=null!=b?b:f,p=null!=x?x:p,g[v]={...g[v],...w},S&&m<50&&(m++,"object"==typeof S&&(S.placement&&(h=S.placement),S.rects&&(c=!0===S.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:p}=i(c,h,d)),n=-1)}return{x:f,y:p,placement:h,strategy:o,middlewareData:g}};function s(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function l(e){return r.r_.some(t=>e[t]>=0)}let u=new Set(["left","top"]);async function d(e,t){let{placement:n,platform:i,elements:a}=e,o=await (null==i.isRTL?void 0:i.isRTL(a.floating)),s=(0,r.C0)(n),l=(0,r.Sg)(n),d="y"===(0,r.TV)(n),c=u.has(s)?-1:1,f=o&&d?-1:1,p=(0,r._3)(t,e),{mainAxis:h,crossAxis:m,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
vendor: 8,128 bytes, line 65
65:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof g&&(m="end"===l?-1*g:g),d?{x:m*f,y:h*c}:{x:h*c,y:m*f}}var c=n(99097);function f(e){let t=(0,c.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=(0,c.sb)(e),o=a?e.offsetWidth:n,s=a?e.offsetHeight:i,l=(0,r.LI)(n)!==o||(0,r.LI)(i)!==s;return l&&(n=o,i=s),{width:n,height:i,$:l}}function p(e){return(0,c.vq)(e)?e:e.contextElement}function h(e){let t=p(e);if(!(0,c.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:i,height:a,$:o}=f(t),s=(o?(0,r.LI)(n.width):n.width)/i,l=(o?(0,r.LI)(n.height):n.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let m=(0,r.Jx)(0);function g(e){let t=(0,c.zk)(e);return(0,c.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:m}function v(e,t,n,i){var a;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),s=p(e),l=(0,r.Jx)(1);t&&(i?(0,c.vq)(i)&&(l=h(i)):l=h(e));let u=(void 0===(a=n)&&(a=!1),i&&a&&i===(0,c.zk)(s))?g(s):(0,r.Jx)(0),d=(o.left+u.x)/l.x,f=(o.top+u.y)/l.y,m=o.width/l.x,v=o.height/l.y;if(s&&i){let e=(0,c.zk)(s),t=(0,c.vq)(i)?(0,c.zk)(i):i,n=e,r=(0,c._m)(n);for(;r&&t!==n;){let e=h(r),t=r.getBoundingClientRect(),i=(0,c.L9)(r),a=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;d*=e.x,f*=e.y,m*=e.x,v*=e.y,d+=a,f+=o,n=(0,c.zk)(r),r=(0,c._m)(n)}}return(0,r.B1)({width:m,height:v,x:d,y:f})}function y(e,t){let n=(0,c.CP)(e).scrollLeft;return t?t.left+n:v((0,c.ep)(e)).left+n}function b(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-y(e,n),y:n.top+t.scrollTop}}function x(e,t,n){var i;let a;if("viewport"===t||"layoutViewport"===t)a=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,c.zk)(e),a=(0,c.ep)(e),o=i.visualViewport,s=a.clientWidth,l=a.clientHeight,u=0,d=0;if(o){let e=!(0,c.Tc)()||"fixed"===t;r?e||(u=-o.offsetLeft,d=-o.offsetTop):(s=o.width,l=o.height,e&&(u=o.offsetLeft,d=o.offsetTop))}if(0>=y(a)){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o="stable both-edges"===getComputedStyle(a).scrollbarGutter?i/2:i;o<=25&&(s-=o)}return{width:s,height:l,x:u,y:d}}(e,n,t);else if("document"===t){let t,n,o,s,l,u;i=(0,c.ep)(e),t=(0,c.CP)(i),n=i.ownerDocument.body,o=(0,r.T9)(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),s=(0,r.T9)(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),l=-t.scrollLeft+y(i),u=-t.scrollTop,"rtl"===(0,c.L9)(n).direction&&(l+=(0,r.T9)(i.clientWidth,n.clientWidth)-o),a={width:o,height:s,x:l,y:u}}else if((0,c.vq)(t)){let e,r,i,o,s,l;r=(e=v(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,o=h(t),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a={width:s,height:l,x:i*o.x,y:r*o.y}}else{let n=g(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(a)}function w(e){return"static"===(0,c.L9)(e).position}function S(e,t){if(!(0,c.sb)(e)||"fixed"===(0,c.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.ep)(e)===n&&(n=n.ownerDocument.body),n}function k(e,t){let n=(0,c.zk)(e);if((0,c.Tf)(e))return n;if(!(0,c.sb)(e)){let t=(0,c.$4)(e);for(;t&&!(0,c.eu)(t);){if((0,c.vq)(t)&&!w(t))return t;t=(0,c.$4)(t)}return n}let r=S(e,t);for(;r&&(0,c.Lv)(r)&&w(r);)r=S(r,t);return r&&(0,c.eu)(r)&&w(r)&&!(0,c.sQ)(r)?n:r||(0,c.gJ)(e)||n}let E=async function(e){let t=this.getOffsetParent||k,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,c.sb)(t),a=(0,c.ep)(t),o="fixed"===n,s=v(e,!0,o,t),l={scrollLeft:0,scrollTop:0},u=(0,r.Jx)(0);if((i||!o)&&(("body"!==(0,c.mq)(t)||(0,c.ZU)(a))&&(l=(0,c.CP)(t)),i)){let e=v(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}!i&&a&&(u.x=y(a));let d=!a||i||o?(0,r.Jx)(0):b(a,l);return{x:s.left+l.scrollLeft-u.x-d.x,y:s.top+l.scrollTop-u.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},$={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:a}=e,o="fixed"===a,s=(0,c.ep)(i),l=!!t&&(0,c.Tf)(t.floating);if(i===s||l&&o)return n;let u={scrollLeft:0,scrollTop:0},d=(0,r.Jx)(1),f=(0,r.Jx)(0),p=(0,c.sb)(i);if((p||!o)&&(("body"!==(0,c.mq)(i)||(0,c.ZU)(s))&&(u=(0,c.CP)(i)),p)){let e=v(i);d=h(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}let m=!s||p||o?(0,r.Jx)(0):b(s,u);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+f.x+m.x,y:n.y*d.y-u.scrollTop*d.y+f.y+m.y}},getDocumentElement:c.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e,o=[..."clippingAncestors"===n?(0,c.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,c.v9)(e,[],!1).filter(e=>(0,c.vq)(e)&&"body"!==(0,c.mq)(e)),i=null,a="fixed"===(0,c.L9)(e).position,o=a?(0,c.$4)(e):e;for(;(0,c.vq)(o)&&!(0,c.eu)(o);){let e=(0,c.L9)(o),t=(0,c.sQ)(o),n=i?i.position:a?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==o),o=(0,c.$4)(o)}return t.set(e,r),r}(t,this._c):[].concat(n),i],s=x(t,o[0],a),l=s.top,u=s.right,d=s.bottom,f=s.left;for(let e=1;e<o.length;e++){let n=x(t,o[e],a);l=(0,r.T9)(n.top,l),u=(0,r.jk)(n.right,u),d=(0,r.jk)(n.bottom,d),f=(0,r.T9)(n.left,f)}return{width:u-f,height:d-l,x:f,y:l}},getOffsetParent:k,getElementRects:E,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=f(e);return{width:t,height:n}},getScale:h,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function _(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function C(e,t,n,i){let a;void 0===i&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,f=p(e),h=o||s?[...f?(0,c.v9)(f):[],...t?(0,c.v9)(t):[]]:[];h.forEach(e=>{o&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)});let m=f&&u?function(e,t,n){let i,a=null,o=(0,c.ep)(e);function s(){var e;clearTimeout(i),null==(e=a)||e.disconnect(),a=null}function l(n,u){void 0===n&&(n=!1),void 0===u&&(u=1),s();let d=e.getBoundingClientRect(),{left:c,top:f,width:p,height:h}=d;if(n||t(),!p||!h)return;let m={rootMargin:-(0,r.RI)(f)+"px "+-(0,r.RI)(o.clientWidth-(c+p))+"px "+-(0,r.RI)(o.clientHeight-(f+h))+"px "+-(0,r.RI)(c)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,u))||1},g=!0;function v(t){let n=t[0].intersectionRatio;if(!_(d,e.getBoundingClientRect()))return l();if(n!==u){if(!g)return l();n?l(!1,n):i=setTimeout(()=>{l(!1,1e-7)},1e3)}g=!1}try{a=new IntersectionObserver(v,{...m,root:o.ownerDocument})}catch(e){a=new IntersectionObserver(v,m)}a.observe(e)}let u=(0,c.zk)(e),d=()=>l(n);return u.addEventListener("resize",d),l(!0),()=>{u.removeEventListener("resize",d),s()}}(f,n,s):null,g=-1,y=null;l&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),f&&!d&&y.observe(f),t&&y.observe(t));let b=d?v(e):null;return d&&function t(){let r=v(e);b&&!_(b,r)&&n(),b=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(a)}}let D=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:a,placement:o,middlewareData:s}=t,l=await d(t,e);return o===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},I=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:a,platform:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=(0,r._3)(e,t),c={x:n,y:i},f=await o.detectOverflow(t,d),p=(0,r.TV)(a),h=(0,r.PG)(p),m=c[h],g=c[p],v=(e,t)=>
65(0,r.qE)(t+f["y"===e?"top":"left"],t,t-f["y"===e?"bottom":"right"]);s&&(m=v(h,m)),l&&(g=v(p,g));let y=u.fn({...t,[h]:m,[p]:g});return{...y,data:{x:y.x-n,y:y.y-i,enabled:{[h]:s,[p]:l}}}}}},R=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,a,o,s;let{placement:l,middlewareData:u,rects:d,initialPlacement:c,platform:f,elements:p}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...x}=(0,r._3)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let w=(0,r.C0)(l),S=(0,r.TV)(c),k=(0,r.C0)(c)===c,E=await (null==f.isRTL?void 0:f.isRTL(p.floating)),$=g||(k||!b?[(0,r.bV)(c)]:(0,r.WJ)(c)),_="none"!==y;!g&&_&&$.push(...(0,r.lP)(c,b,y,E));let C=[c,...$],D=await f.detectOverflow(t,x),I=[],R=(null==(i=u.flip)?void 0:i.overflows)||[];if(h&&I.push(D[w]),m){let e=(0,r.w7)(l,d,E);I.push(D[e[0]],D[e[1]])}if(R=[...R,{placement:l,overflows:I}],!I.every(e=>e<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=C[e];if(t&&("alignment"!==m||S===(0,r.TV)(t)||R.every(e=>(0,r.TV)(e.placement)!==S||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let n=null==(o=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(v){case"bestFit":{let e=null==(s=R.filter(e=>{if(_){let t=(0,r.TV)(e.placement);return t===S||"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:s[0];e&&(n=e);break}case"initialPlacement":n=c}if(l!==n)return{reset:{placement:n}}}return{}}}},T=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i,{placement:a,rects:o,platform:s,elements:l}=t,{apply:u=()=>{},...d}=(0,r._3)(e,t),c=await s.detectOverflow(t,d),f=(0,r.C0)(a),p=(0,r.Sg)(a),h="y"===(0,r.TV)(a),{width:m,height:g}=o.floating;"top"===f||"bottom"===f?(n=f,i=p===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(i=f,n="end"===p?"top":"bottom");let v=g-c.top-c.bottom,y=m-c.left-c.right,b=(0,r.jk)(g-c[n],v),x=(0,r.jk)(m-c[i],y),w=t.middlewareData.shift,S=!w,k=b,E=x;null!=w&&w.enabled.x&&(E=y),null!=w&&w.enabled.y&&(k=v),S&&!p&&(h?E=m-2*(0,r.T9)(c.left,c.right):k=g-2*(0,r.T9)(c.top,c.bottom)),await u({...t,availableWidth:E,availableHeight:k});let $=await s.getDimensions(l.floating);return m!==$.width||g!==$.height?{reset:{rects:!0}}:{}}}},P=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:a="referenceHidden",...o}=(0,r._3)(e,t);switch(a){case"referenceHidden":{let e=s(await i.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=s(await i.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},O=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:a,rects:o,platform:s,elements:l,middlewareData:u}=t,{element:d,padding:c=0}=(0,r._3)(e,t)||{};if(null==d)return{};let f=(0,r.nI)(c),p={x:n,y:i},h=(0,r.Dz)(a),m=(0,r.sq)(h),g=await s.getDimensions(d),v="y"===h,y=v?"clientHeight":"clientWidth",b=o.reference[m]+o.reference[h]-p[h]-o.floating[m],x=p[h]-o.reference[h],w=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),S=w?w[y]:0;S&&await (null==s.isElement?void 0:s.isElement(w))||(S=l.floating[y]||o.floating[m]);let k=S/2-g[m]/2-1,E=(0,r.jk)(f[v?"top":"left"],k),$=(0,r.jk)(f[v?"bottom":"right"],k),_=S-g[m]-$,C=S/2-g[m]/2+(b/2-x/2),D=(0,r.qE)(E,C,_),I=!u.arrow&&null!=(0,r.Sg)(a)&&C!==D&&o.reference[m]/2-(C<E?E:$)-g[m]/2<0,R=I?C<E?C-E:C-_:0;return{[h]:p[h]+R,data:{[h]:D,centerOffset:C-D-R,...I&&{alignmentOffset:R}},reset:I}}}),A=function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i,a,o;let{x:s,y:l,placement:d,rects:c,middlewareData:f}=t,{offset:p=0,mainAxis:h=!0,crossAxis:m=!0}=(0,r._3)(e,t),g={x:s,y:l},v=(0,r.TV)(d),y=(0,r.PG)(v),b=g[y],x=g[v],w=(0,r._3)(p,t),S="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:null!=(n=w.mainAxis)?n:0,crossAxis:null!=(i=w.crossAxis)?i:0};if(h){let e="y"===y?"height":"width",t=c.reference[y]-c.floating[e]+S.mainAxis,n=c.reference[y]+c.reference[e]-S.mainAxis;b<t?b=t:b>n&&(b=n)}if(m){let e="y"===y?"width":"height",t=u.has((0,r.C0)(d)),n=c.reference[v]-c.floating[e]+(t&&(null==(a=f.offset)?void 0:a[v])||0)+(t?0:S.crossAxis),i=c.reference[v]+c.reference[e]+(t?0:(null==(o=f.offset)?void 0:o[v])||0)-(t?S.crossAxis:0);x<n?x=n:x>i&&(x=i)}return{[y]:b,[v]:x}}}},j=(e,t,n)=>{let r=new Map,i=null!=n?n:{},a={...$,...i.platform,_c:r};return o(e,t,{...i,platform:a})}},83778:(e,t,n)=>{"use strict";n.d(t,{G:()=>a,z:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(void 0===e)throw Error((0,r.A)(64));return e}}
65,84412:(e,t,n)=>{"use strict";let r;n.d(t,{K7:()=>C,ME:()=>$,pP:()=>E});var i=n(39416),a=n(52276),o=n(57769),s=n(26642),l=n(92030),u=n(34023);let d=null,c=new Set,f=new Map,p=!1,h=!1,m={Tab:!0,Escape:!0};function g(e,t){for(let n of c)n(e,t)}function v(e){p=!0,o.Fe.isOpening||e.metaKey||!(0,a.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(d="keyboard",g("keyboard",e))}function y(e){d="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(p=!0,g("pointer",e))}function b(e){!o.Fe.isOpening&&(0,s.Y)(e)&&(p=!0,d="virtual")}function x(e){e.target!==window&&e.target!==document&&!i.lR&&e.isTrusted&&(p||h||(d="virtual",g("virtual",e)),p=!1,h=!1)}function w(){i.lR||(p=!1,h=!0)}function S(e){if("u"<typeof window||"u"<typeof document||f.get((0,l.mD)(e)))return;let t=(0,l.mD)(e),n=(0,l.TW)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){p=!0,r.apply(this,arguments)},n.addEventListener("keydown",v,!0),n.addEventListener("keyup",v,!0),n.addEventListener("click",b,!0),t.addEventListener("focus",x,!0),t.addEventListener("blur",w,!1),"u">typeof PointerEvent&&(n.addEventListener("pointerdown",y,!0),n.addEventListener("pointermove",y,!0),n.addEventListener("pointerup",y,!0)),t.addEventListener("beforeunload",()=>{k(e)},{once:!0}),f.set(t,{focus:r})}let k=(e,t)=>{let n=(0,l.mD)(e),r=(0,l.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),f.has(n)&&(n.HTMLElement.prototype.focus=f.get(n).focus,r.removeEventListener("keydown",v,!0),r.removeEventListener("keyup",v,!0),r.removeEventListener("click",b,!0),n.removeEventListener("focus",x,!0),n.removeEventListener("blur",w,!1),"u">typeof PointerEvent&&(r.removeEventListener("pointerdown",y,!0),r.removeEventListener("pointermove",y,!0),r.removeEventListener("pointerup",y,!0)),f.delete(n))};function E(){return"pointer"!==d}function $(){return d}"u">typeof document&&("loading"!==(r=(0,l.TW)(void 0)).readyState?S(void 0):r.addEventListener("DOMContentLoaded",()=>{S(void 0)}));let _=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function C(e,t,n){S(),(0,u.useEffect)(()=>{if((null==n?void 0:n.enabled)===!1)return;let t=(t,r)=>{var i;let a,o,s,u,d;i=!!(null==n?void 0:n.isTextInput),a=(0,l.TW)(null==r?void 0:r.target),o="u">typeof window?(0,l.mD)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,s="u">typeof window?(0,l.mD)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,u="u">typeof window?(0,l.mD)(null==r?void 0:r.target).HTMLElement:HTMLElement,d="u">typeof window?(0,l.mD)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent,(i=i||a.activeElement instanceof o&&!_.has(a.activeElement.type)||a.activeElement instanceof s||a.activeElement instanceof u&&a.activeElement.isContentEditable)&&"keyboard"===t&&r instanceof d&&!m[r.key]||e(E())};return c.add(t),()=>{c.delete(t)}},t)}},84505:(e,t,n)=>{"use strict";n.d(t,{P:()=>u});var r=n(34023),i=n(71289),a=n(20411),o=n(81360),s=n(86289);let l=(0,o._)(19)?function(e,t,n,a,o){let l,u=(0,s.iE)();if(!u){let s;return s=r.useCallback(()=>t(e.getSnapshot(),n,a,o),[e,t,n,a,o]),(0,i.useSyncExternalStore)(e.subscribe,s,s)}let d=u.syncIndex;return u.syncIndex+=1,u.didInitialize?(l=u.syncHooks[d]).store===e&&l.selector===t&&Object.is(l.a1,n)&&Object.is(l.a2,a)&&Object.is(l.a3,o)||(l.store!==e&&(u.didChangeStore=!0),l.store=e,l.selector=t,l.a1=n,l.a2=a,l.a3=o,l.value=t(e.getSnapshot(),n,a,o)):(l={store:e,selector:t,a1:n,a2:a,a3:o,value:t(e.getSnapshot(),n,a,o)},u.syncHooks.push(l)),l.value}:function(e,t,n,r,i){return(0,a.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))};function u(e,t,n,r,i){return l(e,t,n,r,i)}(0,s.kz)({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}
65),(0,i.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}})},85654:(e,t,n)=>{"use strict";n.d(t,{e:()=>g});var r=n(34023),i=n(84505),a=n(7366),o=n(92796),s=n(31262),l=n(94158),u=n(26594),d=n(94799);let c=r.createContext(null);function f(e){let{children:t}=e,{filteredItems:n}=(0,s.Dc)(),i=r.useContext(c),a=i?i.items:n;return(0,d.jsx)(r.Fragment,{children:a.map(t)})}var p=n(33848),h=n(97057),m=n(40109);let g=r.forwardRef(function(e,t){var n;let{render:c,className:g,style:v,children:y,...b}=e,x=(0,s.Ee)(),w=(0,s.ui)(),S=!!(0,l.O)(!0),{filteredItems:k,hasItems:E}=(0,s.Dc)(),$=(0,i.P)(x,u.T.selectionMode),_=(0,i.P)(x,u.T.grid),C=(0,i.P)(x,u.T.listProps),D=(0,i.P)(x,u.T.virtualized),I=(0,i.P)(x,u.T.forceMounted),R=0===k.length,T=(0,a.K)(e=>{x.set("positionerElement",e)}),P=(0,a.K)(e=>{x.set("listElement",e)}),O=r.useMemo(()=>"function"==typeof y?n||(n=(0,d.jsx)(f,{children:y})):y,[y]),A=w.useState("floatingId"),j=(0,o.o)("div",e,{state:{empty:R},ref:[t,P,S?null:T],props:[C,{children:O,tabIndex:-1,id:A,role:_?"grid":"listbox","aria-multiselectable":"multiple"===$?"true":void 0,onKeyDown(e){if(!x.state.disabled&&!x.state.readOnly&&"Enter"===e.key){let t=x.state.activeIndex;null!=t&&((0,h.jo)(e),(0,m.L6)(x,t,e.nativeEvent))}},onKeyDownCapture(){x.state.keyboardActiveRef.current=!0},onPointerMoveCapture(){x.state.keyboardActiveRef.current=!1}},b]});if(D)return j;let z=E&&!I?void 0:x.state.labelsRef;return(0,d.jsx)(p.u,{elementsRef:x.state.listRef,labelsRef:z,children:j})})},85871:(e,t,n)=>{"use strict";n.d(t,{k:()=>f});var r=n(34023),i=n(53451),a=n(30417),o=n(57936),s=n(79342),l=n(62165),u=n(97057),d=n(8551),c=n(78337);function f(e,t={}){let{enabled:n=!0,event:p="click",toggle:h=!0,ignoreMouse:m=!1,stickIfOpen:g=!0,touchOpenDelay:v=0,reason:y=c.Ui}=t,b="rootStore"in e?e.rootStore:e,x=b.context.dataRef,w=r.useRef(void 0),S=(0,i.NR)(),k=(0,a.Z)(),E=r.useMemo(()=>{function e(e,t,n,r){let i=(0,d.d)(y,t,n);e&&"touch"===r&&v>0?k.start(v,()=>{b.setOpen(!0,i)}):b.setOpen(e,i)}function t(e,t,n){let r=x.current.openEvent,i=b.select("domReferenceElement")!==t;return!!e&&!!i||!e||!h||!!r&&!!g&&!n(r.type)}return{onPointerDown(e){w.current=(0,u.Go)(e.pointerType,!0)&&(0,u.Pg)(e.nativeEvent)?"virtual":e.pointerType},onMouseDown(n){let r=w.current,i=n.nativeEvent,a=b.select("open");if(0!==n.button||"click"===p||(0,u.Go)(r,!0)&&m)return;let o=t(a,n.currentTarget,e=>"click"===e||"mousedown"===e),d=(0,s.EW)(i);if((0,l.$u)(d))return void e(o,i,d,r);let c=n.currentTarget;S.request(()=>{e(o,i,c,r)})},onClick(n){if("mousedown-only"===p)return;let r=w.current;if("mousedown"===p&&r){w.current=void 0;return}(0,u.Go)(r,!0)&&m||e(t(b.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){w.current=void 0}}},[x,p,m,y,b,g,h,S,k,v]);return r.useMemo(()=>n?{reference:E}:o.t0,[n,E])}},86289:(e,t,n)=>{"use strict";let r;n.d(t,{G1:()=>u,iE:()=>s,kz:()=>l,nk:()=>d});var i=n(34023),a=n(45753);let o=[];function s(){return r}function l(e){o.push(e)}function u(e){let t=(t,n)=>{let i,s=(0,a.j)(c).current;try{for(let e of(r=s,o))e.before(s);for(let r of(i=e(t,n),o))r.after(s);s.didInitialize=!0}finally{r=void 0}return i};return t.displayName=e.displayName||e.name,t}function d(e){return i.forwardRef(u(e))}function c(){return{didInitialize:!1}}},86614:(e,t,n)=>{"use strict";let r;n.d(t,{t:()=>c});var i=n(34023),a=n(39993),o=n(21400),s=n(77935);n(94799);var l=i.createContext((r=!1,{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r})),u=i.createContext(!1);u.Provider;var d=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function c(e,t,n){let r,c=i.useContext(u),f=i.useContext(l),p=(0,s.jE)(n),h=p.defaultQueryOptions(e);p.getDefaultOptions().queries?._experimental_beforeQuery?.(h);let m=p.getQueryCache().get(h.queryHash);if(h._optimisticResults=c?"isRestoring":"optimistic",h.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=h.staleTime;h.staleTime="function"==typeof t?(...n)=>e(t(...n)):e(t),"number"==typeof h.gcTime&&(h.gcTime=Math.max(h.gcTime,1e3))}r=m?.state.error&&"function"==typeof h.throwOnError?(0,o.GU)(h.throwOnError,[m.state.error,m]):h.throwOnError,(h.suspense||h.experimental_prefetchInRender||r)&&!f.isReset()&&(h.retryOnMount=!1),i.useEffect(()=>{f.clearReset()},[f]);let g=!p.getQueryCache().get(h.queryHash),[v]=i.useState(()=>new t(p,h)),y=v.getOptimisticResult(h),b=!c&&!1!==e.subscribed;if(i.useSyncExternalStore(i.useCallback(e=>{let t=b?v.subscribe(a.jG.batchCalls(e)):o.lQ;return v.updateResult(),t},[v,b]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),i.useEffect(()=>{v.setOptions(h)},[h,v]),h?.suspense&&y.isPending)throw d(h,v,f);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&void 0===e.data||(0,o.GU)(n,[e.error,r])))({result:y,errorResetBoundary:f,throwOnError:h.throwOnError,query:m,suspense:h.suspense}))throw y.error;if(p.getDefaultOptions().queries?._experimental_afterQuery?.(h,y),h.experimental_prefetchInRender&&!o.S$&&y.isLoading&&y.isFetching&&!c){let e=g?d(h,v,f):m?.promise;e?.catch(o.lQ).finally(()=>{v.updateResult()})}return h.notifyOnChangeProps?y:v.trackResult(y)}},87079:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r,i=n(34023);let a={...r||(r=n.t(i,2))}}
65,87083:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(20821),i=n(21400),a=new class extends r.Q{#U=!0;#D;#I;constructor(){super(),this.#I=e=>{if(!i.S$&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#D||this.setEventListener(this.#I)}onUnsubscribe(){this.hasListeners()||(this.#D?.(),this.#D=void 0)}setEventListener(e){this.#I=e,this.#D?.(),this.#D=e(this.setOnline.bind(this))}setOnline(e){this.#U!==e&&(this.#U=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#U}}},87251:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{io:()=>e$});var o,s,l={};n.r(l),n.d(l,{Decoder:()=>eh,Encoder:()=>ep,PacketType:()=>s,isPacketValid:()=>ey,protocol:()=>ef});let u=Object.create(null);u.open="0",u.close="1",u.ping="2",u.pong="3",u.message="4",u.upgrade="5",u.noop="6";let d=Object.create(null);Object.keys(u).forEach(e=>{d[u[e]]=e});let c={type:"error",data:"parser error"},f="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),p="function"==typeof ArrayBuffer,h=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,m=({type:e,data:t},n,r)=>{if(f&&t instanceof Blob)if(n)return r(t);else return g(t,r);if(p&&(t instanceof ArrayBuffer||h(t)))if(n)return r(t);else return g(new Blob([t]),r);return r(u[e]+(t||""))},g=(e,t)=>{let n=new FileReader;return n.onload=function(){t("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(e)};function v(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b="u"<typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<y.length;e++)b[y.charCodeAt(e)]=e;let x="function"==typeof ArrayBuffer,w=(e,t)=>{if("string"!=typeof e)return{type:"message",data:k(e,t)};let n=e.charAt(0);return"b"===n?{type:"message",data:S(e.substring(1),t)}:d[n]?e.length>1?{type:d[n],data:e.substring(1)}:{type:d[n]}:c},S=(e,t)=>x?k((e=>{let t=.75*e.length,n=e.length,r,i=0,a,o,s,l;"="===e[e.length-1]&&(t--,"="===e[e.length-2]&&t--);let u=new ArrayBuffer(t),d=new Uint8Array(u);for(r=0;r<n;r+=4)a=b[e.charCodeAt(r)],o=b[e.charCodeAt(r+1)],s=b[e.charCodeAt(r+2)],l=b[e.charCodeAt(r+3)],d[i++]=a<<2|o>>4,d[i++]=(15&o)<<4|s>>2,d[i++]=(3&s)<<6|63&l;return u})(e),t):{base64:!0,data:e},k=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer;function E(e){return e.reduce((e,t)=>e+t.length,0)}function $(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function _(e){if(e){var t=e;for(var n in _.prototype)t[n]=_.prototype[n];return t}}_.prototype.on=_.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},_.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},_.prototype.off=_.prototype.removeListener=_.prototype.removeAllListeners=_.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},_.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},_.prototype.emitReserved=_.prototype.emit,_.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},_.prototype.hasListeners=function(e){return!!this.listeners(e).length};let C="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),D="u">typeof self?self:"u">typeof window?window:Function("return this")();function I(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}let R=D.setTimeout,T=D.clearTimeout;function P(e,t){t.useNativeTimers?(e.setTimeoutFn=R.bind(D),e.clearTimeoutFn=T.bind(D)):(e.setTimeoutFn=D.setTimeout.bind(D),e.clearTimeoutFn=D.clearTimeout.bind(D))}function O(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}
65class A extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class j extends _{constructor(e){super(),this.writable=!1,P(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new A(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=w(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return -1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){let t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}class z extends j{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){let t=e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)};((e,t)=>{let n=e.split("\x1e"),r=[];for(let e=0;e<n.length;e++){let i=w(n[e],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach(t),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){var t;let n,r,i;this.writable=!1,t=e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})},r=Array(n=e.length),i=0,e.forEach((e,a)=>{m(e,!1,e=>{r[a]=e,++i===n&&t(r.join("\x1e"))})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=O()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}}let N=!1;try{N="u">typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}let M=N;function L(){}class F extends z{constructor(e){if(super(e),"u">typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="u">typeof location&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){let n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}class U extends _{constructor(e,t,n){super(),this.createRequest=e,P(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var e;let t=I(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;let n=this._xhr=this.createRequest(t);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let e in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this._opts.extraHeaders[e])}catch(e){}if("POST"===this._method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}null==(e=this._opts.cookieJar)||e.addCookies(n),"withCredentials"in n&&
65(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null==(e=this._opts.cookieJar)||e.parseCookies(n.getResponseHeader("set-cookie"))),4===n.readyState&&(200===n.status||1223===n.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof n.status?n.status:0)},0))},n.send(this._data)}catch(e){this.setTimeoutFn(()=>{this._onError(e)},0);return}"u">typeof document&&(this._index=U.requestsCount++,U.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=L,e)try{this._xhr.abort()}catch(e){}"u">typeof document&&delete U.requests[this._index],this._xhr=null}}_onLoad(){let e=this._xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function B(){for(let e in U.requests)U.requests.hasOwnProperty(e)&&U.requests[e].abort()}U.requestsCount=0,U.requests={},"u">typeof document&&("function"==typeof attachEvent?attachEvent("onunload",B):"function"==typeof addEventListener&&addEventListener("onpagehide"in D?"pagehide":"unload",B,!1));let V=(a=K({xdomain:!1}))&&null!==a.responseType;class Z extends F{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=V&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new U(K,this.uri(),e)}}function K(e){let t=e.xdomain;try{if("u">typeof XMLHttpRequest&&(!t||M))return new XMLHttpRequest}catch(e){}if(!t)try{return new D[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(e){}}let q="u">typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class W extends j{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,n=q?{}:I(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;m(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch(e){}r&&C(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=O()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}let G=D.WebSocket||D.MozWebSocket;class H extends W{createSocket(e,t,n){return q?new G(e,t,n):t?new G(e,t):new G(e)}doWrite(e,t){this.ws.send(t)}}class J extends j{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{var t,n;let a,o,s,l,u=(t=Number.MAX_SAFE_INTEGER,n=this.socket.binaryType,i||(i=new TextDecoder),a=[],o=0,s=-1,l=!1,new TransformStream({transform(e,r){for(a.push(e);;){if(0===o){if(1>E(a))break;let e=$(a,1);l=(128&e[0])==128,o=(s=127&e[0])<126?3:126===s?1:2}else if(1===o){if(2>E(a))break;let e=$(a,2);s=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),o=3}else if(2===o){if(8>E(a))break;let e=$(a,8),t=new DataView(e.buffer,e.byteOffset,e.length),n=t.getUint32(0);if(n>2097151){r.enqueue(c);break}s=0x100000000*n+t.getUint32(4),o=3}else{if(E(a)<s)break;let e=$(a,s);r.enqueue(w(l?e:i.decode(e),n)),o=0}if(0===s||s>t){r.enqueue(c);break}}}})),d=e.readable.pipeThrough(u).getReader(),g=new TransformStream({transform(e,t){var n;n=n=>{let r,i=n.length;if(i<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let e=new DataView((r=new Uint8Array(3)).buffer);e.setUint8(0,126),e.setUint16(1,i)}else{let e=new DataView((r=new Uint8Array(9)).buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(i))}e.data&&"string"!=typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)},f&&e.data instanceof Blob?e.data.arrayBuffer().then(v).then(n):p&&(e.data instanceof ArrayBuffer||h(e.data))?n(v(e.data)):m(e,!1,e=>{r||(r=new TextEncoder),n(r.encode(e))})}});g.readable.pipeTo(e.writable),this._writer=g.writable.getWriter();let y=()=>{d.read().then(({done:e,value:t})=>{e||(this.onPacket(t),y())}).catch(e=>{})};y();let b={type:"open"};this.query.sid&&(b.data=`{"sid":"${this.query.sid}"}`),this._writer.write(b).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;this._writer.write(n).then(()=>{r&&C(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;null==(e=this._transport)||e.close()}}let Y={websocket:H,webtransport:J,polling:Z},X=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Q=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ee(e){var t,n;let r,i;if(e.length>8e3)throw"URI too long";let a=e,o=e.indexOf("["),s=e.indexOf("]");-1!=o&&-1!=s&&(e=e.substring(0,o)+e.substring(o,s).replace(/:/g,";")+e.substring(s,e.length));let l=X.exec(e||""),u={},d=14;for(;d--;)u[Q[d]]=l[d]||"";return -1!=o&&-1!=s&&(u.source=a,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),r=(t=u.path).replace(/\/{2,9}/g,"/").split("/"),("/"==t.slice(0,1)||0===t.length)&&r.splice(0,1),"/"==t.slice(-1)&&r.splice(r.length-1,1),u.pathNames=r,n=u.query,i={},n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,n){t&&(i[t]=n)}),u.queryKey=i,u}let et="function"==typeof addEventListener&&"function"==typeof removeEventListener,en=[];et&&addEventListener("offline",()=>
65{en.forEach(e=>e())},!1);class er extends _{constructor(e,t){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&"object"==typeof e&&(t=e,e=null),e){const n=ee(e);t.hostname=n.host,t.secure="https"===n.protocol||"wss"===n.protocol,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=ee(t.host).host);P(this,t),this.secure=null!=t.secure?t.secure:"u">typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("u">typeof location?location.hostname:"localhost"),this.port=t.port||("u">typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{let t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");
65t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),et&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},en.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let e=this.opts.rememberUpgrade&&er.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",e=>this._onClose("transport close",e))}onOpen(){this.readyState="open",er.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let t=Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let n=this.writeBuffer[t].data;if(n&&(e+="string"==typeof n?function(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)(t=e.charCodeAt(r))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(n):Math.ceil(1.33*(n.byteLength||n.size))),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,C(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;let i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){let e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(er.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),et&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let e=en.indexOf(this._offlineEventListener);-1!==e&&en.splice(e,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}er.protocol=4;class ei extends er{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;er.priorWebsocketSuccess=!1;let r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;er.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{n||"closed"!==this.readyState&&(u(),this.setTransport(t),t.send([{type:"upgrade"}
65]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let e=Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}))};function i(){n||(n=!0,u(),t.close(),t=null)}let a=e=>{let n=Error("probe error: "+e);n.transport=t.name,i(),this.emitReserved("upgradeError",n)};function o(){a("transport closed")}function s(){a("socket closed")}function l(e){t&&e.name!==t.name&&i()}let u=()=>{t.removeListener("open",r),t.removeListener("error",a),t.removeListener("close",o),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",a),t.once("close",o),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}class ea extends ei{constructor(e,t={}){const n="object"==typeof e?e:t;(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(e=>Y[e]).filter(e=>!!e)),super(e,n)}}ea.protocol;let eo="function"==typeof ArrayBuffer,es=Object.prototype.toString,el="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===es.call(Blob),eu="function"==typeof File||"u">typeof File&&"[object FileConstructor]"===es.call(File);function ed(e){return eo&&(e instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer))||el&&e instanceof Blob||eu&&e instanceof File}let ec=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],ef=5;(o=s||(s={}))[o.CONNECT=0]="CONNECT",o[o.DISCONNECT=1]="DISCONNECT",o[o.EVENT=2]="EVENT",o[o.ACK=3]="ACK",o[o.CONNECT_ERROR=4]="CONNECT_ERROR",o[o.BINARY_EVENT=5]="BINARY_EVENT",o[o.BINARY_ACK=6]="BINARY_ACK";class ep{constructor(e){this.replacer=e}encode(e){return(e.type===s.EVENT||e.type===s.ACK)&&function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(e(t[n]))return!0;return!1}if(ed(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1==arguments.length)return e(t.toJSON(),!0);for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return!0;return!1}(e)?this.encodeAsBinary({type:e.type===s.EVENT?s.BINARY_EVENT:s.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===s.BINARY_EVENT||e.type===s.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t,n,r=(t=[],n=e.data,e.data=function e(t,n){if(!t)return t;if(ed(t)){let e={_placeholder:!0,num:n.length};return n.push(t),e}if(Array.isArray(t)){let r=Array(t.length);for(let i=0;i<t.length;i++)r[i]=e(t[i],n);return r}if("object"==typeof t&&!(t instanceof Date)){let r={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=e(t[i],n));return r}return t}(n,t),e.attachments=t.length,{packet:e,buffers:t}),i=this.encodeAsString(r.packet),a=r.buffers;return a.unshift(i),a}}class eh extends _{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof e?{reviver:e}:e)}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let n=(t=this.decodeString(e)).type===s.BINARY_EVENT;n||t.type===s.BINARY_ACK?(t.type=n?s.EVENT:s.ACK,this.reconstructor=new em(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(ed(e)||e.base64)if(this.reconstructor)(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+e)}decodeString(e){let t=0,n={type:Number(e.charAt(0))};if(void 0===s[n.type])throw Error("unknown packet type "+n.type);if(n.type===s.BINARY_EVENT||n.type===s.BINARY_ACK){let r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);let i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw Error("Illegal attachments");let a=Number(i);if(!eg(a)||a<0)throw Error("Illegal attachments");if(a>this.opts.maxAttachments)throw Error("too many attachments");n.attachments=a}if("/"===e.charAt(t+1)){let r=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);
65n.nsp=e.substring(r,t)}else n.nsp="/";let r=e.charAt(t+1);if(""!==r&&Number(r)==r){let r=t+1;for(;++t;){let n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){let r=this.tryParse(e.substr(t));if(eh.isPayloadValid(n.type,r))n.data=r;else throw Error("invalid payload")}return n}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case s.CONNECT:return ev(t);case s.DISCONNECT:return void 0===t;case s.CONNECT_ERROR:return"string"==typeof t||ev(t);case s.EVENT:case s.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===ec.indexOf(t[0]));case s.ACK:case s.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class em{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t,n;let e=(t=this.reconPack,n=this.buffers,t.data=function e(t,n){if(!t)return t;if(t&&!0===t._placeholder){if("number"==typeof t.num&&t.num>=0&&t.num<n.length)return n[t.num];throw Error("illegal attachments")}if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r]=e(t[r],n);else if("object"==typeof t)for(let r in t)Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=e(t[r],n));return t}(t.data,n),delete t.attachments,t);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}let eg=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function ev(e){return"[object Object]"===Object.prototype.toString.call(e)}function ey(e){var t;return"string"==typeof e.nsp&&(void 0===(t=e.id)||eg(t))&&function(e,t){switch(e){case s.CONNECT:return void 0===t||ev(t);case s.DISCONNECT:return void 0===t;case s.EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===ec.indexOf(t[0]));case s.ACK:return Array.isArray(t);case s.CONNECT_ERROR:return"string"==typeof t||ev(t);default:return!1}}(e.type,e.data)}function eb(e,t,n){return e.on(t,n),function(){e.off(t,n)}}let ex=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class ew extends _{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[eb(e,"open",this.onopen.bind(this)),eb(e,"packet",this.onpacket.bind(this)),eb(e,"error",this.onerror.bind(this)),eb(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,r,i;if(ex.hasOwnProperty(e))throw Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let a={type:s.EVENT,data:t};if(a.options={},a.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){let e=this.ids++,n=t.pop();this._registerAckCallback(e,n),a.id=e}let o=null==(r=null==(n=this.io.engine)?void 0:n.transport)?void 0:r.writable,l=this.connected&&!(null==(i=this.io.engine)?void 0:i._hasPingExpired());return this.flags.volatile&&!o||(l?(this.notifyOutgoingListeners(a),this.packet(a)):this.sendBuffer.push(a)),this.flags={},this}_registerAckCallback(e,t){var n;let r=null!=(n=this.flags.timeout)?n:this._opts.ackTimeout;if(void 0===r){this.acks[e]=t;return}let i=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error("operation has timed out"))},r),a=(...e)=>{this.io.clearTimeoutFn(i),t.apply(this,e)};a.withError=!0,this.acks[e]=a}emitWithAck(e,...t){return new Promise((n,r)=>{let i=(e,t)=>e?r(e):n(t);
65i.withError=!0,t.push(i),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...r)=>(this._queue[0],null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;let t=this._queue[0];(!t.pending||e)&&(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:s.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}
65_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){let t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case s.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.EVENT:case s.BINARY_EVENT:this.onevent(e);break;case s.ACK:case s.BINARY_ACK:this.onack(e);break;case s.DISCONNECT:this.ondisconnect();break;case s.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){let t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length)for(let t of this._anyListeners.slice())t.apply(this,e);super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,n=!1;return function(...r){n||(n=!0,t.packet({type:s.ACK,id:e,data:r}))}}onack(e){let t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:s.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let t of this._anyOutgoingListeners.slice())t.apply(this,e.data)}}function eS(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}eS.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(1&Math.floor(10*t))==0?e-n:e+n}return 0|Math.min(e,this.max)},eS.prototype.reset=function(){this.attempts=0},eS.prototype.setMin=function(e){this.ms=e},eS.prototype.setMax=function(e){this.max=e},eS.prototype.setJitter=function(e){this.jitter=e};class ek extends _{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,P(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!=(n=t.randomizationFactor)?n:.5),this.backoff=new eS({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||l;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null==(t=this.backoff)||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null==(t=this.backoff)||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null==(t=this.backoff)||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new ea(this.uri,this.opts);let t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;let r=eb(t,"open",function(){n.onopen(),e&&e()}),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},a=eb(t,"error",i);if(!1!==this._timeout){let e=this._timeout,n=this.setTimeoutFn(()=>{r(),i(Error("timeout")),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(r),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(eb(e,"ping",this.onping.bind(this)),eb(e,"data",this.ondata.bind(this)),eb(e,"error",this.onerror.bind(this)),eb(e,"close",this.onclose.bind(this)),eb(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){C(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new ew(this,e,t),this.nsps[e]=n),n}_destroy(e){for(let e of Object.keys(this.nsps))if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let n=0;n<t.length;
65n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),null==(n=this.engine)||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}let eE={};function e$(e,t){let n;"object"==typeof e&&(t=e,e=void 0);let r=function(e,t="",n){let r=e;n=n||"u">typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=ee(e)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),i=r.source,a=r.id,o=r.path,s=eE[a]&&o in eE[a].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||s?n=new ek(i,t):(eE[a]||(eE[a]=new ek(i,t)),n=eE[a]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(e$,{Manager:ek,Socket:ew,io:e$,connect:e$})},87836:(e,t,n)=>{"use strict";function r(){let e,t,n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}n.d(t,{T:()=>r})},88018:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(34023);let i="u">typeof document?r.useLayoutEffect:()=>{}},88119:(e,t,n)=>{"use strict";n.d(t,{D:()=>l});var r=n(34023),i=n(92796),a=n(61426),o=n(66810),s=n(14186);let l=r.forwardRef(function(e,t){let{render:n,className:r,style:l,children:u,...d}=e,c=(0,o.p)(),f=(0,a.P)(),p=f.useState("open"),h=f.useState("nested"),m=f.useState("transitionStatus"),g=f.useState("nestedOpenDialogCount"),v=f.useState("mounted"),y=f.useStateSetter("viewportElement");return(0,i.o)("div",e,{enabled:c||v,state:{open:p,nested:h,transitionStatus:m,nestedDialogOpen:g>0},ref:[t,y],stateAttributesMapping:s.v,props:[{role:"presentation",hidden:!v,style:{pointerEvents:p?void 0:"none"},children:u},d]})})},89360:(e,t,n)=>{"use strict";n.d(t,{Dc:()=>l,TL:()=>o});var r=n(34023),i=n(34233),a=n(94799);function o(e){var t;let n,o=(t=e,(n=r.forwardRef((e,t)=>{let{children:n,...a}=e;if(r.isValidElement(n)){var o;let e,s,l=(o=n,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,i.t)(t,l):l),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${t}.SlotClone`,n),s=r.forwardRef((e,t)=>{let{children:n,...i}=e,s=r.Children.toArray(n),l=s.find(u);if(l){let e=l.props.children,n=s.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(o,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,a.jsx)(o,{...i,ref:t,children:n})});return s.displayName=`${e}.Slot`,s}var s=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},89658:(e,t,n)=>{"use strict";n.d(t,{R:()=>c});var r={};r={"ar-AE":{dismiss:"تجاهل"},"bg-BG":{dismiss:"Отхвърляне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schlie\xdfen"},"el-GR":{dismiss:"Απόρριψη"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"L\xf5peta"},"fi-FI":{dismiss:"Hylk\xe4\xe4"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"התעלם"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutas\xedt\xe1s"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"閉じる"},"ko-KR":{dismiss:"무시"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"Nerādīt"},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:"Пропустить"},"sk-SK":{dismiss:"Zrušiť"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"Скасувати"},"zh-CN":{dismiss:"取消"},"zh-TW":{dismiss:"關閉"}};var i=n(34023),a=n(47273),o=n(61793),s=n(23416),l=n(56614);let u={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function d(e){let{children:t,elementType:n="div",isFocusable:r,style:a,...o}=e,{visuallyHiddenProps:d}=function(e={}){let{style:t,isFocusable:n}=e,[r,a]=(0,i.useState)(!1),{focusWithinProps:o}=(0,l.R)({isDisabled:!n,onFocusWithinChange:e=>a(e)}),s=(0,i.useMemo)(()=>r?t:t?{...u,...t}:u,[r]);return{visuallyHiddenProps:{...o,style:s}}}(e);return i.createElement(n,(0,s.v)(o,d),t)}function c(e){var t;let{onDismiss:n,...s}=e,l=(0,o.o)((t=r)&&t.__esModule?t.default:t,"@react-aria/overlays"),u=(0,a.b)(s,l.format("dismiss"));return i.createElement(d,null,i.createElement("button",{...u,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}}
65,90288:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(34023),i=n(78638),a=n(82780),o=n(88018);function s(e,t,n,s){let[l,u]=r.useState(!1);(0,o.g)(()=>{if(!e||!t||null==n)return void u(!1);let r=(0,i.R)(n).documentElement.clientWidth,a=n.offsetWidth;u(r>0&&a>0&&a>=r-20)},[e,t,n]),(0,a.K)(e&&(!t||l),s)}},90332:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(43111),i=n(76383),a=class extends r.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,i.PL)()})}getOptimisticResult(e){return e.behavior=(0,i.PL)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:o,isError:s,isRefetchError:l}=r,u=n.fetchMeta?.fetchMore?.direction,d=s&&"forward"===u,c=a&&"forward"===u,f=s&&"backward"===u,p=a&&"backward"===u;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.rB)(t,n.data),hasPreviousPage:(0,i.RQ)(t,n.data),isFetchNextPageError:d,isFetchingNextPage:c,isFetchPreviousPageError:f,isFetchingPreviousPage:p,isRefetchError:l&&!d&&!f,isRefetching:o&&!c&&!p}}},o=n(86614);function s(e,t){return(0,o.t)(e,a,t)}},90360:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var r=n(99097),i=n(56065),a=n(88018),o=n(45753),s=n(3559),l=n(58302),u=n(73451);function d(e){let{open:t=!1,onOpenChange:n,elements:d={}}=e,c=(0,i.B)(),f=null!=(0,l.R1)(),p=(0,o.j)(()=>new u.K({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:d.reference??null,floatingElement:d.floating??null,triggerElements:new s.Z,floatingId:c,syncOnly:!1,nested:f})).current;return(0,a.g)(()=>{let e={open:t,floatingId:c};void 0!==d.reference&&(e.referenceElement=d.reference,e.domReferenceElement=(0,r.vq)(d.reference)?d.reference:null),void 0!==d.floating&&(e.floatingElement=d.floating),p.update(e)},[t,c,d.reference,d.floating,p]),p.context.onOpenChange=n,p.context.nested=f,p}},91039:(e,t,n)=>{"use strict";n.d(t,{a:()=>b});var r=n(34023),i=n(49308),a=n(65736),o=n(88018),s=n(78638),l=n(7366),u=n(30417),d=n(99097),c=n(8551),f=n(78337),p=n(58302),h=n(79342),m=n(64014),g=n(83271),v=n(62165),y=n(79130);function b(e,t={}){let{enabled:n=!0,closeDelay:x=0,nodeId:w}=t,S="rootStore"in e?e.rootStore:e,k=S.useState("open"),E=S.useState("floatingElement"),$=S.useState("domReferenceElement"),{dataRef:_}=S.context,C=(0,p.cq)(),D=(0,p.R1)(),I=(0,g.uu)(S),R=(0,u.Z)(),T=(0,l.K)(()=>(0,y.GI)(_.current.openEvent?.type,I.interactedInside)),P=(0,l.K)(()=>(0,y.h$)(_.current.openEvent?.type)),O=(0,l.K)(()=>{(0,g.GH)(I)});(0,o.g)(()=>{k||(I.pointerType=void 0,I.restTimeoutPending=!1,I.interactedInside=!1,O())},[k,I,O]),r.useEffect(()=>O,[O]),(0,o.g)(()=>{if(n&&k&&I.handleCloseOptions?.blockPointerEvents&&P()&&(0,d.vq)($)&&E){let e=(0,s.R)(E),t=C?.nodesRef.current.find(e=>e.id===D)?.context?.elements.floating;t&&(t.style.pointerEvents="");let n=I.pointerEventsScopeElement!==E?I.pointerEventsScopeElement:null,r=t!==E?t:null,i=I.handleCloseOptions?.getScope?.()??n??r??$.closest("[data-rootownerid]")??e.body;return(0,g.D8)(I,{scopeElement:i,referenceElement:$,floatingElement:E}),()=>{O()}}},[n,k,$,E,I,P,C,D,O]),r.useEffect(()=>{if(n)return(0,a.g)(E&&(0,i.q)(E,"mouseenter",function(){I.openChangeTimeout.clear(),R.clear(),C?.events.off("floating.closed",t),O()}),E&&(0,i.q)(E,"mouseleave",function(n){if(e()&&C)return void C.events.on("floating.closed",t);if((0,v.Hi)(n.relatedTarget,S.context.triggerElements))return;let r=_.current.floatingContext?.nodeId??w,i=n.relatedTarget;if(!(C&&r&&(0,d.vq)(i)&&(0,m.CM)(C.nodesRef.current,r,!1).some(e=>(0,h.gR)(e.context?.elements.floating,i)))){let e,t;if(I.handler)return void I.handler(n);O(),P()&&!T()&&(e=(0,y.uf)(x,"close",I.pointerType),t=()=>{S.setOpen(!1,(0,c.d)(f.N7,n)),C?.events.emit("floating.closed",n)},e?I.openChangeTimeout.start(e,t):(I.openChangeTimeout.clear(),t()))}}),E&&(0,i.q)(E,"pointerdown",function(e){let t=(0,h.EW)(e);if(!(0,v.H5)(t)){I.interactedInside=!1;return}I.interactedInside=t?.closest("[aria-haspopup]")!=null},!0),()=>{C?.events.off("floating.closed",t)});function e(){return!!(C&&D&&(0,m.CM)(C.nodesRef.current,D).length>0)}function t(n){!C||!D||e()||R.start(0,()=>{C.events.off("floating.closed",t),S.setOpen(!1,(0,c.d)(f.N7,n)),C.events.emit("floating.closed",n)})}},[n,E,S,_,x,w,P,T,O,I,C,D,R])}},91092:(e,t,n)=>{"use strict";n.d(t,{E:()=>h});var r=n(21400),i=n(70073),a=n(39993),o=n(20821),s=class extends o.Q{constructor(e={}){super(),this.config=e,this.#B=new Map}#B;build(e,t,n){let a=t.queryKey,o=t.queryHash??(0,r.F$)(a,t),s=this.get(o);return s||(s=new i.X({client:e,queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){this.#B.has(e.queryHash)||(this.#B.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#B.get(e.queryHash);t&&(e.destroy(),t===e&&this.#B.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){a.jG.batch(()=>
65{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#B.get(e)}getAll(){return[...this.#B.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.MK)(e,t)):t}notify(e){a.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){a.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){a.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},l=n(93508),u=class extends o.Q{constructor(e={}){super(),this.config=e,this.#V=new Set,this.#Z=new Map,this.#K=0}#V;#Z;#K;build(e,t,n){let r=new l.s({client:e,mutationCache:this,mutationId:++this.#K,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#V.add(e);let t=d(e);if("string"==typeof t){let n=this.#Z.get(t);n?n.push(e):this.#Z.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#V.delete(e)){let t=d(e);if("string"==typeof t){let n=this.#Z.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#Z.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=d(e);if("string"!=typeof t)return!0;{let n=this.#Z.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=d(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#Z.get(t)?.find(t=>
65t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){a.jG.batch(()=>{this.#V.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#V.clear(),this.#Z.clear()})}getAll(){return Array.from(this.#V)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.nJ)(e,t))}notify(e){a.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return a.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.lQ))))}};function d(e){return e.options.scope?.id}var c=n(59492),f=n(87083),p=n(76383),h=class{#q;#W;#N;#G;#H;#J;#Y;#X;constructor(e={}){this.#q=e.queryCache||new s,this.#W=e.mutationCache||new u,this.#N=e.defaultOptions||{},this.#G=new Map,this.#H=new Map,this.#J=0}mount(){this.#J++,1===this.#J&&(this.#Y=c.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#q.onFocus())}),this.#X=f.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#q.onOnline())}))}unmount(){this.#J--,0===this.#J&&(this.#Y?.(),this.#Y=void 0,this.#X?.(),this.#X=void 0)}isFetching(e){return this.#q.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#W.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#q.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#q.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.d2)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#q.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),a=this.#q.get(i.queryHash),o=a?.state.data,s=(0,r.Zw)(t,o);if(void 0!==s)return this.#q.build(this,i).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return a.jG.batch(()=>this.#q.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#q.get(t.queryHash)?.state}removeQueries(e){let t=this.#q;a.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#q;return a.jG.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(a.jG.batch(()=>this.#q.findAll(e).map(e=>e.cancel(n)))).then(r.lQ).catch(r.lQ)}invalidateQueries(e,t={}){return a.jG.batch(()=>(this.#q.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(a.jG.batch(()=>this.#q.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(r.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#q.build(this,t);return n.isStaleByTime((0,r.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e){return e.behavior=(0,p.PL)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.lQ).catch(r.lQ)}ensureInfiniteQueryData(e){return e.behavior=(0,p.PL)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.t.isOnline()?this.#W.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#q}getMutationCache(){return this.#W}getDefaultOptions(){return this.#N}setDefaultOptions(e){this.#N=e}setQueryDefaults(e,t){this.#G.set((0,r.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#G.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#H.set((0,r.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#H.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#N.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#N.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#q.clear(),this.#W.clear()}}}
65,91352:(e,t,n)=>{"use strict";n.d(t,{AO:()=>p,Kr:()=>m,N:()=>k,Qp:()=>S,XJ:()=>y,Yu:()=>x,bp:()=>w,nq:()=>h,vF:()=>v,yV:()=>E});var r=n(99097),i=n(78638),a=n(79342),o=n(3768);function s(e){for(let t of Array.from(e.children))if("summary"===(0,r.mq)(t))return t;return null}function l(e){let t=e?(0,r.mq)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==t||null!=e.parentElement&&"details"===(0,r.mq)(e.parentElement)&&s(e.parentElement)===e)&&("details"!==t||null==s(e))&&("input"!==t||"hidden"!==e.type)}function u(e){if(!l(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=function(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return(0,r.Ng)(n)?n.host:null}(t)){let n=t!==e,i="slot"===(0,r.mq)(t);if(t.hasAttribute("inert")||n&&"details"===(0,r.mq)(t)&&!t.open&&!function(e,t){let n=s(t);return!!n&&(e===n||(0,a.gR)(n,e))}(e,t)||t.hasAttribute("hidden")||!i&&!function(e,t){let n=(0,r.L9)(e);return t?"none"!==n.display:(0,o.J9)(e,n)}(t,n))return!1}return!0}function d(e){let t=e.tabIndex;if(t<0){let t=(0,r.mq)(e);if("details"===t||"audio"===t||"video"===t||(0,r.sb)(e)&&e.isContentEditable)return 0}return t}function c(e){return"input"!==(0,r.mq)(e)?null:"radio"===e.type&&""!==e.name?e:null}function f(e){if((0,r.sb)(e)&&"slot"===(0,r.mq)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,r.sb)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function p(e){return u(e)&&d(e)>=0}function h(e){let t=[];return!function e(t,n){f(t).forEach(t=>{l(t)&&n.push(t),e(t,n)})}(e,t),t.filter(u)}function m(e){let t=h(e);return t.filter(e=>d(e)>=0&&function(e,t){let n=c(e);if(!n)return!0;let r=t.find(e=>{let t=c(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=c(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function g(e,t){let n=m(e),r=n.length;if(0===r)return;let o=(0,a.RS)((0,i.R)(e)),s=n.indexOf(o);return n[-1===s?1===t?0:r-1:s+t]}function v(e){return g((0,i.R)(e).body,1)||e}function y(e){return g((0,i.R)(e).body,-1)||e}function b(e,t){if(!e)return null;let n=m((0,i.R)(e).body),r=n.length;if(0===r)return null;let a=n.indexOf(e);return -1===a?null:n[(a+t+r)%r]}function x(e){return b(e,1)}function w(e){return b(e,-1)}function S(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,a.gR)(n,r)}function k(e){m(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function E(e){let t=[];!function e(t,n,i){f(t).forEach(t=>{(0,r.sb)(t)&&t.matches(n)&&i.push(t),e(t,n,i)})}(e,"[data-tabindex]",t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}},91939:(e,t,n)=>{"use strict";n.d(t,{G:()=>b});var r=n(34023),i=n(88018),a=n(82780),o=n(83435),s=n(79342),l=n(18039);function u({store:e,parentContext:t,isDrawer:n}){let d=e.useState("open"),c=e.useState("disablePointerDismissal"),f=e.useState("modal"),p=e.useState("popupElement"),h=e.useState("floatingRootContext"),[m,g]=r.useState(0),[v,y]=r.useState(0),b=0===m,x=(0,o.s)(h,{outsidePressEvent:()=>e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:"trap-focus"===f?"sloppy":"intentional",touch:"sloppy"},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||"button"in t&&0!==t.button)return!1;if("touches"in t){if("touchend"===t.type){if(1!==t.changedTouches.length||0!==t.touches.length)return!1}else if(1!==t.touches.length)return!1}let n=(0,s.EW)(t);if(b&&!c){if(f){let t=e.context.internalBackdropRef.current,r=e.context.backdropRef.current;return!t&&!r||t===n||r===n||(0,s.gR)(n,p)&&!n?.hasAttribute("data-base-ui-portal")}return!0}return!1},escapeKey:b});return(0,a.K)(d&&!0===f,p),e.useContextCallback("onNestedDialogOpen",(e,t)=>{g(e),y(t)}),(0,i.g)(()=>(t?.onNestedDialogOpen&&(d?t.onNestedDialogOpen(m+1,v+ +!!n):t.onNestedDialogOpen(0,0)),()=>{t?.onNestedDialogOpen&&d&&t.onNestedDialogOpen(0,0)}),[n,d,m,v,t]),(0,l.i6)(e,{activeTriggerProps:x.reference,inactiveTriggerProps:x.trigger,popupProps:x.floating,nestedOpenDialogCount:m,nestedOpenDrawerCount:v}),null}var d=n(61426),c=n(56721),f=n(28227),p=n(3559);let h={...f.ol,modal:e=>e.modal,nested:e=>e.nested,nestedOpenDialogCount:e=>e.nestedOpenDialogCount,nestedOpenDrawerCount:e=>e.nestedOpenDrawerCount,disablePointerDismissal:e=>e.disablePointerDismissal,openMethod:e=>e.openMethod,descriptionElementId:e=>e.descriptionElementId,titleElementId:e=>e.titleElementId,viewportElement:e=>e.viewportElement,role:e=>e.role};class m extends c.H{constructor(e,t,n){const i=new p.Z;super(function(e,t,n,r=!1){let i={...(0,f.rJ)(),modal:!0,disablePointerDismissal:!1,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e};
65return i.floatingRootContext=(0,f.OB)(t,n,r),i}(e,i,t,n),function(e){return{popupRef:r.createRef(),backdropRef:r.createRef(),internalBackdropRef:r.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}(i),h)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let n={open:e};(0,l.i)(n,e,t.trigger),this.update(n)}}var g=n(8551),v=n(78337),y=n(94799);function b(e,t){let{children:n,open:i,defaultOpen:a=!1,onOpenChange:o,onOpenChangeComplete:s,disablePointerDismissal:c=!1,modal:f=!0,actionsRef:p,handle:h,triggerId:b,defaultTriggerId:x=null}=t,w="alert-dialog"===e,S=(0,d.P)(!0),k={modal:!!w||f,disablePointerDismissal:w||c,nested:null!=S,role:w?"alertdialog":"dialog"},E=(0,l.xp)((e,t)=>new m({open:a,openProp:i,activeTriggerId:x,triggerIdProp:b,...k},e,t),!0);E.useControlledProp("openProp",i),E.useControlledProp("triggerIdProp",b),E.useSyncedValues(k),E.useContextCallback("onOpenChange",o),E.useContextCallback("onOpenChangeComplete",s);let $=E.useState("open"),_=E.useState("mounted"),C=E.useState("payload");(0,l.xs)(E,$),(0,l.tr)(E);let{forceUnmount:D}=(0,l.l$)($,E);r.useImperativeHandle(p,()=>({unmount:D,close:()=>E.setOpen(!1,(0,g.d)(v.zJ))}),[D,E]);let I=$||_;return(0,y.jsxs)(d.a.Provider,{value:E,children:[h&&(0,y.jsx)(l.Ae,{handle:h,store:E}),I&&(0,y.jsx)(u,{store:E,parentContext:S?.context,isDrawer:"drawer"===e}),"function"==typeof n?n({payload:C}):n]})}},91980:(e,t,n)=>{"use strict";n.d(t,{p:()=>y});var r=n(3831),i=n(63663);let a=null;function o(e,t="assertive",n=7e3){a?a.announce(e,t,n):(a=new s,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"u">typeof jest)?a.announce(e,t,n):setTimeout(()=>{(null==a?void 0:a.isAttached())&&(null==a||a.announce(e,t,n))},100))}class s{isAttached(){var e;return null==(e=this.node)?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){var r,i;if(!this.node)return;let a=document.createElement("div");"object"==typeof e?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",e["aria-labelledby"])):a.textContent=e,"assertive"===t?null==(r=this.assertiveLog)||r.appendChild(a):null==(i=this.politeLog)||i.appendChild(a),""!==e&&setTimeout(()=>{a.remove()},n)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"u">typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}var l=n(28325),u=n(55443),d=n(34023);function c(e,t){let n=(0,d.useRef)(!0),r=(0,d.useRef)(null),i=(0,u.J)(e);(0,d.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,d.useEffect)(()=>{let e=r.current;n.current?n.current=!1:(!e||t.some((t,n)=>!Object.is(t,e[n])))&&i(),r.current=t},t)}var f=n(69621),p=n(47273),h=n(23416),m=n(61793);function g(e,t,n,r){let i=(0,u.J)(n),a=null==n;(0,d.useEffect)(()=>{if(a||!e.current)return;let n=e.current;return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}},[e,t,r,a])}var v=n(80254);function y(e,t,n){let a=function(e,t){var n;let a=(0,m.o)((n=i.A)&&n.__esModule?n.default:n,"@react-aria/calendar"),s=(0,l.$)(e),u=(0,r.ZR)(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),g=(0,r.ZR)(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);c(()=>{t.isFocused||o(g)},[g]);let v=(0,r.ZI)(t);c(()=>{v&&o(v,"polite",4e3)},[v]);let y=(0,f.X1)([!!e.errorMessage,e.isInvalid,e.validationState]);r.OX.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:y,selectedDateDescription:v});let[b,x]=(0,d.useState)(!1),w=e.isDisabled||t.isNextVisibleRangeInvalid();w&&b&&(x(!1),t.setFocused(!0));let[S,k]=(0,d.useState)(!1),E=e.isDisabled||t.isPreviousVisibleRangeInvalid();E&&S&&(k(!1),t.setFocused(!0));
65let $=(0,p.b)({id:e.id,"aria-label":[e["aria-label"],g].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:(0,h.v)(s,$,{role:"application","aria-details":e["aria-details"]||void 0,"aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":a.format("next"),isDisabled:w,onFocusChange:x},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":a.format("previous"),isDisabled:E,onFocusChange:k},errorMessageProps:{id:y},title:u}}(e,t),s=(0,d.useRef)(!1),u=(0,d.useRef)("u">typeof window?window:null);return g(u,"pointerdown",e=>{s.current=0===e.width&&0===e.height}),g(u,"pointerup",e=>{if(s.current){s.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let r=e.target;n.current&&(0,v.sD)(n.current,document.activeElement)&&(!(0,v.sD)(n.current,r)||!r.closest('button, [role="button"]'))&&t.selectFocusedDate()}),a.calendarProps.onBlur=e=>{n.current&&(e.relatedTarget&&(0,v.sD)(n.current,e.relatedTarget)||!t.anchorDate||t.selectFocusedDate())},g(n,"touchmove",e=>{t.isDragging&&e.preventDefault()},{passive:!1,capture:!0}),a}},92030:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>a,TW:()=>r,mD:()=>i});let r=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function a(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},92108:(e,t,n)=>{"use strict";n.d(t,{OA:()=>l,Wb:()=>o,az:()=>i,eh:()=>a,jE:()=>s,uE:()=>u});var r=n(13293);function i(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??r.fd,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function a(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let s={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,s);let l=e._zod.toJSONSchema?.();if(l)s.schema=l;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,r);else{let n=s.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let o=e._zod.parent;o&&(s.ref||(s.ref=o),a(o,t,r),t.seen.get(o).isParent=!0)}let u=t.metadataRegistry.get(e);return u&&Object.assign(s.schema,u),"input"===t.io&&function e(t,n){let r=n??{seen:new Set};if(r.seen.has(t))return!1;r.seen.add(t);let i=t._zod.def;if("transform"===i.type)return!0;if("array"===i.type)return e(i.element,r);if("set"===i.type)return e(i.valueType,r);if("lazy"===i.type)return e(i.getter(),r);if("promise"===i.type||"optional"===i.type||"nonoptional"===i.type||"nullable"===i.type||"readonly"===i.type||"default"===i.type||"prefault"===i.type)return e(i.innerType,r);if("intersection"===i.type)return e(i.left,r)||e(i.right,r);if("record"===i.type||"map"===i.type)return e(i.keyType,r)||e(i.valueType,r);if("pipe"===i.type)return e(i.in,r)||e(i.out,r);if("object"===i.type){for(let t in i.shape)if(e(i.shape[t],r))return!0;return!1}if("union"===i.type){for(let t of i.options)if(e(t,r))return!0;return!1}if("tuple"===i.type){for(let t of i.items)if(e(t,r))return!0;if(i.rest&&e(i.rest,r))return!0}return!1}(e)&&(delete s.schema.examples,delete s.schema.default),"input"===t.io&&s.schema._prefault&&((r=s.schema).default??(r.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}function o(e,t){let n=e.seen.get(t);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{if(t[1].schema.$ref)return;let r=t[1],{ref:i,defId:a}=(t=>
65{let r="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i("__shared")}#/${r}/${a}`}}if(t[1]===n)return{ref:"#"};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}})(t);r.def={...r.schema},a&&(r.defId=a);let o=r.schema;for(let e in o)delete o[e];o.$ref=i};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>
66
67Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){i(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){i(n);continue}}if(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&"ref"===e.reused){i(n);continue}}}function s(e,t){let n=e.seen.get(t);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let r=t=>{let n=e.seen.get(t);if(null===n.ref)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&("draft-07"===e.target||"draft-04"===e.target||"openapi-3.0"===e.target)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)"$ref"!==e&&"allOf"!==e&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)"$ref"!==e&&"allOf"!==e&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if("draft-2020-12"===e.target?i.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?i.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&("draft-2020-12"===e.target?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t["~standard"],jsonSchema:{input:u(t,"input",e.processors),output:u(t,"output",e.processors)}},enumerable:!1,writable:!1}),n}catch(e){throw Error("Error converting schema to JSON.")}}let l=(e,t={})=>n=>{let r=i({...n,processors:t});return a(e,r),o(r,e),s(r,e)},u=(e,t,n={})=>r=>{let{libraryOptions:l,target:u}=r??{},d=i({...l??{},target:u,io:t,processors:n});return a(e,d),o(d,e),s(d,e)}},92337:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(34023),i=n(71289),a=n(57936);function o(e){let t=r.useCallback(t=>void 0===e?a.tE:e.subscribeStore(t),[e]),n=r.useCallback(()=>void 0===e?void 0:e.store,[e]);return(0,i.useSyncExternalStore)(t,n,()=>e?.serverStore)}},92796:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var r=n(68125),i=n(34023),a=n(50360),o=n(81360);function s(e){if(!i.isValidElement(e))return null;let t=e.props;return((0,o._)(19)?t?.ref:e.ref)??null}var l=n(59939),u=n(57936),d=n(66431);function c(e,t,n={}){let o=t.render,p=function(e,t={}){var n;let{className:r,style:i,render:o}=e,{state:c=u.t0,ref:f,props:p,stateAttributesMapping:h,enabled:m=!0}=t,g=m?"function"==typeof r?r(c):r:void 0,v=m?"function"==typeof i?i(c):i:void 0,y=m?function(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);null!=e&&Object.assign(n,e);continue}!0===i?n[`data-${r.toLowerCase()}`]="":i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}(c,h):u.t0,b=m&&p?Array.isArray(n=p)?(0,d.lZ)(n):(0,d.v6)(void 0,n):void 0,x=m?(0,l.r)(y,b)??{}:u.t0;return("u">typeof document&&(m?Array.isArray(f)?x.ref=(0,a.U)([x.ref,s(o),...f]):x.ref=(0,a.a)(x.ref,s(o),f):(0,a.a)(null,null)),m)?(void 0!==g&&(x.className=(0,d.VN)(x.className,g)),void 0!==v&&(x.style=(0,l.r)(x.style,v)),x):u.t0}(t,n);return!1===n.enabled?null:function(e,t,n,a){if(t){if("function"==typeof t)return t(n,a);let e=(0,d.v6)(n,t.props);e.ref=n.ref;let r=t;return r?.$$typeof===f&&(r=i.Children.toArray(t)[0]),i.cloneElement(r,e)}if(e&&"string"==typeof e){var o,s;return o=e,s=n,"button"===o?(0,i.createElement)("button",{type:"button",...s,key:s.key}):"img"===o?(0,i.createElement)("img",{alt:"",...s,key:s.key}):i.createElement(o,s)}throw Error((0,r.A)(8))}(e,o,p,n.state??u.t0)}let f=Symbol.for("react.lazy")},93419:(e,t,n)=>{"use strict";n.d(t,{Cc:()=>l,wR:()=>f});var r=n(34023);let i={prefix:String(Math.round(1e10*Math.random())),current:0},a=r.createContext(i),o=r.createContext(!1),s=("u">typeof window&&window.document&&window.document.createElement,new WeakMap),l="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(f()),a=n?"react-aria":`react-aria${i.prefix}`;return e||`${a}-${t}`}:function(e){let t=(0,r.useContext)(a),n=function(e=!1){let t=(0,r.useContext)(a),n=(0,r.useRef)(null);if(null===n.current&&!e){var i,o;
67let e=null==(o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||null==(i=o.ReactCurrentOwner)?void 0:i.current;if(e){let n=s.get(e);null==n?s.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,s.delete(e))}n.current=++t.current}return n.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`};function u(){return!1}function d(){return!0}function c(e){return()=>{}}function f(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(c,u,d):(0,r.useContext)(o)}},93508:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,s:()=>o});var r=n(39993),i=n(10059),a=n(35700),o=class extends i.k{#t;#Q;#W;#z;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#W=e.mutationCache,this.#Q=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#Q.includes(e)||(this.#Q.push(e),this.clearGcTimeout(),this.#W.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#Q=this.#Q.filter(t=>t!==e),this.scheduleGc(),this.#W.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#Q.length||("pending"===this.state.status?this.scheduleGc():this.#W.remove(this))}continue(){return this.#z?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#L({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#z=(0,a.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#L({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#L({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#W.canRun(this)});let r="pending"===this.state.status,i=!this.#z.canStart();try{if(r)t();else{this.#L({type:"pending",variables:e,isPaused:i}),this.#W.config.onMutate&&await this.#W.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#L({type:"pending",context:t,variables:e,isPaused:i})}let a=await this.#z.start();return await this.#W.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#W.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#L({type:"success",data:a}),a}catch(t){try{await this.#W.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#W.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#L({type:"error",error:t}),t}finally{this.#W.runNext(this)}}#L(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),r.jG.batch(()=>{this.#Q.forEach(t=>{t.onMutationUpdate(e)}),this.#W.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},93602:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(34023),i=n(88018),a=n(7366);function o(e,t){let n=r.useRef(e),o=(0,a.K)(t);(0,i.g)(()=>{n.current!==e&&o(n.current),n.current=e},[e,o])}},93795:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(15741);function i(){let e=new Set;
67function t(t){e.forEach(e=>e(t))}return{" subscribe":function(t){return e.add(t),()=>{e.delete(t)}},add(e){let n=e.id||(0,r.$)("toast");return t({action:"add",options:{...e,id:n,transitionStatus:"starting"}}),n},close(e){t({action:"close",options:{id:e}})},update(e,n){t({action:"update",options:{...n,id:e}})},promise(e,n){let r=e;return t({action:"promise",options:{...n,promise:e,setPromise(e){r=e}}}),r}}}},94158:(e,t,n)=>{"use strict";n.d(t,{O:()=>o,Z:()=>a});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(e){let t=i.useContext(a);if(void 0===t&&!e)throw Error((0,r.A)(21));return t}},94454:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>O,i3:()=>j,UC:()=>A,bL:()=>P,Bk:()=>g});var r=n(34023),i=n(82317),a=n(83560),o=n(39739),s=n(94799),l=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,s.jsx)(o.sG.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})});l.displayName="Arrow";var u=n(34233),d=n(17069),c=n(12789),f=n(98004),p=n(99255),h="Popper",[m,g]=(0,d.A)(h),[v,y]=m(h),b=e=>{let{__scopePopper:t,children:n}=e,[i,a]=r.useState(null);return(0,s.jsx)(v,{scope:t,anchor:i,onAnchorChange:a,children:n})};b.displayName=h;var x="PopperAnchor",w=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...a}=e,l=y(x,n),d=r.useRef(null),c=(0,u.s)(t,d),f=r.useRef(null);return r.useEffect(()=>{let e=f.current;f.current=i?.current||d.current,e!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,s.jsx)(o.sG.div,{...a,ref:c})});w.displayName=x;var S="PopperContent",[k,E]=m(S),$=r.forwardRef((e,t)=>{let{__scopePopper:n,side:l="bottom",sideOffset:d=0,align:h="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:v=!0,collisionBoundary:b=[],collisionPadding:x=0,sticky:w="partial",hideWhenDetached:E=!1,updatePositionStrategy:$="optimized",onPlaced:_,...C}=e,D=y(S,n),[P,O]=r.useState(null),A=(0,u.s)(t,e=>O(e)),[j,z]=r.useState(null),N=(0,p.X)(j),M=N?.width??0,L=N?.height??0,F="number"==typeof x?x:{top:0,right:0,bottom:0,left:0,...x},U=Array.isArray(b)?b:[b],B=U.length>0,V={padding:F,boundary:U.filter(I),altBoundary:B},{refs:Z,floatingStyles:K,placement:q,isPositioned:W,middlewareData:G}=(0,i.we)({strategy:"fixed",placement:l+("center"!==h?"-"+h:""),whileElementsMounted:(...e)=>(0,a.ll)(...e,{animationFrame:"always"===$}),elements:{reference:D.anchor},middleware:[(0,i.cY)({mainAxis:d+L,alignmentAxis:m}),v&&(0,i.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===w?(0,i.ER)():void 0,...V}),v&&(0,i.UU)({...V}),(0,i.Ej)({...V,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${n}px`),o.setProperty("--radix-popper-available-height",`${r}px`),o.setProperty("--radix-popper-anchor-width",`${i}px`),o.setProperty("--radix-popper-anchor-height",`${a}px`)}}),j&&(0,i.UE)({element:j,padding:g}),R({arrowWidth:M,arrowHeight:L}),E&&(0,i.jD)({strategy:"referenceHidden",...V})]}),[H,J]=T(q),Y=(0,c.c)(_);(0,f.N)(()=>{W&&Y?.()},[W,Y]);let X=G.arrow?.x,Q=G.arrow?.y,ee=G.arrow?.centerOffset!==0,[et,en]=r.useState();return(0,f.N)(()=>{P&&en(window.getComputedStyle(P).zIndex)},[P]),(0,s.jsx)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:W?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[G.transformOrigin?.x,G.transformOrigin?.y].join(" "),...G.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(k,{scope:n,placedSide:H,onArrowChange:z,arrowX:X,arrowY:Q,shouldHideArrow:ee,children:(0,s.jsx)(o.sG.div,{"data-side":H,"data-align":J,...C,ref:A,style:{...C.style,animation:W?void 0:"none"}})})})});$.displayName=S;var _="PopperArrow",C={top:"bottom",right:"left",bottom:"top",left:"right"},D=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=E(_,n),a=C[i.placedSide];return(0,s.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,s.jsx)(l,{...r,ref:t,style:{...r.style,display:"block"}})})});function I(e){return null!==e}D.displayName=_;var R=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,u]=T(n),d={start:"0%",center:"50%",end:"100%"}[u],c=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p="",h="";return"bottom"===l?(p=a?d:`${c}px`,h=`${-s}px`):"top"===l?(p=a?d:`${c}px`,h=`${r.floating.height+s}px`):"right"===l?(p=`${-s}px`,h=a?d:`${f}px`):"left"===l&&(p=`${r.floating.width+s}px`,h=a?d:`${f}px`),{data:{x:p,y:h}}}});function T(e){let[t,n="center"]=e.split("-");return[t,n]}var P=b,O=w,A=$,j=D}
67,94664:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,l:()=>o});var r=n(68125),i=n(34023);let a=i.createContext(void 0);function o(){let e=i.useContext(a);if(!e)throw Error((0,r.A)(73));return e}},94675:(e,t,n)=>{"use strict";function r(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}n.d(t,{F:()=>r})},94921:(e,t,n)=>{"use strict";n.d(t,{H:()=>u});var r=n(34023),i=n(61426),a=n(92796),o=n(69045),s=n(8551),l=n(78337);let u=r.forwardRef(function(e,t){let{render:n,className:r,style:u,disabled:d=!1,nativeButton:c=!0,...f}=e,p=(0,i.P)(),h=p.useState("open"),{getButtonProps:m,buttonRef:g}=(0,o.s)({disabled:d,native:c});return(0,a.o)("button",e,{state:{disabled:d},ref:[t,g],props:[{onClick:function(e){h&&p.setOpen(!1,(0,s.d)(l.SR,e.nativeEvent))}},f,m]})})},95145:(e,t,n)=>{"use strict";n.d(t,{U:()=>g});var r=n(34023),i=n(49308),a=n(65736),o=n(99097),s=n(78638),l=n(49754),u=n(30417),d=n(79342),c=n(35303),f=n(94664),p=n(92796),h=n(62165),m=n(94799);let g=r.forwardRef(function(e,t){let{render:n,className:g,style:v,children:y,...b}=e,x=(0,f.l)(),w=(0,u.Z)(),S=r.useRef(!1),k=r.useRef(!1),E=r.useRef(!1),$=x.useState("isEmpty"),_=x.useState("toasts"),C=x.useState("focused"),D=x.useState("expanded"),I=x.useState("prevFocusElement"),R=_[0]?.height,T=_.some(e=>"ending"===e.transitionStatus),P=_.filter(e=>"high"===e.priority);function O(){x.state.toasts.some(e=>"ending"===e.transitionStatus)||E.current||!k.current||(x.state.isWindowFocused&&x.resumeTimers(),x.set("hovering",!1),k.current=!1)}function A(){x.pauseTimers(),x.set("hovering",!0),k.current=!1}function j(e){"touch"===e.pointerType&&(E.current=!1,O())}function z(){if(S.current){S.current=!1;return}!C&&(0,h.em)((0,d.RS)((0,s.R)(x.state.viewport)))&&(x.set("focused",!0),x.pauseTimers())}r.useEffect(()=>{let e=x.state.viewport;if(!e||$)return;let t=(0,o.zk)(e),n=(0,s.R)(e);return(0,a.g)((0,i.q)(t,"keydown",function(t){"F6"===t.key&&(0,d.EW)(t)!==e&&(t.preventDefault(),x.set("prevFocusElement",(0,d.RS)(n)),e?.focus({preventScroll:!0}),x.pauseTimers(),x.set("focused",!0))}),(0,i.q)(t,"blur",function(e){(0,d.EW)(e)===t&&(x.set("isWindowFocused",!1),x.pauseTimers())},!0),(0,i.q)(t,"focus",function(n){if(n.relatedTarget)return;let r=(0,d.EW)(n),i=(0,d.RS)((0,s.R)(e));r!==t&&(0,d.gR)(e,r)&&(0,h.em)(i)||x.resumeTimers(),w.start(0,()=>x.set("isWindowFocused",!0))},!0),(0,i.q)(n,"pointerdown",x.handleDocumentPointerDown,!0))},[x,w,$]),r.useEffect(O,[T,x]);let N={tabIndex:-1,role:"region","aria-live":"polite","aria-atomic":!1,"aria-relevant":"additions text","aria-label":"Notifications",onMouseEnter:A,onMouseMove:A,onMouseLeave:function(){k.current=!0,O()},onFocus:z,onBlur:function(e){!(!C||(0,d.gR)(x.state.viewport,e.relatedTarget))&&(x.set("focused",!1),x.state.isWindowFocused&&x.resumeTimers())},onKeyDown:function(e){"Tab"===e.key&&e.shiftKey&&(0,d.EW)(e.nativeEvent)===x.state.viewport&&(e.preventDefault(),x.restoreFocusToPrevElement())},onClick:z,onPointerDown:function(e){"touch"===e.pointerType&&(E.current=!0)},onPointerUp:j,onPointerCancel:j,style:{"--toast-frontmost-height":R?`${R}px`:void 0}},M=!$&&I&&(0,m.jsx)(c.U,{onFocus:function(e){S.current=!0;let t=e.relatedTarget===x.state.viewport?_.find(e=>"ending"!==e.transitionStatus&&!e.limited):void 0;t?t.ref?.current?.focus():x.restoreFocusToPrevElement()}}),L=(0,p.o)("div",e,{ref:[t,x.setViewport],state:{expanded:D},props:[N,b,{children:(0,m.jsxs)(r.Fragment,{children:[M,y,M]})}]});return(0,m.jsxs)(r.Fragment,{children:[M,L,!C&&P.length>0&&(0,m.jsx)("div",{style:l.Q,children:P.map(e=>(0,m.jsxs)("div",{role:"alert","aria-atomic":!0,children:[(0,m.jsx)("div",{children:e.title}),(0,m.jsx)("div",{children:e.description})]},e.id))})]})})},95598:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(34023),i=n(88018),a=n(30043);function o(e={}){let{guess:t,label:n,metadata:s,textRef:l,index:u}=e,{register:d,unregister:c,subscribeMapChange:f,nextIndexRef:p}=(0,a.M)(),h=r.useRef(-1),[m,g]=r.useState(null==u&&t?()=>{if(-1===h.current){let e=p.current;p.current+=1,h.current=e}return h.current}:-1),v=u??m,y=r.useRef(null),b=r.useCallback(e=>{let t=y.current;t&&c(t),y.current=e,e&&d(e,{metadata:s??null,index:u??null,label:n,textRef:l})},[u,d,c,s,n,l]);return(0,i.g)(()=>
67{if(null==u)return f(e=>{let t=y.current?e.get(y.current)?.index:null;null!=t&&g(t)})},[u,f]),{ref:b,index:v}}},95778:(e,t,n)=>{"use strict";function r(e){return e}function i(e){return e}function a(e){}function o(e){throw Error("Unexpected value in exhaustive check")}function s(e){}function l(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,n])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function u(e,t="|"){return e.map(e=>L(e)).join(t)}function d(e,t){return"bigint"==typeof t?t.toString():t}function c(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function f(e){return null==e}function p(e){let t=+!!e.startsWith("^"),n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function h(e,t){let n=(e.toString().split(".")[1]||"").length,r=t.toString(),i=(r.split(".")[1]||"").length;if(0===i&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}n.r(t),n.d(t,{BIGINT_FORMAT_RANGES:()=>B,Class:()=>ec,NUMBER_FORMAT_RANGES:()=>U,aborted:()=>J,allowsEval:()=>D,assert:()=>s,assertEqual:()=>r,assertIs:()=>a,assertNever:()=>o,assertNotEqual:()=>i,assignProp:()=>y,base64ToUint8Array:()=>ea,base64urlToUint8Array:()=>es,cached:()=>c,captureStackTrace:()=>_,cleanEnum:()=>ei,cleanRegex:()=>p,clone:()=>z,cloneDef:()=>x,createTransparentProxy:()=>M,defineLazy:()=>g,esc:()=>E,escapeRegex:()=>j,extend:()=>K,finalizeIssue:()=>Q,floatSafeRemainder:()=>h,getElementAtPath:()=>w,getEnumValues:()=>l,getLengthableOrigin:()=>et,getParsedType:()=>P,getSizableOrigin:()=>ee,hexToUint8Array:()=>eu,isObject:()=>C,isPlainObject:()=>I,issue:()=>er,joinValues:()=>u,jsonStringifyReplacer:()=>d,merge:()=>W,mergeDefs:()=>b,normalizeParams:()=>N,nullish:()=>f,numKeys:()=>T,objectClone:()=>v,omit:()=>Z,optionalKeys:()=>F,parsedType:()=>en,partial:()=>G,pick:()=>V,prefixIssues:()=>Y,primitiveTypes:()=>A,promiseAllObject:()=>S,propertyKeyTypes:()=>O,randomString:()=>k,required:()=>H,safeExtend:()=>q,shallowClone:()=>R,slugify:()=>$,stringifyPrimitive:()=>L,uint8ArrayToBase64:()=>eo,uint8ArrayToBase64url:()=>el,uint8ArrayToHex:()=>ed,unwrapMessage:()=>X});let m=Symbol("evaluating");function g(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==m)return void 0===r&&(r=m,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function v(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function y(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function b(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function x(e){return b(e._zod.def)}function w(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function S(e){let t=Object.keys(e);return Promise.all(t.map(t=>e[t])).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function k(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n}function E(e){return JSON.stringify(e)}function $(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let _="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function C(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let D=c(()=>{if("u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function I(e){if(!1===C(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let n=t.prototype;return!1!==C(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function R(e){return I(e)?{...e}:Array.isArray(e)?[...e]:e}function T(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}let P=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return"promise";if("u">typeof Map&&e instanceof Map)return"map";if("u">typeof Set&&e instanceof Set)return"set";if("u">typeof Date&&e instanceof Date)return"date";if("u">typeof File&&e instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${t}`)}},O=new Set(["string","number","symbol"]),A=new Set(["string","number","bigint","boolean","symbol","undefined"]);function j(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function z(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function N(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function M(e){let t;return new Proxy({},{get:(n,r,i)=>(t??(t=e()),Reflect.get(t,r,i)),set:(n,r,i,a)=>(t??(t=e()),Reflect.set(t,r,i,a)),has:(n,r)=>(t??(t=e()),Reflect.has(t,r)),deleteProperty:(n,r)=>(t??(t=e()),Reflect.deleteProperty(t,r)),ownKeys:n=>
67(t??(t=e()),Reflect.ownKeys(t)),getOwnPropertyDescriptor:(n,r)=>(t??(t=e()),Reflect.getOwnPropertyDescriptor(t,r)),defineProperty:(n,r,i)=>(t??(t=e()),Reflect.defineProperty(t,r,i))})}function L(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function F(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}let U={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},B={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function V(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let i=b(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return y(this,"shape",e),e},checks:[]});return z(e,i)}function Z(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let i=b(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return y(this,"shape",r),r},checks:[]});return z(e,i)}function K(e,t){if(!I(t))throw Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(n,e))throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=b(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return y(this,"shape",n),n}});return z(e,r)}function q(e,t){if(!I(t))throw Error("Invalid input to safeExtend: expected a plain object");let n=b(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return y(this,"shape",n),n}});return z(e,n)}function W(e,t){let n=b(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return y(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return z(e,n)}function G(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let i=b(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return y(this,"shape",i),i},checks:[]});return z(t,i)}function H(e,t,n){let r=b(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(let t in r)i[t]=new e({type:"nonoptional",innerType:r[t]});return y(this,"shape",i),i}});return z(t,r)}function J(e,t=0){if(!0===e.aborted)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Y(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function X(e){return"string"==typeof e?e:e?.message}function Q(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=X(e.inst?._zod.def?.error?.(e))??X(t?.error?.(e))??X(n.customError?.(e))??X(n.localeError?.(e))??"Invalid input"),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function ee(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function et(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function en(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":if(null===e)return"null";if(Array.isArray(e))return"array";if(e&&Object.getPrototypeOf(e)!==Object.prototype&&"constructor"in e&&e.constructor)return e.constructor.name}return t}function er(...e){let[t,n,r]=e;return"string"==typeof t?{message:t,code:"custom",input:n,inst:r}:{...t}}function ei(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function ea(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function eo(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function es(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return ea(t+n)}function el(e){return eo(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function eu(e){let t=e.replace(/^0x/,"");if(t.length%2!=0)throw Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function ed(e){return Array.from(e).map(e=>e.toString(16).padStart(2,"0")).join("")}class ec{constructor(...e){}}}
67,95898:(e,t,n)=>{"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{c:()=>r})},96094:(e,t,n)=>{"use strict";var r;n.d(t,{G:()=>s,T:()=>i});let i=((r={}).startingStyle="data-starting-style",r.endingStyle="data-ending-style",r),a={"data-starting-style":""},o={"data-ending-style":""},s={transitionStatus:e=>"starting"===e?a:"ending"===e?o:null}},96161:(e,t,n)=>{"use strict";n.d(t,{C:()=>E});var r=n(34023),i=n(53451),a=n(88018),o=n(78638),s=n(7366),l=n(96820),u=n(64441),d=n(99097),c=n(8551),f=n(78337),p=n(58302),h=n(3768),m=n(20290),g=n(62165),v=n(79342),y=n(82391),b=n(97057);function x(e){return u.Fp&&0===e.movementX&&0===e.movementY}function w(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function S(e,t){return w(t,e===m.il||e===m.Jd,e===m.eR||e===m.RJ)}function k(e,t,n){return w(t,e===m.Jd,n?e===m.eR:e===m.RJ)||"Enter"===e||" "===e||""===e}function E(e,t){let{listRef:n,activeIndex:u,onNavigate:E=()=>{},enabled:$=!0,selectedIndex:_=null,allowEscape:C=!1,loopFocus:D=!1,nested:I=!1,rtl:R=!1,virtual:T=!1,focusItemOnOpen:P="auto",focusItemOnHover:O=!0,openOnArrowKeyDown:A=!0,disabledIndices:j,orientation:z="vertical",parentOrientation:N,id:M,resetOnPointerLeave:L=!0,externalTree:F,grid:U}=t,B=null!=U,V="rootStore"in e?e.rootStore:e,Z=V.useState("open"),K=V.useState("floatingElement"),q=V.useState("domReferenceElement"),W=V.context.dataRef,G=(0,g.nd)(K),H=(0,g.WZ)(q),J=(0,l.u)(G),Y=(0,p.R1)(),X=(0,p.cq)(F),Q=r.useRef(P),ee=r.useRef(_??-1),et=r.useRef(null),en=r.useRef(!0),er=(0,s.K)(e=>{E(-1===ee.current?null:ee.current,e)}),ei=r.useRef(!!K),ea=r.useRef(Z),eo=r.useRef(!1),es=r.useRef(!1),el=r.useRef(null),eu=(0,l.u)(j),ed=(0,l.u)(Z),ec=(0,l.u)(_),ef=(0,l.u)(L),ep=(0,i.NR)(),eh=(0,i.NR)(),em=(0,s.K)(()=>{function e(e){T?X?.events.emit("virtualfocus",e):el.current=(0,y.p)(e,{sync:eo.current,preventScroll:!0})}let t=n.current[ee.current],r=es.current;t&&e(t),(eo.current?e=>e():e=>ep.request(e))(()=>{let i=n.current[ee.current]||t;!i||(t||e(i),ew&&(r||!en.current)&&i.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,a.g)(()=>{W.current.orientation=z},[W,z]),(0,a.g)(()=>{$&&(Z&&K?(ee.current=_??-1,Q.current&&null!=_&&(es.current=!0,er())):ei.current&&(ee.current=-1,er()))},[$,Z,K,_,er]),(0,a.g)(()=>{if($){if(!Z){eo.current=!1;return}if(K)if(null==u){if(eo.current=!1,null!=ec.current)return;if(ei.current&&(ee.current=-1,em()),(!ea.current||!ei.current)&&Q.current&&(null!=et.current||!0===Q.current&&null==et.current)){let e=0,t=()=>{null==n.current[0]?(e<2&&(e?e=>eh.request(e):queueMicrotask)(t),e+=1):(ee.current=null==et.current||k(et.current,z,R)||I?(0,h.Zb)(n):(0,h.vB)(n),et.current=null,er())};t()}}else(0,h.du)(n.current,u)||(ee.current=u,em(),es.current=!1)}},[$,Z,K,u,ec,I,n,z,R,er,em,eh]),(0,a.g)(()=>{if(!$||K||!X||T||!ei.current)return;let e=X.nodesRef.current,t=e.find(e=>e.id===Y)?.context?.elements.floating,n=(0,v.RS)((0,o.R)(q??t??null)),r=e.some(e=>e.context&&(0,v.gR)(e.context.elements.floating,n));t&&!r&&en.current&&t.focus({preventScroll:!0})},[$,K,q,X,Y,T]),(0,a.g)(()=>{ea.current=Z,ei.current=!!K}),(0,a.g)(()=>{Z||(et.current=null,Q.current=P)},[Z,P]);let eg=null!=u,ev=(0,s.K)(e=>{if(!ed.current)return;let t=n.current.indexOf(e.currentTarget);-1!==t&&(ee.current!==t||u!==t)&&(ee.current=t,er(e))}),ey=(0,s.K)(()=>N??X?.nodesRef.current.find(e=>e.id===Y)?.context?.dataRef?.current.orientation),eb=(0,s.K)(()=>(0,h.Zb)(n,eu.current)),ex=(0,s.K)(e=>{var t;let r,i;if(en.current=!1,eo.current=!0,229===e.which||!ed.current&&e.currentTarget===J.current)return;if(I&&(t=e.key,r=R?t===m.RJ:t===m.eR,i=t===m.il,"both"===z||"horizontal"===z&&B?"Escape"===t:w(z,r,i))){S(e.key,ey())||(0,b.jo)(e),V.setOpen(!1,(0,c.d)(f.Dq,e.nativeEvent)),(0,d.sb)(q)&&(T?X?.events.emit("virtualfocus",q):q.focus());return}let a=ee.current,o=(0,h.Zb)(n,j),s=(0,h.vB)(n,j);if(H||("Home"===e.key&&((0,b.jo)(e),ee.current=o,er(e)),"End"===e.key&&((0,b.jo)(e),ee.current=s,er(e))),null!=U){let t=U(e,ee.current,n,z,D,R,j,o,s);if(null!=t&&(ee.current=t,er(e)),"both"===z)return}if(S(e.key,z)){if((0,b.jo)(e),Z&&!T&&(0,v.RS)(e.currentTarget.ownerDocument)===e.currentTarget){ee.current=k(e.key,z,R)?o:s,er(e);return}k(e.key,z,R)?D?a>=s?C&&a!==n.current.length?ee.current=-1:(eo.current=!1,ee.current=o):ee.current=(0,h.BF)(n.current,{startingIndex:a,disabledIndices:j}):ee.current=Math.min(s,(0,h.BF)(n.current,{startingIndex:a,disabledIndices:j})):D?a<=o?C&&-1!==a?ee.current=n.current.length:(eo.current=!1,ee.current=s):ee.current=(0,h.BF)(n.current,{startingIndex:a,decrement:!0,disabledIndices:j}):ee.current=Math.max(o,(0,h.BF)(n.current,{startingIndex:a,decrement:!0,disabledIndices:j})),(0,h.du)(n.current,ee.current)&&(ee.current=-1),er(e)}}),ew=r.useMemo(()=>({onFocus(e){eo.current=!0,ev(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){!x(e)&&(eo.current=!0,es.current=!1,O&&ev(e))},onPointerLeave(e){if(!ed.current||!en.current||"touch"===e.pointerType)return;eo.current=!0;let t=e.relatedTarget;if(!(!O||n.current.includes(t))&&ef.current&&(el.current?.(),el.current=null,ee.current=-1,er(e),!T)){let e=J.current,t=(0,v.RS)((0,o.R)(e));e&&(0,v.gR)(e,t)&&e.focus({preventScroll:!0})}}}),[ev,ed,J,O,n,er,ef,T]),eS=r.useMemo(()=>T&&Z&&eg&&{"aria-activedescendant":`${M}-${u}`},[T,Z,eg,M,u]),ek=r.useMemo(()=>({"aria-orientation":"both"===z?void 0:z,...!H?eS:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&Z&&!T){let t=(0,v.EW)(e.nativeEvent);if(t&&!(0,v.gR)(J.current,t))return;(0,b.jo)(e),V.setOpen(!1,(0,c.d)(f.Xn,e.nativeEvent)),(0,d.sb)(q)&&q.focus();return}ex(e)},onPointerMove(e){x(e)||(en.current=!0)}}),[eS,ex,J,z,H,V,Z,T,q]),eE=r.useMemo(()=>{function e(e){V.setOpen(!0,(0,c.d)(f.Dq,e.nativeEvent,e.currentTarget))}function t(e){"auto"===P&&(0,b.YF)(e.nativeEvent)&&(Q.current=!T)}function n(e){Q.current=P,"auto"===P&&(0,b.Pg)(e.nativeEvent)&&(Q.current=!0)}return{onKeyDown(t){var n,r;let i=V.select("open");en.current=!1;
67let a=t.key.startsWith("Arrow"),o=(n=t.key,r=ey(),w(r,R?n===m.eR:n===m.RJ,n===m.Jd)),s=S(t.key,z),l=(I?o:s)||"Enter"===t.key||""===t.key.trim();if(T&&i)return ex(t);if(i||A||!a){if(l){let e=S(t.key,ey());et.current=I&&e?null:t.key}if(I){o&&((0,b.jo)(t),i?(ee.current=eb(),er(t)):e(t));return}s&&(null!=ec.current&&(ee.current=ec.current),(0,b.jo)(t),!i&&A?e(t):ex(t),i&&er(t))}},onFocus(e){V.select("open")&&!T&&(ee.current=-1,er(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[ex,P,eb,I,er,V,A,z,ey,R,ec,T]),e$=r.useMemo(()=>({...eS,...eE}),[eS,eE]);return r.useMemo(()=>$?{reference:e$,floating:ek,item:ew,trigger:eE}:{},[$,e$,ek,eE,ew])}},96820:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var r=n(88018),i=n(45753);function a(e){let t=(0,i.j)(o,e).current;return t.next=e,(0,r.g)(t.effect),t}function o(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}},97057:(e,t,n)=>{"use strict";n.d(t,{Ev:()=>d,Go:()=>u,O_:()=>o,Pg:()=>l,YF:()=>s,jo:()=>a});var r=n(7217),i=n(27370);function a(e){e.preventDefault(),e.stopPropagation()}function o(e){return"nativeEvent"in e}function s(e){return""===e.pointerType&&!!e.isTrusted||(r.yA&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function l(e){return!i.I&&(!r.yA&&0===e.width&&0===e.height||r.yA&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function u(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function d(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}},97765:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(34023),i=n(34233),a=n(98004),o=e=>{var t;let n,o,{present:l,children:u}=e,d=function(e){var t,n;let[i,o]=r.useState(),l=r.useRef(null),u=r.useRef(e),d=r.useRef("none"),[c,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=s(l.current);d.current="mounted"===c?e:"none"},[c]),(0,a.N)(()=>{let t=l.current,n=u.current;if(n!==e){let r=d.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,a.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=s(l.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(f("ANIMATION_END"),!u.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(d.current=s(l.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(l),c="function"==typeof u?u({present:d.isPresent}):r.Children.only(u),f=(0,i.s)(d.ref,(t=c,(o=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(o=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||d.isPresent?r.cloneElement(c,{ref:f}):null};function s(e){return e?.animationName||"none"}o.displayName="Presence"},97869:(e,t,n)=>{"use strict";n.d(t,{BF:()=>s,HQ:()=>r,K2:()=>a,Kd:()=>o,Pe:()=>d,X3:()=>i,eZ:()=>l,uD:()=>u,z_:()=>c});let r=500,i=500,a={style:{transition:"none"}},o="data-base-ui-click-trigger",s="[data-base-ui-swipe-ignore]",l="[data-swipe-ignore]",u={fallbackAxisSide:"none"},d={fallbackAxisSide:"end"},c={clipPath:"inset(50%)",position:"fixed",top:0,left:0}},98004:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(34023),i=globalThis?.document?r.useLayoutEffect:()=>{}},99056:(e,t,n)=>{"use strict";n.d(t,{da:()=>r,de:()=>i,en:()=>a,es:()=>o,fr:()=>s,hr:()=>l,it:()=>u,nl:()=>d,pt:()=>c,sv:()=>f});
67let r={ad:"Andorra",ae:"De Forenede Arabiske Emirater",af:"Afghanistan",ag:"Antigua og Barbuda",ai:"Anguilla",al:"Albanien",am:"Armenien",ao:"Angola",ar:"Argentina",as:"Amerikansk Samoa",at:"\xd8strig",au:"Australien",aw:"Aruba",ax:"\xc5land",az:"Aserbajdsjan",ba:"Bosnien-Hercegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgien",bf:"Burkina Faso",bg:"Bulgarien",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"Saint Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"De tidligere Nederlandske Antiller",br:"Brasilien",bs:"Bahamas",bt:"Bhutan",bw:"Botswana",by:"Hviderusland",bz:"Belize",ca:"Canada",cc:"Cocos\xf8erne",cd:"Congo-Kinshasa",cf:"Den Centralafrikanske Republik",cg:"Congo-Brazzaville",ch:"Schweiz",ci:"Elfenbenskysten",ck:"Cook\xf8erne",cl:"Chile",cm:"Cameroun",cn:"Kina",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Kap Verde",cw:"Cura\xe7ao",cx:"Jule\xf8en",cy:"Cypern",cz:"Tjekkiet",de:"Tyskland",dj:"Djibouti",dk:"Danmark",dm:"Dominica",do:"Den Dominikanske Republik",dz:"Algeriet",ec:"Ecuador",ee:"Estland",eg:"Egypten",eh:"Vestsahara",er:"Eritrea",es:"Spanien",et:"Etiopien",fi:"Finland",fj:"Fiji",fk:"Falklands\xf8erne",fm:"Mikronesien",fo:"F\xe6r\xf8erne",fr:"Frankrig",ga:"Gabon",gb:"Storbritannien",gd:"Grenada",ge:"Georgien",gf:"Fransk Guyana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Gr\xf8nland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"\xc6kvatorialguinea",gr:"Gr\xe6kenland",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"SAR Hongkong",hn:"Honduras",hr:"Kroatien",ht:"Haiti",hu:"Ungarn",id:"Indonesien",ie:"Irland",il:"Israel",im:"Isle of Man",in:"Indien",io:"Det Britiske Territorium i Det Indiske Ocean",iq:"Irak",ir:"Iran",is:"Island",it:"Italien",je:"Jersey",jm:"Jamaica",jo:"Jordan",jp:"Japan",ke:"Kenya",kg:"Kirgisistan",kh:"Cambodja",ki:"Kiribati",km:"Comorerne",kn:"Saint Kitts og Nevis",kp:"Nordkorea",kr:"Sydkorea",kw:"Kuwait",ky:"Cayman\xf8erne",kz:"Kasakhstan",la:"Laos",lb:"Libanon",lc:"Saint Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Litauen",lu:"Luxembourg",lv:"Letland",ly:"Libyen",ma:"Marokko",mc:"Monaco",md:"Moldova",me:"Montenegro",mf:"Saint Martin",mg:"Madagaskar",mh:"Marshall\xf8erne",mk:"Nordmakedonien",ml:"Mali",mm:"Myanmar (Burma)",mn:"Mongoliet",mo:"SAR Macao",mp:"Nordmarianerne",mq:"Martinique",mr:"Mauretanien",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldiverne",mw:"Malawi",mx:"Mexico",my:"Malaysia",mz:"Mozambique",na:"Namibia",nc:"Ny Kaledonien",ne:"Niger",nf:"Norfolk Island",ng:"Nigeria",ni:"Nicaragua",nl:"Holland",no:"Norge",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"New Zealand",om:"Oman",pa:"Panama",pe:"Peru",pf:"Fransk Polynesien",pg:"Papua Ny Guinea",ph:"Filippinerne",pk:"Pakistan",pl:"Polen",pm:"Saint Pierre og Miquelon",pr:"Puerto Rico",ps:"De pal\xe6stinensiske omr\xe5der",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xe9union",ro:"Rum\xe6nien",rs:"Serbien",ru:"Rusland",rw:"Rwanda",sa:"Saudi-Arabien",sb:"Salomon\xf8erne",sc:"Seychellerne",sd:"Sudan",se:"Sverige",sg:"Singapore",sh:"St. Helena",si:"Slovenien",sj:"Svalbard og Jan Mayen",sk:"Slovakiet",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Surinam",ss:"Sydsudan",st:"S\xe3o Tom\xe9 og Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syrien",sz:"Eswatini",tc:"Turks- og Caicos\xf8erne",td:"Tchad",tg:"Togo",th:"Thailand",tj:"Tadsjikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunesien",to:"Tonga",tr:"Tyrkiet",tt:"Trinidad og Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ukraine",ug:"Uganda",us:"USA",uy:"Uruguay",uz:"Usbekistan",va:"Vatikanstaten",vc:"Saint Vincent og Grenadinerne",ve:"Venezuela",vg:"De Britiske Jomfru\xf8er",vi:"De Amerikanske Jomfru\xf8er",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis og Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"Sydafrika",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Valgt land",noCountrySelected:"Intet land er valgt",countryListAriaLabel:"Liste over lande",searchPlaceholder:"S\xf8g",zeroSearchResults:"Ingen resultater fundet",oneSearchResult:"1 resultat fundet",multipleSearchResults:"${count} resultater fundet",ac:"Ascension",xk:"Kosovo"}
67,i={ad:"Andorra",ae:"Vereinigte Arabische Emirate",af:"Afghanistan",ag:"Antigua und Barbuda",ai:"Anguilla",al:"Albanien",am:"Armenien",ao:"Angola",ar:"Argentinien",as:"Amerikanisch-Samoa",at:"\xd6sterreich",au:"Australien",aw:"Aruba",ax:"\xc5landinseln",az:"Aserbaidschan",ba:"Bosnien und Herzegowina",bb:"Barbados",bd:"Bangladesch",be:"Belgien",bf:"Burkina Faso",bg:"Bulgarien",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"St. Barth\xe9lemy",bm:"Bermuda",bn:"Brunei Darussalam",bo:"Bolivien",bq:"Bonaire, Sint Eustatius und Saba",br:"Brasilien",bs:"Bahamas",bt:"Bhutan",bw:"Botsuana",by:"Belarus",bz:"Belize",ca:"Kanada",cc:"Kokosinseln",cd:"Kongo-Kinshasa",cf:"Zentralafrikanische Republik",cg:"Kongo-Brazzaville",ch:"Schweiz",ci:"C\xf4te d’Ivoire",ck:"Cookinseln",cl:"Chile",cm:"Kamerun",cn:"China",co:"Kolumbien",cr:"Costa Rica",cu:"Kuba",cv:"Cabo Verde",cw:"Cura\xe7ao",cx:"Weihnachtsinsel",cy:"Zypern",cz:"Tschechien",de:"Deutschland",dj:"Dschibuti",dk:"D\xe4nemark",dm:"Dominica",do:"Dominikanische Republik",dz:"Algerien",ec:"Ecuador",ee:"Estland",eg:"\xc4gypten",eh:"Westsahara",er:"Eritrea",es:"Spanien",et:"\xc4thiopien",fi:"Finnland",fj:"Fidschi",fk:"Falklandinseln",fm:"Mikronesien",fo:"F\xe4r\xf6er",fr:"Frankreich",ga:"Gabun",gb:"Vereinigtes K\xf6nigreich",gd:"Grenada",ge:"Georgien",gf:"Franz\xf6sisch-Guayana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Gr\xf6nland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"\xc4quatorialguinea",gr:"Griechenland",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Sonderverwaltungsregion Hongkong",hn:"Honduras",hr:"Kroatien",ht:"Haiti",hu:"Ungarn",id:"Indonesien",ie:"Irland",il:"Israel",im:"Isle of Man",in:"Indien",io:"Britisches Territorium im Indischen Ozean",iq:"Irak",ir:"Iran",is:"Island",it:"Italien",je:"Jersey",jm:"Jamaika",jo:"Jordanien",jp:"Japan",ke:"Kenia",kg:"Kirgisistan",kh:"Kambodscha",ki:"Kiribati",km:"Komoren",kn:"St. Kitts und Nevis",kp:"Nordkorea",kr:"S\xfcdkorea",kw:"Kuwait",ky:"Kaimaninseln",kz:"Kasachstan",la:"Laos",lb:"Libanon",lc:"St. Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Litauen",lu:"Luxemburg",lv:"Lettland",ly:"Libyen",ma:"Marokko",mc:"Monaco",md:"Republik Moldau",me:"Montenegro",mf:"St. Martin",mg:"Madagaskar",mh:"Marshallinseln",mk:"Nordmazedonien",ml:"Mali",mm:"Myanmar",mn:"Mongolei",mo:"Sonderverwaltungsregion Macau",mp:"N\xf6rdliche Marianen",mq:"Martinique",mr:"Mauretanien",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Malediven",mw:"Malawi",mx:"Mexiko",my:"Malaysia",mz:"Mosambik",na:"Namibia",nc:"Neukaledonien",ne:"Niger",nf:"Norfolkinsel",ng:"Nigeria",ni:"Nicaragua",nl:"Niederlande",no:"Norwegen",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Neuseeland",om:"Oman",pa:"Panama",pe:"Peru",pf:"Franz\xf6sisch-Polynesien",pg:"Papua-Neuguinea",ph:"Philippinen",pk:"Pakistan",pl:"Polen",pm:"St. Pierre und Miquelon",pr:"Puerto Rico",ps:"Pal\xe4stinensische Autonomiegebiete",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Katar",re:"R\xe9union",ro:"Rum\xe4nien",rs:"Serbien",ru:"Russland",rw:"Ruanda",sa:"Saudi-Arabien",sb:"Salomonen",sc:"Seychellen",sd:"Sudan",se:"Schweden",sg:"Singapur",sh:"St. Helena",si:"Slowenien",sj:"Spitzbergen und Jan Mayen",sk:"Slowakei",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Suriname",ss:"S\xfcdsudan",st:"S\xe3o Tom\xe9 und Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syrien",sz:"Eswatini",tc:"Turks- und Caicosinseln",td:"Tschad",tg:"Togo",th:"Thailand",tj:"Tadschikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunesien",to:"Tonga",tr:"T\xfcrkei",tt:"Trinidad und Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tansania",ua:"Ukraine",ug:"Uganda",us:"Vereinigte Staaten",uy:"Uruguay",uz:"Usbekistan",va:"Vatikanstadt",vc:"St. 
67Vincent und die Grenadinen",ve:"Venezuela",vg:"Britische Jungferninseln",vi:"Amerikanische Jungferninseln",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis und Futuna",ws:"Samoa",ye:"Jemen",yt:"Mayotte",za:"S\xfcdafrika",zm:"Sambia",zw:"Simbabwe",selectedCountryAriaLabel:"Ausgew\xe4hltes Land",noCountrySelected:"Kein Land ausgew\xe4hlt",countryListAriaLabel:"Liste der L\xe4nder",searchPlaceholder:"Suchen",zeroSearchResults:"Keine Suchergebnisse",oneSearchResult:"1 Suchergebnis",multipleSearchResults:"${count} Suchergebnisse",ac:"Ascension-Insel",xk:"Kosovo"},a={ad:"Andorra",ae:"United Arab Emirates",af:"Afghanistan",ag:"Antigua & Barbuda",ai:"Anguilla",al:"Albania",am:"Armenia",ao:"Angola",ar:"Argentina",as:"American Samoa",at:"Austria",au:"Australia",aw:"Aruba",ax:"\xc5land Islands",az:"Azerbaijan",ba:"Bosnia & Herzegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgium",bf:"Burkina Faso",bg:"Bulgaria",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"St. Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Caribbean Netherlands",br:"Brazil",bs:"Bahamas",bt:"Bhutan",bw:"Botswana",by:"Belarus",bz:"Belize",ca:"Canada",cc:"Cocos (Keeling) Islands",cd:"Congo - Kinshasa",cf:"Central African Republic",cg:"Congo - Brazzaville",ch:"Switzerland",ci:"C\xf4te d’Ivoire",ck:"Cook Islands",cl:"Chile",cm:"Cameroon",cn:"China",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Cape Verde",cw:"Cura\xe7ao",cx:"Christmas Island",cy:"Cyprus",cz:"Czechia",de:"Germany",dj:"Djibouti",dk:"Denmark",dm:"Dominica",do:"Dominican Republic",dz:"Algeria",ec:"Ecuador",ee:"Estonia",eg:"Egypt",eh:"Western Sahara",er:"Eritrea",es:"Spain",et:"Ethiopia",fi:"Finland",fj:"Fiji",fk:"Falkland Islands",fm:"Micronesia",fo:"Faroe Islands",fr:"France",ga:"Gabon",gb:"United Kingdom",gd:"Grenada",ge:"Georgia",gf:"French Guiana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Greenland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"Equatorial Guinea",gr:"Greece",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Hong Kong SAR China",hn:"Honduras",hr:"Croatia",ht:"Haiti",hu:"Hungary",id:"Indonesia",ie:"Ireland",il:"Israel",im:"Isle of Man",in:"India",io:"British Indian Ocean Territory",iq:"Iraq",ir:"Iran",is:"Iceland",it:"Italy",je:"Jersey",jm:"Jamaica",jo:"Jordan",jp:"Japan",ke:"Kenya",kg:"Kyrgyzstan",kh:"Cambodia",ki:"Kiribati",km:"Comoros",kn:"St. Kitts & Nevis",kp:"North Korea",kr:"South Korea",kw:"Kuwait",ky:"Cayman Islands",kz:"Kazakhstan",la:"Laos",lb:"Lebanon",lc:"St. Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Lithuania",lu:"Luxembourg",lv:"Latvia",ly:"Libya",ma:"Morocco",mc:"Monaco",md:"Moldova",me:"Montenegro",mf:"St. Martin",mg:"Madagascar",mh:"Marshall Islands",mk:"North Macedonia",ml:"Mali",mm:"Myanmar (Burma)",mn:"Mongolia",mo:"Macao SAR China",mp:"Northern Mariana Islands",mq:"Martinique",mr:"Mauritania",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldives",mw:"Malawi",mx:"Mexico",my:"Malaysia",mz:"Mozambique",na:"Namibia",nc:"New Caledonia",ne:"Niger",nf:"Norfolk Island",ng:"Nigeria",ni:"Nicaragua",nl:"Netherlands",no:"Norway",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"New Zealand",om:"Oman",pa:"Panama",pe:"Peru",pf:"French Polynesia",pg:"Papua New Guinea",ph:"Philippines",pk:"Pakistan",pl:"Poland",pm:"St. Pierre & Miquelon",pr:"Puerto Rico",ps:"Palestinian Territories",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xe9union",ro:"Romania",rs:"Serbia",ru:"Russia",rw:"Rwanda",sa:"Saudi Arabia",sb:"Solomon Islands",sc:"Seychelles",sd:"Sudan",se:"Sweden",sg:"Singapore",sh:"St. Helena",si:"Slovenia",sj:"Svalbard & Jan Mayen",sk:"Slovakia",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Suriname",ss:"South Sudan",st:"S\xe3o Tom\xe9 & Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syria",sz:"Eswatini",tc:"Turks & Caicos Islands",td:"Chad",tg:"Togo",th:"Thailand",tj:"Tajikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunisia",to:"Tonga",tr:"Turkey",tt:"Trinidad & Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ukraine",ug:"Uganda",us:"United States",uy:"Uruguay",uz:"Uzbekistan",va:"Vatican City",vc:"St. Vincent & Grenadines",ve:"Venezuela",vg:"British Virgin Islands",vi:"U.S. Virgin Islands",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis & Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"South Africa",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Change country, selected ${countryName} (${dialCode})",noCountrySelected:"Select country",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",clearSearchAriaLabel:"Clear search",zeroSearchResults:"No results found",oneSearchResult:"1 result found",multipleSearchResults:"${count} results found",ac:"Ascension Island",xk:"Kosovo"}
67,o={ad:"Andorra",ae:"Emiratos \xc1rabes Unidos",af:"Afganist\xe1n",ag:"Antigua y Barbuda",ai:"Anguila",al:"Albania",am:"Armenia",ao:"Angola",ar:"Argentina",as:"Samoa Americana",at:"Austria",au:"Australia",aw:"Aruba",ax:"Islas \xc5land",az:"Azerbaiy\xe1n",ba:"Bosnia y Herzegovina",bb:"Barbados",bd:"Banglad\xe9s",be:"B\xe9lgica",bf:"Burkina Faso",bg:"Bulgaria",bh:"Bar\xe9in",bi:"Burundi",bj:"Ben\xedn",bl:"San Bartolom\xe9",bm:"Bermudas",bn:"Brun\xe9i",bo:"Bolivia",bq:"Caribe neerland\xe9s",br:"Brasil",bs:"Bahamas",bt:"But\xe1n",bw:"Botsuana",by:"Bielorrusia",bz:"Belice",ca:"Canad\xe1",cc:"Islas Cocos",cd:"Rep\xfablica Democr\xe1tica del Congo",cf:"Rep\xfablica Centroafricana",cg:"Congo",ch:"Suiza",ci:"C\xf4te d’Ivoire",ck:"Islas Cook",cl:"Chile",cm:"Camer\xfan",cn:"China",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Cabo Verde",cw:"Curazao",cx:"Isla de Navidad",cy:"Chipre",cz:"Chequia",de:"Alemania",dj:"Yibuti",dk:"Dinamarca",dm:"Dominica",do:"Rep\xfablica Dominicana",dz:"Argelia",ec:"Ecuador",ee:"Estonia",eg:"Egipto",eh:"S\xe1hara Occidental",er:"Eritrea",es:"Espa\xf1a",et:"Etiop\xeda",fi:"Finlandia",fj:"Fiyi",fk:"Islas Malvinas",fm:"Micronesia",fo:"Islas Feroe",fr:"Francia",ga:"Gab\xf3n",gb:"Reino Unido",gd:"Granada",ge:"Georgia",gf:"Guayana Francesa",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Groenlandia",gm:"Gambia",gn:"Guinea",gp:"Guadalupe",gq:"Guinea Ecuatorial",gr:"Grecia",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bis\xe1u",gy:"Guyana",hk:"RAE de Hong Kong (China)",hn:"Honduras",hr:"Croacia",ht:"Hait\xed",hu:"Hungr\xeda",id:"Indonesia",ie:"Irlanda",il:"Israel",im:"Isla de Man",in:"India",io:"Territorio Brit\xe1nico del Oc\xe9ano \xcdndico",iq
67:"Irak",ir:"Ir\xe1n",is:"Islandia",it:"Italia",je:"Jersey",jm:"Jamaica",jo:"Jordania",jp:"Jap\xf3n",ke:"Kenia",kg:"Kirguist\xe1n",kh:"Camboya",ki:"Kiribati",km:"Comoras",kn:"San Crist\xf3bal y Nieves",kp:"Corea del Norte",kr:"Corea del Sur",kw:"Kuwait",ky:"Islas Caim\xe1n",kz:"Kazajist\xe1n",la:"Laos",lb:"L\xedbano",lc:"Santa Luc\xeda",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesoto",lt:"Lituania",lu:"Luxemburgo",lv:"Letonia",ly:"Libia",ma:"Marruecos",mc:"M\xf3naco",md:"Moldavia",me:"Montenegro",mf:"San Mart\xedn",mg:"Madagascar",mh:"Islas Marshall",mk:"Macedonia del Norte",ml:"Mali",mm:"Myanmar (Birmania)",mn:"Mongolia",mo:"RAE de Macao (China)",mp:"Islas Marianas del Norte",mq:"Martinica",mr:"Mauritania",ms:"Montserrat",mt:"Malta",mu:"Mauricio",mv:"Maldivas",mw:"Malaui",mx:"M\xe9xico",my:"Malasia",mz:"Mozambique",na:"Namibia",nc:"Nueva Caledonia",ne:"N\xedger",nf:"Isla Norfolk",ng:"Nigeria",ni:"Nicaragua",nl:"Pa\xedses Bajos",no:"Noruega",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nueva Zelanda",om:"Om\xe1n",pa:"Panam\xe1",pe:"Per\xfa",pf:"Polinesia Francesa",pg:"Pap\xfaa Nueva Guinea",ph:"Filipinas",pk:"Pakist\xe1n",pl:"Polonia",pm
67:"San Pedro y Miquel\xf3n",pr:"Puerto Rico",ps:"Territorios Palestinos",pt:"Portugal",pw:"Palaos",py:"Paraguay",qa:"Catar",re:"Reuni\xf3n",ro:"Ruman\xeda",rs:"Serbia",ru:"Rusia",rw:"Ruanda",sa:"Arabia Saud\xed",sb:"Islas Salom\xf3n",sc:"Seychelles",sd:"Sud\xe1n",se:"Suecia",sg:"Singapur",sh:"Santa Elena",si:"Eslovenia",sj:"Svalbard y Jan Mayen",sk:"Eslovaquia",sl:"Sierra Leona",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Surinam",ss:"Sud\xe1n del Sur",st:"Santo Tom\xe9 y Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Siria",sz:"Esuatini",tc:"Islas Turcas y Caicos",td:"Chad",tg:"Togo",th:"Tailandia",tj:"Tayikist\xe1n",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenist\xe1n",tn:"T\xfanez",to:"Tonga",tr:"Turqu\xeda",tt:"Trinidad y Tobago",tv:"Tuvalu",tw:"Taiw\xe1n",tz:"Tanzania",ua:"Ucrania",ug:"Uganda",us:"Estados Unidos",uy:"Uruguay",uz:"Uzbekist\xe1n",va:"Ciudad del Vaticano",vc:"San Vicente y las Granadinas",ve:"Venezuela",vg:"Islas V\xedrgenes Brit\xe1nicas",vi:"Islas V\xedrgenes de EE. UU.",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis y Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"Sud\xe1frica",zm:"Zambia",zw:"Zimbabue",selectedCountryAriaLabel:"Pa\xeds seleccionado",noCountrySelected:"Ning\xfan pa\xeds seleccionado",countryListAriaLabel:"Lista de pa\xedses",searchPlaceholder:"Buscar",zeroSearchResults:"No se han encontrado resultados",oneSearchResult:"1 resultado encontrado",multipleSearchResults:"${count} resultados encontrados",ac:"isla Ascencion",xk:"Kosovo"},s={ad:"Andorre",ae:"\xc9mirats arabes unis",af:"Afghanistan",ag:"Antigua-et-Barbuda",ai:"Anguilla",al:"Albanie",am:"Arm\xe9nie",ao:"Angola",ar:"Argentine",as:"Samoa am\xe9ricaines",at:"Autriche",au:"Australie",aw:"Aruba",ax:"\xceles \xc5land",az:"Azerba\xefdjan",ba:"Bosnie-Herz\xe9govine",bb:"Barbade",bd:"Bangladesh",be:"Belgique",bf:"Burkina Faso",bg:"Bulgarie",bh:"Bahre\xefn",bi:"Burundi",bj:"B\xe9nin",bl:"Saint-Barth\xe9lemy",bm:"Bermudes",bn:"Brun\xe9i Darussalam",bo:"Bolivie",bq:"Pays-Bas carib\xe9ens",br:"Br\xe9sil",bs:"Bahamas",bt:"Bhoutan",bw:"Botswana",by:"Bi\xe9lorussie",bz:"Belize",ca:"Canada",cc:"\xceles Cocos",cd:"Congo-Kinshasa",cf:"R\xe9publique centrafricaine",cg:"Congo-Brazzaville",ch:"Suisse",ci:"C\xf4te d’Ivoire",ck:"\xceles Cook",cl:"Chili",cm:"Cameroun",cn:"Chine",co:"Colombie",cr:"Costa Rica",cu:"Cuba",cv:"Cap-Vert",cw:"Cura\xe7ao",cx:"\xcele Christmas",cy:"Chypre",cz:"Tch\xe9quie",de:"Allemagne",dj:"Djibouti",dk:"Danemark",dm:"Dominique",do:"R\xe9publique dominicaine",dz:"Alg\xe9rie",ec:"\xc9quateur",ee:"Estonie",eg:"\xc9gypte",eh:"Sahara occidental",er:"\xc9rythr\xe9e",es:"Espagne",et:"\xc9thiopie",fi:"Finlande",fj:"Fidji",fk:"\xceles Malouines",fm:"\xc9tats f\xe9d\xe9r\xe9s de Micron\xe9sie",fo:"\xceles F\xe9ro\xe9",fr:"France",ga:"Gabon",gb:"Royaume-Uni",gd:"Grenade",ge:"G\xe9orgie",gf:"Guyane fran\xe7aise",gg:"Guernesey",gh:"Ghana",gi:"Gibraltar",gl:"Groenland",gm:"Gambie",gn:"Guin\xe9e",gp:"Guadeloupe",gq:"Guin\xe9e \xe9quatoriale",gr:"Gr\xe8ce",gt:"Guatemala",gu:"Guam",gw:"Guin\xe9e-Bissau",gy:"Guyana",hk:"R.A.S. chinoise de Hong Kong",hn:"Honduras",hr:"Croatie",ht:"Ha\xefti",hu:"Hongrie",id:"Indon\xe9sie",ie:"Irlande",il:"Isra\xebl",im:"\xcele de Man",in:"Inde",io:"Territoire britannique de l’oc\xe9an Indien",iq:"Irak",ir:"Iran",is:"Islande",it:"Italie",je:"Jersey",jm:"Jama\xefque",jo:"Jordanie",jp:"Japon",ke:"Kenya",kg:"Kirghizistan",kh:"Cambodge",ki:"Kiribati",km:"Comores",kn:"Saint-Christophe-et-Ni\xe9v\xe8s",kp:"Cor\xe9e du Nord",kr:"Cor\xe9e du Sud",kw:"Kowe\xeft",ky:"\xceles Ca\xefmans",kz:"Kazakhstan",la:"Laos",lb:"Liban",lc:"Sainte-Lucie",li:"Liechtenstein",lk:"Sri Lanka",lr:"Lib\xe9ria",ls:"Lesotho",lt:"Lituanie",lu:"Luxembourg",lv:"Lettonie",ly:"Libye",ma:"Maroc",mc:"Monaco",md:"Moldavie",me:"Mont\xe9n\xe9gro",mf:"Saint-Martin",mg:"Madagascar",mh:"\xceles Marshall",mk:"Mac\xe9doine du Nord",ml:"Mali",mm:"Myanmar (Birmanie)",mn:"Mongolie",mo:"R.A.S. chinoise de Macao",mp:"\xceles Mariannes du Nord",mq:"Martinique",mr:"Mauritanie",ms:"Montserrat",mt:"Malte",mu:"Maurice",mv:"Maldives",mw:"Malawi",mx:"Mexique",my:"Malaisie",mz:"Mozambique",na:"Namibie",nc:"Nouvelle-Cal\xe9donie",ne:"Niger",nf:"\xcele Norfolk",ng:"Nig\xe9ria",ni:"Nicaragua",
67nl:"Pays-Bas",no:"Norv\xe8ge",np:"N\xe9pal",nr:"Nauru",nu:"Niue",nz:"Nouvelle-Z\xe9lande",om:"Oman",pa:"Panama",pe:"P\xe9rou",pf:"Polyn\xe9sie fran\xe7aise",pg:"Papouasie-Nouvelle-Guin\xe9e",ph:"Philippines",pk:"Pakistan",pl:"Pologne",pm:"Saint-Pierre-et-Miquelon",pr:"Porto Rico",ps:"Territoires palestiniens",pt:"Portugal",pw:"Palaos",py:"Paraguay",qa:"Qatar",re:"La R\xe9union",ro:"Roumanie",rs:"Serbie",ru:"Russie",rw:"Rwanda",sa:"Arabie saoudite",sb:"\xceles Salomon",sc:"Seychelles",sd:"Soudan",se:"Su\xe8de",sg:"Singapour",sh:"Sainte-H\xe9l\xe8ne",si:"Slov\xe9nie",sj:"Svalbard et Jan Mayen",sk:"Slovaquie",sl:"Sierra Leone",sm:"Saint-Marin",sn:"S\xe9n\xe9gal",so:"Somalie",sr:"Suriname",ss:"Soudan du Sud",st:"Sao Tom\xe9-et-Principe",sv:"Salvador",sx:"Saint-Martin (partie n\xe9erlandaise)",sy:"Syrie",sz:"Eswatini",tc:"\xceles Turques-et-Ca\xefques",td:"Tchad",tg:"Togo",th:"Tha\xeflande",tj:"Tadjikistan",tk:"Tokelau",tl:"Timor oriental",tm:"Turkm\xe9nistan",tn:"Tunisie",to:"Tonga",tr:"Turquie",tt:"Trinit\xe9-et-Tobago",tv:"Tuvalu",tw:"Ta\xefwan",tz:"Tanzanie",ua:"Ukraine",ug:"Ouganda",us:"\xc9tats-Unis",uy:"Uruguay",uz:"Ouzb\xe9kistan",va:"\xc9tat de la Cit\xe9 du Vatican",vc:"Saint-Vincent-et-les-Grenadines",ve:"Venezuela",vg:"\xceles Vierges britanniques",vi:"\xceles Vierges des \xc9tats-Unis",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis-et-Futuna",ws:"Samoa",ye:"Y\xe9men",yt:"Mayotte",za:"Afrique du Sud",zm:"Zambie",zw:"Zimbabwe",selectedCountryAriaLabel:"Pays s\xe9lectionn\xe9",noCountrySelected:"Aucun pays s\xe9lectionn\xe9",countryListAriaLabel:"Liste des pays",searchPlaceholder:"Recherche",zeroSearchResults:"Aucun r\xe9sultat trouv\xe9",oneSearchResult:"1 r\xe9sultat trouv\xe9",multipleSearchResults:"${count} r\xe9sultats trouv\xe9s",ac:"\xcele de l'Ascension",xk:"Kosovo"},l={ad:"Andora",ae:"Ujedinjeni Arapski Emirati",af:"Afganistan",ag:"Antigva i Barbuda",ai:"Angvila",al:"Albanija",am:"Armenija",ao:"Angola",ar:"Argentina",as:"Američka Samoa",at:"Austrija",au:"Australija",aw:"Aruba",ax:"\xc5landski otoci",az:"Azerbajdžan",ba:"Bosna i Hercegovina",bb:"Barbados",bd:"Bangladeš",be:"Belgija",bf:"Burkina Faso",bg:"Bugarska",bh:"Bahrein",bi:"Burundi",bj:"Benin",bl:"Saint Barth\xe9lemy",bm:"Bermudi",bn:"Brunej",bo:"Bolivija",bq:"Karipski otoci Nizozemske",br:"Brazil",bs:"Bahami",bt:"Butan",bw:"Bocvana",by:"Bjelorusija",bz:"Belize",ca:"Kanada",cc:"Kokosovi (Keelingovi) otoci",cd:"Kongo - Kinshasa",cf:"Srednjoafrička Republika",cg:"Kongo - Brazzaville",ch:"Švicarska",ci:"Obala Bjelokosti",ck:"Cookovi Otoci",cl:"Čile",cm:"Kamerun",cn:"Kina",co:"Kolumbija",cr:"Kostarika",cu:"Kuba",cv:"Zelenortska Republika",cw:"Cura\xe7ao",cx:"Božićni otok",cy:"Cipar",cz:"Češka",de:"Njemačka",dj:"Džibuti",dk:"Danska",dm:"Dominika",do:"Dominikanska Republika",dz:"Alžir",ec:"Ekvador",ee:"Estonija",eg:"Egipat",eh:"Zapadna Sahara",er:"Eritreja",es:"Španjolska",et:"Etiopija",fi:"Finska",fj:"Fidži",fk:"Falklandski otoci",fm:"Mikronezija",fo:"Farski otoci",fr:"Francuska",ga:"Gabon",gb:"Ujedinjeno Kraljevstvo",gd:"Grenada",ge:"Gruzija",gf:"Francuska Gijana",gg:"Guernsey",gh:"Gana",gi:"Gibraltar",gl:"Grenland",gm:"Gambija",gn:"Gvineja",gp:"Guadalupe",gq:"Ekvatorska Gvineja",gr:"Grčka",gt:"Gvatemala",gu:"Guam",gw:"Gvineja Bisau",gy:"Gvajana",hk:"PUP Hong Kong Kina",hn:"Honduras",hr:"Hrvatska",ht:"Haiti",hu:"Mađarska",id:"Indonezija",ie:"Irska",il:"Izrael",im:"Otok Man",in:"Indija",io:"Britanski Indijskooceanski teritorij",iq:"Irak",ir:"Iran",is:"Island",it:"Italija",je:"Jersey",jm:"Jamajka",jo:"Jordan",jp:"Japan",ke:"Kenija",kg:"Kirgistan",kh:"Kambodža",ki:"Kiribati",km:"Komori",kn:"Sveti Kristofor i Nevis",kp:"Sjeverna Koreja",kr:"Južna Koreja",kw:"Kuvajt",ky:"Kajmanski otoci",kz:"Kazahstan",la:"Laos",lb:"Libanon",lc:"Sveta Lucija",li:"Lihtenštajn",lk:"Šri Lanka",lr:"Liberija",ls:"Lesoto",lt:"Litva",lu:"Luksemburg",lv:"Latvija",ly:"Libija",ma:"Maroko",mc:"Monako",md:"Moldavija",me:"Crna Gora",mf:"Saint Martin",mg:"Madagaskar",mh:"Maršalovi Otoci",mk:"Sjeverna Makedonija",ml:"Mali",mm:"Mjanmar (Burma)",mn:"Mongolija",mo:"PUP Makao Kina",mp:"Sjevernomarijanski otoci",mq:"Martinique",mr:"Mauretanija",ms:"Montserrat",mt:"Malta",mu:"Mauricijus",mv:"Maldivi",mw:"Malavi",mx:"Meksiko",my:"Malezija",mz:"Mozambik",na:"Namibija",nc:"Nova Kaledonija",ne:"Niger",nf:"Otok Norfolk",ng:"Nigerija",ni:"Nikaragva",nl:"Nizozemska",no:"Norveška",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Novi Zeland",om:"Oman",pa:"Panama",pe:"Peru",pf:"Francuska Polinezija",pg:"Papua Nova Gvineja",ph:"Filipini",pk:"Pakistan",pl:"Poljska",pm:"Saint-Pierre-et-Miquelon",pr:"Portoriko",ps:"Palestinsko područje",pt:"Portugal",pw:"Palau",py:"Paragvaj",qa:"Katar",re:"R\xe9union",ro:"Rumunjska",rs:"Srbija",ru:"Rusija",rw:"Ruanda",sa:"Saudijska Arabija",sb:"Salomonski Otoci",sc:"Sejšeli",sd:"Sudan",se:"Švedska",sg:"Singapur",sh:"Sveta Helena",si:"Slovenija",sj:"Svalbard i Jan Mayen",sk:"Slovačka",sl:"Sijera Leone",sm:"San Marino",sn:"Senegal",so:"Somalija",sr:"Surinam",ss:"Južni Sudan",st:"Sveti Toma i Princip",sv:"Salvador",sx:"Sint Maarten",sy:"Sirija",sz:"Esvatini",tc:"Otoci Turks 
67i Caicos",td:"Čad",tg:"Togo",th:"Tajland",tj:"Tadžikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunis",to:"Tonga",tr:"Turska",tt:"Trinidad i Tobago",tv:"Tuvalu",tw:"Tajvan",tz:"Tanzanija",ua:"Ukrajina",ug:"Uganda",us:"Sjedinjene Američke Države",uy:"Urugvaj",uz:"Uzbekistan",va:"Vatikanski Grad",vc:"Sveti Vincent i Grenadini",ve:"Venezuela",vg:"Britanski Djevičanski otoci",vi:"Američki Djevičanski otoci",vn:"Vijetnam",vu:"Vanuatu",wf:"Wallis i Futuna",ws:"Samoa",ye:"Jemen",yt:"Mayotte",za:"Južnoafrička Republika",zm:"Zambija",zw:"Zimbabve",selectedCountryAriaLabel:"Odabrana zemlja",noCountrySelected:"Zemlja nije odabrana",countryListAriaLabel:"Lista zemalja",searchPlaceholder:"Pretraži",zeroSearchResults:"Nema pronađenih rezultata",searchResultsText(e){let t=e%10,n=e%100;return 1===t&&11!==n?`Pronađen ${e} rezultat`:`${t>=2&&t<=4&&!(n>=12&&n<=14)?"Pronađena":"Pronađeno"} ${e} rezultata`},ac:"Ascension",xk:"Kosovo"},u={ad:"Andorra",ae:"Emirati Arabi Uniti",af:"Afghanistan",ag:"Antigua e Barbuda",ai:"Anguilla",al:"Albania",am:"Armenia",ao:"Angola",ar:"Argentina",as:"Samoa americane",at:"Austria",au:"Australia",aw:"Aruba",ax:"Isole \xc5land",az:"Azerbaigian",ba:"Bosnia ed Erzegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgio",bf:"Burkina Faso",bg:"Bulgaria",bh:"Bahrein",bi:"Burundi",bj:"Benin",bl:"Saint-Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Caraibi olandesi",br:"Brasile",bs:"Bahamas",bt:"Bhutan",bw:"Botswana",by:"Bielorussia",bz:"Belize",ca:"Canada",cc:"Isole Cocos (Keeling)",cd:"Congo - Kinshasa",cf:"Repubblica Centrafricana",cg:"Congo-Brazzaville",ch:"Svizzera",ci:"Costa d’Avorio",ck:"Isole Cook",cl:"Cile",cm:"Camerun",cn:"Cina",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Capo Verde",cw:"Cura\xe7ao",cx:"Isola Christmas",cy:"Cipro",cz:"Cechia",de:"Germania",dj:"Gibuti",dk:"Danimarca",dm:"Dominica",do:"Repubblica Dominicana",dz:"Algeria",ec:"Ecuador",ee:"Estonia",eg:"Egitto",eh:"Sahara occidentale",er:"Eritrea",es:"Spagna",et:"Etiopia",fi:"Finlandia",fj:"Figi",fk:"Isole Falkland",fm:"Micronesia",fo:"Isole F\xe6r \xd8er",fr:"Francia",ga:"Gabon",gb:"Regno Unito",gd:"Grenada",ge:"Georgia",gf:"Guyana francese",gg:"Guernsey",gh:"Ghana",gi:"Gibilterra",gl:"Groenlandia",gm:"Gambia",gn:"Guinea",gp:"Guadalupa",gq:"Guinea Equatoriale",gr:"Grecia",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"RAS di Hong Kong",hn:"Honduras",hr:"Croazia",ht:"Haiti",hu:"Ungheria",id:"Indonesia",ie:"Irlanda",il:"Israele",im:"Isola di Man",in:"India",io:"Territorio britannico dell’Oceano Indiano",iq:"Iraq",ir:"Iran",is:"Islanda",it:"Italia",je:"Jersey",jm:"Giamaica",jo:"Giordania",jp:"Giappone",ke:"Kenya",kg:"Kirghizistan",kh:"Cambogia",ki:"Kiribati",km:"Comore",kn:"Saint Kitts e Nevis",kp:"Corea del Nord",kr:"Corea del Sud",kw:"Kuwait",ky:"Isole Cayman",kz:"Kazakistan",la:"Laos",lb:"Libano",lc:"Saint Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Lituania",lu:"Lussemburgo",lv:"Lettonia",ly:"Libia",ma:"Marocco",mc:"Monaco",md:"Moldavia",me:"Montenegro",mf:"Saint Martin",mg:"Madagascar",mh:"Isole Marshall",mk:"Macedonia del Nord",ml:"Mali",mm:"Myanmar (Birmania)",mn:"Mongolia",mo:"RAS di Macao",mp:"Isole Marianne settentrionali",mq:"Martinica",mr:"Mauritania",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldive",mw:"Malawi",mx:"Messico",my:"Malaysia",mz:"Mozambico",na:"Namibia",nc:"Nuova Caledonia",ne:"Niger",nf:"Isola Norfolk",ng:"Nigeria",ni:"Nicaragua",nl:"Paesi Bassi",no:"Norvegia",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nuova Zelanda",om:"Oman",pa:"Panam\xe1",pe:"Per\xf9",pf:"Polinesia francese",pg:"Papua Nuova Guinea",ph:"Filippine",pk:"Pakistan",pl:"Polonia",pm
67:"Saint-Pierre e Miquelon",pr:"Portorico",ps:"Territori palestinesi",pt:"Portogallo",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"Riunione",ro:"Romania",rs:"Serbia",ru:"Russia",rw:"Ruanda",sa:"Arabia Saudita",sb:"Isole Salomone",sc:"Seychelles",sd:"Sudan",se:"Svezia",sg:"Singapore",sh:"Sant’Elena",si:"Slovenia",sj:"Svalbard e Jan Mayen",sk:"Slovacchia",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Suriname",ss:"Sud Sudan",st:"S\xe3o Tom\xe9 e Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Siria",sz:"Swaziland",tc:"Isole Turks e Caicos",td:"Ciad",tg:"Togo",th:"Thailandia",tj:"Tagikistan",tk:"Tokelau",tl:"Timor Est",tm:"Turkmenistan",tn:"Tunisia",to:"Tonga",tr:"Turchia",tt:"Trinidad e Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ucraina",ug:"Uganda",us:"Stati Uniti",uy:"Uruguay",uz:"Uzbekistan",va:"Citt\xe0 del Vaticano",vc:"Saint Vincent e Grenadine",ve:"Venezuela",vg:"Isole Vergini Britanniche",vi:"Isole Vergini Americane",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis e Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"Sudafrica",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Paese selezionato",noCountrySelected:"Nessun paese selezionato",countryListAriaLabel:"Elenco dei paesi",searchPlaceholder:"Ricerca",zeroSearchResults:"Nessun risultato trovato",oneSearchResult:"1 risultato trovato",multipleSearchResults:"${count} risultati trovati",ac:"Isola di Ascensione",xk:"Kosovo"},d={ad:"Andorra",ae:"Verenigde Arabische Emiraten",af:"Afghanistan",ag:"Antigua en Barbuda",ai:"Anguilla",al:"Albani\xeb",am:"Armeni\xeb",ao:"Angola",ar:"Argentini\xeb",as:"Amerikaans-Samoa",at:"Oostenrijk",au:"Australi\xeb",aw:"Aruba",ax:"\xc5land",az:"Azerbeidzjan",ba:"Bosni\xeb en Herzegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgi\xeb",bf:"Burkina Faso",bg:"Bulgarije",bh:"Bahrein",bi:"Burundi",bj:"Benin",bl:"Saint-Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Caribisch Nederland",br:"Brazili\xeb",bs:"Bahama’s",bt:"Bhutan",bw:"Botswana",by:"Belarus",bz:"Belize",ca:"Canada",cc:"Cocoseilanden",cd:"Congo-Kinshasa",cf:"Centraal-Afrikaanse Republiek",cg:"Congo-Brazzaville",ch:"Zwitserland",ci:"Ivoorkust",ck:"Cookeilanden",cl:"Chili",cm:"Kameroen",cn:"China",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Kaapverdi\xeb",cw:"Cura\xe7ao",cx:"Christmaseiland",cy:"Cyprus",cz:"Tsjechi\xeb",de:"Duitsland",dj:"Djibouti",dk:"Denemarken",dm:"Dominica",do:"Dominicaanse Republiek",dz:"Algerije",ec:"Ecuador",ee:"Estland",eg:"Egypte",eh:"Westelijke Sahara",er:"Eritrea",es:"Spanje",et:"Ethiopi\xeb",fi:"Finland",fj:"Fiji",fk:"Falklandeilanden",fm:"Micronesia",fo:"Faer\xf6er",fr:"Frankrijk",ga:"Gabon",gb:"Verenigd Koninkrijk",gd:"Grenada",ge:"Georgi\xeb",gf:"Frans-Guyana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Groenland",gm:"Gambia",gn:"Guinee",gp:"Guadeloupe",gq:"Equatoriaal-Guinea",gr:"Griekenland",gt:"Guatemala",gu:"Guam",gw:"Guinee-Bissau",gy:"Guyana",hk:"Hongkong SAR van China",hn:"Honduras",hr:"Kroati\xeb",ht:"Ha\xefti",hu:"Hongarije",id:"Indonesi\xeb",ie:"Ierland",il:"Isra\xebl",im:"Isle of Man",in:"India",io:"Brits Indische Oceaanterritorium",iq:"Irak",ir:"Iran",is:"IJsland",it:"Itali\xeb",je:"Jersey",jm:"Jamaica",jo:"Jordani\xeb",jp:"Japan",ke:"Kenia",kg:"Kirgizi\xeb",kh:"Cambodja",ki:"Kiribati",km:"Comoren",kn:"Saint Kitts en Nevis",kp:"Noord-Korea",kr:"Zuid-Korea",kw:"Koeweit",ky:"Kaaimaneilanden",kz:"Kazachstan",la:"Laos",lb:"Libanon",lc:"Saint Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Litouwen",lu:"Luxemburg",lv:"Letland",ly:"Libi\xeb",ma:"Marokko",mc:"Monaco",md:"Moldavi\xeb",me:"Montenegro",mf:"Saint-Martin",mg:"Madagaskar",mh:"Marshalleilanden",mk:"Noord-Macedoni\xeb",ml:"Mali",mm:"Myanmar (Birma)",mn:"Mongoli\xeb",mo:"Macau SAR van China",mp:"Noordelijke Marianen",mq:"Martinique",mr:"Mauritani\xeb",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldiven",mw:"Malawi",mx:"Mexico",my:"Maleisi\xeb",mz:"Mozambique",na:"Namibi\xeb",nc:"Nieuw-Caledoni\xeb",ne:"Niger",nf:"Norfolk",ng:"Nigeria",ni:"Nicaragua",nl:"Nederland",no:"Noorwegen",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nieuw-Zeeland",om:"Oman",pa:"Panama",pe:"Peru",pf:"Frans-Polynesi\xeb",pg:"Papoea-Nieuw-Guinea",ph:"Filipijnen",pk:"Pakistan",pl:"Polen",pm:"Saint-Pierre en Miquelon",pr:"Puerto Rico",ps:"Palestijnse gebieden",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xe9union",ro:"Roemeni\xeb",rs:"Servi\xeb",ru:"Rusland",rw:"Rwanda",sa:"Saoedi-Arabi\xeb",sb:"Salomonseilanden",sc:"Seychellen",sd:"Soedan",se:"Zweden",sg:"Singapore",sh:"Sint-Helena",si:"Sloveni\xeb",sj:"Spitsbergen en Jan Mayen",sk:"Slowakije",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somali\xeb",sr:"Suriname",ss:"Zuid-Soedan",st:"Sao Tom\xe9 en Principe",sv:"El Salvador",sx:"Sint-Maarten",sy:"Syri\xeb",sz:"eSwatini",tc:"Turks- en Caicoseilanden",td:"Tsjaad",tg:"Togo",th:"Thailand",tj:"Tadzjikistan",tk:"Tokelau",tl:"Oost-Timor",tm:"Turkmenistan",tn:"Tunesi\xeb",to:"Tonga",tr:"Turkije",tt:"Trinidad en Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Oekra\xefne",ug:"Oeganda",us:"Verenigde Staten",uy:"Uruguay",uz:"Oezbekistan",va:"Vaticaanstad",vc:"Saint Vincent en de Grenadines",ve:"Venezuela",vg:"Britse Maagdeneilanden",vi:"Amerikaanse Maagdeneilanden",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis en Futuna",ws:"Samoa",ye:"Jemen",yt:"Mayotte",za:"Zuid-Afrika",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Geselecteerd land",noCountrySelected:"Geen land geselecteerd",countryListAriaLabel:"Lijst met landen",searchPlaceholder:"Zoekopdracht",zeroSearchResults:"Geen resultaten gevonden",oneSearchResult:"1 resultaat gevonden",multipleSearchResults:"${count} resultaten gevonden",ac:"Ascension-eiland",xk:"Kosovo"}
67,c={ad:"Andorra",ae:"Emirados \xc1rabes Unidos",af:"Afeganist\xe3o",ag:"Ant\xedgua e Barbuda",ai:"Anguila",al:"Alb\xe2nia",am:"Arm\xeania",ao:"Angola",ar:"Argentina",as:"Samoa Americana",at:"\xc1ustria",au:"Austr\xe1lia",aw:"Aruba",ax:"Ilhas Aland",az:"Azerbaij\xe3o",ba:"B\xf3snia e Herzegovina",bb:"Barbados",bd:"Bangladesh",be:"B\xe9lgica",bf:"Burquina Faso",bg:"Bulg\xe1ria",bh:"Bahrein",bi:"Burundi",bj:"Benin",bl:"S\xe3o Bartolomeu",bm:"Bermudas",bn:"Brunei",bo:"Bol\xedvia",bq:"Pa\xedses Baixos Caribenhos",br:"Brasil",bs:"Bahamas",bt:"But\xe3o",bw:"Botsuana",by:"Bielorr\xfassia",bz:"Belize",ca:"Canad\xe1",cc:"Ilhas Cocos (Keeling)",cd:"Congo - Kinshasa",cf:"Rep\xfablica Centro-Africana",cg:"Rep\xfablica do Congo",ch:"Su\xed\xe7a",ci:"Costa do Marfim",ck:"Ilhas Cook",cl:"Chile",cm:"Camar\xf5es",cn:"China",co:"Col\xf4mbia",cr:"Costa Rica",cu:"Cuba",cv:"Cabo Verde",cw:"Cura\xe7ao",cx:"Ilha Christmas",cy:"Chipre",cz:"Tch\xe9quia",de:"Alemanha",dj:"Djibuti",dk:"Dinamarca",dm:"Dominica",do:"Rep\xfablica Dominicana",dz:"Arg\xe9lia",ec:"Equador",ee:"Est\xf4nia",eg:"Egito",eh:"Saara Ocidental",er:"Eritreia",es:"Espanha",et:"Eti\xf3pia",fi:"Finl\xe2ndia",fj:"Fiji",fk:"Ilhas Malvinas",fm:"Micron\xe9sia",fo:"Ilhas Faroe",fr:"Fran\xe7a",ga:"Gab\xe3o",gb:"Reino Unido",gd:"Granada",ge:"Ge\xf3rgia",gf:"Guiana Francesa",gg:"Guernsey",gh:"Gana",gi:"Gibraltar",gl:"Groenl\xe2ndia",gm:"G\xe2mbia",gn:"Guin\xe9",gp:"Guadalupe",gq:"Guin\xe9 Equatorial",gr:"Gr\xe9cia",gt:"Guatemala",gu:"Guam",gw:"Guin\xe9-Bissau",gy:"Guiana",hk:"Hong Kong, RAE da China",hn:"Honduras",hr:"Cro\xe1cia",ht:"Haiti",hu:"Hungria",id:"Indon\xe9sia",ie:"Irlanda",il:"Israel",im:"Ilha de Man",in:"\xcdndia",io:"Territ\xf3rio Brit\xe2nico do Oceano \xcdndico",iq
67:"Iraque",ir:"Ir\xe3",is:"Isl\xe2ndia",it:"It\xe1lia",je:"Jersey",jm:"Jamaica",jo:"Jord\xe2nia",jp:"Jap\xe3o",ke:"Qu\xeania",kg:"Quirguist\xe3o",kh:"Camboja",ki:"Quiribati",km:"Comores",kn:"S\xe3o Crist\xf3v\xe3o e N\xe9vis",kp:"Coreia do Norte",kr:"Coreia do Sul",kw:"Kuwait",ky:"Ilhas Cayman",kz:"Cazaquist\xe3o",la:"Laos",lb:"L\xedbano",lc:"Santa L\xfacia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Lib\xe9ria",ls:"Lesoto",lt:"Litu\xe2nia",lu:"Luxemburgo",lv:"Let\xf4nia",ly:"L\xedbia",ma:"Marrocos",mc:"M\xf4naco",md:"Moldova",me:"Montenegro",mf:"S\xe3o Martinho",mg:"Madagascar",mh:"Ilhas Marshall",mk:"Maced\xf4nia do Norte",ml:"Mali",mm:"Mianmar (Birm\xe2nia)",mn:"Mong\xf3lia",mo:"Macau, RAE da China",mp:"Ilhas Marianas do Norte",mq:"Martinica",mr:"Maurit\xe2nia",ms:"Montserrat",mt:"Malta",mu:"Maur\xedcio",mv:"Maldivas",mw:"Malaui",mx:"M\xe9xico",my:"Mal\xe1sia",mz:"Mo\xe7ambique",na:"Nam\xedbia",nc:"Nova Caled\xf4nia",ne:"N\xedger",nf:"Ilha Norfolk",ng:"Nig\xe9ria",ni:"Nicar\xe1gua",nl:"Pa\xedses Baixos",no:"Noruega",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nova Zel\xe2ndia",om:"Om\xe3",pa:"Panam\xe1",pe:"Peru",pf:"Polin\xe9sia Francesa",pg:"Papua-Nova Guin\xe9",ph:"Filipinas",pk:"Paquist\xe3o",pl:"Pol\xf4nia",pm:"S\xe3o Pedro e Miquel\xe3o",pr:"Porto Rico",ps:"Territ\xf3rios palestinos",pt:"Portugal",pw:"Palau",py:"Paraguai",qa:"Catar",re:"Reuni\xe3o",ro:"Rom\xeania",rs:"S\xe9rvia",ru:"R\xfassia",rw:"Ruanda",sa:"Ar\xe1bia Saudita",sb:"Ilhas Salom\xe3o",sc:"Seicheles",sd:"Sud\xe3o",se:"Su\xe9cia",sg:"Singapura",sh:"Santa Helena",si:"Eslov\xeania",sj:"Svalbard e Jan Mayen",sk:"Eslov\xe1quia",sl:"Serra Leoa",sm:"San Marino",sn:"Senegal",so:"Som\xe1lia",sr:"Suriname",ss:"Sud\xe3o do Sul",st:"S\xe3o Tom\xe9 e Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"S\xedria",sz:"Essuat\xedni",tc:"Ilhas Turcas e Caicos",td:"Chade",tg:"Togo",th:"Tail\xe2ndia",tj:"Tadjiquist\xe3o",tk:"Tokelau",tl:"Timor-Leste",tm:"Turcomenist\xe3o",tn:"Tun\xedsia",to:"Tonga",tr:"Turquia",tt:"Trinidad e Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanz\xe2nia",ua:"Ucr\xe2nia",ug:"Uganda",us:"Estados Unidos",uy:"Uruguai",uz:"Uzbequist\xe3o",va:"Cidade do Vaticano",vc:"S\xe3o Vicente e Granadinas",ve:"Venezuela",vg:"Ilhas Virgens Brit\xe2nicas",vi:"Ilhas Virgens Americanas",vn:"Vietn\xe3",vu:"Vanuatu",wf:"Wallis e Futuna",ws:"Samoa",ye:"I\xeamen",yt:"Mayotte",za:"\xc1frica do Sul",zm:"Z\xe2mbia",zw:"Zimb\xe1bue",selectedCountryAriaLabel:"Pa\xeds selecionado",noCountrySelected:"Nenhum pa\xeds selecionado",countryListAriaLabel:"Lista de pa\xedses",searchPlaceholder:"Procurar",zeroSearchResults:"Nenhum resultado encontrado",oneSearchResult:"1 resultado encontrado",multipleSearchResults:"${count} resultados encontrados",ac:"Ilha de Ascens\xe3o",xk:"Kosovo"},f={ad:"Andorra",ae:"F\xf6renade Arabemiraten",af:"Afghanistan",ag:"Antigua och Barbuda",ai:"Anguilla",al:"Albanien",am:"Armenien",ao:"Angola",ar:"Argentina",as:"Amerikanska Samoa",at:"\xd6sterrike",au:"Australien",aw:"Aruba",ax:"\xc5land",az:"Azerbajdzjan",ba:"Bosnien och Hercegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgien",bf:"Burkina Faso",bg:"Bulgarien",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"S:t Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Karibiska Nederl\xe4nderna",br:"Brasilien",bs:"Bahamas",bt:"Bhutan",bw:"Botswana",by:"Vitryssland",bz:"Belize",ca:"Kanada",cc:"Kokos\xf6arna",cd:"Kongo-Kinshasa",cf:"Centralafrikanska republiken",cg:"Kongo-Brazzaville",ch:"Schweiz",ci:"C\xf4te d’Ivoire",ck:"Cook\xf6arna",cl:"Chile",cm:"Kamerun",cn:"Kina",co:"Colombia",cr:"Costa Rica",cu:"Kuba",cv:"Kap Verde",cw:"Cura\xe7ao",cx:"Jul\xf6n",cy:"Cypern",cz:"Tjeckien",de:"Tyskland",dj:"Djibouti",dk:"Danmark",dm:"Dominica",do:"Dominikanska republiken",dz:"Algeriet",ec:"Ecuador",ee:"Estland",eg:"Egypten",eh:"V\xe4stsahara",er:"Eritrea",es:"Spanien",et:"Etiopien",fi:"Finland",fj:"Fiji",fk:"Falklands\xf6arna",fm:"Mikronesien",fo:"F\xe4r\xf6arna",fr:"Frankrike",ga:"Gabon",gb:"Storbritannien",gd:"Grenada",ge:"Georgien",gf:"Franska Guyana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Gr\xf6nland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"Ekvatorialguinea",gr:"Grekland",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Hongkong",hn:"Honduras",hr:"Kroatien",ht:"Haiti",hu:"Ungern",id:"Indonesien",
67ie:"Irland",il:"Israel",im:"Isle of Man",in:"Indien",io:"Brittiska territoriet i Indiska oceanen",iq:"Irak",ir:"Iran",is:"Island",it:"Italien",je:"Jersey",jm:"Jamaica",jo:"Jordanien",jp:"Japan",ke:"Kenya",kg:"Kirgizistan",kh:"Kambodja",ki:"Kiribati",km:"Komorerna",kn:"S:t Kitts och Nevis",kp:"Nordkorea",kr:"Sydkorea",kw:"Kuwait",ky:"Cayman\xf6arna",kz:"Kazakstan",la:"Laos",lb:"Libanon",lc:"S:t Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Litauen",lu:"Luxemburg",lv:"Lettland",ly:"Libyen",ma:"Marocko",mc:"Monaco",md:"Moldavien",me:"Montenegro",mf:"Saint-Martin",mg:"Madagaskar",mh:"Marshall\xf6arna",mk:"Nordmakedonien",ml:"Mali",mm:"Myanmar (Burma)",mn:"Mongoliet",mo:"Macao",mp:"Nordmarianerna",mq:"Martinique",mr:"Mauretanien",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldiverna",mw:"Malawi",mx:"Mexiko",my:"Malaysia",mz:"Mo\xe7ambique",na:"Namibia",nc:"Nya Kaledonien",ne:"Niger",nf:"Norfolk\xf6n",ng:"Nigeria",ni:"Nicaragua",nl:"Nederl\xe4nderna",no:"Norge",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nya Zeeland",om:"Oman",pa:"Panama",pe:"Peru",pf:"Franska Polynesien",pg:"Papua Nya Guinea",ph:"Filippinerna",pk:"Pakistan",pl:"Polen",pm:"S:t Pierre och Miquelon",pr:"Puerto Rico",ps:"Palestinska territorierna",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xe9union",ro:"Rum\xe4nien",rs:"Serbien",ru:"Ryssland",rw:"Rwanda",sa:"Saudiarabien",sb:"Salomon\xf6arna",sc:"Seychellerna",sd:"Sudan",se:"Sverige",sg:"Singapore",sh:"S:t Helena",si:"Slovenien",sj:"Svalbard och Jan Mayen",sk:"Slovakien",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Surinam",ss:"Sydsudan",st:"S\xe3o Tom\xe9 och Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syrien",sz:"Swaziland",tc:"Turks- och Caicos\xf6arna",td:"Tchad",tg:"Togo",th:"Thailand",tj:"Tadzjikistan",tk:"Tokelau",tl:"\xd6sttimor",tm:"Turkmenistan",tn:"Tunisien",to:"Tonga",tr:"Turkiet",tt:"Trinidad och Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ukraina",ug:"Uganda",us:"USA",uy:"Uruguay",uz:"Uzbekistan",va:"Vatikanstaten",vc:"S:t Vincent och Grenadinerna",ve:"Venezuela",vg:"Brittiska Jungfru\xf6arna",vi:"Amerikanska Jungfru\xf6arna",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis- och Futuna\xf6arna",ws:"Samoa",ye:"Jemen",yt:"Mayotte",za:"Sydafrika",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Valt land",noCountrySelected:"Inget land valt",countryListAriaLabel:"Lista \xf6ver l\xe4nder",searchPlaceholder:"S\xf6k",zeroSearchResults:"Inga resultat hittades",oneSearchResult:"1 resultat hittades",multipleSearchResults:"${count} resultat hittades",ac:"Ascension",xk:"Kosovo"}},99097:(e,t,n)=>{"use strict";let r;function i(){return"u">typeof window}function a(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return!!i()&&(e instanceof Node||e instanceof o(e).Node)}function u(e){return!!i()&&(e instanceof Element||e instanceof o(e).Element)}function d(e){return!!i()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function c(e){return!(!i()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function f(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=S(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function p(e){return/^(table|td|th)$/.test(a(e))}function h(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>E,CP:()=>k,L9:()=>S,Ll:()=>l,Lv:()=>p,Ng:()=>c,Tc:()=>x,Tf:()=>h,ZU:()=>f,_m:()=>$,ep:()=>s,eu:()=>w,gJ:()=>b,mq:()=>a,sQ:()=>y,sb:()=>d,v9:()=>function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=E(t);return w(n)?(t.ownerDocument||t).body:d(n)&&f(n)?n:e(n)}(t),s=a===(null==(i=t.ownerDocument)?void 0:i.body),l=o(a);if(!s)return n.concat(a,e(a,[],r));{let t=$(l);return n.concat(l,l.visualViewport||[],f(a)?a:[],t&&r?e(t):[])}},vq:()=>u,zk:()=>o});let m=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;function y(e){let t=u(e)?S(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!x()&&(v(t.backdropFilter)||v(t.filter))||m.test(t.willChange||"")||g.test(t.contain||"")}function b(e){let t=E(e);for(;d(t)&&!w(t);){if(y(t))return t;if(h(t))break;t=E(t)}return null}function x(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function w(e){return/^(html|body|#document)$/.test(a(e))}function S(e){return o(e).getComputedStyle(e)}function k(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function E(e){if("html"===a(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||s(e);return c(t)?t.host:t}function $(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},99255:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(34023),i=n(98004);function a(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>
67{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},99866:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(70878);function i(e,t){let n=e;for((0,r.o)(n,t)&&(n=n.parentElement);n&&!(0,r.o)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}},99870:(e,t,n)=>{"use strict";n.d(t,{j:()=>G});var r=n(34023),i=n(46536),a=n(88018),o=n(31375),s=n(7366),l=n(50360),u=n(96820),d=n(49754),c=n(45753),f=n(10138),p=n(84505),h=n(57936),m=n(99097),g=n(90360),v=n(85871),y=n(83435),b=n(96161),x=n(3768);function w(e,t,n,r,i,a,o,s,l,u=2){let d=(0,x.Kg)(n.current,{event:e,orientation:r,loopFocus:i,rtl:a,cols:u,disabledIndices:o,minIndex:s,maxIndex:l,prevIndex:t>l?s:t,stopEvent:!0});return(0,x.du)(n.current,d)?void 0:d}var S=n(79342),k=n(8551),E=n(78337),$=n(31262),_=n(26594),C=n(28410),D=n(9785),I=n(59850),R=n(35358),T=n(13327),P=n(41566),O=n(67241);let A=new Map,j=function(e={}){let t={usage:"search",sensitivity:"base",ignorePunctuation:!0,...e},n=`${function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e.locale)}|${JSON.stringify(t)}`,r=A.get(n);if(r)return r;let i=new Intl.Collator(e.locale,t),a={contains(e,t,n){if(!t)return!0;let r=(0,O.yg)(e,n);for(let e=0;e<=r.length-t.length;e+=1)if(0===i.compare(r.slice(e,e+t.length),t))return!0;return!1},startsWith(e,t,n){if(!t)return!0;let r=(0,O.yg)(e,n);return 0===i.compare(r.slice(0,t.length),t)},endsWith(e,t,n){if(!t)return!0;let r=(0,O.yg)(e,n),a=t.length;return r.length>=a&&0===i.compare(r.slice(r.length-a),t)}};return A.set(n,a),a};var z=n(6280),N=n(31795),M=n(93602),L=n(18039),F=n(66431),U=n(79141),B=n(4868);let V=Symbol("none"),Z={value:V,index:-1};var K=n(56136),q=n(94799);function W(e){let t,{id:n,onOpenChangeComplete:x,defaultSelectedValue:A=null,selectedValue:W,onSelectedValueChange:G,defaultInputValue:H,inputValue:J,open:Y,defaultOpen:X=!1,selectionMode:Q,onItemHighlighted:ee,name:et,form:en,disabled:er=!1,readOnly:ei=!1,required:ea=!1,inputRef:eo,grid:es=!1,items:el,filteredItems:eu,filter:ed,openOnInputClick:ec=!0,autoHighlight:ef=!1,keepHighlight:ep=!1,highlightItemOnHover:eh=!0,loopFocus:em=!0,itemToStringLabel:eg,itemToStringValue:ev,isItemEqualToValue:ey=U.jd,virtualized:eb=!1,inline:ex=!1,fillInputOnItemPress:ew=!0,modal:eS=!1,limit:ek=-1,autoComplete:eE="list",formAutoComplete:e$,locale:e_,submitOnItemClick:eC=!1}=e,{clearErrors:eD}=(0,R.x)(),{setDirty:eI,validityData:eR,setFilled:eT,name:eP,disabled:eO,setTouched:eA,setFocused:ej,validationMode:ez,validation:eN}=(0,D.V$)(),eM=(0,K.j)(),eL=(0,T.l)({id:n}),eF=j({locale:e_}),[eU,eB]=r.useState(!1),[eV,eZ]=r.useState(null),eK=r.useRef([]),eq=r.useRef([]),eW=r.useRef(null),eG=r.useRef(null),eH=r.useRef(null),eJ=r.useRef(null),eY=r.useRef(null),eX=r.useRef(!0),eQ=r.useRef(!1),e0=r.useRef(null),e1=r.useRef(null),e4=r.useRef(null),e3=r.useRef(Z),e6=r.useRef(null),e2=r.useRef([]),e9=r.useRef(null),e5=eO||er,e7=eP??et,e8="multiple"===Q,te="single"===Q,tt=void 0!==J||void 0!==H,tn=void 0!==el,tr=void 0!==eu;t="always"===ef?"always":!!ef&&"input-change";let[ti,ta]=(0,i.q)({controlled:W,default:e8?A??h.Ml:A,name:"Combobox",state:"selectedValue"}),to=r.useMemo(()=>null===ed?()=>!0:void 0!==ed?ed:(0,P.I2)(eF,eg),[ed,eF,eg]),ts=(0,c.j)(()=>tt?H??"":te?(0,O.yg)(ti,eg):"").current,[tl,tu]=(0,i.q)({controlled:J,default:ts,name:"Combobox",state:"inputValue"}),[td,tc]=(0,i.q)({controlled:Y,default:X,name:"Combobox",state:"open"}),tf=(0,O.Li)(el),tp=eV??String(tl).trim(),th=te?(0,O.yg)(ti,eg):"",tm=te&&!eU&&""!==tp&&th.length===tp.length&&eF.contains(th,tp),tg=tm?"":tp,tv=tn&&tr&&tm,ty=r.useMemo(()=>el?tf?el.flatMap(e=>e.items):el:h.Ml,[el,tf]),tb=r.useMemo(()=>{if(eu&&!tv)return eu;if(!el)return h.Ml;if(tf){let e=[],t=0;for(let n of el){if(ek>-1&&t>=ek)break;let r=ek>-1?ek-t:1/0,i=""===tg?n.items.slice(0,r):[];if(""!==tg)for(let e of n.items){if(i.length>=r)break;to(e,tg,eg)&&i.push(e)}if(i.length>0){let r={...n,items:i};e.push(r),t+=i.length}}return e}if(""===tg)return ek>-1?ty.slice(0,ek):ty;let e=[];for(let t of ty){if(ek>-1&&e.length>=ek)break;to(t,tg,eg)&&e.push(t)}return e},[eu,tv,el,tf,tg,ek,to,eg,ty]),tx=r.useMemo(()=>tf?tb.flatMap(e=>e.items):tb,[tb,tf]),tw=(0,c.j)(()=>{let e=null;return ex&&td&&tn&&"none"!==Q&&(e=(0,U.Gu)(tx,ti,ey,e8)),new f.i({id:eL,labelId:void 0,selectedValue:ti,open:td,items:el,selectionMode:Q,listRef:eK,labelsRef:eq,popupRef:eW,emptyRef:eY,inputRef:eG,startDismissRef:eH,endDismissRef:eJ,keyboardActiveRef:eX,chipsContainerRef:e0,clearRef:e1,valuesRef:e2,pointerDownItemRef:e9,selectionEventRef:e4,name:e7,form:en,disabled:e5,readOnly:ei,required:ea,grid:es,virtualized:eb,openOnInputClick:ec,itemToStringLabel:eg,isItemEqualToValue:ey,modal:eS,autoHighlight:t,submitOnItemClick:eC,hasInputValue:tt,mounted:!1,forceMounted:!1,transitionStatus:"idle",inline:ex,activeIndex:null,selectedIndex:e,popupProps:{},listProps:{},inputProps:{},triggerProps:{},itemProps:h.t0,positionerElement:null,listElement:null,popupId:void 0,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,inputOwnsFormValue:"none"===Q,onOpenChangeComplete:h.tE,setOpen:h.tE,setInputValue:h.tE,setSelectedValue:h.tE,setIndices:h.tE,handleSelection:h.tE,forceMount:h.tE,requestSubmit:h.tE})}).current,tS="none"===Q?tl:ti,tk=r.useMemo(()=>"none"===Q?tS:Array.isArray(ti)?ti.map(e=>(0,O.T)(e,ev)):(0,O.T)(ti,ev),[tS,ev,Q,ti]),tE=(0,s.K)(ee),t$=(0,s.K)(x),t_=(0,p.P)(tw,_.T.activeIndex),tC=(0,p.P)(tw,_.T.selectedIndex),tD=(0,p.P)(tw,_.T.positionerElement),tI=(0,p.P)(tw,_.T.listElement),tR=(0,p.P)(tw,_.T.triggerElement),tT=(0,p.P)(tw,_.T.inputElement),tP=(0,p.P)(tw,_.T.inputGroupElement),tO=(0,p.P)(tw,_.T.inline),tA=(0,p.P)(tw,_.T.inputInsidePopup),tj=(0,p.P)(tw,_.T.inputOwnsFormValue),tz=(0,u.u)(tR),{mounted:tN,setMounted:tM,transitionStatus:tL}=(0,z.$)(td),{openMethod:tF,triggerProps:tU}=(0,N.G)(td),tB=(0,s.K)(()=>tk);(0,I.I)(tA?tz:eG,eL,tS,tB,!e5,et);let tV=(0,s.K)(()=>{el?eq.current=tx.map(e=>(0,O.yg)(e,eg)):tw.set("forceMounted",!0)}),tZ=(0,s.K)((e,t,n)=>{if(-1===t){if(e3.current===Z)return;e3.current=Z}else e3.current={value:e,index:t};tE(e,(0,k.M)(n,void 0,{index:t}))}),tK=(0,s.K)(e=>{tw.update(e);let t=e.activeIndex;if(void 0===t)return;let n=e.type||E.dv;null===t?tZ(void 0,-1,n):tZ(e2.current[t],t,n)}),tq=(0,s.K)((n,r)=>{if(eQ.current=r.reason===E.qs,e.onInputValueChange?.(n,r),!r.isCanceled){if(r.reason===E.pf){td&&null!==eV&&eZ(null);let e=r.event,i=e.inputType;if("compositionend"===e.type||null!=i&&""!==i&&"insertReplacementText"!==i){let e=""!==n.trim();e&&eB(!0),e6.current={hasQuery:e};let r=tw.state.listElement;if(!tw.state.virtualized&&r){let e=eW.current;for(let t of(0,m.v9)(r.firstElementChild??r)){if(!(0,m.sb)(t)||(e?!(0,S.gR)(e,t):"dialog"===t.getAttribute("role")))break;if(function(e,t=!1){let{overflowY:n}=(0,m.L9)(e);return("auto"===n||"scroll"===n)&&(t?e.clientHeight>0:e.scrollHeight>e.clientHeight)}(t)){t.scrollTop=0;break}}}e&&t&&null==tw.state.activeIndex&&(td||tO)&&tw.set("activeIndex",0)}}else r.reason===E.qs&&""===n&&tw.state.inputInsidePopup&&(e6.current={hasQuery:!1,selection:!0}
67);tu(n)}}),tW=(0,s.K)((t,n)=>{if(td!==t&&(n.reason===E.jv&&tn&&0===tx.length&&!eY.current&&n.allowPropagation(),e.onOpenChange?.(t,n),!n.isCanceled&&(t&&tA&&!tO&&null!==eV&&(eB(!1),eZ(null),""!==tl&&n.reason!==E.pf&&tq("",(0,k.d)(E.qs,n.event))),!t&&eU&&(te?(tO||eZ(tp),""===tp&&eB(!1)):e8&&(tO||eZ(tp),tA&&tK({activeIndex:null}),(!tA||tO)&&tq("",(0,k.d)(E.qs,n.event)))),tc(t),!t&&tA&&(n.reason===E.Xn||n.reason===E.Np))&&(eA(!0),ej(!1),"onBlur"===ez))){let e="none"===Q?tl:ti;eN.commit(e)}}),tG=(0,s.K)((e,t)=>{G?.(e,t),t.isCanceled||(ta(e),("none"===Q&&eW.current&&ew||te&&!tw.state.inputInsidePopup)&&tq((0,O.yg)(e,eg),(0,k.d)(t.reason,t.event)))}),tH=(0,s.K)((e,t)=>{let n=(0,S.EW)(e),r=e4.current??e;e4.current=null;let i=(0,k.d)(E.Bo,r),a=n?.closest("a")?.getAttribute("href");if(a){a.startsWith("#")&&tW(!1,i);return}if(e8){let e=Array.isArray(ti)?ti:[];if(tG((0,U.kJ)(e,t,ey)?(0,U.Ai)(e,t,ey):[...e,t],i),i.isCanceled||!(eG.current&&""!==eG.current.value.trim()))return;tw.state.inputInsidePopup?tq("",(0,k.d)(E.qs,i.event)):tW(!1,i)}else{if(tG(t,i),i.isCanceled)return;tW(!1,i)}}),tJ=(0,s.K)(()=>{let e=eN.inputRef.current?.form??tw.state.inputElement?.form;e&&"function"==typeof e.requestSubmit&&e.requestSubmit()}),tY=(0,s.K)(()=>{if(tM(!1),t$?.(!1),eB(!1),eZ(null),"none"===Q?tK({activeIndex:null,selectedIndex:null}):tK({activeIndex:null}),e8&&eG.current&&""!==eG.current.value&&!eQ.current&&tq("",(0,k.d)(E.qs)),te)if(tw.state.inputInsidePopup)eG.current&&""!==eG.current.value&&tq("",(0,k.d)(E.qs));else{let e=(0,O.yg)(ti,eg);if(eG.current&&eG.current.value!==e){let t=""===e?E.qs:E.dv;tq(e,(0,k.d)(t))}}}),tX=r.useMemo(()=>tO&&tD?{current:tD.closest('[role="dialog"]')}:eW,[tO,tD]);function tQ(){let e=(0,O.yg)(ti,eg);tl!==e&&tq(e,(0,k.d)(E.dv))}(0,C.v)({enabled:!e.actionsRef,open:td,ref:tX,onComplete(){td||tY()}}),r.useImperativeHandle(e.actionsRef,()=>({unmount:tY}),[tY]),(0,a.g)(function(){if(td||(e9.current=null,"none"===Q))return;let e=tn?ty:e2.current;tK({selectedIndex:(0,U.Gu)(e,ti,ey,e8)})},[td,ti,Q,e8,tn,ty,ey,tK]),(0,a.g)(()=>{el&&(e2.current=tx,eK.current.length=tx.length)},[el,tx]),(0,a.g)(()=>{let e=e6.current;if(e){let n=td||tO||tw.state.positionerElement?.hidden===!1;if(e.hasQuery)t&&n&&tw.set("activeIndex",0),e6.current=null;else if(""===String(tl).trim()&&(e6.current=null,n)){let n=e.selection;"always"!==t||n||"none"!==tw.state.selectionMode||tw.set("activeIndex",0),queueMicrotask(()=>{if(!tw.state.open&&!tw.state.inline||eG.current&&""!==eG.current.value.trim())return;let e=tw.state.selectedValue,r="multiple"===tw.state.selectionMode,i=r&&Array.isArray(e)?e[e.length-1]:e,a="none"!==tw.state.selectionMode&&null!=i;if(a||n){let t=tn||tr?tx:e2.current;tw.set("activeIndex",a?(0,U.Gu)(t,e,tw.state.isItemEqualToValue,r):null)}else"always"===t&&tw.set("activeIndex",0)})}}if(!td&&!tO)return;let n=tn||tr?tx:e2.current,r=tw.state.activeIndex;if(null==r)return"always"===t&&n.length>0?void tw.set("activeIndex",0):void tZ(void 0,-1,E.dv);if(r>=n.length){tZ(void 0,-1,E.dv),tw.set("activeIndex",null);return}let i=n[r],a=e3.current.value,o=a!==V&&(0,U.tl)(i,a,tw.state.isItemEqualToValue);e3.current.index===r&&o||tZ(i,r,E.dv)},[t_,t,tZ,tr,tn,tx,tO,td,tw,tl]),(0,a.g)(()=>{"none"===Q?eT(""!==String(tl)):eT(e8?Array.isArray(ti)&&ti.length>0:null!=ti)},[eT,Q,tl,ti,e8]),r.useEffect(()=>{tn&&t&&0===tx.length&&tK({activeIndex:null})},[tn,t,tx.length,tK]),(0,M.x)(tp,()=>{td&&""!==tp&&tp!==String(ts)&&eB(!0)}),(0,M.x)(ti,()=>{if("none"!==Q){let e;eD(e7),eI((e=eR.initialValue,Array.isArray(ti)&&Array.isArray(e)?!(0,B.B)(ti,e,(e,t)=>(0,U.tl)(e,t,ey)):ti!==e)),eN.change(ti),!te||tt||tA||tQ()}}),(0,M.x)(tl,()=>{"none"===Q&&(eD(e7),eI(tl!==eR.initialValue),eN.change(tl))}),(0,M.x)(el,()=>{!te||tt||tA||eU||tQ()});let t0=(0,g.P)({open:!!tO||td,onOpenChange:tW,elements:{reference:tA?tR:tT,floating:tD}}),t1=es?"grid":"listbox",t4=td||tO,t3=t4?"true":"false",t6=r.useMemo(()=>{let e=tT?.tagName==="INPUT",t=null==tT||e,n=t||t4,r=t?{autoComplete:"off",spellCheck:"false",autoCorrect:"off",autoCapitalize:"none"}:{};return n&&(r.role="combobox",r["aria-expanded"]=t3,r["aria-haspopup"]=t1,r["aria-controls"]=t4?tI?.id:void 0,r["aria-autocomplete"]=eE),{reference:r,floating:{role:"presentation"}}}
67,[tT,t4,t3,t1,tI?.id,eE]),t2=(0,v.k)(t0,{enabled:!ei&&!e5&&ec,event:"mousedown-only",toggle:!1,touchOpenDelay:100*!tA,reason:E._J}),t9=(0,y.s)(t0,{enabled:!ei&&!e5&&!tO,outsidePressEvent:{mouse:"sloppy",touch:"intentional"},bubbles:!!tO||void 0,outsidePress(e){let t=(0,S.EW)(e);return!(0,S.gR)(tR,t)&&!(0,S.gR)(e1.current,t)&&!(0,S.gR)(e0.current,t)&&!(0,S.gR)(tP,t)}}),t5=(0,b.C)(t0,{enabled:!ei&&!e5,id:eL,listRef:eK,activeIndex:t_,selectedIndex:tC,virtual:!0,loopFocus:em,allowEscape:em&&!t,focusItemOnOpen:!eU&&("none"!==Q||!!t)&&"auto",focusItemOnHover:eh,resetOnPointerLeave:!ep,orientation:es?"horizontal":void 0,rtl:"rtl"===eM,disabledIndices:h.Ml,grid:es?w:void 0,onNavigate(e,t){(t||td)&&"ending"!==tL&&(t?tK({activeIndex:e,type:eX.current?E.QJ:E.Wn}):tK({activeIndex:e}))}}),t7=r.useMemo(()=>(0,F.v6)(t5.reference,{onKeyDown(e){es&&null==tw.state.activeIndex&&("ArrowLeft"===e.key||"ArrowRight"===e.key)&&e.preventBaseUIHandler()}},t9.reference,t2.reference,t6.reference),[t5.reference,t9.reference,t2.reference,t6.reference,es,tw]),t8=r.useMemo(()=>(0,F.v6)(L.Ls,t9.floating),[t9.floating]),ne=r.useMemo(()=>(0,F.v6)(t5.floating,t6.floating),[t5.floating,t6.floating]),nt=r.useMemo(()=>{let e=t5.item;return e?{...e,onFocus:void 0}:h.t0},[t5.item]);(0,o.j)(()=>{tw.update({inline:ex,popupProps:t8,listProps:ne,inputProps:t7,triggerProps:tU,itemProps:nt,setOpen:tW,setInputValue:tq,setSelectedValue:tG,setIndices:tK,handleSelection:tH,forceMount:tV,requestSubmit:tJ,onOpenChangeComplete:t$})}),(0,a.g)(()=>{tw.update({id:eL,selectedValue:ti,open:td,mounted:tN,transitionStatus:tL,items:el,inline:ex,popupProps:t8,listProps:ne,inputProps:t7,triggerProps:tU,openMethod:tF,itemProps:nt,selectionMode:Q,name:e7,form:en,disabled:e5,readOnly:ei,required:ea,grid:es,virtualized:eb,openOnInputClick:ec,itemToStringLabel:eg,modal:eS,autoHighlight:t,isItemEqualToValue:ey,submitOnItemClick:eC,hasInputValue:tt,inputOwnsFormValue:"none"===Q&&(ex||!tw.state.inputInsidePopup)})},[tw,eL,ti,td,tN,tL,el,t8,ne,t7,nt,tF,tU,Q,e7,e5,ei,ea,es,eb,ec,eg,eS,ey,eC,tt,ex,t,en]);let nn=(0,l.a)(eo,eN.inputRef),nr=r.useMemo(()=>({query:tp,hasItems:tn,filteredItems:tb,flatFilteredItems:tx}),[tp,tn,tb,tx]),ni=r.useMemo(()=>Array.isArray(tS)?"":(0,O.T)(tS,ev),[tS,ev]),na=e8&&Array.isArray(ti)&&ti.length>0,no=e8||"none"===Q&&tj?void 0:e7,ns=r.useMemo(()=>e8&&Array.isArray(ti)&&e7?ti.map(e=>{let t=(0,O.T)(e,ev);return(0,q.jsx)("input",{type:"hidden",form:en,name:e7,value:t,disabled:e5},t)}):null,[e8,ti,en,e7,ev,e5]),nl=(0,q.jsxs)(r.Fragment,{children:[e.children,(0,q.jsx)("input",{...eN.getValidationProps(e5,{onFocus(){tA?tR?.focus():(eG.current||tR)?.focus()},onChange(e){if(e.nativeEvent.defaultPrevented||e5||ei)return;let t=e.currentTarget.value,n=t.toLowerCase(),r=(0,k.d)(E.dv,e.nativeEvent),i=()=>e2.current.findIndex(e=>(0,O.T)(e,ev).toLowerCase()===n||(0,O.yg)(e,eg).toLowerCase()===n);te&&(tV(),el&&-1===i()&&tw.set("forceMounted",!0)),queueMicrotask(function(){if(e8)return;if("none"===Q)return void tq(t,r);let e=i();-1===e&&(e=e2.current.findIndex((e,t)=>{let r=eq.current[t];return null!=r&&r.toLowerCase()===n}));let a=-1===e?void 0:e2.current[e];null!=a&&tG?.(a,r)})}}),id:eL&&null==no?`${eL}-hidden-input`:void 0,form:en,name:no,autoComplete:e$,disabled:e5,required:ea&&!na,readOnly:ei,value:ni,ref:nn,style:no?d.a:d.Q,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),ns]});return(0,q.jsx)($.vx.Provider,{value:tw,children:(0,q.jsx)($.Hw.Provider,{value:t0,children:(0,q.jsx)($.XD.Provider,{value:tn,children:(0,q.jsx)($.kN.Provider,{value:nr,children:(0,q.jsx)($.KR.Provider,{value:tl,children:nl})})})})})}function G(e){let t,{openOnInputClick:n=!1,value:i,defaultValue:a,onValueChange:o,mode:s="list",itemToStringValue:l,...u}=e,d="inline"===s||"both"===s,c="inline"===s||"none"===s,f=void 0!==i,[p,h]=r.useState(a??""),[m,g]=r.useState("");r.useEffect(()=>{f&&g("")},[i,f]),t=d&&""!==m?m:f?i??"":p;let v=j({locale:u.locale}),y=r.useMemo(()=>void 0!==u.filter?u.filter:v.contains,[u.filter,v]),b=String(f?i:p).trim(),x=r.useMemo(()=>"both"!==s?c?null:y:null===y?null:(e,t,n)=>y(e,b,n),[y,s,b,c]);return(0,q.jsx)(W,{...u,itemToStringLabel:l,openOnInputClick:n,selectionMode:"none",fillInputOnItemPress:!0,filter:x,autoComplete:s,inputValue:t,defaultInputValue:a,onInputValueChange:function(e,t){g(""),f||h(e),o?.(e,t)},onItemHighlighted:function(t,n){e.onItemHighlighted?.(t,n),n.reason!==E.Wn&&g(d&&null!=t?(0,O.yg)(t,l):"")}})}},99901:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(56065);function i(e){return(0,r.B)(e,"base-ui")}}}]);

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.