PageSourceSearch

https://www.homeexchange.fr/_next/static/chunks/8862-56238d6c29301a80.js

js homeexchange.fr collected 2026-10-02 10:45:05 UTC 1,131,513 bytes, 68 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8862],{774:(e,t,n)=>{"use strict";n.d(t,{UC:()=>D,bL:()=>_,l9:()=>E,z3:()=>h});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",[m,h]=(0,a.A)(p),[g,v]=m(p),y=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:i,defaultOpen:a,disabled:s,onOpenChange:l,...d}=e,[m,h]=(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:m,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),children:(0,f.jsx)(u.sG.div,{"data-state":$(m),"data-disabled":s?"":void 0,...d,ref:t})})});y.displayName=p;var b="CollapsibleTrigger",k=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":$(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:(0,i.mK)(e.onClick,a.onOpenToggle)})});k.displayName=b;var x="CollapsibleContent",w=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=v(x,e.__scopeCollapsible);return(0,f.jsx)(d.C,{present:n||i.open,children:({present:e})=>(0,f.jsx)(S,{...r,ref:t,present:e})})});w.displayName=x;var S=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:i,children:a,...o}=e,d=v(x,n),[c,p]=r.useState(i),m=r.useRef(null),h=(0,l.s)(t,m),g=r.useRef(0),y=g.current,b=r.useRef(0),k=b.current,w=d.open||c,S=r.useRef(w),_=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.N)(()=>{let e=m.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,S.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),p(i)}},[d.open,i]),(0,f.jsx)(u.sG.div,{"data-state":$(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...o,ref:h,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":k?`${k}px`:void 0,...e.style},children:w&&a})});function $(e){return e?"open":"closed"}var _=y,E=k,D=w},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:()=>m,p9:()=>b,$I:()=>w,SJ:()=>c,Xj:()=>v,RZ:()=>_,Jg:()=>l,NV:()=>s,ro:()=>a,tF:()=>o,cK:()=>u,ZI:()=>D,Py:()=>E,wH:()=>y,kq:()=>x,D:()=>k,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=$.get(e);if(!t){if(Intl.Locale){let n=new Intl.Locale(e);if("getWeekInfo"in n&&(t=n.getWeekInfo()))return $.set(e,t),t.firstDay}let n=function(e){if(Intl.Locale){let t=S.get(e);return!t&&(t=new Intl.Locale(e).maximize().region)&&S.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};$.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 m(e,t){return h(e)-h(t)}function h(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 k(e){return y(e.subtract({months:e.month-1}))}function x(e,t,n){let r=c(e,t,n);return e.subtract({days:r})}function w(e,t,n){return x(e,t,n).add({days:6})}let S=new Map,$=new Map;function _(e,t,n){let r=e.calendar.getDaysInMonth(e);return Math.ceil((c(y(e),t,n)+r)/7)}function E(e,t){return e&&t?0>=e.compare(t)?e:t:e||t}function D(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:()=>{}},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:()=>m,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:m,disabledIndices:h,minIndex:g,maxIndex:v,prevIndex:y,stopEvent:b=!1}){let k,x=y;if(t.key===o.il?k="up":t.key===o.Jd&&(k="down"),k){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,w=0;if(s)for(let e of n){let t=e.length;t>w&&(w=t),t!==m&&(f=!0)}let S=f&&d<e.length,$=w||m;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||S)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,h))return n}}})(k)??(t=>{if(!S||-1===y)return;let n=y%$,a="up"===t?-$:$,o=v-v%$,s=(0,r.RI)(v/$)+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+$-1,v);for(let i=Math.min(t+n,r);i>=t;i-=1)if(!p(e,i,h))return i}})(k);if(void 0!==_)x=_;else if(-1===y)x="up"===k?v:g;else if(x=c(e,{startingIndex:y,amount:$,decrement:"up"===k,disabledIndices:h}),i){if("up"===k&&(y-$<g||x<0)){let e=y%$,n=v%$,r=v-(n-e);x=n===e?v:n>e?r:r-$,u&&(x=u(t,y,x))}"down"===k&&y+$>v&&(x=c(e,{startingIndex:y%$-$,amount:$,disabledIndices:h}),u&&(x=u(t,y,x)))}l(e,x)&&(x=y)}if("both"===n){let n=(0,r.RI)(y/m);t.key===(d?o.eR:o.RJ)&&(b&&(0,a.jo)(t),y%m!=m-1?(x=c(e,{startingIndex:y,disabledIndices:h}),i&&s(x,m,n)&&(x=c(e,{startingIndex:y-y%m-1,disabledIndices:h}),u&&(x=u(t,y,x)))):i&&(x=c(e,{startingIndex:y-y%m-1,disabledIndices:h}),u&&(x=u(t,y,x))),s(x,m,n)&&(x=y)),t.key===(d?o.RJ:o.eR)&&(b&&(0,a.jo)(t),y%m!=0?(x=c(e,{startingIndex:y,decrement:!0,disabledIndices:h}),i&&s(x,m,n)&&(x=c(e,{startingIndex:y+(m-y%m),decrement:!0,disabledIndices:h}),u&&(x=u(t,y,x)))):i&&(x=c(e,{startingIndex:y+(m-y%m),decrement:!0,disabledIndices:h}),u&&(x=u(t,y,x))),s(x,m,n)&&(x=y));let f=(0,r.RI)(v/m)===n;l(e,x)&&(i&&f?(x=t.key===(d?o.RJ:o.eR)?v:c(e,{startingIndex:y-y%m-1,disabledIndices:h}),u&&(x=u(t,y,x))):x=y)}return x}function p(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let r=e[t];return!!r&&(!!(!m(r)||r.matches(":disabled"))||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function m(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}),m="anchorDate"in e?e.anchorDate:null;return(0,s.useMemo)(()=>
1{if(!m&&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,m,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),m=(0,o.i)({month:"long",year:"numeric",era:f,calendar:e.calendar.identifier,timeZone:n}),h=(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 m.format(r.toDate(n));if((0,i.ro)(t,(0,i.p9)(t)))return u?p(m,c,r,a,n):m.formatRange(r.toDate(n),a.toDate(n))}return u?p(h,c,e,t,n):h.formatRange(e.toDate(n),t.toDate(n))},[e,t,m,h,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),m=n(94799),h="Radio",[g,v]=(0,o.A)(h),[y,b]=g(h),k=r.forwardRef((e,t)=>{let{__scopeRadio:n,name:o,checked:l=!1,required:u,disabled:d,value:c="on",onCheck:f,form:p,...h}=e,[g,v]=r.useState(null),b=(0,a.s)(t,e=>v(e)),k=r.useRef(!1),x=!g||p||!!g.closest("form");return(0,m.jsxs)(y,{scope:n,checked:l,disabled:d,children:[(0,m.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":$(l),"data-disabled":d?"":void 0,disabled:d,value:c,...h,ref:b,onClick:(0,i.mK)(e.onClick,e=>{l||f?.(),x&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),x&&(0,m.jsx)(S,{control:g,bubbles:!k.current,name:o,value:c,checked:l,required:u,disabled:d,form:p,style:{transform:"translateX(-100%)"}})]})});k.displayName=h;var x="RadioIndicator",w=r.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,a=b(x,n);return(0,m.jsx)(p.C,{present:r||a.checked,children:(0,m.jsx)(s.sG.span,{"data-state":$(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})});w.displayName=x;var S=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),h=(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,m.jsx)(s.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:d,style:{...o.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function $(e){return e?"checked":"unchecked"}S.displayName="RadioBubbleInput";var _=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],E="RadioGroup",[D,C]=(0,o.A)(E,[l.RG,v]),I=(0,l.RG)(),P=v(),[R,T]=D(E),j=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:r,defaultValue:i,value:a,required:o=!1,disabled:c=!1,orientation:f,dir:p,loop:h=!0,onValueChange:g,...v}=e,y=I(n),b=(0,d.jH)(p),[k,x]=(0,u.i)({prop:a,defaultProp:i??null,onChange:g,caller:E});return(0,m.jsx)(R,{scope:n,name:r,required:o,disabled:c,value:k,onValueChange:x,children:(0,m.jsx)(l.bL,{asChild:!0,...y,orientation:f,dir:b,loop:h,children:(0,m.jsx)(s.sG.div,{role:"radiogroup","aria-required":o,"aria-orientation":f,"data-disabled":c?"":void 0,dir:b,...v,ref:t})})})});j.displayName=E;var z="RadioGroupItem",A=r.forwardRef((e,t)=>
1{let{__scopeRadioGroup:n,disabled:o,...s}=e,u=T(z,n),d=u.disabled||o,c=I(n),f=P(n),p=r.useRef(null),h=(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,m.jsx)(l.q7,{asChild:!0,...c,focusable:!d,active:g,children:(0,m.jsx)(k,{disabled:d,required:u.required,checked:g,...f,...s,name:u.name,ref:h,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()})})})});A.displayName=z;var O=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e,i=P(n);return(0,m.jsx)(w,{...i,...r,ref:t})});O.displayName="RadioGroupIndicator";var N=j,M=A,L=O},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:m,initialFocus:h,...g}=e,v=(0,a.P)(),y=v.useState("descriptionElementId"),b=v.useState("disablePointerDismissal"),k=v.useState("floatingRootContext"),x=v.useState("popupProps"),w=v.useState("modal"),S=v.useState("mounted"),$=v.useState("nested"),_=v.useState("nestedOpenDialogCount"),E=v.useState("open"),D=v.useState("openMethod"),C=v.useState("titleElementId"),I=v.useState("transitionStatus"),P=v.useState("role"),R=k.useState("floatingId");(0,s.p)(),(0,l.v)({open:E,ref:v.context.popupRef,onComplete(){E&&v.context.onOpenChangeComplete?.(!0)}});let T=void 0===h?(0,d.UM)(v.context.popupRef):h,j=v.useStateSetter("popupElement"),z=(0,o.o)("div",e,{state:{open:E,nested:$,transitionStatus:I,nestedDialogOpen:_>0},props:[x,{id:R,"aria-labelledby":C,"aria-describedby":y,role:P,...d.Ls,hidden:!S,onKeyDown(e){u.jF.has(e.key)&&e.stopPropagation()},style:{"--nested-dialogs":_}},g],ref:[t,v.context.popupRef,j],stateAttributesMapping:c.v});return(0,f.jsx)(i.s,{context:k,openInteractionType:D,disabled:!S,closeOnFocusOut:!b,initialFocus:T,returnFocus:m,modal:!1!==w,restoreFocus:"popup",children:z})})},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),m=n(79342),h=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$)(),k=(0,l.Ee)(),x=(0,a.P)(k,u.T.open),w=(0,a.P)(k,u.T.disabled),S=(0,a.P)(k,u.T.readOnly),$=(0,a.P)(k,u.T.hasSelectedValue),_=(0,a.P)(k,u.T.selectionMode),E=(0,g.Xb)(k),D=(0,g.$B)(),C={...b,open:x,disabled:w,readOnly:S,popupSide:E,listEmpty:D,placeholder:"none"!==_&&!$},I=(0,i.K)(e=>{k.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,m.EW)(e.nativeEvent),o=(0,c.vq)(a)?a:null;o!==e.currentTarget&&(i?.(o)||(0,h.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,k,w,S,e=>(0,m.gR)(k.state.chipsContainerRef.current,e))}},y],state:C,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,{qW:()=>f});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:h,onFocusOutside:g,onInteractOutside:v,onDismiss:y,...b}=e,k=i.useContext(c),[x,w]=i.useState(null),S=x?.ownerDocument??globalThis?.document,[,$]=i.useState({}),_=(0,s.s)(t,e=>w(e)),E=Array.from(k.layers),[D]=[...k.layersWithOutsidePointerEventsDisabled].slice(-1),C=E.indexOf(D),I=x?E.indexOf(x):-1,P=k.layersWithOutsidePointerEventsDisabled.size>0,R=I>=C,T=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=[...k.branches].some(e=>e.contains(t));R&&!n&&(h?.(e),v?.(e),e.defaultPrevented||y?.())},S),j=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;![...k.branches].some(e=>e.contains(t))&&(g?.(e),v?.(e),e.defaultPrevented||y?.())},S);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===k.layers.size-1&&(f?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},S),i.useEffect(()=>{if(x)return n&&(0===k.layersWithOutsidePointerEventsDisabled.size&&(r=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),k.layersWithOutsidePointerEventsDisabled.add(x)),k.layers.add(x),p(),()=>{n&&1===k.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=r)}},[x,S,n,k]),i.useEffect(()=>()=>{x&&(k.layers.delete(x),k.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,k]),i.useEffect(()=>{let e=()=>$({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,u.jsx)(o.sG.div,{...b,ref:_,style:{pointerEvents:P?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.mK)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,a.mK)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,a.mK)(e.onPointerDownCapture,T.onPointerDownCapture)})});function p(){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)}f.displayName="DismissableLayer",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})}).displayName="DismissableLayerBranch"},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),m=n(35980),h=n(81646);let g=r.createContext(void 0);var v=n(97057),y=n(94158),b=n(8551),k=n(78337),x=n(56136),w=n(6665),S=n(40109),$=n(94799);let _=r.forwardRef(function(e,t){let{render:n,className:_,disabled:E=!1,id:D,style:C,...I}=e,{state:P,disabled:R,setTouched:T,setFocused:j,validationMode:z,validation:A}=(0,p.V$)(),{labelId:O}=(0,h.H)(),N=r.useContext(g),M=!!(0,y.O)(!0),L=(0,d.Ee)(),F=(0,d.dc)(),U=(0,x.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),G=(0,i.P)(L,f.T.selectionMode),W=(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=!!W,ei=(0,S.Xb)(L),ea=R||V||E,eo=(0,S.$B)(),es=M||et,el=(0,l.e)(D??(es?void 0:ee)),eu=M?m.HH:P,[ed,ec]=r.useState(null),ef=r.useRef(!1),ep=r.useRef(null),em=r.useRef(!1),eh="none"===G&&!M,eg=(0,a.K)(e=>{let t=M||L.state.inline;t&&!L.state.hasInputValue&&L.state.setInputValue("",(0,b.d)(k.dv)),L.update({inputElement:e,inputInsidePopup:t,inputOwnsFormValue:eh})}),ev=M?I:A.getValidationProps(ea,I);function ey(){L.state.setIndices({activeIndex:null,selectedIndex:null,type:L.state.keyboardActiveRef.current?k.QJ:k.Wn})}function eb(){L.state.keyboardActiveRef.current=!1}let ek={...eu,open:Y,disabled:ea,readOnly:Z,popupSide:ei,listEmpty:eo},ex=(0,u.o)("input",e,{state:ek,ref:[t,L.state.inputRef,eg],props:[H,J,{value:ed??F,"aria-readonly":Z||void 0,"aria-required":B||void 0,"aria-labelledby":O,disabled:ea,readOnly:Z,required:"none"===G?B:void 0,form:q,...eh&&K&&{name:K},id:el,onFocus(){if(j(!0),!et||!em.current)return;em.current=!1;let e=ep.current;null!=e&&Object.hasOwn(L.state.valuesRef.current,e)&&L.state.setIndices({activeIndex:e})},onBlur(){T(!0),j(!1);let e=L.state.activeIndex;if(et&&null!==e&&"always"!==W&&(ep.current=e,em.current=!0,L.state.setIndices({activeIndex:null})),"onBlur"===z){let e="none"===G?F:Q;A.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)(k.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)(k.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)(k.qs,t));let r=n.trim(),a=er&&""!==r;i(r),Y&&null!==L.state.activeIndex&&!a&&ey();return}let a=(0,b.d)(k.pf,t);if(L.state.setInputValue(e.currentTarget.value,a),a.isCanceled)return;let o=""===e.currentTarget.value,s=(0,b.d)(k.qs,t);o&&!L.state.inputInsidePopup&&("single"===G&&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"===G&&Array.isArray(Q)?0===Q.length:null===Q,n=(0,b.d)(k.jv,e.nativeEvent);L.state.setInputValue("",n),L.state.setSelectedValue("multiple"===G?[]: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)(k.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,S.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,S.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)(k.dv,n));return}(0,v.jo)(e),(0,S.L6)(L,t,n)}},onPointerMove:eb,onPointerDown:eb},ev],stateAttributesMapping:c.d}),ew=M?(0,$.jsx)(p.eZ.Provider,{value:p.er,children:ex}):ex;return(0,$.jsxs)(r.Fragment,{children:[Y&&(!es||en)&&(0,$.jsx)(w.p,{ref:L.state.startDismissRef}),ew]})})},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:m,skipOverflowHiddenElements:h}=t,g="function"==typeof m?m:e=>e!==m;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,h)&&y.push(b)}let k=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,x=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:w,scrollY:S}=window,{height:$,width:_,top:E,right:D,bottom:C,left:I}=e.getBoundingClientRect(),{top:P,right:R,bottom:T,left:j}={top:parseFloat((d=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(d.scrollMarginRight)||0,bottom:parseFloat(d.scrollMarginBottom)||0,left:parseFloat(d.scrollMarginLeft)||0},z="start"===f||"nearest"===f?E-P:"end"===f?C+T:E+$/2-P+T,A="center"===p?I+_/2-j+R:"end"===p?D+R:I-j,O=[];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&&E>=0&&I>=0&&C<=x&&D<=k&&(t===v&&!a(t)||E>=i&&C<=l&&I>=u&&D<=s))break;let d=getComputedStyle(t),m=parseInt(d.borderLeftWidth,10),h=parseInt(d.borderTopWidth,10),g=parseInt(d.borderRightWidth,10),b=parseInt(d.borderBottomWidth,10),P=0,R=0,T="offsetWidth"in t?t.offsetWidth-t.clientWidth-m-g:0,j="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-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)P="start"===f?z:"end"===f?z-x:"nearest"===f?o(S,S+x,x,h,b,S+z,S+z+$,$):z-x/2,R="start"===p?A:"center"===p?A-k/2:"end"===p?A-k:o(w,w+k,k,m,g,w+A,w+A+_,_),P=Math.max(0,P+S),R=Math.max(0,R+w);else{P="start"===f?z-i-h:"end"===f?z-l+b+j:"nearest"===f?o(i,l,n,h,b+j,z,z+$,$):z-(i+n/2)+j/2,R="start"===p?A-u-m:"center"===p?A-(u+r/2)+T/2:"end"===p?A-s+g+T:o(u,s,r,m,g+T,A,A+_,_);let{scrollLeft:e,scrollTop:a}=t;P=0===M?0:Math.max(0,Math.min(a+P/M,t.scrollHeight-n/M+j)),R=0===N?0:Math.max(0,Math.min(e+R/N,t.scrollWidth-r/N+T)),z+=a-P,A+=e-R}O.push({el:t,top:P,left:R})}return O}}
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",m="ArrowDown",h="Enter",g="Escape",v=/\p{L}/u,y=/[^+0-9]/,b=/[^+0-9]/g,k=/^[a-zA-ZÀ-ÿа-яА-Я ]$/,x="polite",w="auto",S="aria-expanded",$="aria-label",_="aria-selected",E="aria-activedescendant",D="aria-controls",C="aria-hidden",I=e=>"u">typeof window&&"function"==typeof window.matchMedia&&window.matchMedia(e).matches,P={allowPhonewords:!1,allowDropdown:!0,autoPlaceholder:x,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"]},R=(e="")=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),T=e=>Object.keys(e).filter(t=>!!e[t]).join(" "),j=(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},z=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=j("div",{class:T({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=j("div",{class:`iti__country-container ${s}`},e),t?(this.selectedCountry=j("button",{type:"button",class:"iti__selected-country",[S]:"false",[$]:this.options.i18n.noCountrySelected,"aria-haspopup":"dialog",[D]:`iti-${this.id}__dropdown-content`},this.countryContainer),this.telInput.disabled&&this.selectedCountry.setAttribute("disabled","true")):this.selectedCountry=j("div",{class:"iti__selected-country"},this.countryContainer);let r=j("div",{class:"iti__selected-country-primary"},this.selectedCountry);this.selectedCountryInner=j("div",{class:d},r),t&&(this.dropdownArrow=j("div",{class:"iti__arrow",[C]:"true"},r)),n&&(this.selectedDialCode=j("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=j("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=j("ul",{class:"iti__country-list",id:`iti-${this.id}__country-listbox`,role:"listbox",[$]:r.countryListAriaLabel},this.dropdownContent),this._appendListItems(),n&&this.updateSearchResultsA11yText(),i){let e=T({iti:!0,"iti--container":!0,"iti--fullscreen-popup":t,"iti--inline-dropdown":!t,[a]:!!a});this.dropdown=j("div",{class:e}),this.dropdown.appendChild(this.dropdownContent)}else this.countryContainer.appendChild(this.dropdownContent)}_buildSearchUI(){var e;let t,{i18n:n}=this.options,r=j("div",{class:"iti__search-input-wrapper"},this.dropdownContent);this.searchIcon=j("span",{class:"iti__search-icon",[C]:"true"},r),this.searchIcon.innerHTML=`
2  <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${C}="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=j("input",{id:`iti-${this.id}__search-input`,type:"search",class:"iti__search-input",placeholder:n.searchPlaceholder,role:"combobox",[S]:"true",[$]:n.searchPlaceholder,[D]:`iti-${this.id}__country-listbox`,"aria-autocomplete":"list",autocomplete:"off"},r),this.searchClearButton=j("button",{type:"button",class:`iti__search-clear ${o}`,[$]: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" ${C}="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=j("span",{class:"iti__a11y-text"},this.dropdownContent),this.searchNoResults=j("div",{class:`iti__no-results ${o}`,[C]:"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=j("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=j("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=T({[c]:!0}),i=j("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&&j("div",{class:`${d} iti__${n.iso2}`},i),j("span",{class:"iti__country-name"},i).textContent=n.name;let a=j("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,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}},A=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],O=e=>{let t=e.replace(/\D/g,"");if(t.startsWith("1")&&t.length>=4){let e=t.substring(1,4);return A.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={...P,...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 z(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=R(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=O(i),{initialCountry:s,geoIpLookup:l}=this.options,u=s===w&&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,m," ",h].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();t===w&&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;
12v.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),m=U.utils.getCoreNumber(p,this.selectedCountryData.iso2),h=this.maxCoreNumberLength&&m.length>this.maxCoreNumberLength,g=this._getNewCountryFromNumber(p);o&&(!h||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("+"),m=f.replace(/\+/g,""),h=p&&c?`+${m}`:m,g=a+h+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+h.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(S,"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,m,h,g].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),e.key===p||e.key===m?this._handleUpDownKey(e.key):e.key===h?this._handleEnterKey():e.key===g&&(this._closeDropdown(),this.ui.selectedCountry.focus())),!this.options.countrySearch&&k.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=R(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&&O(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($,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===x;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(S,"false"),this.options.countrySearch&&(this.ui.searchInput.removeAttribute(E),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===w&&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:P,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})})},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),m=(0,r.useMemo)(()=>({contain:f,setContain:p}),[f,p]),{getContainer:h}=null!=(t=(0,r.useContext)(i))?t:{};if(!e.portalContainer&&h&&(a=h()),!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:m},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:()=>w});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),m=n(97869),h=n(75565),g=n(8551),v=n(78337),y=n(27684),b=n(21610),k=n(90288),x=n(94799);let w=r.forwardRef(function(e,t){let{anchor:n,positionMethod:w="absolute",className:S,render:$,side:_,align:E,sideOffset:D=0,alignOffset:C=0,collisionBoundary:I="clipping-ancestors",collisionPadding:P=5,arrowPadding:R=5,sticky:T=!1,disableAnchorTracking:j=!1,collisionAvoidance:z=m.uD,style:A,...O}=e,{store:N}=(0,u.Y)(),M=(0,p.y)(),L=(0,h.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"),G=N.useState("activeTriggerElement"),W=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=D,eo=C,es=E,el=z;"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??m.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":w,mounted:V,side:eu,sideOffset:ea,align:ed,alignOffset:eo,arrowPadding:ec?0:R,collisionBoundary:I,collisionPadding:P,sticky:T,nodeId:Q,keepMounted:M,disableAnchorTracking:j,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&&G&&G!==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,G,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 em={open:Z,side:ef.side,align:ef.align,anchorHidden:ef.anchorHidden,nested:"menu"===F.type,instant:J},eh="menubar"===F.type&&F.context.modal,eg=K&&X!==v.N7;(0,k.G)(Z&&(eh||eg),"touch"===q,H,G);let ev=(0,b.i)(e,em,{styles:ef.positionerStyles,transitionStatus:W,props:O,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=G),(0,x.jsxs)(l.r.Provider,{value:ef,children:[ey&&(0,x.jsx)(f.W,{ref:"context-menu"===F.type||"nested-context-menu"===F.type?F.context.
12internalBackdropRef:null,inert:(0,i.Y)(!Z),cutout:eb}),(0,x.jsx)(s.$c,{id:Q,children:(0,x.jsx)(c.u,{elementsRef:N.context.itemDomElements,labelsRef:N.context.itemLabels,children:ev})})]})})},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}=e,{controlId:p,registerControlId:m}=(0,d.H)(),h=(0,u.e)(t),g=n?p:void 0,v=(0,o.j)(()=>Symbol()),y=r.useRef(!1),b=r.useRef(null!=t),k=(0,a.K)(()=>{y.current&&m!==l.tE&&(y.current=!1,m(v.current,void 0))});return(0,i.g)(()=>{let e;if(m!==l.tE){if(n){let n=f?.current;e=(0,s.vq)(n)&&null!=n.closest("label")?t??null:g??h}else if(null!=t)b.current=!0,e=t;else{if(!b.current)return void k();e=h}if(void 0===e)return void k();y.current=!0,m(v.current,e)}},[t,f,g,m,n,h,v,k]),r.useEffect(()=>k,[k]),p??h}},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),m=(0,o.useCallback)(()=>p(u.current.isFocused&&u.current.isFocusVisible),[]),h=(0,o.useCallback)(e=>{u.current.isFocused=e,u.current.isFocusVisible=(0,r.pP)(),c(e),m()},[m]);(0,r.K7)(e=>{u.current.isFocusVisible=e,m()},[n,d],{enabled:d,isTextInput:n});let{focusProps:g}=(0,i.i)({isDisabled:l,onFocusChange:h}),{focusWithinProps:v}=(0,a.R)({isDisabled:!l,onFocusWithinChange:h});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),m=n(62025),h=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:k,value:x,id:w,nativeButton:S=!0,style:$,..._}=e,{value:E,getTabPanelIdByValue:D,onValueChange:C,orientation:I,tabActivationDirection:P}=(0,p.z)(),{activateOnFocus:R,registerTabResizeObserverElement:T,tabsListElement:j}=(0,h.b)(),{highlightedIndex:z,onHighlightedIndexChange:A}=(0,f.G)(),O=(0,s.e)(w),N=r.useMemo(()=>({disabled:b,id:O,value:x}),[b,O,x]),{compositeProps:M,compositeRef:L,index:F}=(0,c.k)({metadata:N}),U=x===E,B=r.useRef(!1),V=r.useRef(null),Z=(0,o.K)(e=>{V.current?.(),V.current=e?T(e):null});(0,a.g)(()=>
12{if(B.current){B.current=!1;return}if(U&&F>-1&&z!==F){if(null!=j){let e=(0,y.RS)((0,i.R)(j));if(e&&(0,y.gR)(j,e))return}b||A(F)}},[U,F,z,A,b,j]);let{getButtonProps:K,buttonRef:q}=(0,u.s)({disabled:b,native:S,focusableWhenDisabled:!0}),G=D(x),W=r.useRef(!1),H=r.useRef(!1);function J(e){C(x,(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:P},ref:[t,q,L,Z],props:[M,{role:"tab","aria-controls":G,"aria-selected":U,id:O,onClick:function(e){U||b||J(e)},onFocus:function(e){U||b||R&&(!W.current||H.current)&&J(e)},onPointerDown:function(e){if(U||b)return;W.current=!0,H.current=0===e.button;let t=(0,i.R)(e.currentTarget);function n(){W.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:m.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}}
12,18039:(e,t,n)=>{"use strict";n.d(t,{Ae:()=>k,DU:()=>S,L_:()=>$,Ls:()=>v,T1:()=>w,UM:()=>y,i:()=>x,i6:()=>D,l$:()=>E,tr:()=>_,xp:()=>b,xs:()=>C});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),m=n(28410),h=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 k({handle:e,store:t}){return(0,l.g)(()=>e.attachStore(t),[e,t]),null}function x(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 w(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function S(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=w(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),x(i,t,n.trigger,u()),e.update(i)};o?i.flushSync(d):d()}function $(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)(()=>{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,h.d)(g.dv);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[a,e,o,s,u,n])}function E(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,m.v)({enabled:r&&!e&&!l,open:e,ref:t.context.popupRef,onComplete(){e||u()}}),{forceUnmount:u,transitionStatus:a}}function D(e,t){e.useSyncedValues(t),(0,l.g)(()=>()=>{e.update({activeTriggerProps:a.t0,inactiveTriggerProps:a.t0,popupProps:a.t0})},[e])}function C(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;
12return{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:()=>A});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),m=n(83560),h=n(76786),g=n(41118),v=n(70194),y=n(28833),b=n(96094),k=n(28410),x=n(92796),w=n(28655),S=n(27e3),$=n(8551),_=n(78337),E=n(53668),D=n(59627),C=n(21708),I=n(51407),P=n(64652),R=n(64988),T=n(56136),j=n(94799);let z={...g.GW,...b.G},A=r.forwardRef(function(e,t){let{render:n,className:i,style:m,finalFocus:g,...b}=e,{store:A,popupRef:U,onOpenChangeComplete:B,setOpen:V,valueRef:Z,firstItemTextRef:K,selectedItemTextRef:q,multiple:G,handleScrollArrowVisibility:W,scrollHandlerRef:H,listRef:J,highlightItemOnHover:Y,floatingContext:X}=(0,h.l)(),{side:Q,align:ee,alignItemWithTriggerActive:et,isPositioned:en,setControlledAlignItemWithTrigger:er}=(0,v.H)(),ei=null!=(0,E.S)(!0),ea=(0,T.j)(),{nonce:eo,disableStyleElements:es}=(0,R.n)(),el=(0,c.P)(A,w.T.id),eu=(0,c.P)(A,w.T.open),ed=(0,c.P)(A,w.T.openMethod),ec=(0,c.P)(A,w.T.mounted),ef=(0,c.P)(A,w.T.popupProps),ep=(0,c.P)(A,w.T.transitionStatus),em=(0,c.P)(A,w.T.triggerElement),eh=(0,c.P)(A,w.T.positionerElement),eg=(0,c.P)(A,w.T.listElement),ev=r.useRef(!1),ey=r.useRef(!1),eb=r.useRef({}),ek=(0,f.NR)(),ex=(0,s.K)(e=>{var t;if(!eh||!U.current||!ey.current)return;let n="0px"===eh.style.top,r="0px"===eh.style.bottom;if(ev.current||!et||!n&&!r)return void W(e);let i=M(eh),a=(t=eh.getBoundingClientRect().height,t/i.y),o=(0,l.R)(eh),s=(0,u.zk)(eh),d=s.getComputedStyle(eh),c=parseFloat(d.marginTop),f=parseFloat(d.marginBottom),p=O(s.getComputedStyle(U.current)),m=Math.min(o.documentElement.clientHeight-c-f,p),h=e.scrollTop,g=N(e),v=null,y=e=>{eh.style.height=`${e}px`},b=n?g-h:h,k=Math.min(a+b,m);if(b<=P.Pv){let t=(0,I.q)(b,0,m-a);t>0&&y(a+t),e.scrollTop=n?g:0,m-(a+t)<=P.Pv&&(ev.current=!0),W(e);return}if(m-k>P.Pv)v=n?1/0:0;else if(r&&h<g){let e=a+b-m;v=h-(b-e)}let x=Math.ceil(k);if(0!==x&&y(x),null!=v){let t=(0,I.q)(v,0,N(e));Math.abs(e.scrollTop-t)>P.Pv&&(e.scrollTop=t)}x>=m-P.Pv&&(ev.current=!0),W(e)});r.useImperativeHandle(H,()=>ex,[ex]),(0,k.v)({open:eu,ref:U,onComplete(){eu&&B?.(!0)}}),(0,d.g)(()=>{eh&&U.current&&!Object.keys(eb.current).length&&(eb.current={top:eh.style.top||"0",left:eh.style.left||"0",right:eh.style.right,height:eh.style.height,bottom:eh.style.bottom,minHeight:eh.style.minHeight,maxHeight:eh.style.maxHeight,marginTop:eh.style.marginTop,marginBottom:eh.style.marginBottom})},[U,eh]),(0,d.g)(()=>{eu||et||(ey.current=!1,ev.current=!1,(0,S.Y)(eh,eb.current))},[eu,et,eh,U]),(0,d.g)(()=>{let e=U.current;if(!eu||!em||!eh||!e||et&&!en||"ending"===A.state.transitionStatus)return;if(ey.current=!0,e.style.removeProperty("--transform-origin"),!et)return void ek.request(()=>W(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=!w.T.hasSelectedValue(A.state)&&K.current?.isConnected?K.current:null);let r=Z.current,i=(0,u.zk)(eh),a=i.getComputedStyle(eh),s=i.getComputedStyle(e),d=(0,l.R)(em),c=M(em),f=L(em.getBoundingClientRect(),c),p=L(eh.getBoundingClientRect(),c),m=f.height,h=eg||e,g=h.scrollHeight,v=parseFloat(s.borderBottomWidth),y=parseFloat(a.marginTop)||10,b=parseFloat(a.marginBottom)||10,k=parseFloat(a.minHeight)||100,x=O(s),$=d.documentElement.clientHeight-y-b,_=d.documentElement.clientWidth,E=$-f.bottom+m,D="rtl"===ea?f.right-p.width:f.left,C=0;if(n&&r){let e=L(r.getBoundingClientRect(),c);t=L(n.getBoundingClientRect(),c),D=p.left+("rtl"===ea?e.right-t.right:e.left-t.left);let i=e.top-f.top+e.height/2;C=t.top-p.top+t.height/2-i}let R=E+C+b+v,T=Math.min($,R),j=$-y-b,z=R-T;eh.style.left=`${(0,I.q)(D,5,_-5-p.width)}px`,eh.style.height=`${T}px`,eh.style.maxHeight="none",eh.style.marginTop=`${y}px`,eh.style.marginBottom=`${b}px`,e.style.height="100%";let F=N(h),U=z>=F-P.Pv;U&&(T=Math.min($,p.height)-(z-F));let B=f.top<20||f.bottom>
12$-20||Math.ceil(T)+P.Pv<Math.min(g,k),V=(i.visualViewport?.scale??1)!==1&&o.Fp;if(B||V){(0,S.Y)(eh,eb.current),er(!1);return}let G=Math.max(k,T);if(U){let e=Math.max(0,$-R);eh.style.top=p.height>=j?"0":`${e}px`,eh.style.height=`${T}px`,h.scrollTop=N(h)}else eh.style.bottom="0",h.scrollTop=z;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}%`)}(G===$||T>=x)&&(ev.current=!0),W(h),Y&&null===A.state.selectedIndex&&null===A.state.activeIndex&&null!=J.current[0]&&A.set("activeIndex",0)}finally{t()}},[A,eu,eh,em,Z,K,q,U,W,et,er,ek,eg,J,Y,ea,en]),r.useEffect(()=>{if(!et||!eh||!eu)return;let e=(0,u.zk)(eh);return(0,a.q)(e,"resize",function(e){V(!1,(0,$.d)(_.L5,e))})},[V,et,eh,eu]);let ew={...eg?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":G||void 0,id:`${el}-list`},onKeyDown(e){ei&&D.jF.has(e.key)&&e.stopPropagation()},onScroll(e){eg||ex(e.currentTarget)},...et&&{style:eg?{height:"100%"}:S.O},className:!eg&&et?y.E.className:void 0},eS=(0,x.o)("div",e,{ref:[t,U],state:{open:eu,transitionStatus:ep,side:Q,align:ee},stateAttributesMapping:z,props:[ef,ew,(0,C.d)(ep),b]});return(0,j.jsxs)(r.Fragment,{children:[!es&&y.E.getElement(eo),(0,j.jsx)(p.s,{context:X,modal:!1,disabled:!ec,openInteractionType:ed,returnFocus:g,restoreFocus:!0,children:eS})]})});function O(e){let t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function N(e){return(0,P.XF)(e.scrollHeight,e.clientHeight)}function M(e){return m.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),m=n(17977),h=n(62812),g=n(42888),v=n(89360),y=n(94799),b="Dialog",[k,x]=(0,o.A)(b),[w,S]=k(b),$=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)(w,{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})};$.displayName=b;var _="DialogTrigger",E=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(_,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)})});E.displayName=_;var D="DialogPortal",[C,I]=k(D,{forceMount:void 0}),P=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:a}=e,o=S(D,t);return(0,y.jsx)(C,{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})}))})};P.displayName=D;var R="DialogOverlay",T=r.forwardRef((e,t)=>{let n=I(R,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=S(R,e.__scopeDialog);return a.modal?(0,y.jsx)(f.C,{present:r||a.open,children:(0,y.jsx)(z,{...i,ref:t})}):null});T.displayName=R;var j=(0,v.TL)("DialogOverlay.RemoveScroll"),z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=S(R,n);return(0,y.jsx)(h.A,{as:j,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}})})}),A="DialogContent",O=r.forwardRef((e,t)=>{let n=I(A,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=S(A,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})})});O.displayName=A;var N=r.forwardRef((e,t)=>{let n=S(A,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)=>
12{let n=S(A,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=S(A,n),f=r.useRef(null),p=(0,a.s)(t,f);return(0,m.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=S(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=S(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=S(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 G="DialogTitleWarning",[W,H]=(0,o.q)(G,{contentName:A,titleName:F,docsSlug:"dialog"}),J=({titleId:e})=>{let t=H(G),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=$,Q=E,ee=P,et=T,en=O,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 m=o.createContext(null);function h(e){let{locale:t,children:n}=e,r=o.useMemo(()=>({locale:t,direction:a(t)?"rtl":"ltr"}),[t]);return o.createElement(m.Provider,{value:r},n)}function g(e){let{children:t}=e,n=p();return o.createElement(m.Provider,{value:n},t)}function v(e){let{locale:t,children:n}=e;return t?o.createElement(h,{locale:t,children:n}):o.createElement(g,{children:n})}function y(){let e=p();return(0,o.useContext)(m)||e}},19780:(e,t,n)=>{"use strict";n.d(t,{Tr:()=>f,Yd:()=>m,ay:()=>p,cd:()=>b,gw:()=>h,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),m=u(p-864e5,t),h=u(p+864e5,t),y=(r=d,((i=p-m)==(l=p-h)?[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-m,p-h);case"compatible":case"later":return Math.max(p-m,p-h);case"reject":throw RangeError("No such absolute time found")}}function p(e,t,n="compatible"){return new Date(f(e,t,n))}function m(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 h(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(m(s(i)-i.offset,a),i.calendar))}return m(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}},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),m=n(8551),h=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,k=r.useRef(!1),x=r.useRef(null),w=r.useRef(!0),S=(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))&&(k.current=!0)}),g&&(0,i.q)(t,"keydown",function(){w.current=!0},!0),g&&(0,i.q)(t,"pointerdown",function(){w.current=!1},!0))},[o,n]),r.useEffect(()=>{if(n)return y.on("openchange",e),()=>{y.off("openchange",e)};function e(e){if(e.reason===h.Ui||e.reason===h.jv){let e=o.select("domReferenceElement");(0,d.vq)(e)&&(x.current=e,k.current=!0)}}},[y,n,o]);let $=r.useMemo(()=>{function e(){k.current=!1,x.current=null}return{onMouseLeave(){e()},onFocus(t){let n=t.currentTarget;if(k.current){if(x.current===n)return;e()}let r=(0,f.EW)(t.nativeEvent);if((0,d.vq)(r)){if(g&&!t.relatedTarget){if(!w.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,m.d)(h.F4,s,l)):S.start(u,()=>{k.current||o.setOpen(!0,(0,m.d)(h.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");S.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,m.d)(h.F4,r))})}}},[b,a,o,S]);return r.useMemo(()=>n?{reference:$,trigger:$}:{},[n,$])}},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 m(e){return null!=e&&null!=e.clientX}var h=n(8551),g=n(18039),v=n(66431),y=n(56721),b=n(78337),k=n(28227),x=n(3559);let w={...k.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 S extends y.H{constructor(e,t,n){const i=new x.Z;super(function(e,t,n,r=!1){let i={...(0,k.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,k.OB)(t,n,r),i}(e,i,t,n),function(e){return{popupRef:r.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}(i),w)}setOpen=(e,t)=>{(0,g.DU)(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,(0,h.d)(b.Ui,e))}}var $=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:m=null,children:v}=e,y=(0,g.xp)((e,t)=>new S({open:n,openProp:i,activeTriggerId:m,triggerIdProp:p},e,t));y.useControlledProp("openProp",i),y.useControlledProp("triggerIdProp",p),y.useContextCallback("onOpenChange",d),y.useContextCallback("onOpenChangeComplete",c);let k=y.useState("open"),x=!t&&k,w=y.useState("activeTriggerId"),_=y.useState("mounted"),D=y.useState("payload");y.useSyncedValues({trackCursorAxis:l,disableHoverablePopup:a,disabled:t}),(0,g.tr)(y,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:C,transitionStatus:I}=(0,g.l$)(x,y),P=y.useState("isInstantPhase"),R=y.useState("instantType"),T=y.useState("lastOpenChangeReason"),j=r.useRef(null);(0,o.g)(()=>{k&&t&&y.setOpen(!1,(0,h.d)(b.r9))},[k,t,y]),(0,o.g)(()=>{"ending"===I&&T===b.dv||"ending"!==I&&P?("delay"!==R&&(j.current=R),y.set("instantType","delay")):null!==j.current&&(y.set("instantType",j.current),j.current=null)},[I,P,T,R,y]),(0,o.g)(()=>{x&&null==w&&y.set("payload",void 0)},[y,w,x]),r.useImperativeHandle(u,()=>({unmount:C,close:()=>y.setOpen(!1,(0,h.d)(b.zJ))}),[C,y]);let z=x||_||!t&&"none"!==l;return(0,$.jsxs)(s.B.Provider,{value:y,children:[f&&(0,$.jsx)(g.Ae,{handle:f,store:y}),z&&(0,$.jsx)(E,{store:y,disabled:t,trackCursorAxis:l}),"function"==typeof v?v({payload:D}):v]})});function E({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"),h=a.context.dataRef,g=r.useRef(!1),v=r.useRef(null),[y,b]=r.useState(),[k,x]=r.useState([]),w=(0,d.K)(e=>{a.set("positionReference",e)}),S=(0,d.K)((e,t,n)=>{if(!g.current&&(!h.current.openEvent||m(h.current.openEvent))){var r,o;let s,u,d;a.set("positionReference",(r=n??l,o={x:e,y:t,axis:i,dataRef:h,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}}}))}}),$=(0,d.K)(e=>{o?v.current||(S(e.clientX,e.clientY,e.currentTarget),x([])):S(e.clientX,e.clientY,e.currentTarget)}),_=(0,p.Go)(y)?s:o;r.useEffect(()=>{if(!n)return void w(l);if(!_)return;function e(){v.current?.(),v.current=null}let t=(0,c.zk)(s);return!h.current.openEvent||m(h.current.openEvent)?v.current=(0,u.q)(t,"mousemove",function(t){let n=(0,f.EW)(t);(0,f.gR)(s,n)?e():S(t.clientX,t.clientY)}):w(l),e},[_,n,s,h,l,a,S,w,k]),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 E=r.useMemo(()=>{function e(e){b(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:$,onMouseEnter:$}},[$]);return r.useMemo(()=>n?{reference:E,trigger:E}:{},[n,E])}(i,{enabled:!t&&"none"!==n,axis:"none"===n?void 0:n}),h=r.useMemo(()=>(0,v.v6)(s.reference,o.reference),[s.reference,o.reference]);return(0,g.i6)(e,{activeTriggerProps:h,inactiveTriggerProps:h,popupProps:o.floating??a.t0}),null}},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:()=>h});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 m={...f.h,...s.G},h=r.forwardRef(function(e,t){let{className:n,value:s,render:f,keepMounted:h=!1,style:g,...v}=e,{value:y,getTabIdByPanelValue:b,orientation:k,tabActivationDirection:x,registerMountedTabPanel:w}=(0,p.z)(),S=(0,o.e)(),{ref:$,index:_}=(0,c.q)(),E=s===y,{mounted:D,transitionStatus:C,setMounted:I}=(0,u.$)(E),P=!D,R=b(s),T=r.useRef(null),j=(0,d.o)("div",e,{state:{hidden:P,orientation:k,tabActivationDirection:x,transitionStatus:C},ref:[t,$,T],props:[{"aria-labelledby":R,hidden:P,id:S,role:"tabpanel",tabIndex:E?0:-1,inert:(0,i.Y)(!E),"data-index":_},v],stateAttributesMapping:m});return((0,l.v)({open:E,ref:T,onComplete(){E||I(!1)}}),(0,a.g)(()=>{if(null!=S&&(!P||h))return w(s,S)},[P,h,s,S,w]),h||D)?j:null})},24811:(e,t,n)=>{"use strict";n.d(t,{B1:()=>C,C0:()=>f,Dz:()=>v,Jx:()=>l,LI:()=>o,PG:()=>m,RI:()=>s,Sg:()=>p,T9:()=>a,TV:()=>g,WJ:()=>b,_3:()=>c,bV:()=>E,jk:()=>i,lP:()=>_,nI:()=>D,qE:()=>d,r_:()=>r,sq:()=>h,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 m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return m(g(e))}function y(e,t,n){void 0===n&&(n=!1);let r=p(e),i=v(e),a=h(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=E(o)),[o,E(o)]}function b(e){let t=E(e);return[k(e),t,k(t)]}function k(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let x=["left","right"],w=["right","left"],S=["top","bottom"],$=["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?w:x;return t?x:w;case"left":case"right":return t?S:$;default:return[]}}(f(e),"start"===n,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(k)))),a}function E(e){let t=f(e);return u[t]+e.slice(t.length)}function D(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 C(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:()=>k});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}var p=n(75270),m=n(50596),h=n(69621),g=n(28325),v=n(47273),y=n(56614),b=n(61793);
16function k(e,t,n){var k,x,w,S,$,_,E,D;let C=(0,b.o)((D=o)&&D.__esModule?D.default:D,"@react-aria/datepicker"),{isInvalid:I,validationErrors:P,validationDetails:R}=t.displayValidation,{labelProps:T,fieldProps:j,descriptionProps:z,errorMessageProps:A}=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,h.Bi)(t);let o=(0,h.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,h.X1)([!!t,!!n,r,i]),l=(0,h.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||P}),O=j["aria-labelledby"]||j.id,{locale:N}=(0,d.Y)(),M=t.formatValue(N,{month:"long"}),L=M?C.format("selectedRangeDescription",{startDate:M.start,endDate:M.end}):"",F=(0,m.I)(L),U={"aria-label":C.format("startDate"),"aria-labelledby":O},B={"aria-label":C.format("endDate"),"aria-labelledby":O},V=(0,h.Bi)(),Z=(0,h.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"],j["aria-describedby"]].filter(Boolean).join(" ")||void 0,G=(0,r.useMemo)(()=>(0,s.C7)(n,{accept:e=>e.id!==V}),[n,V]),W={[a]:G,[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,j,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:{...T,onClick:()=>{G.focusFirst()}},buttonProps:{...F,id:V,"aria-haspopup":"dialog","aria-label":C.format("calendar"),"aria-labelledby":`${V} ${O}`,"aria-describedby":q,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:Z,"aria-labelledby":`${V} ${O}`},startFieldProps:{...U,...W,value:null!=(_=null==(k=t.value)?void 0:k.start)?_:null,defaultValue:null==(x=t.defaultValue)?void 0:x.start,onChange:e=>t.setDateTime("start",e),autoFocus:e.autoFocus,name:e.startName,form:e.form,[p.Lf]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateV
16alidation(e){X.current=e,t.updateValidation((0,p.cX)(e,Q.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...B,...W,value:null!=(E=null==(w=t.value)?void 0:w.end)?E:null,defaultValue:null==(S=t.defaultValue)?void 0:S.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:z,errorMessageProps:A,calendarProps:{autoFocus:!0,value:(null==($=t.dateRange)?void 0:$.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:P,validationDetails:R}}},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 m=n(79141),h=n(94799);function g(e){let{componentProps:t,forwardedRef:n,virtualized:g,indexFromFilter:v}=e,{render:y,className:b,style:k,value:x=null,index:w,disabled:S=!1,nativeButton:$=!1,..._}=t,E=r.useRef(null),D=(0,l.q)({guess:!0,index:w,textRef:E}),C=(0,s.Ee)(),I=r.useContext(p),P=(0,s.Eg)(),R=(0,a.P)(C,c.T.selectionMode),T=(0,a.P)(C,c.T.disabled),j=(0,a.P)(C,c.T.readOnly),z=(0,a.P)(C,c.T.isItemEqualToValue),A=T||S,O="none"!==R,N=w??v??D.index,M=-1!==N,L=(0,a.P)(C,c.T.id),F=(0,a.P)(C,c.T.isActive,N),U=(0,a.P)(C,c.T.isSelected,x),B=(0,a.P)(C,c.T.itemProps),V=r.useRef(null),Z=null!=L&&M?`${L}-${N}`:void 0,K=U&&O;(0,o.g)(()=>{if(!(M&&(g||null!=w)))return;let e=C.state.listRef.current;return e[N]=V.current,()=>{delete e[N]}},[M,g,N,w,C]),(0,o.g)(()=>{if(!M||P)return;let e=C.state.valuesRef.current;return e[N]=x,()=>{delete e[N]}},[M,P,N,x,C]),(0,o.g)(()=>{if(!M||P)return;let e=C.state.selectedValue,t=Array.isArray(e)?e[e.length-1]:e;(0,m.tl)(x,t,z)&&C.set("selectedIndex",N)},[M,P,C,N,x,z]);let{getButtonProps:q,buttonRef:G}=(0,f.s)({disabled:A,focusableWhenDisabled:!0,native:$,composite:!0});function W(e){function t(){C.state.handleSelection(e,x)}C.state.submitOnItemClick?(i.flushSync(t),C.state.requestSubmit()):t()}let H=(0,u.o)("div",t,{ref:[G,n,D.ref,V],state:{disabled:A,selected:K,highlighted:F},props:[B,{id:Z,role:I?"gridcell":"option","aria-selected":O?K:void 0,tabIndex:void 0,onPointerDownCapture(e){e.isPrimary&&(C.state.pointerDownItemRef.current=e.currentTarget),e.preventDefault()},onMouseDown(e){e.preventDefault()},onClick(e){A||j||W(e.nativeEvent)},onMouseUp(e){let t=C.state.pointerDownItemRef.current===e.currentTarget;C.state.pointerDownItemRef.current=null,A||j||0!==e.button||t||!F||W(e.nativeEvent)}},_,q]}),J=r.useMemo(()=>({selected:K,textRef:E}),[K,E]);return(0,h.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,m.Vz)(o,t.value??null,i);return(0,h.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,h.jsx)(v,{componentProps:e,forwardedRef:t}):(0,h.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:()=>w,Rb:()=>m,Re:()=>c,WQ:()=>a,XH:()=>$,YP:()=>y,d_:()=>S,gt:()=>k,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),m(n),n}function m(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 h(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=h(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=h(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=h(e.minute,60),n=Math.floor(e.hour/24),e.hour=h(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=x(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=x(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=x(e.month,n,1,e.calendar.getMonthsInYear(e),null==r?void 0:r.round);break;case"day":i.day=x(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 k(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=x(t,n,a,o,null==r?void 0:r.round);break}case"minute":i.minute=x(e.minute,n,0,59,null==r?void 0:r.round);break;case"second":i.second=x(e.second,n,0,59,null==r?void 0:r.round);break;case"millisecond":i.millisecond=x(e.millisecond,n,0,999,null==r?void 0:r.round);break;default:throw Error("Unsupported field "+t)}return i}function x(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 w(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 S(e,t){return w(e,d(t))}function $(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,m=Math.floor(f/36e5),h=f%36e5;return f=36e5*x(m,n,Math.floor(u/36e5),Math.floor(c/36e5),null==a?void 0:a.roun
16d)+h,(0,r.yP)((0,r.Yd)(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return k(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:()=>eP,In:()=>eC,q7:()=>eT,VF:()=>ez,p4:()=>ej,ZL:()=>eI,bL:()=>e_,l9:()=>eE,WT:()=>eD,LM:()=>eR});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),m=n(22905),h=n(94454),g=n(50257),v=n(39739),y=n(89360),b=n(12789),k=n(66825),x=n(98004),w=n(48179),S=n(94799),$=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,S.jsx)(v.sG.span,{...e,ref:t,style:{...$,...e.style}})).displayName="VisuallyHidden";var _=n(42888),E=n(62812),D=[" ","Enter","ArrowUp","ArrowDown"],C=[" ","Enter"],I="Select",[P,R,T]=(0,s.N)(I),[j,z]=(0,u.A)(I,[T,h.Bk]),A=(0,h.Bk)(),[O,N]=j(I),[M,L]=j(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=A(t),[x,w]=r.useState(null),[$,_]=r.useState(null),[E,D]=r.useState(!1),C=(0,d.jH)(c),[R,T]=(0,k.i)({prop:i,defaultProp:a??!1,onChange:o,caller:I}),[j,z]=(0,k.i)({prop:s,defaultProp:l,onChange:u,caller:I}),N=r.useRef(null),L=!x||y||!!x.closest("form"),[F,U]=r.useState(new Set),B=Array.from(F).map(e=>e.props.value).join(";");return(0,S.jsx)(h.bL,{...b,children:(0,S.jsxs)(O,{required:v,scope:t,trigger:x,onTriggerChange:w,valueNode:$,onValueNodeChange:_,valueNodeHasChildren:E,onValueNodeHasChildrenChange:D,contentId:(0,m.B)(),value:j,onValueChange:z,open:R,onOpenChange:T,dir:C,triggerPointerDownPosRef:N,disabled:g,children:[(0,S.jsx)(P.Provider,{scope:t,children:(0,S.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,S.jsxs)(ex,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:p,value:j,onChange:e=>z(e.target.value),disabled:g,form:y,children:[void 0===j?(0,S.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=A(n),u=N(U,n),d=u.disabled||i,c=(0,l.s)(t,u.onTriggerChange),f=R(n),p=r.useRef("touch"),[m,g,y]=eS(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=e$(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,S.jsx)(h.Mz,{asChild:!0,...s,children:(0,S.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":ew(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=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&D.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,x.N)(()=>{d(c)},[d,c]),(0,S.jsx)(v.sG.span,{...s,ref:f,style:{pointerEvents:"none"},children:ew(u.value)?(0,S.jsx)(S.Fragment,{children:o}):a})});Z.displayName=V;var K=r.forwardRef((e,t)=>
16{let{__scopeSelect:n,children:r,...i}=e;return(0,S.jsx)(v.sG.span,{"aria-hidden":!0,...i,ref:t,children:r||"▼"})});K.displayName="SelectIcon";var q=e=>(0,S.jsx)(g.Z,{asChild:!0,...e});q.displayName="SelectPortal";var G="SelectContent",W=r.forwardRef((e,t)=>{let n=N(G,e.__scopeSelect),[a,o]=r.useState();return((0,x.N)(()=>{o(new DocumentFragment)},[]),n.open)?(0,S.jsx)(X,{...e,ref:t}):a?i.createPortal((0,S.jsx)(H,{scope:e.__scopeSelect,children:(0,S.jsx)(P.Slot,{scope:e.__scopeSelect,children:(0,S.jsx)("div",{children:e.children})})}),a):null});W.displayName=G;var[H,J]=j(G),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:m,align:h,alignOffset:g,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:k,hideWhenDetached:x,avoidCollisions:w,...$}=e,D=N(G,n),[C,I]=r.useState(null),[P,T]=r.useState(null),j=(0,l.s)(t,e=>I(e)),[z,A]=r.useState(null),[O,M]=r.useState(null),L=R(n),[F,U]=r.useState(!1),B=r.useRef(!1);r.useEffect(()=>{if(C)return(0,_.Eq)(C)},[C]),(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&&P&&(P.scrollTop=0),n===r&&P&&(P.scrollTop=P.scrollHeight),n?.focus(),document.activeElement!==i))return},[L,P]),Z=r.useCallback(()=>V([z,C]),[V,z,C]);r.useEffect(()=>{F&&Z()},[F,Z]);let{onOpenChange:K,triggerPointerDownPosRef:q}=D;r.useEffect(()=>{if(C){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():C.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})}}},[C,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[W,J]=eS(e=>{let t=L().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=e$(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),X=r.useCallback((e,t,n)=>{let r=!B.current&&!n;(void 0!==D.value&&D.value===t||r)&&(A(e),r&&(B.current=!0))},[D.value]),et=r.useCallback(()=>C?.focus(),[C]),en=r.useCallback((e,t,n)=>{let r=!B.current&&!n;(void 0!==D.value&&D.value===t||r)&&M(e)},[D.value]),er="popper"===i?ee:Q,ei=er===ee?{side:d,sideOffset:m,align:h,alignOffset:g,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:k,hideWhenDetached:x,avoidCollisions:w}:{};return(0,S.jsx)(H,{scope:n,content:C,viewport:P,onViewportChange:T,itemRefCallback:X,selectedItem:z,onItemLeave:et,itemTextRefCallback:en,focusSelectedItem:Z,selectedItemText:O,position:i,isPositioned:F,searchRef:W,children:(0,S.jsx)(E.A,{as:Y,allowPinchZoom:!0,children:(0,S.jsx)(p.n,{asChild:!0,trapped:D.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,o.mK)(a,e=>{D.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,S.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>D.onOpenChange(!1),children:(0,S.jsx)(er,{role:"listbox",id:D.contentId,"data-state":D.open?"open":"closed",dir:D.dir,onContextMenu:e=>e.preventDefault(),...$,...ei,onPlaced:()=>U(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...$.style},onKeyDown:(0,o.mK)($.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(G,n),u=J(G,n),[d,c]=r.useState(null),[f,p]=r.useState(null),m=(0,l.s)(t,e=>p(e)),h=R(n),g=r.useRef(!1),y=r.useRef(!0),{viewport:b,selectedItem:k,selectedItemText:w,focusSelectedItem:$}=u,_=r.useCallback(()=>{if(s.trigger&&s.valueNode&&d&&f&&b&&k&&w){let e=s.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=w.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=h(),l=window.innerHeight-20,u=b.scrollHeight,c=window.getComputedStyle(f),p=parseInt(c.borderTopWidth,10),m=parseInt(c.paddingTop,10),v=parseInt(c.borderBottomWidth,10),y=p+m+u+parseInt(c.paddingBottom,10)+v,x=Math.min(5*k.offsetHeight,y),S=window.getComputedStyle(b),$=parseInt(S.paddingTop,10),_=parseInt(S.paddingBottom,10),E=e.top+e.height/2-10,D=k.offsetHeight/2,C=p+m+(k.offsetTop+D);if(C<=E){let e=o.length>0&&k===o[o.length-1].ref.current;d.style.bottom="0px";let t=Math.max(l-E,D+(e?_:0)+(f.clientHeight-b.offsetTop-b.offsetHeight)+v);d.style.height=C+t+"px"}else{let e=o.length>0&&k===o[0].ref.current;d.style.top="0px";let t=Math.max(E,p+b.offsetTop+(e?$:0)+D);d.style.height=t+(y-C)+"px",b.scrollTop=C-E+b.offsetTop}d.style.margin="10px 0",d.style.minHeight=x+"px",d.style.maxHeight=l+"px",i?.(),requestAnimationFrame(()=>g.current=!0)}},[h,s.trigger,s.valueNode,d,f,b,k,w,s.dir,i]);(0,x.N)(()=>_(),[_]);let[E,D]=r.useState();(0,x.N)(()=>{f&&D(window.getComputedStyle(f).zIndex)},[f]);let C=r.useCallback(e=>{e&&!0===y.current&&(_(),$?.(),y.current=!1)},[_,$]);return(0,S.jsx)(et,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:g,onScrollButtonChange:C,children:(0,S.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:(0,S.jsx)(v.sG.div,{...o,ref:m,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=A(n);return(0,S.jsx)(h.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]=j(G,{}),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,S.jsxs)(S.Fragment,{children:[(0,S.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,S.jsx)(P.Slot,{scope:n,children:(0,S.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]=j(ea);r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=(0,m.B)();return(0,S.jsx)(eo,{scope:n,id:i,children:(0,S.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,S.jsx)(v.sG.div,{id:i.id,...r,ref:t})}).displayName=el;var eu="SelectItem",[ed,ec]=j(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,h]=r.useState(s??""),[g,y]=r.useState(!1),b=(0,l.s)(t,e=>c.itemRefCallback?.(e,i,a)),k=(0,m.B)(),x=r.useRef("touch"),w=()=>{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,S.jsx)(ed,{scope:n,value:i,disabled:a,textId:k,isSelected:f,onItemTextChange:r.useCallback(e=>{h(t=>t||(e?.textContent??"").trim())},[]),children:(0,S.jsx)(P.ItemSlot,{scope:n,value:i,disabled:a,textValue:p,children:(0,S.jsx)(v.sG.div,{role:"option","aria-labelledby":k,"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"!==x.current&&w()}),onPointerUp:(0,o.mK)(u.onPointerUp,()=>{"mouse"===x.current&&w()}),onPointerDown:(0,o.mK)(u.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,o.mK)(u.onPointerMove,e=>{x.current=e.pointerType,a?c.onItemLeave?.():"mouse"===x.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)&&(C.includes(e.key)&&w()," "===e.key&&e.preventDefault())})})})})});ef.displayName=eu;var ep="SelectItemText",em=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,m]=r.useState(null),h=(0,l.s)(t,e=>m(e),c.onItemTextChange,e=>d.itemTextRefCallback?.(e,c.value,c.disabled)),g=p?.textContent,y=r.useMemo(()=>(0,S.jsx)("option",{value:c.value,disabled:c.disabled,children:g},c.value),[c.disabled,c.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:k}=f;return(0,x.N)(()=>(b(y),()=>k(y)),[b,k,y]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(v.sG.span,{id:c.textId,...s,ref:h}),c.isSelected&&u.valueNode&&!u.valueNodeHasChildren?i.createPortal(s.children,u.valueNode):null]})});em.displayName=ep;var eh="SelectItemIndicator",eg=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return ec(eh,n).isSelected?(0,S.jsx)(v.sG.span,{"aria-hidden":!0,...r,ref:t}):null});eg.displayName=eh;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,x.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,S.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,x.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,S.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=R(n),d=r.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return r.useEffect(()=>()=>d(),[d]),(0,x.N)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,S.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,S.jsx)(v.sG.div,{"aria-hidden":!0,...r,ref:t})}).displayName="SelectSeparator";var ek="SelectArrow";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=A(n),a=N(ek,n),o=J(ek,n);return a.open&&"popper"===o.position?(0,S.jsx)(h.i3,{...i,...r,ref:t}):null}).displayName=ek;var ex=r.forwardRef(({__scopeSelect:e,value:t,...n},i)=>{let a=r.useRef(null),o=(0,l.s)(i,a),s=(0,w.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,S.jsx)(v.sG.select,{...n,style:{...$,...n.style},ref:o,defaultValue:t})});function ew(e){return""===e||void 0===e}function eS(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 e$(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}ex.displayName="SelectBubbleInput";var e_=F,eE=B,eD=Z,eC=K,eI=q,eP=W,eR=ei,eT=ef,ej=em,ez=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 m=i?.split("-")[0],h=!1,g=null,v=null,y="u">typeof performance?performance.now():0;return function(i){n.clear();let b=l.domReference,k=l.floating;if(!b||!k||null==m||null==e||null==t)return;let{clientX:x,clientY:w}=i,S=(0,a.EW)(i),$="mouseleave"===i.type,_=(0,a.gR)(k,S),E=(0,a.gR)(b,S);if(_&&(h=!0,!$))return;if(E&&(h=!1,!$)){h=!0;return}if($&&(0,r.vq)(i.relatedTarget)&&(0,a.gR)(k,i.relatedTarget))return;function D(){return!!(p&&(0,o.CM)(p.nodesRef.current,f).length>0)}function C(){D()||(n.clear(),c())}if(D())return;let I=b.getBoundingClientRect(),P=k.getBoundingClientRect(),R=e>P.right-P.width/2,T=t>P.bottom-P.height/2,j=P.width>I.width,z=P.height>I.height,A=(j?I:P).left,O=(j?I:P).right,N=(z?I:P).top,M=(z?I:P).bottom;if("top"===m&&t>=I.bottom-1||"bottom"===m&&t<=I.top+1||"left"===m&&e>=I.right-1||"right"===m&&e<=I.left+1)return void C();let L=!1;switch(m){case"top":L=d(x,w,A,I.top+1,O,P.bottom-1);break;case"bottom":L=d(x,w,A,P.top+1,O,I.bottom-1);break;case"left":L=d(x,w,P.right-1,M,I.left+1,N);break;case"right":L=d(x,w,I.right-1,M,P.left+1,N)}if(L)return;if(h&&(!(x>=I.x)||!(x<=I.x+I.width)||!(w>=I.y)||!(w<=I.y+I.height))||!$&&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}(x,w))return void C();let F=!1;switch(m){case"top":{let n=j?.25:2,r=t+.5+1,i=R||j?P.bottom-.5:P.top,a=R?j?P.bottom-.5:P.top:P.bottom-.5;F=u(x,w,j||R?e+n:e-n,r,j?e-n:R?e+n:e-n,r,P.left,i,P.right,a);break}case"bottom":{let n=j?.25:2,r=t-.5,i=R||j?P.top+.5:P.bottom,a=R?j?P.top+.5:P.bottom:P.top+.5;F=u(x,w,j||R?e+n:e-n,r,j?e-n:R?e+n:e-n,r,P.left,i,P.right,a);break}case"left":{let n=z?.25:2,r=e+.5+1,i=T||z?P.right-.5:P.left,a=T?z?P.right-.5:P.left:P.right-.5;F=u(x,w,i,P.top,a,P.bottom,r,z||T?t+n:t-n,r,z?t-n:T?t+n:t-n);break}case"right":{let n=z?.25:2,r=e-.5,i=T||z?P.left+.5:P.right,a=T?z?P.left+.5:P.right:P.left+.5;F=u(x,w,r,z||T?t+n:t-n,r,z?t-n:T?t+n:t-n,i,P.top,a,P.bottom)}}F?h||n.start(40,C):C()}};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)=>
16void 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,m={};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))&&(m[t]=e[t]);return m}},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=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows}},28803:(e,t,n)=>{"use strict";n.d(t,{n1:()=>g,C7:()=>I,N$:()=>C,Pu:()=>x});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),m="react-aria-focus-scope-restore",h=null;function g(e){var t,n,s,l,u,c,g,x,I,P;
16let R,z,A,O,{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 T({scopeRef:V}),[V]);(0,r.N)(()=>{let e=Z||j.root;if(j.getTreeNode(e.scopeRef)&&h&&!w(h,e.scopeRef)){let t=j.getTreeNode(h);t&&(e=t)}e.addChild(K),j.addNode(K)},[K,Z]),(0,r.N)(()=>{let e=j.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(m,r),t=t.nextSibling;return V.current=n,()=>{for(let e of n)e.removeEventListener(m,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)?h=t:k(n)||(h=null)};return 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,R=(0,f.useRef)(void 0),z=(0,f.useRef)(void 0),(0,r.N)(()=>{let e=l.current;if(!u){z.current&&(cancelAnimationFrame(z.current),z.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=C(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&&S(o,!0)},r=e=>{(!h||w(h,l))&&b((0,i.wt)(e),l.current)?(h=l,R.current=(0,i.wt)(e)):y(l)&&!k((0,i.wt)(e),l)?R.current?R.current.focus():h&&h.current&&_(h.current):y(l)&&(R.current=(0,i.wt)(e))},s=e=>{z.current&&cancelAnimationFrame(z.current),z.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)&&!k(a,l)){h=l;let t=(0,i.wt)(e);if(t&&t.isConnected){var s;R.current=t,null==(s=R.current)||s.focus()}else h.current&&_(h.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)(()=>()=>{z.current&&cancelAnimationFrame(z.current)},[z]),c=V,g=L,x=M,A=(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||x)return;let n=()=>{(!h||w(h,c))&&b((0,i.bq)(t),c.current)&&(h=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,x]),(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(!k(n,c)||!E(c))return;let r=j.getTreeNode(c);if(!r)return;let i=r.nodeToRestore,a=C(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||!k(o,c))&&i){a.currentNode=i;do o=t.shiftKey?a.previousNode():a.nextNode();while(k(o,c));(t.preventDefault(),t.stopPropagation(),o)?S(o,!0):k(i)?S(i,!0):n.blur()}};return x||e.addEventListener("keydown",t,!0),()=>{x||e.removeEventListener("keydown",t,!0)}},[c,g,x]),(0,r.N)(()=>{var e;let t=(0,a.TW)(c.current?c.current[0]:void 0);if(!g)return;let n=j.getTreeNode(c);if(n)return n.nodeToRestore=null!=(e=A.current)?e:void 0,()=>{let e=j.getTreeNode(c);if(!e)return;let n=e.nodeToRestore,r=(0,i.bq)(t);if(g&&n&&(r&&k(r,c)||r===t.body&&E(c))){let e=j.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=e.getTreeNode(c);for(;t;
16){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void D(t.nodeToRestore);t=t.parent}for(t=e.getTreeNode(c);t;){if(t.scopeRef&&t.scopeRef.current&&j.getTreeNode(t.scopeRef))return void D($(t.scopeRef.current,!0));t=t.parent}}})}}},[c,g]),I=V,P=F,O=f.useRef(P),(0,f.useEffect)(()=>{if(O.current){h=I;let e=(0,a.TW)(I.current?I.current[0]:void 0);!b((0,i.bq)(e),h.current)&&I.current&&_(I.current)}O.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 j.traverse())n.scopeRef&&b(e,n.scopeRef.current)&&(t=n);t===j.getTreeNode(V)&&(h=t.scopeRef)}},[V]),(0,r.N)(()=>()=>{var e,t,n;let r=null!=(n=null==(t=j.getTreeNode(V))||null==(e=t.parent)?void 0:e.scopeRef)?n:null;(V===h||w(V,h))&&(!r||j.getTreeNode(r))&&(h=r),j.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=C(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&&S(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=C(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&&S(p,!0),p},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=C(v(n),{tabbable:r,accept:i},n);a.currentNode=n[0].previousElementSibling;let o=a.nextNode();return o&&S(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=C(v(n),{tabbable:r,accept:i},n);a.currentNode=n[n.length-1].nextElementSibling;let o=a.previousNode();return o&&S(o,!0),o}}},[]),G=(0,f.useMemo)(()=>({focusManager:q,parentNode:K}),[K,q]);return f.createElement(p.Provider,{value:G},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=j.getTreeNode(h);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 k(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of j.traverse(j.getTreeNode(t)))if(n&&b(e,n.current))return!0;return!1}function x(e){return k(e,h)}function w(e,t){var n;let r=null==(n=j.getTreeNode(t))?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function S(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,c.l)(e)}catch{}}function $(e,t=!0){let n=e[0].previousElementSibling,r=v(e),i=C(r,{tabbable:t},e);i.currentNode=n;let a=i.nextNode();return t&&!a&&((i=C(r=v(e),{tabbable:!1},e)).currentNode=n,a=i.nextNode()),a}function _(e,t=!0){S($(e,t))}function E(e){let t=j.getTreeNode(h);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function D(e){e.dispatchEvent(new CustomEvent(m,{bubbles:!0,cancelable:!0}))&&S(e)}function C(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),m=(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"===m.currentNode.tagName&&"radio"===m.currentNode.type&&m.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)&&(m.currentNode=t.from),m}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=C(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&&S(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=C(r,{tabbable:s,accept:u});if((0,i.sD)(r,d))c.currentNode=d;else{let e=P(c);return e&&S(e,!0),null!=e?e:null}let f=c.previousNode();if(!f&&l){c.currentNode=r;let e=P(c);if(!e)return null;f=e}return f&&S(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=C(r,{tabbable:i,accept:a}).nextNode();return o&&S(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=P(C(r,{tabbable:i,accept:a}));return o&&S(o,!0),null!=o?o:null}}}function P(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class R{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 T({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>
160&&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 R;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 T({scopeRef:null}),this.fastMap.set(null,this.root)}}class T{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 j=new R},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")}:${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:()=>E,OQ:()=>N,hB:()=>j,tO:()=>A});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),m=n(94799),h=["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,k,x]=(0,p.N)(y),[w,S]=(0,s.A)(y,[x]),[$,_]=w(y),E=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:k=()=>{},inverted:x=!1,form:w,...S}=e,_=r.useRef(new Set),E=r.useRef(0),D="horizontal"===d,[C=[],R]=(0,l.i)({prop:v,defaultProp:p,onChange:e=>{let t=[..._.current];t[E.current]?.focus(),y(e)}}),T=r.useRef(C);function j(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]);R((e=[])=>{let r=function(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>
16e-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;{E.current=r.indexOf(d);let t=String(r)!==String(e);return t&&n&&k(r),t?r:e}})}return(0,m.jsx)($,{scope:e.__scopeSlider,name:n,disabled:c,min:o,max:s,valueIndexToChangeRef:E,thumbs:_.current,values:C,orientation:d,form:w,children:(0,m.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,m.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,m.jsx)(D?I:P,{"aria-disabled":c,"data-disabled":c?"":void 0,...S,ref:t,onPointerDown:(0,a.mK)(S.onPointerDown,()=>{c||(T.current=C)}),min:o,max:s,inverted:x,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)}(C,e);j(e,t)},onSlideMove:c?void 0:function(e){j(e,E.current)},onSlideEnd:c?void 0:function(){let e=T.current[E.current];C[E.current]!==e&&k(C)},onHomeKeyDown:()=>!c&&j(o,0,{commit:!0}),onEndKeyDown:()=>!c&&j(s,C.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!c){let n=h.includes(e.key)||e.shiftKey&&g.includes(e.key),r=E.current;j(C[r]+u*(n?10:1)*t,r,{commit:!0})}}})})})})});E.displayName=y;var[D,C]=w(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,[h,g]=r.useState(null),y=(0,o.s)(t,e=>g(e)),b=r.useRef(void 0),k=(0,u.jH)(a),x="ltr"===k,w=x&&!s||!x&&s;function S(e){let t=b.current||h.getBoundingClientRect(),r=U([0,t.width],w?[n,i]:[i,n]);return b.current=t,r(e-t.left)}return(0,m.jsx)(D,{scope:e.__scopeSlider,startEdge:w?"left":"right",endEdge:w?"right":"left",direction:w?1:-1,size:"width",children:(0,m.jsx)(R,{dir:k,"data-orientation":"horizontal",...p,ref:y,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=S(e.clientX);l?.(t)},onSlideMove:e=>{let t=S(e.clientX);d?.(t)},onSlideEnd:()=>{b.current=void 0,c?.()},onStepKeyDown:e=>{let t=v[w?"from-left":"from-right"].includes(e.key);f?.({event:e,direction:t?-1:1})}})})}),P=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),h=r.useRef(void 0),g=!a;function y(e){let t=h.current||f.current.getBoundingClientRect(),r=U([0,t.height],g?[i,n]:[n,i]);return h.current=t,r(e-t.top)}return(0,m.jsx)(D,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:(0,m.jsx)(R,{"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:()=>{h.current=void 0,u?.()},onStepKeyDown:e=>{let t=v[g?"from-bottom":"from-top"].includes(e.key);d?.({event:e,direction:t?-1:1})}})})}),R=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,m.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()):h.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))})})}),T="SliderTrack",j=r.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,i=_(T,n);return(0,m.jsx)(f.sG.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:t})});j.displayName=T;var z="SliderRange",A=r.forwardRef((e,t)=>{let{__scopeSlider:n,...i}=e,a=_(z,n),s=C(z,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,h=100-Math.max(...c);return(0,m.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]:h+"%"}})});A.displayName=z;var O="SliderThumb",N=r.forwardRef((e,t)=>
16{let n=k(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,m.jsx)(M,{...e,ref:s,index:l})}),M=r.forwardRef((e,t)=>{var n,i,s,l,u;let d,p,{__scopeSlider:h,index:g,name:v,...y}=e,k=_(O,h),x=C(O,h),[w,S]=r.useState(null),$=(0,o.s)(t,e=>S(e)),E=!w||k.form||!!w.closest("form"),D=(0,c.X)(w),I=k.values[g],P=void 0===I?0:F(I,k.min,k.max),R=(n=g,(i=k.values.length)>2?`Value ${n+1} of ${i}`:2===i?["Minimum","Maximum"][n]:void 0),T=D?.[x.size],j=T?(s=T,l=P,u=x.direction,p=U([0,50],[0,d=s/2]),(d-p(l)*u)*u):0;return r.useEffect(()=>{if(w)return k.thumbs.add(w),()=>{k.thumbs.delete(w)}},[w,k.thumbs]),(0,m.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[x.startEdge]:`calc(${P}% + ${j}px)`},children:[(0,m.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,m.jsx)(f.sG.span,{role:"slider","aria-label":e["aria-label"]||R,"aria-valuemin":k.min,"aria-valuenow":I,"aria-valuemax":k.max,"aria-orientation":k.orientation,"data-orientation":k.orientation,"data-disabled":k.disabled?"":void 0,tabIndex:k.disabled?void 0:0,...y,ref:$,style:void 0===I?{display:"none"}:e.style,onFocus:(0,a.mK)(e.onFocus,()=>{k.valueIndexToChangeRef.current=g})})}),E&&(0,m.jsx)(L,{name:v??(k.name?k.name+(k.values.length>1?"[]":""):void 0),form:k.form,value:I},g)]})});N.displayName=O;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,m.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"},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:()=>m,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 m(){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:m="top",align:h="center",sideOffset:g=0,alignOffset:v=0,collisionBoundary:y="clipping-ancestors",collisionPadding:b=5,arrowPadding:k=5,sticky:x=!1,disableAnchorTracking:w=!1,collisionAvoidance:S=l.Pe,style:$,..._}=e,E=(0,i.g)(),D=(0,s.a)(),C=E.useState("open"),I=E.useState("mounted"),P=E.useState("trackCursorAxis"),R=E.useState("disableHoverablePopup"),T=E.useState("floatingRootContext"),j=E.useState("instantType"),z=E.useState("transitionStatus"),A=E.useState("adaptiveOrigin"),O=(0,o.s)({anchor:f,positionMethod:p,floatingRootContext:T,mounted:I,side:m,sideOffset:g,align:h,alignOffset:v,collisionBoundary:y,collisionPadding:b,sticky:x,arrowPadding:k,disableAnchorTracking:w,keepMounted:D,collisionAvoidance:S,adaptiveOrigin:A}),N=r.useMemo(()=>({open:C,side:O.side,align:O.align,anchorHidden:O.anchorHidden,instant:"none"!==P?"tracking-cursor":j}),[C,O.side,O.align,O.anchorHidden,P,j]),M=(0,u.i)(e,N,{styles:O.positionerStyles,transitionStatus:z,props:_,refs:[t,E.useStateSetter("positionerElement")],hidden:!I,inert:!C||"both"===P||R});return(0,d.jsx)(a.v.Provider,{value:O,children:M})})},31963:(e,t,n)=>{"use strict";n.d(t,{l:()=>S});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),m=n(27e3),h=n(28655),g=n(8551),v=n(78337),y=n(79141),b=n(21610),k=n(90288),x=n(94799);let w={position:"fixed"},S=r.forwardRef(function(e,t){let{anchor:n,className:S,render:$,positionMethod:_,side:E,align:D,sideOffset:C,alignOffset:I,c
16ollisionBoundary:P="clipping-ancestors",collisionPadding:R,arrowPadding:T,sticky:j,disableAnchorTracking:z,alignItemWithTrigger:A=!0,collisionAvoidance:O=p.uD,style:N,...M}=e,{store:L,listRef:F,labelsRef:U,alignItemWithTriggerActiveRef:B,selectedItemTextRef:V,valuesRef:Z,initialValueRef:K,popupRef:q,setValue:G,floatingContext:W}=(0,l.l)(),H=(0,s.P)(L,h.T.open),J=(0,s.P)(L,h.T.mounted),Y=(0,s.P)(L,h.T.modal),X=(0,s.P)(L,h.T.value),Q=(0,s.P)(L,h.T.openMethod),ee=(0,s.P)(L,h.T.positionerElement),et=(0,s.P)(L,h.T.triggerElement),en=(0,s.P)(L,h.T.isItemEqualToValue),er=(0,s.P)(L,h.T.transitionStatus),ei=r.useRef(null),ea=r.useRef(null),[eo,es]=r.useState(A),el=J&&eo&&"touch"!==Q;J||eo===A||es(A),r.useImperativeHandle(B,()=>el),(0,k.G)((el||Y)&&H,"touch"===Q,ee,et);let eu=(0,d.s)({anchor:n,floatingRootContext:W,positionMethod:_,mounted:J,side:E,sideOffset:C,align:D,alignOffset:I,arrowPadding:T,collisionBoundary:P,collisionPadding:R,sticky:j,disableAnchorTracking:z??el,collisionAvoidance:O,keepMounted:!0}),ed=el?"none":eu.side,ec=el?w: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"),em=(0,b.i)(e,ef,{styles:ec,transitionStatus:er,props:M,refs:[t,ep],hidden:!J,inert:!H}),eh=r.useRef(0),eg=(0,o.K)(e=>{if(0===Z.current.length)return;let t=eh.current;if(eh.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;G(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&&(G(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,m.Y)(ee,e),(0,m.Y)(q.current,e)}}),ev=r.useMemo(()=>({...eu,side:ed,alignItemWithTriggerActive:el,setControlledAlignItemWithTrigger:es,scrollUpArrowRef:ei,scrollDownArrowRef:ea}),[eu,ed,el,es]);return(0,x.jsx)(u.u,{elementsRef:F,labelsRef:U,onMapChange:eg,children:(0,x.jsxs)(c.i.Provider,{value:ev,children:[J&&Y&&(0,x.jsx)(f.W,{inert:(0,i.Y)(!H),cutout:et}),em]})})})},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,m=(0,i.g)(),{side:h,align:g}=(0,a.s)(),v=m.useState("open"),y=m.useState("instantType"),b=m.useState("transitionStatus"),k=m.useState("popupProps"),x=m.useState("floatingRootContext"),w=m.useState("disabled"),S=m.useState("closeDelay");(0,s.v)({open:v,ref:m.context.popupRef,onComplete(){v&&m.context.onOpenChangeComplete?.(!0)}}),(0,d.a)(x,{enabled:!w,closeDelay:S});let $=m.useStateSetter("popupElement");return(0,l.o)("div",e,{state:{open:v,side:h,align:g,instant:y,transitionStatus:b},ref:[t,m.context.popupRef,$],props:[c.Ls,k,(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"},33354:(e,t,n)=>{"use strict";n.d(t,{JN:()=>i.JN,UC:()=>r.UC,kz:()=>i.kz,rK:()=>r.rK,u4:()=>i.u4});var r=n(24864),i=n(44085);n(94799),n(34023)},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,m=(0,a.K)(p),[,h]=r.useState(!1),g=(0,i.j)(c).current,v=(0,i.j)(d).current,y=r.useRef(0),b=r.useRef(!0),k=r.useRef([]),x=r.useRef(null),w=(0,a.K)(()=>{b.current||(b.current=!0,h(e=>!e))}),S=(0,a.K)((e,t)=>{v.set(e,t),w()}),$=(0,a.K)(e=>{v.delete(e),w()}),_=(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}),E=(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(x.current?.disconnect(),x.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(),w();return}r=n}});x.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),k.current=a,b.current=!1,g.forEach(e=>e(s)),m(s)});(0,o.g)(()=>(b.current||_(k.current),()=>{n.current=[],u&&(u.current=[])}),[n,u,_]),(0,o.g)(()=>{b.current&&E()}),(0,o.g)(()=>()=>{x.current?.disconnect(),b.current=!0},[]);let D=(0,a.K)(e=>(g.add(e),()=>{g.delete(e)})),C=r.useMemo(()=>({register:S,unregister:$,subscribeMapChange:D,nextIndexRef:y}),[S,$,D,y]);return(0,l.jsx)(s.D.Provider,{value:C,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),m=n(99901);let h=i.createContext(void 0);var g=n(88018),v=n(79130),y=n(8551),b=n(78337);n(94799);let k=i.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new s.E,currentIdRef:{current:null},currentContextRef:{current:null}});var x=n(82312),w=n(27700),S=n(21055),$=n(79342),_=n(97057),E=n(83271);let D="data-base-ui-tooltip-trigger";function C(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:P,payload:R,disabled:T,delay:j,closeOnClick:z=!0,closeDelay:A,id:O,...N}=e,M=(0,u.g)(!0),L=(0,f.f)(P)??M;if(!L)throw Error((0,r.A)(82));let F=(0,m.e)(O),U=L.useState("isTriggerActive",F),B=L.useState("isOpenedByTrigger",F),V=L.useState("floatingRootContext"),Z=i.useRef(null),K=j??600,q=A??0,{registerTrigger:G,isMountedByThisTrigger:W}=(0,p.L_)(F,Z,L,{payload:R,closeOnClick:z,closeDelay:q}),H=i.useContext(h),{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(k),[p,m]=i.useState(!1),h=i.useRef(n);return(0,g.g)(()=>{h.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(m(!1),l)return f.start(l,()=>{r.select("open")||o.current&&o.current!==a||e()}),()=>{(h.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:m},o.current=a,s.current={open:0,close:(0,v.uf)(u.current,"close")},null!==t&&t!==a?(m(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,(0,y.d)(b.dv))):(m(!1),e?.setIsInstantPhase(!1))},[n,a,r,o,s,u,d,f]),(0,g.g)(()=>()=>{o.current===a&&(d.current=null,h.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,E.uu)(V);L.useSyncedValue("isInstantPhase",Y);let ee=L.useState("disabled"),et=T??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:j??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(`[${D}]`);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,$.gR)(t,n)}let ed=(0,x.j)(V,{enabled:!et,mouseOnly:!0,move:!1,handleClose:ei||"both"===er?null:(0,w.i)(),restMs:el,delay:()=>null==A&&X?{close:(0,v.uf)(J.current,"close")}:{close:q},triggerElementRef:Z,isActiveTrigger:U,isClosing:()=>"ending"===L.select("transitionStatus"),shouldOpen:()=>!ea.current}),ec=(0,S.i)(V,{enabled:!et}).reference,ef=L.useState("triggerProps",W),ep=W||"none"!==er;return(0,c.o)("button",e,{state:{open:B},ref:[t,G,Z],props:[ed,ec,ep?ef:void 0,{onMouseOver(e){(e=>{let t,n=ea.current,r=C(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,$.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(C(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",z),z&&!L.select("open")&&L.cancelPendingOpen(e.nativeEvent)},onClick(e){z&&!L.select("open")&&L.cancelPendingOpen(e.nativeEvent)},id:F,"data-trigger-disabled":et?"":void 0,[D]: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:()=>R});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 m(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 h=n(23416),g=n(14926),v=n(67566),y=n(55443),b=n(2713),k=n(80254),x=n(57769),w=n(95898),S=n(74052),$=n(26642);n(56742);var _=n(34023),E=new WeakMap;class D{continuePropagation(){m(this,E,!1)}get shouldStopPropagation(){var e;return e=f(this,E,"get"),e.get?e.get.call(this):e.value}constructor(e,t,n,r){var i;(0,p._)(this,E,{writable:!0,value:void 0}),m(this,E,!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 C=Symbol("linkClicked"),I="react-aria-pressable-style",P="data-react-aria-pressable";function R(e){let{onPress:t,onPressChange:n,onPressStart:o,onPressEnd:f,onPressUp:p,onClick:m,isDisabled:E,isPressed:R,preventFocusOnPress:O,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,h.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)(),G=(0,_.useCallback)((e,t)=>{let r=V.current;if(E||r.didFirePressStart)return!1;let i=!0;if(r.isTriggeringEvent=!0,o){let n=new D("pressstart",t,e);o(n),i=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,B(!0),i},[E,o,n]),W=(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 D("pressend",r,e);f(t),o=t.shouldStopPropagation}if(n&&n(!1),B(!1),t&&i&&!E){let n=new D("press",r,e);t(n),o&&(o=n.shouldStopPropagation)}return a.isTriggeringEvent=!1,o},[E,f,n,t]),H=(0,y.J)(W),J=(0,_.useCallback)((e,t)=>{let n=V.current;if(E)return!1;if(p){n.isTriggeringEvent=!0;let r=new D("pressup",t,e);return p(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[E,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&&W(z(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,W]),Q=(0,y.J)(X),ee=(0,_.useCallback)(e=>{N&&X(e)},[N,X]),et=(0,_.useCallback)(e=>{E||null==m||m(e)},[E,m]),en=(0,_.useCallback)((e,t)=>{if(!E&&m){let n=new MouseEvent("click",e);(0,r.o1)(n,t),m((0,r.eg)(n))}},[E,m]),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,w.c)(n=>{t&&j(n,t)&&!n.repeat&&(0,k.sD)(t,(0,k.wt)(n))&&e.target&&Y(z(e.target,n),"keyboard")},t=>{var n,r,i;if(e.isPressed&&e.target&&j(t,e.target)){A((0,k.wt)(t),t.key)&&t.preventDefault();let n=(0,k.wt)(t),i=(0,k.sD)(e.target,(0,k.wt)(t));H(z(e.target,t),"keyboard",i),i&&er(t,e.target),K(),"Enter"!==t.key&&T(e.target)&&(0,k.sD)(e.target,n)&&!t[C]&&(t[C]=!0,(0,x.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,k.sD)(e.target,(0,k.wt)(t))&&null!=e.pointerType){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?Q(t):((0,S.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(j(t.nativeEvent,t.currentTarget)&&(0,k.sD)(t.currentTarget,(0,k.wt)(t.nativeEvent))){var n;A((0,k.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=G(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,k.sD)(t.currentTarget,(0,k.wt)(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!x.Fe.isOpening){let n=!0;if(E&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,$.Y)(t.nativeEvent))){let e=G(t,"virtual"),r=J(t,"virtual"),i=W(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(z(t.currentTarget,t),r),a=W(z(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,k.sD)(t.currentTarget,(0,k.wt)(t.nativeEvent)))return;if((0,$.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=G(t,e.pointerType);let r=(0,k.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,k.sD)(t.currentTarget,(0,k.wt)(t.nativeEvent))&&0===t.button){if(O){let n=(0,r.LE)(t.target);n&&e.disposables.push(n)}
16t.stopPropagation()}},t.onPointerUp=t=>{(0,k.sD)(t.currentTarget,(0,k.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,G(z(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,W(z(e.target,t),e.pointerType,!1),ee(t))},t.onDragStart=e=>{(0,k.sD)(e.currentTarget,(0,k.wt)(e.nativeEvent))&&X(e)}),t},[E,O,K,M,X,ee,W,G,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  [${P}] {
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:R||U,pressProps:(0,h.v)(F,el,{[P]:!0})}}function T(e){return"A"===e.tagName&&e.hasAttribute("href")}function j(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&&T(t))&&"Enter"!==n)}function z(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 A(e,t){return e instanceof HTMLInputElement?!N(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!T(e))}let O=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:O.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)}},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=>{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,"|")}`;
22case"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,...m}=e,{id:h,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:{...m,id:h,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(h),()=>{y(e=>e===h?void 0:e)}},[l,h,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)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let s of n(a))r.call(i,s)||void 0===s||e(i,s,{get:()=>a[s],enumerable:!(o=t(a,s))||o.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:()=>k});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,m=[];
22if(p){let e=f(),r=s.B.getGlobalDictionaryForPackage("@react-stately/datepicker")||c,p=new(0,l.J)(e,r),h=new(0,a.p)(e,g({},i)),v=h.resolvedOptions().timeZone;u&&null!=t&&m.push(p.format("rangeUnderflow",{minValue:h.format(t.toDate(v))})),o&&null!=n&&m.push(p.format("rangeOverflow",{maxValue:h.format(n.toDate(v))})),d&&m.push(p.format("unavailableDate"))}return{isInvalid:p,validationErrors:m,validationDetails:{badInput:d,customError:!1,patternMismatch:!1,rangeOverflow:o,rangeUnderflow:u,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!p}}}let m={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},h={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?h:m,...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 k(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,m]=(0,b.P)(e.value,e.defaultValue||null,e.onChange),[h]=(0,d.useState)(l),[k,w]=(0,d.useState)(()=>l||{start:null,end:null});null==l&&k.start&&k.end&&w(k={start:null,end:null});let S=l||k,$=e=>{w(S=e||{start:null,end:null}),x(S)?m(S):m(null)},[_,E]=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==S?void 0:S.start)||(null==S?void 0:S.end)||e.placeholderValue||null,e.granularity),D="hour"===_||"minute"===_||"second"===_,C=null==(r=e.shouldCloseOnSelect)||r,[I,P]=(0,d.useState)(null),[R,T]=(0,d.useState)(null);S&&x(S)&&(I=S,"hour"in S.start&&(R=S));let j=(e,t)=>{$({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)}),P(null),T(null),B.commitValidation()},z=t=>{let n="function"==typeof C?C():C;D?x(t)&&(n||(null==R?void 0:R.start)&&(null==R?void 0:R.end))?j(t,{start:(null==R?void 0:R.start)||v(e.placeholderValue),end:(null==R?void 0:R.end)||v(e.placeholderValue)}):P(t):x(t)?($(t),B.commitValidation()):P(t),n&&o.setOpen(!1)},A=e=>{x(I)&&x(e)?j(I,e):T(e)},O=(null==S||null==(t=S.start)?void 0:t.calendar.identifier)==="gregory"&&"BC"===S.start.era||(null==S||null==(n=S.end)?void 0:n.calendar.identifier)==="gregory"&&"BC"===S.end.era,N=(0,d.useMemo)(()=>({granularity:_,timeZone:E,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:O}),[_,e.hourCycle,e.shouldForceLeadingZeros,E,e.hideTimeZone,O]),{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),m=(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;m=(0,u.cX)(m,{isInvalid:!0,validationErrors:[e.getStringForLocale("rangeReversed",f())],validationDetails:{...u.oE,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return m})(S,M,L,F,N),[S,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?"invali
22d":null);return{...B,value:S,defaultValue:null!=(i=e.defaultValue)?i:h,setValue:$,dateRange:I,timeRange:R,granularity:_,hasTime:D,setDate(e,t){var n,r;"start"===e?z({start:t,end:null!=(n=null==I?void 0:I.end)?n:null}):z({start:null!=(r=null==I?void 0:I.start)?r:null,end:t})},setTime(e,t){var n,r;"start"===e?A({start:t,end:null!=(n=null==R?void 0:R.end)?n:null}):A({start:null!=(r=null==R?void 0:R.start)?r:null,end:t})},setDateTime(e,t){var n,r;"start"===e?$({start:t,end:null!=(n=null==S?void 0:S.end)?n:null}):$({start:null!=(r=null==S?void 0:S.start)?r:null,end:t})},setDateRange:z,setTimeRange:A,...o,setOpen(t){!t&&!((null==S?void 0:S.start)&&(null==S?void 0:S.end))&&x(I)&&D&&j(I,{start:(null==R?void 0:R.start)||v(e.placeholderValue),end:(null==R?void 0:R.end)||v(e.placeholderValue)}),o.setOpen(t)},validationState:Z,isInvalid:V,formatValue(t,n){let r;if(!S||!S.start||!S.end)return null;let i="timeZone"in S.start?S.start.timeZone:void 0,o=e.granularity||(S.start&&"minute"in S.start?"minute":"day"),s="timeZone"in S.end?S.end.timeZone:void 0,l=e.granularity||(S.end&&"minute"in S.end?"minute":"day"),u=g(n,{granularity:o,timeZone:i,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:"gregory"===S.start.calendar.identifier&&"BC"===S.start.era||"gregory"===S.end.calendar.identifier&&"BC"===S.end.era}),d=S.start.toDate(i||"UTC"),c=S.end.toDate(s||"UTC"),f=new(0,a.p)(t,u);if(i===s&&o===l&&0!==S.start.compare(S.end)){try{let e=f.formatRangeToParts(d,c),t=-1;for(let n=0;n<e.length;n++){let r=e[n];if("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 x(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))}},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),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};u.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(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 h(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}}},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:m,ariaLabelledBy:h}=r.OX.get(t),g=(0,o.b)({"aria-label":[m,p].filter(Boolean).join(", "),"aria-labelledby":h}),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]),k=(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:k}}}
22,43502:(e,t,n)=>{"use strict";n.d(t,{bL:()=>h});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),m=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 m.displayName=`Primitive.${t}`,{...e,[t]:m}},{}),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"}),m=r.forwardRef((e,t)=>(0,o.jsx)(f.span,{...e,ref:t,style:{...p,...e.style}}));m.displayName="VisuallyHidden";var h=m},44047:(e,t,n)=>{"use strict";n.d(t,{b:()=>$});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),m=n(28655),h=n(54302),g=n(62165),v=n(79342),y=n(66431),b=n(69045),k=n(8551),x=n(78337),w=n(13327);let S={...c.jL,...f.dc,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},$=r.forwardRef(function(e,t){let{render:n,className:c,id:f,disabled:$=!1,nativeButton:_=!0,style:E,...D}=e,{setTouched:C,setFocused:I,validationMode:P,state:R,disabled:T}=(0,u.V$)(),{labelId:j}=(0,d.H)(),{store:z,setOpen:A,selectionRef:O,validation:N,readOnly:M,required:L,alignItemWithTriggerActiveRef:F,disabled:U}=(0,l.l)(),B=T||U||$,V=(0,s.P)(z,m.T.open),Z=(0,s.P)(z,m.T.mounted),K=(0,s.P)(z,m.T.value),q=(0,s.P)(z,m.T.triggerProps),G=(0,s.P)(z,m.T.positionerElement),W=(0,s.P)(z,m.T.listElement),H=(0,s.P)(z,m.T.popupSide),J=(0,s.P)(z,m.T.id),Y=(0,s.P)(z,m.T.labelId),X=(0,s.P)(z,m.T.hasSelectedValue),Q=Z&&G?H:null,ee=f??J;(0,w.l)({id:ee});let et=(0,o.u)(G),en=r.useRef(null),{getButtonProps:er,buttonRef:ei}=(0,b.s)({disabled:B,native:_}),ea=z.useStateSetter("triggerElement"),eo=(0,a.Z)(),es=(0,a.Z)(),el=(0,a.Z)();r.useEffect(()=>{if(V)return el.start(400,()=>{O.current.allowUnselectedMouseUp=!0,O.current.allowSelectedMouseUp=!0}),()=>{el.clear()};O.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},es.clear()},[V,O,es,el]);let eu=(0,y.v6)(q,{id:ee,role:"combobox","aria-expanded":V,"aria-haspopup":"listbox","aria-controls":V?W?.id??(0,g.nd)(G)?.id:void 0,"aria-labelledby":j??Y,"aria-readonly":M||void 0,"aria-required":L||void 0,tabIndex:B?-1:0,onFocus(e){I(!0),V&&F.current&&A(!1,(0,k.d)(x.dv,e.nativeEvent)),eo.start(0,()=>{z.set("forceMount",!0)})},onBlur(e){(0,v.gR)(G,e.relatedTarget)||(C(!0),I(!1),"onBlur"===P&&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,h.U)(e,en.current)||A(!1,(0,k.d)(x.LO,e))}es.start(0,()=>{t.addEventListener("mouseup",n,{once:!0})})}},D,er),ed=N.getValidationProps(B,eu);ed.role="combobox";let ec={...R,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:S,props:ed})})},44085:(e,t,n)=>{"use strict";let r;n.d(t,{BA:()=>P,Bd:()=>l,JN:()=>c,KT:()=>g,Kw:()=>B,LR:()=>z,N5:()=>D,Qn:()=>a,Tz:()=>T,VB:()=>G,dp:()=>ei,gY:()=>j,kE:()=>Y,kz:()=>O,nQ:()=>U,pE:()=>X,u4:()=>R,vF:()=>s,wT:()=>h,xm:()=>f});var i=n(68661);let a="react",o="[Builder.io]: ",s={log:(...e)=>console.log(o,...e),error:(...e)=>console.error(o,...e),warn:(...e)=>console.warn(o,...e),debug:(...e)=>console.debug(o,...e)};function l(){return"u">typeof window&&"u">typeof document}let u=e=>{let t;return e instanceof URLSearchParams?(t={},e.forEach((e,n)=>{t[n]=e}),t):e},d=e=>"string"==typeof e?e:e instanceof URLSearchParams?e.toString():new URLSearchParams(e).toString();function c(e){return l()&&window.self!==window.top&&-1!==d(e||window.location.search).indexOf("builder.frameEditing=")}let f=()=>{let e="object"==typeof navigator&&navigator.userAgent||"",t={Android:()=>e.match(/Android/i),BlackBerry:()=>e.match(/BlackBerry/i),iOS:()=>e.match(/iPhone|iPod/i),Opera:()=>e.match(/Opera Mini/i),Windows:()=>e.match(/IEMobile/i)||e.match(/WPDesktop/i),any:()=>t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||"reactNative"===a},n=e.match(/Tablet|iPad/i),r=(()=>
22{if(!l())return console.warn("Cannot get location for tracking in non-browser environment"),null;{let e=new URL(location.href);return""===e.pathname&&(e.pathname="/"),e}})();return{urlPath:null==r?void 0:r.pathname,host:(null==r?void 0:r.host)||(null==r?void 0:r.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},p="5.1.1",m=()=>({"X-Builder-SDK":a,"X-Builder-SDK-GEN":"2","X-Builder-SDK-Version":p}),h=e=>null!=e,g=({name:e,canTrack:t})=>{var n;try{return t?null==(n=document.cookie.split("; ").find(t=>t.startsWith(`${e}=`)))?void 0:n.split("=")[1]:void 0}catch(e){s.warn("[COOKIE] GET error: ",(null==e?void 0:e.message)||e);return}},v=async e=>g(e),y=[["secure",""],["SameSite","None"]],b=async({name:e,value:t,expires:n,canTrack:r})=>{try{if(!r)return;let i=(({name:e,value:t,expires:n})=>{let r=l()&&"https:"!==location.protocol?[[]]:y;return[[e,t],...n?[["expires",n.toUTCString()]]:[[]],["path","/"],["domain",(e=>{if("localhost"===e||"127.0.0.1"===e)return e;let t=e.split(".");return t.length>2?t.slice(1).join("."):e})(window.location.hostname)],...r].map(([e,t])=>t?`${e}=${t}`:e).filter(h).join("; ")})({name:e,value:t,expires:n});document.cookie=i}catch(e){s.warn("[COOKIE] SET error: ",(null==e?void 0:e.message)||e)}};function k(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}).replace(/-/g,"")}let x="builderSessionId",w=async({canTrack:e})=>{if(!e)return;let t=await v({name:x,canTrack:e});if(h(t))return t;{let t=S();return $({id:t,canTrack:e}),t}},S=()=>k(),$=({id:e,canTrack:t})=>b({name:x,value:e,canTrack:t}),_=()=>l()&&"u">typeof localStorage?localStorage:void 0,E="builderVisitorId";function D(e){var t;void 0!==i&&null!=(t=i.env)&&t.DEBUG&&"true"==String(i.env.DEBUG)&&s.log(e)}let C=async({canTrack:e})=>e?{sessionId:await w({canTrack:e}),visitorId:(({canTrack:e})=>{if(!e)return;let t=(({key:e,canTrack:t})=>{var n;try{return t?null==(n=_())?void 0:n.getItem(e):void 0}catch(e){console.debug("[LocalStorage] GET error: ",e);return}})({key:E,canTrack:e});if(h(t))return t;{let t=k();return(({id:e,canTrack:t})=>(({key:e,canTrack:t,value:n})=>{var r;try{t&&(null==(r=_())||r.setItem(e,n))}catch(e){console.debug("[LocalStorage] SET error: ",e)}})({key:E,value:e,canTrack:t}))({id:t,canTrack:e}),t}})({canTrack:e})}:{visitorId:void 0,sessionId:void 0},I=async({type:e,canTrack:t,apiKey:n,metadata:r,...i})=>({type:e,data:{...i,metadata:{url:location.href,...r},...await C({canTrack:t}),userAttributes:f(),ownerId:n}});async function P({apiHost:e,...t}){if(!t.apiKey)return void s.error("Missing API key for track call. Please provide your API key.");if(!t.canTrack||c()||!(l()||"reactNative"===a))return;let n=`${e||"https://cdn.builder.io"}/api/v1/track`;return D(n),fetch(n,{method:"POST",body:JSON.stringify({events:[await I(t)]}),headers:{"content-type":"application/json",...m()},mode:"cors"}).catch(e=>{console.error("Failed to track: ",e)})}let R=e=>P({...e,canTrack:!0});function T(e){let t=e||(l()?window.location.search:void 0);return!!t&&-1!==d(t).indexOf("builder.preview=")}let j=e=>({type:"builder.registerComponent",data:z(e)});function z(e){return JSON.parse(JSON.stringify(e,(e,t)=>{let n,r;return"function"==typeof t?(n=t.toString().trim(),r=/^[a-zA-Z0-9_]+\s*=>/i.test(n),`return (${!n.startsWith("function")&&!n.startsWith("async")&&!n.startsWith("(")&&!r?"function ":""}${n}).apply(this, arguments)`):t}))}let A={};function O(e,t){"plugin"===e&&(t=z(t));let n=A[e];if(n||(n=A[e]=[]),n.push(t),l()){let n={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(n,"*"),parent!==window&&window.postMessage(n,"*")}catch(e){console.debug("Could not postmessage",e)}}}let N="builder.",M=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"];function L(e,t){if(!t.origin.startsWith("http")&&!t.origin.startsWith("https"))return!1;let n=new URL(t.origin).hostname;return(e||M).findIndex(e=>e.startsWith("*.")?n.endsWith(e.slice(1)):e===n)>-1}let F=!1,U=e=>{var t,n;F||(F=!0,l()&&(null==(t=window.parent)||t.postMessage({type:"builder.sdkInfo",data:{target:a,version:p,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0,modelName:e.modelName,apiKey:e.apiKey,supportsXSmallBreakpoint:!0,blockLevelPersonalization:!0}},"*"),null==(n=window.parent)||n.postMessage({type:"builder.updateContent",data:{options:e}},"*"),window.addEventListener("message",t=>{var n,r;if(!L(e.trustedHosts,t))return;let{data:i}=t;if(null!=i&&i.type&&"builder.evaluate"===i.type){let e=i.data.text,t=i.data.arguments||[],a=i.data.id,o=Function(e),s,l=null;try{s=o.apply(null,t)}catch(e){l=e}l?null==(n=window.parent)||n.postMessage({type:"builder.evaluateError",data:{id:a,error:l.message}},"*"):s&&"function"==typeof s.then?s.then(e=>{var t;null==(t=window.parent)||t.postMessage({type:"builder.evaluateResult",data:{id:a,result:e}},"*")}).catch(console.error):null==(r=window.parent)||r.postMessage({type:"builder.evaluateResult",data:{result:s,id:a}},"*")}}
22)))},B=({model:e,trustedHosts:t,callbacks:n})=>r=>{if(!L(t,r))return;let{data:i}=r;if(i)switch(i.type){case"builder.configureSdk":n.configureSdk(i.data);break;case"builder.triggerAnimation":n.animation(i.data);break;case"builder.resetState":{let t=i.data,r=t.model,a=null==t?void 0:t.state,o=t.editType;r===e&&a&&n.stateUpdate(a,o);break}case"builder.contentUpdate":{let t=i.data,r=t.key||t.alias||t.entry||t.modelName,a=t.data,o=t.editType;r===e&&n.contentUpdate(a,o)}}},V=e=>`builder.tests.${e}`,Z=e=>h(e.id)&&h(e.variations)&&Object.keys(e.variations).length>0,K=e=>{let t=(({id:e,variations:t})=>{var n;let r=0,i=Math.random();for(let e in t)if(i<(r+=null==(n=t[e])?void 0:n.testRatio))return e;return e})(e);return(({contentId:e,value:t})=>b({name:V(e),value:t,canTrack:!0}))({contentId:e.id,value:t}).catch(e=>{s.error("could not store A/B test variation: ",e)}),t},q=({item:e,testGroupId:t})=>{let n=e.variations[t];return t!==e.id&&n?{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}:{testVariationId:e.id,testVariationName:"Default"}},G=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!Z(e))return e;let n=(({contentId:e})=>g({name:V(e),canTrack:!0}))({contentId:e.id})||K({variations:e.variations,id:e.id}),r=q({item:e,testGroupId:n});return{...e,...r}},W=async({item:e,canTrack:t})=>{if(!t||!Z(e))return e;let n=await (({contentId:e})=>v({name:V(e),canTrack:!0}))({contentId:e.id})||K({variations:e.variations,id:e.id}),r=q({item:e,testGroupId:n});return{...e,...r}},H="builder.userAttributes";function J(){let e=!0,t=new Set;return{setUserAttributes(n){if(!l())return;let r={...this.getUserAttributes(),...n};b({name:H,value:JSON.stringify(r),canTrack:e}),t.forEach(e=>e(r))},getUserAttributes:()=>l()?JSON.parse(g({name:H,canTrack:e})||"{}"):{},subscribeOnUserAttributesChange(e,{fireImmediately:n}={}){return t.add(e),n&&e(this.getUserAttributes()),function(){t.delete(e)}},setCanTrack(t){e=t}}}l()&&"qwik"===a?(window.__BUILDER_USER_ATTRIBUTES_SERVICE__||(window.__BUILDER_USER_ATTRIBUTES_SERVICE__=J()),r=window.__BUILDER_USER_ATTRIBUTES_SERVICE__):r=J();let Y=r,X=e=>{let t=!h(e)||e;return Y.setCanTrack(t),t},Q=function(){let e=("u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:globalThis).fetch;if(void 0===e)throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project. 
23      For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),Error("Builder SDK could not find a global `fetch` function");return e}();function ee(e,t=null,n="."){return Object.keys(e).reduce((r,i)=>{let a=e[i],o=[t,i].filter(Boolean).join(n);return["object"==typeof a,null!==a,!(Array.isArray(a)&&0===a.length)].every(Boolean)?{...r,...ee(a,o,n)}:{...r,[o]:a}},{})}let et=e=>"number"==typeof e&&!isNaN(e)&&e>=0,en=e=>{let{limit:t=30,userAttributes:n,query:r,model:i,apiKey:a,enrich:o,locale:s,apiVersion:d="v3",fields:c,omit:f,offset:p,cacheSeconds:m,staleCacheSeconds:h,sort:g,includeUnpublished:v,apiHost:y}=e;if(!a)throw Error("Missing API key");if(!["v3"].includes(d))throw Error(`Invalid apiVersion: expected 'v3', received '${d}'`);let b=new URL(`${y||"https://cdn.builder.io"}/api/${d}/content/${i}`);b.searchParams.set("apiKey",a),b.searchParams.set("limit",String(t)),b.searchParams.set("noTraverse",String(1!==t)),b.searchParams.set("includeRefs",String(!0)),s&&b.searchParams.set("locale",s);let k=n||{};if(o&&b.searchParams.set("enrich",String(o)),b.searchParams.set("omit",null!=f?f:"meta.componentsUsed"),c&&b.searchParams.set("fields",c),Number.isFinite(p)&&p>-1&&b.searchParams.set("offset",String(Math.floor(p))),"boolean"==typeof v&&b.searchParams.set("includeUnpublished",String(v)),m&&et(m)&&b.searchParams.set("cacheSeconds",String(m)),h&&et(h)&&b.searchParams.set("staleCacheSeconds",String(h)),g){let e=ee({sort:g});for(let t in e)b.searchParams.set(t,JSON.stringify(e[t]))}let x={...(()=>{if(!l())return{};var e=new URLSearchParams(window.location.search);if(!e)return{};let t=u(e),n={};
23return Object.keys(t).forEach(e=>{e.startsWith(N)&&(n[e.replace(N,"").replace("options.","")]=t[e])}),n})(),...u(e.options||{})};k={...k,...er(x)};let w=ee(x);for(let e in w)b.searchParams.set(e,String(w[e]));if(Object.keys(k).length>0&&b.searchParams.set("userAttributes",JSON.stringify(k)),r){let e=function e(t,n,r={}){for(let i in t){let a=t[i],o=n?n+"."+i:i;!a||"object"!=typeof a||Array.isArray(a)||Object.keys(a).find(e=>e.startsWith("$"))?r[o]=a:e(a,o,r)}return r}({query:r});for(let t in e)b.searchParams.set(t,JSON.stringify(e[t]))}return b},er=e=>{if(l()&&"BUILDER_STUDIO"===e.preview){e["userAttributes.urlPath"]=window.location.pathname,e["userAttributes.host"]=window.location.host;let{userAttributes:t}=function(e){let t={};for(let n in e){let r=n.split("."),i=t;for(let t=0;t<r.length;t++){let a=r[t];t===r.length-1?i[a]=e[n]:(i[a]=i[a]||{},i=i[a])}}return t}((e=>{let t={};for(let n in e)n.startsWith("userAttributes.")&&(t[n]=e[n],delete e[n]);return t})(e));return t}return{}};async function ei(e){var t;let n=e.locale||(null==(t=e.userAttributes)?void 0:t.locale);n&&(e.locale=n,e.userAttributes={locale:n,...e.userAttributes});let r=await es({...e,limit:1});return r&&r[0]||null}let ea=async e=>{var t,n;let r=en(e),i=null!=(t=e.fetch)?t:Q,a={...e.fetchOptions,headers:{...null==(n=e.fetchOptions)?void 0:n.headers,...m()}};return await (await i(r.href,a)).json()},eo=async(e,t,n=en(e))=>{let r=X(e.canTrack);if(n.search.includes("preview="),!r||!(l()||"reactNative"===a))return t.results;try{let e=[];for(let n of t.results)e.push(await W({item:n,canTrack:r}));t.results=e}catch(e){s.error("Could not process A/B tests. ",e)}return t.results};async function es(e){let t=en(e),n=await ea(e);if(!("results"in n))throw s.error("Error fetching data. ",{url:t,content:n,options:e}),n;return eo(e,n)}},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),m=n(79141),h=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:k,disabled:x=!1,nativeButton:w=!1,...S}=e,$=r.useRef(null),_=(0,s.q)({guess:!0,label:k,textRef:$}),{store:E,itemProps:D,setOpen:C,setValue:I,selectionRef:P,typingRef:R,valuesRef:T,multiple:j,selectedItemTextRef:z,disabled:A,readOnly:O}=(0,o.l)(),N=A||x,M=(0,a.P)(E,d.T.isActive,_.index),L=(0,a.P)(E,d.T.open),F=(0,a.P)(E,d.T.isSelected,b),U=(0,a.P)(E,d.T.isSelectedByFocus,_.index),B=(0,a.P)(E,d.T.isItemEqualToValue),V=_.index,Z=r.useRef(null);(0,i.g)(()=>{let e=T.current;return e[V]=b,()=>{delete e[V]}},[V,b,T]),(0,i.g)(()=>{let e=E.state.value,t=e;j&&Array.isArray(e)&&(t=e.length>0?e[e.length-1]:void 0),void 0!==t&&(0,m.tl)(b,t,B)&&(E.set("selectedIndex",V),$.current&&(z.current=$.current))},[V,j,B,E,b,z]);let K=r.useRef("mouse"),q=r.useRef(!1),{getButtonProps:G,buttonRef:W}=(0,c.s)({disabled:N,focusableWhenDisabled:!0,native:w,composite:!0});function H(){P.current.dragY=0}let J=(0,l.o)("div",e,{ref:[W,t,_.ref,Z],state:{disabled:N,selected:F,highlighted:M},props:[D,{role:"option","aria-selected":F,tabIndex:L&&M?0:-1,onKeyDown(e){E.set("activeIndex",V)," "===e.key&&R.current&&e.preventDefault()},onClick(e){let t="touch"!==K.current,n=e.nativeEvent.pointerType,r=t&&(0,h.YF)(e.nativeEvent)&&(void 0!==n||M),i=t&&!r&&!q.current;q.current=!1,N||i||function(e){if(A||O)return;let t=E.state.value;if(j){let n=Array.isArray(t)?t:[];I(F?(0,m.Ai)(n,b,B):[...n,b],(0,f.d)(p.Bo,e))}else I(b,(0,f.d)(p.Bo,e)),C(!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=P.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=!P.current.allowSelectedMouseUp&&F,t=!P.current.allowUnselectedMouseUp&&!F;e||t||(q.current=!0,Z.current?.click(),q.current=!1)}},S,G]}),Y=r.useMemo(()=>({selected:F,index:V,textRef:$,selectedByFocus:U}),[F,V,$,U]);return(0,g.jsx)(u.Provider,{value:Y,children:J})}))},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});
23var 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),m=n(99901),h=n(95598),g=n(78406);let v=r.forwardRef(function(e,t){let{render:n,className:v,id:y,label:b,nativeButton:k=!1,disabled:x=!1,closeOnClick:w=!0,style:S,...$}=e,_=(0,h.q)({guess:!0,label:b}),E=(0,g.O)(!0),D=(0,m.e)(y),{store:C}=(0,f.Y)(),I=C.useState("disabled"),P=x||I,R=C.useState("isActive",_.index),T=C.useState("itemProps"),{getItemProps:j,itemRef:z}=function(e){let{closeOnClick:t,disabled:n,highlighted:c,id:f,store:p,typingRef:m=p.context.typingRef,nativeButton:h,itemMetadata:g,nodeId:v}=e,y=r.useRef(null),{getButtonProps:b,buttonRef:k}=(0,a.s)({disabled:n,focusableWhenDisabled:!0,native:h,composite:!0}),x=function(e){let{closeOnClick:t,highlighted:n,id:i,nodeId:a,store:o,typingRef:c,itemRef:f,itemMetadata:p}=e,{events:m}=o.useState("floatingTreeRoot"),h=o.useState("open"),g=(0,u.v)(!0),v=void 0!==g;return r.useMemo(()=>({id:i,role:"menuitem",tabIndex:h&&n?0:-1,onKeyDown(e){" "===e.key&&c?.current&&e.preventDefault()},onMouseMove(e){a&&m.emit("itemhover",{nodeId:a,target:e.currentTarget})},onClick(e){t&&m.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,m,a,h,o,c,f,g,v,p])}({closeOnClick:t,highlighted:c,id:f,nodeId:v,store:p,typingRef:m,itemRef:y,itemMetadata:g}),w=r.useCallback(e=>(0,o.v6)(x,{onMouseEnter(){"submenu-trigger"===g.type&&g.setActive()}},e,b),[x,b,g]),S=(0,i.a)(y,k);return r.useMemo(()=>({getItemProps:w,itemRef:S}),[w,S])}({closeOnClick:w,disabled:P,highlighted:R,id:D,store:C,nativeButton:k,nodeId:E?.context.nodeId,itemMetadata:c});return(0,p.o)("div",e,{state:{disabled:P,highlighted:R},props:[T,$,j],ref:[z,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)(()=>{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:m,multiple:h}=(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.
23id),k={id:`${b}-list`,role:"listbox","aria-multiselectable":h||void 0,onScroll(e){m.current?.(e.currentTarget)},...g&&{style:u.O},className:v&&"touch"!==y?l.E.className:void 0},x=p.useStateSetter("listElement");return(0,s.o)("div",e,{ref:[t,x],props:[k,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:()=>ew,ZodBase64URL:()=>e$,ZodBigInt:()=>eK,ZodBigIntFormat:()=>eG,ZodBoolean:()=>eV,ZodCIDRv4:()=>ey,ZodCIDRv6:()=>ek,ZodCUID:()=>en,ZodCUID2:()=>ei,ZodCatch:()=>tY,ZodCodec:()=>t3,ZodCustom:()=>na,ZodCustomStringFormat:()=>eP,ZodDate:()=>te,ZodDefault:()=>tV,ZodDiscriminatedUnion:()=>tp,ZodE164:()=>eE,ZodEmail:()=>F,ZodEmoji:()=>X,ZodEnum:()=>tD,ZodError:()=>x,ZodExactOptional:()=>tM,ZodFile:()=>tT,ZodFirstPartyTypeKind:()=>r,ZodFunction:()=>nr,ZodGUID:()=>B,ZodIPv4:()=>ef,ZodIPv6:()=>eg,ZodISODate:()=>p,ZodISODateTime:()=>c,ZodISODuration:()=>v,ZodISOTime:()=>h,ZodIntersection:()=>th,ZodIssueCode:()=>ng,ZodJWT:()=>eC,ZodKSUID:()=>ed,ZodLazy:()=>t8,ZodLiteral:()=>tP,ZodMAC:()=>em,ZodMap:()=>tS,ZodNaN:()=>tQ,ZodNanoID:()=>ee,ZodNever:()=>e9,ZodNonOptional:()=>tG,ZodNull:()=>e0,ZodNullable:()=>tF,ZodNumber:()=>eA,ZodNumberFormat:()=>eN,ZodObject:()=>ta,ZodOptional:()=>tO,ZodPipe:()=>t1,ZodPrefault:()=>tK,ZodPromise:()=>nt,ZodReadonly:()=>t2,ZodRealError:()=>w,ZodRecord:()=>tb,ZodSet:()=>t_,ZodString:()=>N,ZodStringFormat:()=>L,ZodSuccess:()=>tH,ZodSymbol:()=>eJ,ZodTemplateLiteral:()=>t5,ZodTransform:()=>tz,ZodTuple:()=>tv,ZodType:()=>A,ZodULID:()=>eo,ZodURL:()=>H,ZodUUID:()=>Z,ZodUndefined:()=>eX,ZodUnion:()=>tu,ZodUnknown:()=>e6,ZodVoid:()=>e7,ZodXID:()=>el,ZodXor:()=>tc,_ZodString:()=>O,_default:()=>tZ,_function:()=>ni,any:()=>e3,array:()=>tr,base64:()=>eS,base64url:()=>e_,bigint:()=>eq,boolean:()=>eZ,catch:()=>tX,check:()=>no,cidrv4:()=>eb,cidrv6:()=>ex,clone:()=>l.clone,codec:()=>t6,coerce:()=>s,config:()=>l.config,core:()=>l,cuid:()=>er,cuid2:()=>ea,custom:()=>ns,date:()=>tt,decode:()=>C,decodeAsync:()=>P,describe:()=>nd,discriminatedUnion:()=>tm,e164:()=>eD,email:()=>U,emoji:()=>Q,encode:()=>D,encodeAsync:()=>I,endsWith:()=>l._endsWith,enum:()=>tC,exactOptional:()=>tL,file:()=>tj,flattenError:()=>l.flattenError,float32:()=>eL,float64:()=>eF,formatError:()=>l.formatError,fromJSONSchema:()=>nS,function:()=>ni,getErrorMap:()=>ny,globalRegistry:()=>l.globalRegistry,gt:()=>l._gt,gte:()=>l._gte,guid:()=>V,hash:()=>ez,hex:()=>ej,hostname:()=>eT,httpUrl:()=>Y,includes:()=>l._includes,instanceof:()=>nf,int:()=>eM,int32:()=>eU,int64:()=>eW,intersection:()=>tg,ipv4:()=>ep,ipv6:()=>ev,iso:()=>a,json:()=>nm,jwt:()=>eI,keyof:()=>ti,ksuid:()=>ec,lazy:()=>ne,length:()=>l._length,literal:()=>tR,locales:()=>n$,looseObject:()=>tl,looseRecord:()=>tw,lowercase:()=>l._lowercase,lt:()=>l._lt,lte:()=>l._lte,mac:()=>eh,map:()=>t$,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:()=>tW,nonpositive:()=>l._nonpositive,normalize:()=>l._normalize,null:()=>e1,nullable:()=>tU,nullish:()=>tB,number:()=>eO,object:()=>to,optional:()=>tN,overwrite:()=>l._overwrite,parse:()=>S,parseAsync:()=>$,partialRecord:()=>tx,pipe:()=>t4,positive:()=>l._positive,prefault:()=>tq,preprocess:()=>nh,prettifyError:()=>l.prettifyError,promise:()=>nn,property:()=>l._property,readonly:()=>t9,record:()=>tk,refine:()=>nl,regex:()=>l._regex,regexes:()=>l.regexes,registry:()=>l.registry,safeDecode:()=>T,safeDecodeAsync:()=>z,safeEncode:()=>R,safeEncodeAsync:()=>j,safeParse:()=>_,safeParseAsync:()=>E,set:()=>tE,setErrorMap:()=>nv,size:()=>l._size,slugify:()=>l._slugify,startsWith:()=>l._startsWith,strictObject:()=>
23ts,string:()=>M,stringFormat:()=>eR,stringbool:()=>np,success:()=>tJ,superRefine:()=>nu,symbol:()=>eY,templateLiteral:()=>t7,toJSONSchema:()=>u.bl,toLowerCase:()=>l._toLowerCase,toUpperCase:()=>l._toUpperCase,transform:()=>tA,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:()=>G,uuidv7:()=>W,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:()=>h,date:()=>m,datetime:()=>f,duration:()=>y,time:()=>g});var o={};n.r(o),n.d(o,{ZodAny:()=>e4,ZodArray:()=>tn,ZodBase64:()=>ew,ZodBase64URL:()=>e$,ZodBigInt:()=>eK,ZodBigIntFormat:()=>eG,ZodBoolean:()=>eV,ZodCIDRv4:()=>ey,ZodCIDRv6:()=>ek,ZodCUID:()=>en,ZodCUID2:()=>ei,ZodCatch:()=>tY,ZodCodec:()=>t3,ZodCustom:()=>na,ZodCustomStringFormat:()=>eP,ZodDate:()=>te,ZodDefault:()=>tV,ZodDiscriminatedUnion:()=>tp,ZodE164:()=>eE,ZodEmail:()=>F,ZodEmoji:()=>X,ZodEnum:()=>tD,ZodExactOptional:()=>tM,ZodFile:()=>tT,ZodFunction:()=>nr,ZodGUID:()=>B,ZodIPv4:()=>ef,ZodIPv6:()=>eg,ZodIntersection:()=>th,ZodJWT:()=>eC,ZodKSUID:()=>ed,ZodLazy:()=>t8,ZodLiteral:()=>tP,ZodMAC:()=>em,ZodMap:()=>tS,ZodNaN:()=>tQ,ZodNanoID:()=>ee,ZodNever:()=>e9,ZodNonOptional:()=>tG,ZodNull:()=>e0,ZodNullable:()=>tF,ZodNumber:()=>eA,ZodNumberFormat:()=>eN,ZodObject:()=>ta,ZodOptional:()=>tO,ZodPipe:()=>t1,ZodPrefault:()=>tK,ZodPromise:()=>nt,ZodReadonly:()=>t2,ZodRecord:()=>tb,ZodSet:()=>t_,ZodString:()=>N,ZodStringFormat:()=>L,ZodSuccess:()=>tH,ZodSymbol:()=>eJ,ZodTemplateLiteral:()=>t5,ZodTransform:()=>tz,ZodTuple:()=>tv,ZodType:()=>A,ZodULID:()=>eo,ZodURL:()=>H,ZodUUID:()=>Z,ZodUndefined:()=>eX,ZodUnion:()=>tu,ZodUnknown:()=>e6,ZodVoid:()=>e7,ZodXID:()=>el,ZodXor:()=>tc,_ZodString:()=>O,_default:()=>tZ,_function:()=>ni,any:()=>e3,array:()=>tr,base64:()=>eS,base64url:()=>e_,bigint:()=>eq,boolean:()=>eZ,catch:()=>tX,check:()=>no,cidrv4:()=>eb,cidrv6:()=>ex,codec:()=>t6,cuid:()=>er,cuid2:()=>ea,custom:()=>ns,date:()=>tt,describe:()=>nd,discriminatedUnion:()=>tm,e164:()=>eD,email:()=>U,emoji:()=>Q,enum:()=>tC,exactOptional:()=>tL,file:()=>tj,float32:()=>eL,float64:()=>eF,function:()=>ni,guid:()=>V,hash:()=>ez,hex:()=>ej,hostname:()=>eT,httpUrl:()=>Y,instanceof:()=>nf,int:()=>eM,int32:()=>eU,int64:()=>eW,intersection:()=>tg,ipv4:()=>ep,ipv6:()=>ev,json:()=>nm,jwt:()=>eI,keyof:()=>ti,ksuid:()=>ec,lazy:()=>ne,literal:()=>tR,looseObject:()=>tl,looseRecord:()=>tw,mac:()=>eh,map:()=>t$,meta:()=>nc,nan:()=>t0,nanoid:()=>et,nativeEnum:()=>tI,never:()=>e5,nonoptional:()=>tW,null:()=>e1,nullable:()=>tU,nullish:()=>tB,number:()=>eO,object:()=>to,optional:()=>tN,partialRecord:()=>tx,pipe:()=>t4,prefault:()=>tq,preprocess:()=>nh,promise:()=>nn,readonly:()=>t9,record:()=>tk,refine:()=>nl,set:()=>tE,strictObject:()=>ts,string:()=>M,stringFormat:()=>eR,stringbool:()=>np,success:()=>tJ,superRefine:()=>nu,symbol:()=>eY,templateLiteral:()=>t7,transform:()=>tA,tuple:()=>ty,uint32:()=>eB,uint64:()=>eH,ulid:()=>es,undefined:()=>eQ,union:()=>td,unknown:()=>e2,url:()=>J,uuid:()=>K,uuidv4:()=>q,uuidv6:()=>G,uuidv7:()=>W,void:()=>e8,xid:()=>eu,xor:()=>tf});var s={};n.r(s),n.d(s,{bigint:()=>nC,boolean:()=>nD,date:()=>nI,number:()=>nE,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 m(e){return l._isoDate(p,e)}let h=l.$constructor("ZodISOTime",(e,t)=>{l.$ZodISOTime.init(e,t),L.init(e,t)});function g(e){return l._isoTime(h,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 k=(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}})},x=l.$constructor("ZodError",k),w=l.$constructor("ZodError",k,{Parent:Error}),S=l._parse(w),$=l._parseAsync(w),_=l._safeParse(w),E=l._safeParseAsync(w),D=l._encode(w),C=l._decode(w),I=l._encodeAsync(w),P=l._decodeAsync(w),R=l._safeEncode(w),T=l._safeDecode(w),j=l._safeEncodeAsync(w),z=l._safeDecodeAsync(w),A=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)=>S(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>_(e,t,n),e.parseAsync=async(t,n)=>$(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>E(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>D(e,t,n),e.decode=(t,n)=>C(e,t,n),e.encodeAsync=async(t,n)=>I(e,t,n),e.decodeAsync=async(t,n)=>P(e,t,n),e.safeEncode=(t,n)=>R(e,t,n),e.safeDecode=(t,n)=>T(e,t,n),e.safeEncodeAsync=async(t,n)=>j(e,t,n),e.safeDecodeAsync=async(t,n)=>z(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=>tW(e,t),e.array=()=>tr(e),e.or=t=>td([e,t]),e.and=t=>tg(e,t),e.transform=t=>t4(e,tA(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=()=>
23e.safeParse(null).success,e.apply=t=>t(e),e)),O=l.$constructor("_ZodString",(e,t)=>{l.$ZodString.init(e,t),A.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),O.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(eC,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(ew,t)),e.base64url=t=>e.check(l._base64url(e$,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(ek,t)),e.e164=t=>e.check(l._e164(eE,t)),e.datetime=t=>e.check(f(t)),e.date=t=>e.check(m(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),O.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 G(e){return l._uuidv6(Z,e)}function W(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 em=l.$constructor("ZodMAC",(e,t)=>{l.$ZodMAC.init(e,t),L.init(e,t)});function eh(e){return l._mac(em,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 ek=l.$constructor("ZodCIDRv6",(e,t)=>{l.$ZodCIDRv6.init(e,t),L.init(e,t)});function ex(e){return l._cidrv6(ek,e)}let ew=l.$constructor("ZodBase64",(e,t)=>{l.$ZodBase64.init(e,t),L.init(e,t)});function eS(e){return l._base64(ew,e)}let e$=l.$constructor("ZodBase64URL",(e,t)=>{l.$ZodBase64URL.init(e,t),L.init(e,t)});function e_(e){return l._base64url(e$,e)}let eE=l.$constructor("ZodE164",(e,t)=>{l.$ZodE164.init(e,t),L.init(e,t)});function eD(e){return l._e164(eE,e)}let eC=l.$constructor("ZodJWT",(e,t)=>{l.$ZodJWT.init(e,t),L.init(e,t)});function eI(e){return l._jwt(eC,e)}let eP=l.$constructor("ZodCustomStringFormat",(e,t)=>{l.$ZodCustomStringFormat.init(e,t),L.init(e,t)});function eR(e,t,n={}){return l._stringFormat(eP,e,t,n)}function eT(e){return l._stringFormat(eP,"hostname",l.regexes.hostname,e)}function ej(e){return l._stringFormat(eP,"hex",l.regexes.hex,e)}function ez(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(eP,r,i,t)}let eA=l.$constructor("ZodNumber",(e,t)=>{l.$ZodNumber.init(e,t),A.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 eO(e){return l._number(eA,e)}let eN=l.$constructor("ZodNumberFormat",(e,t)=>{l.$ZodNumberFormat.init(e,t),eA.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),A.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),A.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 eG=l.$constructor("ZodBigIntFormat",(e,t)=>{l.$ZodBigIntFormat.init(e,t),eK.init(e,t)});function eW(e){return l._int64(eG,e)}function eH(e){return l._uint64(eG,e)}let eJ=l.$constructor("ZodSymbol",(e,t)=>{l.$ZodSymbol.init(e,t),A.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),A.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),A.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),A.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),A.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),A.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),A.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),A.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),A.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 tC(Object.keys(e._zod.def.shape))}let ta=l.$constructor("ZodObject",(e,t)=>{l.$ZodObjectJIT.init(e,t),A.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.Ec(e,t,n,r),l.util.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>tC(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(tO,e,t[0]),e.required=(...t)=>l.util.required(tG,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),A.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 tm(e,t,n){return new tp({type:"union",options:t,discriminator:e,...l.util.normalizeParams(n)})}let th=l.$constructor("ZodIntersection",(e,t)=>{l.$ZodIntersection.init(e,t),A.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.i_(e,t,n,r)});function tg(e,t){return new th({type:"intersection",left:e,right:t})}let tv=l.$constructor("ZodTuple",(e,t)=>{l.$ZodTuple.init(e,t),A.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),A.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.GC(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});
23function tk(e,t,n){return new tb({type:"record",keyType:e,valueType:t,...l.util.normalizeParams(n)})}function tx(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 tw(e,t,n){return new tb({type:"record",keyType:e,valueType:t,mode:"loose",...l.util.normalizeParams(n)})}let tS=l.$constructor("ZodMap",(e,t)=>{l.$ZodMap.init(e,t),A.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 t$(e,t,n){return new tS({type:"map",keyType:e,valueType:t,...l.util.normalizeParams(n)})}let t_=l.$constructor("ZodSet",(e,t)=>{l.$ZodSet.init(e,t),A.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 tE(e,t){return new t_({type:"set",valueType:e,...l.util.normalizeParams(t)})}let tD=l.$constructor("ZodEnum",(e,t)=>{l.$ZodEnum.init(e,t),A.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 tD({...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 tD({...t,checks:[],...l.util.normalizeParams(r),entries:i})}});function tC(e,t){return new tD({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...l.util.normalizeParams(t)})}function tI(e,t){return new tD({type:"enum",entries:e,...l.util.normalizeParams(t)})}let tP=l.$constructor("ZodLiteral",(e,t)=>{l.$ZodLiteral.init(e,t),A.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
23(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function tR(e,t){return new tP({type:"literal",values:Array.isArray(e)?e:[e],...l.util.normalizeParams(t)})}let tT=l.$constructor("ZodFile",(e,t)=>{l.$ZodFile.init(e,t),A.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 tj(e){return l._file(tT,e)}let tz=l.$constructor("ZodTransform",(e,t)=>{l.$ZodTransform.init(e,t),A.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 tA(e){return new tz({type:"transform",transform:e})}let tO=l.$constructor("ZodOptional",(e,t)=>{l.$ZodOptional.init(e,t),A.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 tO({type:"optional",innerType:e})}let tM=l.$constructor("ZodExactOptional",(e,t)=>{l.$ZodExactOptional.init(e,t),A.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),A.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),A.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),A.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 tG=l.$constructor("ZodNonOptional",(e,t)=>{l.$ZodNonOptional.init(e,t),A.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u.cR(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function tW(e,t){return new tG({type:"nonoptional",innerType:e,...l.util.normalizeParams(t)})}let tH=l.$constructor("ZodSuccess",(e,t)=>{l.$ZodSuccess.init(e,t),A.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),A.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),A.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),A.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),A.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),A.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),A.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),A.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),A.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()
23),output:e?.output??e2()})}let na=l.$constructor("ZodCustom",(e,t)=>{l.$ZodCustom.init(e,t),A.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 nm(e){let t=ne(()=>td([M(e),eO(),eZ(),e1(),tr(t),tk(M(),t)]));return t}function nh(e,t){return t4(tA(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),nk=n(13293);let nx={...o,...i,iso:a},nw=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 nS(e,t){var n;let r;if("boolean"==typeof e)return e?nx.any():nx.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??nk.fd};return function e(t,n){if("boolean"==typeof t)return t?nx.any():nx.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 nx.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 nx.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 nx.null();if(0===e.length)return nx.never();if(1===e.length)return nx.literal(e[0]);if(e.every(e=>"string"==typeof e))return nx.enum(e);let t=e.map(e=>nx.literal(e));return t.length<2?t[0]:nx.union([t[0],t[1],...t.slice(2)])}if(void 0!==n.const)return nx.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?nx.never():1===e.length?e[0]:nx.union(e)}if(!a)return nx.any();switch(a){case"string":{let e=nx.string();if(n.format){let t=n.format;
23"email"===t?e=e.check(nx.email()):"uri"===t||"uri-reference"===t?e=e.check(nx.url()):"uuid"===t||"guid"===t?e=e.check(nx.uuid()):"date-time"===t?e=e.check(nx.iso.datetime()):"date"===t?e=e.check(nx.iso.date()):"time"===t?e=e.check(nx.iso.time()):"duration"===t?e=e.check(nx.iso.duration()):"ipv4"===t?e=e.check(nx.ipv4()):"ipv6"===t?e=e.check(nx.ipv6()):"mac"===t?e=e.check(nx.mac()):"cidr"===t?e=e.check(nx.cidrv4()):"cidr-v6"===t?e=e.check(nx.cidrv6()):"base64"===t?e=e.check(nx.base64()):"base64url"===t?e=e.check(nx.base64url()):"e164"===t?e=e.check(nx.e164()):"jwt"===t?e=e.check(nx.jwt()):"emoji"===t?e=e.check(nx.emoji()):"nanoid"===t?e=e.check(nx.nanoid()):"cuid"===t?e=e.check(nx.cuid()):"cuid2"===t?e=e.check(nx.cuid2()):"ulid"===t?e=e.check(nx.ulid()):"xid"===t?e=e.check(nx.xid()):"ksuid"===t&&(e=e.check(nx.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?nx.number().int():nx.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=nx.boolean();break;case"null":i=nx.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):nx.any();if(0===Object.keys(t).length){i=nx.record(a,o);break}let s=nx.object(t).passthrough(),l=nx.looseRecord(a,o);i=nx.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=nx.string().regex(new RegExp(t));s.push(nx.looseRecord(i,n))}let l=[];if(Object.keys(t).length>0&&l.push(nx.object(t).passthrough()),l.push(...s),0===l.length)i=nx.object({}).passthrough();else if(1===l.length)i=l[0];else{let e=nx.intersection(l[0],l[1]);for(let t=2;t<l.length;t++)e=nx.intersection(e,l[t]);i=e}break}let s=nx.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?nx.tuple(o).rest(s):nx.tuple(o),"number"==typeof n.minItems&&(i=i.check(nx.minLength(n.minItems))),"number"==typeof n.maxItems&&(i=i.check(nx.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?nx.tuple(t).rest(o):nx.tuple(t),"number"==typeof n.minItems&&(i=i.check(nx.minLength(n.minItems))),"number"==typeof n.maxItems&&(i=i.check(nx.maxLength(n.maxItems)))}else if(void 0!==a){let t=e(a,r),o=nx.array(t);"number"==typeof n.minItems&&(o=o.min(n.minItems)),"number"==typeof n.maxItems&&(o=o.max(n.maxItems)),i=o}else i=nx.array(nx.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=nx.union(a);r=i?nx.intersection(r,o):o}if(t.oneOf&&Array.isArray(t.oneOf)){let a=t.oneOf.map(t=>e(t,n)),o=nx.xor(a);r=i?nx.intersection(r,o):o}if(t.allOf&&Array.isArray(t.allOf))if(0===t.allOf.length)r=i?r:nx.any();else{let a=i?r:e(t.allOf[0],n),o=+!i;for(let r=o;r<t.allOf.length;r++)a=nx.intersection(a,e(t.allOf[r],n));r=a}!0===t.nullable&&"openapi-3.0"===n.version&&(r=nx.nullable(r)),!0===t.readOnly&&(r=nx.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))nw.has(e)||(a[e]=t[e]);return Object.keys(a).length>0&&n.registry.add(r,a),r}(e,i)}var n$=n(70457);function n_(e){return l._coercedString(N,e)}function nE(e){return l._coercedNumber(eA,e)}function nD(e){return l._coercedBoolean(eV,e)}function nC(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:()=>z});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),m=n(96161),h=n(73924),g=n(37750),v=n(21067),y=n(97869),b=n(56136),k=n(31795),x=n(8551),w=n(78337),S=n(75565),$=n(66431),_=n(56721),E=n(44619),D=n(28227),C=n(3559);let I={...D.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)=>
23e.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 P extends _.H{constructor(e){super({...{...(0,D.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 E.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 C.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 R=n(18039);let T=r.createContext(void 0);var j=n(94799);let z=(0,d.G1)(function(e){var t;let n,{children:d,open:_,onOpenChange:E,onOpenChangeComplete:D,defaultOpen:C=!1,disabled:I=!1,modal:z,loopFocus:A=!0,orientation:O="vertical",actionsRef:N,closeParentOnEsc:M=!1,handle:L,triggerId:F,defaultTriggerId:U=null,highlightItemOnHover:B=!0}=e,V=(0,S.v)(!0),Z=(0,g.Y)(!0),K=(0,v.t)(!0),q=r.useContext(T),G=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]),W=(t={open:C,openProp:_,activeTriggerId:U,triggerIdProp:F,parent:G},(0,l.j)(()=>new P(t)).current);W.useControlledProp("openProp",_),W.useControlledProp("triggerIdProp",F),W.useContextCallback("onOpenChangeComplete",D);let H=(0,o.B)(),J=(0,o.B)(),Y=W.useState("floatingTreeRoot"),X=(0,c.fI)(Y),Q=(0,c.R1)(),ee=W.useState("open"),et=W.useState("activeTriggerElement"),en=W.useState("positionerElement"),er=W.useState("hoverEnabled"),ei=W.useState("disabled"),ea=W.useState("lastOpenChangeReason"),eo=W.useState("parent"),es=W.useState("activeIndex"),el=W.useState("payload"),eu=W.useState("floatingParentNodeId"),ed=r.useRef(null),ec=r.useRef("context-menu"!==eo.type),ef=(0,i.Z)(),ep=r.useRef(!0),em=(0,i.Z)(),eh=null!=eu,{openMethod:eg,triggerProps:ev}=(0,k.G)(ee);W.useSyncedValues({disabled:I,highlightItemOnHover:B,modal:void 0===eo.type?z:void 0,openMethod:eg,rootId:H}),(0,R.tr)(W);let{forceUnmount:ey}=(0,R.l$)(ee,W,()=>{W.set("allowMouseEnter",!1)});(0,s.g)(()=>{V&&!Z?W.update({parent:{type:"context-menu",context:V},floatingNodeId:X,floatingParentNodeId:Q}):Z&&W.update({floatingNodeId:X,floatingParentNodeId:Q})},[V,Z,X,Q,W]),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||W.set("hoverEnabled",!0)},[ee,er,W]);let eb=(0,a.K)((e,t)=>{let n=t.reason;if(!e&&!W.select("open")||ee===e&&t.trigger===et&&ea===n)return;let r=(0,R.T1)(t);if(e||null!=t.trigger||(t.trigger=et??void 0),E?.(e,t),t.isCanceled)return;W.state.floatingRootContext.dispatchOpenChange(e,t);let i=t.event;if(!1===e&&i?.type==="click"&&"touch"===i.pointerType&&!ep.current)return;e&&n===w.F4?(ep.current=!1,em.start(300,()=>{ep.current=!0})):(ep.current=!0,em.clear());let a=(n===w.Ui||n===w.Bo)&&0===i.detail,o=!e&&(n===w.jv||null==n),s={open:e,openChangeReason:n};ed.current=t.event,(0,R.i)(s,e,t.trigger,r()),W.update(s),"menubar"===eo.type&&(n===w.F4||n===w.Xn||n===w.N7||n===w.Dq||n===w.p)?W.set("instantType","group"):a||o?W.set("instantType",a?"click":"dismiss"):W.set("instantType",void 0)}),ek=(0,f.D)({popupStore:W,floatingId:J,nested:null!=Q,onOpenChange:eb}),ex=ek.context.events;(0,s.g)(()=>{let e=({open:e,eventDetails:t})=>eb(e,t);return ex.on("setOpen",e),()=>{ex?.off("setOpen",e)}},[ex,eb]);let ew=r.useCallback(()=>{W.setOpen(!1,(0,x.d)(w.zJ))},[W]);r.useImperativeHandle(N,()=>({unmount:ey,close:ew}),[ey,ew]),"context-menu"===eo.type&&(n=eo.context),r.useImperativeHandle(n?.positionerRef,()=>en,[en]),r.useImperativeHandle(n?.actionsRef,()=>({setOpen:eb}),[eb]);let eS=(0,p.s)(ek,{enabled:!ei,bubbles:{escapeKey:M&&"menu"===eo.type},outsidePress:()=>"context-menu"!==eo.type||ed.current?.type==="contextmenu"||ec.current,externalTree:eh?Y:void 0}),e$=(0,b.j)(),e_=r.useCallback(e=>{W.select("activeIndex")!==e&&W.set("activeIndex",e)}
23,[W]),eE=(0,m.C)(ek,{enabled:!ei,listRef:W.context.itemDomElements,activeIndex:es,nested:void 0!==eo.type,loopFocus:A,orientation:O,parentOrientation:"menubar"===eo.type?eo.context.orientation:void 0,rtl:"rtl"===e$,disabledIndices:u.Ml,onNavigate:e_,openOnArrowKeyDown:"context-menu"!==eo.type,externalTree:eh?Y:void 0,focusItemOnHover:B}),eD=r.useCallback(e=>{W.context.typingRef.current=e},[W]),eC=(0,h.l)(ek,{enabled:!ei,listRef:W.context.itemLabels,elementsRef:W.context.itemDomElements,activeIndex:es,resetMs:y.HQ,onMatch:e=>{ee&&e!==es&&W.set("activeIndex",e)},onTyping:eD}),eI=r.useMemo(()=>{let e=(0,$.v6)(eC.reference,eE.reference,eS.reference,{onMouseMove(){W.set("allowMouseEnter",!0)}},ev);return e["aria-haspopup"]="menu",e["aria-expanded"]=ee,e},[W,eC.reference,eE.reference,eS.reference,ev,ee]),eP=r.useMemo(()=>{let e=(0,$.v6)(eE.trigger,eS.trigger,ev);return e["aria-haspopup"]="menu",e["aria-expanded"]=!1,e},[eE.trigger,eS.trigger,ev]),eR=r.useMemo(()=>(0,$.v6)(R.Ls,{id:J,role:"menu","aria-labelledby":et?.id,onMouseMove(){W.set("allowMouseEnter",!0),"menu"===eo.type&&W.set("hoverEnabled",!1)},onClick(){W.select("hoverEnabled")&&W.set("hoverEnabled",!1)},onKeyDown(e){let t=W.select("keyboardEventRelay");t&&!e.isPropagationStopped()&&t(e)}},eC.floating,eE.floating,eS.floating),[et,J,eo.type,W,eC.floating,eE.floating,eS.floating]),eT=eE.item??u.t0;(0,R.i6)(W,{floatingRootContext:ek,activeTriggerProps:eI,inactiveTriggerProps:eP,popupProps:eR,itemProps:eT});let ej=r.useMemo(()=>({store:W,parent:G}),[W,G]),ez=(0,j.jsxs)(g.J.Provider,{value:ej,children:[L&&(0,j.jsx)(R.Ae,{handle:L,store:W}),"function"==typeof d?d({payload:el}):d]});return void 0===eo.type||"context-menu"===eo.type?(0,j.jsx)(c.P6,{externalTree:Y,children:ez}):ez})},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"),m=t.context.triggerElements,h=r.useRef(null);void 0===s&&null===h.current&&(h.current=new o.K({open:c,transitionStatus:void 0,referenceElement:f,floatingElement:p,triggerElements:m,onOpenChange:d,floatingId:l,syncOnly:!0,nested:u}));let g=s??h.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}},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:()=>D,Fu:()=>K,J8:()=>L,QX:()=>E,T5:()=>C,c4:()=>m,ko:()=>P,me:()=>w,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
23ps/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),m=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:m,importLibrary:h}=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,m]=(0,r.useReducer)((e,t)=>e[t.name]?e:Object.assign(Object.assign({},e),{[t.name]:t.value}),{}),h=(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 m({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==h?void 0:h.length)>0&&(e.libraries=h),(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,h,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:m,importLibrary:h,internalUsageAttributionIds:g}),[i,a,l,u,d,m,h,g]);return r.createElement(p.Provider,{value:v},t)},h={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(h);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 k=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapT
23ypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function x(){var e;return(null==(e=(0,r.useContext)(p))?void 0:e.status)||l}function w(e,t){if(!e||!t)return!1;let n=S(e),r=S(t);return n.lat===r.lat&&n.lng===r.lng}function S(e){return e&&"object"==typeof e&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)?e:e.toJSON()}let $=()=>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 E=r.createContext(null),D={VECTOR:"VECTOR",RASTER:"RASTER",UNINITIALIZED:"UNINITIALIZED"},C=e=>{let t,n,i,s,l,c,{children:f,id:m,className:w,style:D}=e,C=(0,r.useContext)(p),I=x();if(!C)throw Error("<Map> can only be used inside an <ApiProvider> component.");let[P,R,T]=function(e,t){let n,i,a=x()===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:m,defaultCenter:h,defaultZoom:g,defaultHeading:v,defaultTilt:y,reuseMaps:b,renderingType:k,colorScheme:w}=e,S=o(e,["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"]),$=void 0!==e.zoom||void 0!==e.defaultZoom,E=void 0!==e.center||void 0!==e.defaultCenter;m||$&&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"),!S.center&&h&&(S.center=h),!S.zoom&&Number.isFinite(g)&&(S.zoom=g),!S.heading&&Number.isFinite(v)&&(S.heading=v),!S.tilt&&Number.isFinite(y)&&(S.tilt=y);let D=S.internalUsageAttributionIds;for(let e of(null==D?S.internalUsageAttributionIds=t.internalUsageAttributionIds:S.internalUsageAttributionIds=[...t.internalUsageAttributionIds||[],...D],Object.keys(S)))void 0===S[e]&&delete S[e];let C=(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"}:${k||"default"}:${w||"LIGHT"}`;if(b&&_.has(c)?(n=(r=_.pop(c)).getDiv(),d.appendChild(n),r.setOptions(S),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({},S),k?{renderingType:k}:{}),w?{colorScheme:w}:{}))),l(r),i(r,p),m){let{padding:e}=m,t=o(m,["padding"]);r.fitBounds(t,e)}else $&&E||r.fitBounds({east:180,west:-180,south:-90,north:90});if(C.current){let{mapId:e,cameraState:t}=C.current;e!==u&&r.setOptions(t)}return()=>{C.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,C);for(let a of(t=e.center?S(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)(()=>
23{if(!P)return;let e={},t=!1;null!==n&&null!==i&&(T.current.center.lat!==n||T.current.center.lng!==i)&&(e.center={lat:n,lng:i},t=!0),null!==s&&T.current.zoom!==s&&(e.zoom=s,t=!0),null!==l&&T.current.heading!==l&&(e.heading=l,t=!0),null!==c&&T.current.tilt!==c&&(e.tilt=c,t=!0),t&&P.moveCamera(e)}),y)){let t=e[a],n=h[a];(0,r.useEffect)(()=>{if(!P||!t)return;let e=google.maps.event.addListener(P,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,P,e))});return()=>e.remove()},[P,n,t])}!function(e,t){var n,i;let o={};for(let e of Object.keys(t))k.has(e)&&(o[e]=t[e]);n=()=>{e&&e.setOptions(o)},i=[o],(0,r.useEffect)(n,[b(i,a)])}(P,e);let j=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}(P,e),z=!!e.controlled;(0,r.useEffect)(()=>{if(P)return j&&P.setOptions({disableDefaultUI:!0}),(j||z)&&P.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{P.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}},[P,j,z,e.gestureHandling,e.keyboardShortcuts]);let A=e.center?S(e.center):null,O=null,N=null;A&&Number.isFinite(A.lat)&&Number.isFinite(A.lng)&&(O=A.lat,N=A.lng);let M=(0,r.useMemo)(()=>{var t,n,r;return{center:{lat:null!=O?O: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}},[O,N,e.zoom,e.heading,e.tilt]);(0,r.useLayoutEffect)(()=>{if(!P||!z)return;P.moveCamera(M);let e=P.addListener("bounds_changed",()=>{P.moveCamera(M)});return()=>e.remove()},[P,z,M]);let L=(0,r.useMemo)(()=>Object.assign({width:"100%",height:"100%",position:"relative",zIndex:j?-1:0},D),[D,j]),F=(0,r.useMemo)(()=>({map:P}),[P]);return I===d?r.createElement("div",{style:Object.assign({position:"relative"},w?{}:L),className:w},r.createElement($,null)):r.createElement("div",Object.assign({ref:R,"data-testid":"map",style:w?void 0:L,className:w},m?{id:m}:{}),P?r.createElement(E.Provider,{value:F},f):null)};C.deckGLViewProps=!0;let I=new Set,P=(e=null)=>{let t=(0,r.useContext)(p),{map:n}=(0,r.useContext)(E)||{};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 R(e){let t=x()===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 T(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 j(e,t,n){(0,r.useEffect)(()=>{e&&(e[t]=n)},[e,t,n])}function z(e,t,n){(0,r.useEffect)(()=>{if(e&&t&&n)return e.addEventListener(t,n),()=>e.removeEventListener(t,n)},[e,t,n])}class A{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+=`
24      gmp-advanced-marker[data-origin='rgm'] {
25        pointer-events: none !important;
26      }
27    `,this.renderedStyles.add("marker-pointer-events")}cleanup(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null,this.renderedStyles.clear())}}let O=new A,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=P(),f=R("marker"),{children:p,onClick:m,className:h,onMouseEnter:g,onMouseLeave:v,onDrag:y,onDragStart:b,onDragEnd:k,collisionBehavior:x,clickable:w,draggable:S,position:$,title:_,zIndex:E,anch
27orPoint:D,anchorLeft:C,anchorTop:I}=e,A=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 A>0&&(e.content=t=document.createElement("div"),d(t)),()=>{e.map=null,null==t||t.remove(),l(null),d(null)}},[c,f,A]),(0,r.useEffect)(()=>{(null==s?void 0:s.content)&&U(s.content)&&!(A>0)&&(s.content.className=null!=h?h:"")},[s,h,A]),t=s,n=D,i=C,a=I,o=A>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",O.addAdvancedMarkerPointerEventsOverwrite())}}},[t,n,i,a,o]),j(s,"position",$),j(s,"title",null!=_?_:""),j(s,"zIndex",E),j(s,"collisionBehavior",x),(0,r.useEffect)(()=>{s&&(void 0!==S?s.gmpDraggable=S:y||b||k?s.gmpDraggable=!0:s.gmpDraggable=!1)},[s,S,y,k,b]),(0,r.useEffect)(()=>{if(!s)return;let e=void 0!==w||!!m||!!g||!!v;s.gmpClickable=e,e&&(null==s?void 0:s.content)&&U(s.content)&&(s.content.style.pointerEvents="all",m&&(s.content.style.cursor="pointer"))},[s,w,m,g,v]),T(s,"click",m),T(s,"drag",y),T(s,"dragstart",b),T(s,"dragend",k),z(null==s?void 0:s.element,"mouseenter",g),z(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,m=o(e,["children","headerContent","style","className","pixelOffset","anchor","shouldFocus","onClose","onCloseClick"]),h=R("maps"),[g,v]=(0,r.useState)(null),y=(0,r.useRef)(null),k=(0,r.useRef)(null),x=b(m,a);(0,r.useEffect)(()=>{if(!h)return;y.current=document.createElement("div"),k.current=document.createElement("div"),u&&(x.pixelOffset=new google.maps.Size(u[0],u[1])),n&&(x.headerContent="string"==typeof n?n:k.current);let e=new google.maps.InfoWindow(x);return e.setContent(y.current),v(e),()=>{var t,n;e.setContent(null),null==(t=y.current)||t.remove(),null==(n=k.current)||n.remove(),y.current=null,k.current=null,v(null)}},[h]);let w=(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,w.current),w.current=s||null,l!==y.current.className&&(y.current.className=l||""))},[g,l,s]),(0,r.useEffect)(()=>{g&&(u?x.pixelOffset=new google.maps.Size(u[0],u[1]):x.pixelOffset=null,n?x.headerContent="string"==typeof n?n:k.current:x.headerContent=null,g.setOptions(x))},[x,u,n]),T(g,"close",f),T(g,"closeclick",p);let S=P();return(0,r.useEffect)(()=>{var e;if(!S||!g||null===d)return;let t=!!d,n={map:S};if(d&&(n.anchor=d,void 0!==d.content&&d.content instanceof Element)){let t=null==d?void 0:d.getBoundingClientRect();
27if(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;x.pixelOffset=new google.maps.Size(u?u[0]+i:i,u?u[1]+a:a),g.setOptions(x)}}return void 0!==c&&(n.shouldFocus=c),g.open(n),()=>{t&&g.set("anchor",null),g.close()}},[g,d,S,c,x,u]),r.createElement(r.Fragment,null,y.current&&(0,i.createPortal)(t,y.current),null!==k.current&&(0,i.createPortal)(n,k.current))};(0,r.forwardRef)((e,t)=>{let n=function(e){let[t,n]=(0,r.useState)(null),i=P(),{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:m}=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(!!m),()=>{e.clearInstanceListeners(t)}},[t,m,a,s,l,u,d,c]),(0,r.useEffect)(()=>{t&&f&&t.setOptions(f)},[t,f]),(0,r.useEffect)(()=>{!m&&p&&t&&t.setPosition(p)},[m,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:m,onPressStart:h,onPressEnd:g,onPressUp:v,onPressChange:y,preventFocusOnPress:b,allowFocusWhenDisabled:k,onClick:x,href:w,target:S,rel:$,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:w,target:"a"===f?S:void 0,type:"input"===f?_:void 0,disabled:"input"===f?p:void 0,"aria-disabled":p&&"input"!==f?p:void 0,rel:"a"===f?$:void 0};let{pressProps:E,isPressed:D}=(0,a.d)({onPressStart:h,onPressEnd:g,onPressChange:y,onPress:m,onPressUp:v,onClick:x,isDisabled:p,preventFocusOnPress:b,ref:t}),{focusableProps:C}=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,m=(0,d.useRef)(e.autoFocus);(0,d.useEffect)(()=>{m.current&&t.current&&(0,o.l)(t.current),m.current=!1},[t]);let h=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(h=void 0),{focusableProps:(0,r.v)({...a,tabIndex:h},p)}}(e,t);k&&(C.tabIndex=p?-1:C.tabIndex);let I=(0,r.v)(C,E,(0,i.$)(e,{labelable:!0}));return{isPressed:D,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
27h(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")}},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:()=>x});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),m=n(79342),h=n(21708),g=n(6665),v=n(41566),y=n(40109),b=n(94799);let k={...d.GW,...p.G},x=r.forwardRef(function(e,t){let{render:n,className:d,style:p,initialFocus:x,finalFocus:w,...S}=e,$=(0,l.Ee)(),_=(0,c.O)(),E=(0,l.ui)(),D=(0,i.P)($,u.T.mounted),C=(0,i.P)($,u.T.open),I=(0,i.P)($,u.T.openMethod),P=(0,i.P)($,u.T.popupProps),R=(0,i.P)($,u.T.transitionStatus),T=(0,i.P)($,u.T.inputInsidePopup),j=(0,i.P)($,u.T.inputElement),z=(0,i.P)($,u.T.modal),A=(0,i.P)($,u.T.id),O=(0,y.$B)(),N=S.id??(T?(0,v.xj)(A):void 0);(0,a.g)(()=>($.set("popupId",$.state.popupRef.current?.id||N),()=>{$.set("popupId",void 0)}),[$,N]),(0,f.v)({open:C,ref:$.state.popupRef,onComplete(){C&&$.state.onOpenChangeComplete(!0)}});let M={open:C,side:_.side,align:_.align,anchorHidden:_.anchorHidden,transitionStatus:R,empty:O},L=(0,s.o)("div",e,{state:M,ref:[t,$.state.popupRef],props:[P,{id:N,role:T?"dialog":"presentation",onFocus(e){let t=(0,m.EW)(e.nativeEvent);"touch"!==I&&((0,m.gR)($.state.listElement,t)||t===e.currentTarget)&&$.state.inputRef.current?.focus()}},(0,h.d)(R),S],stateAttributesMapping:k}),F=!!T&&(e=>"touch"===e?$.state.popupRef.current:j),U=!T||z;return(0,b.jsx)(o.s,{context:E,disabled:!D,modal:U,openInteractionType:I,initialFocus:void 0===x?F:x,returnFocus:null!=w?w:!!T&&void 0,getInsideElements:()=>[$.state.startDismissRef.current,$.state.endDismissRef.current],children:(0,b.jsxs)(r.Fragment,{children:[L,U&&(0,b.jsx)(g.p,{ref:$.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()});
27let 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},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:()=>k});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),m=n(62165);function h(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:h(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=h(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,m="loading"===o.type;!c&&f?this.clearTimer(e):c&&(!f||p||d||m||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
27h(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:h(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,m.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 k=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)(x,{store:u,timeout:n,limit:o}),t]})};function x(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:m,arrowStyles:h}=(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:m,instant:v},ref:[t,c],props:[{style:h,"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),m=n(85871),h=n(21055),g=n(44619),v=n(79342),y=n(37750),b=n(41118),k=n(92796),x=n(69045),w=n(54302),S=n(37457);function $(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}=(0,S.k)({metadata:s});return(0,k.o)(u,e,{state:i,ref:[p,...o],props:[f,...a,c],stateAttributesMapping:l})}var _=n(1075),E=n(99097),D=n(92337),C=n(18039),I=n(56742),P=n(91352),R=n(8551),T=n(78337),j=n(99901),z=n(21067),A=n(97869),O=n(35303),N=n(66431),M=n(94799);let L=(0,s.nk)(function(e,t){let n,s,{render:S,className:L,style:F,disabled:U=!1,nativeButton:B=!0,id:V,openOnHover:Z,delay:K=100,closeDelay:q=0,handle:G,payload:W,...H}=e,J=(0,y.Y)(!0),Y=(0,D.f)(G)??J?.store;if(!Y)throw Error((0,r.A)(85));let X=(0,j.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,z.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,C.L_)(X,er,Y,{payload:W,closeDelay:q,parent:ei,floatingTreeRoot:es,floatingNodeId:el,floatingParentNodeId:eu,keyboardEventRelay:ea?.relayKeyboardEvent}),ef="menubar"===ei.type,ep=Y.useState("disabled"),em=U||ep||ef&&ei.context.disabled,{getButtonProps:eh,buttonRef:eg}=(0,x.s)({disabled:em,native:B});i.useEffect(()=>{et||void 0!==ei.type||(Y.context.allowMouseUpTriggerRef.current=!1)},[Y,et,ei.type]);
27let 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,E.sb)(t)&&t.hasAttribute("data-rootownerid")?t.getAttribute("data-rootownerid"):(0,E.eu)(t)?void 0:e((0,E.$4)(t))}(t)===Y.select("rootId")||(0,w.U)(e,ev.current)||es.events.emit("close",{domEvent:e,reason:T.LO})});i.useEffect(()=>{et&&Y.select("lastOpenChangeReason")===T.N7&&(0,o.R)(ev.current).addEventListener("mouseup",eb,{once:!0})},[et,eb,Y]);let ek=ef&&ei.context.hasSubmenuOpen,ex=Z??ek,ew=(0,f.j)(ee,{enabled:ex&&!em&&(!ef||ek&&!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")}),eS=function(e,t){let n=(0,a.Z)(),[r,o]=i.useState(!1);return(0,u.g)(()=>{e&&t===T.N7?(o(!0),n.start(A.X3,()=>{o(!1)})):e||(n.clear(),o(!1))},[e,t,n]),r}(et,Y.select("lastOpenChangeReason")),e$=(0,m.k)(ee,{enabled:!em,event:et&&ef?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:void 0===ei.type&&eS}),e_=(0,h.i)(ee,{enabled:!em&&ek}),eE=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"}),eD=i.useMemo(()=>(0,N.v6)(e_.reference,e$.reference),[e_.reference,e$.reference]),eC=Y.useState("triggerProps",ec),{preFocusGuardRef:eI,handlePreFocusGuardFocus:eP,handleFocusTargetFocus:eR}={preFocusGuardRef:s=i.useRef(null),handlePreFocusGuardFocus:function(e){I.flushSync(()=>{Y.setOpen(!1,(0,R.d)(T.Xn,e.nativeEvent,e.currentTarget))});let t=(0,P.bp)(s.current);t?.focus()},handleFocusTargetFocus:function(e){let t=Y.select("positionerElement");if(t&&(0,P.Qp)(e,t))Y.context.beforeContentFocusGuardRef.current?.focus();else{I.flushSync(()=>{Y.setOpen(!1,(0,R.d)(T.Xn,e.nativeEvent,e.currentTarget))});let n=(0,P.Yu)(Y.context.triggerFocusTargetRef.current||er.current);for(;null!==n&&(0,v.gR)(t,n);){let e=n;if((n=(0,P.vF)(n))===e)break}n?.focus()}}},eT={disabled:em,open:et},ej=[ev,t,eg,ed,er],ez=[eD,ew??d.t0,eC,{"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"}:{},eE,H,eh],eA=(0,k.o)("button",e,{enabled:!ef,stateAttributesMapping:b.jL,state:eT,ref:ej,props:ez});return ef?(0,M.jsx)($,{tag:"button",render:S,className:L,style:F,state:eT,refs:ej,props:ez,stateAttributesMapping:b.jL}):et?(0,M.jsxs)(i.Fragment,{children:[(0,M.jsx)(O.U,{ref:eI,onFocus:eP},`${X}-pre-focus-guard`),(0,M.jsx)(i.Fragment,{children:eA},X),(0,M.jsx)(O.U,{ref:Y.context.triggerFocusTargetRef,onFocus:eR},`${X}-post-focus-guard`)]}):(0,M.jsx)(i.Fragment,{children:eA},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}))}},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,m=f-t.height;return{left:t.left-p/2,right:t.right+p/2,top:t.top-m/2,bottom:t.bottom+m/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:()=>S,XF:()=>$,vB:()=>x});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),m=n(8551),h=n(78337),g=n(63389),v=n(92796),y=n(97869),b=n(94799);let k=r.createContext(null),x=()=>r.useContext(k),w=(0,g.F)("portal");function S(e={}){let{ref:t,container:n,componentProps:o=c.t0,elementProps:s}=e,f=(0,l.B)(),p=x(),m=p?.portalNode,[h,g]=r.useState(null),[y,b]=r.useState(null),k=(0,d.K)(e=>{null!==e&&b(e)}),$=r.useRef(null);(0,u.g)(()=>
27{if(null===n){$.current&&($.current=null,b(null),g(null));return}let e=(n&&((0,a.Ll)(n)?n:n.current))??m??document.body;if(null==e){$.current&&($.current=null,b(null),g(null));return}$.current!==e&&($.current=e,b(null),g(e))},[n,m]);let _=(0,v.o)("div",o,{ref:[t,k],props:[{id:f,[w]:""},s]}),E=h&&_?i.createPortal(_,h):null;return{node:y,nodeId:r.isValidElement(_)?_.props.id:void 0,subtree:E}}let $=r.forwardRef(function(e,t){let{render:n,className:a,style:l,children:d,container:c,...g}=e,{node:v,nodeId:x,subtree:w}=S({container:c,ref:t,componentProps:e,elementProps:g}),$=r.useRef(null),_=r.useRef(null),E=r.useRef(null),D=r.useRef(null),[C,I]=r.useState(null),P=r.useRef(!1),R=C?.modal,T=C?.open,j=!!C&&!C.modal&&C.open&&!!v;r.useEffect(()=>{if(v&&!R)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?P.current&&((0,p.yV)(v),P.current=!1):((0,p.N)(v),P.current=!0))}},[v,R]),(0,u.g)(()=>{v&&!0===T&&P.current&&((0,p.yV)(v),P.current=!1)},[T,v]);let z=r.useMemo(()=>({beforeOutsideRef:$,afterOutsideRef:_,beforeInsideRef:E,afterInsideRef:D,portalNode:v,setFocusManagerState:I}),[v]);return(0,b.jsxs)(r.Fragment,{children:[w,(0,b.jsxs)(k.Provider,{value:z,children:[j&&v&&(0,b.jsx)(f.U,{"data-type":"outside",ref:$,onFocus:e=>{if((0,p.Qp)(e,v))E.current?.focus();else{let e=C?C.domReference:null,t=(0,p.XJ)(e);t?.focus()}}}),j&&v&&(0,b.jsx)("span",{"aria-owns":x,style:y.z_}),v&&i.createPortal(d,v),j&&v&&(0,b.jsx)(f.U,{"data-type":"outside",ref:_,onFocus:e=>{if((0,p.Qp)(e,v))D.current?.focus();else{let t=C?C.domReference:null,n=(0,p.vF)(t);n?.focus(),C?.closeOnFocusOut&&C?.onOpenChange(!1,(0,m.d)(h.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,m]=l(400*n+100*u+4*c+f+ +(4!==u&&4!==f)),h=e-a(p,m,1,1),g=2;e<a(p,m,3,1)?g=0:o(m)&&(g=1);let v=Math.floor(((h+g)*12+373)/367),y=e-a(p,m,v,1)+1;return new(0,r.ng)(p,m,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"}}}
27,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]),m=(0,r.yB)(p),h=(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,m(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,m,c,p]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,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,{Ay:()=>q,Q_:()=>G,Rm:()=>D});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 m=e=>r(e)?e.replace(/[&<>
27"'\/]/g,e=>p[e]):e;class h{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 h(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("_","-"),k={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 x{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||k,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 x(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new x(this.logger,e)}}var w=new x;class S{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 $ extends S{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];
27n&&(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 E=Symbol("i18next/PATH_KEY");function D(e,t){let n,r,i,{[E]:a}=e((r=[],(i=Object.create(null)).get=(e,t)=>(n?.revoke?.(),t===E)?r:(r.push(t),(n=Proxy.revocable(e,i)).proxy),Proxy.revocable(Object.create(null),i).proxy));return a.join(t?.keySeparator??".")}let C={},I=e=>!r(e)&&"boolean"!=typeof e&&"number"!=typeof e;class P extends S{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
27i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=w.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=D(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),m=p?.res,h=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),k=P.hasDefaultValue(i),x=b?this.pluralResolver.getSuffix(c,i.count,i):"",w=i.ordinal&&b?this.pluralResolver.getSuffix(c,i.count,{ordinal:!1}):"",S=b&&!i.ordinal&&0===i.count,$=S&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${x}`]||i[`defaultValue${w}`]||i.defaultValue,_=m;y&&!m&&k&&(_=$);let E=I(_),C=Object.prototype.toString.apply(_);if(y&&_&&E&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(C)&&!(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(h,_,{...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:h;for(let e in _)if(Object.prototype.hasOwnProperty.call(_,e)){let r=`${n}${o}${e}`;k&&!m?t[e]=this.translate(r,{...i,defaultValue:I($)?$[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:l}),t[e]===r&&(t[e]=_[e])}m=t}}else if(y&&r(v)&&Array.isArray(m))(m=m.join(v))&&(m=this.extendTranslation(m,e,i,n));else{let t=!1,r=!1;!this.isValidLookup(m)&&k&&(t=!0,m=$),this.isValidLookup(m)||(r=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&r?void 0:m,l=k&&$!==m&&this.options.updateMissing;if(r||t||l){if(this.logger.log(l?"updateKey":"missingKey",c,u,s,l?$:m),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=k&&n!==m?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
27("missingKey",e,u,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);S&&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}`]||$)})}):n(e,s,$))}m=this.extendTranslation(m,e,i,p,n),r&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${u}${d}${s}`),(r||t)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${d}${s}`:s,t?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}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,m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);d.forEach(e=>{this.isValidLookup(n)||(s=e,!C[`${m[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&(C[`${m[0]}-${e}`]=!0,this.logger.warn(`key "${i}" for languages "${m.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!!!")),m.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 R{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.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;
27return 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
27h(e=>{0>i.indexOf(e)&&a(this.formatLanguageCode(e))}),i}}let T={zero:0,one:1,two:2,few:3,many:4,other:5},j={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class z{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=w.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!"),j;if(!e.match(/-|_/))return j;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)=>T[e]-T[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 A=(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 O{constructor(e={}){this.logger=w.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:h,nestingOptionsSeparator:g,maxReplaces:v,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:m,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,"\\$&"):h||")".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=A(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(A(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,"$$$$")}
27].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=w.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 S{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=w.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={};
27return 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)=>{let{obj:r,k:i}=u(e,t,Object);r[i]=r[i]||[],r[i].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];
27Object.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 S{constructor(e={},t){if(super(),this.options=B(e),this.services={},this.logger=w,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}
27,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?w.init(a(this.modules.logger),this.options):w.init(null,this.options),e=this.modules.formatter?this.modules.formatter:L;let t=new R(this.options);this.store=new $(this.options.resources,this.options);let r=this.services;r.logger=w,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new z(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 O(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 P(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
27=>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=D(e,{...this.options,...t})),`${a.keyPrefix}${s}${e}`)):("function"==typeof e&&(e=D(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;
27if(!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 R(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 $(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 O(n)}return i.translator=new P(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(),G=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"},m={top:"height",left:"width"},h={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,m={},h=(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,m.top=n.scrollTop||e.scrollTop,m.left=n.scrollLeft||e.scrollLeft,t&&(f=t.offsetTop,p=t.offsetLeft)}else({width:s,height:l,top:f,left:p}=S(e,!1)),m.top=e.scrollTop,m.left=e.scrollLeft,d=s,c=l;return(0,u.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&h&&(m.top=0,m.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:m,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[m[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]],h=t-l+n+r.scroll[c[e]]+o[e]-r[c[e]];return p<d?d-p:h>f?Math.max(f-h,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=m[r],o=m[i];return g[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:o},g[e]}function k(e,t,n,r,i,a,o,s,l,u,c){var p,m,g,v,y;let{placement:b,crossPlacement:k,axis:x,crossAxis:w,size:S,crossSize:$}=r,_={};_[w]=null!=(p=e[w])?p:0,"center"===k?_[w]+=((null!=(m=e[$])?m:0)-(null!=(g=n[$])?g:0))/2:k!==w&&(_[w]+=(null!=(v=e[$])?v:0)-(null!=(y=n[$])?y:0)),_[w]+=a;let E=e[w]-n[$]+l+u,D=e[w]+e[$]-l-u;if(_[w]=d(_[w],E,D),b===x){let t=s?c[S]:c[h[S]];_[f[x]]=Math.floor(t-e[x]+i)}else _[x]=Math.floor(e[x]+e[S]+i);return _}function x(e,t,n,r,i,a,o,s){var l,u,d,c;let{placement:p,axis:m,size:h}=a;return p===m?Math.max(0,n[m]-(null!=(l=o.scroll[m])?l:0)-(e[m]+(s?t[m]:0))-(null!=(u=r[m])?u:0)-r[f[m]]-i):Math.max(0,e[h]+e[m]+(s?t[m]:0)-n[m]-n[h]+(null!=(d=o.scroll[m])?d:0)-(null!=(c=r[m])?c:0)-r[f[m]]-i)}function w(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 S(e,t){let{top:n,left:r,width:i,height:a}=w(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,t,n){let r,i=window.getComputedStyle(e);
27if("fixed"===i.position)r=w(e,n);else{r=S(e,n);let i=S(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 E=n(34023);let D=new WeakMap;var C=n(2713),I=n(55443);function P(e){let{ref:t,box:n,onResize:r}=e,i=(0,I.J)(r);(0,E.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 R=n(19758);let T="u">typeof document?window.visualViewport:null;var j=n(28803);function z(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 A=n(56614);let O=[];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?G(e):B.addEventListener("resize",()=>G(e),{once:!0})}function G(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 W=n(23416);function H(e,t){let{triggerRef:n,popoverRef:p,groupRef:m,isNonModal:g,isKeyboardDismissDisabled:F,shouldCloseOnInteractOutside:B,...G}=e,H="SubmenuTrigger"===G.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,E.useRef)(void 0);(0,E.useEffect)(()=>{if(a&&!O.includes(t))return O.push(t),()=>{let e=O.indexOf(t);e>=0&&O.splice(e,1)}},[a,t]);let d=()=>{O[O.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:a}=e,o=(0,E.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),s=(0,I.J)(e=>{n&&z(e,t)&&(a&&a(e),o.current.isPointerDown=!0)}),l=(0,I.J)(e=>{n&&n(e)});(0,E.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&&z(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))&&(O[O.length-1]===t&&(e.stopPropagation(),e.preventDefault()),u.current===t&&d()),u.current=void 0}:void 0,onInteractOutsideStart:e=>{let n=O[O.length-1];u.current=n,(!l||l(e.target))&&n===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:c}=(0,A.R)({isDisabled:!r,onBlurWithin:e=>{!(!e.relatedTarget||(0,j.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()}}}}
27({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!g||H,isKeyboardDismissDisabled:F,shouldCloseOnInteractOutside:B},null!=m?m:p),{overlayProps:X,arrowProps:Q,placement:ee,triggerAnchorPoint:et}=function(e){var t,n,r,i;let{direction:o}=(0,R.Y)(),{arrowSize:s,targetRef:l,overlayRef:u,arrowRef:p,scrollRef:m=u,placement:g="bottom",containerPadding:I=12,shouldFlip:j=!0,boundaryElement:z="u">typeof document?document.body:null,offset:A=0,crossOffset:O=0,shouldUpdatePosition:N=!0,isOpen:M=!0,onClose:L,maxHeight:F,arrowBoundaryOffset:U=0}=e,[B,V]=(0,E.useState)(null),Z=[N,g,u.current,l.current,null==p?void 0:p.current,m.current,I,j,z,A,O,M,o,F,U,s],K=(0,E.useRef)(null==T?void 0:T.scale);(0,E.useEffect)(()=>{M&&(K.current=null==T?void 0:T.scale)},[M]);let q=(0,E.useCallback)(()=>{var e,t,n,r,i,E;if(!1===N||!M||!u.current||!l.current||!z||(null==T?void 0:T.scale)!==K.current)return;let D=null;if(m.current&&(0,a.sD)(m.current,document.activeElement)){let r=null==(e=document.activeElement)?void 0:e.getBoundingClientRect(),i=m.current.getBoundingClientRect();(D={type:"top",offset:(null!=(t=null==r?void 0:r.top)?t:0)-i.top}).offset>i.height/2&&(D.type="bottom",D.offset=(null!=(n=null==r?void 0:r.bottom)?n:0)-i.bottom)}let C=u.current;!F&&u.current&&(C.style.top="0px",C.style.bottom="",C.style.maxHeight=(null!=(i=null==(r=window.visualViewport)?void 0:r.height)?i:window.innerHeight)+"px");let P=function(e){var t,n,r,i;let o,{placement:s,targetNode:l,overlayNode:u,scrollNode:p,padding:m,shouldFlip:g,boundaryElement:w,offset:E,crossOffset:D,maxHeight:C,arrowSize:I=0,arrowBoundaryOffset:P=0}=e,R="u">typeof document?window.visualViewport:null,T=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,j=T===document.documentElement,z=window.getComputedStyle(T).position,A=j?S(l,!1):$(l,T,!1);if(!j){let{marginTop:e,marginLeft:t}=window.getComputedStyle(l);A.top+=parseInt(e,10)||0,A.left+=parseInt(t,10)||0}let O=S(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 O.width+=(null!=(t=N.left)?t:0)+(null!=(n=N.right)?n:0),O.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,m,g,v,w,S,$){var _,E,D,C,I,P,R,T,j,z,A,O,N,M,L,F;let U,B,V,Z=b(e),{size:K,crossAxis:q,crossSize:G,placement:W,crossPlacement:H}=Z,J=k(t,o,n,Z,u,p,l,m,v,w,s),Y=u,X=x(o,l,t,r,i+u,Z,s,S);if(a&&n[K]>X){let e=b(`${f[W]} ${H}`),a=k(t,o,n,e,u,p,l,m,v,w,s);x(o,l,t,r,i+u,e,s,S)>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[G],o,s,i,l);J[q]+=ee;let et=(I=J,P=n.height,R=Q,U=(null!=I.top?I.top:s[h.height]-(null!=(T=I.bottom)?T:0)-P)-(null!=(j=s.scroll.top)?j:0),B=S?l.top:0,V={top:Math.max(o.top+B,(null!=(z=null==$?void 0:$.offsetTop)?z:o.top)+B),bottom:Math.min(o.top+o.height+B,(null!=(A=null==$?void 0:$.offsetTop)?A:0)+(null!=(O=null==$?void 0:$.height)?O:0))},"top"!==R?Math.max(0,V.bottom-U-((null!=(N=r.top)?N:0)+(null!=(M=r.bottom)?M:0)+i)):Math.max(0,U+P-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=k(t,o,n,Z,Y,p,l,m,v,w,s))[q],n[G],o,s,i,l),J[q]+=ee;let en={},er=t[q]-J[q]-r[c[q]],ei=er+.5*t[G],ea=v/2+w,eo="left"===c[q]?(null!=(_=r.left)?_:0)+(null!=(E=r.right)?E:0):(null!=(D=r.top)?D:0)+(null!=(C=r.bottom)?C:0),es=n[G]-eo-v/2-w,el=d(ei,t[q]+v/2-(J[q]+r[c[q]]),t[q]+t[G]-v/2-(J[q]+r[c[q]]));en[q]=d(el,ea,es),({placement:W,crossPlacement:H}=Z),v?er=en[q]:"right"===H?er+=t[G]:"center"===H&&(er+=t[G]/2);let eu="left"===W||"top"===W?n[K]:0,ed={x:"top"===W||"bottom"===W?er:eu,y:"left"===W||"right"===W?er:eu};return{position:J,maxHeight:et,arrowOffsetLeft:en.left,arrowOffsetTop:en.top,placement:W,triggerAnchorPoint:ed}}(s,A,O,N,m,g,v(w,R),v(T,R),$(w,T,!1),E,D,!!z&&"static"!==z,C,I,P,(0,a.sD)(w,T),R)}({placement:(E=g,"rtl"===o?E.replace("start","right").replace("end","left"):E.replace("start","left").replace("end","right")),overlayNode:u.current,targetNode:l.current,scrollNode:m.current||u.current,padding:I,shouldFlip:j,boundaryElement:z,offset:A,crossOffset:O,maxHeight:F,arrowSize:null!=s?s:(null==p?void 0:p.current)?w(
27p.current,!0).width:0,arrowBoundaryOffset:U});if(P.position){if(C.style.top="",C.style.bottom="",C.style.left="",C.style.right="",Object.keys(P.position).forEach(e=>C.style[e]=P.position[e]+"px"),C.style.maxHeight=null!=P.maxHeight?P.maxHeight+"px":"",D&&document.activeElement&&m.current){let e=document.activeElement.getBoundingClientRect(),t=m.current.getBoundingClientRect(),n=e[D.type]-t[D.type];m.current.scrollTop+=n-D.offset}V(P)}},Z);(0,C.N)(q,Z),i=q,(0,C.N)(()=>(window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}),[i]),P({ref:u,onResize:q}),P({ref:l,onResize:q});let G=(0,E.useRef)(!1);(0,C.N)(()=>{let e,t=()=>{G.current=!0,clearTimeout(e),e=setTimeout(()=>{G.current=!1},500),q()},n=()=>{G.current&&t()};return null==T||T.addEventListener("resize",t),null==T||T.addEventListener("scroll",n),()=>{null==T||T.removeEventListener("resize",t),null==T||T.removeEventListener("scroll",n)}},[q]);let W=(0,E.useCallback)(()=>{G.current||null==L||L()},[L,G]);return!function(e){let{triggerRef:t,isOpen:n,onClose:r}=e;(0,E.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||D.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&&W}),{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}}({...G,targetRef:n,overlayRef:p,isOpen:t.isOpen,onClose:g&&!H?t.close:null});return!function(e={}){let{isDisabled:t}=e;(0,C.N)(()=>{if(!t){let e,t,n,i,a,o;return 1==++V&&(r=(0,u.un)()?(t=!1,(n=document.createElement("style")).textContent=`
28@layer {
29  * {
30    overscroll-behavior: contain;
31  }
32}`.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,E.useEffect)(()=>{if(t.isOpen&&p.current){let t,f,h,v,y,b,k,x,w,S,$;if(g){var e,n,r,u,d,c=null!=(e=null==m?void 0:m.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==m?void 0:m.current)?n:p.current],h=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,k=(e,n)=>
32{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))},x=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&&w(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)w(e),e=n.nextNode()}},w=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&&k(e,!0),b.add(e),s.set(e,r+1))},l.length&&l[l.length-1].disconnect(),x(h),(S=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&&x(e)})).observe(h,{childList:!0,subtree:!0}),$={visibleNodes:y,hiddenNodes:b,observe(){S.observe(h,{childList:!0,subtree:!0})},disconnect(){S.disconnect()}},l.push($),()=>{for(let e of(S.disconnect(),b)){let t=s.get(e);null!=t&&(1===t?(k(e,!1),s.delete(e)):s.set(e,t-1))}$===l[l.length-1]?(l.pop(),l.length&&l[l.length-1].observe()):l.splice(l.indexOf($),1)}}},[g,t.isOpen,p,m]),{popoverProps:(0,W.v)(J,X),arrowProps:Q,underlayProps:Y,placement:ee,triggerAnchorPoint:et}}},58302:(e,t,n)=>{"use strict";n.d(t,{$c:()=>m,P6:()=>h,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 m(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 h(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),m=n(78337),h=n(41118);let g={...c.G,...h.qV},v=r.forwardRef(function(e,t){let{render:n,className:r,disabled:c=!1,nativeButton:h=!0,keepMounted:v=!1,style:y,...b}=e,{disabled:k}=(0,u.V$)(),x=(0,a.Ee)(),w=(0,i.P)(x,s.T.selectionMode),S=(0,i.P)(x,s.T.disabled),$=(0,i.P)(x,s.T.readOnly),_=(0,i.P)(x,s.T.open),E=(0,i.P)(x,s.T.selectedValue),D=(0,i.P)(x,s.T.hasSelectionChips),C=(0,a.dc)(),I=!1;I="none"===w?""!==C:"single"===w?null!=E:D;let P=k||S||c,{buttonRef:R,getButtonProps:T}=(0,l.s)({native:h,disabled:P}),{mounted:j,transitionStatus:z,setMounted:A}=(0,d.$)(I),O={disabled:P,visible:I,open:_,transitionStatus:z};(0,f.v)({open:I,ref:x.state.clearRef,onComplete(){I||A(!1)}});let N=(0,o.o)("button",e,{state:O,ref:[t,R,x.state.clearRef],props:[{tabIndex:-1,children:"x",onMouseDown(e){e.preventDefault()},onClick(e){if(P||$)return;let t=x.state.keyboardActiveRef.current?m.QJ:m.Wn;x.state.setInputValue("",(0,p.d)(m.R0,e.nativeEvent)),"none"!==w?(x.state.setSelectedValue(Array.isArray(E)?[]:null,(0,p.d)(m.R0,e.nativeEvent)),x.state.setIndices({activeIndex:null,selectedIndex:null,type:t})):x.state.setIndices({activeIndex:null,type:t}),x.state.inputRef.current?.focus()}},b,T],stateAttributesMapping:g});return v||j?N:null})},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=m(e,t,"left"),a=h(e),o=h(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=m(e,t,"top"),r=h(e),i=h(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 m(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 h(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||
320,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})},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)}}
32,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:()=>m,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 m(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"),m=d.useState("transitionStatus");return(0,a.o)("div",e,{state:{open:c,transitionStatus:m},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),m=n(34562),h=n(84412),g=n(61793),v=n(17597),y=n(34023);function b(e,t,n){var b;let k,{date:x,isDisabled:w}=e,{errorMessageId:S,selectedDateDescription:$}=r.OX.get(t),_=(0,g.o)((b=i.A)&&b.__esModule?b.default:b,"@react-aria/calendar"),E=(0,v.i)({weekday:"long",day:"numeric",month:"long",year:"numeric",era:(0,r.cf)(x),timeZone:t.timeZone}),D=t.isSelected(x),C=t.isCellFocused(x)&&!e.isOutsideMonth;w=w||t.isCellDisabled(x);let I=t.isCellUnavailable(x),P=!w&&!I,R=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&x.compare(t.highlightedRange.start)>=0&&0>=x.compare(t.highlightedRange.end):t.value&&(0,a.ro)(t.value,x));R&&(D=!0),x=(0,o.k)(x,a.NV);let T=(0,y.useMemo)(()=>x.toDate(t.timeZone),[x,t.timeZone]),j=(0,a.cK)(x,t.timeZone),z=(0,y.useMemo)(()=>{let e="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&((0,a.ro)(x,t.value.start)||(0,a.ro)(x,t.value.end))&&(e=$+", "),e+=E.format(T),j?e=_.format(D?"todayDateSelected":"todayDate",{date:e}):D&&(e=_.format("dateSelected",{date:e})),t.minValue&&(0,a.ro)(x,t.minValue)?e+=", "+_.format("minimumDate"):t.maxValue&&(0,a.ro)(x,t.maxValue)&&(e+=", "+_.format("maximumDate")),e},[E,T,_,D,j,x,t,$]),A="";"anchorDate"in t&&C&&!t.isReadOnly&&P&&(A=t.anchorDate?_.format("finishRangeSelectionPrompt"):_.format("startRangeSelectionPrompt"));let O=(0,s.I)(A),N=(0,y.useRef)(!1),M=(0,y.useRef)(!1),L=(0,y.useRef)(void 0),{pressProps:F,isPressed:U}=(0,m.d)({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!P||t.isReadOnly,onPressStart(e){if(t.isReadOnly)return void t.setFocusedDate(x);if("highlightedRange"in t&&!t.anchorDate&&("mouse"===e.pointerType||"touch"===e.pointerType)){if(t.highlightedRange&&!R){if((0,a.ro)(x,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(x),t.setDragging(!0),M.current=!0;return}else if((0,a.ro)(x,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(x),t.setDragging(!0),M.current=!0;return}}let n=()=>{t.setDragging(!0),L.current=void 0,t.selectDate(x),t.setFocusedDate(x),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(x),t.setFocusedDate(x))},onPressUp(e){if(!t.isReadOnly&&("anchorDate"in t&&L.current&&(t.selectDate(x),t.setFocusedDate(x)),"anchorDate"in t))if(M.current)t.setAnchorDate(x);else if(t.anchorDate&&!N.current)t.selectDate(x),t.setFocusedDate(x);else if("keyboard"!==e.pointerType||t.anchorDate)"virtual"===e.pointerType&&(t.selectDate(x),t.setFocusedDate(x));else{t.selectDate(x);let e=x.add({days:1});t.isInvalid(e)&&(e=x.subtract({days:1})),t.isInvalid(e)||t.setFocusedDate(e)}}});w||(k=(0,a.ro)(x,t.focusedDate)?0:-1),(0,y.useEffect)(()=>{C&&n.current&&((0,l.e)(n.current),"pointer"!==(0,h.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;
32if(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:m}=getComputedStyle(e),h=o+parseInt(u,10),g=s+parseInt(l,10),v=h+e.clientWidth,y=g+e.clientHeight,b=parseInt(d,10)||0,k=parseInt(p,10)||0,x=parseInt(f,10)||0,w=parseInt(m,10)||0;n<=o+w?o=n-parseInt(u,10)-w:n+i>v-x&&(o+=n+i-v+x),r<=g+b?s=r-parseInt(l,10)-b:r+a>y-k&&(s+=r+a-y+k),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)}))},[C,n]);let B=(0,v.i)({day:"numeric",timeZone:t.timeZone,calendar:x.calendar.identifier}),V=(0,y.useMemo)(()=>B.formatToParts(T).find(e=>"day"===e.type).value,[B,T]);return{cellProps:{role:"gridcell","aria-disabled":!P||void 0,"aria-selected":D||void 0,"aria-invalid":R||void 0},buttonProps:(0,p.v)(F,{onFocus(){w||t.setFocusedDate(x)},tabIndex:k,role:"button","aria-disabled":!P||void 0,"aria-label":z,"aria-invalid":R||void 0,"aria-describedby":[R?S:void 0,O["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(e){"highlightDate"in t&&("touch"!==e.pointerType||t.isDragging)&&P&&t.highlightDate(x)},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:C,isSelected:D,isDisabled:w,isUnavailable:I,isOutsideVisibleRange:0>x.compare(t.visibleRange.start)||x.compare(t.visibleRange.end)>0,isInvalid:R,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",m="width-before-scroll-bar";function h(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(){},k=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,m=e.children,k=e.className,x=e.removeScrollBar,w=e.enabled,S=e.shards,$=e.sideCar,_=e.noIsolation,E=e.inert,D=e.allowPinchZoom,C=e.as,I=e.gapMode,P=c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[o,t],r=function(e){return n.forEac
32h(function(t){return h(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)||h(e,null)}),r.forEach(function(e){t.has(e)||h(e,i)})}v.set(a,n)},[n]),a),T=d(d({},P),l);return f.createElement(f.Fragment,null,w&&f.createElement($,{sideCar:y,removeScrollBar:x,shards:S,noIsolation:_,inert:E,setCallbacks:u,allowPinchZoom:!!D,lockRef:o,gapMode:I}),p?f.cloneElement(f.Children.only(m),d(d({},T),{ref:R})):f.createElement(void 0===C?"div":C,d({},T,{className:k,ref:R}),m))});k.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},k.classNames={fullWidth:m,zeroRight:p};var x=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))};x.isSideCarExport=!0;var w=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)}}},S=function(){var e=w();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},$=function(){var e=S();return function(t){return e(t.styles,t.dynamic),null}},_={left:0,top:0,right:0,gap:0},E=function(e){return parseInt(e||"",10)||0},D=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[E(n),E(r),E(i)]},C=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return _;var t=D(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=$(),P="data-scroll-locked",R=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(P,"] {\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(m," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(p," .").concat(p," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(m," .").concat(m," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(P,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},T=function(){var e=parseInt(document.body.getAttribute(P)||"0",10);return isFinite(e)?e:0},j=function(){f.useEffect(function(){return document.body.setAttribute(P,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(P):document.body.setAttribute(P,e.toString())}},[])},z=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;j();var a=f.useMemo(function(){return C(i)},[i]);return f.createElement(I,{styles:R(a,!t,i,n?"":"!important")})},A=!1;if("u">typeof window)try{var O=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",O,O),window.removeEventListener("test",O,O)}catch(e){A=!1}var N=!!A&&{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 m=U(e,l),h=m[0],g=m[1]-m[2]-o*h;(h||g)&&F(e,l)&&(f+=g,p+=h),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,G=[];let W=(l=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),i=f.useState(q++)[0],a=f.useState($)[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))}
32)([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(G.length&&G[G.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 G.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(){G=G.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,N),document.removeEventListener("touchmove",l,N),document.removeEventListener("touchstart",d,N)}},[]);var m=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(a,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?f.createElement(z,{gapMode:e.gapMode}):null)},y.useMedium(l),x);var H=f.forwardRef(function(e,t){return f.createElement(k,d({},e,{ref:t,sideCar:W}))});H.classNames=k.classNames;let J=H},63039:(e,t,n)=>{"use strict";n.d(t,{m:()=>w});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),m=n(92796),h=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 k={...f.G,swipeDirection:e=>e?{"data-swipe-direction":e}:null},x=`${g.BF},${g.eZ}`,w=r.forwardRef(function(e,t){let n,f,{toast:g,render:w,className:S,swipeDirection:$=["down","right"],style:_,...E}=e,D=g.positionerProps?.anchor!==void 0,C=[];D||(C=Array.isArray($)?$:[$]);let I=C.length>0,P=(0,p.l)(),[R,T]=r.useState(void 0),[j,z]=r.useState(!1),[A,O]=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),G=r.useRef(null),W=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=P.useState("toastIndex",g.id),eo=P.useState("toastVisibleIndex",g.id),es=P.useState("toastOffsetY",g.id),el=P.useState("focused"),eu=P.useState("expanded");(0,h.v)({open:"ending"!==g.transitionStatus,ref:G,onComplete(){"ending"===g.transitionStatus&&P.removeToast(g.id)}});let ed=(0,u.K)((e=!1)=>{let t=G.current;if(!t)return;let n=t.style.height;t.style.height="auto";let r=t.offsetHeight;function a(){P.updateToastInternal(g.id,{ref:G,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=W.current;("starting"===g.transitionStatus||e!==g.id)&&(void 0!==e&&(T(void 0),F({x:0,y:0,scale:1}),ec({x:0,y:0})),W.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,z(!1),O(!1),q(null);let n=J.current;if("pointercancel"===e.type||Q.current){ec({x:n.x,y:n.y}),T(void 0);return}let r=en.current,i=r.x-n.x,a=r.y-n.y;for(let e of C)if(y(e,i,a)>40){t=e;break}t?(T(t),P.closeToast(g.id)):(ec({x:n.x,y:n.y}),T(void 0))});r.useEffect(()=>{let e=G.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,em={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&&P.pauseTimers();let t=(0,d.EW)(e.nativeEvent);if(t?.closest(`button,a,input,textarea,[role="button"],${x}`))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}),P.set("hovering",!0),z(!0),O(!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;
32if(!A&&Math.sqrt(u*u+d*d)>=1){O(!0);let e=C.includes("left")||C.includes("right"),t=C.includes("up")||C.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,T(e)):C.includes("left")&&C.includes("right")||C.includes("up")&&C.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&&C.includes(t)&&(Y.current=t,X.current=y(t,u,d),T(t));let m=(n=e=>e>0?e**.5:-(Math.abs(e)**.5),r=u>0&&!C.includes("right")||u<0&&!C.includes("left"),i=d>0&&!C.includes("down")||d<0&&!C.includes("up"),{x:r?n(u):u,y:i?n(d):d}),h=J.current.x,g=J.current.y,v=C.includes("left")||C.includes("right"),b=C.includes("up")||C.includes("down");"vertical"!==p&&v&&(h+=m.x),"horizontal"!==p&&b&&(g+=m.y),ec({x:h,y:g})}:void 0,onPointerUp:I?ef:void 0,onPointerCancel:I?ef:void 0,onKeyDown:function(e){"Escape"===e.key&&G.current&&(0,d.gR)(G.current,(0,d.RS)((0,o.R)(G.current)))&&P.closeToast(g.id)},inert:(0,s.Y)(g.limited),style:{...(n=N.x-L.x,f=N.y-L.y,{transition:j?"none":void 0,transform:j?`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}},eh=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:j,swipeDirection:R},ev=(0,m.o)("div",e,{ref:[t,G],state:eg,stateAttributesMapping:k,props:[em,E]});return(0,b.jsx)(c.z.Provider,{value:eh,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=>
32`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=>
32`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
32illg\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),m=n(84505),h=n(57936),g=n(90360),v=n(85871),y=n(83435),b=n(96161),k=n(73924),x=n(76786),w=n(9785),S=n(59850),$=n(13327),_=n(6280),E=n(28655),D=n(8551),C=n(78337),I=n(28410),P=n(35358),R=n(67241),T=n(79141),j=n(4868),z=n(93602),A=n(31795),O=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:G,disabled:W=!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=T.jd,highlightItemOnHover:eo=!0,children:es}=e,{clearErrors:el}=(0,P.x)(),{setDirty:eu,setTouched:ed,setFocused:ec,validityData:ef,setFilled:ep,name:em,disabled:eh,validation:eg,validationMode:ev}=(0,w.V$)(),ey=(0,$.l)({id:t}),eb=eh||W,ek=em??K,[ex,ew]=(0,u.q)({controlled:n,default:en?F??h.Ml:F,name:"Select",state:"value"}),[eS,e$]=(0,u.q)({controlled:B,default:V,name:"Select",state:"open"}),e_=r.useRef([]),eE=r.useRef([]),eD=r.useRef(null),eC=r.useRef(null),eI=r.useRef(0),eP=r.useRef(null),eR=r.useRef([]),eT=r.useRef(!1),ej=r.useRef(null),ez=r.useRef(null),eA=r.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),eO=r.useRef(!1),{mounted:eN,setMounted:eM,transitionStatus:eL}=(0,_.$)(eS),{openMethod:eF,triggerProps:eU}=(0,A.G)(eS),eB=(0,o.j)(()=>new p.H({id:ey,labelId:void 0,modal:Y,multiple:en,itemToStringLabel:er,itemToStringValue:ei,isItemEqualToValue:ea,value:ex,open:eS,mou
32nted: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,m.P)(eB,E.T.activeIndex),eZ=(0,m.P)(eB,E.T.selectedIndex),eK=(0,m.P)(eB,E.T.triggerElement),eq=(0,m.P)(eB,E.T.positionerElement),eG=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),eW=eF??eG,eH=r.useMemo(()=>en?"":(0,R.T)(ex,ei),[en,ex,ei]),eJ=r.useMemo(()=>en&&Array.isArray(ex)?ex.map(e=>(0,R.T)(e,ei)):(0,R.T)(ex,ei),[en,ex,ei]),eY=(0,f.u)(eK),eX=(0,c.K)(()=>eJ);(0,S.I)(eY,ey,ex,eX,!eb,K);let eQ=r.useRef(ex),e0=en?Array.isArray(ex)&&ex.length>0:null!=ex&&""!==eH;(0,d.g)(()=>{ep(e0)},[e0,ep]),(0,d.g)(function(){let e=ex,t=!1;if(en){let n=Array.isArray(ex)?ex:[];t=0===n.length,e=n[n.length-1]}let n=t?-1:(0,T.Vz)(eR.current,e,ea),r=-1===n?null:n;null===r&&(ez.current=null),eS||eB.set("selectedIndex",r)},[en,eS,ex,ea,eB]),(0,z.x)(ex,()=>{let e;el(ek),eu((e=ef.initialValue,Array.isArray(ex)&&Array.isArray(e)?!(0,j.B)(ex,e,(e,t)=>(0,T.tl)(e,t,ea)):ex!==e)),eg.change(ex)});let e1=(0,c.K)((e,t)=>{Z?.(e,t),!t.isCanceled&&(e$(e),e||t.reason!==C.Xn&&t.reason!==C.Np||(ed(!0),ec(!1),"onBlur"===ev&&eg.commit(ex)))}),e4=(0,c.K)(()=>{eM(!1),eB.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),ee?.(!1)});(0,I.v)({enabled:!X,open:eS,ref:eD,onComplete(){eS||e4()}}),r.useImperativeHandle(X,()=>({unmount:e4}),[e4]);let e3=(0,c.K)((e,t)=>{U?.(e,t),t.isCanceled||ew(e)}),e6=(0,c.K)(e=>{let t=(0,O.XF)(e.scrollHeight,e.clientHeight),n=(0,O.Qw)(e.scrollTop,t);eB.set("scrollUpArrowVisible",n>0),eB.set("scrollDownArrowVisible",n<t)}),e2=(0,g.P)({open:eS,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:h.Ml,onNavigate(e){(null!==e||eS)&&eB.set("activeIndex",e)},focusItemOnHover:eo}),e8=(0,k.l)(e2,{enabled:!H&&!eb&&(eS||!en),listRef:eE,activeIndex:eV,selectedIndex:eZ,disabledIndices:e=>(0,l.F)(e_.current[e]),onMatch(e){eS?eB.set("activeIndex",e):e3(eR.current[e],(0,D.d)(C.dv))},onTyping(e){eT.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??h.t0;(0,s.j)(()=>{eB.update({popupProps:tt,triggerProps:te})}),eB.useSyncedValues({id:ey,modal:Y,multiple:en,value:ex,open:eS,mounted:eN,transitionStatus:eL,popupProps:tt,triggerProps:te,items:et,itemToStringLabel:er,itemToStringValue:ei,isItemEqualToValue:ea,openMethod:eW});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:eD,scrollHandlerRef:eC,handleScrollArrowVisibility:e6,scrollArrowsMountedCountRef:eI,itemProps:tn,valueRef:eP,valuesRef:eR,labelsRef:eE,typingRef:eT,selectionRef:eA,firstItemTextRef:ej,selectedItemTextRef:ez,validation:eg,onOpenChangeComplete:ee,alignItemWithTriggerActiveRef:eO,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:ek,to=r.useMemo(()=>en&&Array.isArray(ex)&&ek?ex.map(e=>{let t=(0,R.T)(e,ei);return(0,L.jsx)("input",{type:"hidden",form:q,name:ek,value:t,disabled:eb},t)}):null,[en,ex,q,ek,ei,eb]);return(0,L.jsxs)(x.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,D.d)(C.dv,e.nativeEvent);eB.set("forceMount",!0),queueMicrotask(function(){if(en)return;let e=t.toLowerCase(),r=eR.current.findIndex(t=>(0,R.T)(t,ei).toLowerCase()===e||(0,R.yg)(t,er).toLowerCase()===e);-1===r&&(r=eR.current.findIndex((t,n)=>{let r=eE.current[n];return null!=r&&r.toLowerCase()===e}));let i=eR.current[r];null!=i&&e3(i,n)})}}),id:ey&&null==ta?`${ey}-hidden-input`:void 0,form:q,name:ta,autoComplete:G,value:eH,disabled:eb,required:J&&!(en&&e0),readOnly:H,ref:ti,style:ek?i.a:i.Q,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),to]})}}
32,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 m 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 h 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 k(e){let t,n;return b(e)+(t=b(e-1),n=b(e),b(e+1)-n==356?2:+(n-t==382))}function x(e){return k(e+1)-k(e)}function w(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=x(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 S{fromJulianDay(e){let t=e-347997,n=Math.floor((25920*t/v*19+234)/235)+1,r=k(n),i=Math.floor(t-r);for(;i<1;)i=Math.floor(t-(r=k(--n)));let o=1,s=0;for(;s<i;)s+=w(n,o),o++;let l=i-(s-=w(n,--o));return new(0,a.ng)(this,n,o,l)}toJulianDay(e){let t=k(e.year);for(let n=1;n<e.month;n++)t+=w(e.year,n);return t+e.day+347997}getDaysInMonth(e){return w(e.year,e.month)}getMonthsInYear(e){return y(e.year)?13:12}getDaysInYear(e){return x(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 $ 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(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 D(e){return(14+11*e)%30<11}class C{fromJulianDay(e){return E(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&&D(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return D(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class I extends C{fromJulianDay(e){return E(this,1948439,e)}toJulianDay(e){return _(1948439,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}function P(e){return 460322+i[e-1300]}function R(e,t){return(r[e-1300]&1<<11-(t-1))==0?29:30}function T(e,t){let n=P(e);for(let r=1;r<t;r++)n+=R(e,r);return n}function j(e){return i[e+1-1300]-i[e-1300]}class z extends C{fromJulianDay(e){let t=e-1948440,n=P(1300),r=P(1600);if(t<n||t>r)return super.fromJulianDay(e);{let e=1299,n=1,r=1;for(;r>0;){r=t-P(++e)+1;let i=j(e);if(r===i){n=12;break}if(r<i){let t=R(e,n);for(n=1;r>t;)r-=t,t=R(e,++n);break}}return new(0,a.ng)(this,e,n,t-T(e,n)+1)}}toJulianDay(e){return e.year<1300||e.year>1600?super.toJulianDay(e):1948440+T(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<1300||e.year>1600?super.getDaysInMonth(e):R(e.year,e.month)}getDaysInYear(e){return e.year<1300||e.year>1600?super.getDaysInYear(e):j(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+=R(t,n)}}}}let A=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],O=[[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=A.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?A.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=O[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]=A[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=A[t],r=A[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}
32getMinimumDayInMonth(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 A[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 G 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(W(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(W(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:8088}constructor(...e){super(...e),this.identifier="roc"}}function W(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 m;case"coptic":return new h;case"hebrew":return new S;case"indian":return new $;case"islamic-civil":return new C;case"islamic-tbla":return new I;case"islamic-umalqura":return new z;case"japanese":return new U;case"persian":return new Z;case"roc":return new G;default:return new(0,o.FG)}}},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")}
32,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:()=>W,ZL:()=>G,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),m=n(39739),h=n(89360),g=n(66825),v=n(42888),y=n(62812),b=n(94799),k="Popover",[x,w]=(0,o.A)(k,[c.Bk]),S=(0,c.Bk)(),[$,_]=x(k),E=e=>{let{__scopePopover:t,children:n,open:i,defaultOpen:a,onOpenChange:o,modal:s=!1}=e,l=S(t),u=r.useRef(null),[f,p]=r.useState(!1),[m,h]=(0,g.i)({prop:i,defaultProp:a??!1,onChange:o,caller:k});return(0,b.jsx)(c.bL,{...l,children:(0,b.jsx)($,{scope:t,contentId:(0,d.B)(),triggerRef:u,open:m,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:r.useCallback(()=>p(!0),[]),onCustomAnchorRemove:r.useCallback(()=>p(!1),[]),modal:s,children:n})})};E.displayName=k;var D="PopoverAnchor",C=r.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,a=_(D,n),o=S(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=a;return r.useEffect(()=>(s(),()=>l()),[s,l]),(0,b.jsx)(c.Mz,{...o,...i,ref:t})});C.displayName=D;var I="PopoverTrigger",P=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=_(I,n),s=S(n),l=(0,a.s)(t,o.triggerRef),u=(0,b.jsx)(m.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})});P.displayName=I;var R="PopoverPortal",[T,j]=x(R,{forceMount:void 0}),z=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=_(R,t);return(0,b.jsx)(T,{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})})})};z.displayName=R;var A="PopoverContent",O=r.forwardRef((e,t)=>{let n=j(A,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=_(A,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})})});O.displayName=A;var N=(0,h.TL)("PopoverContent.RemoveScroll"),M=r.forwardRef((e,t)=>{let n=_(A,e.__scopePopover),o=r.useRef(null),s=(0,a.s)(t,o),l=r.useRef(!1);return r.useEffect(()=>{let e=o.current;
32if(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=_(A,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:m,...h}=e,g=_(A,n),v=S(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:m,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,...h,ref:t,style:{...h.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)(m.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=S(n);return(0,b.jsx)(c.i3,{...i,...r,ref:t})}).displayName="PopoverArrow";var Z=E,K=C,q=P,G=z,W=O,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}}
32,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:()=>m});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 m=r.forwardRef(function(e,t){let{className:n,defaultValue:m=0,onValueChange:v,orientation:y="horizontal",render:b,value:k,style:x,...w}=e,S=void 0!==e.defaultValue,$=r.useRef([]),[_,E]=r.useState(()=>new Map),[D,C]=(0,i.q)({controlled:k,default:m,name:"Tabs",state:"value"}),I=void 0!==k,[P,R]=r.useState(()=>new Map),T=r.useRef(void 0),j=r.useCallback(e=>h(P,e),[P]),[z,A]=r.useState(()=>({previousValue:D,tabActivationDirection:"none"})),{previousValue:O,tabActivationDirection:N}=z,M=N,L=!1;O!==D&&(M=g(O,D,y,P),L=null!=O&&null!=D&&null==j(D));let F=L?O:D,U=O!==F||N!==M;(0,a.g)(()=>{U&&A({previousValue:F,tabActivationDirection:M})},[F,U,M]);let B=(0,o.K)((e,t)=>{t.activationDirection=g(D,e,y,P),v?.(e,t),t.isCanceled||C(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)=>(E(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{E(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 P.values())if(e===t.value)return t.id},[P]),G=r.useMemo(()=>({getTabElementBySelectedValue:j,getTabIdByPanelValue:q,getTabPanelIdByValue:K,onValueChange:B,orientation:y,registerMountedTabPanel:Z,setTabMap:R,tabActivationDirection:M,value:D}),[j,q,K,B,y,Z,R,M,D]),W=r.useMemo(()=>{for(let e of P.values())if(e.value===D)return e},[P,D]),H=r.useMemo(()=>{for(let e of P.values())if(!e.disabled)return e.value},[P]),J=r.useRef(!S),Y=r.useRef(m),X=r.useRef(S),Q=r.useRef(!1);(0,a.g)(()=>{if(I)return;function e(e,t){C(e),A({previousValue:e,tabActivationDirection:"none"}),V(e,t),J.current=!1}if(0===P.size){Q.current&&null!==D&&!T.current?.isConnected&&e(null,f.c);return}Q.current=!0,T.current=P.keys().next().value;let t=W?.disabled,n=null==W&&null!==D;if(t||D!==Y.current||(X.current=!1),X.current&&t&&D===Y.current)return;let r=J.current;if(t||n){let n=H??null;if(D===n){J.current=!1;return}let i=f.c;r?i=f.Vh:t&&(i=f.r9),e(n,i);return}r&&null!=W&&(V(D,f.Vh),J.current=!1)},[H,I,V,W,C,P,D]);let ee={orientation:y,tabActivationDirection:M},et=(0,s.o)("div",e,{state:ee,ref:t,props:w,stateAttributesMapping:d.h});return(0,p.jsx)(u.G.Provider,{value:G,children:(0,p.jsx)(l.u,{elementsRef:$,children:et})})});function h(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=h(r,e),l=h(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:()=>m,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]=m(e.className,i);break;default:u(n,i)?e[n]=function(e,t){return t?e?(...n)=>{let r=n[0];if(h(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 h(n)&&p(n),e(...t)}:e}function p(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function m(e,t){return t?e?t+" "+e:t:e}function h(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
32: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:()=>R,bL:()=>C,l9:()=>P});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",[m,h]=(0,a.A)(p,[o.RG]),g=(0,o.RG)(),[v,y]=m(p),b=r.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o="horizontal",dir:s,activationMode:m="automatic",...h}=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:m,children:(0,f.jsx)(l.sG.div,{dir:g,"data-orientation":o,...h,ref:t})})});b.displayName=p;var k="TabsList",x=r.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=y(k,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})})});x.displayName=k;var w="TabsTrigger",S=r.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:a=!1,...s}=e,u=y(w,n),d=g(n),c=E(u.baseId,r),p=D(u.baseId,r),m=r===u.value;return(0,f.jsx)(o.q7,{asChild:!0,...d,focusable:!a,active:m,children:(0,f.jsx)(l.sG.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":p,"data-state":m?"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;m||a||!e||u.onValueChange(r)})})})});S.displayName=w;var $="TabsContent",_=r.forwardRef((e,t)=>{let{__scopeTabs:n,value:i,forceMount:a,children:o,...u}=e,d=y($,n),c=E(d.baseId,i),p=D(d.baseId,i),m=i===d.value,h=r.useRef(m);return r.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(s.C,{present:a||m,children:({present:n})=>(0,f.jsx)(l.sG.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":c,hidden:!n,id:p,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:n&&o})})});function E(e,t){return`${e}-trigger-${t}`}function D(e,t){return`${e}-content-${t}`}_.displayName=$;var C=b,I=x,P=S,R=_},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");
32return 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:m}=e,h=r.useRef(null),g=(0,l.G)(!0),v=m??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=h.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),m="Enter"===e.key,h=" "===e.key,g=a.getAttribute("role"),y=g?.startsWith("menuitem")||"option"===g||"gridcell"===g;if(r&&v&&h){if(e.defaultPrevented&&y)return;e.preventDefault(),(!p||l)&&(e.preventBaseUIHandler(),(0,u.B)(a,e));return}if(!f||p||!h&&!m){r&&d&&h&&e.preventDefault();return}!e.defaultPrevented&&(e.preventDefault(),m&&(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=>{h.current=e,b()})}}function c(e){return(0,i.sb)(e)&&"BUTTON"===e.tagName}},69096:(e,t,n)=>{"use strict";n.d(t,{RG:()=>x,bL:()=>P,q7:()=>R});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),m="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,a.N)(g),[k,x]=(0,s.A)(g,[b]),[w,S]=k(g),$=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})})}));$.displayName=g;var _=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:s=!1,dir:l,currentTabStopId:v,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:k,onEntryFocus:x,preventScrollOnEntryFocus:S=!1,...$}=e,_=r.useRef(null),E=(0,o.s)(t,_),D=(0,f.jH)(l),[C,P]=(0,c.i)({prop:v,defaultProp:b??null,onChange:k,caller:g}),[R,T]=r.useState(!1),j=(0,d.c)(x),z=y(n),A=r.useRef(!1),[O,N]=r.useState(0);return r.useEffect(()=>{let e=_.current;if(e)return e.addEventListener(m,j),()=>e.removeEventListener(m,j)},[j]),(0,p.jsx)(w,{scope:n,orientation:a,dir:D,loop:s,currentTabStopId:C,onItemFocus:r.useCallback(e=>P(e),[P]),onItemShiftTab:r.useCallback(()=>T(!0),[]),onFocusableItemAdd:r.useCallback(()=>N(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>N(e=>e-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:R||0===O?-1:0,"data-orientation":a,...$,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!R){let t=new CustomEvent(m,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=z().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>
32e.id===C),...e].filter(Boolean).map(e=>e.ref.current),S)}}A.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>T(!1))})})}),E="RovingFocusGroupItem",D=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:o=!1,tabStopId:s,children:d,...c}=e,f=(0,l.B)(),m=s||f,h=S(E,n),g=h.currentTabStopId===m,b=y(n),{onFocusableItemAdd:k,onFocusableItemRemove:x,currentTabStopId:w}=h;return r.useEffect(()=>{if(a)return k(),()=>x()},[a,k,x]),(0,p.jsx)(v.ItemSlot,{scope:n,id:m,focusable:a,active:o,children:(0,p.jsx)(u.sG.span,{tabIndex:g?0:-1,"data-orientation":h.orientation,...c,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{a?h.onItemFocus(m):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>h.onItemFocus(m)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.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 C[i]}(e,h.orientation,h.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=h.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!=w}):d})})});D.displayName=E;var C={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 P=$,R=D},69124:(e,t,n)=>{"use strict";let r;n.d(t,{xC:()=>U,x6:()=>z,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!--"),m=l+s.length,h=e.charAt(m);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||!h||"<"===h||n.children.push({type:"text",content:e.slice(m,e.indexOf("<",m))}),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&&"<"!==h&&h)){d=-1===a?r:i[a].children;var v=e.indexOf("<",m),y=e.slice(m,-1===v?void 0:v);c.test(y)&&(y=" "),(v>-1&&a+d.length>=0||" "!==y)&&d.push({type:"text",content:y})}}),r},m=(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);k(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},h={},g=(e,t,n,r)=>{k(n)&&h[n]||(k(n)&&(h[n]=new Date),m(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(k(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return y(e,n,r);
32n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,v(e,r))},k=e=>"string"==typeof e,x=e=>"object"==typeof e&&null!==e,w=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,S={"&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=>S[e],_=e=>e.replace(w,$),E={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:_,transDefaultProps:void 0},D=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},C=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],P=(e,t,n,r)=>{if(!e)return"";let a="",o=I(e),s=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return o.forEach((e,o)=>{if(k(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&&k(c)){a+=`<${l}>${c}</${l}>`;return}let f=P(c,t,n,r);a+=`<${o}>${f}</${o}>`;return}if(null===e)return void m(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:r});if(x(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}m(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:r,child:e});return}m(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:r,child:e})}),a},R=(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})},T=(0,i.createContext)();class j{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function z({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:l={},values:u,defaults:d,components:c,ns:f,i18n:m,t:h,shouldUnescape:v,...y}){let{i18n:b,defaultNS:w}=(0,i.useContext)(T)||{},S=m||b||r,$=h||S?.t.bind(S);return function({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:l={},values:u,defaults:d,components:c,ns:f,i18n:m,t:h,shouldUnescape:v,...y}){let b=m||r;if(!b)return g(b,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:o}),e;let w=h||b.t.bind(b)||(e=>e),S={...E,...b.options?.react},$=f||w.ns||b.options?.defaultNS;$=k($)?[$]:$||["translation"];let{transDefaultProps:T}=S,j=T?.tOptions?{...T.tOptions,...l}:l,z=v??T?.shouldUnescape,A=T?.values?{...T.values,...u}:u,O=T?.components?{...T.components,...c}:c,N=P(e,S,b,o),M=d||j?.defaultValue||N||S.transEmptyNodeValue||("function"==typeof o?(0,a.Rm)(o):o),{hashTransKey:L}=S,F=o||(L?L(N||M):N||M);u=b.options?.interpolation?.defaultVariables?A&&Object.keys(A).length>0?{...A,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables}:A;let U=(e=>{let t={};if(!e)return t;let n=e=>{I(e).forEach(e=>{k(e)||(D(e)?n(C(e)):x(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:{...j.interpolation,prefix:"#$?",suffix:"?$#"}}:j.interpolation,V={...j,context:s||j.context,count:t,...u,...B,defaultValue:M,ns:$},Z=F?w(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)=>R(e,n,t));if(x(e)){let n;return n={},Object.keys(e).forEach(r=>{Object.assign(n,{[r]:R(e[r],r,t)})}),n}return g(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null})(O,Z,b,o),q=K||e,G=null;!(!x(K)||Array.isArray(K))&&Object.keys(K).reduce((e,t)=>
32e&&Number.isNaN(Number.parseFloat(t)),!0)&&(G=K,q=e);let W=((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=>{k(e)||(D(e)?c(C(e)):x(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),m=p(`<0>${f}</0>`),h={...d,...o},g=(e,t,n)=>{let r=C(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,h,r.language);if("tag"===n.type){var p,m;let b,w=d[parseInt(n.name,10)];!w&&t&&(w=t[n.name]),1!==o.length||w||(w=o[0][n.name]),w||(w={});let S={...n.attrs};s&&Object.keys(S).forEach(e=>{let t=S[e];k(t)&&(S[e]=_(t))});let $=0!==Object.keys(S).length?(p={props:S},(b={...m=w}).props={...m.props,...p.props},b):w,E=(0,i.isValidElement)($),C=E&&D(n,!0)&&!n.voidElement,I=u&&x($)&&$.dummy&&!E,P=x(t)&&Object.hasOwnProperty.call(t,n.name);if(k($)){let t=r.services.interpolator.interpolate($,h,r.language);e.push(t)}else if(D($)||C){let t=g($,n,o);v($,t,e,c)}else if(I)v($,y(d,n.children,o),e,c);else if(Number.isNaN(parseFloat(n.name)))if(P){let t=g($,n,o);v($,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(x($)&&!E){let t=n.children[0]?f:null;t&&e.push(t)}else v($,f,e,c,1!==n.children.length||!f)}else if("text"===n.type){let t=a.transWrapTextNodes,o="function"==typeof a.unescape?a.unescape:E.unescape,l=s?o(r.services.interpolator.interpolate(n.content,h,r.language)):r.services.interpolator.interpolate(n.content,h,r.language);t?e.push((0,i.createElement)(t,{key:`${n.name}-${c}`},l)):e.push(l)}return e},[])};return C(y([{dummy:!0,children:e||[]}],m,I(e||[]))[0])})(q,G,Z,b,S,V,z),H=n??S.defaultTransParent;return H?(0,i.createElement)(H,y,W):W}({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:l,values:u,defaults:d,components:c,ns:f||$?.ns||w||S?.options?.defaultNS,i18n:S,t:h,shouldUnescape:v,...y})}let A={"&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;
32":"Ζ","&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;":"ℵ"},O=RegExp(Object.keys(A).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var N=n(71289);let M={t:(e,t)=>k(t)?t:x(t)&&k(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)(T)||{},s=n||a||r;s&&!s.reportNamespaces&&(s.reportNamespaces=new j),s||g(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let l=(0,i.useMemo)(()=>({...E,...s?.options?.react,...t}),[s,t]),{useSuspense:u,keyPrefix:d}=l,c=e||o||s?.options?.defaultNS,f=k(c)?[c]:c||["translation"],p=(0,i.useMemo)(()=>f,f);s?.reportNamespaces?.addUsedNamespaces?.(p);let m=(0,i.useRef)(0),h=(0,i.useCallback)(e=>{if(!s)return L;let{bindI18n:t,bindI18nStore:n}=l,r=()=>{m.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)(),x=(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=m.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]),[w,S]=(0,i.useState)(0),{t:$,ready:_}=(0,N.useSyncExternalStore)(h,x,x);(0,i.useEffect)(()=>{if(s&&!_&&!u){let e=()=>S(e=>e+1);t.lng?b(s,t.lng,p,e):y(s,p,e)}},[s,t.lng,p,_,u,w]);let D=s||{},C=(0,i.useRef)(null),I=(0,i.useRef)(),P=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},R=(0,i.useMemo)(()=>{let e=D?.language,t=D;D&&(C.current&&C.current.__original===D?I.current!==e?(C.current=t=P(D),I.current=e):t=C.current:(C.current=t=P(D),I.current=e));let n=[$,t,_];return n.t=$,n.i18n=t,n.ready=_,n},[$,D,_,D.resolvedLanguage,D.language,D.languages]);if(s&&u&&!_)throw new Promise(e=>{let n=()=>e();t.lng?b(s,t.lng,p,n):y(s,p,n)});return R};function U({i18n:e,defaultNS:t,children:n}){let r=(0,i.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,i.createElement)(T.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),m=n(78638),h=n(35303),g=n(79342),v=n(62165),y=n(97057),b=n(91352),k=n(64014),x=n(3768),w=n(8551),S=n(78337),$=n(63389),_=n(82391);let E={inert:new WeakMap,"aria-hidden":new WeakMap},D="data-base-ui-inert",C={inert:new WeakSet,"aria-hidden":new WeakSet},I=new WeakMap,P=0,R=(e,t)=>t.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),T=e=>{let t=new Set;
32return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},j=(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 z(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:i=!0}=t,a=(0,m.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=R(t,e),u=i?j(t,T(l),new Set(l)):[],d=[],c=[];if(a){let e=E[a],n=C[a];s=n,o=e;let r=R(t,Array.from(t.querySelectorAll("[aria-live]"))),i=l.concat(r);j(t,T(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(D,"")}),P+=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(D)}),(P-=1)||(E.inert=new WeakMap,E["aria-hidden"]=new WeakMap,C.inert=new WeakSet,C["aria-hidden"]=new WeakSet,I=new WeakMap)}}(e,a,n,r,{mark:i})}var A=n(55240),O=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:E=!1,initialFocus:D=!0,returnFocus:C=!0,restoreFocus:I=!1,modal:P=!0,closeOnFocusOut:R=!0,openInteractionType:T="",nextFocusableElement:j,previousFocusableElement:F,beforeContentFocusGuardRef:K,externalTree:q,getInsideElements:G}=e,W="rootStore"in t?t.rootStore:t,H=W.useState("open"),J=W.useState("domReferenceElement"),Y=W.useState("floatingElement"),{events:X,dataRef:Q}=W.context,ee=(0,u.K)(()=>Q.current.floatingContext?.nodeId),et=(0,v.WZ)(J)&&!1===D,en=(0,l.u)(D),er=(0,l.u)(C),ei=(0,l.u)(T),ea=(0,l.u)(H),eo=(0,O.cq)(q),es=(0,A.vB)(),el=r.useRef(!1),eu=r.useRef(!1),ed=r.useRef(!1),ec=r.useRef(null),ef=r.useRef(""),ep=r.useRef(""),em=r.useRef(null),eh=r.useRef(null),eg=(0,s.a)(em,K,es?.beforeInsideRef),ev=(0,s.a)(eh,es?.afterInsideRef),ey=(0,c.Z)(),eb=(0,c.Z)(),ek=(0,p.NR)(),ex=null!=es,ew=(0,v.nd)(Y),eS=(0,u.K)((e=ew)=>e?(0,b.Kr)(e):[]),e$=(0,u.K)(()=>G?.().filter(e=>null!=e)??[]);r.useEffect(()=>{if(E||!P)return;let e=(0,m.R)(ew);return(0,a.q)(e,"keydown",function(e){"Tab"===e.key&&(0,g.gR)(ew,(0,g.RS)((0,m.R)(ew)))&&0===eS().length&&!et&&(0,y.jo)(e)})},[E,ew,P,et,eS]),r.useEffect(()=>{if(E||!H)return;let e=(0,m.R)(ew);function t(){ed.current=!1}return(0,o.g)((0,a.q)(e,"pointerdown",function(e){let t=(0,g.EW)(e),n=e$();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)},[E,Y,J,ew,H,es,eb,e$]),r.useEffect(()=>{if(E||!R)return;let e=(0,m.R)(ew);function t(t){let n=t.relatedTarget,r=t.currentTarget,a=(0,g.EW)(t);P&&null==n&&null!=a&&(0,g.gR)(Y,a)&&B(a),queueMicrotask(()=>{let o=ee(),s=W.context.triggerElements,l=e$(),u=n?.hasAttribute((0,$.F)("focus-guard"))&&[em.current,eh.current,es?.beforeInsideRef.current,es?.afterInsideRef.current,es?.beforeOutsideRef.current,es?.afterOutsideRef.current,(0,M.q)(F),(0,M.q)(j)].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=>
32e===n||(0,g.gR)(e,n))||s.hasMatchingElement(e=>(0,g.gR)(e,n))||u||eo&&((0,k.CM)(eo.nodesRef.current,o).find(e=>(0,g.gR)(e.context?.elements.floating,n)||(0,g.gR)(e.context?.elements.domReference,n))||(0,k.$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&&ew&&Z(ew),I&&r!==J&&!(0,x.J9)(a)&&(0,g.RS)(e)===e.body){if((0,i.sb)(ew)&&(ew.focus(),"popup"===I))return void ek.request(()=>{ew.focus()});let e=eS(),t=ec.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||ew;(0,i.sb)(n)&&n.focus()}if(Q.current.insideReactTree){Q.current.insideReactTree=!1;return}(et||!P)&&n&&d&&!eu.current&&(et||n!==V())&&(el.current=!0,W.setOpen(!1,(0,w.d)(S.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))},[E,J,Y,ew,P,eo,es,W,R,I,eS,et,ee,Q,ey,eb,ek,j,F,e$]),r.useEffect(()=>{if(E||!Y||!H)return;let e=Array.from(es?.portalNode?.querySelectorAll(`[${(0,$.F)("portal")}]`)||[]),t=eo?(0,k.$4)(eo.nodesRef.current,ee()):[],n=t.find(e=>(0,v.WZ)(e.context?.elements.domReference||null))?.context?.elements.domReference,r=z([Y,...e,em.current,eh.current,es?.beforeOutsideRef.current,es?.afterOutsideRef.current,...e$(),n,(0,M.q)(F),(0,M.q)(j),et?J:null].filter(e=>null!=e),{ariaHidden:P||et,mark:!1}),i=z([Y,...e].filter(e=>null!=e));return()=>{i(),r()}},[H,E,J,Y,P,es,et,eo,ee,j,F,e$]),(0,d.g)(()=>{if(!H||E||!(0,i.sb)(ew))return;ef.current="",ep.current="";let e=(0,m.R)(ew),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)(ew,t))return;let a=null,o=()=>(null==a&&(a=eS(ew)),a[0]||ew);n=(n=!0===i||null===i?o():(0,M.q)(i))||o();let s=(0,g.gR)(ew,(0,g.RS)(e));(0,_.p)(n,{preventScroll:n===ew,shouldFocus(){if(!ea.current)return!1;if(s)return!0;let t=(0,g.RS)(e);return!(t!==n&&(0,g.gR)(ew,t))}})})},[E,H,ew,eS,en,ei,ea]),(0,d.g)(()=>{if(E||!ew)return;let e=(0,m.R)(ew),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===S.N7&&"mouseleave"===e.nativeEvent.type&&(el.current=!0),e.reason===S.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,m.R)(ew).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=e$(),s=(0,g.gR)(Y,a)||o.some(e=>e===a||(0,g.gR)(e,a))||eo&&(0,k.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})}},[E,Y,ew,er,ei,X,eo,J,ee,e$]),(0,d.g)(()=>{if(!f.Fp||H||!Y)return;let e=(0,g.RS)((0,m.R)(Y));(0,i.sb)(e)&&(0,v.$u)(e)&&(0,g.gR)(Y,e)&&e.blur()},[H,Y]),(0,d.g)(()=>{if(!E&&es)return es.setFocusManagerState({modal:P,closeOnFocusOut:R,open:H,onOpenChange:W.setOpen,domReference:J}),()=>{es.setFocusManagerState(null)}},[E,es,P,H,W,R,J]),(0,d.g)(()=>{if(!E&&ew)return Z(ew),()=>{queueMicrotask(U)}},[E,ew]);let e_=!E&&(!P||!et)&&(ex||P);return(0,L.jsxs)(r.Fragment,{children:[e_&&(0,L.jsx)(h.U,{"data-type":"inside",ref:eg,onFocus:e=>{if(P){let e=eS();(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)(h.U,{"data-type":"inside",ref:ev,onFocus:e=>{if(P)(0,_.p)(eS()[0]);else if(es?.portalNode)if(R&&(el.current=!0),(0,b.Qp)(e,es.portalNode)){let e=(0,b.XJ)(J);e?.focus()}else(0,M.q)(j??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),
32c=(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:m,removeAllGlobalListeners:h}=(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,h(),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,m((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,m,h]);return(0,o.useEffect)(()=>{u&&v({currentTarget:p.target},p.pointerType)},[u]),{hoverProps:g,isHovered:c}}},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:()=>m,es:()=>h,fa:()=>g,fi:()=>v,fr:()=>y,frCA:()=>b,he:()=>k,hu:()=>x,hy:()=>$,id:()=>_,is:()=>E,it:()=>D,ja:()=>C,ka:()=>I,kh:()=>R,km:()=>P,ko:()=>T,lt:()=>A,mk:()=>O,ms:()=>N,nl:()=>M,no:()=>L,ota:()=>F,pl:()=>B,ps:()=>U,pt:()=>V,ru:()=>K,sl:()=>q,sv:()=>G,ta:()=>W,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=>
32{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,", ")}`;
32case"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=>
32{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()}`}
32case"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=>
32{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,", ")}`;
32case"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 m(){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 h(){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
32:"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()} باشد`}
32case"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=>
32{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])}`;
32return`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 k(){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;
32if(/^[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 x(){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=>
32{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 w(e,t,n){return 1===Math.abs(e)?t:n}function S(e){if(!e)return"";let t=e[e.length-1];return e+(["ա","ե","ը","ի","ո","ու","օ"].includes(t)?"ն":"ը")}function $(){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=w(Number(i.maximum),n.unit.one,n.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${S(i.origin??"արժեք")} կունենա ${t}${i.maximum.toString()} ${e}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${S(i.origin??"արժեք")} լինի ${t}${i.maximum.toString()}`}case"too_small":{let t=i.inclusive?">=":">",n=e[i.origin]??null;if(n){let e=w(Number(i.minimum),n.unit.one,n.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${S(i.origin)} կունենա ${t}${i.minimum.toString()} ${e}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${S(i.origin)} լինի ${t}${i.minimum.toString()}`}
32case"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`Սխալ բանալի ${S(i.origin)}-ում`;case"invalid_union":default:return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${S(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 E(){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=>
32{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 D(){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,", ")}`;
32case"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 C(){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=>
32{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 P(){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}`}
32case"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 R(){return P()}function T(){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}`}
32case"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 j=e=>e.charAt(0).toUpperCase()+e.slice(1);function z(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 A(){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,z(Number(e.maximum)),e.inclusive??!1,"smaller");if(r?.verb)return`${j(n??e.origin??"reikšmė")} ${r.verb} ${e.maximum.toString()} ${r.unit??"elementų"}`;let a=e.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${j(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,z(Number(e.minimum)),e.inclusive??!1,"bigger");if(r?.verb)return`${j(n??e.origin??"reikšmė")} ${r.verb} ${e.minimum.toString()} ${r.unit??"elementų"}`;let a=e.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${j(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,", ")}`;
32case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":default:return"Klaidinga įvestis";case"invalid_element":{let t=i[e.origin]??e.origin;return`${j(t??e.origin??"reikšmė")} turi klaidingą įvestį`}}}})()}}function O(){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}`}
32case"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=>
32{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.`;
32case"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,"|")}`;
32case"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=>
32{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()}`}
32case"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 G(){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 W(){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 வரம்ப
32ு",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=>
32{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,"|")}`;
32case"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`Неправильне число: повинно бути Ð
32ºÑ€Ð°Ñ‚ним ${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"}
32,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
32oinValues(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()}`}
32case"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:()=>$,BU:()=>f,C0:()=>y,CN:()=>j,CX:()=>B,Cv:()=>x,Df:()=>K,Ec:()=>P,Fl:()=>v,GC:()=>z,H1:()=>w,In:()=>c,Kj:()=>k,NV:()=>g,NX:()=>h,Q9:()=>L,RH:()=>m,SW:()=>o,Tr:()=>Z,Wg:()=>s,Y8:()=>u,Yv:()=>b,aw:()=>S,bl:()=>q,bq:()=>_,cR:()=>O,cY:()=>I,dO:()=>l,fg:()=>d,fs:()=>F,iC:()=>R,i_:()=>T,jq:()=>D,mh:()=>N,vn:()=>p,xi:()=>E,yq:()=>A,zH:()=>C});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")},m=(e,t,n,r)=>{n.not={}},h=(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];
32n.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},k=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},x=(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},w=(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)},S=(e,t,n,r)=>{n.type="boolean"},$=(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=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},D=(e,t,n,r)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},C=(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"]})},P=(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)},R=(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},T=(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]]},j=(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)},z=(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)}},A=(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"}]},O=(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;
32(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:m,any:h,unknown:g,date:v,enum:y,literal:b,nan:k,template_literal:x,file:w,success:S,custom:$,function:_,transform:E,map:D,set:C,array:I,object:P,union:R,intersection:T,tuple:j,record:z,nullable:A,nonoptional:O,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={};
32for(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)},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:()=>tW,$ZodCIDRv4:()=>tO,$ZodCIDRv6:()=>tN,$ZodCUID:()=>t$,$ZodCUID2:()=>t_,$ZodCatch:()=>nP,$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:()=>nz,$ZodCustom:()=>nV,$ZodCustomStringFormat:()=>tK,$ZodDate:()=>t6,$ZodDefault:()=>n$,$ZodDiscriminatedUnion:()=>no,$ZodE164:()=>tB,$ZodEmail:()=>tk,$ZodEmoji:()=>tw,$ZodEncodeError:()=>u,$ZodEnum:()=>ng,$ZodError:()=>m,$ZodExactOptional:()=>nw,$ZodFile:()=>ny,$ZodFunction:()=>nF,$ZodGUID:()=>ty,$ZodIPv4:()=>tj,$ZodIPv6:()=>tz,$ZodISODate:()=>tP,$ZodISODateTime:()=>tI,$ZodISODuration:()=>tT,$ZodISOTime:()=>tR,$ZodIntersection:()=>ns,$ZodJWT:()=>tZ,$ZodKSUID:()=>tC,$ZodLazy:()=>nB,$ZodLiteral:()=>nv,$ZodMAC:()=>tA,$ZodMap:()=>nf,$ZodNaN:()=>nR,$ZodNanoID:()=>tS,$ZodNever:()=>t4,$ZodNonOptional:()=>nD,$ZodNull:()=>tQ,$ZodNullable:()=>nS,$ZodNumber:()=>tq,$ZodNumberFormat:()=>tG,$ZodObject:()=>ne,$ZodObjectJIT:()=>nt,$ZodOptional:()=>nx,$ZodPipe:()=>nT,$ZodPrefault:()=>nE,$ZodPromise:()=>nU,$ZodReadonly:()=>nN,$ZodRealError:()=>h,$ZodRecord:()=>nc,$ZodRegistry:()=>nq.rs,$ZodSet:()=>nm,$ZodString:()=>tg,$ZodStringFormat:()=>tv,$ZodSuccess:()=>nI,$ZodSymbol:()=>tY,$ZodTemplateLiteral:()=>nL,$ZodTransform:()=>nb,$ZodTuple:()=>nu,$ZodType:()=>th,$ZodULID:()=>tE,$ZodURL:()=>tx,$ZodUUID:()=>tb,$ZodUndefined:()=>tX,$ZodUnion:()=>nr,$ZodUnknown:()=>t1,$ZodVoid:()=>t3,$ZodXID:()=>tD,$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:()=>rw,_boolean:()=>rk,_catch:()=>iw,_check:()=>iR,_cidrv4:()=>rn,_cidrv6:()=>rr,_coercedBigint:()=>rS,_coercedBoolean:()=>rx,_coercedDate:()=>rz,_coercedNumber:()=>rm,_coercedString:()=>nW,_cuid:()=>n6,_cuid2:()=>n2,_custom:()=>iC,_date:()=>rj,_decode:()=>R,_decodeAsync:()=>A,_default:()=>ib,_discriminatedUnion:()=>ia,_e164:()=>ro,_email:()=>nH,_emoji:()=>n4,_encode:()=>I,_encodeAsync:()=>j,_endsWith:()=>r4,_enum:()=>ic,_file:()=>ih,_float32:()=>rg,_float64:()=>rv,_gt:()=>rM,_gte:()=>rL,_guid:()=>nJ,_includes:()=>r0,_int:()=>rh,_int32:()=>ry,_int64:()=>r$,_intersection:()=>io,_ipv4:()=>n8,_ipv6:()=>re,_isoDate:()=>rd,_isoDateTime:()=>ru,_isoDuration:()=>rf,_isoTime:()=>rc,_jwt:()=>rs,_ksuid:()=>n7,_lazy:()=>iE,_length:()=>rJ,_literal:()=>im,_lowercase:()=>rX,_lt:()=>rO,_lte:()=>rN,_mac:()=>rt,_map:()=>iu,_max:()=>rN,_maxLength:()=>rW,_maxSize:()=>rK,_mime:()=>r6,_min:()=>rL,_minLength:()=>rH,_minSize:()=>rq,_multipleOf:()=>rZ,_nan:()=>rA,_nanoid:()=>n3,_nativeEnum:()=>ip,_negative:()=>rU,_never:()=>rR,_nonnegative:()=>rV,_nonoptional:()=>ik,_nonpositive:()=>rB,_normalize:()=>r9,_null:()=>rC,_nullable:()=>iy,_number:()=>rp,_optional:()=>iv,_overwrite:()=>r2,_parse:()=>x,_parseAsync:()=>S,_pipe:()=>iS,_positive:()=>rF,_promise:()=>iD,_property:()=>r3,_readonly:()=>i$,_record:()=>il,_refine:()=>iI,_regex:()=>rY,_safeDecode:()=>L,_safeDecodeAsync:()=>V,_safeEncode:()=>N,_safeEncodeAsync:()=>U,_safeParse:()=>_,_safeParseAsync:()=>D,_set:()=>id,_size:()=>rG,_slugify:()=>ie,_startsWith:()=>r1,_string:()=>nG,_stringFormat:()=>iA,_stringbool:()=>iz,_success:()=>ix,_superRefine:()=>iP,_symbol:()=>
32rE,_templateLiteral:()=>i_,_toLowerCase:()=>r7,_toUpperCase:()=>r8,_transform:()=>ig,_trim:()=>r5,_tuple:()=>is,_uint32:()=>rb,_uint64:()=>r_,_ulid:()=>n9,_undefined:()=>rD,_union:()=>ir,_unknown:()=>rP,_uppercase:()=>rQ,_url:()=>n1,_uuid:()=>nY,_uuidv4:()=>nX,_uuidv6:()=>nQ,_uuidv7:()=>n0,_void:()=>rT,_xid:()=>n5,_xor:()=>ii,clone:()=>f.clone,config:()=>c,createStandardJSONSchemaMethod:()=>iO.uE,createToJSONSchemaMethod:()=>iO.OA,decode:()=>T,decodeAsync:()=>O,describe:()=>iT,encode:()=>P,encodeAsync:()=>z,extractDefs:()=>iO.Wb,finalize:()=>iO.jE,flattenError:()=>g,formatError:()=>v,globalConfig:()=>d,globalRegistry:()=>nq.fd,initializeContext:()=>iO.az,isValidBase64:()=>tM,isValidBase64URL:()=>tF,isValidJWT:()=>tV,locales:()=>nK,meta:()=>ij,parse:()=>w,parseAsync:()=>$,prettifyError:()=>k,process:()=>iO.eh,regexes:()=>r,registry:()=>nq.u5,safeDecode:()=>F,safeDecodeAsync:()=>Z,safeEncode:()=>M,safeEncodeAsync:()=>B,safeParse:()=>E,safeParseAsync:()=>C,toDotPath:()=>b,toJSONSchema:()=>iN.bl,treeifyError:()=>y,util:()=>f,version:()=>tm});var r={};n.r(r),n.d(r,{base64:()=>eg,base64url:()=>ev,bigint:()=>eD,boolean:()=>eP,browserEmail:()=>eu,cidrv4:()=>em,cidrv6:()=>eh,cuid:()=>K,cuid2:()=>q,date:()=>ew,datetime:()=>e_,domain:()=>eb,duration:()=>Y,e164:()=>ek,email:()=>ei,emoji:()=>ed,extendedDuration:()=>X,guid:()=>Q,hex:()=>eA,hostname:()=>ey,html5Email:()=>ea,idnEmail:()=>el,integer:()=>eC,ipv4:()=>ec,ipv6:()=>ef,ksuid:()=>H,lowercase:()=>ej,mac:()=>ep,md5_base64:()=>eL,md5_base64url:()=>eF,md5_hex:()=>eM,nanoid:()=>J,null:()=>eR,number:()=>eI,rfc5322Email:()=>eo,sha1_base64:()=>eB,sha1_base64url:()=>eV,sha1_hex:()=>eU,sha256_base64:()=>eK,sha256_base64url:()=>eq,sha256_hex:()=>eZ,sha384_base64:()=>eW,sha384_base64url:()=>eH,sha384_hex:()=>eG,sha512_base64:()=>eY,sha512_base64url:()=>eX,sha512_hex:()=>eJ,string:()=>eE,time:()=>e$,ulid:()=>G,undefined:()=>eT,unicodeEmail:()=>es,uppercase:()=>ez,uuid:()=>ee,uuid4:()=>et,uuid6:()=>en,uuid7:()=>er,xid:()=>W});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})},m=o("$ZodError",p),h=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;
32for(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 k(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 x=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},w=x(h),S=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},$=S(h),_=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??m)(a.issues.map(e=>f.finalizeIssue(e,i,c())))}:{success:!0,data:a.value}},E=_(h),D=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}},C=D(h),I=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return x(e)(t,n,i)},P=I(h),R=e=>(t,n,r)=>x(e)(t,n,r),T=R(h),j=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return S(e)(t,n,i)},z=j(h),A=e=>async(t,n,r)=>S(e)(t,n,r),O=A(h),N=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return _(e)(t,n,i)},M=N(h),L=e=>(t,n,r)=>_(e)(t,n,r),F=L(h),U=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return D(e)(t,n,i)},B=U(h),V=e=>async(t,n,r)=>D(e)(t,n,r),Z=V(h),K=/^[cC][^\s-]{8,}$/,q=/^[0-9a-z]+$/,G=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,W=/^[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}
32@[^\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}$`)},em=/^((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])$/,eh=/^(([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,}$/,ek=/^\+[1-9]\d{6,14}$/,ex="(?:(?:\\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])))",ew=RegExp(`^${ex}$`);function eS(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 e$(e){return RegExp(`^${eS(e)}$`)}function e_(e){let t=eS({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(`^${ex}T(?:${r})$`)}let eE=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},eD=/^-?\d+n?$/,eC=/^-?\d+$/,eI=/^-?\d+(?:\.\d+)?$/,eP=/^(?:true|false)$/i,eR=/^null$/i,eT=/^undefined$/i,ej=/^[^A-Z]*$/,ez=/^[^a-z]*$/,eA=/^[0-9a-fA-F]*$/;function eO(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=eO(22,"=="),eF=eN(22),eU=/^[0-9a-fA-F]{40}$/,eB=eO(27,"="),eV=eN(27),eZ=/^[0-9a-fA-F]{64}$/,eK=eO(43,"="),eq=eN(43),eG=/^[0-9a-fA-F]{96}$/,eW=eO(64,""),eH=eN(64),eJ=/^[0-9a-fA-F]{128}$/,eY=eO(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=eC)}),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>
320?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=ej),tn.init(e,t)}),ta=o("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=ez),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=>
32{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 tm={major:4,minor:3,patch:6},th=o("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=tm;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)=>
32{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(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch(n){return C(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),tg=o("$ZodString",(e,t)=>{th.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??eE(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)}),tk=o("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=ei),tv.init(e,t)}),tx=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})}}}),tw=o("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ed()),tv.init(e,t)}),tS=o("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=J),tv.init(e,t)}),t$=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)}),tE=o("$ZodULID",(e,t)=>{t.pattern??(t.pattern=G),tv.init(e,t)}),tD=o("$ZodXID",(e,t)=>{t.pattern??(t.pattern=W),tv.init(e,t)}),tC=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)}),tP=o("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=ew),tv.init(e,t)}),tR=o("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=e$(t)),tv.init(e,t)}),tT=o("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Y),tv.init(e,t)}),tj=o("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=ec),tv.init(e,t),e._zod.bag.format="ipv4"}),tz=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})}}}),tA=o("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=ep(t.delimiter)),tv.init(e,t),e._zod.bag.format="mac"}),tO=o("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=em),tv.init(e,t)}),tN=o("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=eh),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=ek),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));
32if("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)=>{th.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}}),tG=o("$ZodNumberFormat",(e,t)=>{e6.init(e,t),tq.init(e,t)}),tW=o("$ZodBoolean",(e,t)=>{th.init(e,t),e._zod.pattern=eP,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)=>{th.init(e,t),e._zod.pattern=eD,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)=>{th.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)=>{th.init(e,t),e._zod.pattern=eT,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)=>{th.init(e,t),e._zod.pattern=eR,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)=>{th.init(e,t),e._zod.parse=e=>e}),t1=o("$ZodUnknown",(e,t)=>{th.init(e,t),e._zod.parse=e=>e}),t4=o("$ZodNever",(e,t)=>{th.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)=>{th.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)=>{th.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)=>{th.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;th.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(`
33        if (${n}.issues.length) {
34          if (${o} in input) {
35            payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
36              ...iss,
37              path: iss.path ? [${o}, ...iss.path] : [${o}]
38            })));
39          }
40        }
41        
42        if (${n}.value === undefined) {
43          if (${o} in input) {
44            newResult[${o}] = undefined;
45          }
46        } else {
47          newResult[${o}] = ${n}.value;
48        }
49        
50      `):t.write(`
51        if (${n}.issues.length) {
52          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
53            ...iss,
54            path: iss.path ? [${o}, ...iss.path] : [${o}]
55          })));
56        }
57        
58        if (${n}.value === undefined) {
59          if (${o} in input) {
60            newResult[${o}] = undefined;
61          }
62        } else {
63          newResult[${o}] = ${n}.value;
64        }
65        
66      `)}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)=>{th.init(e,t),f.defineLazy(e._zod,"optin",()=>t.options.some(e=>
66"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)=>{th.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)=>{th.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}
66,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)=>{th.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)=>{th.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 nm=o("$ZodSet",(e,t)=>{th.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=>nh(e,n))):nh(i,n)}return a.length?Promise.all(a).then(()=>n):n}});function nh(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}let ng=o("$ZodEnum",(e,t)=>{th.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(th.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)=>{th.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)=>{th.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new u(e.constructor.name);
66let 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 nk(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}let nx=o("$ZodOptional",(e,t)=>{th.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=>nk(t,e.value)):nk(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}}),nw=o("$ZodExactOptional",(e,t)=>{nx.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)}),nS=o("$ZodNullable",(e,t)=>{th.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)}),n$=o("$ZodDefault",(e,t)=>{th.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 nE=o("$ZodPrefault",(e,t)=>{th.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))}),nD=o("$ZodNonOptional",(e,t)=>{th.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=>nC(t,e)):nC(i,e)}});function nC(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)=>{th.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)}}),nP=o("$ZodCatch",(e,t)=>{th.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)}}),nR=o("$ZodNaN",(e,t)=>{th.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)}),nT=o("$ZodPipe",(e,t)=>{th.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=>nj(e,t.in,n)):nj(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>nj(e,t.out,n)):nj(r,t.out,n)}});function nj(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}let nz=o("$ZodCodec",(e,t)=>{th.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=>nA(e,t,n)):nA(r,t,n)}{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>nA(e,t,n)):nA(r,t,n)}}});function nA(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=>nO(e,r,t.out,n)):nO(e,r,t.out,n)}{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>nO(e,r,t.in,n)):nO(e,r,t.in,n)}}function nO(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)=>{th.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)=>{th.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)=>(th.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?w(e._def.input,n):n);return e._def.output?w(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._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await $(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)=>{th.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)=>{th.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),th.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 nG(e,t){return new e({type:"string",...f.normalizeParams(t)})}function nW(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 rm(e,t){return new e({type:"number",coerce:!0,checks:[],...f.normalizeParams(t)})}function rh(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 rk(e,t){return new e({type:"boolean",...f.normalizeParams(t)})}function rx(e,t){return new e({type:"boolean",coerce:!0,...f.normalizeParams(t)})}function rw(e,t){return new e({type:"bigint",...f.normalizeParams(t)})}function rS(e,t){return new e({type:"bigint",coerce:!0,...f.normalizeParams(t)})}function r$(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 rE(e,t){return new e({type:"symbol",...f.normalizeParams(t)})}function rD(e,t){return new e({type:"undefined",...f.normalizeParams(t)})}function rC(e,t){return new e({type:"null",...f.normalizeParams(t)})}function rI(e){return new e({type:"any"})}function rP(e){return new e({type:"unknown"})}function rR(e,t){return new e({type:"never",...f.normalizeParams(t)})}function rT(e,t){return new e({type:"void",...f.normalizeParams(t)})}function rj(e,t){return new e({type:"date",...f.normalizeParams(t)})}function rz(e,t){return new e({type:"date",coerce:!0,...f.normalizeParams(t)})}function rA(e,t){return new e({type:"nan",...f.normalizeParams(t)})}function rO(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 rO(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 rG(e,t){return new e7({check:"size_equals",...f.normalizeParams(t),size:e})}function rW(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)})}
66function 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 th,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 im(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...f.normalizeParams(n)})}function ih(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 ik(e,t,n){return new e({type:"nonoptional",innerType:t,...f.normalizeParams(n)})}function ix(e,t){return new e({type:"success",innerType:t})}function iw(e,t,n){return new e({type:"catch",innerType:t,catchValue:"function"==typeof n?n:()=>n})}function iS(e,t,n){return new e({type:"pipe",in:t,out:n})}function i$(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 iE(e,t){return new e({type:"lazy",getter:t})}function iD(e,t){return new e({type:"promise",innerType:t})}function iC(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 iP(e){let t=iR(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 iR(e,t){let n=new eQ({check:"custom",...f.normalizeParams(t)});return n._zod.check=e,n}function iT(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 ij(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 iz(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??nz,l=e.Boolean??tW,u=ne
66w s({type:"pipe",in:new(e.String??tg)({type:"string",error:n.error}),out:new l({type:"boolean",error:n.error}),transform:(e,t)=>{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 iA(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 iO=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,iO.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,iO.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,iO.Wb)(this.ctx,e);let{"~standard":n,...r}=(0,iO.jE)(this.ctx,e);return r}}},72909:(e,t,n)=>{"use strict";n.d(t,{FH:()=>R,Gb:()=>j,Jt:()=>m,hZ:()=>g,mN:()=>el,xI:()=>T});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(/\.|\[/)),m=(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},h=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",k="maxLength",x="minLength",w="pattern",S="required",$=r.createContext(null);$.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 E="u">typeof window?r.useLayoutEffect:r.useEffect;var D=e=>"string"==typeof e,C=(e,t,n,r,i)=>D(e)?(r&&t.watch.add(e),m(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),m(n,e))):(r&&(t.watchAll=!0),n),I=e=>a(e)||"object"!=typeof e;function P(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)?!P(r,e,n):!Object.is(r,e))return!1}}return!0}function R(e){let t=r.useContext($),{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[m,h]=r.useState(()=>{let e=n._getWatch(i,u.current);return d.current?d.current(e):e}),g=r.useCallback(e=>{let t=C(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=C(i,n._names,e||n._formValues,!1,u.current);if(d.current){let e=d.current(t);P(e,c.current)||(h(e),c.current=e)}else h(t)}},[n._formValues,n._names,o,i]);E(()=>(f.current===n&&P(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,k=r.useMemo(()=>
66{if(o)return null;let e=!y&&!P(b,i);return y||e?g():null},[o,y,i,b,g]);return null!==k?k:m}let T=e=>e.render(function(e){let t=r.useContext($),{name:n,disabled:i,control:a=t,shouldUnregister:o,defaultValue:u,exact:f=!0}=e,p=l(a._names.array,n),y=r.useMemo(()=>m(a._formValues,n,m(a._defaultValues,n,u)),[a,n,u]),b=R({control:a,name:n,defaultValue:y,exact:f}),k=function(e){let t=r.useContext($),{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 E(()=>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}),x=r.useRef(e),w=r.useRef(void 0),S=r.useRef(a.register(n,{...e.rules,value:b,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));x.current=e;let D=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!m(k.errors,n)},isDirty:{enumerable:!0,get:()=>!!m(k.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!m(k.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!m(k.validatingFields,n)},error:{enumerable:!0,get:()=>m(k.errors,n)}}),[k,n]),C=r.useCallback(e=>S.current.onChange({target:{value:s(e),name:n},type:"change"}),[n]),I=r.useCallback(()=>S.current.onBlur({target:{value:m(a._formValues,n),name:n},type:v}),[n,a._formValues]),P=r.useCallback(e=>{let t=m(a._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>h(e.focus)&&e.focus(),select:()=>h(e.select)&&e.select(),setCustomValidity:t=>h(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>h(e.reportValidity)&&e.reportValidity()})},[a._fields,n]),T=r.useMemo(()=>({name:n,value:b,..."boolean"==typeof i||k.disabled?{disabled:k.disabled||i}:{},onChange:C,onBlur:I,ref:P}),[n,i,k.disabled,C,I,P,b]);return r.useEffect(()=>{let e=a._options.shouldUnregister||o,t=w.current;t&&t!==n&&!p&&a.unregister(t),a.register(n,{...x.current.rules,..."boolean"==typeof x.current.disabled?{disabled:x.current.disabled}:{}});let r=(e,t)=>{let n=m(a._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){let e=d(m(a._options.defaultValues,n,x.current.defaultValue));g(a._defaultValues,n,e),c(m(a._formValues,n))&&g(a._formValues,n,e)}return p||a.register(n),w.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:T,formState:k,fieldState:D}),[T,k,D])}(e));r.createContext(null).displayName="HookFormContext";var j=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},z=e=>Array.isArray(e)?e:[e],A=()=>{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=[]}}},O=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)&&O(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(h(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]=!P(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&&D(e)?new Date(e):r?r(e):e;let G={isValid:!1,value:null};var W=e=>Array.isArray(e)?e.reduce((e,t)=>
66t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,G):G;function H(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?W(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&&!!(h(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=m(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=m(e,n);if(r||/^\w*$/.test(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),a=m(t,r),o=m(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=z(m(e,n));return g(r,"root",t[n]),g(e,n,r),e};function ei(e,t,n="validate"){if(D(e)||Array.isArray(e)&&e.every(D)||"boolean"==typeof e&&!e)return{type:n,message:D(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:$,valueAsNumber:_,mount:E}=e._f,C=m(n,$);if(!E||t.has($))return{};let I=u?u[0]:l,P=e=>{i&&I.reportValidity&&(I.setCustomValidity("boolean"==typeof e?"":e||""),I.reportValidity())},R={},T="radio"===l.type,z="checkbox"===l.type,A=(_||"file"===l.type)&&c(l.value)&&c(C)||N(l)&&""===l.value||""===C||Array.isArray(C)&&!C.length,M=j.bind(null,$,r,R),L=(e,t,n,r=k,i=x)=>{let a=e?t:n;R[$]={type:e?r:i,message:a,ref:l,...M(e?r:i,a)}};if(s?!Array.isArray(C)||!C.length:d&&(!(T||z)&&(A||a(C))||"boolean"==typeof C&&!C||z&&!K(u).isValid||T&&!W(u).isValid)){let{value:e,message:t}=D(d)?{value:!!d,message:d}:ea(d);if(e&&(R[$]={type:S,message:t,ref:I,...M(S,t)},!r))return P(t),R}if(!A&&(!a(g)||!a(v))){let e,t,n=ea(v),i=ea(g);if(a(C)||isNaN(C)){let r=l.valueAsDate||new Date(C),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==l.type,s="week"==l.type;D(n.value)&&C&&(e=o?a(C)>a(n.value):s?C>n.value:r>new Date(n.value)),D(i.value)&&C&&(t=o?a(C)<a(i.value):s?C<i.value:r<new Date(i.value))}else{let r=l.valueAsNumber||(C?+C:C);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 P(R[$].message),R}if((f||p)&&!A&&(D(C)||s&&Array.isArray(C))){let e=ea(f),t=ea(p),n=!a(e.value)&&C.length>+e.value,i=!a(t.value)&&C.length<+t.value;if((n||i)&&(L(n,e.message,t.message),!r))return P(R[$].message),R}if(y&&!A&&D(C)){let{value:e,message:t}=ea(y);if(e instanceof RegExp&&!C.match(e)&&(R[$]={type:w,message:t,ref:l,...M(w,t)},!r))return P(t),R}if(b){if(h(b)){let e=ei(await b(C,n),I);if(e&&(R[$]={...e,...M("validate",e.message)},!r))return P(e.message),R}else if(o(b)){let e={};for(let t in b){if(!O(e)&&!r)break;let i=ei(await b[t](C,n),I,t);i&&(e={...i,...M(t,i.message)},P(i.message),r&&(R[$]=e))}if(!O(e)&&(R[$]={ref:I,...e},!r))return R}}return P(!0),R};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:h(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:h(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:p},e.defaultValues&&!h(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:h(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),k={action:!1,mount:!1,watch:!1,keepIsValid:!1},x={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},w=0,S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},$={...S},_={...$},E={array:A(),state:A()},I="all"===n.criteriaMode,R=async e=>{if(!k.keepIsValid&&!n.disabled&&($.isValid||_.isValid||e)){let e;n.resolver?(e=O((await U()).errors),T()):e=await Z(p,!0),e!==r.isValid&&E.state.next({isValid:e})}},T=(e,t)=>
66{!n.disabled&&($.isValidating||$.validatingFields||_.isValidating||_.validatingFields)&&((e||Array.from(x.mount)).forEach(e=>{e&&(t?g(r.validatingFields,e,t):L(r.validatingFields,e))}),E.state.next({validatingFields:r.validatingFields,isValidating:!O(r.validatingFields)}))},j=(e,t,n,r)=>{let i=m(p,e);if(i){let a=m(b,e,c(n)?m(y,e):n);c(a)||r&&r.defaultChecked||t?g(b,e,t?a:H(i._f)):W(e,a),k.mount&&!k.action&&R()}},F=(e,t,i,a,o)=>{let s=!1,l=!1,u={name:e};if(!n.disabled){if(!i||a){($.isDirty||_.isDirty)&&(l=r.isDirty,r.isDirty=u.isDirty=K(),s=l!==u.isDirty);let n=P(m(y,e),t);l=!!m(r.dirtyFields,e),n?L(r.dirtyFields,e):g(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,s=s||($.dirtyFields||_.dirtyFields)&&!n!==l}if(i){let t=m(r.touchedFields,e);t||(g(r.touchedFields,e,i),u.touchedFields=r.touchedFields,s=s||($.touchedFields||_.touchedFields)&&t!==i)}s&&o&&E.state.next(u)}return s?u:{}},U=async e=>(T(e,!0),await n.resolver(b,n.context,((e,t,n,r)=>{let i={};for(let n of e){let e=m(t,n);e&&g(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}})(e||x.mount,p,n.criteriaMode,n.shouldUseNativeValidation))),V=async e=>{let{errors:t}=await U(e);if(T(e),e)for(let n of e){let e=m(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=x.array.has(t.name),l=s._f&&Q(s._f);l&&$.validatingFields&&T([t.name],!0);let u=await eo(s,x.disabled,b,I,n.shouldUseNativeValidation&&!i,o);if(l&&$.validatingFields&&T([t.name]),u[t.name]&&(a.valid=!1,i||e.shouldUseNativeValidation))break;i||(m(u,t.name)?o?er(r.errors,u,t.name):g(r.errors,t.name,u[t.name]):L(r.errors,t.name))}O(o)||await Z(o,i,a)}}return a.valid},K=(e,t)=>!n.disabled&&(e&&t&&g(b,e,t),!P(ed(),y)),G=(e,t,n)=>C(e,x,{...k.mount?b:c(t)?y:D(e)?{[e]:t}:t},n,t),W=(e,t,n={})=>{let r=m(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||E.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=m(p,s);(x.array.has(e)||o(a)||l&&!l._f)&&!i(a)?X(s,a,n):W(s,a,n)}},ei=(e,t,n={})=>{let i=m(p,e),o=x.array.has(e),s=d(t);g(b,e,s),o?(E.array.next({name:e,values:d(b)}),($.isDirty||$.dirtyFields||_.isDirty||_.dirtyFields)&&n.shouldDirty&&E.state.next({name:e,dirtyFields:B(y,b),isDirty:K(e,s)})):!i||i._f||a(s)?W(e,s,n):X(e,s,n),ee(e,x)?E.state.next({...r,name:e,values:d(b)}):E.state.next({name:k.mount?e:void 0,values:d(b)})},ea=async e=>{k.mount=!0;let a=e.target,o=a.name,l=!0,u=m(p,o),c=e=>{l=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||P(e,m(b,o,e))},f=Y(n.mode),h=Y(n.reValidateMode);if(u){var y,S,D,C,j;let i,k,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&&!m(r.errors,o)&&!u._f.deps||(y=V,S=m(r.touchedFields,o),D=r.isSubmitted,C=h,!(j=f).isOnAll&&(!D&&j.isOnTouch?!(S||y):(D?C.isOnBlur:j.isOnBlur)?!y:(D?!C.isOnChange:!j.isOnChange)||y)),q=ee(o,x,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 G=F(o,B,V),W=!O(G)||q;if(V||E.state.next({name:o,type:e.type,values:d(b)}),K)return($.isValid||_.isValid)&&("onBlur"===n.mode?V&&R():V||R()),W&&E.state.next({name:o,...q?{}:G});if(!V&&q&&E.state.next({...r}),n.resolver){let{errors:e}=await U([o]);if(T([o]),c(B),l){let t=en(r.errors,p,o),n=en(e,p,t.name||o);i=n.error,o=n.name,k=O(e)}}else T([o],!0),i=(await eo(u,x.disabled,b,I,n.shouldUseNativeValidation))[o],T([o]),c(B),l&&(i?k=!1:($.isValid||_.isValid)&&(k=await Z(p,!0)));if(l){u._f.deps&&(!Array.isArray(u._f.deps)||u._f.deps.length>0)&&eu(u._f.deps);var z=o,A=k,N=i;let e=m(r.errors,z),a=($.isValid||_.isValid)&&"boolean"==typeof A&&r.isValid!==A;if(n.delayError&&N){let e;e=()=>{g(r.errors,z,N),E.state.next({errors:r.errors})},(t=t=>{clearTimeout(w),w=setTimeout(e,t)})(n.delayError)}else clearTimeout(w),t=null,N?g(r.errors,z,N):L(r.errors,z);if((N?!P(e,N):e)||!O(G)||a){let e={...G,...a&&"boolean"==typeof A?{isValid:A}:{},errors:r.errors,name:z};r={...r,...e},E.state.next(e)}}}},el=(e,t)=>
66{if(m(r.errors,t)&&e.focus)return e.focus(),1},eu=async(e,t={})=>{let i,a,o=z(e);if(n.resolver){let t=await V(c(e)?e:o);i=O(t),a=e?!o.some(e=>m(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=m(p,e);return await Z(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&R():a=i=await Z(p);return E.state.next({...!D(e)||($.isValid||_.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&et(p,el,e?o:x.mount),a},ed=(e,t)=>{let n={...k.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:D(e)?m(n,e):e.map(e=>m(n,e))},ec=(e,t)=>({invalid:!!m((t||r).errors,e),isDirty:!!m((t||r).dirtyFields,e),error:m((t||r).errors,e),isValidating:!!m(r.validatingFields,e),isTouched:!!m((t||r).touchedFields,e)}),ef=(e,t,n)=>{let i=(m(p,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:s,...l}=m(r.errors,e)||{};g(r.errors,e,{...l,...t,ref:i}),E.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},ep=e=>E.state.subscribe({next:t=>{let n,i,a;n=e.name,i=t.name,a=e.exact,(!n||!i||n===i||z(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 O(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||"all"))})(t,e.formState||$,ex,e.reRenderRoot)&&e.callback({values:{...b},...r,...t,defaultValues:y})}}).unsubscribe,em=(e,t={})=>{for(let i of e?z(e):x.mount)x.mount.delete(i),x.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);E.state.next({values:d(b)}),E.state.next({...r,...!t.keepDirty?{}:{isDirty:K()}}),t.keepIsValid||R()},eh=({disabled:e,name:t})=>{if("boolean"==typeof e&&k.mount||e||x.disabled.has(t)){let n=x.disabled.has(t);e?x.disabled.add(t):x.disabled.delete(t),!!e!==n&&k.mount&&!k.action&&R()}},eg=(e,t={})=>{let r=m(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}}),x.mount.add(e),r)?eh({disabled:"boolean"==typeof t.disabled?t.disabled:n.disabled,name:e}):j(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=m(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(m(y,e))?[{}]:[]],ref:{type:a.type,name:e}}:{ref:a}}}),j(e,!1,void 0,a))}else(r=m(p,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(l(x.array,e)&&k.action)&&x.unMount.add(e)}}},ev=()=>n.shouldFocusError&&et(p,el,x.mount),ey=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=d(b);if(E.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await U();T(),r.errors=e,o=d(t)}else await Z(p);if(x.disabled.size)for(let e of x.disabled)L(o,e);if(L(r.errors,"root"),O(r.errors)){E.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...r.errors},i),ev(),setTimeout(ev);if(E.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:O(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=O(e),s=o?y:a;if(t.keepDefaultValues||(y=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...x.mount,...Object.keys(B(y,b))]))){let t=m(r.dirtyFields,e),n=m(b,e),i=m(s,e);t&&!c(n)?g(s,e,n):t||c(i)||ei(e,i)}else{if(u&&c(e))for(let e of x.mount){let t=m(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 x.mount)ei(e,m(s,e));else p={}}b=n.shouldUnregister?t.keepDefaultValues?d(y):{}:d(s),E.array.next({values:{...s}}),E.state.next({values:{...s}})}x={mount:t.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},k.mount=!$.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!O(s),k.watch=!!n.shouldUnregister,k.keepIsValid=!!t.keepIsValid,k.action=!1,t.keepErrors||(r.errors={}),E.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!P(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})},ek=(e,t)=>eb(h(e)?e(b):e,{...n.resetOptions,...t}),ex=e=>{r={...r,...e}},ew={control:{register:eg,unregister:em,getFieldState:ec,handleSubmit:ey,setError:ef,_subscribe:ep,_runSchema:U,_updateIsValidating:T,_focusError:ev,_getWatch:G,_getDirty:K,_setValid:R,_setFieldArray:(e,t=[],i,a,o=!0,s=!0)=>
66{if(a&&i&&!n.disabled){if(k.action=!0,s&&Array.isArray(m(p,e))){let t=i(m(p,e),a.argA,a.argB);o&&g(p,e,t)}if(s&&Array.isArray(m(r.errors,e))){let t,n=i(m(r.errors,e),a.argA,a.argB);o&&g(r.errors,e,n),f(m(t=r.errors,e)).length||L(t,e)}if(($.touchedFields||_.touchedFields)&&s&&Array.isArray(m(r.touchedFields,e))){let t=i(m(r.touchedFields,e),a.argA,a.argB);o&&g(r.touchedFields,e,t)}($.dirtyFields||_.dirtyFields)&&(r.dirtyFields=B(y,b)),E.state.next({name:e,isDirty:K(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else g(b,e,t)},_setDisabledField:eh,_setErrors:e=>{r.errors=e,E.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>f(m(k.mount?b:y,e,n.shouldUnregister?m(y,e,[]):[])),_reset:eb,_resetDefaultValues:()=>h(n.defaultValues)&&n.defaultValues().then(e=>{ek(e,n.resetOptions),E.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of x.unMount){let t=m(p,e);t&&(t._f.refs?t._f.refs.every(e=>!M(e)):!M(t._f.ref))&&em(e)}x.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(E.state.next({disabled:e}),et(p,(t,n)=>{let r=m(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:E,_proxyFormState:$,get _fields(){return p},get _formValues(){return b},get _state(){return k},set _state(value){k=value},get _defaultValues(){return y},get _names(){return x},set _names(value){x=value},get _formState(){return r},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(k.mount=!0,_={..._,...e.formState},ep({...e,formState:{...S,...e.formState}})),trigger:eu,register:eg,handleSubmit:ey,watch:(e,t)=>h(e)?E.state.subscribe({next:n=>"values"in n&&e(G(void 0,t),n)}):G(e,t,!0),setValue:ei,getValues:ed,reset:ek,resetField:(e,t={})=>{m(p,e)&&(c(t.defaultValue)?ei(e,d(m(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(m(y,e))):K()),!t.keepError&&(L(r.errors,e),$.isValid&&R()),E.state.next({...r}))},clearErrors:e=>{let t=e?z(e):void 0;null==t||t.forEach(e=>L(r.errors,e)),t?t.forEach(e=>{E.state.next({name:e,errors:r.errors})}):E.state.next({errors:{}})},unregister:em,setError:ef,setFocus:(e,t={})=>{let n=m(p,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&h(e.select)&&e.select()})}},getFieldState:ec};return{...ew,formControl:ew}}(e);t.current={...r,formState:p}}let b=t.current.control;return b._options=e,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&&!P(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})},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)=>
66{(!e||!this.state.open||null!=t&&(0,a.Ev)(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{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:()=>S});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 m=[];var h=n(1075),g=n(92796),v=n(56136),y=n(94799);function b(e){let{render:t,className:n,style:b,refs:k=o.Ml,props:x=o.Ml,state:w=o.t0,stateAttributesMapping:S,highlightedIndex:$,onHighlightedIndexChange:_,orientation:E,grid:D,loopFocus:C,onLoop:I,enableHomeAndEndKeys:P,onMapChange:R,stopEventPropagation:T=!0,rootRef:j,disabledIndices:z,modifierKeys:A,highlightItemOnHover:O=!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:h,highlightedIndex:g,onHighlightedIndexChange:v,rootRef:y,enableHomeAndEndKeys:b=!1,stopEventPropagation:k,disabledIndices:x,modifierKeys:w=m}=e,[S,$]=r.useState(0),_=null!=o,E=r.useRef(null),D=(0,u.a)(E,y),C=r.useRef([]),I=r.useRef(!1),P=g??S,R=(0,i.K)((e,t=!1)=>{if((v??$)(e),t){let t=C.current[e];(0,d.$v)(E.current,t,h,n)}}),T=(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)R(i);else if((0,c.FP)(t,P,x)){let e=(0,c.BF)(t,{disabledIndices:x});(0,c.du)(t,e)||R(e)}(0,d.$v)(E.current,r,h,n)});(0,a.g)(()=>{if(null==x||null!=g||!I.current)return;let e=C.current;if((0,c.FP)(e,P,x)){let t=(0,c.BF)(e,{disabledIndices:x});(0,c.du)(e,t)||R(t)}},[x,g,P,C,R]);let j=(0,i.K)((e,t,n)=>s?s(e,t,n,C):n),z=(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,w)||!E.current)return;let i="rtl"===h,a=i?d.eR:d.RJ,u=i?d.RJ:d.eR,f="vertical"===n?d.Jd:a,m="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!==m&&t<r.length||e.key!==f&&t>0)return}let v=P,y=(0,c.Zb)(C,x),S=(0,c.vB)(C,x);null!=o&&(v=o({disabledIndices:x,elementsRef:C,event:e,highlightedIndex:P,loopFocus:t,maxIndex:S,minIndex:y,onLoop:j,orientation:n,rtl:i}));let $="vertical"!==n&&e.key===a||"horizontal"!==n&&e.key===d.Jd,D="vertical"!==n&&e.key===u||"horizontal"!==n&&e.key===d.il;b&&(e.key===d.yZ?v=y:e.key===d.Kp&&(v=S)),v===P&&($||D)&&(t&&v===S&&$?(v=y,s&&(v=s(e,P,v,C))):t&&v===y&&D?(v=S,s&&(v=s(e,P,v,C))):v=(0,c.BF)(C.current,{startingIndex:v,decrement:D,disabledIndices:x})),v===P||(0,c.du)(C.current,v)||(k&&e.stopPropagation(),(_||r||$||D)&&e.preventDefault(),R(v,!0),queueMicrotask(()=>{C.current[v]?.focus()}))});return{props:{ref:D,onFocus(e){let t=E.current,n=(0,p.EW)(e.nativeEvent);t&&null!=n&&(0,d.Qi)(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:z},highlightedIndex:P,onHighlightedIndexChange:R,elementsRef:C,onMapChange:T,relayKeyboardEvent:z}}({grid:D,loopFocus:C,onLoop:I,orientation:E,highlightedIndex:$,onHighlightedIndexChange:_,rootRef:j,stopEventPropagation:T,enableHomeAndEndKeys:P,direction:(0,v.j)(),disabledIndices:z,modifierKeys:A}),K=(0,g.o)(N,e,{state:w,ref:k,props:[L,...x,M],stateAttributesMapping:S}),q=r.useMemo(()=>({highlightedIndex:F,onHighlightedIndexChange:U,highlightItemOnHover:O,relayKeyboardEvent:Z}),[F,U,O,Z]);return(0,y.jsx)(h.H.Provider,{value:q,children:(0,y.jsx)(s.u,{elementsRef:B,onMapChange:e=>{R?.(e),V(e)},children:K})})}var k=n(62025),x=n(83778),w=n(8838);let S=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:m}=(0,x.z)(),[h,g]=r.useState(0),[v,S]=r.useState(null),$=r.useRef(new Set),_=r.useRef(new Set),E=r.useRef(null);(0,a.g)(()=>
66{if("u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>{$.current.forEach(e=>{e()})});return E.current=e,v&&e.observe(v),_.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),E.current=null}},[v]);let D=(0,i.K)(e=>($.current.add(e),()=>{$.current.delete(e)})),C=(0,i.K)(e=>(_.current.add(e),E.current?.observe(e),()=>{_.current.delete(e),E.current?.unobserve(e)})),I=r.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:D,registerTabResizeObserverElement:C,tabsListElement:v}),[n,D,C,v]);return(0,y.jsx)(w.O.Provider,{value:I,children:(0,y.jsx)(b,{render:u,className:s,style:d,state:{orientation:f,tabActivationDirection:m},refs:[t,S],props:[{"aria-orientation":"vertical"===f?"vertical":void 0,role:"tablist"},c],stateAttributesMapping:k.h,highlightedIndex:h,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:m,onTyping:h,enabled:g=!0,resetMs:v=750,selectedIndex:y=null}=t,b="rootStore"in e?e.rootStore:e,k=b.useState("open"),x=(0,o.Z)(),w=r.useRef(""),S=r.useRef(y??f??-1),$=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==m||!(0,l.FP)(s.Ml,e,m))}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(w.current.length>0&&" "===e.key&&((0,d.jo)(e),h?.(!0)),w.current.length>0&&" "!==w.current[0]&&-1===r(i,w.current)&&" "!==e.key&&h?.(!1),null==i||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;k&&" "!==e.key&&((0,d.jo)(e),h?.(!0));let a=""===w.current;a&&(S.current=y??f??-1),i.every((e,n)=>!(e&&t(n))||e[0]?.toLowerCase()!==e[1]?.toLowerCase())&&w.current===e.key&&(w.current="",S.current=$.current),w.current+=e.key,x.start(v,()=>{w.current="",S.current=$.current,h?.(!1)});let o=a?y??f??-1:S.current,u=r(i,w.current,(o??0)+1);-1!==u?(p?.(u),$.current=u):" "!==e.key&&(w.current="",h?.(!1))}),E=(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)||(x.clear(),w.current="",S.current=$.current,h?.(!1))});(0,i.g)(()=>{(k||null===y)&&(x.clear(),$.current=null,""!==w.current&&(w.current=""))},[k,y,x]);let D=r.useMemo(()=>({onKeyDown:_,onBlur:E}),[_,E]);return r.useMemo(()=>g?{reference:D,floating:D}:{},[g,D])}},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:()=>G,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),m="Accordion",h=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[g,v,y]=(0,a.N)(m),[b,k]=(0,i.A)(m,[y,d.z3]),x=(0,d.z3)(),w=r.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,p.jsx)(g.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,p.jsx)(C,{...r,ref:t}):(0,p.jsx)(D,{...r,ref:t})})});w.displayName=m;var[S,$]=b(m),[_,E]=b(m,{collapsible:!1}),D=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:m});return(0,p.jsx)(S,{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)(R,{...s,ref:t})})})}),C=r.forwardRef((e,t)=>
66{let{value:n,defaultValue:i,onValueChange:a=()=>{},...o}=e,[s,u]=(0,l.i)({prop:n,defaultProp:i??[],onChange:a,caller:m}),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)(S,{scope:e.__scopeAccordion,value:s,onItemOpen:d,onItemClose:c,children:(0,p.jsx)(_,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(R,{...o,ref:t})})})}),[I,P]=b(m),R=r.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:i,dir:a,orientation:l="vertical",...d}=e,c=r.useRef(null),m=(0,o.s)(c,t),y=v(n),b="ltr"===(0,f.jH)(a),k=(0,s.mK)(e.onKeyDown,e=>{if(!h.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:m,onKeyDown:i?void 0:k})})})}),T="AccordionItem",[j,z]=b(T),A=r.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=P(T,n),o=$(T,n),s=x(n),l=(0,c.B)(),u=r&&o.value.includes(r)||!1,f=a.disabled||e.disabled;return(0,p.jsx)(j,{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)}})})});A.displayName=T;var O="AccordionHeader",N=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=P(m,n),a=z(O,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=O;var M="AccordionTrigger",L=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=P(m,n),a=z(M,n),o=E(M,n),s=x(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=P(m,n),a=z(F,n),o=x(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=w,Z=A,K=N,q=L,G=U},74761:(e,t,n)=>{"use strict";n.d(t,{Ip:()=>v,_l:()=>h,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 m=new WeakMap;class h{copy(){return this.era?new h(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new h(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,m,{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)}}}
66,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,k]=i.useState(null),x=(0,s.c)(f),w=(0,s.c)(v),S=i.useRef(null),$=(0,a.s)(t,e=>k(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)?S.current=t:h(S.current,{select:!0})},t=function(e){if(_.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||h(S.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&&h(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,x),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(p(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(b))}return()=>{b.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(d,c);b.addEventListener(d,w),b.dispatchEvent(t),t.defaultPrevented||h(e??document.body,{select:!0}),b.removeEventListener(d,w),g.remove(_)},0)}}},[b,x,w,_]);let E=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]=[m(t=p(a=r),a),m(t.reverse(),a)];o&&s?e.shiftKey||i!==s?e.shiftKey&&i===o&&(e.preventDefault(),n&&h(s,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):i===r&&e.preventDefault()}},[n,r,_.paused]);return(0,l.jsx)(o.sG.div,{tabIndex:-1,...y,ref:$,onKeyDown:E})});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 m(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 h(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},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:m="aria"}=e;n&&(t||(t="invalid"===n));let h=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]);
66(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,k]=(0,r.useState)(v),[x,w]=(0,r.useState)(!1);v!==b&&(k(v),w(!1));let S=(0,r.useMemo)(()=>c(x?[]:y),[x,y]),$=(0,r.useRef)(o),[_,E]=(0,r.useState)(o),D=(0,r.useRef)(o),[C,I]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!C)return;I(!1);let e=g||u||$.current;f(e,D.current)||(D.current=e,E(e))}),{realtimeValidation:h||S||g||u||o,displayValidation:"native"===m?h||S||_:h||S||g||u||_,updateValidation(e){"aria"!==m||f(_,e)?$.current=e:E(e)},resetValidation(){f(o,D.current)||(D.current=o,E(o)),"native"===m&&I(!1),w(!0)},commitValidation(){"native"===m&&I(!0),w(!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}}}
66,75443:(e,t,n)=>{"use strict";n.d(t,{LM:()=>G,Ze:()=>W,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),m="ScrollArea",[h,g]=(0,o.A)(m),[v,y]=h(m),b=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,type:a="hover",dir:o,scrollHideDelay:l=600,...d}=e,[c,f]=r.useState(null),[m,h]=r.useState(null),[g,y]=r.useState(null),[b,k]=r.useState(null),[x,w]=r.useState(null),[S,$]=r.useState(0),[_,E]=r.useState(0),[D,C]=r.useState(!1),[I,P]=r.useState(!1),R=(0,s.s)(t,e=>f(e)),T=(0,u.jH)(o);return(0,p.jsx)(v,{scope:n,type:a,dir:T,scrollHideDelay:l,scrollArea:c,viewport:m,onViewportChange:h,content:g,onContentChange:y,scrollbarX:b,onScrollbarXChange:k,scrollbarXEnabled:D,onScrollbarXEnabledChange:C,scrollbarY:x,onScrollbarYChange:w,scrollbarYEnabled:I,onScrollbarYEnabledChange:P,onCornerWidthChange:$,onCornerHeightChange:E,children:(0,p.jsx)(i.sG.div,{dir:T,...d,ref:R,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":_+"px",...e.style}})})});b.displayName=m;var k="ScrollAreaViewport",x=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,children:a,nonce:o,...l}=e,u=y(k,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})})]})});x.displayName=k;var w="ScrollAreaScrollbar",S=r.forwardRef((e,t)=>{let{forceMount:n,...i}=e,a=y(w,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)($,{...i,ref:t,forceMount:n}):"scroll"===a.type?(0,p.jsx)(_,{...i,ref:t,forceMount:n}):"auto"===a.type?(0,p.jsx)(E,{...i,ref:t,forceMount:n}):"always"===a.type?(0,p.jsx)(D,{...i,ref:t}):null});S.displayName=w;var $=r.forwardRef((e,t)=>{let{forceMount:n,...i}=e,o=y(w,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)(E,{"data-state":s?"visible":"hidden",...i,ref:t})})}),_=r.forwardRef((e,t)=>{var n;let{forceMount:i,...o}=e,s=y(w,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)(D,{"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"))})})}),E=r.forwardRef((e,t)=>{let n=y(w,e.__scopeScrollArea),{forceMount:i,...o}=e,[s,l]=r.useState(!1),u="horizontal"===e.orientation,d=Z(()=>
66{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)(D,{"data-state":s?"visible":"hidden",...o,ref:t})})}),D=r.forwardRef((e,t)=>{let{orientation:n="vertical",...i}=e,a=y(w,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)(C,{...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}),C=r.forwardRef((e,t)=>{let{sizes:n,onSizesChange:i,...a}=e,o=y(w,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)(T,{"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(w,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)(T,{"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)}})}})}),[P,R]=h(w),T=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,sizes:a,hasThumb:o,onThumbChange:u,onThumbPointerUp:d,onThumbPointerDown:c,onThumbPositionChange:m,onDragScroll:h,onWheelScroll:g,onResize:v,...b}=e,k=y(w,n),[x,S]=r.useState(null),$=(0,s.s)(t,e=>S(e)),_=r.useRef(null),E=r.useRef(""),D=k.viewport,C=a.content-a.viewport,I=(0,l.c)(g),R=(0,l.c)(m),T=Z(v,10);function j(e){_.current&&h({x:e.clientX-_.current.left,y:e.clientY-_.current.top})}return r.useEffect(()=>{let e=e=>{let t=e.target;x?.contains(t)&&I(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[D,x,C,I]),r.useEffect(R,[a,R]),K(x,T),K(k.content,T),(0,p.jsx)(P,{scope:n,scrollbar:x,hasThumb:o,onThumbChange:(0,l.c)(u),onThumbPointerUp:(0,l.c)(d),onThumbPositionChange:R,onThumbPointerDown:(0,l.c)(c),children:(0,p.jsx)(i.sG.div,{...b,ref:$,style:{position:"absolute",...b.style},onPointerDown:(0,f.mK)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),_.current=x.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",k.viewport&&(k.viewport.style.scrollBehavior="auto"),j(e))}),onPointerMove:(0,f.mK)(e.onPointerMove,j),onPointerUp:(0,f.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=E.current,k.viewport&&(k.viewport.style.scrollBehavior=""),_.current=null})})})}),j="ScrollAreaThumb",z=r.forwardRef((e,t)=>
66{let{forceMount:n,...r}=e,i=R(j,e.__scopeScrollArea);return(0,p.jsx)(a.C,{present:n||i.hasThumb,children:(0,p.jsx)(A,{ref:t,...r})})}),A=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,style:a,...o}=e,l=y(j,n),u=R(j,n),{onThumbPositionChange:d}=u,c=(0,s.s)(t,e=>u.onThumbChange(e)),m=r.useRef(void 0),h=Z(()=>{m.current&&(m.current(),m.current=void 0)},100);return r.useEffect(()=>{let e=l.viewport;if(e){let t=()=>{h(),m.current||(m.current=V(e,d),d())};return d(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[l.viewport,h,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)})});z.displayName=j;var O="ScrollAreaCorner";r.forwardRef((e,t)=>{let n=y(O,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&r?(0,p.jsx)(N,{...e,ref:t}):null}).displayName=O;var N=r.forwardRef((e,t)=>{let{__scopeScrollArea:n,...a}=e,o=y(O,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,G=x,W=S,H=z},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"},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}},77799:(e,t,n)=>{"use strict";n.d(t,{s:()=>x});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"),[m,h]=r.useState(null),[g,v]=r.useState(void 0),[y,b]=r.useState(void 0),k=r.useRef(null),x=(0,f.cq)(i),w=r.useMemo(()=>({reference:o,floating:l,domReference:u}),[o,l,u]),S=(0,d.we)({...e,elements:{...w,...m&&{reference:m}}}),$=(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:$),t.useSyncedValue("floatingElement",_);let E=r.useCallback(e=>{let t=(0,a.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;h(t),S.refs.setReference(t)},[S.refs]),D=r.useCallback(e=>{((0,a.vq)(e)||null===e)&&(k.current=e,v(e)),((0,a.vq)(S.refs.reference.current)||null===S.refs.reference.current||null!==e&&!(0,a.vq)(e))&&S.refs.setReference(e)},[S.refs,v]),C=r.useCallback(e=>{b(e),S.refs.setFloating(e)},[S.refs]),I=r.useMemo(()=>({...S.refs,setReference:D,setFloating:C,setPositionReference:E,domReference:k}),[S.refs,D,C,E]),P=r.useMemo(()=>({...S.elements,domReference:u}),[S.elements,u]),R=r.useMemo(()=>({...S,dataRef:t.context.dataRef,open:c,onOpenChange:t.setOpen,events:t.context.events,floatingId:p,refs:I,elements:P,nodeId:n,rootStore:t}),[S,I,P,n,t,c,p]);return(0,s.g)(()=>{u&&(k.current=u)},[u]),(0,s.g)(()=>{t.context.dataRef.current.floatingContext=R;let e=x?.nodesRef.current.find(e=>e.id===n);e&&(e.context=R)}),r.useMemo(()=>({...S,context:R,refs:I,elements:P,rootStore:t}),[S,I,P,R,t])}(e,e.rootContext)}var m=n(56136);let h={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]}
66function k(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 x(e){return function(e,t){var n,f;let{anchor:p,positionMethod:x="absolute",side:S="bottom",sideOffset:$=0,align:_="center",alignOffset:E=0,collisionBoundary:D,collisionPadding:C=5,sticky:I=!1,arrowPadding:P=5,disableAnchorTracking:R=!1,inline:T,keepMounted:j=!1,floatingRootContext:z,mounted:A,collisionAvoidance:O,shift:N,nodeId:M,adaptiveOrigin:L,lazyFlip:F=!1,externalTree:U}=e,[B,V]=r.useState(null);A||null===B||V(null);let Z=O.side||"flip",K=O.align||"flip",q=O.fallbackAxisSide||"end",G=N?.crossAxis??!1,W=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)(A),ee="rtl"===(0,m.j)(),et=B||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ee?"left":"right","inline-start":ee?"right":"left"})[S],en="center"===_?et:`${et}-${_}`,er=C;"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"===S),ea=+("top"===S),eo=+("right"===S),es=+("left"===S),el={boundary:"clipping-ancestors"===D?"clippingAncestors":D,padding:er},eu=r.useRef(null),ed=(0,l.u)($),ec=(0,l.u)(E),ef="function"!=typeof $?$:0,ep="function"!=typeof E?E:0,em=[];T&&em.push(T),em.push((0,d.cY)(e=>{let t=k(e,S,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,S]));let eh="none"===K&&"shift"!==Z,eg=!eh&&(I||G||"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:!G&&"flip"===Z,crossAxis:"flip"===K&&"alignment",fallbackAxisSideDirection:q}),ey=eh?null:(0,d.BN)({...el,rootBoundary:W,mainAxis:"none"!==K,crossAxis:eg,limiter:I||G?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,G,W,er,K]);"shift"===Z||"shift"===K||"center"===_?em.push(ey,ev):em.push(ev,ey),em.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:P,offsetParent:"floating"}),f=[P],{...{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),m={x:t,y:r},h=(0,i.Dz)(a),g=(0,i.sq)(h),v=await s.getDimensions(d),y="y"===h,b=y?"clientHeight":"clientWidth",k=o.reference[g]+o.reference[h]-m[h]-o.floating[g],x=m[h]-o.reference[h],w="real"===f?await s.getOffsetParent?.(d):l.floating,S=l.floating[b]||o.floating[g];S&&await s.isElement?.(w)||(S=l.floating[b]||o.floating[g]);let $=S/2-v[g]/2-1,_=Math.min(p[y?"top":"left"],$),E=Math.min(p[y?"bottom":"right"],$),D=S-v[g]-E,C=S/2-v[g]/2+(k/2-x/2),I=(0,i.qE)(_,C,D),P=!u.arrow&&null!=(0,i.Sg)(a)&&C!==I&&o.reference[g]/2-(C<_?_:E)-v[g]/2<0,R=P?C<_?C-_:C-D:0;return{[h]:m[h]+R,data:{[h]:I,centerOffset:C-I-R,...P&&{alignmentOffset:R}},reset:P}}},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,m=d+f/2,h=c+p/2,g=Math.abs(n.shift?.y||0),v=a.reference.height/2,y="function"==typeof $?$(k(e,S,ee)):$,b=g>y,x={top:`${m}px calc(100% + ${y}px)`,bottom:`${m}px ${-y}px`,left:`calc(100% + ${y}px) ${h}px`,right:`${-y}px ${h}px`}[s],w=`${m}px ${a.reference.y+v-o}px`;return t.floating.style.setProperty("--transform-origin",eg&&"y"===l&&b?w:x),{}}},h,L),(0,s.g)(()=>{!A&&z&&z.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[A,z]);let eb=r.useMemo(()=>({elementResize:!R&&"u">typeof ResizeObserver,layoutShift:!R&&"u">typeof IntersectionObserver}),[R]),{refs:ek,elements:ex,x:ew,y:eS,middlewareData:e$,update:e_,placement:eE,context:eD,isPositioned:eC,floatingStyles:eI}=t({rootContext:z,open:j?A:void 0,placement:en,middleware:em,strategy:x,whileElementsMounted:j?void 0:(...e)=>(0,c.ll)(...e,eb),nodeId:M,externalTree:U}),{sideX:eP,sideY:eR}=e$.adaptiveOrigin||g,eT=eC?x:"fixed",ej=r.useMemo(()=>{let e;return(e=eC?L?{position:eT,[eP]:ew,[eR]:eS}:{...eI,position:eT}:{position:eT,top:0,left:0})[v]="100vw",e[y]="100vh",eC||(e.opacity=0),e},[L,eT,eP,ew,eR,eS,eI,eC]),ez=r.useRef(null);(0,s.g)(()=>
66{if(!A)return;let e=X.current,t="function"==typeof e?e():e,n=(w(t)?t.current:t)||null;n!==ez.current&&(ek.setPositionReference(n),ez.current=n)},[A,ek,Y,X]),r.useEffect(()=>{if(!A)return;let e=X.current;"function"!=typeof e&&w(e)&&e.current!==ez.current&&(ek.setPositionReference(e.current),ez.current=e.current)},[A,ek,Y,X]),r.useEffect(()=>{if(j&&A&&ex.reference&&ex.floating)return(0,c.ll)(ex.reference,ex.floating,e_,eb)},[j,A,ex,e_,eb]);let eA=(0,i.C0)(eE),eO=b(S,eA,ee),eN=(0,i.Sg)(eE)||"center",eM=!!e$.hide?.referenceHidden;(0,s.g)(()=>{F&&A&&eC&&eA!==et&&V(eA)},[F,A,eC,eA,et]);let eL=r.useMemo(()=>({position:"absolute",top:e$.arrow?.y,left:e$.arrow?.x}),[e$.arrow]),eF=e$.arrow?.centerOffset!==0;return r.useMemo(()=>({positionerStyles:ej,arrowStyles:eL,arrowRef:eu,arrowUncentered:eF,side:eO,align:eN,physicalSide:eA,anchorHidden:eM,refs:ek,context:eD,isPositioned:eC,update:e_}),[ej,eL,eu,eF,eO,eN,eA,eM,ek,eD,eC,e_])}(e,p)}function w(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),m=n(26594),h=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:k,side:x,align:w,sideOffset:S,alignOffset:$,collisionBoundary:_="clipping-ancestors",collisionPadding:E,arrowPadding:D,sticky:C,disableAnchorTracking:I=!1,collisionAvoidance:P=p.uD,style:R,...T}=e,j=(0,l.Ee)(),z=(0,l.ui)(),A=(0,f.s)(),O=(0,i.P)(j,m.T.modal),N=(0,i.P)(j,m.T.open),M=(0,i.P)(j,m.T.mounted),L=(0,i.P)(j,m.T.openMethod),F=(0,i.P)(j,m.T.positionerElement),U=(0,i.P)(j,m.T.triggerElement),B=(0,i.P)(j,m.T.inputElement),V=(0,i.P)(j,m.T.inputGroupElement),Z=(0,i.P)(j,m.T.inputInsidePopup),K=(0,i.P)(j,m.T.transitionStatus),q=(0,d.$B)(),G=(0,c.s)({anchor:b??(Z?U:V??B),floatingRootContext:z,positionMethod:k,mounted:M,side:x,sideOffset:S,align:w,alignOffset:$,arrowPadding:D,collisionBoundary:_,collisionPadding:E,sticky:C,disableAnchorTracking:I,keepMounted:A,collisionAvoidance:P,lazyFlip:!0});(0,v.G)(N&&O,"touch"===L,F,U);let W={open:N,side:G.side,align:G.align,anchorHidden:G.anchorHidden,empty:q};(0,a.g)(()=>{j.set("popupSide",G.side)},[j,G.side]);let H=(0,o.K)(e=>{j.set("positionerElement",e)}),J=(0,g.i)(e,W,{styles:G.positionerStyles,transitionStatus:K,props:T,refs:[t,H],hidden:!M,inert:!N});return(0,y.jsxs)(u.Z.Provider,{value:G,children:[M&&O&&(0,y.jsx)(h.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),m=n(59627),h=n(21708),g=n(94799);let v=r.forwardRef(function(e,t){let{render:n,className:v,style:y,finalFocus:b,...k}=e,{store:x}=(0,o.Y)(),{side:w,align:S}=(0,s.O)(),$=null!=(0,p.S)(!0),_=x.useState("open"),E=x.useState("transitionStatus"),D=x.use
66State("popupProps"),C=x.useState("mounted"),I=x.useState("instantType"),P=x.useState("activeTriggerElement"),R=x.useState("parent"),T=x.useState("lastOpenChangeReason"),j=x.useState("rootId"),z=x.useState("floatingRootContext"),A=x.useState("floatingTreeRoot"),O=x.useState("closeDelay"),N=x.useState("hoverEnabled"),M=x.useState("disabled"),L=x.useState("openMethod"),F="context-menu"===R.type;(0,d.v)({open:_,ref:x.context.popupRef,onComplete(){_&&x.context.onOpenChangeComplete?.(!0)}}),r.useEffect(()=>{function e(e){x.setOpen(!1,(0,c.d)(e.reason,e.domEvent))}return A.events.on("close",e),()=>{A.events.off("close",e)}},[A.events,x]),(0,i.a)(z,{enabled:N&&!M&&!F&&"menubar"!==R.type,closeDelay:O});let U=x.useStateSetter("popupElement"),B={transitionStatus:E,side:w,align:S,open:_,nested:"menu"===R.type,instant:I},V=(0,l.o)("div",e,{state:B,ref:[t,x.context.popupRef,U],stateAttributesMapping:u.LM,props:[D,{onKeyDown(e){$&&m.jF.has(e.key)&&e.stopPropagation()}},(0,h.d)(E),k,{"data-rootownerid":j}]}),Z=void 0===R.type||F;return(P||"menubar"===R.type&&T!==f.Np)&&(Z=!0),(0,g.jsx)(a.s,{context:z,openInteractionType:L,modal:F,disabled:!C,returnFocus:void 0===b?Z:b,initialFocus:"menu"!==R.type,restoreFocus:!0,externalTree:"menubar"!==R.type?A:void 0,previousFocusableElement:P,nextFocusableElement:void 0===R.type?x.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:void 0===R.type?x.context.beforeContentFocusGuardRef:void 0,children:V})})},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:()=>S,Wn:()=>y,Xn:()=>m,_J:()=>p,c:()=>w,dv:()=>r,jv:()=>h,p:()=>k,pf:()=>c,qs:()=>f,r9:()=>x,zJ:()=>$});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",m="focus-out",h="escape-key",g="list-navigation",v="keyboard",y="pointer",b="cancel-open",k="sibling-open",x="disabled",w="missing",S="initial",$="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),m=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})});m.displayName=f;let h=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,o.TL)(h),y=r.forwardRef((e,t)=>{let{scope:n,children:i,...o}=e,l=r.useRef(null),u=(0,a.s)(t,l),c=d(h,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=h,[{Provider:c,Slot:m,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]}},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=>
66void 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:()=>x});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 m=n(64988),h=n(94799);function g(e){let{script:t}=e,{nonce:n}=(0,m.n)();return(0,u.useSyncExternalStore)(c,f,p)?(0,h.jsx)("script",{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var v=n(83778),y=n(62025),b=n(8838);let k={...y.h,activeTabPosition:()=>null,activeTabSize:()=>null},x=i.forwardRef(function(e,t){let{className:n,render:o,renderBeforeHydration:s=!1,style:u,...d}=e,{getTabElementBySelectedValue:c,orientation:f,tabActivationDirection:p,value:m}=(0,v.z)(),{tabsListElement:y,registerIndicatorUpdateListener:x}=(0,b.b)(),w=function(){let[,e]=i.useState({});return i.useCallback(()=>{e({})},[])}();i.useEffect(()=>x(w),[x,w]);let S=0,$=0,_=0,E=0,D=0,C=0,I=!1;if(null!=m&&null!=y){let e=c(m);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;S=e/s+y.scrollLeft-y.clientLeft,_=t/u+y.scrollTop-y.clientTop}else S=e.offsetLeft,_=e.offsetTop;D=t,C=n,$=y.scrollWidth-S-D,E=y.scrollHeight-_-C}}let P=I?{left:S,right:$,top:_,bottom:E}:null,R=I?{width:D,height:C}:null,T=I?{"--active-tab-left":`${S}px`,"--active-tab-right":`${$}px`,"--active-tab-top":`${_}px`,"--active-tab-bottom":`${E}px`,"--active-tab-width":`${D}px`,"--active-tab-height":`${C}px`}:void 0,j=I&&D>0&&C>0,z=(0,a.o)("span",e,{state:{orientation:f,activeTabPosition:P,activeTabSize:R,tabActivationDirection:p},ref:t,props:[{role:"presentation",style:T,hidden:!j},d,{suppressHydrationWarning:!0}],stateAttributesMapping:k});return null==m?null:(0,h.jsxs)(i.Fragment,{children:[z,s&&(r||(r=(0,h.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)>
66=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),m=n(15720),h=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:x,locale:w,visibleDuration:S={months:1},minValue:$,maxValue:_,...E}=e,[D,C]=(0,m.P)(t,n||null,v),[I,P]=(0,h.useState)(null),R="center";if(D&&D.start&&D.end){let e=o((0,i.gw)(D.start),S,w,$,_).add(S).subtract({days:1});D.end.compare(e)>0&&(R="start")}let T=(0,h.useRef)(null),[j,z]=(0,h.useState)(null),A=(0,h.useMemo)(()=>(0,r.ZI)($,null==j?void 0:j.start),[$,j]),O=(0,h.useMemo)(()=>(0,r.Py)(_,null==j?void 0:j.end),[_,j]),N=function(e){var t,n,v;let y=(0,h.useMemo)(()=>new(0,f.p)(e.locale),[e.locale]),b=(0,h.useMemo)(()=>y.resolvedOptions(),[y]),{locale:k,createCalendar:x,visibleDuration:w={months:1},minValue:S,maxValue:$,selectionAlignment:_,isDateUnavailable:E,pageBehavior:D="visible",firstDayOfWeek:C}=e,I=(0,h.useMemo)(()=>x(b.calendar),[x,b.calendar]),[P,R]=(0,m.P)(e.value,null!=(t=e.defaultValue)?t:null,e.onChange),T=(0,h.useMemo)(()=>P?(0,i.yP)((0,i.gw)(P),I):null,[P,I]),j=(0,h.useMemo)(()=>P&&"timeZone"in P?P.timeZone:b.timeZone,[P,b.timeZone]),z=(0,h.useMemo)(()=>e.focusedValue?d((0,i.yP)((0,i.gw)(e.focusedValue),I),S,$):void 0,[e.focusedValue,I,S,$]),A=(0,h.useMemo)(()=>d(e.defaultFocusedValue?(0,i.yP)((0,i.gw)(e.defaultFocusedValue),I):T||(0,i.yP)((0,r.Ec)(j),I),S,$),[e.defaultFocusedValue,T,j,I,S,$]),[O,N]=(0,m.P)(z,A,e.onFocusChange),[M,L]=(0,h.useState)(()=>{switch(_){case"start":return s(O,w,k,S,$);case"end":return l(O,w,k,S,$);default:return o(O,w,k,S,$)}}),[F,U]=(0,h.useState)(e.autoFocus||!1),B=(0,h.useMemo)(()=>{let e={...w};return e.days?e.days--:e.days=-1,M.add(e)},[M,w]),[V,Z]=(0,h.useState)(I);if(!(0,r.Jg)(I,V)){let e=(0,i.yP)(O,I);L(o(e,w,k,S,$)),N(e),Z(I)}function K(e){N(e=d(e,S,$))}function q(t){if(!e.isDisabled&&!e.isReadOnly){let e=t;if(null===e)return void R(null);(e=c(e=d(e,S,$),M,E))&&(e=(0,i.yP)(e,(null==P?void 0:P.calendar)||new(0,p.FG)),P&&"hour"in P?R(P.set(e)):R(e))}}a(O,S,$)?N(d(O,S,$)):0>O.compare(M)?L(l(O,w,k,S,$)):O.compare(B)>0&&L(s(O,w,k,S,$));let G=(0,h.useMemo)(()=>!!T&&(!!(E&&E(T))||a(T,S,$)),[T,E,S,$]),W=e.isInvalid||"invalid"===e.validationState||G,H=(0,h.useMemo)(()=>"visible"===D?w:g(w),[D,w]);return{isDisabled:null!=(n=e.isDisabled)&&n,isReadOnly:null!=(v=e.isReadOnly)&&v,value:T,setValue:q,visibleRange:{start:M,end:B},minValue:S,maxValue:$,focusedDate:O,timeZone:j,validationState:W?"invalid":null,isValueInvalid:W,setFocusedDate(e){K(e),U(!0)},focusNextDay(){K(O.add({days:1}))},focusPreviousDay(){K(O.subtract({days:1}))},focusNextRow(){w.days?this.focusNextPage():(w.weeks||w.months||w.years)&&K(O.add({weeks:1}))},focusPreviousRow(){w.days?this.focusPreviousPage():(w.weeks||w.months||w.years)&&K(O.subtract({weeks:1}))},focusNextPage(){let e=M.add(H);N(d(O.add(H),S,$)),L(s(u(O,e,H,k,S,$),H,k))},focusPreviousPage(){let e=M.subtract(H);N(d(O.subtract(H),S,$)),L(s(u(O,e,H,k,S,$),H,k))},focusSectionStart(){w.days?K(M):w.weeks?K((0,r.kq)(O,k)):(w.months||w.years)&&K((0,r.wH)(O))},focusSectionEnd(){w.days?K(B):w.weeks?K((0,r.$I)(O,k)):(w.months||w.years)&&K((0,r.p9)(O))},focusNextSection(e){e||w.days?w.days?this.focusNextPage():w.weeks?K(O.add({months:1})):(w.months||w.years)&&K(O.add({years:1})):K(O.add(g(w)))},focusPreviousSection(e){e||w.days?w.days?this.focusPreviousPage():w.weeks?K(O.subtract({months:1})):(w.months||w.years)&&K(O.subtract({years:1})):K(O.subtract(g(w)))},selectFocusedDate(){E&&E(O)||q(O)},selectDate(e){q(e)},isFocused:F,setFocused:U,isInvalid:e=>a(e,S,$),isSelected(e){return null!=T&&(0,r.ro)(e,T)&&!this.isCellDisabled(e)&&!this.isCellUnavailable(e)},isCellFocused:e=>F&&O&&(0,r.ro)(e,O),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,k,C);let a=(0,r.SJ)(n,k,C);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}}}({...E,value:D&&D.start,createCalendar:x,locale:w,visibleDuration:S,minValue:A,maxValue:O,selectionAlignment:e.selectionAlignment||R}),M=t=>{t&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(T.current={start:k(t,N,-1),end:k(t,N,1)},z(T.current)):(T.current=null,z(null))},[L,F]=(0,h.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?(P(e),M(e)):(P(null),M(null))},B=I?y(I,N.focusedDate):D&&y(D.start,D.end),V=t=>{if(e.isReadOnly)return;let n=c(d(t,A,O),N.visibleRange.start,e.isDateUnavailable);if(n)if(I){let e=y(I,n);e&&C({start:b(e.start,null==D?void 0:D.start),end:b(e.end,null==D?void 0:D.end)}),U(null)}else U(n)},[Z,K]=(0,h.useState)(!1),{isDateUnavailable:q}=e,G=(0,h.useMemo)(()=>!!D&&!I&&(!!(q&&(q(D.start)||q(D.end)))||a(D.start,$,_)||a(D.end,$,_)),[q,D,I,$,_]),W=e.isInvalid||"invalid"===e.validationState||G;
66return{...N,value:D,setValue:C,anchorDate:I,setAnchorDate:U,highlightedRange:B,validationState:W?"invalid":null,isValueInvalid:W,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=T.current)?void 0:t.start,null==(n=T.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 k(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:()=>k});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),m=n(79342),h=n(97057),g=n(83271),v=n(79130),y=n(62165);let b={current:null};function k(e,t={}){let{enabled:n=!0,delay:x=0,handleClose:w=null,mouseOnly:S=!1,restMs:$=0,move:_=!0,triggerElementRef:E=b,externalTree:D,isActiveTrigger:C=!0,getHandleCloseContext:I,isClosing:P,shouldOpen:R,guardStaleOpen:T=!1}=t,j="rootStore"in e?e.rootStore:e,{dataRef:z,events:A}=j.context,O=(0,p.cq)(D),N=(0,g.uu)(j),M=r.useRef(!1),L=(0,u.u)(w),F=(0,u.u)(x),U=(0,u.u)($),B=(0,u.u)(n),V=(0,u.u)(R),Z=(0,u.u)(P),K=(0,l.K)(()=>(0,v.GI)(z.current.openEvent?.type,N.interactedInside)),q=(0,l.K)(()=>V.current?.()!==!1),G=(0,l.K)((e,t,n)=>{let r=j.context.triggerElements;return r.hasElement(t)?!e||!(0,m.gR)(e,t):!!(0,d.vq)(n)&&r.hasMatchingElement(e=>(0,m.gR)(e,n))&&(!e||!(0,m.gR)(e,n))}),W=(0,l.K)(()=>{N.handler&&((0,s.R)(j.select("domReferenceElement")).removeEventListener("mousemove",N.handler),N.handler=void 0)}),H=(0,l.K)(()=>{(0,g.GH)(N)});return C&&(N.handleCloseOptions=L.current?.__options),r.useEffect(()=>W,[W]),r.useEffect(()=>{if(n)return A.on("openchange",e),()=>{A.off("openchange",e)};function e(e){e.open?M.current=!1:(M.current=e.reason===f.N7,W(),N.openChangeTimeout.clear(),N.restTimeout.clear(),N.blockMouseMove=!0,N.restTimeoutPending=!1)}},[n,A,N,W]),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,()=>{j.setOpen(!1,(0,c.d)(f.N7,t)),O?.events.emit("floating.closed",t)}):n&&(N.openChangeTimeout.clear(),j.setOpen(!1,(0,c.d)(f.N7,t)),O?.events.emit("floating.closed",t))}let t=E.current??(C?j.select("domReferenceElement"):null);if(!(0,d.vq)(t))return;function r(e){if(N.openChangeTimeout.clear(),N.blockMouseMove=!1,S&&!(0,h.Go)(N.pointerType))return;let t=(0,v.hq)(U.current),n=(0,v.uf)(F.current,"open",N.pointerType),r=(0,m.EW)(e),i=e.currentTarget??null,a=j.select("domReferenceElement"),o=i;if((0,d.vq)(r)&&!j.context.triggerElements.hasElement(r)){for(let e of j.context.triggerElements.elements())if((0,m.gR)(e,r)){o=e;break}}(0,d.vq)(i)&&(0,d.vq)(a)&&!j.context.triggerElements.hasElement(i)&&(0,m.gR)(i,a)&&(o=a);let s=null!=o&&G(a,o,r),l=j.select("open"),u=Z.current?.()??"ending"===j.select("transitionStatus"),p=!l&&u&&M.current,g=!s&&(0,d.vq)(o)&&(0,d.vq)(a)&&(0,m.gR)(a,o)&&p,y=t>0&&!n,b=!l||s;if(s&&(l||p)||g){q()&&j.setOpen(!0,(0,c.d)(f.N7,e,o));return}!y&&(n?N.openChangeTimeout.start(n,()=>{b&&q()&&j.setOpen(!0,(0,c.d)(f.N7,e,o))}):b&&q()&&j.setOpen(!0,(0,c.d)(f.N7,e,o)))}function i(t){if(K())return void H();W();let n=j.select("domReferenceElement"),r=(0,s.R)(n);N.restTimeout.clear(),N.restTimeoutPending=!1;let i=z.current.floatingContext??I?.();if(!(0,y.Hi)(t.relatedTarget,j.context.triggerElements)){if(L.current&&i){j.select("open")||N.openChangeTimeout.clear();let n=E.current;N.handler=L.current({...i,tree:O,x:t.clientX,y:t.clientY,onClose(){H(),W(),B.current&&!K()&&n===j.select("domReferenceElement")&&e(t,!0)}}),r.addEventListener("mousemove",N.handler),N.handler(t);return}"touch"===N.pointerType&&(0,m.gR)(j.select("floatingElement"),t.relatedTarget)||e(t)}}let l=T?(0,a.q)(t,"mouseout",function(e){(0,m.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)},[W,H,z,F,j,n,L,N,C,G,K,S,_,U,E,O,B,I,Z,q,T]),r.useMemo(()=>
66{if(n)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,n=e.currentTarget,r=j.select("domReferenceElement"),a=j.select("open"),o=G(r,n,e.target);if(S&&!(0,h.Go)(N.pointerType))return;if(a&&o&&N.handleCloseOptions?.blockPointerEvents){let e=j.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=j.select("open");!N.blockMouseMove&&(!e||o)&&q()&&j.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,G,S,j,U,q])}},82317:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,ER:()=>m,Ej:()=>g,UE:()=>y,UU:()=>h,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:m}={},transform:h=!0,whileElementsMounted:g,open:v}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[k,x]=i.useState(c);s(k,c)||x(c);let[w,S]=i.useState(null),[$,_]=i.useState(null),E=i.useCallback(e=>{e!==P.current&&(P.current=e,S(e))},[]),D=i.useCallback(e=>{e!==R.current&&(R.current=e,_(e))},[]),C=p||w,I=m||$,P=i.useRef(null),R=i.useRef(null),T=i.useRef(y),j=null!=g,z=d(g),A=d(f),O=d(v),N=i.useCallback(()=>{if(!P.current||!R.current)return;let e={placement:t,strategy:n,middleware:k};A.current&&(e.platform=A.current),(0,r.rD)(P.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};M.current&&!s(T.current,t)&&(T.current=t,a.flushSync(()=>{b(t)}))})},[k,t,n,A,O]);o(()=>{!1===v&&T.current.isPositioned&&(T.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let M=i.useRef(!1);o(()=>(M.current=!0,()=>{M.current=!1}),[]),o(()=>{if(C&&(P.current=C),I&&(R.current=I),C&&I){if(z.current)return z.current(C,I,N);N()}},[C,I,N,z,j]);let L=i.useMemo(()=>({reference:P,floating:R,setReference:E,setFloating:D}),[E,D]),F=i.useMemo(()=>({reference:C,floating:I}),[C,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 h?{...e,transform:"translate("+t+"px, "+r+"px)",...l(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,h,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]}},m=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),h=(e,t)=>{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 m(e,t){return(0,r.ZU)(e)?e:t}function h(e,t,n){return/hidden|clip/.test(e.getComputedStyle(m(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(h(y,g,v)){let t=new y.MutationObserver(()=>{h(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=m((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,h=0,g=!1,v=d.KP.create();
66if(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,h=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),k=Math.max(0,l.innerHeight-o.clientHeight),x=parseFloat(r.marginTop)+parseFloat(r.marginBottom),w=parseFloat(r.marginLeft)+parseFloat(r.marginRight),S=m(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=m(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,S.style.overflowY="hidden",S.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:x||k?`calc(100dvh - ${x+k}px)`:"100dvh",width:w||b?`calc(100vw - ${w+b}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),o.scrollTop=u,o.scrollLeft=h,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=h,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=p)}y();let k=(0,i.q)(l,"resize",function(){b(),v.request(y)});return()=>{v.cancel(),b(),"function"==typeof l.removeEventListener&&k()}}(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}},83435:(e,t,n)=>{"use strict";n.d(t,{s:()=>k}
66);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),m=n(63389),h=n(62165),g=n(79342),v=n(97057),y=n(64014);function b(){return!1}function k(e,t={}){let{enabled:n=!0,escapeKey:x=!0,outsidePress:w=!0,outsidePressEvent:S="sloppy",referencePress:$=b,bubbles:_,externalTree:E}=t,D="rootStore"in e?e.rootStore:e,C=D.useState("open"),I=D.useState("floatingElement"),{dataRef:P}=D.context,R=(0,c.cq)(E),T=(0,s.K)("function"==typeof w?w:()=>!1),j="function"==typeof w?T:w,z=!1!==j,A=(0,s.K)(()=>S),{escapeKey:O,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(),P.current.insideReactTree=!1}),G=(0,s.K)(e=>{let t=P.current.floatingContext?.nodeId;return(R?(0,y.CM)(R.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),W=(0,s.K)(e=>(0,h.F2)(e,D.select("floatingElement"))||(0,h.F2)(e,D.select("domReferenceElement"))),H=(0,s.K)(e=>{$()&&D.setOpen(!1,(0,f.d)(p.Ui,e.nativeEvent))}),J=(0,s.K)(e=>{if(!C||!n||!x||"Escape"!==e.key||U.current||!O&&G("__escapeKeyBubbles"))return;let t=(0,v.O_)(e)?e.nativeEvent:e,r=(0,f.d)(p.jv,t);D.setOpen(!1,r),r.isCanceled||e.preventDefault(),O||r.isPropagationAllowed||e.stopPropagation()}),Y=(0,s.K)(()=>{P.current.insideReactTree=!0,K.start(0,q)}),X=(0,s.K)(e=>{if(!C||!n||0!==e.button)return;let t=(0,g.EW)(e.nativeEvent);(0,g.gR)(D.select("floatingElement"),t)&&(M.current||(M.current=!0,L.current=!1))}),Q=(0,s.K)(e=>{!C||!n||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&M.current&&(L.current=!0)});r.useEffect(()=>{if(!C||!n)return q;P.current.__escapeKeyBubbles=O,P.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=A(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function v(e){let t=P.current.floatingContext?.nodeId,n=R&&(0,y.CM)(R.nodesRef.current,t).some(t=>(0,h.F2)(e,t.context?.elements.floating));return W(e)||n}function b(e){let n;if("intentional"===(n=c())&&"click"!==e.type||"sloppy"===n&&"click"===e.type){"click"===e.type||W(e)||(t.clear(),F.current=!1),q();return}if(P.current.insideReactTree)return void q();let r=(0,g.EW)(e),i=`[${(0,m.F)("inert")}]`,a=(0,u.vq)(r)?r.getRootNode():null,s=Array.from(((0,u.Ng)(a)?a:(0,o.R)(D.select("floatingElement"))).querySelectorAll(i)),l=D.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,h.tZ)(r)&&!(0,g.gR)(r,D.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 j&&!j(e)||G("__outsidePressBubbles")||(D.setOpen(!1,(0,f.d)(p.Np,e)),q())}}}function k(e){if("sloppy"!==c()||!D.select("open")||!n||W(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 w(e,t){let n=(0,g.EW)(e);if(!n)return;let r=(0,i.q)(n,e.type,()=>{t(e),r()})}function S(e){Z.clear(),"pointerdown"===e.type&&(B.current=e.pointerType),("mousedown"!==e.type||!V.current||V.current.dismissOnMouseDown)&&w(e,e=>{if("pointerdown"===e.type)"sloppy"!==c()||"touch"===e.pointerType||!D.select("open")||!n||W(e)||b(e);else b(e)})}function $(e){if(!M.current)return;let n=L.current;
66if(s(),"intentional"===c()){if("pointercancel"===e.type){n&&r();return}v(e)||(n?r():("function"!=typeof j||j(e))&&(t.clear(),F.current=!0,q()))}}function _(e){if("sloppy"!==c()||!V.current||W(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>10&&(b(e),Z.clear(),V.current=null)}function E(e){"sloppy"!==c()||!V.current||W(e)||(V.current.dismissOnTouchEnd&&b(e),Z.clear(),V.current=null)}let T=(0,o.R)(I),K=(0,a.g)(x&&(0,a.g)((0,i.q)(T,"keydown",J),(0,i.q)(T,"compositionstart",function(){e.clear(),U.current=!0}),(0,i.q)(T,"compositionend",function(){e.start(5*!!d.Fp,()=>{U.current=!1})})),z&&(0,a.g)((0,i.q)(T,"click",S,!0),(0,i.q)(T,"pointerdown",S,!0),(0,i.q)(T,"pointerup",$,!0),(0,i.q)(T,"pointercancel",$,!0),(0,i.q)(T,"mousedown",S,!0),(0,i.q)(T,"mouseup",$,!0),(0,i.q)(T,"touchstart",function(e){B.current="touch",w(e,k)},!0),(0,i.q)(T,"touchmove",function(e){w(e,_)},!0),(0,i.q)(T,"touchend",function(e){w(e,E)},!0)));return()=>{K(),e.clear(),t.clear(),s(),F.current=!1,q()}},[P,I,x,z,j,C,n,O,N,J,q,A,G,W,R,D,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:()=>j,ll:()=>D,rD:()=>A,UU:()=>P,jD:()=>T,ER:()=>z,cY:()=>C,iD:()=>_,BN:()=>I,Ej:()=>R});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 m=(0,r.Sg)(t);return m&&(i[l]+=p*("end"===m?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:m=0}=(0,r._3)(t,e),h=(0,r.nI)(m),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)),k=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=(0,r.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-x.top+h.top)/k.y,bottom:(x.bottom-v.bottom+h.bottom)/k.y,left:(v.left-x.left+h.left)/k.x,right:(x.right-v.right+h.right)/k.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),m=r,h=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:k,data:x,reset:w}=await y({x:f,y:p,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:c,platform:u,elements:{reference:e,floating:t}});f=null!=b?b:f,p=null!=k?k:p,g[v]={...g[v],...x},w&&h<50&&(h++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:f,y:p}=i(c,m,d)),n=-1)}return{x:f,y:p,placement:m,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:m,crossAxis:h,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
vendor: 8,128 bytes, line 66
66:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof g&&(h="end"===l?-1*g:g),d?{x:h*f,y:m*c}:{x:m*c,y:h*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 m(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 h=(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}:h}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=m(i)):l=m(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,h=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=m(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,h*=e.x,v*=e.y,d+=a,f+=o,n=(0,c.zk)(r),r=(0,c._m)(n)}}return(0,r.B1)({width:h,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 k(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=m(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 x(e){return"static"===(0,c.L9)(e).position}function w(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 S(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)&&!x(t))return t;t=(0,c.$4)(t)}return n}let r=w(e,t);for(;r&&(0,c.Lv)(r)&&x(r);)r=w(r,t);return r&&(0,c.eu)(r)&&x(r)&&!(0,c.sQ)(r)?n:r||(0,c.gJ)(e)||n}let $=async function(e){let t=this.getOffsetParent||S,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=m(i),f.x=e.x+i.clientLeft,f.y=e.y+i.clientTop}let h=!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+h.x,y:n.y*d.y-u.scrollTop*d.y+f.y+h.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=k(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=k(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:S,getElementRects:$,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:m,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function E(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function D(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),m=o||s?[...f?(0,c.v9)(f):[],...t?(0,c.v9)(t):[]]:[];m.forEach(e=>{o&&e.addEventListener("scroll",n),s&&e.addEventListener("resize",n)});let h=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:m}=d;if(n||t(),!p||!m)return;let h={rootMargin:-(0,r.RI)(f)+"px "+-(0,r.RI)(o.clientWidth-(c+p))+"px "+-(0,r.RI)(o.clientHeight-(f+m))+"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(!E(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,{...h,root:o.ownerDocument})}catch(e){a=new IntersectionObserver(v,h)}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&&!E(b,r)&&n(),b=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(a)}}let C=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),m=(0,r.PG)(p),h=c[m],g=c[p],v=(e,t)=>
66(0,r.qE)(t+f["y"===e?"top":"left"],t,t-f["y"===e?"bottom":"right"]);s&&(h=v(m,h)),l&&(g=v(p,g));let y=u.fn({...t,[m]:h,[p]:g});return{...y,data:{x:y.x-n,y:y.y-i,enabled:{[m]:s,[p]:l}}}}}},P=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:m=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...k}=(0,r._3)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let x=(0,r.C0)(l),w=(0,r.TV)(c),S=(0,r.C0)(c)===c,$=await (null==f.isRTL?void 0:f.isRTL(p.floating)),_=g||(S||!b?[(0,r.bV)(c)]:(0,r.WJ)(c)),E="none"!==y;!g&&E&&_.push(...(0,r.lP)(c,b,y,$));let D=[c,..._],C=await f.detectOverflow(t,k),I=[],P=(null==(i=u.flip)?void 0:i.overflows)||[];if(m&&I.push(C[x]),h){let e=(0,r.w7)(l,d,$);I.push(C[e[0]],C[e[1]])}if(P=[...P,{placement:l,overflows:I}],!I.every(e=>e<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=D[e];if(t&&("alignment"!==h||w===(0,r.TV)(t)||P.every(e=>(0,r.TV)(e.placement)!==w||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(o=P.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=P.filter(e=>{if(E){let t=(0,r.TV)(e.placement);return t===w||"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{}}}},R=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),m="y"===(0,r.TV)(a),{width:h,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=h-c.left-c.right,b=(0,r.jk)(g-c[n],v),k=(0,r.jk)(h-c[i],y),x=t.middlewareData.shift,w=!x,S=b,$=k;null!=x&&x.enabled.x&&($=y),null!=x&&x.enabled.y&&(S=v),w&&!p&&(m?$=h-2*(0,r.T9)(c.left,c.right):S=g-2*(0,r.T9)(c.top,c.bottom)),await u({...t,availableWidth:$,availableHeight:S});let _=await s.getDimensions(l.floating);return h!==_.width||g!==_.height?{reset:{rects:!0}}:{}}}},T=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{}}}}},j=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},m=(0,r.Dz)(a),h=(0,r.sq)(m),g=await s.getDimensions(d),v="y"===m,y=v?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[m]-p[m]-o.floating[h],k=p[m]-o.reference[m],x=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),w=x?x[y]:0;w&&await (null==s.isElement?void 0:s.isElement(x))||(w=l.floating[y]||o.floating[h]);let S=w/2-g[h]/2-1,$=(0,r.jk)(f[v?"top":"left"],S),_=(0,r.jk)(f[v?"bottom":"right"],S),E=w-g[h]-_,D=w/2-g[h]/2+(b/2-k/2),C=(0,r.qE)($,D,E),I=!u.arrow&&null!=(0,r.Sg)(a)&&D!==C&&o.reference[h]/2-(D<$?$:_)-g[h]/2<0,P=I?D<$?D-$:D-E:0;return{[m]:p[m]+P,data:{[m]:C,centerOffset:D-C-P,...I&&{alignmentOffset:P}},reset:I}}}),z=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:m=!0,crossAxis:h=!0}=(0,r._3)(e,t),g={x:s,y:l},v=(0,r.TV)(d),y=(0,r.PG)(v),b=g[y],k=g[v],x=(0,r._3)(p,t),w="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:null!=(n=x.mainAxis)?n:0,crossAxis:null!=(i=x.crossAxis)?i:0};if(m){let e="y"===y?"height":"width",t=c.reference[y]-c.floating[e]+w.mainAxis,n=c.reference[y]+c.reference[e]-w.mainAxis;b<t?b=t:b>n&&(b=n)}if(h){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:w.crossAxis),i=c.reference[v]+c.reference[e]+(t?0:(null==(o=f.offset)?void 0:o[v])||0)-(t?w.crossAxis:0);k<n?k=n:k>i&&(k=i)}return{[y]:b,[v]:k}}}}
66,A=(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}},84412:(e,t,n)=>{"use strict";let r;n.d(t,{K7:()=>D,ME:()=>_,pP:()=>$});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,m=!1,h={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 k(e){e.target!==window&&e.target!==document&&!i.lR&&e.isTrusted&&(p||m||(d="virtual",g("virtual",e)),p=!1,m=!1)}function x(){i.lR||(p=!1,m=!0)}function w(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",k,!0),t.addEventListener("blur",x,!1),"u">typeof PointerEvent&&(n.addEventListener("pointerdown",y,!0),n.addEventListener("pointermove",y,!0),n.addEventListener("pointerup",y,!0)),t.addEventListener("beforeunload",()=>{S(e)},{once:!0}),f.set(t,{focus:r})}let S=(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",k,!0),n.removeEventListener("blur",x,!1),"u">typeof PointerEvent&&(r.removeEventListener("pointerdown",y,!0),r.removeEventListener("pointermove",y,!0),r.removeEventListener("pointerup",y,!0)),f.delete(n))};function $(){return"pointer"!==d}function _(){return d}"u">typeof document&&("loading"!==(r=(0,l.TW)(void 0)).readyState?w(void 0):r.addEventListener("DOMContentLoaded",()=>{w(void 0)}));let E=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function D(e,t,n){w(),(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&&!E.has(a.activeElement.type)||a.activeElement instanceof s||a.activeElement instanceof u&&a.activeElement.isContentEditable)&&"keyboard"===t&&r instanceof d&&!h[r.key]||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()}}
66),(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),m=n(97057),h=n(40109);let g=r.forwardRef(function(e,t){var n;let{render:c,className:g,style:v,children:y,...b}=e,k=(0,s.Ee)(),x=(0,s.ui)(),w=!!(0,l.O)(!0),{filteredItems:S,hasItems:$}=(0,s.Dc)(),_=(0,i.P)(k,u.T.selectionMode),E=(0,i.P)(k,u.T.grid),D=(0,i.P)(k,u.T.listProps),C=(0,i.P)(k,u.T.virtualized),I=(0,i.P)(k,u.T.forceMounted),P=0===S.length,R=(0,a.K)(e=>{k.set("positionerElement",e)}),T=(0,a.K)(e=>{k.set("listElement",e)}),j=r.useMemo(()=>"function"==typeof y?n||(n=(0,d.jsx)(f,{children:y})):y,[y]),z=x.useState("floatingId"),A=(0,o.o)("div",e,{state:{empty:P},ref:[t,T,w?null:R],props:[D,{children:j,tabIndex:-1,id:z,role:E?"grid":"listbox","aria-multiselectable":"multiple"===_?"true":void 0,onKeyDown(e){if(!k.state.disabled&&!k.state.readOnly&&"Enter"===e.key){let t=k.state.activeIndex;null!=t&&((0,m.jo)(e),(0,h.L6)(k,t,e.nativeEvent))}},onKeyDownCapture(){k.state.keyboardActiveRef.current=!0},onPointerMoveCapture(){k.state.keyboardActiveRef.current=!1}},b]});if(C)return A;let O=$&&!I?void 0:k.state.labelsRef;return(0,d.jsx)(p.u,{elementsRef:k.state.listRef,labelsRef:O,children:A})})},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:m=!0,ignoreMouse:h=!1,stickIfOpen:g=!0,touchOpenDelay:v=0,reason:y=c.Ui}=t,b="rootStore"in e?e.rootStore:e,k=b.context.dataRef,x=r.useRef(void 0),w=(0,i.NR)(),S=(0,a.Z)(),$=r.useMemo(()=>{function e(e,t,n,r){let i=(0,d.d)(y,t,n);e&&"touch"===r&&v>0?S.start(v,()=>{b.setOpen(!0,i)}):b.setOpen(e,i)}function t(e,t,n){let r=k.current.openEvent,i=b.select("domReferenceElement")!==t;return!!e&&!!i||!e||!m||!!r&&!!g&&!n(r.type)}return{onPointerDown(e){x.current=(0,u.Go)(e.pointerType,!0)&&(0,u.Pg)(e.nativeEvent)?"virtual":e.pointerType},onMouseDown(n){let r=x.current,i=n.nativeEvent,a=b.select("open");if(0!==n.button||"click"===p||(0,u.Go)(r,!0)&&h)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;w.request(()=>{e(o,i,c,r)})},onClick(n){if("mousedown-only"===p)return;let r=x.current;if("mousedown"===p&&r){x.current=void 0;return}(0,u.Go)(r,!0)&&h||e(t(b.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){x.current=void 0}}},[k,p,h,y,b,g,m,w,S,v]);return r.useMemo(()=>n?{reference:$}:o.t0,[n,$])}},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}}},87079:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r,i=n(34023);let a={...r||(r=n.t(i,2))}},87251:(e,t,n)=>{"use strict";let r,i,a;var o,s,l={};n.r(l),n.d(l,{Decoder:()=>em,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,m=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,h=({type:e,data:t},n,r)=>{if(f&&t instanceof Blob)if(n)return r(t);else return g(t,r);
66if(p&&(t instanceof ArrayBuffer||m(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 k="function"==typeof ArrayBuffer,x=(e,t)=>{if("string"!=typeof e)return{type:"message",data:S(e,t)};let n=e.charAt(0);return"b"===n?{type:"message",data:w(e.substring(1),t)}:d[n]?e.length>1?{type:d[n],data:e.substring(1)}:{type:d[n]}:c},w=(e,t)=>k?S((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},S=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer;function $(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(e){if(e){var t=e;for(var n in E.prototype)t[n]=E.prototype[n];return t}}E.prototype.on=E.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},E.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},E.prototype.off=E.prototype.removeListener=E.prototype.removeAllListeners=E.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},E.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},E.prototype.emitReserved=E.prototype.emit,E.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},E.prototype.hasListeners=function(e){return!!this.listeners(e).length};let D="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),C="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 P=C.setTimeout,R=C.clearTimeout;function T(e,t){t.useNativeTimers?(e.setTimeoutFn=P.bind(C),e.clearTimeoutFn=R.bind(C)):(e.setTimeoutFn=C.setTimeout.bind(C),e.clearTimeoutFn=C.clearTimeout.bind(C))}function j(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class z extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class A extends E{constructor(e){super(),this.writable=!1,T(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 z(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=x(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 O extends A{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}
66doOpen(){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=x(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)=>{h(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]=j()),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 O{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 E{constructor(e,t,n){super(),this.createRequest=e,T(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&&(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 C?"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 C[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(e){}}let q="u">typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class G extends A{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)}
66this.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;h(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch(e){}r&&D(()=>{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]=j()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}let W=C.WebSocket||C.MozWebSocket;class H extends G{createSocket(e,t,n){return q?new W(e,t,n):t?new W(e,t):new W(e)}doWrite(e,t){this.ws.send(t)}}class J extends A{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>$(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>$(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>$(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($(a)<s)break;let e=_(a,s);r.enqueue(x(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||m(e.data))?n(v(e.data)):h(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&&D(()=>{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",()=>
66{en.forEach(e=>e())},!1);class er extends E{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);T(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("=");
66t[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,D(()=>{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"}
66]),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 em extends E{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 eh(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;);
66n.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(em.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 eh{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 ek=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class ex extends E{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(ek.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);
66i.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()}
66_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 ew(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}ew.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)},ew.prototype.reset=function(){this.attempts=0},ew.prototype.setMin=function(e){this.ms=e},ew.prototype.setMax=function(e){this.max=e},ew.prototype.setJitter=function(e){this.jitter=e};class eS extends E{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,T(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 ew({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){D(()=>{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 ex(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;
66n++)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 e$={};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=e$[a]&&o in e$[a].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||s?n=new eS(i,t):(e$[a]||(e$[a]=new eS(i,t)),n=e$[a]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(e_,{Manager:eS,Socket:ex,io:e_,connect:e_})},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"),m=f.useState("nested"),h=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:m,transitionStatus:h,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,{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),u=s.find(l);if(u){let e=u.props.children,n=s.map(t=>t!==u?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){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}}))}}
66,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)}},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),m=n(79342),h=n(64014),g=n(83271),v=n(62165),y=n(79130);function b(e,t={}){let{enabled:n=!0,closeDelay:k=0,nodeId:x}=t,w="rootStore"in e?e.rootStore:e,S=w.useState("open"),$=w.useState("floatingElement"),_=w.useState("domReferenceElement"),{dataRef:E}=w.context,D=(0,p.cq)(),C=(0,p.R1)(),I=(0,g.uu)(w),P=(0,u.Z)(),R=(0,l.K)(()=>(0,y.GI)(E.current.openEvent?.type,I.interactedInside)),T=(0,l.K)(()=>(0,y.h$)(E.current.openEvent?.type)),j=(0,l.K)(()=>{(0,g.GH)(I)});(0,o.g)(()=>{S||(I.pointerType=void 0,I.restTimeoutPending=!1,I.interactedInside=!1,j())},[S,I,j]),r.useEffect(()=>j,[j]),(0,o.g)(()=>{if(n&&S&&I.handleCloseOptions?.blockPointerEvents&&T()&&(0,d.vq)(_)&&$){let e=(0,s.R)($),t=D?.nodesRef.current.find(e=>e.id===C)?.context?.elements.floating;t&&(t.style.pointerEvents="");let n=I.pointerEventsScopeElement!==$?I.pointerEventsScopeElement:null,r=t!==$?t:null,i=I.handleCloseOptions?.getScope?.()??n??r??_.closest("[data-rootownerid]")??e.body;return(0,g.D8)(I,{scopeElement:i,referenceElement:_,floatingElement:$}),()=>{j()}}},[n,S,_,$,I,T,D,C,j]),r.useEffect(()=>{if(n)return(0,a.g)($&&(0,i.q)($,"mouseenter",function(){I.openChangeTimeout.clear(),P.clear(),D?.events.off("floating.closed",t),j()}),$&&(0,i.q)($,"mouseleave",function(n){if(e()&&D)return void D.events.on("floating.closed",t);if((0,v.Hi)(n.relatedTarget,w.context.triggerElements))return;let r=E.current.floatingContext?.nodeId??x,i=n.relatedTarget;if(!(D&&r&&(0,d.vq)(i)&&(0,h.CM)(D.nodesRef.current,r,!1).some(e=>(0,m.gR)(e.context?.elements.floating,i)))){let e,t;if(I.handler)return void I.handler(n);j(),T()&&!R()&&(e=(0,y.uf)(k,"close",I.pointerType),t=()=>{w.setOpen(!1,(0,c.d)(f.N7,n)),D?.events.emit("floating.closed",n)},e?I.openChangeTimeout.start(e,t):(I.openChangeTimeout.clear(),t()))}}),$&&(0,i.q)($,"pointerdown",function(e){let t=(0,m.EW)(e);if(!(0,v.H5)(t)){I.interactedInside=!1;return}I.interactedInside=t?.closest("[aria-haspopup]")!=null},!0),()=>{D?.events.off("floating.closed",t)});function e(){return!!(D&&C&&(0,h.CM)(D.nodesRef.current,C).length>0)}function t(n){!D||!C||e()||P.start(0,()=>{D.events.off("floating.closed",t),w.setOpen(!1,(0,c.d)(f.N7,n)),D.events.emit("floating.closed",n)})}},[n,$,w,E,k,x,T,R,j,I,D,C,P])}},91352:(e,t,n)=>{"use strict";n.d(t,{AO:()=>p,Kr:()=>h,N:()=>S,Qp:()=>w,XJ:()=>y,Yu:()=>k,bp:()=>x,nq:()=>m,vF:()=>v,yV:()=>$});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);
66if(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 m(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 h(e){let t=m(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=h(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=h((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 k(e){return b(e,1)}function x(e){return b(e,-1)}function w(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,a.gR)(n,r)}function S(e){h(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function $(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"),m=e.useState("floatingRootContext"),[h,g]=r.useState(0),[v,y]=r.useState(0),b=0===h,k=(0,o.s)(m,{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(h+1,v+ +!!n):t.onNestedDialogOpen(0,0)),()=>{t?.onNestedDialogOpen&&d&&t.onNestedDialogOpen(0,0)}),[n,d,h,v,t]),(0,l.i6)(e,{activeTriggerProps:k.reference,inactiveTriggerProps:k.trigger,popupProps:k.floating,nestedOpenDialogCount:h,nestedOpenDrawerCount:v}),null}var d=n(61426),c=n(56721),f=n(28227),p=n(3559);let m={...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 h 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};
66return 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),m)}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:m,triggerId:b,defaultTriggerId:k=null}=t,x="alert-dialog"===e,w=(0,d.P)(!0),S={modal:!!x||f,disablePointerDismissal:x||c,nested:null!=w,role:x?"alertdialog":"dialog"},$=(0,l.xp)((e,t)=>new h({open:a,openProp:i,activeTriggerId:k,triggerIdProp:b,...S},e,t),!0);$.useControlledProp("openProp",i),$.useControlledProp("triggerIdProp",b),$.useSyncedValues(S),$.useContextCallback("onOpenChange",o),$.useContextCallback("onOpenChangeComplete",s);let _=$.useState("open"),E=$.useState("mounted"),D=$.useState("payload");(0,l.xs)($,_),(0,l.tr)($);let{forceUnmount:C}=(0,l.l$)(_,$);r.useImperativeHandle(p,()=>({unmount:C,close:()=>$.setOpen(!1,(0,g.d)(v.zJ))}),[C,$]);let I=_||E;return(0,y.jsxs)(d.a.Provider,{value:$,children:[m&&(0,y.jsx)(l.Ae,{handle:m,store:$}),I&&(0,y.jsx)(u,{store:$,parentContext:w?.context,isDrawer:"drawer"===e}),"function"==typeof n?n({payload:D}):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),m=n(23416),h=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,h.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,k]=(0,d.useState)(!1),x=e.isDisabled||t.isNextVisibleRangeInvalid();x&&b&&(k(!1),t.setFocused(!0));let[w,S]=(0,d.useState)(!1),$=e.isDisabled||t.isPreviousVisibleRangeInvalid();$&&w&&(S(!1),t.setFocused(!0));
66let _=(0,p.b)({id:e.id,"aria-label":[e["aria-label"],g].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:(0,m.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:x,onFocusChange:k},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":a.format("previous"),isDisabled:$,onFocusChange:S},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=>
66{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>
67
68Set 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:m,enabled:h=!0}=t,g=h?"function"==typeof r?r(c):r:void 0,v=h?"function"==typeof i?i(c):i:void 0,y=h?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,m):u.t0,b=h&&p?Array.isArray(n=p)?(0,d.lZ)(n):(0,d.v6)(void 0,n):void 0,k=h?(0,l.r)(y,b)??{}:u.t0;return("u">typeof document&&(h?Array.isArray(f)?k.ref=(0,a.U)([k.ref,s(o),...f]):k.ref=(0,a.a)(k.ref,s(o),f):(0,a.a)(null,null)),h)?(void 0!==g&&(k.className=(0,d.VN)(k.className,g)),void 0!==v&&(k.style=(0,l.r)(k.style,v)),k):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;
68let 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)}},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;function 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:()=>j,i3:()=>A,UC:()=>z,bL:()=>T,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),m="Popper",[h,g]=(0,d.A)(m),[v,y]=h(m),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=m;var k="PopperAnchor",x=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...a}=e,l=y(k,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})});x.displayName=k;var w="PopperContent",[S,$]=h(w),_=r.forwardRef((e,t)=>{let{__scopePopper:n,side:l="bottom",sideOffset:d=0,align:m="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:v=!0,collisionBoundary:b=[],collisionPadding:k=0,sticky:x="partial",hideWhenDetached:$=!1,updatePositionStrategy:_="optimized",onPlaced:E,...D}=e,C=y(w,n),[T,j]=r.useState(null),z=(0,u.s)(t,e=>j(e)),[A,O]=r.useState(null),N=(0,p.X)(A),M=N?.width??0,L=N?.height??0,F="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},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:G,middlewareData:W}=(0,i.we)({strategy:"fixed",placement:l+("center"!==m?"-"+m:""),whileElementsMounted:(...e)=>(0,a.ll)(...e,{animationFrame:"always"===_}),elements:{reference:C.anchor},middleware:[(0,i.cY)({mainAxis:d+L,alignmentAxis:h}),v&&(0,i.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?(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`)}}),A&&(0,i.UE)({element:A,padding:g}),P({arrowWidth:M,arrowHeight:L}),$&&(0,i.jD)({strategy:"referenceHidden",...V})]}),[H,J]=R(q),Y=(0,c.c)(E);(0,f.N)(()=>{G&&Y?.()},[G,Y]);let X=W.arrow?.x,Q=W.arrow?.y,ee=W.arrow?.centerOffset!==0,[et,en]=r.useState();return(0,f.N)(()=>{T&&en(window.getComputedStyle(T).zIndex)},[T]),(0,s.jsx)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:G?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[W.transformOrigin?.x,W.transformOrigin?.y].join(" "),...W.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(S,{scope:n,placedSide:H,onArrowChange:O,arrowX:X,arrowY:Q,shouldHideArrow:ee,children:(0,s.jsx)(o.sG.div,{"data-side":H,"data-align":J,...D,ref:z,style:{...D.style,animation:G?void 0:"none"}})})})});_.displayName=w;var E="PopperArrow",D={top:"bottom",right:"left",bottom:"top",left:"r
68ight"},C=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=$(E,n),a=D[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}C.displayName=E;var P=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]=R(n),d={start:"0%",center:"50%",end:"100%"}[u],c=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p="",m="";return"bottom"===l?(p=a?d:`${c}px`,m=`${-s}px`):"top"===l?(p=a?d:`${c}px`,m=`${r.floating.height+s}px`):"right"===l?(p=`${-s}px`,m=a?d:`${f}px`):"left"===l&&(p=`${r.floating.width+s}px`,m=a?d:`${f}px`),{data:{x:p,y:m}}}});function R(e){let[t,n="center"]=e.split("-");return[t,n]}var T=b,j=x,z=_,A=C},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)(),m=p.useState("open"),{getButtonProps:h,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){m&&p.setOpen(!1,(0,s.d)(l.SR,e.nativeEvent))}},f,h]})})},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),m=n(62165),h=n(94799);let g=r.forwardRef(function(e,t){let{render:n,className:g,style:v,children:y,...b}=e,k=(0,f.l)(),x=(0,u.Z)(),w=r.useRef(!1),S=r.useRef(!1),$=r.useRef(!1),_=k.useState("isEmpty"),E=k.useState("toasts"),D=k.useState("focused"),C=k.useState("expanded"),I=k.useState("prevFocusElement"),P=E[0]?.height,R=E.some(e=>"ending"===e.transitionStatus),T=E.filter(e=>"high"===e.priority);function j(){k.state.toasts.some(e=>"ending"===e.transitionStatus)||$.current||!S.current||(k.state.isWindowFocused&&k.resumeTimers(),k.set("hovering",!1),S.current=!1)}function z(){k.pauseTimers(),k.set("hovering",!0),S.current=!1}function A(e){"touch"===e.pointerType&&($.current=!1,j())}function O(){if(w.current){w.current=!1;return}!D&&(0,m.em)((0,d.RS)((0,s.R)(k.state.viewport)))&&(k.set("focused",!0),k.pauseTimers())}r.useEffect(()=>{let e=k.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(),k.set("prevFocusElement",(0,d.RS)(n)),e?.focus({preventScroll:!0}),k.pauseTimers(),k.set("focused",!0))}),(0,i.q)(t,"blur",function(e){(0,d.EW)(e)===t&&(k.set("isWindowFocused",!1),k.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,m.em)(i)||k.resumeTimers(),x.start(0,()=>k.set("isWindowFocused",!0))},!0),(0,i.q)(n,"pointerdown",k.handleDocumentPointerDown,!0))},[k,x,_]),r.useEffect(j,[R,k]);let N={tabIndex:-1,role:"region","aria-live":"polite","aria-atomic":!1,"aria-relevant":"additions text","aria-label":"Notifications",onMouseEnter:z,onMouseMove:z,onMouseLeave:function(){S.current=!0,j()},onFocus:O,onBlur:function(e){!(!D||(0,d.gR)(k.state.viewport,e.relatedTarget))&&(k.set("focused",!1),k.state.isWindowFocused&&k.resumeTimers())},onKeyDown:function(e){"Tab"===e.key&&e.shiftKey&&(0,d.EW)(e.nativeEvent)===k.state.viewport&&(e.preventDefault(),k.restoreFocusToPrevElement())},onClick:O,onPointerDown:function(e){"touch"===e.pointerType&&($.current=!0)},onPointerUp:A,onPointerCancel:A,style:{"--toast-frontmost-height":P?`${P}px`:void 0}},M=!_&&I&&(0,h.jsx)(c.U,{onFocus:function(e){w.current=!0;let t=e.relatedTarget===k.state.viewport?E.find(e=>"ending"!==e.transitionStatus&&!e.limited):void 0;t?t.ref?.current?.focus():k.restoreFocusToPrevElement()}}
68),L=(0,p.o)("div",e,{ref:[t,k.setViewport],state:{expanded:C},props:[N,b,{children:(0,h.jsxs)(r.Fragment,{children:[M,y,M]})}]});return(0,h.jsxs)(r.Fragment,{children:[M,L,!D&&T.length>0&&(0,h.jsx)("div",{style:l.Q,children:T.map(e=>(0,h.jsxs)("div",{role:"alert","aria-atomic":!0,children:[(0,h.jsx)("div",{children:e.title}),(0,h.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)(),m=r.useRef(-1),[h,g]=r.useState(null==u&&t?()=>{if(-1===m.current){let e=p.current;p.current+=1,m.current=e}return m.current}:-1),v=u??h,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)(()=>{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 m(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:()=>C,assert:()=>s,assertEqual:()=>r,assertIs:()=>a,assertNever:()=>o,assertNotEqual:()=>i,assignProp:()=>y,base64ToUint8Array:()=>ea,base64urlToUint8Array:()=>es,cached:()=>c,captureStackTrace:()=>E,cleanEnum:()=>ei,cleanRegex:()=>p,clone:()=>O,cloneDef:()=>k,createTransparentProxy:()=>M,defineLazy:()=>g,esc:()=>$,escapeRegex:()=>A,extend:()=>K,finalizeIssue:()=>Q,floatSafeRemainder:()=>m,getElementAtPath:()=>x,getEnumValues:()=>l,getLengthableOrigin:()=>et,getParsedType:()=>T,getSizableOrigin:()=>ee,hexToUint8Array:()=>eu,isObject:()=>D,isPlainObject:()=>I,issue:()=>er,joinValues:()=>u,jsonStringifyReplacer:()=>d,merge:()=>G,mergeDefs:()=>b,normalizeParams:()=>N,nullish:()=>f,numKeys:()=>R,objectClone:()=>v,omit:()=>Z,optionalKeys:()=>F,parsedType:()=>en,partial:()=>W,pick:()=>V,prefixIssues:()=>Y,primitiveTypes:()=>z,promiseAllObject:()=>w,propertyKeyTypes:()=>j,randomString:()=>S,required:()=>H,safeExtend:()=>q,shallowClone:()=>P,slugify:()=>_,stringifyPrimitive:()=>L,uint8ArrayToBase64:()=>eo,uint8ArrayToBase64url:()=>el,uint8ArrayToHex:()=>ed,unwrapMessage:()=>X});let h=Symbol("evaluating");function g(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==h)return void 0===r&&(r=h,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 k(e){return b(e._zod.def)}function x(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function w(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 S(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){return JSON.stringify(e)}function _(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let E="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function D(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let C=c(()=>
68{if("u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function I(e){if(!1===D(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let n=t.prototype;return!1!==D(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function P(e){return I(e)?{...e}:Array.isArray(e)?[...e]:e}function R(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}let T=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}`)}},j=new Set(["string","number","symbol"]),z=new Set(["string","number","bigint","boolean","symbol","undefined"]);function A(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function O(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=>(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 O(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 O(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 O(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 O(e,n)}function G(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 O(e,n)}function W(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 O(t,i)}
68function 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 O(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){}}},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:()=>$});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),m=n(3768),h=n(20290),g=n(62165),v=n(79342),y=n(82391),b=n(97057);function k(e){return u.Fp&&0===e.movementX&&0===e.movementY}function x(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function w(e,t){return x(t,e===h.il||e===h.Jd,e===h.eR||e===h.RJ)}function S(e,t,n){return x(t,e===h.Jd,n?e===h.eR:e===h.RJ)||"Enter"===e||" "===e||""===e}function $(e,t){let{listRef:n,activeIndex:u,onNavigate:$=()=>{},enabled:_=!0,selectedIndex:E=null,allowEscape:D=!1,loopFocus:C=!1,nested:I=!1,rtl:P=!1,virtual:R=!1,focusItemOnOpen:T="auto",focusItemOnHover:j=!0,openOnArrowKeyDown:z=!0,disabledIndices:A,orientation:O="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"),G=V.context.dataRef,W=(0,g.nd)(K),H=(0,g.WZ)(q),J=(0,l.u)(W),Y=(0,p.R1)(),X=(0,p.cq)(F),Q=r.useRef(T),ee=r.useRef(E??-1),et=r.useRef(null),en=r.useRef(!0),er=(0,s.K)(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)(A),ed=(0,l.u)(Z),ec=(0,l.u)(E),ef=(0,l.u)(L),ep=(0,i.NR)(),em=(0,i.NR)(),eh=(0,s.K)(()=>{function e(e){R?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),ex&&(r||!en.current)&&i.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,a.g)(()=>{G.current.orientation=O},[G,O]),(0,a.g)(()=>{_&&(Z&&K?(ee.current=E??-1,Q.current&&null!=E&&(es.current=!0,er())):ei.current&&(ee.current=-1,er()))},[_,Z,K,E,er]),(0,a.g)(()=>
68{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,eh()),(!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=>em.request(e):queueMicrotask)(t),e+=1):(ee.current=null==et.current||S(et.current,O,P)||I?(0,m.Zb)(n):(0,m.vB)(n),et.current=null,er())};t()}}else(0,m.du)(n.current,u)||(ee.current=u,eh(),es.current=!1)}},[_,Z,K,u,ec,I,n,O,P,er,eh,em]),(0,a.g)(()=>{if(!_||K||!X||R||!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,R]),(0,a.g)(()=>{ea.current=Z,ei.current=!!K}),(0,a.g)(()=>{Z||(et.current=null,Q.current=T)},[Z,T]);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,m.Zb)(n,eu.current)),ek=(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=P?t===h.RJ:t===h.eR,i=t===h.il,"both"===O||"horizontal"===O&&B?"Escape"===t:x(O,r,i))){w(e.key,ey())||(0,b.jo)(e),V.setOpen(!1,(0,c.d)(f.Dq,e.nativeEvent)),(0,d.sb)(q)&&(R?X?.events.emit("virtualfocus",q):q.focus());return}let a=ee.current,o=(0,m.Zb)(n,A),s=(0,m.vB)(n,A);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,O,C,P,A,o,s);if(null!=t&&(ee.current=t,er(e)),"both"===O)return}if(w(e.key,O)){if((0,b.jo)(e),Z&&!R&&(0,v.RS)(e.currentTarget.ownerDocument)===e.currentTarget){ee.current=S(e.key,O,P)?o:s,er(e);return}S(e.key,O,P)?C?a>=s?D&&a!==n.current.length?ee.current=-1:(eo.current=!1,ee.current=o):ee.current=(0,m.BF)(n.current,{startingIndex:a,disabledIndices:A}):ee.current=Math.min(s,(0,m.BF)(n.current,{startingIndex:a,disabledIndices:A})):C?a<=o?D&&-1!==a?ee.current=n.current.length:(eo.current=!1,ee.current=s):ee.current=(0,m.BF)(n.current,{startingIndex:a,decrement:!0,disabledIndices:A}):ee.current=Math.max(o,(0,m.BF)(n.current,{startingIndex:a,decrement:!0,disabledIndices:A})),(0,m.du)(n.current,ee.current)&&(ee.current=-1),er(e)}}),ex=r.useMemo(()=>({onFocus(e){eo.current=!0,ev(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){!k(e)&&(eo.current=!0,es.current=!1,j&&ev(e))},onPointerLeave(e){if(!ed.current||!en.current||"touch"===e.pointerType)return;eo.current=!0;let t=e.relatedTarget;if(!(!j||n.current.includes(t))&&ef.current&&(el.current?.(),el.current=null,ee.current=-1,er(e),!R)){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,j,n,er,ef,R]),ew=r.useMemo(()=>R&&Z&&eg&&{"aria-activedescendant":`${M}-${u}`},[R,Z,eg,M,u]),eS=r.useMemo(()=>({"aria-orientation":"both"===O?void 0:O,...!H?ew:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&Z&&!R){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}ek(e)},onPointerMove(e){k(e)||(en.current=!0)}}),[ew,ek,J,O,H,V,Z,R,q]),e$=r.useMemo(()=>{function e(e){V.setOpen(!0,(0,c.d)(f.Dq,e.nativeEvent,e.currentTarget))}function t(e){"auto"===T&&(0,b.YF)(e.nativeEvent)&&(Q.current=!R)}function n(e){Q.current=T,"auto"===T&&(0,b.Pg)(e.nativeEvent)&&(Q.current=!0)}return{onKeyDown(t){var n,r;let i=V.select("open");en.current=!1;let a=t.key.startsWith("Arrow"),o=(n=t.key,r=ey(),x(r,P?n===h.eR:n===h.RJ,n===h.Jd)),s=w(t.key,O),l=(I?o:s)||"Enter"===t.key||""===t.key.trim();if(R&&i)return ek(t);if(i||z||!a){if(l){let e=w(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&&z?e(t):ek(t),i&&er(t))}},onFocus(e){V.select("open")&&!R&&(ee.current=-1,er(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[ek,T,eb,I,er,V,z,O,ey,P,ec,R]),e_=r.useMemo(()=>({...ew,...e$}),[ew,e$]);return r.useMemo(()=>_?{reference:e_,floating:eS,item:ex,trigger:e$}:{},[_,e_,eS,e$,ex])}},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)=>
68n[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}),{...{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:"Olandska ostrva",az:"Azerbejdžan",ba:"Bosna i Hercegovina",bb:"Barbados",bd:"Bangladeš",be:"Belgija",bf:"Burkina Faso",bg:"Bugarska",bh:"Bahrein",bi:"Burundi",bj:"Benin",bl:"Sveti Bartolomej",bm:"Bermuda",bn:"Brunej",bo:"Bolivija",bq:"Karipska Holandija",br:"Brazil",bs:"Bahami",bt:"Butan",bw:"Bocvana",by:"Bjelorusija",bz:"Belize",ca:"Kanada",cc:"Kokosova (Keelingova) ostrva",cd:"Demokratska Republika Kongo",cf:"Centralnoafrička Republika",cg:"Kongo",ch:"Švicarska",ci:"Obala Slonovače",ck:"Kukova ostrva",cl:"Čile",cm:"Kamerun",cn:"Kina",co:"Kolumbija",cr:"Kostarika",cu:"Kuba",cv:"Kape Verde",cw:"Kurasao",cx:"Božićno ostrvo",cy:"Kipar",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:"Španija",et:"Etiopija",fi:"Finska",fj:"Fidži",fk:"Folklandska ostrva",fm:"Mikronezija",fo:"Farska ostrva",fr:"Francuska",ga:"Gabon",gb:"Ujedinjeno Kraljevstvo",gd:"Grenada",ge:"Gruzija",gf:"Francuska Gvajana",gg:"Gernzi",gh:"Gana",gi:"Gibraltar",gl:"Grenland",gm:"Gambija",gn:"Gvineja",gp:"Gvadalupe",gq:"Ekvatorijalna Gvineja",gr:"Grčka",gt:"Gvatemala",gu:"Guam",gw:"Gvineja-Bisao",gy:"Gvajana",hk:"Hong Kong (SAR Kina)",hn:"Honduras",hr:"Hrvatska",ht:"Haiti",hu:"Mađarska",id:"Indonezija",ie:"Irska",il:"Izrael",im:"Ostrvo Man",in:"Indija",io:"Britanska Teritorija u Indijskom Okeanu",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 Kits i Nevis",kp:"Sjeverna Koreja",kr:"Južna Koreja",kw:"Kuvajt",ky:"Kajmanska ostrva",kz:"Kazahstan",la:"Laos",lb:"Liban",lc:"Sveta Lucija",li:"Lihtenštajn",lk:"Šri Lanka",lr:"Liberija",ls:"Lesoto",lt:"Litvanija",lu:"Luksemburg",lv:"Latvija",ly:"Libija",ma:"Maroko",mc:"Monako",md:"Moldavija",me:"Crna Gora",mf:"Sveti Martin",mg:"Madagaskar",mh:"Maršalova ostrva",mk:"Sjeverna Makedonija",ml:"Mali",mm:"Mjanmar",mn:"Mongolija",mo:"Makao (SAR Kina)",mp:"Sjeverna Marijanska ostrva",mq:"Martinik",mr:"Mauritanija",ms:"Monserat",mt:"Malta",mu:"Mauricijus",mv:"Maldivi",mw:"Malavi",mx:"Meksiko",my:"Malezija",mz:"Mozambik",na:"Namibija",nc:"Nova Kaledonija",ne:"Niger",nf:"Ostrvo Norfolk",ng:"Nigerija",ni:"Nikaragva",nl:"Holandija",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:"Sveti Petar i Mikelon",pr:"Porto Riko",ps:"Palestinska Teritorija",pt:"Portugal",pw:"Palau",py:"Paragvaj",qa:"Katar",re:"Reunion",ro:"Rumunija",rs:"Srbija",ru:"Rusija",rw:"Ruanda",sa:"Saudijska Arabija",sb:"Solomonska Ostrva",sc:"Sejšeli",sd:"Sudan",se:"Švedska",sg:"Singapur",sh:"Sveta Helena",si:"Slovenija",sj:"Svalbard i Jan Majen",sk:"Slovačka",sl:"Sijera Leone",sm:"San Marino",sn:"Senegal",so:"Somalija",sr:"Surinam",ss:"Južni Sudan",st:"Sao Tome i Principe",sv:"Salvador",sx:"Sint Marten",sy:"Sirija",sz:"Esvatini",tc:"Ostrva Turks 
68i Kaikos",td:"Čad",tg:"Togo",th:"Tajland",tj:"Tadžikistan",tk:"Tokelau",tl:"Istočni Timor",tm:"Turkmenistan",tn:"Tunis",to:"Tonga",tr:"Turska",tt:"Trinidad i Tobago",tv:"Tuvalu",tw:"Tajvan",tz:"Tanzanija",ua:"Ukrajina",ug:"Uganda",us:"Sjedinjene Države",uy:"Urugvaj",uz:"Uzbekistan",va:"Vatikan",vc:"Sveti Vinsent i Grenadin",ve:"Venecuela",vg:"Britanska Djevičanska ostrva",vi:"Američka Djevičanska ostrva",vn:"Vijetnam",vu:"Vanuatu",wf:"Ostrva Valis i Futuna",ws:"Samoa",ye:"Jemen",yt:"Majote",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"}};let 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"}
68,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. 
68Vincent 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"}
68,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
68:"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
68:"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",
68nl:"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 
68i 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
68:"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"};({...{ad:"Andora",ae:"Jungtiniai Arabų Emyratai",af:"Afganistanas",ag:"Antigva ir Barbuda",ai:"Angilija",al:"Albanija",am:"Armėnija",ao:"Angola",ar:"Argentina",as:"Amerikos Samoa",at:"Austrija",au:"Australija",aw:"Aruba",ax:"Alandų Salos",az:"Azerbaidžanas",ba:"Bosnija ir Hercegovina",bb:"Barbadosas",bd:"Bangladešas",be:"Belgija",bf:"Burkina Fasas",bg:"Bulgarija",bh:"Bahreinas",bi:"Burundis",bj:"Beninas",bl:"Sen Bartelemi",bm:"Bermuda",bn:"Brunėjus",bo:"Bolivija",bq:"Karibų Nyderlandai",br:"Brazilija",bs:"Bahamos",bt:"Butanas",bw:"Botsvana",by:"Baltarusija",bz:"Belizas",ca:"Kanada",cc:"Kokosų (Kilingo) Salos",cd:"Kongas-Kinšasa",cf:"Centrinės Afrikos Respublika",cg:"Kongas-Brazavilis",ch:"Šveicarija",ci:"Dramblio Kaulo Krantas",ck:"Kuko Salos",cl:"Čilė",cm:"Kamerūnas",cn:"Kinija",co:"Kolumbija",cr:"Kosta Rika",cu:"Kuba",cv:"Žaliasis Kyšulys",cw:"Kiurasao",cx:"Kalėdų Sala",cy:"Kipras",cz:"Čekija",de:"Vokietija",dj:"Džibutis",dk:"Danija",dm:"Dominika",do:"Dominikos Respublika",dz:"Alžyras",ec:"Ekvadoras",ee:"Estija",eg:"Egiptas",eh:"Vakarų Sachara",er:"Eritrėja",es:"Ispanija",et:"Etiopija",fi:"Suomija",fj:"Fidžis",fk:"Folklando Salos",fm:"Mikronezija",fo:"Farerų Salos",fr:"Prancūzija",ga:"Gabonas",gb:"Jungtinė Karalystė",gd:"Grenada",ge:"Gruzija",gf:"Prancūzijos Gviana",gg:"Gernsis",gh:"Gana",gi:"Gibraltaras",gl:"Grenlandija",gm:"Gambija",gn:"Gvinėja",gp:"Gvadelupa",gq:"Pusiaujo Gvinėja",gr:"Graikija",gt:"Gvatemala",gu:"Guamas",gw:"Bisau Gvinėja",gy:"Gajana",hk:"Ypatingasis Administracinis Kinijos Regionas Honkongas",hn:"Hondūras",hr:"Kroatija",ht:"Haitis",hu:"Vengrija",id:"Indonezija",ie:"Airija",il:"Izraelis",im:"Meno Sala",in:"Indija",io:"Indijos Vandenyno Britų Sritis",iq:"Irakas",ir:"Iranas",is:"Islandija",it:"Italija",je:"Džersis",jm:"Jamaika",jo:"Jordanija",jp:"Japonija",ke:"Kenija",kg:"Kirgizija",kh:"Kambodža",ki:"Kiribatis",km:"Komorai",kn:"Sent Kitsas ir Nevis",kp:"Šiaurės Korėja",kr:"Pietų Korėja",kw:"Kuveitas",ky:"Kaimanų Salos",kz:"Kazachstanas",la:"Laosas",lb:"Libanas",lc:"Sent Lusija",li:"Lichtenšteinas",lk:"Šri Lanka",lr:"Liberija",ls:"Lesotas",lt:"Lietuva",lu:"Liuksemburgas",lv:"Latvija",ly:"Libija",ma:"Marokas",mc:"Monakas",md:"Moldova",me:"Juodkalnija",mf:"Sen Martenas",mg:"Madagaskaras",mh:"Maršalo Salos",mk:"Šiaurės Makedonija",ml:"Malis",mm:"Mianmaras (Birma)",mn:"Mongolija",mo:"Ypatingasis Administracinis Kinijos Regionas Makao",mp:"Marianos Šiaurinės Salos",mq:"Martinika",mr:"Mauritanija",ms:"Montseratas",mt:"Malta",mu:"Mauricijus",mv:"Maldyvai",mw:"Malavis",mx:"Meksika",my:"Malaizija",mz:"Mozambikas",na:"Namibija",nc:"Naujoji Kaledonija",ne:"Nigeris",nf:"Norfolko sala",ng:"Nigerija",ni:"Nikaragva",nl:"Nyderlandai",no:"Norvegija",np:"Nepalas",nr:"Nauru",nu:"Niujė",nz:"Naujoji Zelandija",om:"Omanas",pa:"Panama",pe:"Peru",pf:"Prancūzijos Polinezija",pg:"Papua Naujoji Gvinėja",ph:"Filipinai",pk:"Pakistanas",pl:"Lenkija",pm
68:"Sen Pjeras ir Mikelonas",pr:"Puerto Rikas",ps:"Palestinos teritorija",pt:"Portugalija",pw:"Palau",py:"Paragvajus",qa:"Kataras",re:"Reunjonas",ro:"Rumunija",rs:"Serbija",ru:"Rusija",rw:"Ruanda",sa:"Saudo Arabija",sb:"Saliamono Salos",sc:"Seišeliai",sd:"Sudanas",se:"Švedija",sg:"Singapūras",sh:"Šv. Elenos Sala",si:"Slovėnija",sj:"Svalbardas ir Janas Majenas",sk:"Slovakija",sl:"Siera Leonė",sm:"San Marinas",sn:"Senegalas",so:"Somalis",sr:"Surinamas",ss:"Pietų Sudanas",st:"San Tomė ir Prinsipė",sv:"Salvadoras",sx:"Sint Martenas",sy:"Sirija",sz:"Svazilandas",tc:"Terkso ir Kaikoso Salos",td:"Čadas",tg:"Togas",th:"Tailandas",tj:"Tadžikija",tk:"Tokelau",tl:"Rytų Timoras",tm:"Turkmėnistanas",tn:"Tunisas",to:"Tonga",tr:"Turkija",tt:"Trinidadas ir Tobagas",tv:"Tuvalu",tw:"Taivanas",tz:"Tanzanija",ua:"Ukraina",ug:"Uganda",us:"Jungtinės Valstijos",uy:"Urugvajus",uz:"Uzbekistanas",va:"Vatikano Miesto Valstybė",vc:"Šventasis Vincentas ir Grenadinai",ve:"Venesuela",vg:"Didžiosios Britanijos Mergelių Salos",vi:"Jungtinių Valstijų Mergelių Salos",vn:"Vietnamas",vu:"Vanuatu",wf:"Volisas ir Futūna",ws:"Samoa",ye:"Jemenas",yt:"Majotas",za:"Pietų Afrika",zm:"Zambija",zw:"Zimbabvė"},...{selectedCountryAriaLabel:"Pakeisti šalį, pasirinkta ${countryName} (${dialCode})",noCountrySelected:"Pasirinkite šalį",countryListAriaLabel:"Šalių sąrašas",searchPlaceholder:"Paieška",clearSearchAriaLabel:"Išvalyti paiešką",zeroSearchResults:"Rezultatų nerasta",searchResultsText(e){if(1===e)return"Rastas 1 rezultatas";let t=e%10,n=e%100;return 1===t&&11!==n?`Rasti ${e} rezultatas`:t>=2&&t<=9&&!(n>=11&&n<=19)?`Rasti ${e} rezultatai`:`Rasta ${e} rezultatų`},ac:"Dangun Žengimo sala",xk:"Kosovas"}});let 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",
68nl:"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"};({...{ad:"Andora",ae:"Zjednoczone Emiraty Arabskie",af:"Afganistan",ag:"Antigua i Barbuda",ai:"Anguilla",al:"Albania",am:"Armenia",ao:"Angola",ar:"Argentyna",as:"Samoa Amerykańskie",at:"Austria",au:"Australia",aw:"Aruba",ax:"Wyspy Alandzkie",az:"Azerbejdżan",ba:"Bośnia i Hercegowina",bb:"Barbados",bd:"Bangladesz",be:"Belgia",bf:"Burkina Faso",bg:"Bułgaria",bh:"Bahrajn",bi:"Burundi",bj:"Benin",bl:"Saint-Barth\xe9lemy",bm:"Bermudy",bn:"Brunei",bo:"Boliwia",bq:"Niderlandy Karaibskie",br:"Brazylia",bs:"Bahamy",bt:"Bhutan",bw:"Botswana",by:"Białoruś",bz:"Belize",ca:"Kanada",cc:"Wyspy Kokosowe",cd:"Demokratyczna Republika Konga",cf:"Republika Środkowoafrykańska",cg:"Kongo",ch:"Szwajcaria",ci:"C\xf4te d’Ivoire",ck:"Wyspy Cooka",cl:"Chile",cm:"Kamerun",cn:"Chiny",co:"Kolumbia",cr:"Kostaryka",cu:"Kuba",cv:"Republika Zielonego Przylądka",cw:"Cura\xe7ao",cx:"Wyspa Bożego Narodzenia",cy:"Cypr",cz:"Czechy",de:"Niemcy",dj:"Dżibuti",dk:"Dania",dm:"Dominika",do:"Dominikana",dz:"Algieria",ec:"Ekwador",ee:"Estonia",eg:"Egipt",eh:"Sahara Zachodnia",er:"Erytrea",es:"Hiszpania",et:"Etiopia",fi:"Finlandia",fj:"Fidżi",fk:"Falklandy",fm:"Mikronezja",fo:"Wyspy Owcze",fr:"Francja",ga:"Gabon",gb:"Wielka Brytania",gd:"Grenada",ge:"Gruzja",gf:"Gujana Francuska",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Grenlandia",gm:"Gambia",gn:"Gwinea",gp:"Gwadelupa",gq:"Gwinea R\xf3wnikowa",gr:"Grecja",gt:"Gwatemala",gu:"Guam",gw:"Gwinea Bissau",gy:"Gujana",hk:"SRA Hongkong (Chiny)",hn:"Honduras",hr:"Chorwacja",ht:"Haiti",hu:"Węgry",id:"Indonezja",ie:"Irlandia",il:"Izrael",im:"Wyspa Man",in:"Indie",io:"Brytyjskie Terytorium Oceanu Indyjskiego",iq:"Irak",ir:"Iran",is:"Islandia",it:"Włochy",je:"Jersey",jm:"Jamajka",jo:"Jordania",jp:"Japonia",ke:"Kenia",kg:"Kirgistan",kh:"Kambodża",ki:"Kiribati",km:"Komory",kn:"Saint Kitts i Nevis",kp:"Korea P\xf3łnocna",kr:"Korea Południowa",kw:"Kuwejt",ky:"Kajmany",kz:"Kazachstan",la:"Laos",lb:"Liban",lc:"Saint Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Litwa",lu:"Luksemburg",lv:"Łotwa",ly:"Libia",ma:"Maroko",mc:"Monako",md:"Mołdawia",me:"Czarnog\xf3ra",mf:"Saint-Martin",mg:"Madagaskar",mh:"Wyspy Marshalla",mk:"Macedonia P\xf3łnocna",ml:"Mali",mm:"Mjanma (Birma)",mn:"Mongolia",mo:"SRA Makau (Chiny)",mp:"Mariany P\xf3łnocne",mq:"Martynika",mr:"Mauretania",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Malediwy",mw:"Malawi",mx:"Meksyk",my:"Malezja",mz:"Mozambik",na:"Namibia",nc:"Nowa Kaledonia",ne:"Niger",nf:"Norfolk",ng:"Nigeria",ni:"Nikaragua",
68nl:"Holandia",no:"Norwegia",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nowa Zelandia",om:"Oman",pa:"Panama",pe:"Peru",pf:"Polinezja Francuska",pg:"Papua-Nowa Gwinea",ph:"Filipiny",pk:"Pakistan",pl:"Polska",pm:"Saint-Pierre i Miquelon",pr:"Portoryko",ps:"Terytoria Palestyńskie",pt:"Portugalia",pw:"Palau",py:"Paragwaj",qa:"Katar",re:"Reunion",ro:"Rumunia",rs:"Serbia",ru:"Rosja",rw:"Rwanda",sa:"Arabia Saudyjska",sb:"Wyspy Salomona",sc:"Seszele",sd:"Sudan",se:"Szwecja",sg:"Singapur",sh:"Wyspa Świętej Heleny",si:"Słowenia",sj:"Svalbard i Jan Mayen",sk:"Słowacja",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Surinam",ss:"Sudan Południowy",st:"Wyspy Świętego Tomasza i Książęca",sv:"Salwador",sx:"Sint Maarten",sy:"Syria",sz:"Eswatini",tc:"Turks i Caicos",td:"Czad",tg:"Togo",th:"Tajlandia",tj:"Tadżykistan",tk:"Tokelau",tl:"Timor Wschodni",tm:"Turkmenistan",tn:"Tunezja",to:"Tonga",tr:"Turcja",tt:"Trynidad i Tobago",tv:"Tuvalu",tw:"Tajwan",tz:"Tanzania",ua:"Ukraina",ug:"Uganda",us:"Stany Zjednoczone",uy:"Urugwaj",uz:"Uzbekistan",va:"Watykan",vc:"Saint Vincent i Grenadyny",ve:"Wenezuela",vg:"Brytyjskie Wyspy Dziewicze",vi:"Wyspy Dziewicze Stan\xf3w Zjednoczonych",vn:"Wietnam",vu:"Vanuatu",wf:"Wallis i Futuna",ws:"Samoa",ye:"Jemen",yt:"Majotta",za:"Republika Południowej Afryki",zm:"Zambia",zw:"Zimbabwe"},...{selectedCountryAriaLabel:"Wybrany kraj",noCountrySelected:"Nie wybrano kraju",countryListAriaLabel:"Lista kraj\xf3w",searchPlaceholder:"Szukaj",zeroSearchResults:"Nie znaleziono wynik\xf3w",searchResultsText(e){if(1===e)return"Znaleziono 1 wynik";let t=e%10>=2&&e%10<=4&&!(e%100>=12&&e%100<=14)?"wyniki":"wynik\xf3w";return`Znaleziono ${e} ${t}`},ac:"Wyspa Wniebowstąpienia",xk:"Kosowo"}});let 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
68:"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"};({...{ad:"Андорра",ae:"ОАЭ",af:"Афганистан",ag:"Антигуа и Барбуда",ai:"Ангилья",al:"Албания",am:"Армения",ao:"Ангола",ar:"Аргентина",as:"Американское Самоа",at:"Австрия",au:"Австралия",aw:"Аруба",ax:"Аландские о-ва",az:"Азербайджан",ba:"Босния и Герцеговина",bb:"Барбадос",bd:"Бангладеш",be:"Бельгия",bf:"Буркина-Фасо",bg:"Болгария",bh:"Бахрейн",bi:"Бурунди",bj:"Бенин",bl:"Сен-Бартелеми",bm:"Бермудские о-ва",bn:"Бруней-Даруссалам",bo:"Боливия",bq:"Бонэйр, Синт-Эстатиус и Саба",br:"Бразилия",bs:"Багамы",bt:"Бутан",bw:"Ботсвана",by:"Беларусь",bz:"Белиз",ca:"Канада",cc:"Кокосовые о-ва",cd:"Конго - Киншаса",cf:"Центрально-Африканская Республика",cg:"Конго - Браззавиль",ch:"Швейцария",ci:"Кот-д’Ивуар",ck:"Острова Кука",cl:"Чили",cm:"Камерун",cn:"Китай",co:"Колумбия",cr:"Коста-Рика",cu:"Куба",cv:"Кабо-Верде",cw:"Кюрасао",cx:"о-в Рождества",cy:"Кипр",cz:"Чехия",de:"Германия",dj:"Джибути",dk:"Дания",dm:"Доминика",do:"Доминиканская Республика",dz:"Алжир",ec:"Эквадор",ee:"Эстония",eg:"Египет",eh:"Западная Сахара",er:"Эритрея",es:"Испания",et:"Эфиопия",fi:"Финляндия",fj:"Фиджи",fk:"Фолклендские о-ва",fm:"Федеративные Штаты Микронезии",fo:"Фарерские о-ва",fr:"Франция",ga:"Габон",gb:"Ð
68’еликобритания",gd:"Гренада",ge:"Грузия",gf:"Французская Гвиана",gg:"Гернси",gh:"Гана",gi:"Гибралтар",gl:"Гренландия",gm:"Гамбия",gn:"Гвинея",gp:"Гваделупа",gq:"Экваториальная Гвинея",gr:"Греция",gt:"Гватемала",gu:"Гуам",gw:"Гвинея-Бисау",gy:"Гайана",hk:"Гонконг (САР)",hn:"Гондурас",hr:"Хорватия",ht:"Гаити",hu:"Венгрия",id:"Индонезия",ie:"Ирландия",il:"Израиль",im:"о-в Мэн",in:"Индия",io:"Британская территория в Индийском океане",iq:"Ирак",ir:"Иран",is:"Исландия",it:"Италия",je:"Джерси",jm:"Ямайка",jo:"Иордания",jp:"Япония",ke:"Кения",kg:"Киргизия",kh:"Камбоджа",ki:"Кирибати",km:"Коморы",kn:"Сент-Китс и Невис",kp:"КНДР",kr:"Республика Корея",kw:"Кувейт",ky:"Острова Кайман",kz:"Казахстан",la:"Лаос",lb:"Ливан",lc:"Сент-Люсия",li:"Лихтенштейн",lk:"Шри-Ланка",lr:"Либерия",ls:"Лесото",lt:"Литва",lu:"Люксембург",lv:"Латвия",ly:"Ливия",ma:"Марокко",mc:"Монако",md:"Молдова",me:"Черногория",mf:"Сен-Мартен",mg:"Мадагаскар",mh:"Маршалловы Острова",mk:"Северная Македония",ml:"Мали",mm:"Мьянма (Бирма)",mn:"Монголия",mo:"Макао (САР)",mp:"Северные Марианские о-ва",mq:"Мартиника",mr:"Мавритания",ms:"Монтсеррат",mt:"Мальта",mu:"Маврикий",mv:"Мальдивы",mw:"Малави",mx:"Мексика",my:"Малайзия",mz:"Мозамбик",na:"Намибия",nc:"Новая Каледония",ne:"Нигер",nf:"о-в Норфолк",ng:"Нигерия",ni:"Никарагуа",nl:"Нидерланды",no:"Норвегия",np:"Непал",nr:"Науру",nu:"Ниуэ",nz:"Новая Зеландия",om:"Оман",pa:"Панама",pe:"Перу",pf:"Французская Полинезия",pg:"Папуа — Новая Гвинея",ph:"Филиппины",pk:"Пакистан",pl:"Польша",pm:"Сен-Пьер и Микелон",pr:"Пуэрто-Рико",ps:"Палестинские территории",pt:"Португалия",pw:"Палау",py:"Парагвай",qa:"Катар",re:"Реюньон",ro:"Румыния",rs:"Сербия",ru:"Россия",rw:"Руанда",sa:"Саудовская Аравия",sb:"Соломоновы Острова",sc:"Сейшельские Острова",sd:"Судан",se:"Швеция",sg:"Сингапур",sh:"о-в Св. Елены",si:"Словения",sj:"Шпицберген и Ян-Майен",sk:"Словакия",sl:"Сьерра-Леоне",sm:"Сан-Марино",sn:"Сенегал",so:"Сомали",sr:"Суринам",ss:"Южный Судан",st:"Сан-Томе и Принсипи",sv:"Сальвадор",sx:"Синт-Мартен",sy:"Сирия",sz:"Эсватини",tc:"о-ва Тёркс и Кайкос",td:"Чад",tg:"Того",th:"Таиланд",tj:"Таджикистан",tk:"Токелау",tl:"Восточный Тимор",tm:"Туркменистан",tn:"Тунис",to:"Тонга",tr:"Турция",tt:"Тринидад и Тобаго",tv:"Тувалу",tw:"Тайвань",tz:"Танзания",ua:"Украина",ug:"Уганда",us:"Соединенные Штаты",uy:"Уругвай",uz:"Узбекистан",va:"Ватикан",vc:"Сент-Винсент и Гренадины",ve:"Венесуэла",vg:"Виргинские о-ва (Великобритания)",vi:"Виргинские о-ва (США)",vn:"Вьетнам",vu:"Вануату",wf:"Уоллис и Футуна",ws:"Самоа",ye:"Йемен",yt:"Майотта",za:"Южно-Африканская Республика",zm:"Замбия",zw:"Зимбабве"},...{selectedCountryAriaLabel:"Выбранная страна",noCountrySelected:"Страна не выбрана",countryListAriaLabel:"Список стран",searchPlaceholder:"Поиск",zeroSearchResults:"результатов не найдено",searchResultsText(e){let t=e%10,n=e%100;return 1===t&&11!==n?`найден ${e} результат`:`Найдено ${e} ${t>=2&&t<=4&&!(n>=12&&n<=14)?"результата":"результатов"}`},ac:"Остров Вознесения",xk:"Косово"}}),({...{ad:"Andorra",ae:"Spojen\xe9 arabsk\xe9 emir\xe1ty",af:"Afganistan",ag:"Antigua a Barbuda",ai:"Anguilla",al:"Alb\xe1nsko",am:"Arm\xe9nsko",ao:"Angola",ar:"Argent\xedna",as:"Americk\xe1 Samoa",at:"Rak\xfasko",au:"Austr\xe1lia",aw:"Aruba",ax:"Alandy",az:"Azerbajdžan",ba:"Bosna a Hercegovina",bb:"Barbados",bd:"Banglad\xe9Å¡",be:"Belgicko",bf:"Burkina Faso",bg:"Bulharsko",bh:"Bahrajn",bi:"Burundi",bj:"Benin",bl:"Sv\xe4t\xfd Bartolomej",bm:"Bermudy",bn:"Brunej",bo:"Bol\xedvia",bq:"Karibsk\xe9 Holandsko",br:"Braz\xedlia",bs:"Bahamy",bt:"Bhut\xe1n",bw:"Botswana",by:"Bielorusko",bz:"Belize",ca:"Kanada",cc:"Kokosov\xe9 ostrovy",cd:"Konžsk\xe1 demokratick\xe1 republika",cf:"Stredoafrick\xe1 republika",cg:"Konžsk\xe1 republika",ch:"Å vajčiarsko",ci:"Pobrežie Slonoviny",ck:"Cookove ostrovy",cl:"Čile",cm:"Kamerun",cn:"Č\xedna",co:"Kolumbia",cr:"Kostarika",cu:"Kuba",cv:"Kapverdy",cw:"Cura\xe7ao",cx:"Vianočn\xfd ostrov",cy:"Cyprus",cz:"Česko",de:"Nemecko",dj:"Džibutsko",dk:"D\xe1nsko",dm:"Dominika",do:"Dominik\xe1nska republika",dz:"Alž\xedrsko",ec:"Ekv\xe1dor",ee:"Est\xf3nsko",eg:"Egypt",eh:"Z\xe1padn\xe1 Sahara",er:"Eritrea",es:"Å panielsko",et:"Eti\xf3pia",fi:"F\xednsko",fj:"Fidži",fk:"Falklandy",fm:"Mikron\xe9zi
68a",fo:"Faersk\xe9 ostrovy",fr:"Franc\xfazsko",ga:"Gabon",gb:"Spojen\xe9 kr\xe1ľovstvo",gd:"Grenada",ge:"Gruz\xednsko",gf:"Franc\xfazska Guyana",gg:"Guernsey",gh:"Ghana",gi:"Gibralt\xe1r",gl:"Gr\xf3nsko",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"Rovn\xedkov\xe1 Guinea",gr:"Gr\xe9cko",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Hongkong – OAO Č\xedny",hn:"Honduras",hr:"Chorv\xe1tsko",ht:"Haiti",hu:"Maďarsko",id:"Indon\xe9zia",ie:"\xcdrsko",il:"Izrael",im:"Ostrov Man",in:"India",io:"Britsk\xe9 indickooce\xe1nske \xfazemie",iq:"Irak",ir:"Ir\xe1n",is:"Island",it:"Taliansko",je:"Jersey",jm:"Jamajka",jo:"Jord\xe1nsko",jp:"Japonsko",ke:"Keňa",kg:"Kirgizsko",kh:"Kambodža",ki:"Kiribati",km:"Komory",kn:"Sv\xe4t\xfd Krištof a Nevis",kp:"Severn\xe1 K\xf3rea",kr:"Južn\xe1 K\xf3rea",kw:"Kuvajt",ky:"Kajmanie ostrovy",kz:"Kazachstan",la:"Laos",lb:"Libanon",lc:"Sv\xe4t\xe1 Lucia",li:"Lichtenštajnsko",lk:"Sr\xed Lanka",lr:"Lib\xe9ria",ls:"Lesotho",lt:"Litva",lu:"Luxembursko",lv:"Lotyšsko",ly:"L\xedbya",ma:"Maroko",mc:"Monako",md:"Moldavsko",me:"Čierna Hora",mf:"Sv\xe4t\xfd Martin (fr.)",mg:"Madagaskar",mh:"Marshallove ostrovy",mk:"Severn\xe9 Maced\xf3nsko",ml:"Mali",mm:"Mjanmarsko",mn:"Mongolsko",mo:"Macao – OAO Č\xedny",mp:"Severn\xe9 Mari\xe1ny",mq:"Martinik",mr:"Maurit\xe1nia",ms:"Montserrat",mt:"Malta",mu:"Maur\xedcius",mv:"Maldivy",mw:"Malawi",mx:"Mexiko",my:"Malajzia",mz:"Mozambik",na:"Nam\xedbia",nc:"Nov\xe1 Kaled\xf3nia",ne:"Niger",nf:"Norfolk",ng:"Nig\xe9ria",ni:"Nikaragua",
68nl:"Holandsko",no:"N\xf3rsko",np:"Nep\xe1l",nr:"Nauru",nu:"Niue",nz:"Nov\xfd Z\xe9land",om:"Om\xe1n",pa:"Panama",pe:"Peru",pf:"Franc\xfazska Polyn\xe9zia",pg:"Papua-Nov\xe1 Guinea",ph:"Filip\xedny",pk:"Pakistan",pl:"Poľsko",pm:"Saint Pierre a Miquelon",pr:"Portoriko",ps:"Palest\xednske \xfazemia",pt:"Portugalsko",pw:"Palau",py:"Paraguaj",qa:"Katar",re:"R\xe9union",ro:"Rumunsko",rs:"Srbsko",ru:"Rusko",rw:"Rwanda",sa:"Saudsk\xe1 Ar\xe1bia",sb:"Šalam\xfanove ostrovy",sc:"Seychely",sd:"Sud\xe1n",se:"Šv\xe9dsko",sg:"Singapur",sh:"Sv\xe4t\xe1 Helena",si:"Slovinsko",sj:"Svalbard a Jan Mayen",sk:"Slovensko",sl:"Sierra Leone",sm:"San Mar\xedno",sn:"Senegal",so:"Som\xe1lsko",sr:"Surinam",ss:"Južn\xfd Sud\xe1n",st:"Sv\xe4t\xfd Tom\xe1š a Princov ostrov",sv:"Salv\xe1dor",sx:"Sv\xe4t\xfd Martin (hol.)",sy:"S\xfdria",sz:"Eswatini",tc:"Turks a Caicos",td:"Čad",tg:"Togo",th:"Thajsko",tj:"Tadžikistan",tk:"Tokelau",tl:"V\xfdchodn\xfd Timor",tm:"Turkm\xe9nsko",tn:"Tunisko",to:"Tonga",tr:"Turecko",tt:"Trinidad a Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanz\xe1nia",ua:"Ukrajina",ug:"Uganda",us:"Spojen\xe9 št\xe1ty",uy:"Uruguaj",uz:"Uzbekistan",va:"Vatik\xe1n",vc:"Sv\xe4t\xfd Vincent a Grenad\xedny",ve:"Venezuela",vg:"Britsk\xe9 Panensk\xe9 ostrovy",vi:"Americk\xe9 Panensk\xe9 ostrovy",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis a Futuna",ws:"Samoa",ye:"Jemen",yt:"Mayotte",za:"Južn\xe1 Afrika",zm:"Zambia",zw:"Zimbabwe"},...{selectedCountryAriaLabel:"Vybran\xe1 krajina",noCountrySelected:"Nie je vybrat\xe1 žiadna krajina",countryListAriaLabel:"Zoznam kraj\xedn",searchPlaceholder:"Vyhľadať",zeroSearchResults:"Neboli n\xe1jden\xe9 žiadne v\xfdsledky",searchResultsText(e){let t=e%10,n=e%100;return 1===t&&11!==n?`${e} v\xfdsledok n\xe1jden\xfd`:`${e} ${t>=2&&t<=4&&!(n>=12&&n<=14)?"v\xfdsledky n\xe1jden\xe9":"v\xfdsledkov n\xe1jden\xfdch"}`},ac:"Ascension",xk:"Kosovo"}}),({...{ad:"Andora",ae:"Združeni arabski emirati",af:"Afganistan",ag:"Antigva in Barbuda",ai:"Angvila",al:"Albanija",am:"Armenija",ao:"Angola",ar:"Argentina",as:"Ameriška Samoa",at:"Avstrija",au:"Avstralija",aw:"Aruba",ax:"\xc5landski otoki",az:"Azerbajdžan",ba:"Bosna in Hercegovina",bb:"Barbados",bd:"Bangladeš",be:"Belgija",bf:"Burkina Faso",bg:"Bolgarija",bh:"Bahrajn",bi:"Burundi",bj:"Benin",bl:"Saint Barth\xe9lemy",bm:"Bermudi",bn:"Brunej",bo:"Bolivija",bq:"Nizozemski Karibi",br:"Brazilija",bs:"Bahami",bt:"Butan",bw:"Bocvana",by:"Belorusija",bz:"Belize",ca:"Kanada",cc:"Kokosovi otoki",cd:"Demokratična republika Kongo",cf:"Centralnoafriška republika",cg:"Kongo - Brazzaville",ch:"Švica",ci:"Slonokoščena obala",ck:"Cookovi otoki",cl:"Čile",cm:"Kamerun",cn:"Kitajska",co:"Kolumbija",cr:"Kostarika",cu:"Kuba",cv:"Zelenortski otoki",cw:"Cura\xe7ao",cx:"Božični otok",cy:"Ciper",cz:"Češka",de:"Nemčija",dj:"Džibuti",dk:"Danska",dm:"Dominika",do:"Dominikanska republika",dz:"Alžirija",ec:"Ekvador",ee:"Estonija",eg:"Egipt",eh:"Zahodna Sahara",er:"Eritreja",es:"Španija",et:"Etiopija",fi:"Finska",fj:"Fidži",fk:"Falklandski otoki",fm:"Mikronezija",fo:"Ferski otoki",fr:"Francija",ga:"Gabon",gb:"Združeno kraljestvo",gd:"Grenada",ge:"Gruzija",gf:"Francoska Gvajana",gg:"Guernsey",gh:"Gana",gi:"Gibraltar",gl:"Grenlandija",gm:"Gambija",gn:"Gvineja",gp:"Guadeloupe",gq:"Ekvatorialna Gvineja",gr:"Grčija",gt:"Gvatemala",gu:"Guam",gw:"Gvineja Bissau",gy:"Gvajana",hk:"Posebno administrativno območje LR Kitajske Hongkong",hn:"Honduras",hr:"Hrvaška",ht:"Haiti",hu:"Madžarska",id:"Indonezija",ie:"Irska",il:"Izrael",im:"Otok Man",in:"Indija",io:"Britansko ozemlje v Indijskem oceanu",iq:"Irak",ir:"Iran",is:"Islandija",it:"Italija",je:"Jersey",jm:"Jamajka",jo:"Jordanija",jp:"Japonska",ke:"Kenija",kg:"Kirgizistan",kh:"Kambodža",ki:"Kiribati",km:"Komori",kn:"Saint Kitts in Nevis",kp:"Severna Koreja",kr:"Južna Koreja",kw:"Kuvajt",ky:"Kajmanski otoki",kz:"Kazahstan",la:"Laos",lb:"Libanon",lc:"Saint Lucia",li:"Lihtenštajn",lk:"Šrilanka",lr:"Liberija",ls:"Lesoto",lt:"Litva",lu:"Luksemburg",lv:"Latvija",ly:"Libija",ma:"Maroko",mc:"Monako",md:"Moldavija",me:"Črna gora",mf:"Saint Martin",mg:"Madagaskar",mh:"Marshallovi otoki",mk:"Severna Makedonija",ml:"Mali",mm:"Mjanmar (Burma)",mn:"Mongolija",mo:"Posebno administrativno območje LR Kitajske Macao",mp:"Severni Marianski otoki",mq:"Martinik",mr:"Mavretanija",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldivi",mw:"Malavi",mx:"Mehika",my:"Malezija",mz:"Mozambik",na:"Namibija",nc:"Nova Kaledonija",ne:"Niger",nf:"Norfolški otok",ng:"Nigerija",ni:"Nikaragva",nl:"Nizozemska",no:"Norveška",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"Nova Zelandija",om:"Oman",pa:"Panama",pe:"Peru",pf:"Francoska Polinezija",pg:"Papua Nova Gvineja",ph:"Filipini",pk:"Pakistan",pl:"Poljska",pm:"Saint Pierre in Miquelon",pr:"Portoriko",ps:"Palestinsko ozemlje",pt:"Portugalska",pw:"Palau",py:"Paragvaj",qa:"Katar",re:"Reunion",ro:"Romunija",rs:"Srbija",ru:"Rusija",rw:"Ruanda",sa:"Saudova Arabija",sb:"Salomonovi otoki",sc:"Sejšeli",sd:"Sudan",se:"Švedska",sg:"Singapur",sh:"Sveta Helena",si:"Slovenija",sj:"Svalbard in Jan Mayen",sk:"Slovaška",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalija",sr:"Surinam",ss:"Južni Sudan",st:"Sao Tome in Principe",sv:"Salvador",sx:"Sint Maarten",sy:"Sirija",sz:"Esvatini",tc:"Otoki Turks 
68in Caicos",td:"Čad",tg:"Togo",th:"Tajska",tj:"Tadžikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunizija",to:"Tonga",tr:"Turčija",tt:"Trinidad in Tobago",tv:"Tuvalu",tw:"Tajvan",tz:"Tanzanija",ua:"Ukrajina",ug:"Uganda",us:"Združene države Amerike",uy:"Urugvaj",uz:"Uzbekistan",va:"Vatikan",vc:"Saint Vincent in Grenadine",ve:"Venezuela",vg:"Britanski Deviški otoki",vi:"Ameriški Deviški otoki",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis in Futuna",ws:"Samoa",ye:"Jemen",yt:"Mayotte",za:"Južnoafriška republika",zm:"Zambija",zw:"Zimbabve"},...{selectedCountryAriaLabel:"Spremeni državo, izbrano ${countryName} (${dialCode})",noCountrySelected:"Izberi državo",countryListAriaLabel:"Seznam držav",searchPlaceholder:"Išči",clearSearchAriaLabel:"Počisti iskanje",zeroSearchResults:"Ni rezultatov",searchResultsText(e){let t=e%100;return 1===t?`Najden ${e} rezultat`:2===t?`Najdena ${e} rezultata`:3===t||4===t?`Najdeni ${e} rezultati`:`Najdenih ${e} rezultatov`},ac:"Otok Ascension",xk:"Kosovo"}}),{...{ad:"Андора",ae:"Уједињени Арапски Емирати",af:"Авганистан",ag:"Антигва и Барбуда",ai:"Ангвила",al:"Албанија",am:"Јерменија",ao:"Ангола",ar:"Аргентина",as:"Америчка Самоа",at:"Аустрија",au:"Аустралија",aw:"Аруба",ax:"Оландска Острва",az:"Азербејџан",ba:"Босна и Херцеговина",bb:"Барбадос",bd:"Бангладеш",be:"Белгија",bf:"Буркина Фасо",bg:"Бугарска",bh:"Бахреин",bi:"Бурунди",bj:"Бенин",bl:"Свети Бартоломеј",bm:"Бермуда",bn:"Брунеј",bo:"Боливија",bq:"Карипска Холандија",br:"Бразил",bs:"Бахами",bt:"Бутан",bw:"Боцвана",by:"Белорусија",bz:"Белизе",ca:"Канада",cc:"Кокосова (Килингова) Острва",cd:"Конго - Киншаса",cf:"Централноафричка Република",cg:"Конго - Бразавил",ch:"Швајцарска",ci:"Обала Слоноваче (Кот д’Ивоар)",ck:"Кукова Острва",cl:"Чиле",cm:"Камерун",cn:"Кина",co:"Колумбија",cr:"Костарика",cu:"Куба",cv:"Зеленортска Острва",cw:"Курасао",cx:"Божићно Острво",cy:"Кипар",cz:"Чешка",de:"Немачка",dj:"Џибути",dk:"Данска",dm:"Доминика",do:"Доминиканска Република",dz:"Алжир",ec:"Еквадор",ee:"Естонија",eg:"Египат",eh:"Западна Сахара",er:"Еритреја",es:"Шпанија",et:"Етиопија",fi:"Финска",fj:"Фиџи",fk:"Фокландска Острва",fm:"Микронезија",fo:"Фарска Острва",fr:"Француска",ga:"Габон",gb:"Уједињено Краљевство",gd:"Гренада",ge:"Грузија",gf:"Француска Гвајана",gg:"Гернзи",gh:"Гана",gi:"Гибралтар",gl:"Гренланд",gm:"Гамбија",gn:"Гвинеја",gp:"Гваделуп",gq:"Екваторијална Гвинеја",gr:"Грчка",gt:"Гватемала",gu:"Гуам",gw:"Гвинеја-Бисао",gy:"Гвајана",hk:"САР Хонгконг (Кина)",hn:"Хондурас",hr:"Хрватска",ht:"Хаити",hu:"Мађарска",id:"Индонезија",ie:"Ирска",il:"Израел",im:"Острво Ман",in:"Индија",io:"Британска територија Индијског океана",iq:"Ирак",ir:"Иран",is:"Исланд",it:"Италија",je:"Џерзи",jm:"Јамајка",jo:"Јордан",jp:"Јапан",ke:"Кенија",kg:"Киргистан",kh:"Камбоџа",ki:"Кирибати",km:"Коморска Острва",kn:"Сент Китс и Невис",kp:"Северна Кореја",kr:"Јужна Кореја",kw:"Кувајт",ky:"Кајманска Острва",kz:"Казахстан",la:"Лаос",lb:"Либан",lc:"Света Луција",li:"Лихтенштајн",lk:"Шри Ланка",lr:"Либерија",ls:"Лесото",lt:"Литванија",lu:"Луксембург",lv:"Летонија",ly:"Либија",ma:"Мароко",mc:"Монако",md:"Молдавија",me:"Црна Гора",mf:"Свети Мартин (Француска)",mg:"Мадагаскар",mh:"Маршалска Острва",mk:"Северна Македонија",ml:"Мали",mm:"Мијанмар (Бурма)",mn:"Монголија",mo:"САР Макао (Кина)",mp:"Северна Маријанска Острва",mq:"Мартиник",mr:"Мауританија",ms:"Монсерат",mt:"Малта",mu:"Маурицијус",mv:"Малдиви",mw:"Малави",mx:"Мексико",my:"Малезија",mz:"Мозамбик",na:"Намибија",nc:"Нова Каледонија",ne:"Нигер",nf:"Острво Норфок",ng:"Нигерија",ni:"Никарагва",nl:"Холандија",no:"Норвешка",np:"Непал",nr:"Науру",nu:"Ниуе",nz:"Нови Зеланд",om:"Оман",pa:"Панама",pe:"Перу",pf:"Француска Полинезија",pg:"Папуа Нова Гвинеја",ph:"Филипини",pk:"Пакистан",pl:"Пољска",pm:"Сен Пјер и Микелон",pr:"Порторико",ps:"Палестинске територије",pt:"Португалија",pw:"Палау",py:"Парагвај",qa:"Катар",re:"Реинион",ro:"Румунија",rs:"Србија",ru:"Русија",rw:"Руанда",sa:"Саудијска Арабија",sb:"Соломонска Острва",sc:"Сејшели",sd:"Судан",se:"Шведска",sg:"Сингапур",sh:"Света Јелена",si:"Словенија",sj:"Свалбард и Јан Мајен",sk:"Словачка",sl:"Сијера Леоне",
68sm:"Сан Марино",sn:"Сенегал",so:"Сомалија",sr:"Суринам",ss:"Јужни Судан",st:"Сао Томе и Принципе",sv:"Салвадор",sx:"Свети Мартин (Холандија)",sy:"Сирија",sz:"Свазиленд",tc:"Острва Туркс и Каикос",td:"Чад",tg:"Того",th:"Тајланд",tj:"Таџикистан",tk:"Токелау",tl:"Тимор-Лесте (Источни Тимор)",tm:"Туркменистан",tn:"Тунис",to:"Тонга",tr:"Турска",tt:"Тринидад и Тобаго",tv:"Тувалу",tw:"Тајван",tz:"Танзанија",ua:"Украјина",ug:"Уганда",us:"Сједињене Државе",uy:"Уругвај",uz:"Узбекистан",va:"Ватикан",vc:"Сент Винсент и Гренадини",ve:"Венецуела",vg:"Британска Девичанска Острва",vi:"Америчка Девичанска Острва",vn:"Вијетнам",vu:"Вануату",wf:"Валис и Футуна",ws:"Самоа",ye:"Јемен",yt:"Мајот",za:"Јужноафричка Република",zm:"Замбија",zw:"Зимбабве"},...{selectedCountryAriaLabel:"Промени земљу, изабрано ${countryName} (${dialCode})",noCountrySelected:"Изабери земљу",countryListAriaLabel:"Листа земаља",searchPlaceholder:"Претрага",clearSearchAriaLabel:"Обриши претрагу",zeroSearchResults:"Нема резултата",searchResultsText(e){let t=e%10,n=e%100;return 1===t&&11!==n?`Пронађен ${e} резултат`:`${t>=2&&t<=4&&!(n>=12&&n<=14)?"Пронађена":"Пронађено"} ${e} резултата`},ac:"Острво Асенсион",xk:"Косово"}};let 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",ie:"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",
68nl:"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"};({...{ad:"Андорра",ae:"Обʼєднані Арабські Емірати",af:"Афганістан",ag:"Антиґуа і Барбуда",ai:"Анґілья",al:"Албанія",am:"Вірменія",ao:"Ангола",ar:"Аргентина",as:"Американське Самоа",at:"Австрія",au:"Австралія",aw:"Аруба",ax:"Аландські Острови",az:"Азербайджан",ba:"Боснія і Герцеґовина",bb:"Барбадос",bd:"Бангладеш",be:"Бельґія",bf:"Буркіна-Фасо",bg:"Болгарія",bh:"Бахрейн",bi:"Бурунді",bj:"Бенін",bl:"Сен-Бартельмі",bm:"Бермудські Острови",bn:"Бруней",bo:"Болівія",bq:"Нідерландські Карибські острови",br:"Бразілія",bs:"Багамські Острови",bt:"Бутан",bw:"Ботсвана",by:"Білорусь",bz:"Беліз",ca:"Канада",cc:"Кокосові (Кілінґ) Острови",cd:"Конго – Кіншаса",cf:"Центральноафриканська Республіка",cg:"Конго – Браззавіль",ch:"Швейцарія",ci:"Кот-дʼІвуар",ck:"Острови Кука",cl:"Чілі",cm:"Камерун",cn:"Китай",co:"Колумбія",cr:"Коста-Ріка",cu:"Куба",cv:"Кабо-Верде",cw:"Кюрасао",cx:"Острів Різдва",cy:"Кіпр",cz:"Чехія",de:"Німеччина",dj:"Джибуті",dk:"Данія",dm:"Домініка",do:"Домініканська Республіка",dz:"Алжир",ec:"Еквадор",ee:"Естонія",eg:"Єгипет",eh:"Західна Сахара",er:"Еритрея",es:"Іспанія",et:"Ефіопія",fi:"Фінляндія",fj:"Фіджі",fk:"Фолклендські Острови",fm:"Мікронезія",fo:"Фарерські Острови",fr:"Франція",ga:"Габон",gb:"Велика Британія",gd:"Ґренада",ge:"Грузія",gf:"Французька Ґвіана",gg:"Ґернсі",gh:"Гана",gi:"Ґібралтар",gl:"Ґренландія",gm:"Гамбія",gn:"Гвінея",gp:"Ґваделупа",gq:"Екваторіальна Гвінея",gr:"Греція",gt:"Ґватемала",gu:"Ґуам",gw:"Гвінея-Бісау",gy:"Ґайана",hk:"Гонконг, О.А.Р. Китаю",hn:"Гондурас",hr:"Хорватія",ht:"Гаїті",hu:"Угорщина",id:"Індонезія",ie:"Ірландія",il:"Ізраїль",im:"Острів Мен",in:"Індія",io:"Британська територія в Індійському Океані",iq:"Ірак",ir:"Іран",is:"Ісландія",it:"Італія",je:"Джерсі",jm:"Ямайка",jo:"Йорданія",jp:"Японія",ke:"Кенія",kg:"Киргизстан",kh:"Камбоджа",ki:"Кірібаті",km:"Комори",kn:"Сент-Кітс і Невіс",kp:"Північна Корея",kr:"Південна Корея",kw:"Кувейт",ky:"Кайманові Острови",kz:"Казахстан",la:"Лаос",lb:"Ліван",lc:"Сент-Люсія",li:"Ліхтенштейн",lk:"Шрі-Ланка",lr:"Ліберія",ls:"Лесото",lt:"Литва",lu:"Люксембурґ",lv:"Латвія",ly:"Лівія",ma:"Марокко",mc:"Монако",md:"Молдова",me:"Чорногорія",mf:"Сен-Мартен",mg:"Мадагаскар",mh:"Маршаллові Острови",mk:"Північна Македонія",ml:"Малі",mm:"Мʼянма (Бірма)",mn:"Монголія",mo:"Макао, О.А.Р Китаю",mp:"Північні Маріанські Острови",mq:"Мартініка",mr:"Мавританія",ms:"Монтсеррат",mt:"Мальта",mu:"Маврікій",mv:"Мальдіви",mw:"Малаві",mx:"Мексика",my:"Малайзія",mz:"Мозамбік",na:"Намібія",nc:"Нова Каледонія",ne:"Н
68ігер",nf:"Острів Норфолк",ng:"Нігерія",ni:"Нікараґуа",nl:"Нідерланди",no:"Норвеґія",np:"Непал",nr:"Науру",nu:"Ніуе",nz:"Нова Зеландія",om:"Оман",pa:"Панама",pe:"Перу",pf:"Французька Полінезія",pg:"Папуа-Нова Ґвінея",ph:"Філіппіни",pk:"Пакистан",pl:"Польща",pm:"Сен-Пʼєр і Мікелон",pr:"Пуерто-Ріко",ps:"Палестинські території",pt:"Портуґалія",pw:"Палау",py:"Параґвай",qa:"Катар",re:"Реюньйон",ro:"Румунія",rs:"Сербія",ru:"Росія",rw:"Руанда",sa:"Саудівська Аравія",sb:"Соломонові Острови",sc:"Сейшельські Острови",sd:"Судан",se:"Швеція",sg:"Сінгапур",sh:"Острів Святої Єлени",si:"Словенія",sj:"Шпіцберген та Ян-Маєн",sk:"Словаччина",sl:"Сьєрра-Леоне",sm:"Сан-Маріно",sn:"Сенегал",so:"Сомалі",sr:"Сурінам",ss:"Південний Судан",st:"Сан-Томе і Прінсіпі",sv:"Сальвадор",sx:"Сінт-Мартен",sy:"Сирія",sz:"Есватіні",tc:"Острови Теркс і Кайкос",td:"Чад",tg:"Того",th:"Таїланд",tj:"Таджикистан",tk:"Токелау",tl:"Тімор-Лешті",tm:"Туркменістан",tn:"Туніс",to:"Тонґа",tr:"Туреччина",tt:"Трінідад і Тобаґо",tv:"Тувалу",tw:"Тайвань",tz:"Танзанія",ua:"Україна",ug:"Уганда",us:"Сполучені Штати",uy:"Уруґвай",uz:"Узбекистан",va:"Ватикан",vc:"Сент-Вінсент і Ґренадіни",ve:"Венесуела",vg:"Британські Віргінські острови",vi:"Віргінські острови, США",vn:"Вʼєтнам",vu:"Вануату",wf:"Уолліс і Футуна",ws:"Самоа",ye:"Ємен",yt:"Майотта",za:"Південно-Африканська Республіка",zm:"Замбія",zw:"Зімбабве"},...{selectedCountryAriaLabel:"Обрана країна",noCountrySelected:"Країну не обрано",countryListAriaLabel:"Список країн",searchPlaceholder:"Шукати",zeroSearchResults:"Результатів не знайдено",searchResultsText(e){let t=e%10,n=e%100;return 1===t&&11!==n?`Знайдено ${e} результат`:`Знайдено ${e} ${t>=2&&t<=4&&!(n>=12&&n<=14)?"результати":"результатів"}`},ac:"Острів Вознесіння",xk:"Косово"}})},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}=w(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 m(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>$,CP:()=>S,L9:()=>w,Ll:()=>l,Lv:()=>p,Ng:()=>c,Tc:()=>k,Tf:()=>m,ZU:()=>f,_m:()=>_,ep:()=>s,eu:()=>x,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=$(t);return x(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);
68return n.concat(l,l.visualViewport||[],f(a)?a:[],t&&r?e(t):[])}},vq:()=>u,zk:()=>o});let h=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;function y(e){let t=u(e)?w(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!k()&&(v(t.backdropFilter)||v(t.filter))||h.test(t.willChange||"")||g.test(t.contain||"")}function b(e){let t=$(e);for(;d(t)&&!x(t);){if(y(t))return t;if(m(t))break;t=$(t)}return null}function k(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function x(e){return/^(html|body|#document)$/.test(a(e))}function w(e){return o(e).getComputedStyle(e)}function S(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $(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)(()=>{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:()=>W});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),m=n(57936),h=n(99097),g=n(90360),v=n(85871),y=n(83435),b=n(96161),k=n(3768);function x(e,t,n,r,i,a,o,s,l,u=2){let d=(0,k.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,k.du)(n.current,d)?void 0:d}var w=n(79342),S=n(8551),$=n(78337),_=n(31262),E=n(26594),D=n(28410),C=n(9785),I=n(59850),P=n(35358),R=n(13327),T=n(41566),j=n(67241);let z=new Map,A=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=z.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,j.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,j.yg)(e,n);return 0===i.compare(r.slice(0,t.length),t)},endsWith(e,t,n){if(!t)return!0;let r=(0,j.yg)(e,n),a=t.length;return r.length>=a&&0===i.compare(r.slice(r.length-a),t)}};return z.set(n,a),a};var O=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 G(e){let t,{id:n,onOpenChangeComplete:k,defaultSelectedValue:z=null,selectedValue:G,onSelectedValueChange:W,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:em=!0,loopFocus:eh=!0,itemToStringLabel:eg,itemToStringValue:ev,isItemEqualToValue:ey=U.jd,virtualized:eb=!1,inline:ek=!1,fillInputOnItemPress:ex=!0,modal:ew=!1,limit:eS=-1,autoComplete:e$="list",formAutoComplete:e_,locale:eE,submitOnItemClick:eD=!1}=e,{clearErrors:eC}=(0,P.x)(),{setDirty:eI,validityData:eP,setFilled:eR,name:eT,disabled:ej,setTouched:ez,setFocused:eA,validationMode:eO,validation:eN}=(0,C.V$)(),eM=(0,K.j)(),eL=(0,R.l)({id:n}),eF=A({locale:eE}),[eU,eB]=r.useState(!1),[eV,eZ]=r.useState(null),eK=r.useRef([]),eq=r.useRef([]),eG=r.useRef(null),eW=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=e
68j||er,e7=eT??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:G,default:e8?z??m.Ml:z,name:"Combobox",state:"selectedValue"}),to=r.useMemo(()=>null===ed?()=>!0:void 0!==ed?ed:(0,T.I2)(eF,eg),[ed,eF,eg]),ts=(0,c.j)(()=>tt?H??"":te?(0,j.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,j.Li)(el),tp=eV??String(tl).trim(),tm=te?(0,j.yg)(ti,eg):"",th=te&&!eU&&""!==tp&&tm.length===tp.length&&eF.contains(tm,tp),tg=th?"":tp,tv=tn&&tr&&th,ty=r.useMemo(()=>el?tf?el.flatMap(e=>e.items):el:m.Ml,[el,tf]),tb=r.useMemo(()=>{if(eu&&!tv)return eu;if(!el)return m.Ml;if(tf){let e=[],t=0;for(let n of el){if(eS>-1&&t>=eS)break;let r=eS>-1?eS-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 eS>-1?ty.slice(0,eS):ty;let e=[];for(let t of ty){if(eS>-1&&e.length>=eS)break;to(t,tg,eg)&&e.push(t)}return e},[eu,tv,el,tf,tg,eS,to,eg,ty]),tk=r.useMemo(()=>tf?tb.flatMap(e=>e.items):tb,[tb,tf]),tx=(0,c.j)(()=>{let e=null;return ek&&td&&tn&&"none"!==Q&&(e=(0,U.Gu)(tk,ti,ey,e8)),new f.i({id:eL,labelId:void 0,selectedValue:ti,open:td,items:el,selectionMode:Q,listRef:eK,labelsRef:eq,popupRef:eG,emptyRef:eY,inputRef:eW,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:ew,autoHighlight:t,submitOnItemClick:eD,hasInputValue:tt,mounted:!1,forceMounted:!1,transitionStatus:"idle",inline:ek,activeIndex:null,selectedIndex:e,popupProps:{},listProps:{},inputProps:{},triggerProps:{},itemProps:m.t0,positionerElement:null,listElement:null,popupId:void 0,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,inputOwnsFormValue:"none"===Q,onOpenChangeComplete:m.tE,setOpen:m.tE,setInputValue:m.tE,setSelectedValue:m.tE,setIndices:m.tE,handleSelection:m.tE,forceMount:m.tE,requestSubmit:m.tE})}).current,tw="none"===Q?tl:ti,tS=r.useMemo(()=>"none"===Q?tw:Array.isArray(ti)?ti.map(e=>(0,j.T)(e,ev)):(0,j.T)(ti,ev),[tw,ev,Q,ti]),t$=(0,s.K)(ee),t_=(0,s.K)(k),tE=(0,p.P)(tx,E.T.activeIndex),tD=(0,p.P)(tx,E.T.selectedIndex),tC=(0,p.P)(tx,E.T.positionerElement),tI=(0,p.P)(tx,E.T.listElement),tP=(0,p.P)(tx,E.T.triggerElement),tR=(0,p.P)(tx,E.T.inputElement),tT=(0,p.P)(tx,E.T.inputGroupElement),tj=(0,p.P)(tx,E.T.inline),tz=(0,p.P)(tx,E.T.inputInsidePopup),tA=(0,p.P)(tx,E.T.inputOwnsFormValue),tO=(0,u.u)(tP),{mounted:tN,setMounted:tM,transitionStatus:tL}=(0,O.$)(td),{openMethod:tF,triggerProps:tU}=(0,N.G)(td),tB=(0,s.K)(()=>tS);(0,I.I)(tz?tO:eW,eL,tw,tB,!e5,et);let tV=(0,s.K)(()=>{el?eq.current=tk.map(e=>(0,j.yg)(e,eg)):tx.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};t$(e,(0,S.M)(n,void 0,{index:t}))}),tK=(0,s.K)(e=>{tx.update(e);let t=e.activeIndex;if(void 0===t)return;let n=e.type||$.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===$.qs,e.onInputValueChange?.(n,r),!r.isCanceled){if(r.reason===$.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=tx.state.listElement;if(!tx.state.virtualized&&r){let e=eG.current;for(let t of(0,h.v9)(r.firstElementChild??r)){if(!(0,h.sb)(t)||(e?!(0,w.gR)(e,t):"dialog"===t.getAttribute("role")))break;if(function(e,t=!1){let{overflowY:n}=(0,h.L9)(e);return("auto"===n||"scroll"===n)&&(t?e.clientHeight>0:e.scrollHeight>e.clientHeight)}(t)){t.scrollTop=0;break}}}e&&t&&null==tx.state.activeIndex&&(td||tj)&&tx.set("activeIndex",0)}}else r.reason===$.qs&&""===n&&tx.state.inputInsidePopup&&(e6.current={hasQuery:!1,selection:!0}
68);tu(n)}}),tG=(0,s.K)((t,n)=>{if(td!==t&&(n.reason===$.jv&&tn&&0===tk.length&&!eY.current&&n.allowPropagation(),e.onOpenChange?.(t,n),!n.isCanceled&&(t&&tz&&!tj&&null!==eV&&(eB(!1),eZ(null),""!==tl&&n.reason!==$.pf&&tq("",(0,S.d)($.qs,n.event))),!t&&eU&&(te?(tj||eZ(tp),""===tp&&eB(!1)):e8&&(tj||eZ(tp),tz&&tK({activeIndex:null}),(!tz||tj)&&tq("",(0,S.d)($.qs,n.event)))),tc(t),!t&&tz&&(n.reason===$.Xn||n.reason===$.Np))&&(ez(!0),eA(!1),"onBlur"===eO))){let e="none"===Q?tl:ti;eN.commit(e)}}),tW=(0,s.K)((e,t)=>{W?.(e,t),t.isCanceled||(ta(e),("none"===Q&&eG.current&&ex||te&&!tx.state.inputInsidePopup)&&tq((0,j.yg)(e,eg),(0,S.d)(t.reason,t.event)))}),tH=(0,s.K)((e,t)=>{let n=(0,w.EW)(e),r=e4.current??e;e4.current=null;let i=(0,S.d)($.Bo,r),a=n?.closest("a")?.getAttribute("href");if(a){a.startsWith("#")&&tG(!1,i);return}if(e8){let e=Array.isArray(ti)?ti:[];if(tW((0,U.kJ)(e,t,ey)?(0,U.Ai)(e,t,ey):[...e,t],i),i.isCanceled||!(eW.current&&""!==eW.current.value.trim()))return;tx.state.inputInsidePopup?tq("",(0,S.d)($.qs,i.event)):tG(!1,i)}else{if(tW(t,i),i.isCanceled)return;tG(!1,i)}}),tJ=(0,s.K)(()=>{let e=eN.inputRef.current?.form??tx.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&&eW.current&&""!==eW.current.value&&!eQ.current&&tq("",(0,S.d)($.qs)),te)if(tx.state.inputInsidePopup)eW.current&&""!==eW.current.value&&tq("",(0,S.d)($.qs));else{let e=(0,j.yg)(ti,eg);if(eW.current&&eW.current.value!==e){let t=""===e?$.qs:$.dv;tq(e,(0,S.d)(t))}}}),tX=r.useMemo(()=>tj&&tC?{current:tC.closest('[role="dialog"]')}:eG,[tj,tC]);function tQ(){let e=(0,j.yg)(ti,eg);tl!==e&&tq(e,(0,S.d)($.dv))}(0,D.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=tk,eK.current.length=tk.length)},[el,tk]),(0,a.g)(()=>{let e=e6.current;if(e){let n=td||tj||tx.state.positionerElement?.hidden===!1;if(e.hasQuery)t&&n&&tx.set("activeIndex",0),e6.current=null;else if(""===String(tl).trim()&&(e6.current=null,n)){let n=e.selection;"always"!==t||n||"none"!==tx.state.selectionMode||tx.set("activeIndex",0),queueMicrotask(()=>{if(!tx.state.open&&!tx.state.inline||eW.current&&""!==eW.current.value.trim())return;let e=tx.state.selectedValue,r="multiple"===tx.state.selectionMode,i=r&&Array.isArray(e)?e[e.length-1]:e,a="none"!==tx.state.selectionMode&&null!=i;if(a||n){let t=tn||tr?tk:e2.current;tx.set("activeIndex",a?(0,U.Gu)(t,e,tx.state.isItemEqualToValue,r):null)}else"always"===t&&tx.set("activeIndex",0)})}}if(!td&&!tj)return;let n=tn||tr?tk:e2.current,r=tx.state.activeIndex;if(null==r)return"always"===t&&n.length>0?void tx.set("activeIndex",0):void tZ(void 0,-1,$.dv);if(r>=n.length){tZ(void 0,-1,$.dv),tx.set("activeIndex",null);return}let i=n[r],a=e3.current.value,o=a!==V&&(0,U.tl)(i,a,tx.state.isItemEqualToValue);e3.current.index===r&&o||tZ(i,r,$.dv)},[tE,t,tZ,tr,tn,tk,tj,td,tx,tl]),(0,a.g)(()=>{"none"===Q?eR(""!==String(tl)):eR(e8?Array.isArray(ti)&&ti.length>0:null!=ti)},[eR,Q,tl,ti,e8]),r.useEffect(()=>{tn&&t&&0===tk.length&&tK({activeIndex:null})},[tn,t,tk.length,tK]),(0,M.x)(tp,()=>{td&&""!==tp&&tp!==String(ts)&&eB(!0)}),(0,M.x)(ti,()=>{if("none"!==Q){let e;eC(e7),eI((e=eP.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||tz||tQ()}}),(0,M.x)(tl,()=>{"none"===Q&&(eC(e7),eI(tl!==eP.initialValue),eN.change(tl))}),(0,M.x)(el,()=>{!te||tt||tz||eU||tQ()});let t0=(0,g.P)({open:!!tj||td,onOpenChange:tG,elements:{reference:tz?tP:tR,floating:tC}}),t1=es?"grid":"listbox",t4=td||tj,t3=t4?"true":"false",t6=r.useMemo(()=>{let e=tR?.tagName==="INPUT",t=null==tR||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"]=e$),{reference:r,floating:{role:"presentation"}}},[tR,t4,t3,t1,tI?.id,e$]),t2=(0,v.k)(t0,{enabled:!ei&&!e5&&ec,event:"mou
68sedown-only",toggle:!1,touchOpenDelay:100*!tz,reason:$._J}),t9=(0,y.s)(t0,{enabled:!ei&&!e5&&!tj,outsidePressEvent:{mouse:"sloppy",touch:"intentional"},bubbles:!!tj||void 0,outsidePress(e){let t=(0,w.EW)(e);return!(0,w.gR)(tP,t)&&!(0,w.gR)(e1.current,t)&&!(0,w.gR)(e0.current,t)&&!(0,w.gR)(tT,t)}}),t5=(0,b.C)(t0,{enabled:!ei&&!e5,id:eL,listRef:eK,activeIndex:tE,selectedIndex:tD,virtual:!0,loopFocus:eh,allowEscape:eh&&!t,focusItemOnOpen:!eU&&("none"!==Q||!!t)&&"auto",focusItemOnHover:em,resetOnPointerLeave:!ep,orientation:es?"horizontal":void 0,rtl:"rtl"===eM,disabledIndices:m.Ml,grid:es?x:void 0,onNavigate(e,t){(t||td)&&"ending"!==tL&&(t?tK({activeIndex:e,type:eX.current?$.QJ:$.Wn}):tK({activeIndex:e}))}}),t7=r.useMemo(()=>(0,F.v6)(t5.reference,{onKeyDown(e){es&&null==tx.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,tx]),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}:m.t0},[t5.item]);(0,o.j)(()=>{tx.update({inline:ek,popupProps:t8,listProps:ne,inputProps:t7,triggerProps:tU,itemProps:nt,setOpen:tG,setInputValue:tq,setSelectedValue:tW,setIndices:tK,handleSelection:tH,forceMount:tV,requestSubmit:tJ,onOpenChangeComplete:t_})}),(0,a.g)(()=>{tx.update({id:eL,selectedValue:ti,open:td,mounted:tN,transitionStatus:tL,items:el,inline:ek,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:ew,autoHighlight:t,isItemEqualToValue:ey,submitOnItemClick:eD,hasInputValue:tt,inputOwnsFormValue:"none"===Q&&(ek||!tx.state.inputInsidePopup)})},[tx,eL,ti,td,tN,tL,el,t8,ne,t7,nt,tF,tU,Q,e7,e5,ei,ea,es,eb,ec,eg,ew,ey,eD,tt,ek,t,en]);let nn=(0,l.a)(eo,eN.inputRef),nr=r.useMemo(()=>({query:tp,hasItems:tn,filteredItems:tb,flatFilteredItems:tk}),[tp,tn,tb,tk]),ni=r.useMemo(()=>Array.isArray(tw)?"":(0,j.T)(tw,ev),[tw,ev]),na=e8&&Array.isArray(ti)&&ti.length>0,no=e8||"none"===Q&&tA?void 0:e7,ns=r.useMemo(()=>e8&&Array.isArray(ti)&&e7?ti.map(e=>{let t=(0,j.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(){tz?tP?.focus():(eW.current||tP)?.focus()},onChange(e){if(e.nativeEvent.defaultPrevented||e5||ei)return;let t=e.currentTarget.value,n=t.toLowerCase(),r=(0,S.d)($.dv,e.nativeEvent),i=()=>e2.current.findIndex(e=>(0,j.T)(e,ev).toLowerCase()===n||(0,j.yg)(e,eg).toLowerCase()===n);te&&(tV(),el&&-1===i()&&tx.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&&tW?.(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:tx,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 W(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,m]=r.useState(a??""),[h,g]=r.useState("");r.useEffect(()=>{f&&g("")},[i,f]),t=d&&""!==h?h:f?i??"":p;let v=A({locale:u.locale}),y=r.useMemo(()=>void 0!==u.filter?u.filter:v.contains,[u.filter,v]),b=String(f?i:p).trim(),k=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)(G,{...u,itemToStringLabel:l,openOnInputClick:n,selectionMode:"none",fillInputOnItemPress:!0,filter:k,autoComplete:s,inputValue:t,defaultInputValue:a,onInputValueChange:function(e,t){g(""),f||m(e),o?.(e,t)},onItemHighlighted:function(t,n){e.onItemHighlighted?.(t,n),n.reason!==$.Wn&&g(d&&null!=t?(0,j.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.