1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7154],{30401:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},51817:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},99397:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},32489:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},71027:function(e,t,n){n.d(t,{z$:function(){return w},fC:function(){return x}});var r=n(2265),o=n(98575),l=n(73966),i=n(6741),a=n(80886),u=n(90420),s=n(71599),d=n(82912),c=n(57437),f="Checkbox",[p,y]=(0,l.b)(f),[v,g]=p(f);function h(e){let{__scopeCheckbox:t,checked:n,children:o,defaultChecked:l,disabled:i,form:u,name:s,onCheckedChange:d,required:p,value:y="on",internal_do_not_use_render:g}=e,[h,m]=(0,a.T)({prop:n,defaultProp:null!=l&&l,onChange:d,caller:f}),[b,x]=r.useState(null),[j,w]=r.useState(null),R=r.useRef(!1),C=!b||!!u||!!b.closest("form"),k={checked:h,disabled:i,setChecked:m,control:b,setControl:x,name:s,form:u,value:y,hasConsumerStoppedPropagationRef:R,required:p,defaultChecked:!D(l)&&l,isFormControl:C,bubbleInput:j,setBubbleInput:w};return(0,c.jsx)(v,{scope:t,...k,children:"function"==typeof g?g(k):o})}var m="CheckboxTrigger",b=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,onKeyDown:l,onClick:a,...u}=e,{control:s,value:f,disabled:p,checked:y,required:v,setControl:h,setChecked:b,hasConsumerStoppedPropagationRef:x,isFormControl:j,bubbleInput:w}=g(m,n),R=(0,o.e)(t,h),C=r.useRef(y);return r.useEffect(()=>{let e=null==s?void 0:s.form;if(e){let t=()=>b(C.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[s,b]),(0,c.jsx)(d.WV.button,{type:"button",role:"checkbox","aria-checked":D(y)?"mixed":y,"aria-required":v,"data-state":k(y),"data-disabled":p?"":void 0,disabled:p,value:f,...u,ref:R,onKeyDown:(0,i.Mj)(l,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.Mj)(a,e=>{b(e=>!!D(e)||!e),w&&j&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})});b.displayName=m;var x=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:r,checked:o,defaultChecked:l,required:i,disabled:a,value:u,onCheckedChange:s,form:d,...f}=e;return(0,c.jsx)(h,{__scopeCheckbox:n,checked:o,defaultChecked:l,disabled:a,required:i,onCheckedChange:s,name:r,form:d,value:u,internal_do_not_use_render:e=>{let{isFormControl:r}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(b,{...f,ref:t,__scopeCheckbox:n}),r&&(0,c.jsx)(C,{__scopeCheckbox:n})]})}})});x.displayName=f;var j="CheckboxIndicator",w=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...o}=e,l=g(j,n);return(0,c.jsx)(s.z,{present:r||D(l.checked)||!0===l.checked,children:(0,c.jsx)(d.WV.span,{"data-state":k(l.checked),"data-disabled":l.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=j;var R="CheckboxBubbleInput",C=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,...l}=e,{control:i,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:f,required:p,disabled:y,name:v,value:h,form:m,bubbleInput:b,setBubbleInput:x}=g(R,n),j=(0,o.e)(t,x),w=function(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])}(s),C=(0,u.t)(i);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!a.current;if(w!==s&&e){let n=new Event("click",{bubbles:t});b.indeterminate=D(s),e.call(b,!D(s)&&s),b.dispatchEvent(n)}},[b,w,s,a]);let k=r.useRef(!D(s)&&s);return(0,c.jsx)(d.WV.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=f?f:k.current,required:p,disabled:y,name:v,value:h,form:m,...l,tabIndex:-1,ref:j,style:{...l.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function D(e){return"indeterminate"===e}function k(e){return D(e)?"indeterminate":e?"checked":"unchecked"}C.displayName=R},70001:function(e,t,n){n.d(t,{x8:function(){return ei},VY:function(){return er},dk:function(){return el},aV:function(){return en}
1,h_:function(){return et},fC:function(){return Q},Dx:function(){return eo},xz:function(){return ee}});var r=n(2265),o=n(6741),l=n(98575),i=n(73966),a=n(99255),u=n(80886),s=n(15278),d=n(99103),c=n(83832),f=n(71599),p=n(82912),y=n(86097),v=n(99157),g=n(5478),h=n(57437),m=Symbol("radix.slottable");function b(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var x="Dialog",[j,w]=(0,i.b)(x),[R,C]=j(x),D=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:l,onOpenChange:i,modal:s=!0}=e,d=r.useRef(null),c=r.useRef(null),[f,p]=(0,u.T)({prop:o,defaultProp:null!=l&&l,onChange:i,caller:x});return(0,h.jsx)(R,{scope:t,triggerRef:d,contentRef:c,contentId:(0,a.M)(),titleId:(0,a.M)(),descriptionId:(0,a.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:n})};D.displayName=x;var k="DialogTrigger",E=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=C(k,n),a=(0,l.e)(t,i.triggerRef);return(0,h.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":K(i.open),...r,ref:a,onClick:(0,o.Mj)(e.onClick,i.onOpenToggle)})});E.displayName=k;var _="DialogPortal",[N,I]=j(_,{forceMount:void 0}),O=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:l}=e,i=C(_,t);return(0,h.jsx)(N,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,h.jsx)(f.z,{present:n||i.open,children:(0,h.jsx)(c.h,{asChild:!0,container:l,children:e})}))})};O.displayName=_;var M="DialogOverlay",W=r.forwardRef((e,t)=>{let n=I(M,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=C(M,e.__scopeDialog);return l.modal?(0,h.jsx)(f.z,{present:r||l.open,children:(0,h.jsx)(P,{...o,ref:t})}):null});W.displayName=M;var S=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,u=function(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,l.F)(t,a):a),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:o,...l}=e,i=r.Children.toArray(o),a=i.find(b);if(a){let e=a.props.children,o=i.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,h.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,h.jsx)(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}("DialogOverlay.RemoveScroll"),P=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(M,n);return(0,h.jsx)(v.Z,{as:S,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(p.WV.div,{"data-state":K(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),V="DialogContent",F=r.forwardRef((e,t)=>{let n=I(V,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=C(V,e.__scopeDialog);return(0,h.jsx)(f.z,{present:r||l.open,children:l.modal?(0,h.jsx)(A,{...o,ref:t}):(0,h.jsx)(Z,{...o,ref:t})})});F.displayName=V;var A=r.forwardRef((e,t)=>{let n=C(V,e.__scopeDialog),i=r.useRef(null),a=(0,l.e)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,g.Ry)(e)},[]),(0,h.jsx)(z,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.Mj)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.Mj)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.Mj)(e.onFocusOutside,e=>e.preventDefault())})}),Z=r.forwardRef((e,t)=>{let n=C(V,e.__scopeDialog),o=r.useRef(!1),l=r.useRef(!1);return(0,h.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(l.current=!0));let a=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),z=r.forwardRef((e,t)=>
1{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,...u}=e,c=C(V,n),f=r.useRef(null),p=(0,l.e)(t,f);return(0,y.EW)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,h.jsx)(s.XB,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":K(c.open),...u,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(G,{titleId:c.titleId}),(0,h.jsx)(J,{contentRef:f,descriptionId:c.descriptionId})]})]})}),$="DialogTitle",T=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C($,n);return(0,h.jsx)(p.WV.h2,{id:o.titleId,...r,ref:t})});T.displayName=$;var B="DialogDescription",H=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(B,n);return(0,h.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:t})});H.displayName=B;var L="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=C(L,n);return(0,h.jsx)(p.WV.button,{type:"button",...r,ref:t,onClick:(0,o.Mj)(e.onClick,()=>l.onOpenChange(!1))})});function K(e){return e?"open":"closed"}q.displayName=L;var X="DialogTitleWarning",[U,Y]=(0,i.k)(X,{contentName:V,titleName:$,docsSlug:"dialog"}),G=e=>{let{titleId:t}=e,n=Y(X),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},J=e=>{let{contentRef:t,descriptionId:n}=e,o=Y("DialogDescriptionWarning"),l="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(l)},[l,t,n]),null},Q=D,ee=E,et=O,en=W,er=F,eo=T,el=H,ei=q},370:function(e,t,n){n.d(t,{f:function(){return u}});var r=n(2265);n(54887);var o=n(37053),l=n(57437),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.Z8)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:o,...i}=e,a=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...i,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),a=r.forwardRef((e,t)=>(0,l.jsx)(i.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var u=a},37053:function(e,t,n){n.d(t,{Z8:function(){return d},g7:function(){return c}});var r,o=n(2265),l=n(98575),i=n(57437),a=Symbol.for("react.lazy"),u=(r||(r=n.t(o,2)))[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function d(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:n,...r}=e;if(s(n)&&"function"==typeof u&&(n=u(n._payload)),o.isValidElement(n)){var i;let e,a;let u=(i=n,(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?i.ref:(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?i.props.ref:i.props.ref||i.ref),s=function(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==o.Fragment&&(s.ref=t?(0,l.F)(t,u):u),o.cloneElement(n,s)}return o.Children.count(n)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=o.forwardRef((e,n)=>{let{children:r,...l}=e;s(r)&&"function"==typeof u&&(r=u(r._payload));let a=o.Children.toArray(r),d=a.find(p);if(d){let e=d.props.children,r=a.map(t=>
1t!==d?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,i.jsx)(t,{...l,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var c=d("Slot"),f=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}},90420:function(e,t,n){n.d(t,{t:function(){return l}});var r=n(2265),o=n(61188);function l(e){let[t,n]=r.useState(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}}}]);
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.