Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/5766-fa21e9c5f53d641e.js
2025-03-14 11:46:14 +08:00

1 line
35 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5766],{17799:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},98969:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},61003:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]])},14389:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]])},32024:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},46361:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Grid2x2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M12 3v18",key:"108xh3"}]])},26780:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},59166:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},57718:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]])},1870:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("PencilLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]])},25262:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},97801:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])},52161:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},51873:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},10528:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(39997).A)("UserRoundPen",[["path",{d:"M2 21a8 8 0 0 1 10.821-7.487",key:"1c8h7z"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}]])},48547:(e,t,n)=>{n.d(t,{Mz:()=>td,UC:()=>tp,ZL:()=>tf,bL:()=>tc,l9:()=>ts});var r,o,a=n(20107);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){return t=>{let n=!1,r=e.map(e=>{let r=l(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():l(e[t],null)}}}}function c(...e){return a.useCallback(u(...e),e)}var d=n(45170),s=n(25642),f=n(20475),p=a.forwardRef((e,t)=>{let{children:n,...r}=e,o=a.Children.toArray(n),i=o.find(m);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,f.jsx)(v,{...r,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,f.jsx)(v,{...r,ref:t,children:n})});p.displayName="Slot";var v=a.forwardRef((e,t)=>{let{children:n,...r}=e;if(a.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),o=function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==a.Fragment&&(o.ref=t?u(t,e):e),a.cloneElement(n,o)}return a.Children.count(n)>1?a.Children.only(null):null});v.displayName="SlotClone";var h=({children:e})=>(0,f.jsx)(f.Fragment,{children:e});function m(e){return a.isValidElement(e)&&e.type===h}var y=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=a.forwardRef((e,n)=>{let{asChild:r,...o}=e,a=r?p:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,f.jsx)(a,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),g=n(46774),w=n(91624),b="dismissableLayer.update",E=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),x=a.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:l=!1,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:s,onInteractOutside:p,onDismiss:v,...h}=e,m=a.useContext(E),[x,A]=a.useState(null),P=null!==(r=null==x?void 0:x.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,N]=a.useState({}),R=c(t,e=>A(e)),O=Array.from(m.layers),[S]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),M=O.indexOf(S),L=x?O.indexOf(x):-1,j=m.layersWithOutsidePointerEventsDisabled.size>0,T=L>=M,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,g.c)(e),o=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){k("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...m.branches].some(e=>e.contains(t));!T||n||(null==d||d(e),null==p||p(e),e.defaultPrevented||null==v||v())},P),F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,g.c)(e),o=a.useRef(!1);return a.useEffect(()=>{let e=e=>{e.target&&!o.current&&k("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...m.branches].some(e=>e.contains(t))||(null==s||s(e),null==p||p(e),e.defaultPrevented||null==v||v())},P);return(0,w.U)(e=>{L!==m.layers.size-1||(null==u||u(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},P),a.useEffect(()=>{if(x)return l&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(o=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(x)),m.layers.add(x),C(),()=>{l&&1===m.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=o)}},[x,P,l,m]),a.useEffect(()=>()=>{x&&(m.layers.delete(x),m.layersWithOutsidePointerEventsDisabled.delete(x),C())},[x,m]),a.useEffect(()=>{let e=()=>N({});return document.addEventListener(b,e),()=>document.removeEventListener(b,e)},[]),(0,f.jsx)(y.div,{...h,ref:R,style:{pointerEvents:j?T?"auto":"none":void 0,...e.style},onFocusCapture:i(e.onFocusCapture,F.onFocusCapture),onBlurCapture:i(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:i(e.onPointerDownCapture,D.onPointerDownCapture)})});function C(){let e=new CustomEvent(b);document.dispatchEvent(e)}function k(e,t,n,r){let{discrete:o}=r,a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&a.addEventListener(e,t,{once:!0}),o)?a&&s.flushSync(()=>a.dispatchEvent(i)):a.dispatchEvent(i)}x.displayName="DismissableLayer",a.forwardRef((e,t)=>{let n=a.useContext(E),r=a.useRef(null),o=c(t,r);return a.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,f.jsx)(y.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var A=n(10201),P="focusScope.autoFocusOnMount",N="focusScope.autoFocusOnUnmount",R={bubbles:!1,cancelable:!0},O=a.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[u,d]=a.useState(null),s=(0,g.c)(o),p=(0,g.c)(i),v=a.useRef(null),h=c(t,e=>d(e)),m=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let e=function(e){if(m.paused||!u)return;let t=e.target;u.contains(t)?v.current=t:L(v.current,{select:!0})},t=function(e){if(m.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||L(v.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&&L(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,m.paused]),a.useEffect(()=>{if(u){j.add(m);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(P,R);u.addEventListener(P,s),u.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(L(r,{select:t}),document.activeElement!==n)return}(S(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&L(u))}return()=>{u.removeEventListener(P,s),setTimeout(()=>{let t=new CustomEvent(N,R);u.addEventListener(N,p),u.dispatchEvent(t),t.defaultPrevented||L(null!=e?e:document.body,{select:!0}),u.removeEventListener(N,p),j.remove(m)},0)}}},[u,s,p,m]);let w=a.useCallback(e=>{if(!n&&!r||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=S(e);return[M(t,e),M(t.reverse(),e)]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&L(a,{select:!0})):(e.preventDefault(),n&&L(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,m.paused]);return(0,f.jsx)(y.div,{tabIndex:-1,...l,ref:h,onKeyDown:w})});function S(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,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function L(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[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()}}O.displayName="FocusScope";var j=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=T(e,t)).unshift(t)},remove(t){var n;null===(n=(e=T(e,t))[0])||void 0===n||n.resume()}}}();function T(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var D=n(72763),F=n(9895),I=n(84069),W=a.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,f.jsx)(y.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});W.displayName="Arrow";var z=n(54122),U=n(63620),_="Popper",[B,H]=(0,d.A)(_),[Y,X]=B(_),K=e=>{let{__scopePopper:t,children:n}=e,[r,o]=a.useState(null);return(0,f.jsx)(Y,{scope:t,anchor:r,onAnchorChange:o,children:n})};K.displayName=_;var V="PopperAnchor",Z=a.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=X(V,n),l=a.useRef(null),u=c(t,l);return a.useEffect(()=>{i.onAnchorChange((null==r?void 0:r.current)||l.current)}),r?null:(0,f.jsx)(y.div,{...o,ref:u})});Z.displayName=V;var q="PopperContent",[G,$]=B(q),J=a.forwardRef((e,t)=>{var n,r,o,i,l,u,d,s;let{__scopePopper:p,side:v="bottom",sideOffset:h=0,align:m="center",alignOffset:w=0,arrowPadding:b=0,avoidCollisions:E=!0,collisionBoundary:x=[],collisionPadding:C=0,sticky:k="partial",hideWhenDetached:A=!1,updatePositionStrategy:P="optimized",onPlaced:N,...R}=e,O=X(q,p),[S,M]=a.useState(null),L=c(t,e=>M(e)),[j,T]=a.useState(null),D=(0,U.X)(j),W=null!==(d=null==D?void 0:D.width)&&void 0!==d?d:0,_=null!==(s=null==D?void 0:D.height)&&void 0!==s?s:0,B="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},H=Array.isArray(x)?x:[x],Y=H.length>0,K={padding:B,boundary:H.filter(en),altBoundary:Y},{refs:V,floatingStyles:Z,placement:$,isPositioned:J,middlewareData:Q}=(0,F.we)({strategy:"fixed",placement:v+("center"!==m?"-"+m:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,I.ll)(...t,{animationFrame:"always"===P})},elements:{reference:O.anchor},middleware:[(0,F.cY)({mainAxis:h+_,alignmentAxis:w}),E&&(0,F.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?(0,F.ER)():void 0,...K}),E&&(0,F.UU)({...K}),(0,F.Ej)({...K,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:a,height:i}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),j&&(0,F.UE)({element:j,padding:b}),er({arrowWidth:W,arrowHeight:_}),A&&(0,F.jD)({strategy:"referenceHidden",...K})]}),[ee,et]=eo($),ea=(0,g.c)(N);(0,z.N)(()=>{J&&(null==ea||ea())},[J,ea]);let ei=null===(n=Q.arrow)||void 0===n?void 0:n.x,el=null===(r=Q.arrow)||void 0===r?void 0:r.y,eu=(null===(o=Q.arrow)||void 0===o?void 0:o.centerOffset)!==0,[ec,ed]=a.useState();return(0,z.N)(()=>{S&&ed(window.getComputedStyle(S).zIndex)},[S]),(0,f.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:J?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(i=Q.transformOrigin)||void 0===i?void 0:i.x,null===(l=Q.transformOrigin)||void 0===l?void 0:l.y].join(" "),...(null===(u=Q.hide)||void 0===u?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(G,{scope:p,placedSide:ee,onArrowChange:T,arrowX:ei,arrowY:el,shouldHideArrow:eu,children:(0,f.jsx)(y.div,{"data-side":ee,"data-align":et,...R,ref:L,style:{...R.style,animation:J?void 0:"none"}})})})});J.displayName=q;var Q="PopperArrow",ee={top:"bottom",right:"left",bottom:"top",left:"right"},et=a.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=$(Q,n),a=ee[o.placedSide];return(0,f.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)(W,{...r,ref:t,style:{...r.style,display:"block"}})})});function en(e){return null!==e}et.displayName=Q;var er=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;let{placement:l,rects:u,middlewareData:c}=t,d=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=d?0:e.arrowWidth,f=d?0:e.arrowHeight,[p,v]=eo(l),h={start:"0%",center:"50%",end:"100%"}[v],m=(null!==(a=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==a?a:0)+s/2,y=(null!==(i=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+f/2,g="",w="";return"bottom"===p?(g=d?h:"".concat(m,"px"),w="".concat(-f,"px")):"top"===p?(g=d?h:"".concat(m,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),w=d?h:"".concat(y,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),w=d?h:"".concat(y,"px")),{data:{x:g,y:w}}}});function eo(e){let[t,n="center"]=e.split("-");return[t,n]}var ea=a.forwardRef((e,t)=>{var n,r;let{container:o,...i}=e,[l,u]=a.useState(!1);(0,z.N)(()=>u(!0),[]);let c=o||l&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return c?s.createPortal((0,f.jsx)(y.div,{...i,ref:t}),c):null});ea.displayName="Portal";var ei=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,o]=a.useState(),i=a.useRef({}),l=a.useRef(e),u=a.useRef("none"),[c,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return a.useEffect(()=>{let e=el(i.current);u.current="mounted"===c?e:"none"},[c]),(0,z.N)(()=>{let t=i.current,n=l.current;if(n!==e){let r=u.current,o=el(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),l.current=e}},[e,d]),(0,z.N)(()=>{if(r){var e;let t;let n=null!==(e=r.ownerDocument.defaultView)&&void 0!==e?e:window,o=e=>{let o=el(i.current).includes(e.animationName);if(e.target===r&&o&&(d("ANIMATION_END"),!l.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},a=e=>{e.target===r&&(u.current=el(i.current))};return r.addEventListener("animationstart",a),r.addEventListener("animationcancel",o),r.addEventListener("animationend",o),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",a),r.removeEventListener("animationcancel",o),r.removeEventListener("animationend",o)}}d("ANIMATION_END")},[r,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:a.useCallback(e=>{e&&(i.current=getComputedStyle(e)),o(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):a.Children.only(n),i=c(r.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof n||r.isPresent?a.cloneElement(o,{ref:i}):null};function el(e){return(null==e?void 0:e.animationName)||"none"}ei.displayName="Presence";var eu=n(13061),ec=n(58020),ed=function(){return(ed=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function es(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create,Object.create;var ef=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),ep="width-before-scroll-bar";function ev(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var eh="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,em=new WeakMap;function ey(e){return e}var eg=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=ey),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}});return o.options=ed({async:!0,ssr:!1},e),o}(),ew=function(){},eb=a.forwardRef(function(e,t){var n,r,o,i,l=a.useRef(null),u=a.useState({onScrollCapture:ew,onWheelCapture:ew,onTouchMoveCapture:ew}),c=u[0],d=u[1],s=e.forwardProps,f=e.children,p=e.className,v=e.removeScrollBar,h=e.enabled,m=e.shards,y=e.sideCar,g=e.noIsolation,w=e.inert,b=e.allowPinchZoom,E=e.as,x=e.gapMode,C=es(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[l,t],r=function(e){return n.forEach(function(t){return ev(t,e)})},(o=(0,a.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,eh(function(){var e=em.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||ev(e,null)}),r.forEach(function(e){t.has(e)||ev(e,o)})}em.set(i,n)},[n]),i),A=ed(ed({},C),c);return a.createElement(a.Fragment,null,h&&a.createElement(y,{sideCar:eg,removeScrollBar:v,shards:m,noIsolation:g,inert:w,setCallbacks:d,allowPinchZoom:!!b,lockRef:l,gapMode:x}),s?a.cloneElement(a.Children.only(f),ed(ed({},A),{ref:k})):a.createElement(void 0===E?"div":E,ed({},A,{className:p,ref:k}),f))});eb.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eb.classNames={fullWidth:ep,zeroRight:ef};var eE=function(e){var t=e.sideCar,n=es(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 a.createElement(r,ed({},n))};eE.isSideCarExport=!0;var ex=n(91059),eC=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,ex.m)();return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ek=function(){var e=eC();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eA=function(){var e=ek();return function(t){return e(t.styles,t.dynamic),null}},eP={left:0,top:0,right:0,gap:0},eN=function(e){return parseInt(e||"",10)||0},eR=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eN(n),eN(r),eN(o)]},eO=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return eP;var t=eR(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])}},eS=eA(),eM="data-scroll-locked",eL=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(eM,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(ef," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(ep," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(ef," .").concat(ef," {\n right: 0 ").concat(r,";\n }\n \n .").concat(ep," .").concat(ep," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(eM,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},ej=function(){var e=parseInt(document.body.getAttribute(eM)||"0",10);return isFinite(e)?e:0},eT=function(){a.useEffect(function(){return document.body.setAttribute(eM,(ej()+1).toString()),function(){var e=ej()-1;e<=0?document.body.removeAttribute(eM):document.body.setAttribute(eM,e.toString())}},[])},eD=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;eT();var i=a.useMemo(function(){return eO(o)},[o]);return a.createElement(eS,{styles:eL(i,!t,o,n?"":"!important")})},eF=!1;if("undefined"!=typeof window)try{var eI=Object.defineProperty({},"passive",{get:function(){return eF=!0,!0}});window.addEventListener("test",eI,eI),window.removeEventListener("test",eI,eI)}catch(e){eF=!1}var eW=!!eF&&{passive:!1},ez=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])},eU=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),e_(e,r)){var o=eB(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},e_=function(e,t){return"v"===e?ez(t,"overflowY"):ez(t,"overflowX")},eB=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eH=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,u=n.target,c=t.contains(u),d=!1,s=l>0,f=0,p=0;do{var v=eB(e,u),h=v[0],m=v[1]-v[2]-i*h;(h||m)&&e_(e,u)&&(f+=m,p+=h),u instanceof ShadowRoot?u=u.host:u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return s&&(o&&1>Math.abs(f)||!o&&l>f)?d=!0:!s&&(o&&1>Math.abs(p)||!o&&-l>p)&&(d=!0),d},eY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eX=function(e){return[e.deltaX,e.deltaY]},eK=function(e){return e&&"current"in e?e.current:e},eV=0,eZ=[];let eq=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(eV++)[0],i=a.useState(eA)[0],l=a.useRef(e);a.useEffect(function(){l.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eK),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,a=eY(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],d=e.target,s=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===s&&"range"===d.type)return!1;var f=eU(s,d);if(!f)return!0;if(f?o=s:(o="v"===s?"h":"v",f=eU(s,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var p=r.current||o;return eH(p,t,e,"h"===p?u:c,!0)},[]),c=a.useCallback(function(e){if(eZ.length&&eZ[eZ.length-1]===i){var n="deltaY"in e?eX(e):eY(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)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map(eK).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=a.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,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)},[]),s=a.useCallback(function(e){n.current=eY(e),r.current=void 0},[]),f=a.useCallback(function(t){d(t.type,eX(t),t.target,u(t,e.lockRef.current))},[]),p=a.useCallback(function(t){d(t.type,eY(t),t.target,u(t,e.lockRef.current))},[]);a.useEffect(function(){return eZ.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,eW),document.addEventListener("touchmove",c,eW),document.addEventListener("touchstart",s,eW),function(){eZ=eZ.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,eW),document.removeEventListener("touchmove",c,eW),document.removeEventListener("touchstart",s,eW)}},[]);var v=e.removeScrollBar,h=e.inert;return a.createElement(a.Fragment,null,h?a.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?a.createElement(eD,{gapMode:e.gapMode}):null)},eg.useMedium(r),eE);var eG=a.forwardRef(function(e,t){return a.createElement(eb,ed({},e,{ref:t,sideCar:eq}))});eG.classNames=eb.classNames;var e$="Popover",[eJ,eQ]=(0,d.A)(e$,[H]),e0=H(),[e1,e2]=eJ(e$),e9=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!1}=e,u=e0(t),c=a.useRef(null),[d,s]=a.useState(!1),[p=!1,v]=(0,eu.i)({prop:r,defaultProp:o,onChange:i});return(0,f.jsx)(K,{...u,children:(0,f.jsx)(e1,{scope:t,contentId:(0,D.B)(),triggerRef:c,open:p,onOpenChange:v,onOpenToggle:a.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:d,onCustomAnchorAdd:a.useCallback(()=>s(!0),[]),onCustomAnchorRemove:a.useCallback(()=>s(!1),[]),modal:l,children:n})})};e9.displayName=e$;var e3="PopoverAnchor",e7=a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=e2(e3,n),i=e0(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=o;return a.useEffect(()=>(l(),()=>u()),[l,u]),(0,f.jsx)(Z,{...i,...r,ref:t})});e7.displayName=e3;var e6="PopoverTrigger",e8=a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=e2(e6,n),a=e0(n),l=c(t,o.triggerRef),u=(0,f.jsx)(y.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tu(o.open),...r,ref:l,onClick:i(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,f.jsx)(Z,{asChild:!0,...a,children:u})});e8.displayName=e6;var e5="PopoverPortal",[e4,te]=eJ(e5,{forceMount:void 0}),tt=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=e2(e5,t);return(0,f.jsx)(e4,{scope:t,forceMount:n,children:(0,f.jsx)(ei,{present:n||a.open,children:(0,f.jsx)(ea,{asChild:!0,container:o,children:r})})})};tt.displayName=e5;var tn="PopoverContent",tr=a.forwardRef((e,t)=>{let n=te(tn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=e2(tn,e.__scopePopover);return(0,f.jsx)(ei,{present:r||a.open,children:a.modal?(0,f.jsx)(to,{...o,ref:t}):(0,f.jsx)(ta,{...o,ref:t})})});tr.displayName=tn;var to=a.forwardRef((e,t)=>{let n=e2(tn,e.__scopePopover),r=a.useRef(null),o=c(t,r),l=a.useRef(!1);return a.useEffect(()=>{let e=r.current;if(e)return(0,ec.Eq)(e)},[]),(0,f.jsx)(eG,{as:p,allowPinchZoom:!0,children:(0,f.jsx)(ti,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),l.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:i(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;l.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:i(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ta=a.forwardRef((e,t)=>{let n=e2(tn,e.__scopePopover),r=a.useRef(!1),o=a.useRef(!1);return(0,f.jsx)(ti,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,i;null===(a=e.onCloseAutoFocus)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var a,i;null===(a=e.onInteractOutside)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),ti=a.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:d,...s}=e,p=e2(tn,n),v=e0(n);return(0,A.Oh)(),(0,f.jsx)(O,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,f.jsx)(x,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onDismiss:()=>p.onOpenChange(!1),children:(0,f.jsx)(J,{"data-state":tu(p.open),role:"dialog",id:p.contentId,...v,...s,ref:t,style:{...s.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)"}})})})}),tl="PopoverClose";function tu(e){return e?"open":"closed"}a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=e2(tl,n);return(0,f.jsx)(y.button,{type:"button",...r,ref:t,onClick:i(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tl,a.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=e0(n);return(0,f.jsx)(et,{...o,...r,ref:t})}).displayName="PopoverArrow";var tc=e9,td=e7,ts=e8,tf=tt,tp=tr},88853:(e,t,n)=>{n.d(t,{b:()=>c});var r=n(20107),o=n(34544),a=n(20475),i="horizontal",l=["horizontal","vertical"],u=r.forwardRef((e,t)=>{let{decorative:n,orientation:r=i,...u}=e,c=l.includes(r)?r:i;return(0,a.jsx)(o.sG.div,{"data-orientation":c,...n?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});u.displayName="Separator";var c=u}}]);