Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/root/www/_next/static/chunks/356-511038aa9c597517.js
2025-08-07 10:17:34 +08:00

1 line
7.9 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[356],{39997:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(20107);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:s="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:r,strokeWidth:u?24*Number(i)/Number(o):i,className:a("lucide",s),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>{let r=(0,n.forwardRef)((r,l)=>{let{className:u,...s}=r;return(0,n.createElement)(i,{ref:l,iconNode:t,className:a("lucide-".concat(o(e)),u),...s})});return r.displayName="".concat(e),r}},26459:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},2609:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},44381:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]])},99015:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("RadioTower",[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]])},76406:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},30058:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(39997).A)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},10054:(e,t,r)=>{var n=r(20107),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,l=n.useEffect,i=n.useLayoutEffect,u=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return i(function(){o.value=r,o.getSnapshot=t,s(o)&&c({inst:o})},[e,r,t]),l(function(){return s(o)&&c({inst:o}),e(function(){s(o)&&c({inst:o})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},9755:(e,t,r)=>{e.exports=r(10054)},41670:(e,t,r)=>{r.d(t,{H4:()=>A,_V:()=>b,bL:()=>S});var n=r(20107),o=r(20475),a=globalThis?.document?n.useLayoutEffect:()=>{};function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}r(25642);var i=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}var s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e,a;let i=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,u=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=l(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():l(e[t],null)}}}}(t,i):i),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:a,...l}=e,i=n.Children.toArray(a),s=i.find(u);if(s){let e=s.props.children,a=i.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,a):null})}return(0,o.jsx)(t,{...l,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),a=n.forwardRef((e,n)=>{let{asChild:a,...l}=e,i=a?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...l,ref:n})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{}),c=r(9755);function d(){return()=>{}}var f="Avatar",[p,y]=function(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return a.scopeName=e,[function(t,a){let l=n.createContext(a),i=r.length;r=[...r,a];let u=t=>{let{scope:r,children:a,...u}=t,s=r?.[e]?.[i]||l,c=n.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:a})};return u.displayName=t+"Provider",[u,function(r,o){let u=o?.[e]?.[i]||l,s=n.useContext(u);if(s)return s;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(a,...t)]}(f),[m,h]=p(f),v=n.forwardRef((e,t)=>{let{__scopeAvatar:r,...a}=e,[l,i]=n.useState("idle");return(0,o.jsx)(m,{scope:r,imageLoadingStatus:l,onImageLoadingStatusChange:i,children:(0,o.jsx)(s.span,{...a,ref:t})})});v.displayName=f;var w="AvatarImage",g=n.forwardRef((e,t)=>{let{__scopeAvatar:r,src:l,onLoadingStatusChange:i=()=>{},...u}=e,f=h(w,r),p=function(e,t){let{referrerPolicy:r,crossOrigin:o}=t,l=(0,c.useSyncExternalStore)(d,()=>!0,()=>!1),i=n.useRef(null),u=l?(i.current||(i.current=new window.Image),i.current):null,[s,f]=n.useState(()=>E(u,e));return a(()=>{f(E(u,e))},[u,e]),a(()=>{let e=e=>()=>{f(e)};if(!u)return;let t=e("loaded"),n=e("error");return u.addEventListener("load",t),u.addEventListener("error",n),r&&(u.referrerPolicy=r),"string"==typeof o&&(u.crossOrigin=o),()=>{u.removeEventListener("load",t),u.removeEventListener("error",n)}},[u,o,r]),s}(l,u),y=function(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}(e=>{i(e),f.onImageLoadingStatusChange(e)});return a(()=>{"idle"!==p&&y(p)},[p,y]),"loaded"===p?(0,o.jsx)(s.img,{...u,ref:t,src:l}):null});g.displayName=w;var k="AvatarFallback",x=n.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:a,...l}=e,i=h(k,r),[u,c]=n.useState(void 0===a);return n.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>c(!0),a);return()=>window.clearTimeout(e)}},[a]),u&&"loaded"!==i.imageLoadingStatus?(0,o.jsx)(s.span,{...l,ref:t}):null});function E(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}x.displayName=k;var S=v,b=g,A=x}}]);